diff --git a/descriptions/api.github.com/api.github.com.2022-11-28.json b/descriptions/api.github.com/api.github.com.2022-11-28.json index cc064f7f85..f84146b039 100644 --- a/descriptions/api.github.com/api.github.com.2022-11-28.json +++ b/descriptions/api.github.com/api.github.com.2022-11-28.json @@ -4122,6 +4122,236 @@ } } }, + "/enterprises/{enterprise}/dependabot/repository-access": { + "get": { + "summary": "Lists the repositories Dependabot can access in an enterprise", + "description": "Lists repositories that enterprise admins have allowed Dependabot to access when updating dependencies across organizations in the enterprise.\n\nThe authenticated user must be an enterprise owner to use this endpoint.", + "tags": [ + "dependabot" + ], + "operationId": "dependabot/repository-access-for-enterprise", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/dependabot/repository-access#lists-the-repositories-dependabot-can-access-in-an-enterprise" + }, + "parameters": [ + { + "$ref": "#/components/parameters/enterprise" + }, + { + "name": "page", + "in": "query", + "description": "The page number of results to fetch.", + "required": false, + "schema": { + "type": "integer", + "minimum": 1, + "default": 1 + } + }, + { + "name": "per_page", + "in": "query", + "description": "Number of results per page.", + "required": false, + "schema": { + "type": "integer", + "minimum": 1, + "maximum": 100, + "default": 30 + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/dependabot-repository-access-details" + }, + "examples": { + "default": { + "$ref": "#/components/examples/dependabot-repository-access-details" + } + } + } + } + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "404": { + "$ref": "#/components/responses/not_found" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": false, + "category": "dependabot", + "subcategory": "repository-access" + } + }, + "patch": { + "summary": "Updates Dependabot's repository access list for an enterprise", + "description": "Updates repositories according to the list of repositories that enterprise admins have given Dependabot access to when they've updated dependencies across organizations in the enterprise.\n\nThe authenticated user must be an enterprise owner to use this endpoint.\n\n**Example request body:**\n```json\n{\n \"repository_ids_to_add\": [123, 456],\n \"repository_ids_to_remove\": [789]\n}\n```", + "tags": [ + "dependabot" + ], + "operationId": "dependabot/update-repository-access-for-enterprise", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/dependabot/repository-access#updates-dependabots-repository-access-list-for-an-enterprise" + }, + "parameters": [ + { + "$ref": "#/components/parameters/enterprise" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "repository_ids_to_add": { + "type": "array", + "items": { + "type": "integer" + }, + "description": "List of repository IDs to add." + }, + "repository_ids_to_remove": { + "type": "array", + "items": { + "type": "integer" + }, + "description": "List of repository IDs to remove." + } + }, + "example": { + "repository_ids_to_add": [ + 123, + 456 + ], + "repository_ids_to_remove": [ + 789 + ] + } + }, + "examples": { + "204": { + "summary": "Example with a 'succeeded' status." + }, + "add-example": { + "summary": "Add repositories", + "value": { + "repository_ids_to_add": [ + 123, + 456 + ] + } + }, + "remove-example": { + "summary": "Remove repositories", + "value": { + "repository_ids_to_remove": [ + 789 + ] + } + } + } + } + } + }, + "responses": { + "204": { + "description": "Response" + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "404": { + "$ref": "#/components/responses/not_found" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": false, + "category": "dependabot", + "subcategory": "repository-access" + } + } + }, + "/enterprises/{enterprise}/dependabot/repository-access/default-level": { + "put": { + "summary": "Set the default repository access level for Dependabot in an enterprise", + "description": "Sets the default level of repository access Dependabot will have while performing an update across organizations in the enterprise. Available values are:\n- 'public' - Dependabot will only have access to public repositories, unless access is explicitly granted to non-public repositories.\n- 'internal' - Dependabot will only have access to public and internal repositories, unless access is explicitly granted to private repositories.\n\nThe authenticated user must be an enterprise owner to use this endpoint.", + "tags": [ + "dependabot" + ], + "operationId": "dependabot/set-repository-access-default-level-for-enterprise", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/dependabot/repository-access#set-the-default-repository-access-level-for-dependabot-in-an-enterprise" + }, + "parameters": [ + { + "$ref": "#/components/parameters/enterprise" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "default_level": { + "type": "string", + "description": "The default repository access level for Dependabot updates.", + "enum": [ + "public", + "internal" + ], + "example": "internal" + } + }, + "required": [ + "default_level" + ] + }, + "examples": { + "204": { + "summary": "Example with a 'succeeded' status.", + "value": { + "default_level": "public" + } + } + } + } + } + }, + "responses": { + "204": { + "description": "Response" + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "404": { + "$ref": "#/components/responses/not_found" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": false, + "category": "dependabot", + "subcategory": "repository-access" + } + } + }, "/enterprises/{enterprise}/teams": { "get": { "summary": "List enterprise teams", @@ -16855,6 +17085,9 @@ "schema": { "type": "object", "additionalProperties": false, + "required": [ + "selected_repository_ids" + ], "properties": { "selected_repository_ids": { "type": "array", @@ -86577,11 +86810,11 @@ } } }, - "issues-labeled": { + "issues-field-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": "A label was added to an issue.", - "operationId": "issues/labeled", + "description": "An issue field value was set or updated on an issue.", + "operationId": "issues/field-added", "externalDocs": { "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#issues" }, @@ -86648,7 +86881,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-issues-labeled" + "$ref": "#/components/schemas/webhook-issues-field-added" } } } @@ -86670,11 +86903,11 @@ } } }, - "issues-locked": { + "issues-field-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": "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 field value was cleared from an issue.", + "operationId": "issues/field-removed", "externalDocs": { "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#issues" }, @@ -86741,7 +86974,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-issues-locked" + "$ref": "#/components/schemas/webhook-issues-field-removed" } } } @@ -86763,11 +86996,11 @@ } } }, - "issues-milestoned": { + "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 added to a milestone.", - "operationId": "issues/milestoned", + "description": "A label was added to an issue.", + "operationId": "issues/labeled", "externalDocs": { "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#issues" }, @@ -86834,7 +87067,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-issues-milestoned" + "$ref": "#/components/schemas/webhook-issues-labeled" } } } @@ -86856,11 +87089,11 @@ } } }, - "issues-opened": { + "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 created. When a closed issue is reopened, the action will be `reopened` instead.", - "operationId": "issues/opened", + "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" }, @@ -86927,7 +87160,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-issues-opened" + "$ref": "#/components/schemas/webhook-issues-locked" } } } @@ -86949,11 +87182,11 @@ } } }, - "issues-pinned": { + "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 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": "An issue was added to a milestone.", + "operationId": "issues/milestoned", "externalDocs": { "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#issues" }, @@ -87020,7 +87253,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-issues-pinned" + "$ref": "#/components/schemas/webhook-issues-milestoned" } } } @@ -87042,11 +87275,11 @@ } } }, - "issues-reopened": { + "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": "A closed issue was reopened.", - "operationId": "issues/reopened", + "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" }, @@ -87113,7 +87346,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-issues-reopened" + "$ref": "#/components/schemas/webhook-issues-opened" } } } @@ -87135,11 +87368,11 @@ } } }, - "issues-transferred": { + "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 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 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" }, @@ -87206,7 +87439,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-issues-transferred" + "$ref": "#/components/schemas/webhook-issues-pinned" } } } @@ -87228,11 +87461,11 @@ } } }, - "issues-typed": { + "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": "An issue type was added to an issue.", - "operationId": "issues/typed", + "description": "A closed issue was reopened.", + "operationId": "issues/reopened", "externalDocs": { "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#issues" }, @@ -87299,7 +87532,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-issues-typed" + "$ref": "#/components/schemas/webhook-issues-reopened" } } } @@ -87321,11 +87554,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/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 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" }, @@ -87392,7 +87625,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-issues-unassigned" + "$ref": "#/components/schemas/webhook-issues-transferred" } } } @@ -87414,11 +87647,11 @@ } } }, - "issues-unlabeled": { + "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": "A label was removed from an issue.", - "operationId": "issues/unlabeled", + "description": "An issue type was added to an issue.", + "operationId": "issues/typed", "externalDocs": { "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#issues" }, @@ -87485,7 +87718,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-issues-unlabeled" + "$ref": "#/components/schemas/webhook-issues-typed" } } } @@ -87507,11 +87740,11 @@ } } }, - "issues-unlocked": { + "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": "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": "A user was unassigned from an issue.", + "operationId": "issues/unassigned", "externalDocs": { "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#issues" }, @@ -87578,7 +87811,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-issues-unlocked" + "$ref": "#/components/schemas/webhook-issues-unassigned" } } } @@ -87600,11 +87833,11 @@ } } }, - "issues-unpinned": { + "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 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 label was removed from an issue.", + "operationId": "issues/unlabeled", "externalDocs": { "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#issues" }, @@ -87671,7 +87904,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-issues-unpinned" + "$ref": "#/components/schemas/webhook-issues-unlabeled" } } } @@ -87693,11 +87926,11 @@ } } }, - "issues-untyped": { + "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/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": "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#issues" }, @@ -87764,7 +87997,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-issues-untyped" + "$ref": "#/components/schemas/webhook-issues-unlocked" } } } @@ -87786,13 +88019,13 @@ } } }, - "label-created": { + "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 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": "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": [ { @@ -87814,7 +88047,7 @@ { "name": "X-Github-Event", "in": "header", - "example": "label", + "example": "issues", "schema": { "type": "string" } @@ -87857,7 +88090,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-label-created" + "$ref": "#/components/schemas/webhook-issues-unpinned" } } } @@ -87870,7 +88103,7 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "label", + "subcategory": "issues", "supported-webhook-types": [ "repository", "organization", @@ -87879,11 +88112,104 @@ } } }, - "label-deleted": { + "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" + } + }, + { + "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-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 deleted.", - "operationId": "label/deleted", + "description": "A label was created.", + "operationId": "label/created", "externalDocs": { "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#label" }, @@ -87950,7 +88276,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-label-deleted" + "$ref": "#/components/schemas/webhook-label-created" } } } @@ -87972,11 +88298,11 @@ } } }, - "label-edited": { + "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's name, description, or color was changed.", - "operationId": "label/edited", + "description": "A label was deleted.", + "operationId": "label/deleted", "externalDocs": { "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#label" }, @@ -88043,7 +88369,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-label-edited" + "$ref": "#/components/schemas/webhook-label-deleted" } } } @@ -88065,13 +88391,13 @@ } } }, - "marketplace-purchase-cancelled": { + "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 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 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": [ { @@ -88093,7 +88419,7 @@ { "name": "X-Github-Event", "in": "header", - "example": "marketplace_purchase", + "example": "label", "schema": { "type": "string" } @@ -88136,7 +88462,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-marketplace-purchase-cancelled" + "$ref": "#/components/schemas/webhook-label-edited" } } } @@ -88149,18 +88475,20 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "marketplace_purchase", + "subcategory": "label", "supported-webhook-types": [ - "marketplace" + "repository", + "organization", + "app" ] } } }, - "marketplace-purchase-changed": { + "marketplace-purchase-cancelled": { "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", + "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#marketplace_purchase" }, @@ -88227,7 +88555,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-marketplace-purchase-changed" + "$ref": "#/components/schemas/webhook-marketplace-purchase-cancelled" } } } @@ -88247,11 +88575,11 @@ } } }, - "marketplace-purchase-pending-change": { + "marketplace-purchase-changed": { "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", + "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#marketplace_purchase" }, @@ -88318,7 +88646,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-marketplace-purchase-pending-change" + "$ref": "#/components/schemas/webhook-marketplace-purchase-changed" } } } @@ -88338,11 +88666,11 @@ } } }, - "marketplace-purchase-pending-change-cancelled": { + "marketplace-purchase-pending-change": { "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", + "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#marketplace_purchase" }, @@ -88409,7 +88737,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-marketplace-purchase-pending-change-cancelled" + "$ref": "#/components/schemas/webhook-marketplace-purchase-pending-change" } } } @@ -88429,11 +88757,11 @@ } } }, - "marketplace-purchase-purchased": { + "marketplace-purchase-pending-change-cancelled": { "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", + "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#marketplace_purchase" }, @@ -88500,7 +88828,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-marketplace-purchase-purchased" + "$ref": "#/components/schemas/webhook-marketplace-purchase-pending-change-cancelled" } } } @@ -88520,13 +88848,13 @@ } } }, - "member-added": { + "marketplace-purchase-purchased": { "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 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#member" + "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#marketplace_purchase" }, "parameters": [ { @@ -88548,7 +88876,7 @@ { "name": "X-Github-Event", "in": "header", - "example": "member", + "example": "marketplace_purchase", "schema": { "type": "string" } @@ -88591,7 +88919,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-member-added" + "$ref": "#/components/schemas/webhook-marketplace-purchase-purchased" } } } @@ -88604,21 +88932,18 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "member", + "subcategory": "marketplace_purchase", "supported-webhook-types": [ - "business", - "repository", - "organization", - "app" + "marketplace" ] } } }, - "member-edited": { + "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/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", + "description": "A GitHub user accepted an invitation to a repository.", + "operationId": "member/added", "externalDocs": { "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#member" }, @@ -88685,7 +89010,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-member-edited" + "$ref": "#/components/schemas/webhook-member-added" } } } @@ -88708,11 +89033,11 @@ } } }, - "member-removed": { + "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/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", + "description": "Permissions were changed for a collaborator on a repository.", + "operationId": "member/edited", "externalDocs": { "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#member" }, @@ -88779,7 +89104,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-member-removed" + "$ref": "#/components/schemas/webhook-member-edited" } } } @@ -88802,13 +89127,13 @@ } } }, - "membership-added": { + "member-removed": { "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 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#membership" + "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#member" }, "parameters": [ { @@ -88830,7 +89155,7 @@ { "name": "X-Github-Event", "in": "header", - "example": "membership", + "example": "member", "schema": { "type": "string" } @@ -88873,7 +89198,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-membership-added" + "$ref": "#/components/schemas/webhook-member-removed" } } } @@ -88886,20 +89211,21 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "membership", + "subcategory": "member", "supported-webhook-types": [ - "organization", "business", + "repository", + "organization", "app" ] } } }, - "membership-removed": { + "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/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", + "description": "An organization member was added to a team.", + "operationId": "membership/added", "externalDocs": { "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#membership" }, @@ -88966,7 +89292,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-membership-removed" + "$ref": "#/components/schemas/webhook-membership-added" } } } @@ -88988,16 +89314,13 @@ } } }, - "merge-group-checks-requested": { + "membership-removed": { "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 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#merge_group" + "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#membership" }, "parameters": [ { @@ -89019,7 +89342,7 @@ { "name": "X-Github-Event", "in": "header", - "example": "merge_group", + "example": "membership", "schema": { "type": "string" } @@ -89062,7 +89385,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-merge-group-checks-requested" + "$ref": "#/components/schemas/webhook-membership-removed" } } } @@ -89075,18 +89398,20 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "merge_group", + "subcategory": "membership", "supported-webhook-types": [ + "organization", + "business", "app" ] } } }, - "merge-group-destroyed": { + "merge-group-checks-requested": { "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", + "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" ], @@ -89156,7 +89481,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-merge-group-destroyed" + "$ref": "#/components/schemas/webhook-merge-group-checks-requested" } } } @@ -89176,201 +89501,16 @@ } } }, - "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/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": "meta", - "schema": { - "type": "string" - } - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { - "type": "string" - } - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { - "type": "string" - } - }, - { - "name": "X-GitHub-Delivery", - "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-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": { + "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 closed.", - "operationId": "milestone/closed", - "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": "milestone", - "schema": { - "type": "string" - } - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { - "type": "string" - } - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { - "type": "string" - } - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { - "type": "string" - } - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { - "type": "string" - } - } + "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" ], - "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/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" + "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#merge_group" }, "parameters": [ { @@ -89392,7 +89532,7 @@ { "name": "X-Github-Event", "in": "header", - "example": "milestone", + "example": "merge_group", "schema": { "type": "string" } @@ -89435,7 +89575,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-milestone-created" + "$ref": "#/components/schemas/webhook-merge-group-destroyed" } } } @@ -89448,22 +89588,20 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "milestone", + "subcategory": "merge_group", "supported-webhook-types": [ - "repository", - "organization", "app" ] } } }, - "milestone-deleted": { + "meta-deleted": { "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 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#milestone" + "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#meta" }, "parameters": [ { @@ -89485,7 +89623,7 @@ { "name": "X-Github-Event", "in": "header", - "example": "milestone", + "example": "meta", "schema": { "type": "string" } @@ -89528,7 +89666,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-milestone-deleted" + "$ref": "#/components/schemas/webhook-meta-deleted" } } } @@ -89541,8 +89679,10 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "milestone", + "subcategory": "meta", "supported-webhook-types": [ + "marketplace", + "business", "repository", "organization", "app" @@ -89550,11 +89690,11 @@ } } }, - "milestone-edited": { + "milestone-closed": { "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", + "description": "A milestone was closed.", + "operationId": "milestone/closed", "externalDocs": { "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#milestone" }, @@ -89621,7 +89761,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-milestone-edited" + "$ref": "#/components/schemas/webhook-milestone-closed" } } } @@ -89643,11 +89783,11 @@ } } }, - "milestone-opened": { + "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 opened.", - "operationId": "milestone/opened", + "description": "A milestone was created.", + "operationId": "milestone/created", "externalDocs": { "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#milestone" }, @@ -89714,100 +89854,7 @@ "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" - ] - } - } - }, - "org-block-blocked": { - "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", - "externalDocs": { - "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#org_block" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { - "type": "string" - } - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { - "type": "string" - } - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "org_block", - "schema": { - "type": "string" - } - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { - "type": "string" - } - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { - "type": "string" - } - }, - { - "name": "X-GitHub-Delivery", - "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-org-block-blocked" + "$ref": "#/components/schemas/webhook-milestone-created" } } } @@ -89820,22 +89867,22 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "org_block", + "subcategory": "milestone", "supported-webhook-types": [ + "repository", "organization", - "business", "app" ] } } }, - "org-block-unblocked": { + "milestone-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 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 deleted.", + "operationId": "milestone/deleted", "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": [ { @@ -89857,7 +89904,7 @@ { "name": "X-Github-Event", "in": "header", - "example": "org_block", + "example": "milestone", "schema": { "type": "string" } @@ -89900,7 +89947,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-org-block-unblocked" + "$ref": "#/components/schemas/webhook-milestone-deleted" } } } @@ -89913,22 +89960,22 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "org_block", + "subcategory": "milestone", "supported-webhook-types": [ + "repository", "organization", - "business", "app" ] } } }, - "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/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 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": [ { @@ -89950,7 +89997,7 @@ { "name": "X-Github-Event", "in": "header", - "example": "organization", + "example": "milestone", "schema": { "type": "string" } @@ -89993,7 +90040,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-organization-deleted" + "$ref": "#/components/schemas/webhook-milestone-edited" } } } @@ -90006,7 +90053,193 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "organization", + "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/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#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": "milestone", + "schema": { + "type": "string" + } + }, + { + "name": "X-Github-Hook-Installation-Target-Id", + "in": "header", + "example": 123123, + "schema": { + "type": "string" + } + }, + { + "name": "X-Github-Hook-Installation-Target-Type", + "in": "header", + "example": "repository", + "schema": { + "type": "string" + } + }, + { + "name": "X-GitHub-Delivery", + "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-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" + ] + } + } + }, + "org-block-blocked": { + "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", + "externalDocs": { + "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#org_block" + }, + "parameters": [ + { + "name": "User-Agent", + "in": "header", + "example": "GitHub-Hookshot/123abc", + "schema": { + "type": "string" + } + }, + { + "name": "X-Github-Hook-Id", + "in": "header", + "example": 12312312, + "schema": { + "type": "string" + } + }, + { + "name": "X-Github-Event", + "in": "header", + "example": "org_block", + "schema": { + "type": "string" + } + }, + { + "name": "X-Github-Hook-Installation-Target-Id", + "in": "header", + "example": 123123, + "schema": { + "type": "string" + } + }, + { + "name": "X-Github-Hook-Installation-Target-Type", + "in": "header", + "example": "repository", + "schema": { + "type": "string" + } + }, + { + "name": "X-GitHub-Delivery", + "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-org-block-blocked" + } + } + } + }, + "responses": { + "200": { + "description": "Return a 200 status to indicate that the data was received successfully" + } + }, + "x-github": { + "githubCloudOnly": false, + "category": "webhooks", + "subcategory": "org_block", "supported-webhook-types": [ "organization", "business", @@ -90015,13 +90248,13 @@ } } }, - "organization-member-added": { + "org-block-unblocked": { "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 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#organization" + "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#org_block" }, "parameters": [ { @@ -90043,7 +90276,7 @@ { "name": "X-Github-Event", "in": "header", - "example": "organization", + "example": "org_block", "schema": { "type": "string" } @@ -90086,7 +90319,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-organization-member-added" + "$ref": "#/components/schemas/webhook-org-block-unblocked" } } } @@ -90099,7 +90332,7 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "organization", + "subcategory": "org_block", "supported-webhook-types": [ "organization", "business", @@ -90108,11 +90341,11 @@ } } }, - "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/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", + "description": "An organization was deleted.", + "operationId": "organization/deleted", "externalDocs": { "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#organization" }, @@ -90179,7 +90412,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-organization-member-invited" + "$ref": "#/components/schemas/webhook-organization-deleted" } } } @@ -90201,11 +90434,11 @@ } } }, - "organization-member-removed": { + "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/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", + "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#organization" }, @@ -90272,7 +90505,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-organization-member-removed" + "$ref": "#/components/schemas/webhook-organization-member-added" } } } @@ -90294,11 +90527,11 @@ } } }, - "organization-renamed": { + "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/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", + "description": "A member was invited to join the organization.", + "operationId": "organization/member-invited", "externalDocs": { "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#organization" }, @@ -90365,7 +90598,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-organization-renamed" + "$ref": "#/components/schemas/webhook-organization-member-invited" } } } @@ -90387,13 +90620,13 @@ } } }, - "package-published": { + "organization-member-removed": { "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.", - "description": "A package was published to a registry.", - "operationId": "package/published", + "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#package" + "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#organization" }, "parameters": [ { @@ -90415,7 +90648,7 @@ { "name": "X-Github-Event", "in": "header", - "example": "package", + "example": "organization", "schema": { "type": "string" } @@ -90458,7 +90691,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-package-published" + "$ref": "#/components/schemas/webhook-organization-member-removed" } } } @@ -90471,21 +90704,22 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "package", + "subcategory": "organization", "supported-webhook-types": [ - "repository", - "organization" + "organization", + "business", + "app" ] } } }, - "package-updated": { + "organization-renamed": { "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.", - "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": "The name of an organization was changed.", + "operationId": "organization/renamed", "externalDocs": { - "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#package" + "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#organization" }, "parameters": [ { @@ -90507,7 +90741,7 @@ { "name": "X-Github-Event", "in": "header", - "example": "package", + "example": "organization", "schema": { "type": "string" } @@ -90550,7 +90784,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-package-updated" + "$ref": "#/components/schemas/webhook-organization-renamed" } } } @@ -90563,20 +90797,22 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "package", + "subcategory": "organization", "supported-webhook-types": [ - "repository", - "organization" + "organization", + "business", + "app" ] } } }, - "page-build": { + "package-published": { "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 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.", + "description": "A package was published to a registry.", + "operationId": "package/published", "externalDocs": { - "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#page_build" + "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#package" }, "parameters": [ { @@ -90598,7 +90834,7 @@ { "name": "X-Github-Event", "in": "header", - "example": "page_build", + "example": "package", "schema": { "type": "string" } @@ -90641,7 +90877,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-page-build" + "$ref": "#/components/schemas/webhook-package-published" } } } @@ -90654,22 +90890,21 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "page_build", + "subcategory": "package", "supported-webhook-types": [ "repository", - "organization", - "app" + "organization" ] } } }, - "personal-access-token-request-approved": { + "package-updated": { "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 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.", + "description": "A previously published package was updated.", + "operationId": "package/updated", "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#package" }, "parameters": [ { @@ -90680,6 +90915,38 @@ "type": "string" } }, + { + "name": "X-Github-Hook-Id", + "in": "header", + "example": 12312312, + "schema": { + "type": "string" + } + }, + { + "name": "X-Github-Event", + "in": "header", + "example": "package", + "schema": { + "type": "string" + } + }, + { + "name": "X-Github-Hook-Installation-Target-Id", + "in": "header", + "example": 123123, + "schema": { + "type": "string" + } + }, + { + "name": "X-Github-Hook-Installation-Target-Type", + "in": "header", + "example": "repository", + "schema": { + "type": "string" + } + }, { "name": "X-GitHub-Delivery", "in": "header", @@ -90689,9 +90956,52 @@ } }, { - "name": "X-Github-Event", + "name": "X-Hub-Signature-256", "in": "header", - "example": "personal_access_token_request", + "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", + "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" + ] + } + } + }, + "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/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#page_build" + }, + "parameters": [ + { + "name": "User-Agent", + "in": "header", + "example": "GitHub-Hookshot/123abc", "schema": { "type": "string" } @@ -90704,6 +91014,14 @@ "type": "string" } }, + { + "name": "X-Github-Event", + "in": "header", + "example": "page_build", + "schema": { + "type": "string" + } + }, { "name": "X-Github-Hook-Installation-Target-Id", "in": "header", @@ -90715,7 +91033,15 @@ { "name": "X-Github-Hook-Installation-Target-Type", "in": "header", - "example": "integration", + "example": "repository", + "schema": { + "type": "string" + } + }, + { + "name": "X-GitHub-Delivery", + "in": "header", + "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", "schema": { "type": "string" } @@ -90734,7 +91060,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-personal-access-token-request-approved" + "$ref": "#/components/schemas/webhook-page-build" } } } @@ -90747,19 +91073,20 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "personal_access_token_request", + "subcategory": "page_build", "supported-webhook-types": [ - "app", - "organization" + "repository", + "organization", + "app" ] } } }, - "personal-access-token-request-cancelled": { + "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/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", + "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#personal_access_token_request" }, @@ -90826,7 +91153,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-personal-access-token-request-cancelled" + "$ref": "#/components/schemas/webhook-personal-access-token-request-approved" } } } @@ -90847,11 +91174,11 @@ } } }, - "personal-access-token-request-created": { + "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 created.", - "operationId": "personal-access-token-request/created", + "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" }, @@ -90918,7 +91245,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-personal-access-token-request-created" + "$ref": "#/components/schemas/webhook-personal-access-token-request-cancelled" } } } @@ -90939,11 +91266,11 @@ } } }, - "personal-access-token-request-denied": { + "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/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", + "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#personal_access_token_request" }, @@ -91010,7 +91337,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-personal-access-token-request-denied" + "$ref": "#/components/schemas/webhook-personal-access-token-request-created" } } } @@ -91031,12 +91358,13 @@ } } }, - "ping": { + "personal-access-token-request-denied": { "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 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#ping" + "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#personal_access_token_request" }, "parameters": [ { @@ -91048,9 +91376,9 @@ } }, { - "name": "X-Github-Hook-Id", + "name": "X-GitHub-Delivery", "in": "header", - "example": 12312312, + "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", "schema": { "type": "string" } @@ -91058,31 +91386,31 @@ { "name": "X-Github-Event", "in": "header", - "example": "ping", + "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" } @@ -91101,22 +91429,7 @@ "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-personal-access-token-request-denied" } } } @@ -91128,26 +91441,132 @@ }, "x-github": { "githubCloudOnly": false, - "enabledForGitHubApps": true, "category": "webhooks", - "subcategory": "ping", + "subcategory": "personal_access_token_request", "supported-webhook-types": [ - "repository", - "organization", "app", - "business", - "marketplace" + "organization" ] } } }, - "project-card-converted": { + "ping": { "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 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_card" + "url": "https://docs.github.com/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": "ping", + "schema": { + "type": "string" + } + }, + { + "name": "X-Github-Hook-Installation-Target-Id", + "in": "header", + "example": 123123, + "schema": { + "type": "string" + } + }, + { + "name": "X-Github-Hook-Installation-Target-Type", + "in": "header", + "example": "repository", + "schema": { + "type": "string" + } + }, + { + "name": "X-GitHub-Delivery", + "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-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/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_card" }, "parameters": [ { @@ -107962,6 +108381,329 @@ ], "additionalProperties": false }, + "nullable-simple-repository": { + "title": "Simple Repository", + "description": "A GitHub repository.", + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "example": 1296269, + "description": "A unique identifier of the repository." + }, + "node_id": { + "type": "string", + "example": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5", + "description": "The GraphQL identifier of the repository." + }, + "name": { + "type": "string", + "example": "Hello-World", + "description": "The name of the repository." + }, + "full_name": { + "type": "string", + "example": "octocat/Hello-World", + "description": "The full, globally unique, name of the repository." + }, + "owner": { + "$ref": "#/components/schemas/simple-user" + }, + "private": { + "type": "boolean", + "description": "Whether the repository is private." + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat/Hello-World", + "description": "The URL to view the repository on GitHub.com." + }, + "description": { + "type": "string", + "example": "This your first repo!", + "nullable": true, + "description": "The repository description." + }, + "fork": { + "type": "boolean", + "description": "Whether the repository is a fork." + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octocat/Hello-World", + "description": "The URL to get more information about the repository from the GitHub API." + }, + "archive_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}", + "description": "A template for the API URL to download the repository as an archive." + }, + "assignees_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/assignees{/user}", + "description": "A template for the API URL to list the available assignees for issues in the repository." + }, + "blobs_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}", + "description": "A template for the API URL to create or retrieve a raw Git blob in the repository." + }, + "branches_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/branches{/branch}", + "description": "A template for the API URL to get information about branches in the repository." + }, + "collaborators_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}", + "description": "A template for the API URL to get information about collaborators of the repository." + }, + "comments_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/comments{/number}", + "description": "A template for the API URL to get information about comments on the repository." + }, + "commits_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/commits{/sha}", + "description": "A template for the API URL to get information about commits on the repository." + }, + "compare_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}", + "description": "A template for the API URL to compare two commits or refs." + }, + "contents_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/contents/{+path}", + "description": "A template for the API URL to get the contents of the repository." + }, + "contributors_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octocat/Hello-World/contributors", + "description": "A template for the API URL to list the contributors to the repository." + }, + "deployments_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octocat/Hello-World/deployments", + "description": "The API URL to list the deployments of the repository." + }, + "downloads_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octocat/Hello-World/downloads", + "description": "The API URL to list the downloads on the repository." + }, + "events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octocat/Hello-World/events", + "description": "The API URL to list the events of the repository." + }, + "forks_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octocat/Hello-World/forks", + "description": "The API URL to list the forks of the repository." + }, + "git_commits_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/git/commits{/sha}", + "description": "A template for the API URL to get information about Git commits of the repository." + }, + "git_refs_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/git/refs{/sha}", + "description": "A template for the API URL to get information about Git refs of the repository." + }, + "git_tags_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/git/tags{/sha}", + "description": "A template for the API URL to get information about Git tags of the repository." + }, + "issue_comment_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/issues/comments{/number}", + "description": "A template for the API URL to get information about issue comments on the repository." + }, + "issue_events_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/issues/events{/number}", + "description": "A template for the API URL to get information about issue events on the repository." + }, + "issues_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/issues{/number}", + "description": "A template for the API URL to get information about issues on the repository." + }, + "keys_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/keys{/key_id}", + "description": "A template for the API URL to get information about deploy keys on the repository." + }, + "labels_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/labels{/name}", + "description": "A template for the API URL to get information about labels of the repository." + }, + "languages_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octocat/Hello-World/languages", + "description": "The API URL to get information about the languages of the repository." + }, + "merges_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octocat/Hello-World/merges", + "description": "The API URL to merge branches in the repository." + }, + "milestones_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/milestones{/number}", + "description": "A template for the API URL to get information about milestones of the repository." + }, + "notifications_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}", + "description": "A template for the API URL to get information about notifications on the repository." + }, + "pulls_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/pulls{/number}", + "description": "A template for the API URL to get information about pull requests on the repository." + }, + "releases_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/releases{/id}", + "description": "A template for the API URL to get information about releases on the repository." + }, + "stargazers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octocat/Hello-World/stargazers", + "description": "The API URL to list the stargazers on the repository." + }, + "statuses_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/statuses/{sha}", + "description": "A template for the API URL to get information about statuses of a commit." + }, + "subscribers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octocat/Hello-World/subscribers", + "description": "The API URL to list the subscribers on the repository." + }, + "subscription_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octocat/Hello-World/subscription", + "description": "The API URL to subscribe to notifications for this repository." + }, + "tags_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octocat/Hello-World/tags", + "description": "The API URL to get information about tags on the repository." + }, + "teams_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octocat/Hello-World/teams", + "description": "The API URL to list the teams on the repository." + }, + "trees_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/git/trees{/sha}", + "description": "A template for the API URL to create or retrieve a raw Git tree of the repository." + }, + "hooks_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octocat/Hello-World/hooks", + "description": "The API URL to list the hooks on the 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" + ], + "nullable": true + }, + "dependabot-repository-access-details": { + "title": "Dependabot Repository Access Details", + "description": "Information about repositories that Dependabot is able to access in an organization", + "type": "object", + "properties": { + "default_level": { + "type": "string", + "description": "The default repository access level for Dependabot updates.", + "enum": [ + "public", + "internal" + ], + "example": "internal", + "nullable": true + }, + "accessible_repositories": { + "type": "array", + "items": { + "$ref": "#/components/schemas/nullable-simple-repository" + } + } + }, + "additionalProperties": false + }, "enterprise-team": { "title": "Enterprise Team", "description": "Group of enterprise owners and/or members", @@ -115618,329 +116360,6 @@ ], "additionalProperties": true }, - "nullable-simple-repository": { - "title": "Simple Repository", - "description": "A GitHub repository.", - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "example": 1296269, - "description": "A unique identifier of the repository." - }, - "node_id": { - "type": "string", - "example": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5", - "description": "The GraphQL identifier of the repository." - }, - "name": { - "type": "string", - "example": "Hello-World", - "description": "The name of the repository." - }, - "full_name": { - "type": "string", - "example": "octocat/Hello-World", - "description": "The full, globally unique, name of the repository." - }, - "owner": { - "$ref": "#/components/schemas/simple-user" - }, - "private": { - "type": "boolean", - "description": "Whether the repository is private." - }, - "html_url": { - "type": "string", - "format": "uri", - "example": "https://github.com/octocat/Hello-World", - "description": "The URL to view the repository on GitHub.com." - }, - "description": { - "type": "string", - "example": "This your first repo!", - "nullable": true, - "description": "The repository description." - }, - "fork": { - "type": "boolean", - "description": "Whether the repository is a fork." - }, - "url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/repos/octocat/Hello-World", - "description": "The URL to get more information about the repository from the GitHub API." - }, - "archive_url": { - "type": "string", - "example": "https://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}", - "description": "A template for the API URL to download the repository as an archive." - }, - "assignees_url": { - "type": "string", - "example": "https://api.github.com/repos/octocat/Hello-World/assignees{/user}", - "description": "A template for the API URL to list the available assignees for issues in the repository." - }, - "blobs_url": { - "type": "string", - "example": "https://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}", - "description": "A template for the API URL to create or retrieve a raw Git blob in the repository." - }, - "branches_url": { - "type": "string", - "example": "https://api.github.com/repos/octocat/Hello-World/branches{/branch}", - "description": "A template for the API URL to get information about branches in the repository." - }, - "collaborators_url": { - "type": "string", - "example": "https://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}", - "description": "A template for the API URL to get information about collaborators of the repository." - }, - "comments_url": { - "type": "string", - "example": "https://api.github.com/repos/octocat/Hello-World/comments{/number}", - "description": "A template for the API URL to get information about comments on the repository." - }, - "commits_url": { - "type": "string", - "example": "https://api.github.com/repos/octocat/Hello-World/commits{/sha}", - "description": "A template for the API URL to get information about commits on the repository." - }, - "compare_url": { - "type": "string", - "example": "https://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}", - "description": "A template for the API URL to compare two commits or refs." - }, - "contents_url": { - "type": "string", - "example": "https://api.github.com/repos/octocat/Hello-World/contents/{+path}", - "description": "A template for the API URL to get the contents of the repository." - }, - "contributors_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/repos/octocat/Hello-World/contributors", - "description": "A template for the API URL to list the contributors to the repository." - }, - "deployments_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/repos/octocat/Hello-World/deployments", - "description": "The API URL to list the deployments of the repository." - }, - "downloads_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/repos/octocat/Hello-World/downloads", - "description": "The API URL to list the downloads on the repository." - }, - "events_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/repos/octocat/Hello-World/events", - "description": "The API URL to list the events of the repository." - }, - "forks_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/repos/octocat/Hello-World/forks", - "description": "The API URL to list the forks of the repository." - }, - "git_commits_url": { - "type": "string", - "example": "https://api.github.com/repos/octocat/Hello-World/git/commits{/sha}", - "description": "A template for the API URL to get information about Git commits of the repository." - }, - "git_refs_url": { - "type": "string", - "example": "https://api.github.com/repos/octocat/Hello-World/git/refs{/sha}", - "description": "A template for the API URL to get information about Git refs of the repository." - }, - "git_tags_url": { - "type": "string", - "example": "https://api.github.com/repos/octocat/Hello-World/git/tags{/sha}", - "description": "A template for the API URL to get information about Git tags of the repository." - }, - "issue_comment_url": { - "type": "string", - "example": "https://api.github.com/repos/octocat/Hello-World/issues/comments{/number}", - "description": "A template for the API URL to get information about issue comments on the repository." - }, - "issue_events_url": { - "type": "string", - "example": "https://api.github.com/repos/octocat/Hello-World/issues/events{/number}", - "description": "A template for the API URL to get information about issue events on the repository." - }, - "issues_url": { - "type": "string", - "example": "https://api.github.com/repos/octocat/Hello-World/issues{/number}", - "description": "A template for the API URL to get information about issues on the repository." - }, - "keys_url": { - "type": "string", - "example": "https://api.github.com/repos/octocat/Hello-World/keys{/key_id}", - "description": "A template for the API URL to get information about deploy keys on the repository." - }, - "labels_url": { - "type": "string", - "example": "https://api.github.com/repos/octocat/Hello-World/labels{/name}", - "description": "A template for the API URL to get information about labels of the repository." - }, - "languages_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/repos/octocat/Hello-World/languages", - "description": "The API URL to get information about the languages of the repository." - }, - "merges_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/repos/octocat/Hello-World/merges", - "description": "The API URL to merge branches in the repository." - }, - "milestones_url": { - "type": "string", - "example": "https://api.github.com/repos/octocat/Hello-World/milestones{/number}", - "description": "A template for the API URL to get information about milestones of the repository." - }, - "notifications_url": { - "type": "string", - "example": "https://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}", - "description": "A template for the API URL to get information about notifications on the repository." - }, - "pulls_url": { - "type": "string", - "example": "https://api.github.com/repos/octocat/Hello-World/pulls{/number}", - "description": "A template for the API URL to get information about pull requests on the repository." - }, - "releases_url": { - "type": "string", - "example": "https://api.github.com/repos/octocat/Hello-World/releases{/id}", - "description": "A template for the API URL to get information about releases on the repository." - }, - "stargazers_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/repos/octocat/Hello-World/stargazers", - "description": "The API URL to list the stargazers on the repository." - }, - "statuses_url": { - "type": "string", - "example": "https://api.github.com/repos/octocat/Hello-World/statuses/{sha}", - "description": "A template for the API URL to get information about statuses of a commit." - }, - "subscribers_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/repos/octocat/Hello-World/subscribers", - "description": "The API URL to list the subscribers on the repository." - }, - "subscription_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/repos/octocat/Hello-World/subscription", - "description": "The API URL to subscribe to notifications for this repository." - }, - "tags_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/repos/octocat/Hello-World/tags", - "description": "The API URL to get information about tags on the repository." - }, - "teams_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/repos/octocat/Hello-World/teams", - "description": "The API URL to list the teams on the repository." - }, - "trees_url": { - "type": "string", - "example": "https://api.github.com/repos/octocat/Hello-World/git/trees{/sha}", - "description": "A template for the API URL to create or retrieve a raw Git tree of the repository." - }, - "hooks_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/repos/octocat/Hello-World/hooks", - "description": "The API URL to list the hooks on the 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" - ], - "nullable": true - }, - "dependabot-repository-access-details": { - "title": "Dependabot Repository Access Details", - "description": "Information about repositories that Dependabot is able to access in an organization", - "type": "object", - "properties": { - "default_level": { - "type": "string", - "description": "The default repository access level for Dependabot updates.", - "enum": [ - "public", - "internal" - ], - "example": "internal", - "nullable": true - }, - "accessible_repositories": { - "type": "array", - "items": { - "$ref": "#/components/schemas/nullable-simple-repository" - } - } - }, - "additionalProperties": false - }, "organization-dependabot-secret": { "title": "Dependabot Secret for an Organization", "description": "Secrets for GitHub Dependabot for an organization.", @@ -182829,6 +183248,306 @@ "sender" ] }, + "webhook-issues-field-added": { + "title": "issues field_added event", + "type": "object", + "properties": { + "action": { + "type": "string", + "enum": [ + "field_added" + ] + }, + "enterprise": { + "$ref": "#/components/schemas/enterprise-webhooks" + }, + "installation": { + "$ref": "#/components/schemas/simple-installation" + }, + "issue": { + "$ref": "#/components/schemas/webhooks_issue" + }, + "issue_field": { + "type": "object", + "description": "The issue field whose value was set or updated on the issue.", + "properties": { + "id": { + "type": "integer", + "description": "The unique identifier of the issue field." + }, + "name": { + "type": "string", + "description": "The name of the issue field." + }, + "field_type": { + "type": "string", + "description": "The data type of the issue field.", + "enum": [ + "text", + "date", + "single_select", + "number" + ] + } + }, + "required": [ + "id", + "name", + "field_type" + ] + }, + "issue_field_value": { + "type": "object", + "description": "The value that was set or updated for the issue field. When updating an existing value, the previous value is available in `changes`.", + "properties": { + "id": { + "type": "integer", + "description": "The unique identifier of the issue field value." + }, + "value": { + "description": "The value of the field. Present for text, date, and number field types.", + "nullable": true, + "anyOf": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "integer" + } + ] + }, + "value_id": { + "type": "integer", + "description": "The identifier of the selected option. Present for single_select field types." + }, + "option": { + "type": "object", + "description": "The selected option details. Present for single_select field types.", + "properties": { + "id": { + "type": "integer" + }, + "name": { + "type": "string" + }, + "color": { + "type": "string" + }, + "description": { + "type": "string", + "nullable": true + } + } + } + }, + "required": [ + "id" + ] + }, + "changes": { + "type": "object", + "description": "The previous field value, present when an existing value was updated.", + "properties": { + "issue_field_value": { + "type": "object", + "description": "The previous issue field value data.", + "properties": { + "from": { + "type": "object", + "description": "The previous value of the issue field before the update.", + "properties": { + "id": { + "type": "integer", + "description": "The unique identifier of the issue field value." + }, + "value": { + "description": "The previous value. Present for text, date, and number field types.", + "nullable": true, + "anyOf": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "integer" + } + ] + }, + "value_id": { + "type": "integer", + "description": "The identifier of the previously selected option. Present for single_select field types." + }, + "option": { + "type": "object", + "description": "The previously selected option details. Present for single_select field types.", + "properties": { + "id": { + "type": "integer" + }, + "name": { + "type": "string" + }, + "color": { + "type": "string" + }, + "description": { + "type": "string", + "nullable": true + } + } + } + }, + "required": [ + "id" + ] + } + }, + "required": [ + "from" + ] + } + } + }, + "organization": { + "$ref": "#/components/schemas/organization-simple-webhooks" + }, + "repository": { + "$ref": "#/components/schemas/repository-webhooks" + }, + "sender": { + "$ref": "#/components/schemas/simple-user" + } + }, + "required": [ + "action", + "issue", + "issue_field", + "repository", + "sender" + ] + }, + "webhook-issues-field-removed": { + "title": "issues field_removed event", + "type": "object", + "properties": { + "action": { + "type": "string", + "enum": [ + "field_removed" + ] + }, + "enterprise": { + "$ref": "#/components/schemas/enterprise-webhooks" + }, + "installation": { + "$ref": "#/components/schemas/simple-installation" + }, + "issue": { + "$ref": "#/components/schemas/webhooks_issue" + }, + "issue_field": { + "type": "object", + "description": "The issue field whose value was cleared from the issue.", + "properties": { + "id": { + "type": "integer", + "description": "The unique identifier of the issue field." + }, + "name": { + "type": "string", + "description": "The name of the issue field." + }, + "field_type": { + "type": "string", + "description": "The data type of the issue field.", + "enum": [ + "text", + "date", + "single_select", + "number" + ] + } + }, + "required": [ + "id", + "name", + "field_type" + ] + }, + "issue_field_value": { + "type": "object", + "description": "The value that was cleared from the issue field.", + "properties": { + "id": { + "type": "integer", + "description": "The unique identifier of the issue field value." + }, + "value": { + "description": "The value of the field. Present for text, date, and number field types.", + "nullable": true, + "anyOf": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "integer" + } + ] + }, + "value_id": { + "type": "integer", + "description": "The identifier of the selected option. Present for single_select field types." + }, + "option": { + "type": "object", + "description": "The selected option details. Present for single_select field types.", + "properties": { + "id": { + "type": "integer" + }, + "name": { + "type": "string" + }, + "color": { + "type": "string" + }, + "description": { + "type": "string", + "nullable": true + } + } + } + }, + "required": [ + "id" + ] + }, + "organization": { + "$ref": "#/components/schemas/organization-simple-webhooks" + }, + "repository": { + "$ref": "#/components/schemas/repository-webhooks" + }, + "sender": { + "$ref": "#/components/schemas/simple-user" + } + }, + "required": [ + "action", + "issue", + "issue_field", + "repository", + "sender" + ] + }, "webhook-issues-labeled": { "title": "issues labeled event", "type": "object", @@ -288816,6 +289535,84 @@ } ] }, + "dependabot-repository-access-details": { + "value": { + "default_level": "public", + "accessible_repositories": [ + { + "id": 123456, + "node_id": "MDEwOlJlcG9zaXRvcnkxMjM0NTY=", + "name": "example-repo", + "full_name": "octocat/example-repo", + "owner": { + "name": "octocat", + "email": "octo@github.com", + "login": "octocat", + "id": 1, + "node_id": "MDQ6VXNlcjE=", + "avatar_url": "https://avatars.githubusercontent.com/u/1?v=4", + "gravatar_id": 1, + "url": "https://api.github.com/users/octocat", + "html_url": "https://github.com/octocat/example-repo", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "starred_url": "https://api.github.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, + "starred_at": "\"2020-07-09T00:17:55Z\"", + "user_view_type": "default" + }, + "private": false, + "html_url": "https://github.com/octocat/example-repo", + "description": "This is an example repository.", + "fork": false, + "url": "https://api.github.com/repos/octocat/example-repo", + "archive_url": "https://api.github.com/repos/octocat/example-repo/{archive_format}{/ref}", + "assignees_url": "https://api.github.com/repos/octocat/example-repo/assignees{/user}", + "blobs_url": "https://api.github.com/repos/octocat/example-repo/git/blobs{/sha}", + "branches_url": "https://api.github.com/repos/octocat/example-repo/branches{/branch}", + "collaborators_url": "https://api.github.com/repos/octocat/example-repo/collaborators{/collaborator}", + "comments_url": "https://api.github.com/repos/octocat/example-repo/comments{/number}", + "commits_url": "https://api.github.com/repos/octocat/example-repo/commits{/sha}", + "compare_url": "https://api.github.com/repos/octocat/example-repo/compare/{base}...{head}", + "contents_url": "https://api.github.com/repos/octocat/example-repo/contents/{+path}", + "contributors_url": "https://api.github.com/repos/octocat/example-repo/contributors", + "deployments_url": "https://api.github.com/repos/octocat/example-repo/deployments", + "downloads_url": "https://api.github.com/repos/octocat/example-repo/downloads", + "events_url": "https://api.github.com/repos/octocat/example-repo/events", + "forks_url": "https://api.github.com/repos/octocat/example-repo/forks", + "git_commits_url": "https://api.github.com/repos/octocat/example-repo/git/commits{/sha}", + "git_refs_url": "https://api.github.com/repos/octocat/example-repo/git/refs{/sha}", + "git_tags_url": "https://api.github.com/repos/octocat/example-repo/git/tags{/sha}", + "issue_comment_url": "https://api.github.com/repos/octocat/example-repo/issues/comments{/number}", + "issue_events_url": "https://api.github.com/repos/octocat/example-repo/issues/events{/number}", + "issues_url": "https://api.github.com/repos/octocat/example-repo/issues{/number}", + "keys_url": "https://api.github.com/repos/octocat/example-repo/keys{/key_id}", + "labels_url": "https://api.github.com/repos/octocat/example-repo/labels{/name}", + "languages_url": "https://api.github.com/repos/octocat/example-repo/languages", + "merges_url": "https://api.github.com/repos/octocat/example-repo/merges", + "milestones_url": "https://api.github.com/repos/octocat/example-repo/milestones{/number}", + "notifications_url": "https://api.github.com/repos/octocat/example-repo/notifications{?since,all,participating}", + "pulls_url": "https://api.github.com/repos/octocat/example-repo/pulls{/number}", + "releases_url": "https://api.github.com/repos/octocat/example-repo/releases{/id}", + "stargazers_url": "https://api.github.com/repos/octocat/example-repo/stargazers", + "statuses_url": "https://api.github.com/repos/octocat/example-repo/statuses/{sha}", + "subscribers_url": "https://api.github.com/repos/octocat/example-repo/subscribers", + "subscription_url": "https://api.github.com/repos/octocat/example-repo/subscription", + "tags_url": "https://api.github.com/repos/octocat/example-repo/tags", + "teams_url": "https://api.github.com/repos/octocat/example-repo/teams", + "trees_url": "https://api.github.com/repos/octocat/example-repo/git/trees{/sha}", + "hooks_url": "https://api.github.com/repos/octocat/example-repo/hooks" + } + ] + } + }, "enterprise-teams-items": { "value": [ { @@ -293241,84 +294038,6 @@ } ] }, - "dependabot-repository-access-details": { - "value": { - "default_level": "public", - "accessible_repositories": [ - { - "id": 123456, - "node_id": "MDEwOlJlcG9zaXRvcnkxMjM0NTY=", - "name": "example-repo", - "full_name": "octocat/example-repo", - "owner": { - "name": "octocat", - "email": "octo@github.com", - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://avatars.githubusercontent.com/u/1?v=4", - "gravatar_id": 1, - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat/example-repo", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.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, - "starred_at": "\"2020-07-09T00:17:55Z\"", - "user_view_type": "default" - }, - "private": false, - "html_url": "https://github.com/octocat/example-repo", - "description": "This is an example repository.", - "fork": false, - "url": "https://api.github.com/repos/octocat/example-repo", - "archive_url": "https://api.github.com/repos/octocat/example-repo/{archive_format}{/ref}", - "assignees_url": "https://api.github.com/repos/octocat/example-repo/assignees{/user}", - "blobs_url": "https://api.github.com/repos/octocat/example-repo/git/blobs{/sha}", - "branches_url": "https://api.github.com/repos/octocat/example-repo/branches{/branch}", - "collaborators_url": "https://api.github.com/repos/octocat/example-repo/collaborators{/collaborator}", - "comments_url": "https://api.github.com/repos/octocat/example-repo/comments{/number}", - "commits_url": "https://api.github.com/repos/octocat/example-repo/commits{/sha}", - "compare_url": "https://api.github.com/repos/octocat/example-repo/compare/{base}...{head}", - "contents_url": "https://api.github.com/repos/octocat/example-repo/contents/{+path}", - "contributors_url": "https://api.github.com/repos/octocat/example-repo/contributors", - "deployments_url": "https://api.github.com/repos/octocat/example-repo/deployments", - "downloads_url": "https://api.github.com/repos/octocat/example-repo/downloads", - "events_url": "https://api.github.com/repos/octocat/example-repo/events", - "forks_url": "https://api.github.com/repos/octocat/example-repo/forks", - "git_commits_url": "https://api.github.com/repos/octocat/example-repo/git/commits{/sha}", - "git_refs_url": "https://api.github.com/repos/octocat/example-repo/git/refs{/sha}", - "git_tags_url": "https://api.github.com/repos/octocat/example-repo/git/tags{/sha}", - "issue_comment_url": "https://api.github.com/repos/octocat/example-repo/issues/comments{/number}", - "issue_events_url": "https://api.github.com/repos/octocat/example-repo/issues/events{/number}", - "issues_url": "https://api.github.com/repos/octocat/example-repo/issues{/number}", - "keys_url": "https://api.github.com/repos/octocat/example-repo/keys{/key_id}", - "labels_url": "https://api.github.com/repos/octocat/example-repo/labels{/name}", - "languages_url": "https://api.github.com/repos/octocat/example-repo/languages", - "merges_url": "https://api.github.com/repos/octocat/example-repo/merges", - "milestones_url": "https://api.github.com/repos/octocat/example-repo/milestones{/number}", - "notifications_url": "https://api.github.com/repos/octocat/example-repo/notifications{?since,all,participating}", - "pulls_url": "https://api.github.com/repos/octocat/example-repo/pulls{/number}", - "releases_url": "https://api.github.com/repos/octocat/example-repo/releases{/id}", - "stargazers_url": "https://api.github.com/repos/octocat/example-repo/stargazers", - "statuses_url": "https://api.github.com/repos/octocat/example-repo/statuses/{sha}", - "subscribers_url": "https://api.github.com/repos/octocat/example-repo/subscribers", - "subscription_url": "https://api.github.com/repos/octocat/example-repo/subscription", - "tags_url": "https://api.github.com/repos/octocat/example-repo/tags", - "teams_url": "https://api.github.com/repos/octocat/example-repo/teams", - "trees_url": "https://api.github.com/repos/octocat/example-repo/git/trees{/sha}", - "hooks_url": "https://api.github.com/repos/octocat/example-repo/hooks" - } - ] - } - }, "organization-dependabot-secret-paginated": { "value": { "total_count": 3, diff --git a/descriptions/api.github.com/api.github.com.2022-11-28.yaml b/descriptions/api.github.com/api.github.com.2022-11-28.yaml index e712cc85c7..c31a39f2c8 100644 --- a/descriptions/api.github.com/api.github.com.2022-11-28.yaml +++ b/descriptions/api.github.com/api.github.com.2022-11-28.yaml @@ -2991,6 +2991,179 @@ paths: previews: [] category: dependabot subcategory: alerts + "/enterprises/{enterprise}/dependabot/repository-access": + get: + summary: Lists the repositories Dependabot can access in an enterprise + description: |- + Lists repositories that enterprise admins have allowed Dependabot to access when updating dependencies across organizations in the enterprise. + + The authenticated user must be an enterprise owner to use this endpoint. + tags: + - dependabot + operationId: dependabot/repository-access-for-enterprise + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/dependabot/repository-access#lists-the-repositories-dependabot-can-access-in-an-enterprise + parameters: + - "$ref": "#/components/parameters/enterprise" + - name: page + in: query + description: The page number of results to fetch. + required: false + schema: + type: integer + minimum: 1 + default: 1 + - name: per_page + in: query + description: Number of results per page. + required: false + schema: + type: integer + minimum: 1 + maximum: 100 + default: 30 + responses: + '200': + description: Response + content: + application/json: + schema: + "$ref": "#/components/schemas/dependabot-repository-access-details" + examples: + default: + "$ref": "#/components/examples/dependabot-repository-access-details" + '403': + "$ref": "#/components/responses/forbidden" + '404': + "$ref": "#/components/responses/not_found" + x-github: + githubCloudOnly: false + enabledForGitHubApps: false + category: dependabot + subcategory: repository-access + patch: + summary: Updates Dependabot's repository access list for an enterprise + description: |- + Updates repositories according to the list of repositories that enterprise admins have given Dependabot access to when they've updated dependencies across organizations in the enterprise. + + The authenticated user must be an enterprise owner to use this endpoint. + + **Example request body:** + ```json + { + "repository_ids_to_add": [123, 456], + "repository_ids_to_remove": [789] + } + ``` + tags: + - dependabot + operationId: dependabot/update-repository-access-for-enterprise + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/dependabot/repository-access#updates-dependabots-repository-access-list-for-an-enterprise + parameters: + - "$ref": "#/components/parameters/enterprise" + requestBody: + required: true + content: + application/json: + schema: + type: object + properties: + repository_ids_to_add: + type: array + items: + type: integer + description: List of repository IDs to add. + repository_ids_to_remove: + type: array + items: + type: integer + description: List of repository IDs to remove. + example: + repository_ids_to_add: + - 123 + - 456 + repository_ids_to_remove: + - 789 + examples: + '204': + summary: Example with a 'succeeded' status. + add-example: + summary: Add repositories + value: + repository_ids_to_add: + - 123 + - 456 + remove-example: + summary: Remove repositories + value: + repository_ids_to_remove: + - 789 + responses: + '204': + description: Response + '403': + "$ref": "#/components/responses/forbidden" + '404': + "$ref": "#/components/responses/not_found" + x-github: + githubCloudOnly: false + enabledForGitHubApps: false + category: dependabot + subcategory: repository-access + "/enterprises/{enterprise}/dependabot/repository-access/default-level": + put: + summary: Set the default repository access level for Dependabot in an enterprise + description: |- + Sets the default level of repository access Dependabot will have while performing an update across organizations in the enterprise. Available values are: + - 'public' - Dependabot will only have access to public repositories, unless access is explicitly granted to non-public repositories. + - 'internal' - Dependabot will only have access to public and internal repositories, unless access is explicitly granted to private repositories. + + The authenticated user must be an enterprise owner to use this endpoint. + tags: + - dependabot + operationId: dependabot/set-repository-access-default-level-for-enterprise + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/dependabot/repository-access#set-the-default-repository-access-level-for-dependabot-in-an-enterprise + parameters: + - "$ref": "#/components/parameters/enterprise" + requestBody: + required: true + content: + application/json: + schema: + type: object + properties: + default_level: + type: string + description: The default repository access level for Dependabot + updates. + enum: + - public + - internal + example: internal + required: + - default_level + examples: + '204': + summary: Example with a 'succeeded' status. + value: + default_level: public + responses: + '204': + description: Response + '403': + "$ref": "#/components/responses/forbidden" + '404': + "$ref": "#/components/responses/not_found" + x-github: + githubCloudOnly: false + enabledForGitHubApps: false + category: dependabot + subcategory: repository-access "/enterprises/{enterprise}/teams": get: summary: List enterprise teams @@ -12242,6 +12415,8 @@ paths: schema: type: object additionalProperties: false + required: + - selected_repository_ids properties: selected_repository_ids: type: array @@ -62683,7 +62858,7 @@ x-webhooks: - repository - organization - app - issues-labeled: + issues-field-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. @@ -62691,8 +62866,8 @@ x-webhooks: For activity relating to a comment on an issue, use the `issue_comment` event. To 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 field value was set or updated on an issue. + operationId: issues/field-added externalDocs: url: https://docs.github.com/webhooks/webhook-events-and-payloads#issues parameters: @@ -62736,7 +62911,7 @@ x-webhooks: content: application/json: schema: - "$ref": "#/components/schemas/webhook-issues-labeled" + "$ref": "#/components/schemas/webhook-issues-field-added" responses: '200': description: Return a 200 status to indicate that the data was received @@ -62749,7 +62924,7 @@ x-webhooks: - repository - organization - app - issues-locked: + issues-field-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. @@ -62757,9 +62932,8 @@ x-webhooks: For activity relating to a comment on an issue, use the `issue_comment` event. To 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 field value was cleared from an issue. + operationId: issues/field-removed externalDocs: url: https://docs.github.com/webhooks/webhook-events-and-payloads#issues parameters: @@ -62803,7 +62977,7 @@ x-webhooks: content: application/json: schema: - "$ref": "#/components/schemas/webhook-issues-locked" + "$ref": "#/components/schemas/webhook-issues-field-removed" responses: '200': description: Return a 200 status to indicate that the data was received @@ -62816,7 +62990,7 @@ x-webhooks: - repository - organization - app - issues-milestoned: + 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. @@ -62824,8 +62998,8 @@ x-webhooks: For activity relating to a comment on an issue, use the `issue_comment` event. To 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: A label was added to an issue. + operationId: issues/labeled externalDocs: url: https://docs.github.com/webhooks/webhook-events-and-payloads#issues parameters: @@ -62869,7 +63043,7 @@ x-webhooks: content: application/json: schema: - "$ref": "#/components/schemas/webhook-issues-milestoned" + "$ref": "#/components/schemas/webhook-issues-labeled" responses: '200': description: Return a 200 status to indicate that the data was received @@ -62882,7 +63056,7 @@ x-webhooks: - repository - organization - app - issues-opened: + 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. @@ -62890,9 +63064,9 @@ x-webhooks: For activity relating to a comment on an issue, use the `issue_comment` event. To 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: 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 parameters: @@ -62936,7 +63110,7 @@ x-webhooks: content: application/json: schema: - "$ref": "#/components/schemas/webhook-issues-opened" + "$ref": "#/components/schemas/webhook-issues-locked" responses: '200': description: Return a 200 status to indicate that the data was received @@ -62949,7 +63123,7 @@ x-webhooks: - repository - organization - app - issues-pinned: + 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. @@ -62957,9 +63131,8 @@ x-webhooks: For activity relating to a comment on an issue, use the `issue_comment` event. To 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: An issue was added to a milestone. + operationId: issues/milestoned externalDocs: url: https://docs.github.com/webhooks/webhook-events-and-payloads#issues parameters: @@ -63003,7 +63176,7 @@ x-webhooks: content: application/json: schema: - "$ref": "#/components/schemas/webhook-issues-pinned" + "$ref": "#/components/schemas/webhook-issues-milestoned" responses: '200': description: Return a 200 status to indicate that the data was received @@ -63016,7 +63189,7 @@ x-webhooks: - repository - organization - app - issues-reopened: + 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. @@ -63024,8 +63197,9 @@ x-webhooks: For activity relating to a comment on an issue, use the `issue_comment` event. To 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 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 parameters: @@ -63069,7 +63243,7 @@ x-webhooks: content: application/json: schema: - "$ref": "#/components/schemas/webhook-issues-reopened" + "$ref": "#/components/schemas/webhook-issues-opened" responses: '200': description: Return a 200 status to indicate that the data was received @@ -63082,7 +63256,7 @@ x-webhooks: - repository - organization - app - issues-transferred: + 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. @@ -63090,9 +63264,9 @@ x-webhooks: For activity relating to a comment on an issue, use the `issue_comment` event. To 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 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 parameters: @@ -63136,7 +63310,7 @@ x-webhooks: content: application/json: schema: - "$ref": "#/components/schemas/webhook-issues-transferred" + "$ref": "#/components/schemas/webhook-issues-pinned" responses: '200': description: Return a 200 status to indicate that the data was received @@ -63149,7 +63323,7 @@ x-webhooks: - repository - organization - app - issues-typed: + 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. @@ -63157,8 +63331,8 @@ x-webhooks: For activity relating to a comment on an issue, use the `issue_comment` event. To 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: A closed issue was reopened. + operationId: issues/reopened externalDocs: url: https://docs.github.com/webhooks/webhook-events-and-payloads#issues parameters: @@ -63202,7 +63376,7 @@ x-webhooks: content: application/json: schema: - "$ref": "#/components/schemas/webhook-issues-typed" + "$ref": "#/components/schemas/webhook-issues-reopened" responses: '200': description: Return a 200 status to indicate that the data was received @@ -63215,7 +63389,7 @@ x-webhooks: - repository - organization - app - 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/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. @@ -63223,8 +63397,9 @@ x-webhooks: For activity relating to a comment on an issue, use the `issue_comment` event. To 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/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 parameters: @@ -63268,7 +63443,7 @@ x-webhooks: content: application/json: schema: - "$ref": "#/components/schemas/webhook-issues-unassigned" + "$ref": "#/components/schemas/webhook-issues-transferred" responses: '200': description: Return a 200 status to indicate that the data was received @@ -63281,7 +63456,7 @@ x-webhooks: - repository - organization - app - issues-unlabeled: + 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. @@ -63289,8 +63464,8 @@ x-webhooks: For activity relating to a comment on an issue, use the `issue_comment` event. To 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 type was added to an issue. + operationId: issues/typed externalDocs: url: https://docs.github.com/webhooks/webhook-events-and-payloads#issues parameters: @@ -63334,7 +63509,7 @@ x-webhooks: content: application/json: schema: - "$ref": "#/components/schemas/webhook-issues-unlabeled" + "$ref": "#/components/schemas/webhook-issues-typed" responses: '200': description: Return a 200 status to indicate that the data was received @@ -63347,7 +63522,7 @@ x-webhooks: - repository - organization - app - issues-unlocked: + 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. @@ -63355,9 +63530,8 @@ x-webhooks: For activity relating to a comment on an issue, use the `issue_comment` event. To 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: A user was unassigned from an issue. + operationId: issues/unassigned externalDocs: url: https://docs.github.com/webhooks/webhook-events-and-payloads#issues parameters: @@ -63401,7 +63575,7 @@ x-webhooks: content: application/json: schema: - "$ref": "#/components/schemas/webhook-issues-unlocked" + "$ref": "#/components/schemas/webhook-issues-unassigned" responses: '200': description: Return a 200 status to indicate that the data was received @@ -63414,7 +63588,7 @@ x-webhooks: - repository - organization - app - issues-unpinned: + 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. @@ -63422,9 +63596,8 @@ x-webhooks: For activity relating to a comment on an issue, use the `issue_comment` event. To 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 label was removed from an issue. + operationId: issues/unlabeled externalDocs: url: https://docs.github.com/webhooks/webhook-events-and-payloads#issues parameters: @@ -63468,7 +63641,7 @@ x-webhooks: content: application/json: schema: - "$ref": "#/components/schemas/webhook-issues-unpinned" + "$ref": "#/components/schemas/webhook-issues-unlabeled" responses: '200': description: Return a 200 status to indicate that the data was received @@ -63481,7 +63654,7 @@ x-webhooks: - repository - organization - app - issues-untyped: + 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/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. @@ -63489,8 +63662,142 @@ x-webhooks: For activity relating to a comment on an issue, use the `issue_comment` event. To 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: 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#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 + 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/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. + + For activity relating to a comment on an issue, use the `issue_comment` event. + + To 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#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 + 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. + + For activity relating to a comment on an issue, use the `issue_comment` event. + + To 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: @@ -78434,6 +78741,298 @@ components: - fixed_at - repository additionalProperties: false + nullable-simple-repository: + title: Simple Repository + description: A GitHub repository. + type: object + properties: + id: + type: integer + format: int64 + example: 1296269 + description: A unique identifier of the repository. + node_id: + type: string + example: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 + description: The GraphQL identifier of the repository. + name: + type: string + example: Hello-World + description: The name of the repository. + full_name: + type: string + example: octocat/Hello-World + description: The full, globally unique, name of the repository. + owner: + "$ref": "#/components/schemas/simple-user" + private: + type: boolean + description: Whether the repository is private. + html_url: + type: string + format: uri + example: https://github.com/octocat/Hello-World + description: The URL to view the repository on GitHub.com. + description: + type: string + example: This your first repo! + nullable: true + description: The repository description. + fork: + type: boolean + description: Whether the repository is a fork. + url: + type: string + format: uri + example: https://api.github.com/repos/octocat/Hello-World + description: The URL to get more information about the repository from the + GitHub API. + archive_url: + type: string + example: https://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref} + description: A template for the API URL to download the repository as an + archive. + assignees_url: + type: string + example: https://api.github.com/repos/octocat/Hello-World/assignees{/user} + description: A template for the API URL to list the available assignees + for issues in the repository. + blobs_url: + type: string + example: https://api.github.com/repos/octocat/Hello-World/git/blobs{/sha} + description: A template for the API URL to create or retrieve a raw Git + blob in the repository. + branches_url: + type: string + example: https://api.github.com/repos/octocat/Hello-World/branches{/branch} + description: A template for the API URL to get information about branches + in the repository. + collaborators_url: + type: string + example: https://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator} + description: A template for the API URL to get information about collaborators + of the repository. + comments_url: + type: string + example: https://api.github.com/repos/octocat/Hello-World/comments{/number} + description: A template for the API URL to get information about comments + on the repository. + commits_url: + type: string + example: https://api.github.com/repos/octocat/Hello-World/commits{/sha} + description: A template for the API URL to get information about commits + on the repository. + compare_url: + type: string + example: https://api.github.com/repos/octocat/Hello-World/compare/{base}...{head} + description: A template for the API URL to compare two commits or refs. + contents_url: + type: string + example: https://api.github.com/repos/octocat/Hello-World/contents/{+path} + description: A template for the API URL to get the contents of the repository. + contributors_url: + type: string + format: uri + example: https://api.github.com/repos/octocat/Hello-World/contributors + description: A template for the API URL to list the contributors to the + repository. + deployments_url: + type: string + format: uri + example: https://api.github.com/repos/octocat/Hello-World/deployments + description: The API URL to list the deployments of the repository. + downloads_url: + type: string + format: uri + example: https://api.github.com/repos/octocat/Hello-World/downloads + description: The API URL to list the downloads on the repository. + events_url: + type: string + format: uri + example: https://api.github.com/repos/octocat/Hello-World/events + description: The API URL to list the events of the repository. + forks_url: + type: string + format: uri + example: https://api.github.com/repos/octocat/Hello-World/forks + description: The API URL to list the forks of the repository. + git_commits_url: + type: string + example: https://api.github.com/repos/octocat/Hello-World/git/commits{/sha} + description: A template for the API URL to get information about Git commits + of the repository. + git_refs_url: + type: string + example: https://api.github.com/repos/octocat/Hello-World/git/refs{/sha} + description: A template for the API URL to get information about Git refs + of the repository. + git_tags_url: + type: string + example: https://api.github.com/repos/octocat/Hello-World/git/tags{/sha} + description: A template for the API URL to get information about Git tags + of the repository. + issue_comment_url: + type: string + example: https://api.github.com/repos/octocat/Hello-World/issues/comments{/number} + description: A template for the API URL to get information about issue comments + on the repository. + issue_events_url: + type: string + example: https://api.github.com/repos/octocat/Hello-World/issues/events{/number} + description: A template for the API URL to get information about issue events + on the repository. + issues_url: + type: string + example: https://api.github.com/repos/octocat/Hello-World/issues{/number} + description: A template for the API URL to get information about issues + on the repository. + keys_url: + type: string + example: https://api.github.com/repos/octocat/Hello-World/keys{/key_id} + description: A template for the API URL to get information about deploy + keys on the repository. + labels_url: + type: string + example: https://api.github.com/repos/octocat/Hello-World/labels{/name} + description: A template for the API URL to get information about labels + of the repository. + languages_url: + type: string + format: uri + example: https://api.github.com/repos/octocat/Hello-World/languages + description: The API URL to get information about the languages of the repository. + merges_url: + type: string + format: uri + example: https://api.github.com/repos/octocat/Hello-World/merges + description: The API URL to merge branches in the repository. + milestones_url: + type: string + example: https://api.github.com/repos/octocat/Hello-World/milestones{/number} + description: A template for the API URL to get information about milestones + of the repository. + notifications_url: + type: string + example: https://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating} + description: A template for the API URL to get information about notifications + on the repository. + pulls_url: + type: string + example: https://api.github.com/repos/octocat/Hello-World/pulls{/number} + description: A template for the API URL to get information about pull requests + on the repository. + releases_url: + type: string + example: https://api.github.com/repos/octocat/Hello-World/releases{/id} + description: A template for the API URL to get information about releases + on the repository. + stargazers_url: + type: string + format: uri + example: https://api.github.com/repos/octocat/Hello-World/stargazers + description: The API URL to list the stargazers on the repository. + statuses_url: + type: string + example: https://api.github.com/repos/octocat/Hello-World/statuses/{sha} + description: A template for the API URL to get information about statuses + of a commit. + subscribers_url: + type: string + format: uri + example: https://api.github.com/repos/octocat/Hello-World/subscribers + description: The API URL to list the subscribers on the repository. + subscription_url: + type: string + format: uri + example: https://api.github.com/repos/octocat/Hello-World/subscription + description: The API URL to subscribe to notifications for this repository. + tags_url: + type: string + format: uri + example: https://api.github.com/repos/octocat/Hello-World/tags + description: The API URL to get information about tags on the repository. + teams_url: + type: string + format: uri + example: https://api.github.com/repos/octocat/Hello-World/teams + description: The API URL to list the teams on the repository. + trees_url: + type: string + example: https://api.github.com/repos/octocat/Hello-World/git/trees{/sha} + description: A template for the API URL to create or retrieve a raw Git + tree of the repository. + hooks_url: + type: string + format: uri + example: https://api.github.com/repos/octocat/Hello-World/hooks + description: The API URL to list the hooks on the 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 + nullable: true + dependabot-repository-access-details: + title: Dependabot Repository Access Details + description: Information about repositories that Dependabot is able to access + in an organization + type: object + properties: + default_level: + type: string + description: The default repository access level for Dependabot updates. + enum: + - public + - internal + example: internal + nullable: true + accessible_repositories: + type: array + items: + "$ref": "#/components/schemas/nullable-simple-repository" + additionalProperties: false enterprise-team: title: Enterprise Team description: Group of enterprise owners and/or members @@ -84459,298 +85058,6 @@ components: required: - date additionalProperties: true - nullable-simple-repository: - title: Simple Repository - description: A GitHub repository. - type: object - properties: - id: - type: integer - format: int64 - example: 1296269 - description: A unique identifier of the repository. - node_id: - type: string - example: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 - description: The GraphQL identifier of the repository. - name: - type: string - example: Hello-World - description: The name of the repository. - full_name: - type: string - example: octocat/Hello-World - description: The full, globally unique, name of the repository. - owner: - "$ref": "#/components/schemas/simple-user" - private: - type: boolean - description: Whether the repository is private. - html_url: - type: string - format: uri - example: https://github.com/octocat/Hello-World - description: The URL to view the repository on GitHub.com. - description: - type: string - example: This your first repo! - nullable: true - description: The repository description. - fork: - type: boolean - description: Whether the repository is a fork. - url: - type: string - format: uri - example: https://api.github.com/repos/octocat/Hello-World - description: The URL to get more information about the repository from the - GitHub API. - archive_url: - type: string - example: https://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref} - description: A template for the API URL to download the repository as an - archive. - assignees_url: - type: string - example: https://api.github.com/repos/octocat/Hello-World/assignees{/user} - description: A template for the API URL to list the available assignees - for issues in the repository. - blobs_url: - type: string - example: https://api.github.com/repos/octocat/Hello-World/git/blobs{/sha} - description: A template for the API URL to create or retrieve a raw Git - blob in the repository. - branches_url: - type: string - example: https://api.github.com/repos/octocat/Hello-World/branches{/branch} - description: A template for the API URL to get information about branches - in the repository. - collaborators_url: - type: string - example: https://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator} - description: A template for the API URL to get information about collaborators - of the repository. - comments_url: - type: string - example: https://api.github.com/repos/octocat/Hello-World/comments{/number} - description: A template for the API URL to get information about comments - on the repository. - commits_url: - type: string - example: https://api.github.com/repos/octocat/Hello-World/commits{/sha} - description: A template for the API URL to get information about commits - on the repository. - compare_url: - type: string - example: https://api.github.com/repos/octocat/Hello-World/compare/{base}...{head} - description: A template for the API URL to compare two commits or refs. - contents_url: - type: string - example: https://api.github.com/repos/octocat/Hello-World/contents/{+path} - description: A template for the API URL to get the contents of the repository. - contributors_url: - type: string - format: uri - example: https://api.github.com/repos/octocat/Hello-World/contributors - description: A template for the API URL to list the contributors to the - repository. - deployments_url: - type: string - format: uri - example: https://api.github.com/repos/octocat/Hello-World/deployments - description: The API URL to list the deployments of the repository. - downloads_url: - type: string - format: uri - example: https://api.github.com/repos/octocat/Hello-World/downloads - description: The API URL to list the downloads on the repository. - events_url: - type: string - format: uri - example: https://api.github.com/repos/octocat/Hello-World/events - description: The API URL to list the events of the repository. - forks_url: - type: string - format: uri - example: https://api.github.com/repos/octocat/Hello-World/forks - description: The API URL to list the forks of the repository. - git_commits_url: - type: string - example: https://api.github.com/repos/octocat/Hello-World/git/commits{/sha} - description: A template for the API URL to get information about Git commits - of the repository. - git_refs_url: - type: string - example: https://api.github.com/repos/octocat/Hello-World/git/refs{/sha} - description: A template for the API URL to get information about Git refs - of the repository. - git_tags_url: - type: string - example: https://api.github.com/repos/octocat/Hello-World/git/tags{/sha} - description: A template for the API URL to get information about Git tags - of the repository. - issue_comment_url: - type: string - example: https://api.github.com/repos/octocat/Hello-World/issues/comments{/number} - description: A template for the API URL to get information about issue comments - on the repository. - issue_events_url: - type: string - example: https://api.github.com/repos/octocat/Hello-World/issues/events{/number} - description: A template for the API URL to get information about issue events - on the repository. - issues_url: - type: string - example: https://api.github.com/repos/octocat/Hello-World/issues{/number} - description: A template for the API URL to get information about issues - on the repository. - keys_url: - type: string - example: https://api.github.com/repos/octocat/Hello-World/keys{/key_id} - description: A template for the API URL to get information about deploy - keys on the repository. - labels_url: - type: string - example: https://api.github.com/repos/octocat/Hello-World/labels{/name} - description: A template for the API URL to get information about labels - of the repository. - languages_url: - type: string - format: uri - example: https://api.github.com/repos/octocat/Hello-World/languages - description: The API URL to get information about the languages of the repository. - merges_url: - type: string - format: uri - example: https://api.github.com/repos/octocat/Hello-World/merges - description: The API URL to merge branches in the repository. - milestones_url: - type: string - example: https://api.github.com/repos/octocat/Hello-World/milestones{/number} - description: A template for the API URL to get information about milestones - of the repository. - notifications_url: - type: string - example: https://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating} - description: A template for the API URL to get information about notifications - on the repository. - pulls_url: - type: string - example: https://api.github.com/repos/octocat/Hello-World/pulls{/number} - description: A template for the API URL to get information about pull requests - on the repository. - releases_url: - type: string - example: https://api.github.com/repos/octocat/Hello-World/releases{/id} - description: A template for the API URL to get information about releases - on the repository. - stargazers_url: - type: string - format: uri - example: https://api.github.com/repos/octocat/Hello-World/stargazers - description: The API URL to list the stargazers on the repository. - statuses_url: - type: string - example: https://api.github.com/repos/octocat/Hello-World/statuses/{sha} - description: A template for the API URL to get information about statuses - of a commit. - subscribers_url: - type: string - format: uri - example: https://api.github.com/repos/octocat/Hello-World/subscribers - description: The API URL to list the subscribers on the repository. - subscription_url: - type: string - format: uri - example: https://api.github.com/repos/octocat/Hello-World/subscription - description: The API URL to subscribe to notifications for this repository. - tags_url: - type: string - format: uri - example: https://api.github.com/repos/octocat/Hello-World/tags - description: The API URL to get information about tags on the repository. - teams_url: - type: string - format: uri - example: https://api.github.com/repos/octocat/Hello-World/teams - description: The API URL to list the teams on the repository. - trees_url: - type: string - example: https://api.github.com/repos/octocat/Hello-World/git/trees{/sha} - description: A template for the API URL to create or retrieve a raw Git - tree of the repository. - hooks_url: - type: string - format: uri - example: https://api.github.com/repos/octocat/Hello-World/hooks - description: The API URL to list the hooks on the 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 - nullable: true - dependabot-repository-access-details: - title: Dependabot Repository Access Details - description: Information about repositories that Dependabot is able to access - in an organization - type: object - properties: - default_level: - type: string - description: The default repository access level for Dependabot updates. - enum: - - public - - internal - example: internal - nullable: true - accessible_repositories: - type: array - items: - "$ref": "#/components/schemas/nullable-simple-repository" - additionalProperties: false organization-dependabot-secret: title: Dependabot Secret for an Organization description: Secrets for GitHub Dependabot for an organization. @@ -135272,6 +135579,219 @@ components: - issue - repository - sender + webhook-issues-field-added: + title: issues field_added event + type: object + properties: + action: + type: string + enum: + - field_added + enterprise: + "$ref": "#/components/schemas/enterprise-webhooks" + installation: + "$ref": "#/components/schemas/simple-installation" + issue: + "$ref": "#/components/schemas/webhooks_issue" + issue_field: + type: object + description: The issue field whose value was set or updated on the issue. + properties: + id: + type: integer + description: The unique identifier of the issue field. + name: + type: string + description: The name of the issue field. + field_type: + type: string + description: The data type of the issue field. + enum: + - text + - date + - single_select + - number + required: + - id + - name + - field_type + issue_field_value: + type: object + description: The value that was set or updated for the issue field. When + updating an existing value, the previous value is available in `changes`. + properties: + id: + type: integer + description: The unique identifier of the issue field value. + value: + description: The value of the field. Present for text, date, and number + field types. + nullable: true + anyOf: + - type: string + - type: number + - type: integer + value_id: + type: integer + description: The identifier of the selected option. Present for single_select + field types. + option: + type: object + description: The selected option details. Present for single_select + field types. + properties: + id: + type: integer + name: + type: string + color: + type: string + description: + type: string + nullable: true + required: + - id + changes: + type: object + description: The previous field value, present when an existing value was + updated. + properties: + issue_field_value: + type: object + description: The previous issue field value data. + properties: + from: + type: object + description: The previous value of the issue field before the update. + properties: + id: + type: integer + description: The unique identifier of the issue field value. + value: + description: The previous value. Present for text, date, and + number field types. + nullable: true + anyOf: + - type: string + - type: number + - type: integer + value_id: + type: integer + description: The identifier of the previously selected option. + Present for single_select field types. + option: + type: object + description: The previously selected option details. Present + for single_select field types. + properties: + id: + type: integer + name: + type: string + color: + type: string + description: + type: string + nullable: true + required: + - id + required: + - from + organization: + "$ref": "#/components/schemas/organization-simple-webhooks" + repository: + "$ref": "#/components/schemas/repository-webhooks" + sender: + "$ref": "#/components/schemas/simple-user" + required: + - action + - issue + - issue_field + - repository + - sender + webhook-issues-field-removed: + title: issues field_removed event + type: object + properties: + action: + type: string + enum: + - field_removed + enterprise: + "$ref": "#/components/schemas/enterprise-webhooks" + installation: + "$ref": "#/components/schemas/simple-installation" + issue: + "$ref": "#/components/schemas/webhooks_issue" + issue_field: + type: object + description: The issue field whose value was cleared from the issue. + properties: + id: + type: integer + description: The unique identifier of the issue field. + name: + type: string + description: The name of the issue field. + field_type: + type: string + description: The data type of the issue field. + enum: + - text + - date + - single_select + - number + required: + - id + - name + - field_type + issue_field_value: + type: object + description: The value that was cleared from the issue field. + properties: + id: + type: integer + description: The unique identifier of the issue field value. + value: + description: The value of the field. Present for text, date, and number + field types. + nullable: true + anyOf: + - type: string + - type: number + - type: integer + value_id: + type: integer + description: The identifier of the selected option. Present for single_select + field types. + option: + type: object + description: The selected option details. Present for single_select + field types. + properties: + id: + type: integer + name: + type: string + color: + type: string + description: + type: string + nullable: true + required: + - id + organization: + "$ref": "#/components/schemas/organization-simple-webhooks" + repository: + "$ref": "#/components/schemas/repository-webhooks" + sender: + "$ref": "#/components/schemas/simple-user" + required: + - action + - issue + - issue_field + - repository + - sender webhook-issues-labeled: title: issues labeled event type: object @@ -216111,6 +216631,78 @@ components: 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} + dependabot-repository-access-details: + value: + default_level: public + accessible_repositories: + - id: 123456 + node_id: MDEwOlJlcG9zaXRvcnkxMjM0NTY= + name: example-repo + full_name: octocat/example-repo + owner: + name: octocat + email: octo@github.com + login: octocat + id: 1 + node_id: MDQ6VXNlcjE= + avatar_url: https://avatars.githubusercontent.com/u/1?v=4 + gravatar_id: 1 + url: https://api.github.com/users/octocat + html_url: https://github.com/octocat/example-repo + followers_url: https://api.github.com/users/octocat/followers + following_url: https://api.github.com/users/octocat/following{/other_user} + gists_url: https://api.github.com/users/octocat/gists{/gist_id} + starred_url: https://api.github.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 + starred_at: '"2020-07-09T00:17:55Z"' + user_view_type: default + private: false + html_url: https://github.com/octocat/example-repo + description: This is an example repository. + fork: false + url: https://api.github.com/repos/octocat/example-repo + archive_url: https://api.github.com/repos/octocat/example-repo/{archive_format}{/ref} + assignees_url: https://api.github.com/repos/octocat/example-repo/assignees{/user} + blobs_url: https://api.github.com/repos/octocat/example-repo/git/blobs{/sha} + branches_url: https://api.github.com/repos/octocat/example-repo/branches{/branch} + collaborators_url: https://api.github.com/repos/octocat/example-repo/collaborators{/collaborator} + comments_url: https://api.github.com/repos/octocat/example-repo/comments{/number} + commits_url: https://api.github.com/repos/octocat/example-repo/commits{/sha} + compare_url: https://api.github.com/repos/octocat/example-repo/compare/{base}...{head} + contents_url: https://api.github.com/repos/octocat/example-repo/contents/{+path} + contributors_url: https://api.github.com/repos/octocat/example-repo/contributors + deployments_url: https://api.github.com/repos/octocat/example-repo/deployments + downloads_url: https://api.github.com/repos/octocat/example-repo/downloads + events_url: https://api.github.com/repos/octocat/example-repo/events + forks_url: https://api.github.com/repos/octocat/example-repo/forks + git_commits_url: https://api.github.com/repos/octocat/example-repo/git/commits{/sha} + git_refs_url: https://api.github.com/repos/octocat/example-repo/git/refs{/sha} + git_tags_url: https://api.github.com/repos/octocat/example-repo/git/tags{/sha} + issue_comment_url: https://api.github.com/repos/octocat/example-repo/issues/comments{/number} + issue_events_url: https://api.github.com/repos/octocat/example-repo/issues/events{/number} + issues_url: https://api.github.com/repos/octocat/example-repo/issues{/number} + keys_url: https://api.github.com/repos/octocat/example-repo/keys{/key_id} + labels_url: https://api.github.com/repos/octocat/example-repo/labels{/name} + languages_url: https://api.github.com/repos/octocat/example-repo/languages + merges_url: https://api.github.com/repos/octocat/example-repo/merges + milestones_url: https://api.github.com/repos/octocat/example-repo/milestones{/number} + notifications_url: https://api.github.com/repos/octocat/example-repo/notifications{?since,all,participating} + pulls_url: https://api.github.com/repos/octocat/example-repo/pulls{/number} + releases_url: https://api.github.com/repos/octocat/example-repo/releases{/id} + stargazers_url: https://api.github.com/repos/octocat/example-repo/stargazers + statuses_url: https://api.github.com/repos/octocat/example-repo/statuses/{sha} + subscribers_url: https://api.github.com/repos/octocat/example-repo/subscribers + subscription_url: https://api.github.com/repos/octocat/example-repo/subscription + tags_url: https://api.github.com/repos/octocat/example-repo/tags + teams_url: https://api.github.com/repos/octocat/example-repo/teams + trees_url: https://api.github.com/repos/octocat/example-repo/git/trees{/sha} + hooks_url: https://api.github.com/repos/octocat/example-repo/hooks enterprise-teams-items: value: - id: 1 @@ -219861,78 +220453,6 @@ components: custom_model_training_date: '2024-02-01' total_pr_summaries_created: 10 total_engaged_users: 4 - dependabot-repository-access-details: - value: - default_level: public - accessible_repositories: - - id: 123456 - node_id: MDEwOlJlcG9zaXRvcnkxMjM0NTY= - name: example-repo - full_name: octocat/example-repo - owner: - name: octocat - email: octo@github.com - login: octocat - id: 1 - node_id: MDQ6VXNlcjE= - avatar_url: https://avatars.githubusercontent.com/u/1?v=4 - gravatar_id: 1 - url: https://api.github.com/users/octocat - html_url: https://github.com/octocat/example-repo - followers_url: https://api.github.com/users/octocat/followers - following_url: https://api.github.com/users/octocat/following{/other_user} - gists_url: https://api.github.com/users/octocat/gists{/gist_id} - starred_url: https://api.github.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 - starred_at: '"2020-07-09T00:17:55Z"' - user_view_type: default - private: false - html_url: https://github.com/octocat/example-repo - description: This is an example repository. - fork: false - url: https://api.github.com/repos/octocat/example-repo - archive_url: https://api.github.com/repos/octocat/example-repo/{archive_format}{/ref} - assignees_url: https://api.github.com/repos/octocat/example-repo/assignees{/user} - blobs_url: https://api.github.com/repos/octocat/example-repo/git/blobs{/sha} - branches_url: https://api.github.com/repos/octocat/example-repo/branches{/branch} - collaborators_url: https://api.github.com/repos/octocat/example-repo/collaborators{/collaborator} - comments_url: https://api.github.com/repos/octocat/example-repo/comments{/number} - commits_url: https://api.github.com/repos/octocat/example-repo/commits{/sha} - compare_url: https://api.github.com/repos/octocat/example-repo/compare/{base}...{head} - contents_url: https://api.github.com/repos/octocat/example-repo/contents/{+path} - contributors_url: https://api.github.com/repos/octocat/example-repo/contributors - deployments_url: https://api.github.com/repos/octocat/example-repo/deployments - downloads_url: https://api.github.com/repos/octocat/example-repo/downloads - events_url: https://api.github.com/repos/octocat/example-repo/events - forks_url: https://api.github.com/repos/octocat/example-repo/forks - git_commits_url: https://api.github.com/repos/octocat/example-repo/git/commits{/sha} - git_refs_url: https://api.github.com/repos/octocat/example-repo/git/refs{/sha} - git_tags_url: https://api.github.com/repos/octocat/example-repo/git/tags{/sha} - issue_comment_url: https://api.github.com/repos/octocat/example-repo/issues/comments{/number} - issue_events_url: https://api.github.com/repos/octocat/example-repo/issues/events{/number} - issues_url: https://api.github.com/repos/octocat/example-repo/issues{/number} - keys_url: https://api.github.com/repos/octocat/example-repo/keys{/key_id} - labels_url: https://api.github.com/repos/octocat/example-repo/labels{/name} - languages_url: https://api.github.com/repos/octocat/example-repo/languages - merges_url: https://api.github.com/repos/octocat/example-repo/merges - milestones_url: https://api.github.com/repos/octocat/example-repo/milestones{/number} - notifications_url: https://api.github.com/repos/octocat/example-repo/notifications{?since,all,participating} - pulls_url: https://api.github.com/repos/octocat/example-repo/pulls{/number} - releases_url: https://api.github.com/repos/octocat/example-repo/releases{/id} - stargazers_url: https://api.github.com/repos/octocat/example-repo/stargazers - statuses_url: https://api.github.com/repos/octocat/example-repo/statuses/{sha} - subscribers_url: https://api.github.com/repos/octocat/example-repo/subscribers - subscription_url: https://api.github.com/repos/octocat/example-repo/subscription - tags_url: https://api.github.com/repos/octocat/example-repo/tags - teams_url: https://api.github.com/repos/octocat/example-repo/teams - trees_url: https://api.github.com/repos/octocat/example-repo/git/trees{/sha} - hooks_url: https://api.github.com/repos/octocat/example-repo/hooks organization-dependabot-secret-paginated: value: total_count: 3 diff --git a/descriptions/api.github.com/api.github.com.2026-03-10.json b/descriptions/api.github.com/api.github.com.2026-03-10.json index ca0d6e928a..3fbda9afe0 100644 --- a/descriptions/api.github.com/api.github.com.2026-03-10.json +++ b/descriptions/api.github.com/api.github.com.2026-03-10.json @@ -4122,6 +4122,236 @@ } } }, + "/enterprises/{enterprise}/dependabot/repository-access": { + "get": { + "summary": "Lists the repositories Dependabot can access in an enterprise", + "description": "Lists repositories that enterprise admins have allowed Dependabot to access when updating dependencies across organizations in the enterprise.\n\nThe authenticated user must be an enterprise owner to use this endpoint.", + "tags": [ + "dependabot" + ], + "operationId": "dependabot/repository-access-for-enterprise", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/dependabot/repository-access#lists-the-repositories-dependabot-can-access-in-an-enterprise" + }, + "parameters": [ + { + "$ref": "#/components/parameters/enterprise" + }, + { + "name": "page", + "in": "query", + "description": "The page number of results to fetch.", + "required": false, + "schema": { + "type": "integer", + "minimum": 1, + "default": 1 + } + }, + { + "name": "per_page", + "in": "query", + "description": "Number of results per page.", + "required": false, + "schema": { + "type": "integer", + "minimum": 1, + "maximum": 100, + "default": 30 + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/dependabot-repository-access-details" + }, + "examples": { + "default": { + "$ref": "#/components/examples/dependabot-repository-access-details" + } + } + } + } + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "404": { + "$ref": "#/components/responses/not_found" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": false, + "category": "dependabot", + "subcategory": "repository-access" + } + }, + "patch": { + "summary": "Updates Dependabot's repository access list for an enterprise", + "description": "Updates repositories according to the list of repositories that enterprise admins have given Dependabot access to when they've updated dependencies across organizations in the enterprise.\n\nThe authenticated user must be an enterprise owner to use this endpoint.\n\n**Example request body:**\n```json\n{\n \"repository_ids_to_add\": [123, 456],\n \"repository_ids_to_remove\": [789]\n}\n```", + "tags": [ + "dependabot" + ], + "operationId": "dependabot/update-repository-access-for-enterprise", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/dependabot/repository-access#updates-dependabots-repository-access-list-for-an-enterprise" + }, + "parameters": [ + { + "$ref": "#/components/parameters/enterprise" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "repository_ids_to_add": { + "type": "array", + "items": { + "type": "integer" + }, + "description": "List of repository IDs to add." + }, + "repository_ids_to_remove": { + "type": "array", + "items": { + "type": "integer" + }, + "description": "List of repository IDs to remove." + } + }, + "example": { + "repository_ids_to_add": [ + 123, + 456 + ], + "repository_ids_to_remove": [ + 789 + ] + } + }, + "examples": { + "204": { + "summary": "Example with a 'succeeded' status." + }, + "add-example": { + "summary": "Add repositories", + "value": { + "repository_ids_to_add": [ + 123, + 456 + ] + } + }, + "remove-example": { + "summary": "Remove repositories", + "value": { + "repository_ids_to_remove": [ + 789 + ] + } + } + } + } + } + }, + "responses": { + "204": { + "description": "Response" + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "404": { + "$ref": "#/components/responses/not_found" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": false, + "category": "dependabot", + "subcategory": "repository-access" + } + } + }, + "/enterprises/{enterprise}/dependabot/repository-access/default-level": { + "put": { + "summary": "Set the default repository access level for Dependabot in an enterprise", + "description": "Sets the default level of repository access Dependabot will have while performing an update across organizations in the enterprise. Available values are:\n- 'public' - Dependabot will only have access to public repositories, unless access is explicitly granted to non-public repositories.\n- 'internal' - Dependabot will only have access to public and internal repositories, unless access is explicitly granted to private repositories.\n\nThe authenticated user must be an enterprise owner to use this endpoint.", + "tags": [ + "dependabot" + ], + "operationId": "dependabot/set-repository-access-default-level-for-enterprise", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/dependabot/repository-access#set-the-default-repository-access-level-for-dependabot-in-an-enterprise" + }, + "parameters": [ + { + "$ref": "#/components/parameters/enterprise" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "default_level": { + "type": "string", + "description": "The default repository access level for Dependabot updates.", + "enum": [ + "public", + "internal" + ], + "example": "internal" + } + }, + "required": [ + "default_level" + ] + }, + "examples": { + "204": { + "summary": "Example with a 'succeeded' status.", + "value": { + "default_level": "public" + } + } + } + } + } + }, + "responses": { + "204": { + "description": "Response" + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "404": { + "$ref": "#/components/responses/not_found" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": false, + "category": "dependabot", + "subcategory": "repository-access" + } + } + }, "/enterprises/{enterprise}/teams": { "get": { "summary": "List enterprise teams", @@ -16815,6 +17045,9 @@ "schema": { "type": "object", "additionalProperties": false, + "required": [ + "selected_repository_ids" + ], "properties": { "selected_repository_ids": { "type": "array", @@ -86462,11 +86695,11 @@ } } }, - "issues-labeled": { + "issues-field-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": "A label was added to an issue.", - "operationId": "issues/labeled", + "description": "An issue field value was set or updated on an issue.", + "operationId": "issues/field-added", "externalDocs": { "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#issues" }, @@ -86533,7 +86766,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-issues-labeled" + "$ref": "#/components/schemas/webhook-issues-field-added" } } } @@ -86555,11 +86788,11 @@ } } }, - "issues-locked": { + "issues-field-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": "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 field value was cleared from an issue.", + "operationId": "issues/field-removed", "externalDocs": { "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#issues" }, @@ -86626,7 +86859,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-issues-locked" + "$ref": "#/components/schemas/webhook-issues-field-removed" } } } @@ -86648,11 +86881,11 @@ } } }, - "issues-milestoned": { + "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 added to a milestone.", - "operationId": "issues/milestoned", + "description": "A label was added to an issue.", + "operationId": "issues/labeled", "externalDocs": { "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#issues" }, @@ -86719,7 +86952,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-issues-milestoned" + "$ref": "#/components/schemas/webhook-issues-labeled" } } } @@ -86741,11 +86974,11 @@ } } }, - "issues-opened": { + "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 created. When a closed issue is reopened, the action will be `reopened` instead.", - "operationId": "issues/opened", + "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" }, @@ -86812,7 +87045,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-issues-opened" + "$ref": "#/components/schemas/webhook-issues-locked" } } } @@ -86834,11 +87067,11 @@ } } }, - "issues-pinned": { + "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 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": "An issue was added to a milestone.", + "operationId": "issues/milestoned", "externalDocs": { "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#issues" }, @@ -86905,7 +87138,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-issues-pinned" + "$ref": "#/components/schemas/webhook-issues-milestoned" } } } @@ -86927,11 +87160,11 @@ } } }, - "issues-reopened": { + "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": "A closed issue was reopened.", - "operationId": "issues/reopened", + "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" }, @@ -86998,7 +87231,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-issues-reopened" + "$ref": "#/components/schemas/webhook-issues-opened" } } } @@ -87020,11 +87253,11 @@ } } }, - "issues-transferred": { + "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 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 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" }, @@ -87091,7 +87324,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-issues-transferred" + "$ref": "#/components/schemas/webhook-issues-pinned" } } } @@ -87113,11 +87346,11 @@ } } }, - "issues-typed": { + "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": "An issue type was added to an issue.", - "operationId": "issues/typed", + "description": "A closed issue was reopened.", + "operationId": "issues/reopened", "externalDocs": { "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#issues" }, @@ -87184,7 +87417,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-issues-typed" + "$ref": "#/components/schemas/webhook-issues-reopened" } } } @@ -87206,11 +87439,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/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 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" }, @@ -87277,7 +87510,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-issues-unassigned" + "$ref": "#/components/schemas/webhook-issues-transferred" } } } @@ -87299,11 +87532,11 @@ } } }, - "issues-unlabeled": { + "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": "A label was removed from an issue.", - "operationId": "issues/unlabeled", + "description": "An issue type was added to an issue.", + "operationId": "issues/typed", "externalDocs": { "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#issues" }, @@ -87370,7 +87603,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-issues-unlabeled" + "$ref": "#/components/schemas/webhook-issues-typed" } } } @@ -87392,11 +87625,11 @@ } } }, - "issues-unlocked": { + "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": "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": "A user was unassigned from an issue.", + "operationId": "issues/unassigned", "externalDocs": { "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#issues" }, @@ -87463,7 +87696,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-issues-unlocked" + "$ref": "#/components/schemas/webhook-issues-unassigned" } } } @@ -87485,11 +87718,11 @@ } } }, - "issues-unpinned": { + "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 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 label was removed from an issue.", + "operationId": "issues/unlabeled", "externalDocs": { "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#issues" }, @@ -87556,7 +87789,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-issues-unpinned" + "$ref": "#/components/schemas/webhook-issues-unlabeled" } } } @@ -87578,11 +87811,11 @@ } } }, - "issues-untyped": { + "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/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": "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#issues" }, @@ -87649,7 +87882,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-issues-untyped" + "$ref": "#/components/schemas/webhook-issues-unlocked" } } } @@ -87671,13 +87904,13 @@ } } }, - "label-created": { + "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 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": "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": [ { @@ -87699,7 +87932,7 @@ { "name": "X-Github-Event", "in": "header", - "example": "label", + "example": "issues", "schema": { "type": "string" } @@ -87742,7 +87975,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-label-created" + "$ref": "#/components/schemas/webhook-issues-unpinned" } } } @@ -87755,7 +87988,7 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "label", + "subcategory": "issues", "supported-webhook-types": [ "repository", "organization", @@ -87764,11 +87997,104 @@ } } }, - "label-deleted": { + "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" + } + }, + { + "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-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 deleted.", - "operationId": "label/deleted", + "description": "A label was created.", + "operationId": "label/created", "externalDocs": { "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#label" }, @@ -87835,7 +88161,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-label-deleted" + "$ref": "#/components/schemas/webhook-label-created" } } } @@ -87857,11 +88183,11 @@ } } }, - "label-edited": { + "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's name, description, or color was changed.", - "operationId": "label/edited", + "description": "A label was deleted.", + "operationId": "label/deleted", "externalDocs": { "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#label" }, @@ -87928,7 +88254,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-label-edited" + "$ref": "#/components/schemas/webhook-label-deleted" } } } @@ -87950,13 +88276,13 @@ } } }, - "marketplace-purchase-cancelled": { + "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 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 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": [ { @@ -87978,7 +88304,7 @@ { "name": "X-Github-Event", "in": "header", - "example": "marketplace_purchase", + "example": "label", "schema": { "type": "string" } @@ -88021,7 +88347,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-marketplace-purchase-cancelled" + "$ref": "#/components/schemas/webhook-label-edited" } } } @@ -88034,18 +88360,20 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "marketplace_purchase", + "subcategory": "label", "supported-webhook-types": [ - "marketplace" + "repository", + "organization", + "app" ] } } }, - "marketplace-purchase-changed": { + "marketplace-purchase-cancelled": { "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", + "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#marketplace_purchase" }, @@ -88112,7 +88440,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-marketplace-purchase-changed" + "$ref": "#/components/schemas/webhook-marketplace-purchase-cancelled" } } } @@ -88132,11 +88460,11 @@ } } }, - "marketplace-purchase-pending-change": { + "marketplace-purchase-changed": { "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", + "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#marketplace_purchase" }, @@ -88203,7 +88531,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-marketplace-purchase-pending-change" + "$ref": "#/components/schemas/webhook-marketplace-purchase-changed" } } } @@ -88223,11 +88551,11 @@ } } }, - "marketplace-purchase-pending-change-cancelled": { + "marketplace-purchase-pending-change": { "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", + "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#marketplace_purchase" }, @@ -88294,7 +88622,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-marketplace-purchase-pending-change-cancelled" + "$ref": "#/components/schemas/webhook-marketplace-purchase-pending-change" } } } @@ -88314,11 +88642,11 @@ } } }, - "marketplace-purchase-purchased": { + "marketplace-purchase-pending-change-cancelled": { "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", + "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#marketplace_purchase" }, @@ -88385,7 +88713,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-marketplace-purchase-purchased" + "$ref": "#/components/schemas/webhook-marketplace-purchase-pending-change-cancelled" } } } @@ -88405,13 +88733,13 @@ } } }, - "member-added": { + "marketplace-purchase-purchased": { "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 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#member" + "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#marketplace_purchase" }, "parameters": [ { @@ -88433,7 +88761,7 @@ { "name": "X-Github-Event", "in": "header", - "example": "member", + "example": "marketplace_purchase", "schema": { "type": "string" } @@ -88476,7 +88804,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-member-added" + "$ref": "#/components/schemas/webhook-marketplace-purchase-purchased" } } } @@ -88489,21 +88817,18 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "member", + "subcategory": "marketplace_purchase", "supported-webhook-types": [ - "business", - "repository", - "organization", - "app" + "marketplace" ] } } }, - "member-edited": { + "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/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", + "description": "A GitHub user accepted an invitation to a repository.", + "operationId": "member/added", "externalDocs": { "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#member" }, @@ -88570,7 +88895,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-member-edited" + "$ref": "#/components/schemas/webhook-member-added" } } } @@ -88593,11 +88918,11 @@ } } }, - "member-removed": { + "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/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", + "description": "Permissions were changed for a collaborator on a repository.", + "operationId": "member/edited", "externalDocs": { "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#member" }, @@ -88664,7 +88989,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-member-removed" + "$ref": "#/components/schemas/webhook-member-edited" } } } @@ -88687,13 +89012,13 @@ } } }, - "membership-added": { + "member-removed": { "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 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#membership" + "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#member" }, "parameters": [ { @@ -88715,7 +89040,7 @@ { "name": "X-Github-Event", "in": "header", - "example": "membership", + "example": "member", "schema": { "type": "string" } @@ -88758,7 +89083,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-membership-added" + "$ref": "#/components/schemas/webhook-member-removed" } } } @@ -88771,20 +89096,21 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "membership", + "subcategory": "member", "supported-webhook-types": [ - "organization", "business", + "repository", + "organization", "app" ] } } }, - "membership-removed": { + "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/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", + "description": "An organization member was added to a team.", + "operationId": "membership/added", "externalDocs": { "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#membership" }, @@ -88851,7 +89177,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-membership-removed" + "$ref": "#/components/schemas/webhook-membership-added" } } } @@ -88873,16 +89199,13 @@ } } }, - "merge-group-checks-requested": { + "membership-removed": { "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 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#merge_group" + "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#membership" }, "parameters": [ { @@ -88904,7 +89227,7 @@ { "name": "X-Github-Event", "in": "header", - "example": "merge_group", + "example": "membership", "schema": { "type": "string" } @@ -88947,7 +89270,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-merge-group-checks-requested" + "$ref": "#/components/schemas/webhook-membership-removed" } } } @@ -88960,18 +89283,20 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "merge_group", + "subcategory": "membership", "supported-webhook-types": [ + "organization", + "business", "app" ] } } }, - "merge-group-destroyed": { + "merge-group-checks-requested": { "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", + "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" ], @@ -89041,7 +89366,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-merge-group-destroyed" + "$ref": "#/components/schemas/webhook-merge-group-checks-requested" } } } @@ -89061,201 +89386,16 @@ } } }, - "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/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": "meta", - "schema": { - "type": "string" - } - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { - "type": "string" - } - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { - "type": "string" - } - }, - { - "name": "X-GitHub-Delivery", - "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-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": { + "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 closed.", - "operationId": "milestone/closed", - "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": "milestone", - "schema": { - "type": "string" - } - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { - "type": "string" - } - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { - "type": "string" - } - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { - "type": "string" - } - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { - "type": "string" - } - } + "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" ], - "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/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" + "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#merge_group" }, "parameters": [ { @@ -89277,7 +89417,7 @@ { "name": "X-Github-Event", "in": "header", - "example": "milestone", + "example": "merge_group", "schema": { "type": "string" } @@ -89320,7 +89460,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-milestone-created" + "$ref": "#/components/schemas/webhook-merge-group-destroyed" } } } @@ -89333,22 +89473,20 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "milestone", + "subcategory": "merge_group", "supported-webhook-types": [ - "repository", - "organization", "app" ] } } }, - "milestone-deleted": { + "meta-deleted": { "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 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#milestone" + "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#meta" }, "parameters": [ { @@ -89370,7 +89508,7 @@ { "name": "X-Github-Event", "in": "header", - "example": "milestone", + "example": "meta", "schema": { "type": "string" } @@ -89413,7 +89551,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-milestone-deleted" + "$ref": "#/components/schemas/webhook-meta-deleted" } } } @@ -89426,8 +89564,10 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "milestone", + "subcategory": "meta", "supported-webhook-types": [ + "marketplace", + "business", "repository", "organization", "app" @@ -89435,11 +89575,11 @@ } } }, - "milestone-edited": { + "milestone-closed": { "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", + "description": "A milestone was closed.", + "operationId": "milestone/closed", "externalDocs": { "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#milestone" }, @@ -89506,7 +89646,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-milestone-edited" + "$ref": "#/components/schemas/webhook-milestone-closed" } } } @@ -89528,11 +89668,11 @@ } } }, - "milestone-opened": { + "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 opened.", - "operationId": "milestone/opened", + "description": "A milestone was created.", + "operationId": "milestone/created", "externalDocs": { "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#milestone" }, @@ -89599,100 +89739,7 @@ "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" - ] - } - } - }, - "org-block-blocked": { - "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", - "externalDocs": { - "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#org_block" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { - "type": "string" - } - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { - "type": "string" - } - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "org_block", - "schema": { - "type": "string" - } - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { - "type": "string" - } - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { - "type": "string" - } - }, - { - "name": "X-GitHub-Delivery", - "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-org-block-blocked" + "$ref": "#/components/schemas/webhook-milestone-created" } } } @@ -89705,22 +89752,22 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "org_block", + "subcategory": "milestone", "supported-webhook-types": [ + "repository", "organization", - "business", "app" ] } } }, - "org-block-unblocked": { + "milestone-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 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 deleted.", + "operationId": "milestone/deleted", "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": [ { @@ -89742,7 +89789,7 @@ { "name": "X-Github-Event", "in": "header", - "example": "org_block", + "example": "milestone", "schema": { "type": "string" } @@ -89785,7 +89832,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-org-block-unblocked" + "$ref": "#/components/schemas/webhook-milestone-deleted" } } } @@ -89798,22 +89845,22 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "org_block", + "subcategory": "milestone", "supported-webhook-types": [ + "repository", "organization", - "business", "app" ] } } }, - "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/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 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": [ { @@ -89835,7 +89882,7 @@ { "name": "X-Github-Event", "in": "header", - "example": "organization", + "example": "milestone", "schema": { "type": "string" } @@ -89878,7 +89925,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-organization-deleted" + "$ref": "#/components/schemas/webhook-milestone-edited" } } } @@ -89891,7 +89938,193 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "organization", + "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/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#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": "milestone", + "schema": { + "type": "string" + } + }, + { + "name": "X-Github-Hook-Installation-Target-Id", + "in": "header", + "example": 123123, + "schema": { + "type": "string" + } + }, + { + "name": "X-Github-Hook-Installation-Target-Type", + "in": "header", + "example": "repository", + "schema": { + "type": "string" + } + }, + { + "name": "X-GitHub-Delivery", + "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-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" + ] + } + } + }, + "org-block-blocked": { + "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", + "externalDocs": { + "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#org_block" + }, + "parameters": [ + { + "name": "User-Agent", + "in": "header", + "example": "GitHub-Hookshot/123abc", + "schema": { + "type": "string" + } + }, + { + "name": "X-Github-Hook-Id", + "in": "header", + "example": 12312312, + "schema": { + "type": "string" + } + }, + { + "name": "X-Github-Event", + "in": "header", + "example": "org_block", + "schema": { + "type": "string" + } + }, + { + "name": "X-Github-Hook-Installation-Target-Id", + "in": "header", + "example": 123123, + "schema": { + "type": "string" + } + }, + { + "name": "X-Github-Hook-Installation-Target-Type", + "in": "header", + "example": "repository", + "schema": { + "type": "string" + } + }, + { + "name": "X-GitHub-Delivery", + "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-org-block-blocked" + } + } + } + }, + "responses": { + "200": { + "description": "Return a 200 status to indicate that the data was received successfully" + } + }, + "x-github": { + "githubCloudOnly": false, + "category": "webhooks", + "subcategory": "org_block", "supported-webhook-types": [ "organization", "business", @@ -89900,13 +90133,13 @@ } } }, - "organization-member-added": { + "org-block-unblocked": { "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 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#organization" + "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#org_block" }, "parameters": [ { @@ -89928,7 +90161,7 @@ { "name": "X-Github-Event", "in": "header", - "example": "organization", + "example": "org_block", "schema": { "type": "string" } @@ -89971,7 +90204,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-organization-member-added" + "$ref": "#/components/schemas/webhook-org-block-unblocked" } } } @@ -89984,7 +90217,7 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "organization", + "subcategory": "org_block", "supported-webhook-types": [ "organization", "business", @@ -89993,11 +90226,11 @@ } } }, - "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/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", + "description": "An organization was deleted.", + "operationId": "organization/deleted", "externalDocs": { "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#organization" }, @@ -90064,7 +90297,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-organization-member-invited" + "$ref": "#/components/schemas/webhook-organization-deleted" } } } @@ -90086,11 +90319,11 @@ } } }, - "organization-member-removed": { + "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/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", + "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#organization" }, @@ -90157,7 +90390,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-organization-member-removed" + "$ref": "#/components/schemas/webhook-organization-member-added" } } } @@ -90179,11 +90412,11 @@ } } }, - "organization-renamed": { + "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/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", + "description": "A member was invited to join the organization.", + "operationId": "organization/member-invited", "externalDocs": { "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#organization" }, @@ -90250,7 +90483,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-organization-renamed" + "$ref": "#/components/schemas/webhook-organization-member-invited" } } } @@ -90272,13 +90505,13 @@ } } }, - "package-published": { + "organization-member-removed": { "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.", - "description": "A package was published to a registry.", - "operationId": "package/published", + "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#package" + "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#organization" }, "parameters": [ { @@ -90300,7 +90533,7 @@ { "name": "X-Github-Event", "in": "header", - "example": "package", + "example": "organization", "schema": { "type": "string" } @@ -90343,7 +90576,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-package-published" + "$ref": "#/components/schemas/webhook-organization-member-removed" } } } @@ -90356,21 +90589,22 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "package", + "subcategory": "organization", "supported-webhook-types": [ - "repository", - "organization" + "organization", + "business", + "app" ] } } }, - "package-updated": { + "organization-renamed": { "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.", - "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": "The name of an organization was changed.", + "operationId": "organization/renamed", "externalDocs": { - "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#package" + "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#organization" }, "parameters": [ { @@ -90392,7 +90626,7 @@ { "name": "X-Github-Event", "in": "header", - "example": "package", + "example": "organization", "schema": { "type": "string" } @@ -90435,7 +90669,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-package-updated" + "$ref": "#/components/schemas/webhook-organization-renamed" } } } @@ -90448,20 +90682,22 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "package", + "subcategory": "organization", "supported-webhook-types": [ - "repository", - "organization" + "organization", + "business", + "app" ] } } }, - "page-build": { + "package-published": { "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 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.", + "description": "A package was published to a registry.", + "operationId": "package/published", "externalDocs": { - "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#page_build" + "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#package" }, "parameters": [ { @@ -90483,7 +90719,7 @@ { "name": "X-Github-Event", "in": "header", - "example": "page_build", + "example": "package", "schema": { "type": "string" } @@ -90526,7 +90762,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-page-build" + "$ref": "#/components/schemas/webhook-package-published" } } } @@ -90539,22 +90775,21 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "page_build", + "subcategory": "package", "supported-webhook-types": [ "repository", - "organization", - "app" + "organization" ] } } }, - "personal-access-token-request-approved": { + "package-updated": { "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 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.", + "description": "A previously published package was updated.", + "operationId": "package/updated", "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#package" }, "parameters": [ { @@ -90565,6 +90800,38 @@ "type": "string" } }, + { + "name": "X-Github-Hook-Id", + "in": "header", + "example": 12312312, + "schema": { + "type": "string" + } + }, + { + "name": "X-Github-Event", + "in": "header", + "example": "package", + "schema": { + "type": "string" + } + }, + { + "name": "X-Github-Hook-Installation-Target-Id", + "in": "header", + "example": 123123, + "schema": { + "type": "string" + } + }, + { + "name": "X-Github-Hook-Installation-Target-Type", + "in": "header", + "example": "repository", + "schema": { + "type": "string" + } + }, { "name": "X-GitHub-Delivery", "in": "header", @@ -90574,9 +90841,52 @@ } }, { - "name": "X-Github-Event", + "name": "X-Hub-Signature-256", "in": "header", - "example": "personal_access_token_request", + "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", + "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" + ] + } + } + }, + "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/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#page_build" + }, + "parameters": [ + { + "name": "User-Agent", + "in": "header", + "example": "GitHub-Hookshot/123abc", "schema": { "type": "string" } @@ -90589,6 +90899,14 @@ "type": "string" } }, + { + "name": "X-Github-Event", + "in": "header", + "example": "page_build", + "schema": { + "type": "string" + } + }, { "name": "X-Github-Hook-Installation-Target-Id", "in": "header", @@ -90600,7 +90918,15 @@ { "name": "X-Github-Hook-Installation-Target-Type", "in": "header", - "example": "integration", + "example": "repository", + "schema": { + "type": "string" + } + }, + { + "name": "X-GitHub-Delivery", + "in": "header", + "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", "schema": { "type": "string" } @@ -90619,7 +90945,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-personal-access-token-request-approved" + "$ref": "#/components/schemas/webhook-page-build" } } } @@ -90632,19 +90958,20 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "personal_access_token_request", + "subcategory": "page_build", "supported-webhook-types": [ - "app", - "organization" + "repository", + "organization", + "app" ] } } }, - "personal-access-token-request-cancelled": { + "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/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", + "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#personal_access_token_request" }, @@ -90711,7 +91038,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-personal-access-token-request-cancelled" + "$ref": "#/components/schemas/webhook-personal-access-token-request-approved" } } } @@ -90732,11 +91059,11 @@ } } }, - "personal-access-token-request-created": { + "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 created.", - "operationId": "personal-access-token-request/created", + "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" }, @@ -90803,7 +91130,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-personal-access-token-request-created" + "$ref": "#/components/schemas/webhook-personal-access-token-request-cancelled" } } } @@ -90824,11 +91151,11 @@ } } }, - "personal-access-token-request-denied": { + "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/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", + "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#personal_access_token_request" }, @@ -90895,7 +91222,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-personal-access-token-request-denied" + "$ref": "#/components/schemas/webhook-personal-access-token-request-created" } } } @@ -90916,12 +91243,13 @@ } } }, - "ping": { + "personal-access-token-request-denied": { "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 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#ping" + "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#personal_access_token_request" }, "parameters": [ { @@ -90933,9 +91261,9 @@ } }, { - "name": "X-Github-Hook-Id", + "name": "X-GitHub-Delivery", "in": "header", - "example": 12312312, + "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", "schema": { "type": "string" } @@ -90943,31 +91271,31 @@ { "name": "X-Github-Event", "in": "header", - "example": "ping", + "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" } @@ -90986,22 +91314,7 @@ "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-personal-access-token-request-denied" } } } @@ -91013,26 +91326,132 @@ }, "x-github": { "githubCloudOnly": false, - "enabledForGitHubApps": true, "category": "webhooks", - "subcategory": "ping", + "subcategory": "personal_access_token_request", "supported-webhook-types": [ - "repository", - "organization", "app", - "business", - "marketplace" + "organization" ] } } }, - "project-card-converted": { + "ping": { "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 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_card" + "url": "https://docs.github.com/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": "ping", + "schema": { + "type": "string" + } + }, + { + "name": "X-Github-Hook-Installation-Target-Id", + "in": "header", + "example": 123123, + "schema": { + "type": "string" + } + }, + { + "name": "X-Github-Hook-Installation-Target-Type", + "in": "header", + "example": "repository", + "schema": { + "type": "string" + } + }, + { + "name": "X-GitHub-Delivery", + "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-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/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_card" }, "parameters": [ { @@ -107770,6 +108189,329 @@ ], "additionalProperties": false }, + "nullable-simple-repository": { + "title": "Simple Repository", + "description": "A GitHub repository.", + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "example": 1296269, + "description": "A unique identifier of the repository." + }, + "node_id": { + "type": "string", + "example": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5", + "description": "The GraphQL identifier of the repository." + }, + "name": { + "type": "string", + "example": "Hello-World", + "description": "The name of the repository." + }, + "full_name": { + "type": "string", + "example": "octocat/Hello-World", + "description": "The full, globally unique, name of the repository." + }, + "owner": { + "$ref": "#/components/schemas/simple-user" + }, + "private": { + "type": "boolean", + "description": "Whether the repository is private." + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat/Hello-World", + "description": "The URL to view the repository on GitHub.com." + }, + "description": { + "type": "string", + "example": "This your first repo!", + "nullable": true, + "description": "The repository description." + }, + "fork": { + "type": "boolean", + "description": "Whether the repository is a fork." + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octocat/Hello-World", + "description": "The URL to get more information about the repository from the GitHub API." + }, + "archive_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}", + "description": "A template for the API URL to download the repository as an archive." + }, + "assignees_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/assignees{/user}", + "description": "A template for the API URL to list the available assignees for issues in the repository." + }, + "blobs_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}", + "description": "A template for the API URL to create or retrieve a raw Git blob in the repository." + }, + "branches_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/branches{/branch}", + "description": "A template for the API URL to get information about branches in the repository." + }, + "collaborators_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}", + "description": "A template for the API URL to get information about collaborators of the repository." + }, + "comments_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/comments{/number}", + "description": "A template for the API URL to get information about comments on the repository." + }, + "commits_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/commits{/sha}", + "description": "A template for the API URL to get information about commits on the repository." + }, + "compare_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}", + "description": "A template for the API URL to compare two commits or refs." + }, + "contents_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/contents/{+path}", + "description": "A template for the API URL to get the contents of the repository." + }, + "contributors_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octocat/Hello-World/contributors", + "description": "A template for the API URL to list the contributors to the repository." + }, + "deployments_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octocat/Hello-World/deployments", + "description": "The API URL to list the deployments of the repository." + }, + "downloads_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octocat/Hello-World/downloads", + "description": "The API URL to list the downloads on the repository." + }, + "events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octocat/Hello-World/events", + "description": "The API URL to list the events of the repository." + }, + "forks_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octocat/Hello-World/forks", + "description": "The API URL to list the forks of the repository." + }, + "git_commits_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/git/commits{/sha}", + "description": "A template for the API URL to get information about Git commits of the repository." + }, + "git_refs_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/git/refs{/sha}", + "description": "A template for the API URL to get information about Git refs of the repository." + }, + "git_tags_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/git/tags{/sha}", + "description": "A template for the API URL to get information about Git tags of the repository." + }, + "issue_comment_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/issues/comments{/number}", + "description": "A template for the API URL to get information about issue comments on the repository." + }, + "issue_events_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/issues/events{/number}", + "description": "A template for the API URL to get information about issue events on the repository." + }, + "issues_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/issues{/number}", + "description": "A template for the API URL to get information about issues on the repository." + }, + "keys_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/keys{/key_id}", + "description": "A template for the API URL to get information about deploy keys on the repository." + }, + "labels_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/labels{/name}", + "description": "A template for the API URL to get information about labels of the repository." + }, + "languages_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octocat/Hello-World/languages", + "description": "The API URL to get information about the languages of the repository." + }, + "merges_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octocat/Hello-World/merges", + "description": "The API URL to merge branches in the repository." + }, + "milestones_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/milestones{/number}", + "description": "A template for the API URL to get information about milestones of the repository." + }, + "notifications_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}", + "description": "A template for the API URL to get information about notifications on the repository." + }, + "pulls_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/pulls{/number}", + "description": "A template for the API URL to get information about pull requests on the repository." + }, + "releases_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/releases{/id}", + "description": "A template for the API URL to get information about releases on the repository." + }, + "stargazers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octocat/Hello-World/stargazers", + "description": "The API URL to list the stargazers on the repository." + }, + "statuses_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/statuses/{sha}", + "description": "A template for the API URL to get information about statuses of a commit." + }, + "subscribers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octocat/Hello-World/subscribers", + "description": "The API URL to list the subscribers on the repository." + }, + "subscription_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octocat/Hello-World/subscription", + "description": "The API URL to subscribe to notifications for this repository." + }, + "tags_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octocat/Hello-World/tags", + "description": "The API URL to get information about tags on the repository." + }, + "teams_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octocat/Hello-World/teams", + "description": "The API URL to list the teams on the repository." + }, + "trees_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/git/trees{/sha}", + "description": "A template for the API URL to create or retrieve a raw Git tree of the repository." + }, + "hooks_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octocat/Hello-World/hooks", + "description": "The API URL to list the hooks on the 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" + ], + "nullable": true + }, + "dependabot-repository-access-details": { + "title": "Dependabot Repository Access Details", + "description": "Information about repositories that Dependabot is able to access in an organization", + "type": "object", + "properties": { + "default_level": { + "type": "string", + "description": "The default repository access level for Dependabot updates.", + "enum": [ + "public", + "internal" + ], + "example": "internal", + "nullable": true + }, + "accessible_repositories": { + "type": "array", + "items": { + "$ref": "#/components/schemas/nullable-simple-repository" + } + } + }, + "additionalProperties": false + }, "enterprise-team": { "title": "Enterprise Team", "description": "Group of enterprise owners and/or members", @@ -115122,329 +115864,6 @@ ], "additionalProperties": true }, - "nullable-simple-repository": { - "title": "Simple Repository", - "description": "A GitHub repository.", - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "example": 1296269, - "description": "A unique identifier of the repository." - }, - "node_id": { - "type": "string", - "example": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5", - "description": "The GraphQL identifier of the repository." - }, - "name": { - "type": "string", - "example": "Hello-World", - "description": "The name of the repository." - }, - "full_name": { - "type": "string", - "example": "octocat/Hello-World", - "description": "The full, globally unique, name of the repository." - }, - "owner": { - "$ref": "#/components/schemas/simple-user" - }, - "private": { - "type": "boolean", - "description": "Whether the repository is private." - }, - "html_url": { - "type": "string", - "format": "uri", - "example": "https://github.com/octocat/Hello-World", - "description": "The URL to view the repository on GitHub.com." - }, - "description": { - "type": "string", - "example": "This your first repo!", - "nullable": true, - "description": "The repository description." - }, - "fork": { - "type": "boolean", - "description": "Whether the repository is a fork." - }, - "url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/repos/octocat/Hello-World", - "description": "The URL to get more information about the repository from the GitHub API." - }, - "archive_url": { - "type": "string", - "example": "https://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}", - "description": "A template for the API URL to download the repository as an archive." - }, - "assignees_url": { - "type": "string", - "example": "https://api.github.com/repos/octocat/Hello-World/assignees{/user}", - "description": "A template for the API URL to list the available assignees for issues in the repository." - }, - "blobs_url": { - "type": "string", - "example": "https://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}", - "description": "A template for the API URL to create or retrieve a raw Git blob in the repository." - }, - "branches_url": { - "type": "string", - "example": "https://api.github.com/repos/octocat/Hello-World/branches{/branch}", - "description": "A template for the API URL to get information about branches in the repository." - }, - "collaborators_url": { - "type": "string", - "example": "https://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}", - "description": "A template for the API URL to get information about collaborators of the repository." - }, - "comments_url": { - "type": "string", - "example": "https://api.github.com/repos/octocat/Hello-World/comments{/number}", - "description": "A template for the API URL to get information about comments on the repository." - }, - "commits_url": { - "type": "string", - "example": "https://api.github.com/repos/octocat/Hello-World/commits{/sha}", - "description": "A template for the API URL to get information about commits on the repository." - }, - "compare_url": { - "type": "string", - "example": "https://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}", - "description": "A template for the API URL to compare two commits or refs." - }, - "contents_url": { - "type": "string", - "example": "https://api.github.com/repos/octocat/Hello-World/contents/{+path}", - "description": "A template for the API URL to get the contents of the repository." - }, - "contributors_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/repos/octocat/Hello-World/contributors", - "description": "A template for the API URL to list the contributors to the repository." - }, - "deployments_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/repos/octocat/Hello-World/deployments", - "description": "The API URL to list the deployments of the repository." - }, - "downloads_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/repos/octocat/Hello-World/downloads", - "description": "The API URL to list the downloads on the repository." - }, - "events_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/repos/octocat/Hello-World/events", - "description": "The API URL to list the events of the repository." - }, - "forks_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/repos/octocat/Hello-World/forks", - "description": "The API URL to list the forks of the repository." - }, - "git_commits_url": { - "type": "string", - "example": "https://api.github.com/repos/octocat/Hello-World/git/commits{/sha}", - "description": "A template for the API URL to get information about Git commits of the repository." - }, - "git_refs_url": { - "type": "string", - "example": "https://api.github.com/repos/octocat/Hello-World/git/refs{/sha}", - "description": "A template for the API URL to get information about Git refs of the repository." - }, - "git_tags_url": { - "type": "string", - "example": "https://api.github.com/repos/octocat/Hello-World/git/tags{/sha}", - "description": "A template for the API URL to get information about Git tags of the repository." - }, - "issue_comment_url": { - "type": "string", - "example": "https://api.github.com/repos/octocat/Hello-World/issues/comments{/number}", - "description": "A template for the API URL to get information about issue comments on the repository." - }, - "issue_events_url": { - "type": "string", - "example": "https://api.github.com/repos/octocat/Hello-World/issues/events{/number}", - "description": "A template for the API URL to get information about issue events on the repository." - }, - "issues_url": { - "type": "string", - "example": "https://api.github.com/repos/octocat/Hello-World/issues{/number}", - "description": "A template for the API URL to get information about issues on the repository." - }, - "keys_url": { - "type": "string", - "example": "https://api.github.com/repos/octocat/Hello-World/keys{/key_id}", - "description": "A template for the API URL to get information about deploy keys on the repository." - }, - "labels_url": { - "type": "string", - "example": "https://api.github.com/repos/octocat/Hello-World/labels{/name}", - "description": "A template for the API URL to get information about labels of the repository." - }, - "languages_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/repos/octocat/Hello-World/languages", - "description": "The API URL to get information about the languages of the repository." - }, - "merges_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/repos/octocat/Hello-World/merges", - "description": "The API URL to merge branches in the repository." - }, - "milestones_url": { - "type": "string", - "example": "https://api.github.com/repos/octocat/Hello-World/milestones{/number}", - "description": "A template for the API URL to get information about milestones of the repository." - }, - "notifications_url": { - "type": "string", - "example": "https://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}", - "description": "A template for the API URL to get information about notifications on the repository." - }, - "pulls_url": { - "type": "string", - "example": "https://api.github.com/repos/octocat/Hello-World/pulls{/number}", - "description": "A template for the API URL to get information about pull requests on the repository." - }, - "releases_url": { - "type": "string", - "example": "https://api.github.com/repos/octocat/Hello-World/releases{/id}", - "description": "A template for the API URL to get information about releases on the repository." - }, - "stargazers_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/repos/octocat/Hello-World/stargazers", - "description": "The API URL to list the stargazers on the repository." - }, - "statuses_url": { - "type": "string", - "example": "https://api.github.com/repos/octocat/Hello-World/statuses/{sha}", - "description": "A template for the API URL to get information about statuses of a commit." - }, - "subscribers_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/repos/octocat/Hello-World/subscribers", - "description": "The API URL to list the subscribers on the repository." - }, - "subscription_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/repos/octocat/Hello-World/subscription", - "description": "The API URL to subscribe to notifications for this repository." - }, - "tags_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/repos/octocat/Hello-World/tags", - "description": "The API URL to get information about tags on the repository." - }, - "teams_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/repos/octocat/Hello-World/teams", - "description": "The API URL to list the teams on the repository." - }, - "trees_url": { - "type": "string", - "example": "https://api.github.com/repos/octocat/Hello-World/git/trees{/sha}", - "description": "A template for the API URL to create or retrieve a raw Git tree of the repository." - }, - "hooks_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/repos/octocat/Hello-World/hooks", - "description": "The API URL to list the hooks on the 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" - ], - "nullable": true - }, - "dependabot-repository-access-details": { - "title": "Dependabot Repository Access Details", - "description": "Information about repositories that Dependabot is able to access in an organization", - "type": "object", - "properties": { - "default_level": { - "type": "string", - "description": "The default repository access level for Dependabot updates.", - "enum": [ - "public", - "internal" - ], - "example": "internal", - "nullable": true - }, - "accessible_repositories": { - "type": "array", - "items": { - "$ref": "#/components/schemas/nullable-simple-repository" - } - } - }, - "additionalProperties": false - }, "organization-dependabot-secret": { "title": "Dependabot Secret for an Organization", "description": "Secrets for GitHub Dependabot for an organization.", @@ -182403,6 +182822,306 @@ "sender" ] }, + "webhook-issues-field-added": { + "title": "issues field_added event", + "type": "object", + "properties": { + "action": { + "type": "string", + "enum": [ + "field_added" + ] + }, + "enterprise": { + "$ref": "#/components/schemas/enterprise-webhooks" + }, + "installation": { + "$ref": "#/components/schemas/simple-installation" + }, + "issue": { + "$ref": "#/components/schemas/webhooks_issue" + }, + "issue_field": { + "type": "object", + "description": "The issue field whose value was set or updated on the issue.", + "properties": { + "id": { + "type": "integer", + "description": "The unique identifier of the issue field." + }, + "name": { + "type": "string", + "description": "The name of the issue field." + }, + "field_type": { + "type": "string", + "description": "The data type of the issue field.", + "enum": [ + "text", + "date", + "single_select", + "number" + ] + } + }, + "required": [ + "id", + "name", + "field_type" + ] + }, + "issue_field_value": { + "type": "object", + "description": "The value that was set or updated for the issue field. When updating an existing value, the previous value is available in `changes`.", + "properties": { + "id": { + "type": "integer", + "description": "The unique identifier of the issue field value." + }, + "value": { + "description": "The value of the field. Present for text, date, and number field types.", + "nullable": true, + "anyOf": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "integer" + } + ] + }, + "value_id": { + "type": "integer", + "description": "The identifier of the selected option. Present for single_select field types." + }, + "option": { + "type": "object", + "description": "The selected option details. Present for single_select field types.", + "properties": { + "id": { + "type": "integer" + }, + "name": { + "type": "string" + }, + "color": { + "type": "string" + }, + "description": { + "type": "string", + "nullable": true + } + } + } + }, + "required": [ + "id" + ] + }, + "changes": { + "type": "object", + "description": "The previous field value, present when an existing value was updated.", + "properties": { + "issue_field_value": { + "type": "object", + "description": "The previous issue field value data.", + "properties": { + "from": { + "type": "object", + "description": "The previous value of the issue field before the update.", + "properties": { + "id": { + "type": "integer", + "description": "The unique identifier of the issue field value." + }, + "value": { + "description": "The previous value. Present for text, date, and number field types.", + "nullable": true, + "anyOf": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "integer" + } + ] + }, + "value_id": { + "type": "integer", + "description": "The identifier of the previously selected option. Present for single_select field types." + }, + "option": { + "type": "object", + "description": "The previously selected option details. Present for single_select field types.", + "properties": { + "id": { + "type": "integer" + }, + "name": { + "type": "string" + }, + "color": { + "type": "string" + }, + "description": { + "type": "string", + "nullable": true + } + } + } + }, + "required": [ + "id" + ] + } + }, + "required": [ + "from" + ] + } + } + }, + "organization": { + "$ref": "#/components/schemas/organization-simple-webhooks" + }, + "repository": { + "$ref": "#/components/schemas/repository-webhooks" + }, + "sender": { + "$ref": "#/components/schemas/simple-user" + } + }, + "required": [ + "action", + "issue", + "issue_field", + "repository", + "sender" + ] + }, + "webhook-issues-field-removed": { + "title": "issues field_removed event", + "type": "object", + "properties": { + "action": { + "type": "string", + "enum": [ + "field_removed" + ] + }, + "enterprise": { + "$ref": "#/components/schemas/enterprise-webhooks" + }, + "installation": { + "$ref": "#/components/schemas/simple-installation" + }, + "issue": { + "$ref": "#/components/schemas/webhooks_issue" + }, + "issue_field": { + "type": "object", + "description": "The issue field whose value was cleared from the issue.", + "properties": { + "id": { + "type": "integer", + "description": "The unique identifier of the issue field." + }, + "name": { + "type": "string", + "description": "The name of the issue field." + }, + "field_type": { + "type": "string", + "description": "The data type of the issue field.", + "enum": [ + "text", + "date", + "single_select", + "number" + ] + } + }, + "required": [ + "id", + "name", + "field_type" + ] + }, + "issue_field_value": { + "type": "object", + "description": "The value that was cleared from the issue field.", + "properties": { + "id": { + "type": "integer", + "description": "The unique identifier of the issue field value." + }, + "value": { + "description": "The value of the field. Present for text, date, and number field types.", + "nullable": true, + "anyOf": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "integer" + } + ] + }, + "value_id": { + "type": "integer", + "description": "The identifier of the selected option. Present for single_select field types." + }, + "option": { + "type": "object", + "description": "The selected option details. Present for single_select field types.", + "properties": { + "id": { + "type": "integer" + }, + "name": { + "type": "string" + }, + "color": { + "type": "string" + }, + "description": { + "type": "string", + "nullable": true + } + } + } + }, + "required": [ + "id" + ] + }, + "organization": { + "$ref": "#/components/schemas/organization-simple-webhooks" + }, + "repository": { + "$ref": "#/components/schemas/repository-webhooks" + }, + "sender": { + "$ref": "#/components/schemas/simple-user" + } + }, + "required": [ + "action", + "issue", + "issue_field", + "repository", + "sender" + ] + }, "webhook-issues-labeled": { "title": "issues labeled event", "type": "object", @@ -288072,6 +288791,84 @@ } ] }, + "dependabot-repository-access-details": { + "value": { + "default_level": "public", + "accessible_repositories": [ + { + "id": 123456, + "node_id": "MDEwOlJlcG9zaXRvcnkxMjM0NTY=", + "name": "example-repo", + "full_name": "octocat/example-repo", + "owner": { + "name": "octocat", + "email": "octo@github.com", + "login": "octocat", + "id": 1, + "node_id": "MDQ6VXNlcjE=", + "avatar_url": "https://avatars.githubusercontent.com/u/1?v=4", + "gravatar_id": 1, + "url": "https://api.github.com/users/octocat", + "html_url": "https://github.com/octocat/example-repo", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "starred_url": "https://api.github.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, + "starred_at": "\"2020-07-09T00:17:55Z\"", + "user_view_type": "default" + }, + "private": false, + "html_url": "https://github.com/octocat/example-repo", + "description": "This is an example repository.", + "fork": false, + "url": "https://api.github.com/repos/octocat/example-repo", + "archive_url": "https://api.github.com/repos/octocat/example-repo/{archive_format}{/ref}", + "assignees_url": "https://api.github.com/repos/octocat/example-repo/assignees{/user}", + "blobs_url": "https://api.github.com/repos/octocat/example-repo/git/blobs{/sha}", + "branches_url": "https://api.github.com/repos/octocat/example-repo/branches{/branch}", + "collaborators_url": "https://api.github.com/repos/octocat/example-repo/collaborators{/collaborator}", + "comments_url": "https://api.github.com/repos/octocat/example-repo/comments{/number}", + "commits_url": "https://api.github.com/repos/octocat/example-repo/commits{/sha}", + "compare_url": "https://api.github.com/repos/octocat/example-repo/compare/{base}...{head}", + "contents_url": "https://api.github.com/repos/octocat/example-repo/contents/{+path}", + "contributors_url": "https://api.github.com/repos/octocat/example-repo/contributors", + "deployments_url": "https://api.github.com/repos/octocat/example-repo/deployments", + "downloads_url": "https://api.github.com/repos/octocat/example-repo/downloads", + "events_url": "https://api.github.com/repos/octocat/example-repo/events", + "forks_url": "https://api.github.com/repos/octocat/example-repo/forks", + "git_commits_url": "https://api.github.com/repos/octocat/example-repo/git/commits{/sha}", + "git_refs_url": "https://api.github.com/repos/octocat/example-repo/git/refs{/sha}", + "git_tags_url": "https://api.github.com/repos/octocat/example-repo/git/tags{/sha}", + "issue_comment_url": "https://api.github.com/repos/octocat/example-repo/issues/comments{/number}", + "issue_events_url": "https://api.github.com/repos/octocat/example-repo/issues/events{/number}", + "issues_url": "https://api.github.com/repos/octocat/example-repo/issues{/number}", + "keys_url": "https://api.github.com/repos/octocat/example-repo/keys{/key_id}", + "labels_url": "https://api.github.com/repos/octocat/example-repo/labels{/name}", + "languages_url": "https://api.github.com/repos/octocat/example-repo/languages", + "merges_url": "https://api.github.com/repos/octocat/example-repo/merges", + "milestones_url": "https://api.github.com/repos/octocat/example-repo/milestones{/number}", + "notifications_url": "https://api.github.com/repos/octocat/example-repo/notifications{?since,all,participating}", + "pulls_url": "https://api.github.com/repos/octocat/example-repo/pulls{/number}", + "releases_url": "https://api.github.com/repos/octocat/example-repo/releases{/id}", + "stargazers_url": "https://api.github.com/repos/octocat/example-repo/stargazers", + "statuses_url": "https://api.github.com/repos/octocat/example-repo/statuses/{sha}", + "subscribers_url": "https://api.github.com/repos/octocat/example-repo/subscribers", + "subscription_url": "https://api.github.com/repos/octocat/example-repo/subscription", + "tags_url": "https://api.github.com/repos/octocat/example-repo/tags", + "teams_url": "https://api.github.com/repos/octocat/example-repo/teams", + "trees_url": "https://api.github.com/repos/octocat/example-repo/git/trees{/sha}", + "hooks_url": "https://api.github.com/repos/octocat/example-repo/hooks" + } + ] + } + }, "enterprise-teams-items": { "value": [ { @@ -292495,84 +293292,6 @@ } ] }, - "dependabot-repository-access-details": { - "value": { - "default_level": "public", - "accessible_repositories": [ - { - "id": 123456, - "node_id": "MDEwOlJlcG9zaXRvcnkxMjM0NTY=", - "name": "example-repo", - "full_name": "octocat/example-repo", - "owner": { - "name": "octocat", - "email": "octo@github.com", - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://avatars.githubusercontent.com/u/1?v=4", - "gravatar_id": 1, - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat/example-repo", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.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, - "starred_at": "\"2020-07-09T00:17:55Z\"", - "user_view_type": "default" - }, - "private": false, - "html_url": "https://github.com/octocat/example-repo", - "description": "This is an example repository.", - "fork": false, - "url": "https://api.github.com/repos/octocat/example-repo", - "archive_url": "https://api.github.com/repos/octocat/example-repo/{archive_format}{/ref}", - "assignees_url": "https://api.github.com/repos/octocat/example-repo/assignees{/user}", - "blobs_url": "https://api.github.com/repos/octocat/example-repo/git/blobs{/sha}", - "branches_url": "https://api.github.com/repos/octocat/example-repo/branches{/branch}", - "collaborators_url": "https://api.github.com/repos/octocat/example-repo/collaborators{/collaborator}", - "comments_url": "https://api.github.com/repos/octocat/example-repo/comments{/number}", - "commits_url": "https://api.github.com/repos/octocat/example-repo/commits{/sha}", - "compare_url": "https://api.github.com/repos/octocat/example-repo/compare/{base}...{head}", - "contents_url": "https://api.github.com/repos/octocat/example-repo/contents/{+path}", - "contributors_url": "https://api.github.com/repos/octocat/example-repo/contributors", - "deployments_url": "https://api.github.com/repos/octocat/example-repo/deployments", - "downloads_url": "https://api.github.com/repos/octocat/example-repo/downloads", - "events_url": "https://api.github.com/repos/octocat/example-repo/events", - "forks_url": "https://api.github.com/repos/octocat/example-repo/forks", - "git_commits_url": "https://api.github.com/repos/octocat/example-repo/git/commits{/sha}", - "git_refs_url": "https://api.github.com/repos/octocat/example-repo/git/refs{/sha}", - "git_tags_url": "https://api.github.com/repos/octocat/example-repo/git/tags{/sha}", - "issue_comment_url": "https://api.github.com/repos/octocat/example-repo/issues/comments{/number}", - "issue_events_url": "https://api.github.com/repos/octocat/example-repo/issues/events{/number}", - "issues_url": "https://api.github.com/repos/octocat/example-repo/issues{/number}", - "keys_url": "https://api.github.com/repos/octocat/example-repo/keys{/key_id}", - "labels_url": "https://api.github.com/repos/octocat/example-repo/labels{/name}", - "languages_url": "https://api.github.com/repos/octocat/example-repo/languages", - "merges_url": "https://api.github.com/repos/octocat/example-repo/merges", - "milestones_url": "https://api.github.com/repos/octocat/example-repo/milestones{/number}", - "notifications_url": "https://api.github.com/repos/octocat/example-repo/notifications{?since,all,participating}", - "pulls_url": "https://api.github.com/repos/octocat/example-repo/pulls{/number}", - "releases_url": "https://api.github.com/repos/octocat/example-repo/releases{/id}", - "stargazers_url": "https://api.github.com/repos/octocat/example-repo/stargazers", - "statuses_url": "https://api.github.com/repos/octocat/example-repo/statuses/{sha}", - "subscribers_url": "https://api.github.com/repos/octocat/example-repo/subscribers", - "subscription_url": "https://api.github.com/repos/octocat/example-repo/subscription", - "tags_url": "https://api.github.com/repos/octocat/example-repo/tags", - "teams_url": "https://api.github.com/repos/octocat/example-repo/teams", - "trees_url": "https://api.github.com/repos/octocat/example-repo/git/trees{/sha}", - "hooks_url": "https://api.github.com/repos/octocat/example-repo/hooks" - } - ] - } - }, "organization-dependabot-secret-paginated": { "value": { "total_count": 3, diff --git a/descriptions/api.github.com/api.github.com.2026-03-10.yaml b/descriptions/api.github.com/api.github.com.2026-03-10.yaml index 5b9f03cae3..59e7c9f23c 100644 --- a/descriptions/api.github.com/api.github.com.2026-03-10.yaml +++ b/descriptions/api.github.com/api.github.com.2026-03-10.yaml @@ -2991,6 +2991,179 @@ paths: previews: [] category: dependabot subcategory: alerts + "/enterprises/{enterprise}/dependabot/repository-access": + get: + summary: Lists the repositories Dependabot can access in an enterprise + description: |- + Lists repositories that enterprise admins have allowed Dependabot to access when updating dependencies across organizations in the enterprise. + + The authenticated user must be an enterprise owner to use this endpoint. + tags: + - dependabot + operationId: dependabot/repository-access-for-enterprise + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/dependabot/repository-access#lists-the-repositories-dependabot-can-access-in-an-enterprise + parameters: + - "$ref": "#/components/parameters/enterprise" + - name: page + in: query + description: The page number of results to fetch. + required: false + schema: + type: integer + minimum: 1 + default: 1 + - name: per_page + in: query + description: Number of results per page. + required: false + schema: + type: integer + minimum: 1 + maximum: 100 + default: 30 + responses: + '200': + description: Response + content: + application/json: + schema: + "$ref": "#/components/schemas/dependabot-repository-access-details" + examples: + default: + "$ref": "#/components/examples/dependabot-repository-access-details" + '403': + "$ref": "#/components/responses/forbidden" + '404': + "$ref": "#/components/responses/not_found" + x-github: + githubCloudOnly: false + enabledForGitHubApps: false + category: dependabot + subcategory: repository-access + patch: + summary: Updates Dependabot's repository access list for an enterprise + description: |- + Updates repositories according to the list of repositories that enterprise admins have given Dependabot access to when they've updated dependencies across organizations in the enterprise. + + The authenticated user must be an enterprise owner to use this endpoint. + + **Example request body:** + ```json + { + "repository_ids_to_add": [123, 456], + "repository_ids_to_remove": [789] + } + ``` + tags: + - dependabot + operationId: dependabot/update-repository-access-for-enterprise + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/dependabot/repository-access#updates-dependabots-repository-access-list-for-an-enterprise + parameters: + - "$ref": "#/components/parameters/enterprise" + requestBody: + required: true + content: + application/json: + schema: + type: object + properties: + repository_ids_to_add: + type: array + items: + type: integer + description: List of repository IDs to add. + repository_ids_to_remove: + type: array + items: + type: integer + description: List of repository IDs to remove. + example: + repository_ids_to_add: + - 123 + - 456 + repository_ids_to_remove: + - 789 + examples: + '204': + summary: Example with a 'succeeded' status. + add-example: + summary: Add repositories + value: + repository_ids_to_add: + - 123 + - 456 + remove-example: + summary: Remove repositories + value: + repository_ids_to_remove: + - 789 + responses: + '204': + description: Response + '403': + "$ref": "#/components/responses/forbidden" + '404': + "$ref": "#/components/responses/not_found" + x-github: + githubCloudOnly: false + enabledForGitHubApps: false + category: dependabot + subcategory: repository-access + "/enterprises/{enterprise}/dependabot/repository-access/default-level": + put: + summary: Set the default repository access level for Dependabot in an enterprise + description: |- + Sets the default level of repository access Dependabot will have while performing an update across organizations in the enterprise. Available values are: + - 'public' - Dependabot will only have access to public repositories, unless access is explicitly granted to non-public repositories. + - 'internal' - Dependabot will only have access to public and internal repositories, unless access is explicitly granted to private repositories. + + The authenticated user must be an enterprise owner to use this endpoint. + tags: + - dependabot + operationId: dependabot/set-repository-access-default-level-for-enterprise + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/dependabot/repository-access#set-the-default-repository-access-level-for-dependabot-in-an-enterprise + parameters: + - "$ref": "#/components/parameters/enterprise" + requestBody: + required: true + content: + application/json: + schema: + type: object + properties: + default_level: + type: string + description: The default repository access level for Dependabot + updates. + enum: + - public + - internal + example: internal + required: + - default_level + examples: + '204': + summary: Example with a 'succeeded' status. + value: + default_level: public + responses: + '204': + description: Response + '403': + "$ref": "#/components/responses/forbidden" + '404': + "$ref": "#/components/responses/not_found" + x-github: + githubCloudOnly: false + enabledForGitHubApps: false + category: dependabot + subcategory: repository-access "/enterprises/{enterprise}/teams": get: summary: List enterprise teams @@ -12209,6 +12382,8 @@ paths: schema: type: object additionalProperties: false + required: + - selected_repository_ids properties: selected_repository_ids: type: array @@ -62586,7 +62761,7 @@ x-webhooks: - repository - organization - app - issues-labeled: + issues-field-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. @@ -62594,8 +62769,8 @@ x-webhooks: For activity relating to a comment on an issue, use the `issue_comment` event. To 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 field value was set or updated on an issue. + operationId: issues/field-added externalDocs: url: https://docs.github.com/webhooks/webhook-events-and-payloads#issues parameters: @@ -62639,7 +62814,7 @@ x-webhooks: content: application/json: schema: - "$ref": "#/components/schemas/webhook-issues-labeled" + "$ref": "#/components/schemas/webhook-issues-field-added" responses: '200': description: Return a 200 status to indicate that the data was received @@ -62652,7 +62827,7 @@ x-webhooks: - repository - organization - app - issues-locked: + issues-field-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. @@ -62660,9 +62835,8 @@ x-webhooks: For activity relating to a comment on an issue, use the `issue_comment` event. To 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 field value was cleared from an issue. + operationId: issues/field-removed externalDocs: url: https://docs.github.com/webhooks/webhook-events-and-payloads#issues parameters: @@ -62706,7 +62880,7 @@ x-webhooks: content: application/json: schema: - "$ref": "#/components/schemas/webhook-issues-locked" + "$ref": "#/components/schemas/webhook-issues-field-removed" responses: '200': description: Return a 200 status to indicate that the data was received @@ -62719,7 +62893,7 @@ x-webhooks: - repository - organization - app - issues-milestoned: + 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. @@ -62727,8 +62901,8 @@ x-webhooks: For activity relating to a comment on an issue, use the `issue_comment` event. To 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: A label was added to an issue. + operationId: issues/labeled externalDocs: url: https://docs.github.com/webhooks/webhook-events-and-payloads#issues parameters: @@ -62772,7 +62946,7 @@ x-webhooks: content: application/json: schema: - "$ref": "#/components/schemas/webhook-issues-milestoned" + "$ref": "#/components/schemas/webhook-issues-labeled" responses: '200': description: Return a 200 status to indicate that the data was received @@ -62785,7 +62959,7 @@ x-webhooks: - repository - organization - app - issues-opened: + 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. @@ -62793,9 +62967,9 @@ x-webhooks: For activity relating to a comment on an issue, use the `issue_comment` event. To 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: 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 parameters: @@ -62839,7 +63013,7 @@ x-webhooks: content: application/json: schema: - "$ref": "#/components/schemas/webhook-issues-opened" + "$ref": "#/components/schemas/webhook-issues-locked" responses: '200': description: Return a 200 status to indicate that the data was received @@ -62852,7 +63026,7 @@ x-webhooks: - repository - organization - app - issues-pinned: + 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. @@ -62860,9 +63034,8 @@ x-webhooks: For activity relating to a comment on an issue, use the `issue_comment` event. To 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: An issue was added to a milestone. + operationId: issues/milestoned externalDocs: url: https://docs.github.com/webhooks/webhook-events-and-payloads#issues parameters: @@ -62906,7 +63079,7 @@ x-webhooks: content: application/json: schema: - "$ref": "#/components/schemas/webhook-issues-pinned" + "$ref": "#/components/schemas/webhook-issues-milestoned" responses: '200': description: Return a 200 status to indicate that the data was received @@ -62919,7 +63092,7 @@ x-webhooks: - repository - organization - app - issues-reopened: + 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. @@ -62927,8 +63100,9 @@ x-webhooks: For activity relating to a comment on an issue, use the `issue_comment` event. To 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 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 parameters: @@ -62972,7 +63146,7 @@ x-webhooks: content: application/json: schema: - "$ref": "#/components/schemas/webhook-issues-reopened" + "$ref": "#/components/schemas/webhook-issues-opened" responses: '200': description: Return a 200 status to indicate that the data was received @@ -62985,7 +63159,7 @@ x-webhooks: - repository - organization - app - issues-transferred: + 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. @@ -62993,9 +63167,9 @@ x-webhooks: For activity relating to a comment on an issue, use the `issue_comment` event. To 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 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 parameters: @@ -63039,7 +63213,7 @@ x-webhooks: content: application/json: schema: - "$ref": "#/components/schemas/webhook-issues-transferred" + "$ref": "#/components/schemas/webhook-issues-pinned" responses: '200': description: Return a 200 status to indicate that the data was received @@ -63052,7 +63226,7 @@ x-webhooks: - repository - organization - app - issues-typed: + 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. @@ -63060,8 +63234,8 @@ x-webhooks: For activity relating to a comment on an issue, use the `issue_comment` event. To 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: A closed issue was reopened. + operationId: issues/reopened externalDocs: url: https://docs.github.com/webhooks/webhook-events-and-payloads#issues parameters: @@ -63105,7 +63279,7 @@ x-webhooks: content: application/json: schema: - "$ref": "#/components/schemas/webhook-issues-typed" + "$ref": "#/components/schemas/webhook-issues-reopened" responses: '200': description: Return a 200 status to indicate that the data was received @@ -63118,7 +63292,7 @@ x-webhooks: - repository - organization - app - 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/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. @@ -63126,8 +63300,9 @@ x-webhooks: For activity relating to a comment on an issue, use the `issue_comment` event. To 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/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 parameters: @@ -63171,7 +63346,7 @@ x-webhooks: content: application/json: schema: - "$ref": "#/components/schemas/webhook-issues-unassigned" + "$ref": "#/components/schemas/webhook-issues-transferred" responses: '200': description: Return a 200 status to indicate that the data was received @@ -63184,7 +63359,7 @@ x-webhooks: - repository - organization - app - issues-unlabeled: + 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. @@ -63192,8 +63367,8 @@ x-webhooks: For activity relating to a comment on an issue, use the `issue_comment` event. To 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 type was added to an issue. + operationId: issues/typed externalDocs: url: https://docs.github.com/webhooks/webhook-events-and-payloads#issues parameters: @@ -63237,7 +63412,7 @@ x-webhooks: content: application/json: schema: - "$ref": "#/components/schemas/webhook-issues-unlabeled" + "$ref": "#/components/schemas/webhook-issues-typed" responses: '200': description: Return a 200 status to indicate that the data was received @@ -63250,7 +63425,7 @@ x-webhooks: - repository - organization - app - issues-unlocked: + 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. @@ -63258,9 +63433,8 @@ x-webhooks: For activity relating to a comment on an issue, use the `issue_comment` event. To 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: A user was unassigned from an issue. + operationId: issues/unassigned externalDocs: url: https://docs.github.com/webhooks/webhook-events-and-payloads#issues parameters: @@ -63304,7 +63478,7 @@ x-webhooks: content: application/json: schema: - "$ref": "#/components/schemas/webhook-issues-unlocked" + "$ref": "#/components/schemas/webhook-issues-unassigned" responses: '200': description: Return a 200 status to indicate that the data was received @@ -63317,7 +63491,7 @@ x-webhooks: - repository - organization - app - issues-unpinned: + 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. @@ -63325,9 +63499,8 @@ x-webhooks: For activity relating to a comment on an issue, use the `issue_comment` event. To 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 label was removed from an issue. + operationId: issues/unlabeled externalDocs: url: https://docs.github.com/webhooks/webhook-events-and-payloads#issues parameters: @@ -63371,7 +63544,7 @@ x-webhooks: content: application/json: schema: - "$ref": "#/components/schemas/webhook-issues-unpinned" + "$ref": "#/components/schemas/webhook-issues-unlabeled" responses: '200': description: Return a 200 status to indicate that the data was received @@ -63384,7 +63557,7 @@ x-webhooks: - repository - organization - app - issues-untyped: + 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/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. @@ -63392,8 +63565,142 @@ x-webhooks: For activity relating to a comment on an issue, use the `issue_comment` event. To 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: 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#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 + 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/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. + + For activity relating to a comment on an issue, use the `issue_comment` event. + + To 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#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 + 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. + + For activity relating to a comment on an issue, use the `issue_comment` event. + + To 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: @@ -78272,6 +78579,298 @@ components: - fixed_at - repository additionalProperties: false + nullable-simple-repository: + title: Simple Repository + description: A GitHub repository. + type: object + properties: + id: + type: integer + format: int64 + example: 1296269 + description: A unique identifier of the repository. + node_id: + type: string + example: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 + description: The GraphQL identifier of the repository. + name: + type: string + example: Hello-World + description: The name of the repository. + full_name: + type: string + example: octocat/Hello-World + description: The full, globally unique, name of the repository. + owner: + "$ref": "#/components/schemas/simple-user" + private: + type: boolean + description: Whether the repository is private. + html_url: + type: string + format: uri + example: https://github.com/octocat/Hello-World + description: The URL to view the repository on GitHub.com. + description: + type: string + example: This your first repo! + nullable: true + description: The repository description. + fork: + type: boolean + description: Whether the repository is a fork. + url: + type: string + format: uri + example: https://api.github.com/repos/octocat/Hello-World + description: The URL to get more information about the repository from the + GitHub API. + archive_url: + type: string + example: https://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref} + description: A template for the API URL to download the repository as an + archive. + assignees_url: + type: string + example: https://api.github.com/repos/octocat/Hello-World/assignees{/user} + description: A template for the API URL to list the available assignees + for issues in the repository. + blobs_url: + type: string + example: https://api.github.com/repos/octocat/Hello-World/git/blobs{/sha} + description: A template for the API URL to create or retrieve a raw Git + blob in the repository. + branches_url: + type: string + example: https://api.github.com/repos/octocat/Hello-World/branches{/branch} + description: A template for the API URL to get information about branches + in the repository. + collaborators_url: + type: string + example: https://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator} + description: A template for the API URL to get information about collaborators + of the repository. + comments_url: + type: string + example: https://api.github.com/repos/octocat/Hello-World/comments{/number} + description: A template for the API URL to get information about comments + on the repository. + commits_url: + type: string + example: https://api.github.com/repos/octocat/Hello-World/commits{/sha} + description: A template for the API URL to get information about commits + on the repository. + compare_url: + type: string + example: https://api.github.com/repos/octocat/Hello-World/compare/{base}...{head} + description: A template for the API URL to compare two commits or refs. + contents_url: + type: string + example: https://api.github.com/repos/octocat/Hello-World/contents/{+path} + description: A template for the API URL to get the contents of the repository. + contributors_url: + type: string + format: uri + example: https://api.github.com/repos/octocat/Hello-World/contributors + description: A template for the API URL to list the contributors to the + repository. + deployments_url: + type: string + format: uri + example: https://api.github.com/repos/octocat/Hello-World/deployments + description: The API URL to list the deployments of the repository. + downloads_url: + type: string + format: uri + example: https://api.github.com/repos/octocat/Hello-World/downloads + description: The API URL to list the downloads on the repository. + events_url: + type: string + format: uri + example: https://api.github.com/repos/octocat/Hello-World/events + description: The API URL to list the events of the repository. + forks_url: + type: string + format: uri + example: https://api.github.com/repos/octocat/Hello-World/forks + description: The API URL to list the forks of the repository. + git_commits_url: + type: string + example: https://api.github.com/repos/octocat/Hello-World/git/commits{/sha} + description: A template for the API URL to get information about Git commits + of the repository. + git_refs_url: + type: string + example: https://api.github.com/repos/octocat/Hello-World/git/refs{/sha} + description: A template for the API URL to get information about Git refs + of the repository. + git_tags_url: + type: string + example: https://api.github.com/repos/octocat/Hello-World/git/tags{/sha} + description: A template for the API URL to get information about Git tags + of the repository. + issue_comment_url: + type: string + example: https://api.github.com/repos/octocat/Hello-World/issues/comments{/number} + description: A template for the API URL to get information about issue comments + on the repository. + issue_events_url: + type: string + example: https://api.github.com/repos/octocat/Hello-World/issues/events{/number} + description: A template for the API URL to get information about issue events + on the repository. + issues_url: + type: string + example: https://api.github.com/repos/octocat/Hello-World/issues{/number} + description: A template for the API URL to get information about issues + on the repository. + keys_url: + type: string + example: https://api.github.com/repos/octocat/Hello-World/keys{/key_id} + description: A template for the API URL to get information about deploy + keys on the repository. + labels_url: + type: string + example: https://api.github.com/repos/octocat/Hello-World/labels{/name} + description: A template for the API URL to get information about labels + of the repository. + languages_url: + type: string + format: uri + example: https://api.github.com/repos/octocat/Hello-World/languages + description: The API URL to get information about the languages of the repository. + merges_url: + type: string + format: uri + example: https://api.github.com/repos/octocat/Hello-World/merges + description: The API URL to merge branches in the repository. + milestones_url: + type: string + example: https://api.github.com/repos/octocat/Hello-World/milestones{/number} + description: A template for the API URL to get information about milestones + of the repository. + notifications_url: + type: string + example: https://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating} + description: A template for the API URL to get information about notifications + on the repository. + pulls_url: + type: string + example: https://api.github.com/repos/octocat/Hello-World/pulls{/number} + description: A template for the API URL to get information about pull requests + on the repository. + releases_url: + type: string + example: https://api.github.com/repos/octocat/Hello-World/releases{/id} + description: A template for the API URL to get information about releases + on the repository. + stargazers_url: + type: string + format: uri + example: https://api.github.com/repos/octocat/Hello-World/stargazers + description: The API URL to list the stargazers on the repository. + statuses_url: + type: string + example: https://api.github.com/repos/octocat/Hello-World/statuses/{sha} + description: A template for the API URL to get information about statuses + of a commit. + subscribers_url: + type: string + format: uri + example: https://api.github.com/repos/octocat/Hello-World/subscribers + description: The API URL to list the subscribers on the repository. + subscription_url: + type: string + format: uri + example: https://api.github.com/repos/octocat/Hello-World/subscription + description: The API URL to subscribe to notifications for this repository. + tags_url: + type: string + format: uri + example: https://api.github.com/repos/octocat/Hello-World/tags + description: The API URL to get information about tags on the repository. + teams_url: + type: string + format: uri + example: https://api.github.com/repos/octocat/Hello-World/teams + description: The API URL to list the teams on the repository. + trees_url: + type: string + example: https://api.github.com/repos/octocat/Hello-World/git/trees{/sha} + description: A template for the API URL to create or retrieve a raw Git + tree of the repository. + hooks_url: + type: string + format: uri + example: https://api.github.com/repos/octocat/Hello-World/hooks + description: The API URL to list the hooks on the 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 + nullable: true + dependabot-repository-access-details: + title: Dependabot Repository Access Details + description: Information about repositories that Dependabot is able to access + in an organization + type: object + properties: + default_level: + type: string + description: The default repository access level for Dependabot updates. + enum: + - public + - internal + example: internal + nullable: true + accessible_repositories: + type: array + items: + "$ref": "#/components/schemas/nullable-simple-repository" + additionalProperties: false enterprise-team: title: Enterprise Team description: Group of enterprise owners and/or members @@ -84068,298 +84667,6 @@ components: required: - date additionalProperties: true - nullable-simple-repository: - title: Simple Repository - description: A GitHub repository. - type: object - properties: - id: - type: integer - format: int64 - example: 1296269 - description: A unique identifier of the repository. - node_id: - type: string - example: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 - description: The GraphQL identifier of the repository. - name: - type: string - example: Hello-World - description: The name of the repository. - full_name: - type: string - example: octocat/Hello-World - description: The full, globally unique, name of the repository. - owner: - "$ref": "#/components/schemas/simple-user" - private: - type: boolean - description: Whether the repository is private. - html_url: - type: string - format: uri - example: https://github.com/octocat/Hello-World - description: The URL to view the repository on GitHub.com. - description: - type: string - example: This your first repo! - nullable: true - description: The repository description. - fork: - type: boolean - description: Whether the repository is a fork. - url: - type: string - format: uri - example: https://api.github.com/repos/octocat/Hello-World - description: The URL to get more information about the repository from the - GitHub API. - archive_url: - type: string - example: https://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref} - description: A template for the API URL to download the repository as an - archive. - assignees_url: - type: string - example: https://api.github.com/repos/octocat/Hello-World/assignees{/user} - description: A template for the API URL to list the available assignees - for issues in the repository. - blobs_url: - type: string - example: https://api.github.com/repos/octocat/Hello-World/git/blobs{/sha} - description: A template for the API URL to create or retrieve a raw Git - blob in the repository. - branches_url: - type: string - example: https://api.github.com/repos/octocat/Hello-World/branches{/branch} - description: A template for the API URL to get information about branches - in the repository. - collaborators_url: - type: string - example: https://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator} - description: A template for the API URL to get information about collaborators - of the repository. - comments_url: - type: string - example: https://api.github.com/repos/octocat/Hello-World/comments{/number} - description: A template for the API URL to get information about comments - on the repository. - commits_url: - type: string - example: https://api.github.com/repos/octocat/Hello-World/commits{/sha} - description: A template for the API URL to get information about commits - on the repository. - compare_url: - type: string - example: https://api.github.com/repos/octocat/Hello-World/compare/{base}...{head} - description: A template for the API URL to compare two commits or refs. - contents_url: - type: string - example: https://api.github.com/repos/octocat/Hello-World/contents/{+path} - description: A template for the API URL to get the contents of the repository. - contributors_url: - type: string - format: uri - example: https://api.github.com/repos/octocat/Hello-World/contributors - description: A template for the API URL to list the contributors to the - repository. - deployments_url: - type: string - format: uri - example: https://api.github.com/repos/octocat/Hello-World/deployments - description: The API URL to list the deployments of the repository. - downloads_url: - type: string - format: uri - example: https://api.github.com/repos/octocat/Hello-World/downloads - description: The API URL to list the downloads on the repository. - events_url: - type: string - format: uri - example: https://api.github.com/repos/octocat/Hello-World/events - description: The API URL to list the events of the repository. - forks_url: - type: string - format: uri - example: https://api.github.com/repos/octocat/Hello-World/forks - description: The API URL to list the forks of the repository. - git_commits_url: - type: string - example: https://api.github.com/repos/octocat/Hello-World/git/commits{/sha} - description: A template for the API URL to get information about Git commits - of the repository. - git_refs_url: - type: string - example: https://api.github.com/repos/octocat/Hello-World/git/refs{/sha} - description: A template for the API URL to get information about Git refs - of the repository. - git_tags_url: - type: string - example: https://api.github.com/repos/octocat/Hello-World/git/tags{/sha} - description: A template for the API URL to get information about Git tags - of the repository. - issue_comment_url: - type: string - example: https://api.github.com/repos/octocat/Hello-World/issues/comments{/number} - description: A template for the API URL to get information about issue comments - on the repository. - issue_events_url: - type: string - example: https://api.github.com/repos/octocat/Hello-World/issues/events{/number} - description: A template for the API URL to get information about issue events - on the repository. - issues_url: - type: string - example: https://api.github.com/repos/octocat/Hello-World/issues{/number} - description: A template for the API URL to get information about issues - on the repository. - keys_url: - type: string - example: https://api.github.com/repos/octocat/Hello-World/keys{/key_id} - description: A template for the API URL to get information about deploy - keys on the repository. - labels_url: - type: string - example: https://api.github.com/repos/octocat/Hello-World/labels{/name} - description: A template for the API URL to get information about labels - of the repository. - languages_url: - type: string - format: uri - example: https://api.github.com/repos/octocat/Hello-World/languages - description: The API URL to get information about the languages of the repository. - merges_url: - type: string - format: uri - example: https://api.github.com/repos/octocat/Hello-World/merges - description: The API URL to merge branches in the repository. - milestones_url: - type: string - example: https://api.github.com/repos/octocat/Hello-World/milestones{/number} - description: A template for the API URL to get information about milestones - of the repository. - notifications_url: - type: string - example: https://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating} - description: A template for the API URL to get information about notifications - on the repository. - pulls_url: - type: string - example: https://api.github.com/repos/octocat/Hello-World/pulls{/number} - description: A template for the API URL to get information about pull requests - on the repository. - releases_url: - type: string - example: https://api.github.com/repos/octocat/Hello-World/releases{/id} - description: A template for the API URL to get information about releases - on the repository. - stargazers_url: - type: string - format: uri - example: https://api.github.com/repos/octocat/Hello-World/stargazers - description: The API URL to list the stargazers on the repository. - statuses_url: - type: string - example: https://api.github.com/repos/octocat/Hello-World/statuses/{sha} - description: A template for the API URL to get information about statuses - of a commit. - subscribers_url: - type: string - format: uri - example: https://api.github.com/repos/octocat/Hello-World/subscribers - description: The API URL to list the subscribers on the repository. - subscription_url: - type: string - format: uri - example: https://api.github.com/repos/octocat/Hello-World/subscription - description: The API URL to subscribe to notifications for this repository. - tags_url: - type: string - format: uri - example: https://api.github.com/repos/octocat/Hello-World/tags - description: The API URL to get information about tags on the repository. - teams_url: - type: string - format: uri - example: https://api.github.com/repos/octocat/Hello-World/teams - description: The API URL to list the teams on the repository. - trees_url: - type: string - example: https://api.github.com/repos/octocat/Hello-World/git/trees{/sha} - description: A template for the API URL to create or retrieve a raw Git - tree of the repository. - hooks_url: - type: string - format: uri - example: https://api.github.com/repos/octocat/Hello-World/hooks - description: The API URL to list the hooks on the 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 - nullable: true - dependabot-repository-access-details: - title: Dependabot Repository Access Details - description: Information about repositories that Dependabot is able to access - in an organization - type: object - properties: - default_level: - type: string - description: The default repository access level for Dependabot updates. - enum: - - public - - internal - example: internal - nullable: true - accessible_repositories: - type: array - items: - "$ref": "#/components/schemas/nullable-simple-repository" - additionalProperties: false organization-dependabot-secret: title: Dependabot Secret for an Organization description: Secrets for GitHub Dependabot for an organization. @@ -134927,6 +135234,219 @@ components: - issue - repository - sender + webhook-issues-field-added: + title: issues field_added event + type: object + properties: + action: + type: string + enum: + - field_added + enterprise: + "$ref": "#/components/schemas/enterprise-webhooks" + installation: + "$ref": "#/components/schemas/simple-installation" + issue: + "$ref": "#/components/schemas/webhooks_issue" + issue_field: + type: object + description: The issue field whose value was set or updated on the issue. + properties: + id: + type: integer + description: The unique identifier of the issue field. + name: + type: string + description: The name of the issue field. + field_type: + type: string + description: The data type of the issue field. + enum: + - text + - date + - single_select + - number + required: + - id + - name + - field_type + issue_field_value: + type: object + description: The value that was set or updated for the issue field. When + updating an existing value, the previous value is available in `changes`. + properties: + id: + type: integer + description: The unique identifier of the issue field value. + value: + description: The value of the field. Present for text, date, and number + field types. + nullable: true + anyOf: + - type: string + - type: number + - type: integer + value_id: + type: integer + description: The identifier of the selected option. Present for single_select + field types. + option: + type: object + description: The selected option details. Present for single_select + field types. + properties: + id: + type: integer + name: + type: string + color: + type: string + description: + type: string + nullable: true + required: + - id + changes: + type: object + description: The previous field value, present when an existing value was + updated. + properties: + issue_field_value: + type: object + description: The previous issue field value data. + properties: + from: + type: object + description: The previous value of the issue field before the update. + properties: + id: + type: integer + description: The unique identifier of the issue field value. + value: + description: The previous value. Present for text, date, and + number field types. + nullable: true + anyOf: + - type: string + - type: number + - type: integer + value_id: + type: integer + description: The identifier of the previously selected option. + Present for single_select field types. + option: + type: object + description: The previously selected option details. Present + for single_select field types. + properties: + id: + type: integer + name: + type: string + color: + type: string + description: + type: string + nullable: true + required: + - id + required: + - from + organization: + "$ref": "#/components/schemas/organization-simple-webhooks" + repository: + "$ref": "#/components/schemas/repository-webhooks" + sender: + "$ref": "#/components/schemas/simple-user" + required: + - action + - issue + - issue_field + - repository + - sender + webhook-issues-field-removed: + title: issues field_removed event + type: object + properties: + action: + type: string + enum: + - field_removed + enterprise: + "$ref": "#/components/schemas/enterprise-webhooks" + installation: + "$ref": "#/components/schemas/simple-installation" + issue: + "$ref": "#/components/schemas/webhooks_issue" + issue_field: + type: object + description: The issue field whose value was cleared from the issue. + properties: + id: + type: integer + description: The unique identifier of the issue field. + name: + type: string + description: The name of the issue field. + field_type: + type: string + description: The data type of the issue field. + enum: + - text + - date + - single_select + - number + required: + - id + - name + - field_type + issue_field_value: + type: object + description: The value that was cleared from the issue field. + properties: + id: + type: integer + description: The unique identifier of the issue field value. + value: + description: The value of the field. Present for text, date, and number + field types. + nullable: true + anyOf: + - type: string + - type: number + - type: integer + value_id: + type: integer + description: The identifier of the selected option. Present for single_select + field types. + option: + type: object + description: The selected option details. Present for single_select + field types. + properties: + id: + type: integer + name: + type: string + color: + type: string + description: + type: string + nullable: true + required: + - id + organization: + "$ref": "#/components/schemas/organization-simple-webhooks" + repository: + "$ref": "#/components/schemas/repository-webhooks" + sender: + "$ref": "#/components/schemas/simple-user" + required: + - action + - issue + - issue_field + - repository + - sender webhook-issues-labeled: title: issues labeled event type: object @@ -215441,6 +215961,78 @@ components: 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} + dependabot-repository-access-details: + value: + default_level: public + accessible_repositories: + - id: 123456 + node_id: MDEwOlJlcG9zaXRvcnkxMjM0NTY= + name: example-repo + full_name: octocat/example-repo + owner: + name: octocat + email: octo@github.com + login: octocat + id: 1 + node_id: MDQ6VXNlcjE= + avatar_url: https://avatars.githubusercontent.com/u/1?v=4 + gravatar_id: 1 + url: https://api.github.com/users/octocat + html_url: https://github.com/octocat/example-repo + followers_url: https://api.github.com/users/octocat/followers + following_url: https://api.github.com/users/octocat/following{/other_user} + gists_url: https://api.github.com/users/octocat/gists{/gist_id} + starred_url: https://api.github.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 + starred_at: '"2020-07-09T00:17:55Z"' + user_view_type: default + private: false + html_url: https://github.com/octocat/example-repo + description: This is an example repository. + fork: false + url: https://api.github.com/repos/octocat/example-repo + archive_url: https://api.github.com/repos/octocat/example-repo/{archive_format}{/ref} + assignees_url: https://api.github.com/repos/octocat/example-repo/assignees{/user} + blobs_url: https://api.github.com/repos/octocat/example-repo/git/blobs{/sha} + branches_url: https://api.github.com/repos/octocat/example-repo/branches{/branch} + collaborators_url: https://api.github.com/repos/octocat/example-repo/collaborators{/collaborator} + comments_url: https://api.github.com/repos/octocat/example-repo/comments{/number} + commits_url: https://api.github.com/repos/octocat/example-repo/commits{/sha} + compare_url: https://api.github.com/repos/octocat/example-repo/compare/{base}...{head} + contents_url: https://api.github.com/repos/octocat/example-repo/contents/{+path} + contributors_url: https://api.github.com/repos/octocat/example-repo/contributors + deployments_url: https://api.github.com/repos/octocat/example-repo/deployments + downloads_url: https://api.github.com/repos/octocat/example-repo/downloads + events_url: https://api.github.com/repos/octocat/example-repo/events + forks_url: https://api.github.com/repos/octocat/example-repo/forks + git_commits_url: https://api.github.com/repos/octocat/example-repo/git/commits{/sha} + git_refs_url: https://api.github.com/repos/octocat/example-repo/git/refs{/sha} + git_tags_url: https://api.github.com/repos/octocat/example-repo/git/tags{/sha} + issue_comment_url: https://api.github.com/repos/octocat/example-repo/issues/comments{/number} + issue_events_url: https://api.github.com/repos/octocat/example-repo/issues/events{/number} + issues_url: https://api.github.com/repos/octocat/example-repo/issues{/number} + keys_url: https://api.github.com/repos/octocat/example-repo/keys{/key_id} + labels_url: https://api.github.com/repos/octocat/example-repo/labels{/name} + languages_url: https://api.github.com/repos/octocat/example-repo/languages + merges_url: https://api.github.com/repos/octocat/example-repo/merges + milestones_url: https://api.github.com/repos/octocat/example-repo/milestones{/number} + notifications_url: https://api.github.com/repos/octocat/example-repo/notifications{?since,all,participating} + pulls_url: https://api.github.com/repos/octocat/example-repo/pulls{/number} + releases_url: https://api.github.com/repos/octocat/example-repo/releases{/id} + stargazers_url: https://api.github.com/repos/octocat/example-repo/stargazers + statuses_url: https://api.github.com/repos/octocat/example-repo/statuses/{sha} + subscribers_url: https://api.github.com/repos/octocat/example-repo/subscribers + subscription_url: https://api.github.com/repos/octocat/example-repo/subscription + tags_url: https://api.github.com/repos/octocat/example-repo/tags + teams_url: https://api.github.com/repos/octocat/example-repo/teams + trees_url: https://api.github.com/repos/octocat/example-repo/git/trees{/sha} + hooks_url: https://api.github.com/repos/octocat/example-repo/hooks enterprise-teams-items: value: - id: 1 @@ -219189,78 +219781,6 @@ components: custom_model_training_date: '2024-02-01' total_pr_summaries_created: 10 total_engaged_users: 4 - dependabot-repository-access-details: - value: - default_level: public - accessible_repositories: - - id: 123456 - node_id: MDEwOlJlcG9zaXRvcnkxMjM0NTY= - name: example-repo - full_name: octocat/example-repo - owner: - name: octocat - email: octo@github.com - login: octocat - id: 1 - node_id: MDQ6VXNlcjE= - avatar_url: https://avatars.githubusercontent.com/u/1?v=4 - gravatar_id: 1 - url: https://api.github.com/users/octocat - html_url: https://github.com/octocat/example-repo - followers_url: https://api.github.com/users/octocat/followers - following_url: https://api.github.com/users/octocat/following{/other_user} - gists_url: https://api.github.com/users/octocat/gists{/gist_id} - starred_url: https://api.github.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 - starred_at: '"2020-07-09T00:17:55Z"' - user_view_type: default - private: false - html_url: https://github.com/octocat/example-repo - description: This is an example repository. - fork: false - url: https://api.github.com/repos/octocat/example-repo - archive_url: https://api.github.com/repos/octocat/example-repo/{archive_format}{/ref} - assignees_url: https://api.github.com/repos/octocat/example-repo/assignees{/user} - blobs_url: https://api.github.com/repos/octocat/example-repo/git/blobs{/sha} - branches_url: https://api.github.com/repos/octocat/example-repo/branches{/branch} - collaborators_url: https://api.github.com/repos/octocat/example-repo/collaborators{/collaborator} - comments_url: https://api.github.com/repos/octocat/example-repo/comments{/number} - commits_url: https://api.github.com/repos/octocat/example-repo/commits{/sha} - compare_url: https://api.github.com/repos/octocat/example-repo/compare/{base}...{head} - contents_url: https://api.github.com/repos/octocat/example-repo/contents/{+path} - contributors_url: https://api.github.com/repos/octocat/example-repo/contributors - deployments_url: https://api.github.com/repos/octocat/example-repo/deployments - downloads_url: https://api.github.com/repos/octocat/example-repo/downloads - events_url: https://api.github.com/repos/octocat/example-repo/events - forks_url: https://api.github.com/repos/octocat/example-repo/forks - git_commits_url: https://api.github.com/repos/octocat/example-repo/git/commits{/sha} - git_refs_url: https://api.github.com/repos/octocat/example-repo/git/refs{/sha} - git_tags_url: https://api.github.com/repos/octocat/example-repo/git/tags{/sha} - issue_comment_url: https://api.github.com/repos/octocat/example-repo/issues/comments{/number} - issue_events_url: https://api.github.com/repos/octocat/example-repo/issues/events{/number} - issues_url: https://api.github.com/repos/octocat/example-repo/issues{/number} - keys_url: https://api.github.com/repos/octocat/example-repo/keys{/key_id} - labels_url: https://api.github.com/repos/octocat/example-repo/labels{/name} - languages_url: https://api.github.com/repos/octocat/example-repo/languages - merges_url: https://api.github.com/repos/octocat/example-repo/merges - milestones_url: https://api.github.com/repos/octocat/example-repo/milestones{/number} - notifications_url: https://api.github.com/repos/octocat/example-repo/notifications{?since,all,participating} - pulls_url: https://api.github.com/repos/octocat/example-repo/pulls{/number} - releases_url: https://api.github.com/repos/octocat/example-repo/releases{/id} - stargazers_url: https://api.github.com/repos/octocat/example-repo/stargazers - statuses_url: https://api.github.com/repos/octocat/example-repo/statuses/{sha} - subscribers_url: https://api.github.com/repos/octocat/example-repo/subscribers - subscription_url: https://api.github.com/repos/octocat/example-repo/subscription - tags_url: https://api.github.com/repos/octocat/example-repo/tags - teams_url: https://api.github.com/repos/octocat/example-repo/teams - trees_url: https://api.github.com/repos/octocat/example-repo/git/trees{/sha} - hooks_url: https://api.github.com/repos/octocat/example-repo/hooks organization-dependabot-secret-paginated: value: total_count: 3 diff --git a/descriptions/api.github.com/api.github.com.json b/descriptions/api.github.com/api.github.com.json index 2be99c03f4..9de8699f83 100644 --- a/descriptions/api.github.com/api.github.com.json +++ b/descriptions/api.github.com/api.github.com.json @@ -4136,6 +4136,236 @@ } } }, + "/enterprises/{enterprise}/dependabot/repository-access": { + "get": { + "summary": "Lists the repositories Dependabot can access in an enterprise", + "description": "Lists repositories that enterprise admins have allowed Dependabot to access when updating dependencies across organizations in the enterprise.\n\nThe authenticated user must be an enterprise owner to use this endpoint.", + "tags": [ + "dependabot" + ], + "operationId": "dependabot/repository-access-for-enterprise", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/dependabot/repository-access#lists-the-repositories-dependabot-can-access-in-an-enterprise" + }, + "parameters": [ + { + "$ref": "#/components/parameters/enterprise" + }, + { + "name": "page", + "in": "query", + "description": "The page number of results to fetch.", + "required": false, + "schema": { + "type": "integer", + "minimum": 1, + "default": 1 + } + }, + { + "name": "per_page", + "in": "query", + "description": "Number of results per page.", + "required": false, + "schema": { + "type": "integer", + "minimum": 1, + "maximum": 100, + "default": 30 + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/dependabot-repository-access-details" + }, + "examples": { + "default": { + "$ref": "#/components/examples/dependabot-repository-access-details" + } + } + } + } + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "404": { + "$ref": "#/components/responses/not_found" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": false, + "category": "dependabot", + "subcategory": "repository-access" + } + }, + "patch": { + "summary": "Updates Dependabot's repository access list for an enterprise", + "description": "Updates repositories according to the list of repositories that enterprise admins have given Dependabot access to when they've updated dependencies across organizations in the enterprise.\n\nThe authenticated user must be an enterprise owner to use this endpoint.\n\n**Example request body:**\n```json\n{\n \"repository_ids_to_add\": [123, 456],\n \"repository_ids_to_remove\": [789]\n}\n```", + "tags": [ + "dependabot" + ], + "operationId": "dependabot/update-repository-access-for-enterprise", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/dependabot/repository-access#updates-dependabots-repository-access-list-for-an-enterprise" + }, + "parameters": [ + { + "$ref": "#/components/parameters/enterprise" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "repository_ids_to_add": { + "type": "array", + "items": { + "type": "integer" + }, + "description": "List of repository IDs to add." + }, + "repository_ids_to_remove": { + "type": "array", + "items": { + "type": "integer" + }, + "description": "List of repository IDs to remove." + } + }, + "example": { + "repository_ids_to_add": [ + 123, + 456 + ], + "repository_ids_to_remove": [ + 789 + ] + } + }, + "examples": { + "204": { + "summary": "Example with a 'succeeded' status." + }, + "add-example": { + "summary": "Add repositories", + "value": { + "repository_ids_to_add": [ + 123, + 456 + ] + } + }, + "remove-example": { + "summary": "Remove repositories", + "value": { + "repository_ids_to_remove": [ + 789 + ] + } + } + } + } + } + }, + "responses": { + "204": { + "description": "Response" + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "404": { + "$ref": "#/components/responses/not_found" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": false, + "category": "dependabot", + "subcategory": "repository-access" + } + } + }, + "/enterprises/{enterprise}/dependabot/repository-access/default-level": { + "put": { + "summary": "Set the default repository access level for Dependabot in an enterprise", + "description": "Sets the default level of repository access Dependabot will have while performing an update across organizations in the enterprise. Available values are:\n- 'public' - Dependabot will only have access to public repositories, unless access is explicitly granted to non-public repositories.\n- 'internal' - Dependabot will only have access to public and internal repositories, unless access is explicitly granted to private repositories.\n\nThe authenticated user must be an enterprise owner to use this endpoint.", + "tags": [ + "dependabot" + ], + "operationId": "dependabot/set-repository-access-default-level-for-enterprise", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/dependabot/repository-access#set-the-default-repository-access-level-for-dependabot-in-an-enterprise" + }, + "parameters": [ + { + "$ref": "#/components/parameters/enterprise" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "default_level": { + "type": "string", + "description": "The default repository access level for Dependabot updates.", + "enum": [ + "public", + "internal" + ], + "example": "internal" + } + }, + "required": [ + "default_level" + ] + }, + "examples": { + "204": { + "summary": "Example with a 'succeeded' status.", + "value": { + "default_level": "public" + } + } + } + } + } + }, + "responses": { + "204": { + "description": "Response" + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "404": { + "$ref": "#/components/responses/not_found" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": false, + "category": "dependabot", + "subcategory": "repository-access" + } + } + }, "/enterprises/{enterprise}/teams": { "get": { "summary": "List enterprise teams", @@ -16957,6 +17187,9 @@ "schema": { "type": "object", "additionalProperties": false, + "required": [ + "selected_repository_ids" + ], "properties": { "selected_repository_ids": { "type": "array", @@ -86997,11 +87230,11 @@ } } }, - "issues-labeled": { + "issues-field-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": "A label was added to an issue.", - "operationId": "issues/labeled", + "description": "An issue field value was set or updated on an issue.", + "operationId": "issues/field-added", "externalDocs": { "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#issues" }, @@ -87068,7 +87301,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-issues-labeled" + "$ref": "#/components/schemas/webhook-issues-field-added" } } } @@ -87090,11 +87323,11 @@ } } }, - "issues-locked": { + "issues-field-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": "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 field value was cleared from an issue.", + "operationId": "issues/field-removed", "externalDocs": { "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#issues" }, @@ -87161,7 +87394,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-issues-locked" + "$ref": "#/components/schemas/webhook-issues-field-removed" } } } @@ -87183,11 +87416,11 @@ } } }, - "issues-milestoned": { + "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 added to a milestone.", - "operationId": "issues/milestoned", + "description": "A label was added to an issue.", + "operationId": "issues/labeled", "externalDocs": { "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#issues" }, @@ -87254,7 +87487,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-issues-milestoned" + "$ref": "#/components/schemas/webhook-issues-labeled" } } } @@ -87276,11 +87509,11 @@ } } }, - "issues-opened": { + "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 created. When a closed issue is reopened, the action will be `reopened` instead.", - "operationId": "issues/opened", + "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" }, @@ -87347,7 +87580,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-issues-opened" + "$ref": "#/components/schemas/webhook-issues-locked" } } } @@ -87369,11 +87602,11 @@ } } }, - "issues-pinned": { + "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 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": "An issue was added to a milestone.", + "operationId": "issues/milestoned", "externalDocs": { "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#issues" }, @@ -87440,7 +87673,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-issues-pinned" + "$ref": "#/components/schemas/webhook-issues-milestoned" } } } @@ -87462,11 +87695,11 @@ } } }, - "issues-reopened": { + "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": "A closed issue was reopened.", - "operationId": "issues/reopened", + "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" }, @@ -87533,7 +87766,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-issues-reopened" + "$ref": "#/components/schemas/webhook-issues-opened" } } } @@ -87555,11 +87788,11 @@ } } }, - "issues-transferred": { + "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 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 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" }, @@ -87626,7 +87859,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-issues-transferred" + "$ref": "#/components/schemas/webhook-issues-pinned" } } } @@ -87648,11 +87881,11 @@ } } }, - "issues-typed": { + "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": "An issue type was added to an issue.", - "operationId": "issues/typed", + "description": "A closed issue was reopened.", + "operationId": "issues/reopened", "externalDocs": { "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#issues" }, @@ -87719,7 +87952,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-issues-typed" + "$ref": "#/components/schemas/webhook-issues-reopened" } } } @@ -87741,11 +87974,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/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 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" }, @@ -87812,7 +88045,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-issues-unassigned" + "$ref": "#/components/schemas/webhook-issues-transferred" } } } @@ -87834,11 +88067,11 @@ } } }, - "issues-unlabeled": { + "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": "A label was removed from an issue.", - "operationId": "issues/unlabeled", + "description": "An issue type was added to an issue.", + "operationId": "issues/typed", "externalDocs": { "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#issues" }, @@ -87905,7 +88138,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-issues-unlabeled" + "$ref": "#/components/schemas/webhook-issues-typed" } } } @@ -87927,11 +88160,11 @@ } } }, - "issues-unlocked": { + "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": "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": "A user was unassigned from an issue.", + "operationId": "issues/unassigned", "externalDocs": { "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#issues" }, @@ -87998,7 +88231,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-issues-unlocked" + "$ref": "#/components/schemas/webhook-issues-unassigned" } } } @@ -88020,11 +88253,11 @@ } } }, - "issues-unpinned": { + "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 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 label was removed from an issue.", + "operationId": "issues/unlabeled", "externalDocs": { "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#issues" }, @@ -88091,7 +88324,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-issues-unpinned" + "$ref": "#/components/schemas/webhook-issues-unlabeled" } } } @@ -88113,11 +88346,11 @@ } } }, - "issues-untyped": { + "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/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": "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#issues" }, @@ -88184,7 +88417,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-issues-untyped" + "$ref": "#/components/schemas/webhook-issues-unlocked" } } } @@ -88206,13 +88439,13 @@ } } }, - "label-created": { + "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 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": "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": [ { @@ -88234,7 +88467,7 @@ { "name": "X-Github-Event", "in": "header", - "example": "label", + "example": "issues", "schema": { "type": "string" } @@ -88277,7 +88510,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-label-created" + "$ref": "#/components/schemas/webhook-issues-unpinned" } } } @@ -88290,7 +88523,7 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "label", + "subcategory": "issues", "supported-webhook-types": [ "repository", "organization", @@ -88299,11 +88532,104 @@ } } }, - "label-deleted": { + "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" + } + }, + { + "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-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 deleted.", - "operationId": "label/deleted", + "description": "A label was created.", + "operationId": "label/created", "externalDocs": { "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#label" }, @@ -88370,7 +88696,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-label-deleted" + "$ref": "#/components/schemas/webhook-label-created" } } } @@ -88392,11 +88718,11 @@ } } }, - "label-edited": { + "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's name, description, or color was changed.", - "operationId": "label/edited", + "description": "A label was deleted.", + "operationId": "label/deleted", "externalDocs": { "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#label" }, @@ -88463,7 +88789,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-label-edited" + "$ref": "#/components/schemas/webhook-label-deleted" } } } @@ -88485,13 +88811,13 @@ } } }, - "marketplace-purchase-cancelled": { + "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 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 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": [ { @@ -88513,7 +88839,7 @@ { "name": "X-Github-Event", "in": "header", - "example": "marketplace_purchase", + "example": "label", "schema": { "type": "string" } @@ -88556,7 +88882,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-marketplace-purchase-cancelled" + "$ref": "#/components/schemas/webhook-label-edited" } } } @@ -88569,18 +88895,20 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "marketplace_purchase", + "subcategory": "label", "supported-webhook-types": [ - "marketplace" + "repository", + "organization", + "app" ] } } }, - "marketplace-purchase-changed": { + "marketplace-purchase-cancelled": { "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", + "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#marketplace_purchase" }, @@ -88647,7 +88975,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-marketplace-purchase-changed" + "$ref": "#/components/schemas/webhook-marketplace-purchase-cancelled" } } } @@ -88667,11 +88995,11 @@ } } }, - "marketplace-purchase-pending-change": { + "marketplace-purchase-changed": { "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", + "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#marketplace_purchase" }, @@ -88738,7 +89066,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-marketplace-purchase-pending-change" + "$ref": "#/components/schemas/webhook-marketplace-purchase-changed" } } } @@ -88758,11 +89086,11 @@ } } }, - "marketplace-purchase-pending-change-cancelled": { + "marketplace-purchase-pending-change": { "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", + "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#marketplace_purchase" }, @@ -88829,7 +89157,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-marketplace-purchase-pending-change-cancelled" + "$ref": "#/components/schemas/webhook-marketplace-purchase-pending-change" } } } @@ -88849,11 +89177,11 @@ } } }, - "marketplace-purchase-purchased": { + "marketplace-purchase-pending-change-cancelled": { "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", + "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#marketplace_purchase" }, @@ -88920,7 +89248,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-marketplace-purchase-purchased" + "$ref": "#/components/schemas/webhook-marketplace-purchase-pending-change-cancelled" } } } @@ -88940,13 +89268,13 @@ } } }, - "member-added": { + "marketplace-purchase-purchased": { "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 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#member" + "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#marketplace_purchase" }, "parameters": [ { @@ -88968,7 +89296,7 @@ { "name": "X-Github-Event", "in": "header", - "example": "member", + "example": "marketplace_purchase", "schema": { "type": "string" } @@ -89011,7 +89339,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-member-added" + "$ref": "#/components/schemas/webhook-marketplace-purchase-purchased" } } } @@ -89024,21 +89352,18 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "member", + "subcategory": "marketplace_purchase", "supported-webhook-types": [ - "business", - "repository", - "organization", - "app" + "marketplace" ] } } }, - "member-edited": { + "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/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", + "description": "A GitHub user accepted an invitation to a repository.", + "operationId": "member/added", "externalDocs": { "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#member" }, @@ -89105,7 +89430,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-member-edited" + "$ref": "#/components/schemas/webhook-member-added" } } } @@ -89128,11 +89453,11 @@ } } }, - "member-removed": { + "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/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", + "description": "Permissions were changed for a collaborator on a repository.", + "operationId": "member/edited", "externalDocs": { "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#member" }, @@ -89199,7 +89524,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-member-removed" + "$ref": "#/components/schemas/webhook-member-edited" } } } @@ -89222,13 +89547,13 @@ } } }, - "membership-added": { + "member-removed": { "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 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#membership" + "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#member" }, "parameters": [ { @@ -89250,7 +89575,7 @@ { "name": "X-Github-Event", "in": "header", - "example": "membership", + "example": "member", "schema": { "type": "string" } @@ -89293,7 +89618,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-membership-added" + "$ref": "#/components/schemas/webhook-member-removed" } } } @@ -89306,20 +89631,21 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "membership", + "subcategory": "member", "supported-webhook-types": [ - "organization", "business", + "repository", + "organization", "app" ] } } }, - "membership-removed": { + "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/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", + "description": "An organization member was added to a team.", + "operationId": "membership/added", "externalDocs": { "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#membership" }, @@ -89386,7 +89712,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-membership-removed" + "$ref": "#/components/schemas/webhook-membership-added" } } } @@ -89408,16 +89734,13 @@ } } }, - "merge-group-checks-requested": { + "membership-removed": { "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 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#merge_group" + "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#membership" }, "parameters": [ { @@ -89439,7 +89762,7 @@ { "name": "X-Github-Event", "in": "header", - "example": "merge_group", + "example": "membership", "schema": { "type": "string" } @@ -89482,7 +89805,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-merge-group-checks-requested" + "$ref": "#/components/schemas/webhook-membership-removed" } } } @@ -89495,18 +89818,20 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "merge_group", + "subcategory": "membership", "supported-webhook-types": [ + "organization", + "business", "app" ] } } }, - "merge-group-destroyed": { + "merge-group-checks-requested": { "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", + "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" ], @@ -89576,7 +89901,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-merge-group-destroyed" + "$ref": "#/components/schemas/webhook-merge-group-checks-requested" } } } @@ -89596,201 +89921,16 @@ } } }, - "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/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": "meta", - "schema": { - "type": "string" - } - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { - "type": "string" - } - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { - "type": "string" - } - }, - { - "name": "X-GitHub-Delivery", - "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-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": { + "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 closed.", - "operationId": "milestone/closed", - "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": "milestone", - "schema": { - "type": "string" - } - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { - "type": "string" - } - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { - "type": "string" - } - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { - "type": "string" - } - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { - "type": "string" - } - } + "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" ], - "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/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" + "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#merge_group" }, "parameters": [ { @@ -89812,7 +89952,7 @@ { "name": "X-Github-Event", "in": "header", - "example": "milestone", + "example": "merge_group", "schema": { "type": "string" } @@ -89855,7 +89995,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-milestone-created" + "$ref": "#/components/schemas/webhook-merge-group-destroyed" } } } @@ -89868,22 +90008,20 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "milestone", + "subcategory": "merge_group", "supported-webhook-types": [ - "repository", - "organization", "app" ] } } }, - "milestone-deleted": { + "meta-deleted": { "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 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#milestone" + "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#meta" }, "parameters": [ { @@ -89905,7 +90043,7 @@ { "name": "X-Github-Event", "in": "header", - "example": "milestone", + "example": "meta", "schema": { "type": "string" } @@ -89948,7 +90086,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-milestone-deleted" + "$ref": "#/components/schemas/webhook-meta-deleted" } } } @@ -89961,8 +90099,10 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "milestone", + "subcategory": "meta", "supported-webhook-types": [ + "marketplace", + "business", "repository", "organization", "app" @@ -89970,11 +90110,11 @@ } } }, - "milestone-edited": { + "milestone-closed": { "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", + "description": "A milestone was closed.", + "operationId": "milestone/closed", "externalDocs": { "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#milestone" }, @@ -90041,7 +90181,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-milestone-edited" + "$ref": "#/components/schemas/webhook-milestone-closed" } } } @@ -90063,11 +90203,11 @@ } } }, - "milestone-opened": { + "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 opened.", - "operationId": "milestone/opened", + "description": "A milestone was created.", + "operationId": "milestone/created", "externalDocs": { "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#milestone" }, @@ -90134,100 +90274,7 @@ "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" - ] - } - } - }, - "org-block-blocked": { - "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", - "externalDocs": { - "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#org_block" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { - "type": "string" - } - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { - "type": "string" - } - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "org_block", - "schema": { - "type": "string" - } - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { - "type": "string" - } - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { - "type": "string" - } - }, - { - "name": "X-GitHub-Delivery", - "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-org-block-blocked" + "$ref": "#/components/schemas/webhook-milestone-created" } } } @@ -90240,22 +90287,22 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "org_block", + "subcategory": "milestone", "supported-webhook-types": [ + "repository", "organization", - "business", "app" ] } } }, - "org-block-unblocked": { + "milestone-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 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 deleted.", + "operationId": "milestone/deleted", "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": [ { @@ -90277,7 +90324,7 @@ { "name": "X-Github-Event", "in": "header", - "example": "org_block", + "example": "milestone", "schema": { "type": "string" } @@ -90320,7 +90367,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-org-block-unblocked" + "$ref": "#/components/schemas/webhook-milestone-deleted" } } } @@ -90333,22 +90380,22 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "org_block", + "subcategory": "milestone", "supported-webhook-types": [ + "repository", "organization", - "business", "app" ] } } }, - "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/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 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": [ { @@ -90370,7 +90417,7 @@ { "name": "X-Github-Event", "in": "header", - "example": "organization", + "example": "milestone", "schema": { "type": "string" } @@ -90413,7 +90460,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-organization-deleted" + "$ref": "#/components/schemas/webhook-milestone-edited" } } } @@ -90426,7 +90473,193 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "organization", + "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/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#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": "milestone", + "schema": { + "type": "string" + } + }, + { + "name": "X-Github-Hook-Installation-Target-Id", + "in": "header", + "example": 123123, + "schema": { + "type": "string" + } + }, + { + "name": "X-Github-Hook-Installation-Target-Type", + "in": "header", + "example": "repository", + "schema": { + "type": "string" + } + }, + { + "name": "X-GitHub-Delivery", + "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-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" + ] + } + } + }, + "org-block-blocked": { + "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", + "externalDocs": { + "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#org_block" + }, + "parameters": [ + { + "name": "User-Agent", + "in": "header", + "example": "GitHub-Hookshot/123abc", + "schema": { + "type": "string" + } + }, + { + "name": "X-Github-Hook-Id", + "in": "header", + "example": 12312312, + "schema": { + "type": "string" + } + }, + { + "name": "X-Github-Event", + "in": "header", + "example": "org_block", + "schema": { + "type": "string" + } + }, + { + "name": "X-Github-Hook-Installation-Target-Id", + "in": "header", + "example": 123123, + "schema": { + "type": "string" + } + }, + { + "name": "X-Github-Hook-Installation-Target-Type", + "in": "header", + "example": "repository", + "schema": { + "type": "string" + } + }, + { + "name": "X-GitHub-Delivery", + "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-org-block-blocked" + } + } + } + }, + "responses": { + "200": { + "description": "Return a 200 status to indicate that the data was received successfully" + } + }, + "x-github": { + "githubCloudOnly": false, + "category": "webhooks", + "subcategory": "org_block", "supported-webhook-types": [ "organization", "business", @@ -90435,13 +90668,13 @@ } } }, - "organization-member-added": { + "org-block-unblocked": { "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 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#organization" + "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#org_block" }, "parameters": [ { @@ -90463,7 +90696,7 @@ { "name": "X-Github-Event", "in": "header", - "example": "organization", + "example": "org_block", "schema": { "type": "string" } @@ -90506,7 +90739,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-organization-member-added" + "$ref": "#/components/schemas/webhook-org-block-unblocked" } } } @@ -90519,7 +90752,7 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "organization", + "subcategory": "org_block", "supported-webhook-types": [ "organization", "business", @@ -90528,11 +90761,11 @@ } } }, - "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/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", + "description": "An organization was deleted.", + "operationId": "organization/deleted", "externalDocs": { "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#organization" }, @@ -90599,7 +90832,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-organization-member-invited" + "$ref": "#/components/schemas/webhook-organization-deleted" } } } @@ -90621,11 +90854,11 @@ } } }, - "organization-member-removed": { + "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/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", + "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#organization" }, @@ -90692,7 +90925,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-organization-member-removed" + "$ref": "#/components/schemas/webhook-organization-member-added" } } } @@ -90714,11 +90947,11 @@ } } }, - "organization-renamed": { + "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/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", + "description": "A member was invited to join the organization.", + "operationId": "organization/member-invited", "externalDocs": { "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#organization" }, @@ -90785,7 +91018,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-organization-renamed" + "$ref": "#/components/schemas/webhook-organization-member-invited" } } } @@ -90807,13 +91040,13 @@ } } }, - "package-published": { + "organization-member-removed": { "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.", - "description": "A package was published to a registry.", - "operationId": "package/published", + "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#package" + "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#organization" }, "parameters": [ { @@ -90835,7 +91068,7 @@ { "name": "X-Github-Event", "in": "header", - "example": "package", + "example": "organization", "schema": { "type": "string" } @@ -90878,7 +91111,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-package-published" + "$ref": "#/components/schemas/webhook-organization-member-removed" } } } @@ -90891,21 +91124,22 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "package", + "subcategory": "organization", "supported-webhook-types": [ - "repository", - "organization" + "organization", + "business", + "app" ] } } }, - "package-updated": { + "organization-renamed": { "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.", - "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": "The name of an organization was changed.", + "operationId": "organization/renamed", "externalDocs": { - "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#package" + "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#organization" }, "parameters": [ { @@ -90927,7 +91161,7 @@ { "name": "X-Github-Event", "in": "header", - "example": "package", + "example": "organization", "schema": { "type": "string" } @@ -90970,7 +91204,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-package-updated" + "$ref": "#/components/schemas/webhook-organization-renamed" } } } @@ -90983,20 +91217,22 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "package", + "subcategory": "organization", "supported-webhook-types": [ - "repository", - "organization" + "organization", + "business", + "app" ] } } }, - "page-build": { + "package-published": { "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 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.", + "description": "A package was published to a registry.", + "operationId": "package/published", "externalDocs": { - "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#page_build" + "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#package" }, "parameters": [ { @@ -91018,7 +91254,7 @@ { "name": "X-Github-Event", "in": "header", - "example": "page_build", + "example": "package", "schema": { "type": "string" } @@ -91061,7 +91297,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-page-build" + "$ref": "#/components/schemas/webhook-package-published" } } } @@ -91074,22 +91310,21 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "page_build", + "subcategory": "package", "supported-webhook-types": [ "repository", - "organization", - "app" + "organization" ] } } }, - "personal-access-token-request-approved": { + "package-updated": { "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 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.", + "description": "A previously published package was updated.", + "operationId": "package/updated", "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#package" }, "parameters": [ { @@ -91100,6 +91335,38 @@ "type": "string" } }, + { + "name": "X-Github-Hook-Id", + "in": "header", + "example": 12312312, + "schema": { + "type": "string" + } + }, + { + "name": "X-Github-Event", + "in": "header", + "example": "package", + "schema": { + "type": "string" + } + }, + { + "name": "X-Github-Hook-Installation-Target-Id", + "in": "header", + "example": 123123, + "schema": { + "type": "string" + } + }, + { + "name": "X-Github-Hook-Installation-Target-Type", + "in": "header", + "example": "repository", + "schema": { + "type": "string" + } + }, { "name": "X-GitHub-Delivery", "in": "header", @@ -91109,9 +91376,52 @@ } }, { - "name": "X-Github-Event", + "name": "X-Hub-Signature-256", "in": "header", - "example": "personal_access_token_request", + "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", + "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" + ] + } + } + }, + "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/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#page_build" + }, + "parameters": [ + { + "name": "User-Agent", + "in": "header", + "example": "GitHub-Hookshot/123abc", "schema": { "type": "string" } @@ -91124,6 +91434,14 @@ "type": "string" } }, + { + "name": "X-Github-Event", + "in": "header", + "example": "page_build", + "schema": { + "type": "string" + } + }, { "name": "X-Github-Hook-Installation-Target-Id", "in": "header", @@ -91135,7 +91453,15 @@ { "name": "X-Github-Hook-Installation-Target-Type", "in": "header", - "example": "integration", + "example": "repository", + "schema": { + "type": "string" + } + }, + { + "name": "X-GitHub-Delivery", + "in": "header", + "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", "schema": { "type": "string" } @@ -91154,7 +91480,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-personal-access-token-request-approved" + "$ref": "#/components/schemas/webhook-page-build" } } } @@ -91167,19 +91493,20 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "personal_access_token_request", + "subcategory": "page_build", "supported-webhook-types": [ - "app", - "organization" + "repository", + "organization", + "app" ] } } }, - "personal-access-token-request-cancelled": { + "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/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", + "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#personal_access_token_request" }, @@ -91246,7 +91573,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-personal-access-token-request-cancelled" + "$ref": "#/components/schemas/webhook-personal-access-token-request-approved" } } } @@ -91267,11 +91594,11 @@ } } }, - "personal-access-token-request-created": { + "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 created.", - "operationId": "personal-access-token-request/created", + "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" }, @@ -91338,7 +91665,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-personal-access-token-request-created" + "$ref": "#/components/schemas/webhook-personal-access-token-request-cancelled" } } } @@ -91359,11 +91686,11 @@ } } }, - "personal-access-token-request-denied": { + "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/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", + "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#personal_access_token_request" }, @@ -91430,7 +91757,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-personal-access-token-request-denied" + "$ref": "#/components/schemas/webhook-personal-access-token-request-created" } } } @@ -91451,12 +91778,13 @@ } } }, - "ping": { + "personal-access-token-request-denied": { "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 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#ping" + "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#personal_access_token_request" }, "parameters": [ { @@ -91468,9 +91796,9 @@ } }, { - "name": "X-Github-Hook-Id", + "name": "X-GitHub-Delivery", "in": "header", - "example": 12312312, + "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", "schema": { "type": "string" } @@ -91478,31 +91806,31 @@ { "name": "X-Github-Event", "in": "header", - "example": "ping", + "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" } @@ -91521,22 +91849,7 @@ "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-personal-access-token-request-denied" } } } @@ -91548,26 +91861,132 @@ }, "x-github": { "githubCloudOnly": false, - "enabledForGitHubApps": true, "category": "webhooks", - "subcategory": "ping", + "subcategory": "personal_access_token_request", "supported-webhook-types": [ - "repository", - "organization", "app", - "business", - "marketplace" + "organization" ] } } }, - "project-card-converted": { + "ping": { "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 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_card" + "url": "https://docs.github.com/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": "ping", + "schema": { + "type": "string" + } + }, + { + "name": "X-Github-Hook-Installation-Target-Id", + "in": "header", + "example": 123123, + "schema": { + "type": "string" + } + }, + { + "name": "X-Github-Hook-Installation-Target-Type", + "in": "header", + "example": "repository", + "schema": { + "type": "string" + } + }, + { + "name": "X-GitHub-Delivery", + "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-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/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_card" }, "parameters": [ { @@ -108568,6 +108987,329 @@ ], "additionalProperties": false }, + "nullable-simple-repository": { + "title": "Simple Repository", + "description": "A GitHub repository.", + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "example": 1296269, + "description": "A unique identifier of the repository." + }, + "node_id": { + "type": "string", + "example": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5", + "description": "The GraphQL identifier of the repository." + }, + "name": { + "type": "string", + "example": "Hello-World", + "description": "The name of the repository." + }, + "full_name": { + "type": "string", + "example": "octocat/Hello-World", + "description": "The full, globally unique, name of the repository." + }, + "owner": { + "$ref": "#/components/schemas/simple-user" + }, + "private": { + "type": "boolean", + "description": "Whether the repository is private." + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat/Hello-World", + "description": "The URL to view the repository on GitHub.com." + }, + "description": { + "type": "string", + "example": "This your first repo!", + "nullable": true, + "description": "The repository description." + }, + "fork": { + "type": "boolean", + "description": "Whether the repository is a fork." + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octocat/Hello-World", + "description": "The URL to get more information about the repository from the GitHub API." + }, + "archive_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}", + "description": "A template for the API URL to download the repository as an archive." + }, + "assignees_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/assignees{/user}", + "description": "A template for the API URL to list the available assignees for issues in the repository." + }, + "blobs_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}", + "description": "A template for the API URL to create or retrieve a raw Git blob in the repository." + }, + "branches_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/branches{/branch}", + "description": "A template for the API URL to get information about branches in the repository." + }, + "collaborators_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}", + "description": "A template for the API URL to get information about collaborators of the repository." + }, + "comments_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/comments{/number}", + "description": "A template for the API URL to get information about comments on the repository." + }, + "commits_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/commits{/sha}", + "description": "A template for the API URL to get information about commits on the repository." + }, + "compare_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}", + "description": "A template for the API URL to compare two commits or refs." + }, + "contents_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/contents/{+path}", + "description": "A template for the API URL to get the contents of the repository." + }, + "contributors_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octocat/Hello-World/contributors", + "description": "A template for the API URL to list the contributors to the repository." + }, + "deployments_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octocat/Hello-World/deployments", + "description": "The API URL to list the deployments of the repository." + }, + "downloads_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octocat/Hello-World/downloads", + "description": "The API URL to list the downloads on the repository." + }, + "events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octocat/Hello-World/events", + "description": "The API URL to list the events of the repository." + }, + "forks_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octocat/Hello-World/forks", + "description": "The API URL to list the forks of the repository." + }, + "git_commits_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/git/commits{/sha}", + "description": "A template for the API URL to get information about Git commits of the repository." + }, + "git_refs_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/git/refs{/sha}", + "description": "A template for the API URL to get information about Git refs of the repository." + }, + "git_tags_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/git/tags{/sha}", + "description": "A template for the API URL to get information about Git tags of the repository." + }, + "issue_comment_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/issues/comments{/number}", + "description": "A template for the API URL to get information about issue comments on the repository." + }, + "issue_events_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/issues/events{/number}", + "description": "A template for the API URL to get information about issue events on the repository." + }, + "issues_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/issues{/number}", + "description": "A template for the API URL to get information about issues on the repository." + }, + "keys_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/keys{/key_id}", + "description": "A template for the API URL to get information about deploy keys on the repository." + }, + "labels_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/labels{/name}", + "description": "A template for the API URL to get information about labels of the repository." + }, + "languages_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octocat/Hello-World/languages", + "description": "The API URL to get information about the languages of the repository." + }, + "merges_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octocat/Hello-World/merges", + "description": "The API URL to merge branches in the repository." + }, + "milestones_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/milestones{/number}", + "description": "A template for the API URL to get information about milestones of the repository." + }, + "notifications_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}", + "description": "A template for the API URL to get information about notifications on the repository." + }, + "pulls_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/pulls{/number}", + "description": "A template for the API URL to get information about pull requests on the repository." + }, + "releases_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/releases{/id}", + "description": "A template for the API URL to get information about releases on the repository." + }, + "stargazers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octocat/Hello-World/stargazers", + "description": "The API URL to list the stargazers on the repository." + }, + "statuses_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/statuses/{sha}", + "description": "A template for the API URL to get information about statuses of a commit." + }, + "subscribers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octocat/Hello-World/subscribers", + "description": "The API URL to list the subscribers on the repository." + }, + "subscription_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octocat/Hello-World/subscription", + "description": "The API URL to subscribe to notifications for this repository." + }, + "tags_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octocat/Hello-World/tags", + "description": "The API URL to get information about tags on the repository." + }, + "teams_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octocat/Hello-World/teams", + "description": "The API URL to list the teams on the repository." + }, + "trees_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/git/trees{/sha}", + "description": "A template for the API URL to create or retrieve a raw Git tree of the repository." + }, + "hooks_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octocat/Hello-World/hooks", + "description": "The API URL to list the hooks on the 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" + ], + "nullable": true + }, + "dependabot-repository-access-details": { + "title": "Dependabot Repository Access Details", + "description": "Information about repositories that Dependabot is able to access in an organization", + "type": "object", + "properties": { + "default_level": { + "type": "string", + "description": "The default repository access level for Dependabot updates.", + "enum": [ + "public", + "internal" + ], + "example": "internal", + "nullable": true + }, + "accessible_repositories": { + "type": "array", + "items": { + "$ref": "#/components/schemas/nullable-simple-repository" + } + } + }, + "additionalProperties": false + }, "enterprise-team": { "title": "Enterprise Team", "description": "Group of enterprise owners and/or members", @@ -116365,329 +117107,6 @@ ], "additionalProperties": true }, - "nullable-simple-repository": { - "title": "Simple Repository", - "description": "A GitHub repository.", - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "example": 1296269, - "description": "A unique identifier of the repository." - }, - "node_id": { - "type": "string", - "example": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5", - "description": "The GraphQL identifier of the repository." - }, - "name": { - "type": "string", - "example": "Hello-World", - "description": "The name of the repository." - }, - "full_name": { - "type": "string", - "example": "octocat/Hello-World", - "description": "The full, globally unique, name of the repository." - }, - "owner": { - "$ref": "#/components/schemas/simple-user" - }, - "private": { - "type": "boolean", - "description": "Whether the repository is private." - }, - "html_url": { - "type": "string", - "format": "uri", - "example": "https://github.com/octocat/Hello-World", - "description": "The URL to view the repository on GitHub.com." - }, - "description": { - "type": "string", - "example": "This your first repo!", - "nullable": true, - "description": "The repository description." - }, - "fork": { - "type": "boolean", - "description": "Whether the repository is a fork." - }, - "url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/repos/octocat/Hello-World", - "description": "The URL to get more information about the repository from the GitHub API." - }, - "archive_url": { - "type": "string", - "example": "https://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}", - "description": "A template for the API URL to download the repository as an archive." - }, - "assignees_url": { - "type": "string", - "example": "https://api.github.com/repos/octocat/Hello-World/assignees{/user}", - "description": "A template for the API URL to list the available assignees for issues in the repository." - }, - "blobs_url": { - "type": "string", - "example": "https://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}", - "description": "A template for the API URL to create or retrieve a raw Git blob in the repository." - }, - "branches_url": { - "type": "string", - "example": "https://api.github.com/repos/octocat/Hello-World/branches{/branch}", - "description": "A template for the API URL to get information about branches in the repository." - }, - "collaborators_url": { - "type": "string", - "example": "https://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}", - "description": "A template for the API URL to get information about collaborators of the repository." - }, - "comments_url": { - "type": "string", - "example": "https://api.github.com/repos/octocat/Hello-World/comments{/number}", - "description": "A template for the API URL to get information about comments on the repository." - }, - "commits_url": { - "type": "string", - "example": "https://api.github.com/repos/octocat/Hello-World/commits{/sha}", - "description": "A template for the API URL to get information about commits on the repository." - }, - "compare_url": { - "type": "string", - "example": "https://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}", - "description": "A template for the API URL to compare two commits or refs." - }, - "contents_url": { - "type": "string", - "example": "https://api.github.com/repos/octocat/Hello-World/contents/{+path}", - "description": "A template for the API URL to get the contents of the repository." - }, - "contributors_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/repos/octocat/Hello-World/contributors", - "description": "A template for the API URL to list the contributors to the repository." - }, - "deployments_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/repos/octocat/Hello-World/deployments", - "description": "The API URL to list the deployments of the repository." - }, - "downloads_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/repos/octocat/Hello-World/downloads", - "description": "The API URL to list the downloads on the repository." - }, - "events_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/repos/octocat/Hello-World/events", - "description": "The API URL to list the events of the repository." - }, - "forks_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/repos/octocat/Hello-World/forks", - "description": "The API URL to list the forks of the repository." - }, - "git_commits_url": { - "type": "string", - "example": "https://api.github.com/repos/octocat/Hello-World/git/commits{/sha}", - "description": "A template for the API URL to get information about Git commits of the repository." - }, - "git_refs_url": { - "type": "string", - "example": "https://api.github.com/repos/octocat/Hello-World/git/refs{/sha}", - "description": "A template for the API URL to get information about Git refs of the repository." - }, - "git_tags_url": { - "type": "string", - "example": "https://api.github.com/repos/octocat/Hello-World/git/tags{/sha}", - "description": "A template for the API URL to get information about Git tags of the repository." - }, - "issue_comment_url": { - "type": "string", - "example": "https://api.github.com/repos/octocat/Hello-World/issues/comments{/number}", - "description": "A template for the API URL to get information about issue comments on the repository." - }, - "issue_events_url": { - "type": "string", - "example": "https://api.github.com/repos/octocat/Hello-World/issues/events{/number}", - "description": "A template for the API URL to get information about issue events on the repository." - }, - "issues_url": { - "type": "string", - "example": "https://api.github.com/repos/octocat/Hello-World/issues{/number}", - "description": "A template for the API URL to get information about issues on the repository." - }, - "keys_url": { - "type": "string", - "example": "https://api.github.com/repos/octocat/Hello-World/keys{/key_id}", - "description": "A template for the API URL to get information about deploy keys on the repository." - }, - "labels_url": { - "type": "string", - "example": "https://api.github.com/repos/octocat/Hello-World/labels{/name}", - "description": "A template for the API URL to get information about labels of the repository." - }, - "languages_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/repos/octocat/Hello-World/languages", - "description": "The API URL to get information about the languages of the repository." - }, - "merges_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/repos/octocat/Hello-World/merges", - "description": "The API URL to merge branches in the repository." - }, - "milestones_url": { - "type": "string", - "example": "https://api.github.com/repos/octocat/Hello-World/milestones{/number}", - "description": "A template for the API URL to get information about milestones of the repository." - }, - "notifications_url": { - "type": "string", - "example": "https://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}", - "description": "A template for the API URL to get information about notifications on the repository." - }, - "pulls_url": { - "type": "string", - "example": "https://api.github.com/repos/octocat/Hello-World/pulls{/number}", - "description": "A template for the API URL to get information about pull requests on the repository." - }, - "releases_url": { - "type": "string", - "example": "https://api.github.com/repos/octocat/Hello-World/releases{/id}", - "description": "A template for the API URL to get information about releases on the repository." - }, - "stargazers_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/repos/octocat/Hello-World/stargazers", - "description": "The API URL to list the stargazers on the repository." - }, - "statuses_url": { - "type": "string", - "example": "https://api.github.com/repos/octocat/Hello-World/statuses/{sha}", - "description": "A template for the API URL to get information about statuses of a commit." - }, - "subscribers_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/repos/octocat/Hello-World/subscribers", - "description": "The API URL to list the subscribers on the repository." - }, - "subscription_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/repos/octocat/Hello-World/subscription", - "description": "The API URL to subscribe to notifications for this repository." - }, - "tags_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/repos/octocat/Hello-World/tags", - "description": "The API URL to get information about tags on the repository." - }, - "teams_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/repos/octocat/Hello-World/teams", - "description": "The API URL to list the teams on the repository." - }, - "trees_url": { - "type": "string", - "example": "https://api.github.com/repos/octocat/Hello-World/git/trees{/sha}", - "description": "A template for the API URL to create or retrieve a raw Git tree of the repository." - }, - "hooks_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/repos/octocat/Hello-World/hooks", - "description": "The API URL to list the hooks on the 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" - ], - "nullable": true - }, - "dependabot-repository-access-details": { - "title": "Dependabot Repository Access Details", - "description": "Information about repositories that Dependabot is able to access in an organization", - "type": "object", - "properties": { - "default_level": { - "type": "string", - "description": "The default repository access level for Dependabot updates.", - "enum": [ - "public", - "internal" - ], - "example": "internal", - "nullable": true - }, - "accessible_repositories": { - "type": "array", - "items": { - "$ref": "#/components/schemas/nullable-simple-repository" - } - } - }, - "additionalProperties": false - }, "organization-dependabot-secret": { "title": "Dependabot Secret for an Organization", "description": "Secrets for GitHub Dependabot for an organization.", @@ -184295,6 +184714,306 @@ "sender" ] }, + "webhook-issues-field-added": { + "title": "issues field_added event", + "type": "object", + "properties": { + "action": { + "type": "string", + "enum": [ + "field_added" + ] + }, + "enterprise": { + "$ref": "#/components/schemas/enterprise-webhooks" + }, + "installation": { + "$ref": "#/components/schemas/simple-installation" + }, + "issue": { + "$ref": "#/components/schemas/webhooks_issue" + }, + "issue_field": { + "type": "object", + "description": "The issue field whose value was set or updated on the issue.", + "properties": { + "id": { + "type": "integer", + "description": "The unique identifier of the issue field." + }, + "name": { + "type": "string", + "description": "The name of the issue field." + }, + "field_type": { + "type": "string", + "description": "The data type of the issue field.", + "enum": [ + "text", + "date", + "single_select", + "number" + ] + } + }, + "required": [ + "id", + "name", + "field_type" + ] + }, + "issue_field_value": { + "type": "object", + "description": "The value that was set or updated for the issue field. When updating an existing value, the previous value is available in `changes`.", + "properties": { + "id": { + "type": "integer", + "description": "The unique identifier of the issue field value." + }, + "value": { + "description": "The value of the field. Present for text, date, and number field types.", + "nullable": true, + "anyOf": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "integer" + } + ] + }, + "value_id": { + "type": "integer", + "description": "The identifier of the selected option. Present for single_select field types." + }, + "option": { + "type": "object", + "description": "The selected option details. Present for single_select field types.", + "properties": { + "id": { + "type": "integer" + }, + "name": { + "type": "string" + }, + "color": { + "type": "string" + }, + "description": { + "type": "string", + "nullable": true + } + } + } + }, + "required": [ + "id" + ] + }, + "changes": { + "type": "object", + "description": "The previous field value, present when an existing value was updated.", + "properties": { + "issue_field_value": { + "type": "object", + "description": "The previous issue field value data.", + "properties": { + "from": { + "type": "object", + "description": "The previous value of the issue field before the update.", + "properties": { + "id": { + "type": "integer", + "description": "The unique identifier of the issue field value." + }, + "value": { + "description": "The previous value. Present for text, date, and number field types.", + "nullable": true, + "anyOf": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "integer" + } + ] + }, + "value_id": { + "type": "integer", + "description": "The identifier of the previously selected option. Present for single_select field types." + }, + "option": { + "type": "object", + "description": "The previously selected option details. Present for single_select field types.", + "properties": { + "id": { + "type": "integer" + }, + "name": { + "type": "string" + }, + "color": { + "type": "string" + }, + "description": { + "type": "string", + "nullable": true + } + } + } + }, + "required": [ + "id" + ] + } + }, + "required": [ + "from" + ] + } + } + }, + "organization": { + "$ref": "#/components/schemas/organization-simple-webhooks" + }, + "repository": { + "$ref": "#/components/schemas/repository-webhooks" + }, + "sender": { + "$ref": "#/components/schemas/simple-user" + } + }, + "required": [ + "action", + "issue", + "issue_field", + "repository", + "sender" + ] + }, + "webhook-issues-field-removed": { + "title": "issues field_removed event", + "type": "object", + "properties": { + "action": { + "type": "string", + "enum": [ + "field_removed" + ] + }, + "enterprise": { + "$ref": "#/components/schemas/enterprise-webhooks" + }, + "installation": { + "$ref": "#/components/schemas/simple-installation" + }, + "issue": { + "$ref": "#/components/schemas/webhooks_issue" + }, + "issue_field": { + "type": "object", + "description": "The issue field whose value was cleared from the issue.", + "properties": { + "id": { + "type": "integer", + "description": "The unique identifier of the issue field." + }, + "name": { + "type": "string", + "description": "The name of the issue field." + }, + "field_type": { + "type": "string", + "description": "The data type of the issue field.", + "enum": [ + "text", + "date", + "single_select", + "number" + ] + } + }, + "required": [ + "id", + "name", + "field_type" + ] + }, + "issue_field_value": { + "type": "object", + "description": "The value that was cleared from the issue field.", + "properties": { + "id": { + "type": "integer", + "description": "The unique identifier of the issue field value." + }, + "value": { + "description": "The value of the field. Present for text, date, and number field types.", + "nullable": true, + "anyOf": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "integer" + } + ] + }, + "value_id": { + "type": "integer", + "description": "The identifier of the selected option. Present for single_select field types." + }, + "option": { + "type": "object", + "description": "The selected option details. Present for single_select field types.", + "properties": { + "id": { + "type": "integer" + }, + "name": { + "type": "string" + }, + "color": { + "type": "string" + }, + "description": { + "type": "string", + "nullable": true + } + } + } + }, + "required": [ + "id" + ] + }, + "organization": { + "$ref": "#/components/schemas/organization-simple-webhooks" + }, + "repository": { + "$ref": "#/components/schemas/repository-webhooks" + }, + "sender": { + "$ref": "#/components/schemas/simple-user" + } + }, + "required": [ + "action", + "issue", + "issue_field", + "repository", + "sender" + ] + }, "webhook-issues-labeled": { "title": "issues labeled event", "type": "object", @@ -290923,6 +291642,84 @@ } ] }, + "dependabot-repository-access-details": { + "value": { + "default_level": "public", + "accessible_repositories": [ + { + "id": 123456, + "node_id": "MDEwOlJlcG9zaXRvcnkxMjM0NTY=", + "name": "example-repo", + "full_name": "octocat/example-repo", + "owner": { + "name": "octocat", + "email": "octo@github.com", + "login": "octocat", + "id": 1, + "node_id": "MDQ6VXNlcjE=", + "avatar_url": "https://avatars.githubusercontent.com/u/1?v=4", + "gravatar_id": 1, + "url": "https://api.github.com/users/octocat", + "html_url": "https://github.com/octocat/example-repo", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "starred_url": "https://api.github.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, + "starred_at": "\"2020-07-09T00:17:55Z\"", + "user_view_type": "default" + }, + "private": false, + "html_url": "https://github.com/octocat/example-repo", + "description": "This is an example repository.", + "fork": false, + "url": "https://api.github.com/repos/octocat/example-repo", + "archive_url": "https://api.github.com/repos/octocat/example-repo/{archive_format}{/ref}", + "assignees_url": "https://api.github.com/repos/octocat/example-repo/assignees{/user}", + "blobs_url": "https://api.github.com/repos/octocat/example-repo/git/blobs{/sha}", + "branches_url": "https://api.github.com/repos/octocat/example-repo/branches{/branch}", + "collaborators_url": "https://api.github.com/repos/octocat/example-repo/collaborators{/collaborator}", + "comments_url": "https://api.github.com/repos/octocat/example-repo/comments{/number}", + "commits_url": "https://api.github.com/repos/octocat/example-repo/commits{/sha}", + "compare_url": "https://api.github.com/repos/octocat/example-repo/compare/{base}...{head}", + "contents_url": "https://api.github.com/repos/octocat/example-repo/contents/{+path}", + "contributors_url": "https://api.github.com/repos/octocat/example-repo/contributors", + "deployments_url": "https://api.github.com/repos/octocat/example-repo/deployments", + "downloads_url": "https://api.github.com/repos/octocat/example-repo/downloads", + "events_url": "https://api.github.com/repos/octocat/example-repo/events", + "forks_url": "https://api.github.com/repos/octocat/example-repo/forks", + "git_commits_url": "https://api.github.com/repos/octocat/example-repo/git/commits{/sha}", + "git_refs_url": "https://api.github.com/repos/octocat/example-repo/git/refs{/sha}", + "git_tags_url": "https://api.github.com/repos/octocat/example-repo/git/tags{/sha}", + "issue_comment_url": "https://api.github.com/repos/octocat/example-repo/issues/comments{/number}", + "issue_events_url": "https://api.github.com/repos/octocat/example-repo/issues/events{/number}", + "issues_url": "https://api.github.com/repos/octocat/example-repo/issues{/number}", + "keys_url": "https://api.github.com/repos/octocat/example-repo/keys{/key_id}", + "labels_url": "https://api.github.com/repos/octocat/example-repo/labels{/name}", + "languages_url": "https://api.github.com/repos/octocat/example-repo/languages", + "merges_url": "https://api.github.com/repos/octocat/example-repo/merges", + "milestones_url": "https://api.github.com/repos/octocat/example-repo/milestones{/number}", + "notifications_url": "https://api.github.com/repos/octocat/example-repo/notifications{?since,all,participating}", + "pulls_url": "https://api.github.com/repos/octocat/example-repo/pulls{/number}", + "releases_url": "https://api.github.com/repos/octocat/example-repo/releases{/id}", + "stargazers_url": "https://api.github.com/repos/octocat/example-repo/stargazers", + "statuses_url": "https://api.github.com/repos/octocat/example-repo/statuses/{sha}", + "subscribers_url": "https://api.github.com/repos/octocat/example-repo/subscribers", + "subscription_url": "https://api.github.com/repos/octocat/example-repo/subscription", + "tags_url": "https://api.github.com/repos/octocat/example-repo/tags", + "teams_url": "https://api.github.com/repos/octocat/example-repo/teams", + "trees_url": "https://api.github.com/repos/octocat/example-repo/git/trees{/sha}", + "hooks_url": "https://api.github.com/repos/octocat/example-repo/hooks" + } + ] + } + }, "enterprise-teams-items": { "value": [ { @@ -295371,84 +296168,6 @@ } ] }, - "dependabot-repository-access-details": { - "value": { - "default_level": "public", - "accessible_repositories": [ - { - "id": 123456, - "node_id": "MDEwOlJlcG9zaXRvcnkxMjM0NTY=", - "name": "example-repo", - "full_name": "octocat/example-repo", - "owner": { - "name": "octocat", - "email": "octo@github.com", - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://avatars.githubusercontent.com/u/1?v=4", - "gravatar_id": 1, - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat/example-repo", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.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, - "starred_at": "\"2020-07-09T00:17:55Z\"", - "user_view_type": "default" - }, - "private": false, - "html_url": "https://github.com/octocat/example-repo", - "description": "This is an example repository.", - "fork": false, - "url": "https://api.github.com/repos/octocat/example-repo", - "archive_url": "https://api.github.com/repos/octocat/example-repo/{archive_format}{/ref}", - "assignees_url": "https://api.github.com/repos/octocat/example-repo/assignees{/user}", - "blobs_url": "https://api.github.com/repos/octocat/example-repo/git/blobs{/sha}", - "branches_url": "https://api.github.com/repos/octocat/example-repo/branches{/branch}", - "collaborators_url": "https://api.github.com/repos/octocat/example-repo/collaborators{/collaborator}", - "comments_url": "https://api.github.com/repos/octocat/example-repo/comments{/number}", - "commits_url": "https://api.github.com/repos/octocat/example-repo/commits{/sha}", - "compare_url": "https://api.github.com/repos/octocat/example-repo/compare/{base}...{head}", - "contents_url": "https://api.github.com/repos/octocat/example-repo/contents/{+path}", - "contributors_url": "https://api.github.com/repos/octocat/example-repo/contributors", - "deployments_url": "https://api.github.com/repos/octocat/example-repo/deployments", - "downloads_url": "https://api.github.com/repos/octocat/example-repo/downloads", - "events_url": "https://api.github.com/repos/octocat/example-repo/events", - "forks_url": "https://api.github.com/repos/octocat/example-repo/forks", - "git_commits_url": "https://api.github.com/repos/octocat/example-repo/git/commits{/sha}", - "git_refs_url": "https://api.github.com/repos/octocat/example-repo/git/refs{/sha}", - "git_tags_url": "https://api.github.com/repos/octocat/example-repo/git/tags{/sha}", - "issue_comment_url": "https://api.github.com/repos/octocat/example-repo/issues/comments{/number}", - "issue_events_url": "https://api.github.com/repos/octocat/example-repo/issues/events{/number}", - "issues_url": "https://api.github.com/repos/octocat/example-repo/issues{/number}", - "keys_url": "https://api.github.com/repos/octocat/example-repo/keys{/key_id}", - "labels_url": "https://api.github.com/repos/octocat/example-repo/labels{/name}", - "languages_url": "https://api.github.com/repos/octocat/example-repo/languages", - "merges_url": "https://api.github.com/repos/octocat/example-repo/merges", - "milestones_url": "https://api.github.com/repos/octocat/example-repo/milestones{/number}", - "notifications_url": "https://api.github.com/repos/octocat/example-repo/notifications{?since,all,participating}", - "pulls_url": "https://api.github.com/repos/octocat/example-repo/pulls{/number}", - "releases_url": "https://api.github.com/repos/octocat/example-repo/releases{/id}", - "stargazers_url": "https://api.github.com/repos/octocat/example-repo/stargazers", - "statuses_url": "https://api.github.com/repos/octocat/example-repo/statuses/{sha}", - "subscribers_url": "https://api.github.com/repos/octocat/example-repo/subscribers", - "subscription_url": "https://api.github.com/repos/octocat/example-repo/subscription", - "tags_url": "https://api.github.com/repos/octocat/example-repo/tags", - "teams_url": "https://api.github.com/repos/octocat/example-repo/teams", - "trees_url": "https://api.github.com/repos/octocat/example-repo/git/trees{/sha}", - "hooks_url": "https://api.github.com/repos/octocat/example-repo/hooks" - } - ] - } - }, "organization-dependabot-secret-paginated": { "value": { "total_count": 3, diff --git a/descriptions/api.github.com/api.github.com.yaml b/descriptions/api.github.com/api.github.com.yaml index 39e4b63ca7..5d163cfead 100644 --- a/descriptions/api.github.com/api.github.com.yaml +++ b/descriptions/api.github.com/api.github.com.yaml @@ -2999,6 +2999,179 @@ paths: previews: [] category: dependabot subcategory: alerts + "/enterprises/{enterprise}/dependabot/repository-access": + get: + summary: Lists the repositories Dependabot can access in an enterprise + description: |- + Lists repositories that enterprise admins have allowed Dependabot to access when updating dependencies across organizations in the enterprise. + + The authenticated user must be an enterprise owner to use this endpoint. + tags: + - dependabot + operationId: dependabot/repository-access-for-enterprise + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/dependabot/repository-access#lists-the-repositories-dependabot-can-access-in-an-enterprise + parameters: + - "$ref": "#/components/parameters/enterprise" + - name: page + in: query + description: The page number of results to fetch. + required: false + schema: + type: integer + minimum: 1 + default: 1 + - name: per_page + in: query + description: Number of results per page. + required: false + schema: + type: integer + minimum: 1 + maximum: 100 + default: 30 + responses: + '200': + description: Response + content: + application/json: + schema: + "$ref": "#/components/schemas/dependabot-repository-access-details" + examples: + default: + "$ref": "#/components/examples/dependabot-repository-access-details" + '403': + "$ref": "#/components/responses/forbidden" + '404': + "$ref": "#/components/responses/not_found" + x-github: + githubCloudOnly: false + enabledForGitHubApps: false + category: dependabot + subcategory: repository-access + patch: + summary: Updates Dependabot's repository access list for an enterprise + description: |- + Updates repositories according to the list of repositories that enterprise admins have given Dependabot access to when they've updated dependencies across organizations in the enterprise. + + The authenticated user must be an enterprise owner to use this endpoint. + + **Example request body:** + ```json + { + "repository_ids_to_add": [123, 456], + "repository_ids_to_remove": [789] + } + ``` + tags: + - dependabot + operationId: dependabot/update-repository-access-for-enterprise + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/dependabot/repository-access#updates-dependabots-repository-access-list-for-an-enterprise + parameters: + - "$ref": "#/components/parameters/enterprise" + requestBody: + required: true + content: + application/json: + schema: + type: object + properties: + repository_ids_to_add: + type: array + items: + type: integer + description: List of repository IDs to add. + repository_ids_to_remove: + type: array + items: + type: integer + description: List of repository IDs to remove. + example: + repository_ids_to_add: + - 123 + - 456 + repository_ids_to_remove: + - 789 + examples: + '204': + summary: Example with a 'succeeded' status. + add-example: + summary: Add repositories + value: + repository_ids_to_add: + - 123 + - 456 + remove-example: + summary: Remove repositories + value: + repository_ids_to_remove: + - 789 + responses: + '204': + description: Response + '403': + "$ref": "#/components/responses/forbidden" + '404': + "$ref": "#/components/responses/not_found" + x-github: + githubCloudOnly: false + enabledForGitHubApps: false + category: dependabot + subcategory: repository-access + "/enterprises/{enterprise}/dependabot/repository-access/default-level": + put: + summary: Set the default repository access level for Dependabot in an enterprise + description: |- + Sets the default level of repository access Dependabot will have while performing an update across organizations in the enterprise. Available values are: + - 'public' - Dependabot will only have access to public repositories, unless access is explicitly granted to non-public repositories. + - 'internal' - Dependabot will only have access to public and internal repositories, unless access is explicitly granted to private repositories. + + The authenticated user must be an enterprise owner to use this endpoint. + tags: + - dependabot + operationId: dependabot/set-repository-access-default-level-for-enterprise + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/dependabot/repository-access#set-the-default-repository-access-level-for-dependabot-in-an-enterprise + parameters: + - "$ref": "#/components/parameters/enterprise" + requestBody: + required: true + content: + application/json: + schema: + type: object + properties: + default_level: + type: string + description: The default repository access level for Dependabot + updates. + enum: + - public + - internal + example: internal + required: + - default_level + examples: + '204': + summary: Example with a 'succeeded' status. + value: + default_level: public + responses: + '204': + description: Response + '403': + "$ref": "#/components/responses/forbidden" + '404': + "$ref": "#/components/responses/not_found" + x-github: + githubCloudOnly: false + enabledForGitHubApps: false + category: dependabot + subcategory: repository-access "/enterprises/{enterprise}/teams": get: summary: List enterprise teams @@ -12296,6 +12469,8 @@ paths: schema: type: object additionalProperties: false + required: + - selected_repository_ids properties: selected_repository_ids: type: array @@ -62930,7 +63105,7 @@ x-webhooks: - repository - organization - app - issues-labeled: + issues-field-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. @@ -62938,8 +63113,8 @@ x-webhooks: For activity relating to a comment on an issue, use the `issue_comment` event. To 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 field value was set or updated on an issue. + operationId: issues/field-added externalDocs: url: https://docs.github.com/webhooks/webhook-events-and-payloads#issues parameters: @@ -62983,7 +63158,7 @@ x-webhooks: content: application/json: schema: - "$ref": "#/components/schemas/webhook-issues-labeled" + "$ref": "#/components/schemas/webhook-issues-field-added" responses: '200': description: Return a 200 status to indicate that the data was received @@ -62996,7 +63171,7 @@ x-webhooks: - repository - organization - app - issues-locked: + issues-field-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. @@ -63004,9 +63179,8 @@ x-webhooks: For activity relating to a comment on an issue, use the `issue_comment` event. To 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 field value was cleared from an issue. + operationId: issues/field-removed externalDocs: url: https://docs.github.com/webhooks/webhook-events-and-payloads#issues parameters: @@ -63050,7 +63224,7 @@ x-webhooks: content: application/json: schema: - "$ref": "#/components/schemas/webhook-issues-locked" + "$ref": "#/components/schemas/webhook-issues-field-removed" responses: '200': description: Return a 200 status to indicate that the data was received @@ -63063,7 +63237,7 @@ x-webhooks: - repository - organization - app - issues-milestoned: + 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. @@ -63071,8 +63245,8 @@ x-webhooks: For activity relating to a comment on an issue, use the `issue_comment` event. To 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: A label was added to an issue. + operationId: issues/labeled externalDocs: url: https://docs.github.com/webhooks/webhook-events-and-payloads#issues parameters: @@ -63116,7 +63290,7 @@ x-webhooks: content: application/json: schema: - "$ref": "#/components/schemas/webhook-issues-milestoned" + "$ref": "#/components/schemas/webhook-issues-labeled" responses: '200': description: Return a 200 status to indicate that the data was received @@ -63129,7 +63303,7 @@ x-webhooks: - repository - organization - app - issues-opened: + 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. @@ -63137,9 +63311,9 @@ x-webhooks: For activity relating to a comment on an issue, use the `issue_comment` event. To 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: 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 parameters: @@ -63183,7 +63357,7 @@ x-webhooks: content: application/json: schema: - "$ref": "#/components/schemas/webhook-issues-opened" + "$ref": "#/components/schemas/webhook-issues-locked" responses: '200': description: Return a 200 status to indicate that the data was received @@ -63196,7 +63370,7 @@ x-webhooks: - repository - organization - app - issues-pinned: + 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. @@ -63204,9 +63378,8 @@ x-webhooks: For activity relating to a comment on an issue, use the `issue_comment` event. To 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: An issue was added to a milestone. + operationId: issues/milestoned externalDocs: url: https://docs.github.com/webhooks/webhook-events-and-payloads#issues parameters: @@ -63250,7 +63423,7 @@ x-webhooks: content: application/json: schema: - "$ref": "#/components/schemas/webhook-issues-pinned" + "$ref": "#/components/schemas/webhook-issues-milestoned" responses: '200': description: Return a 200 status to indicate that the data was received @@ -63263,7 +63436,7 @@ x-webhooks: - repository - organization - app - issues-reopened: + 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. @@ -63271,8 +63444,9 @@ x-webhooks: For activity relating to a comment on an issue, use the `issue_comment` event. To 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 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 parameters: @@ -63316,7 +63490,7 @@ x-webhooks: content: application/json: schema: - "$ref": "#/components/schemas/webhook-issues-reopened" + "$ref": "#/components/schemas/webhook-issues-opened" responses: '200': description: Return a 200 status to indicate that the data was received @@ -63329,7 +63503,7 @@ x-webhooks: - repository - organization - app - issues-transferred: + 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. @@ -63337,9 +63511,9 @@ x-webhooks: For activity relating to a comment on an issue, use the `issue_comment` event. To 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 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 parameters: @@ -63383,7 +63557,7 @@ x-webhooks: content: application/json: schema: - "$ref": "#/components/schemas/webhook-issues-transferred" + "$ref": "#/components/schemas/webhook-issues-pinned" responses: '200': description: Return a 200 status to indicate that the data was received @@ -63396,7 +63570,7 @@ x-webhooks: - repository - organization - app - issues-typed: + 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. @@ -63404,8 +63578,8 @@ x-webhooks: For activity relating to a comment on an issue, use the `issue_comment` event. To 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: A closed issue was reopened. + operationId: issues/reopened externalDocs: url: https://docs.github.com/webhooks/webhook-events-and-payloads#issues parameters: @@ -63449,7 +63623,7 @@ x-webhooks: content: application/json: schema: - "$ref": "#/components/schemas/webhook-issues-typed" + "$ref": "#/components/schemas/webhook-issues-reopened" responses: '200': description: Return a 200 status to indicate that the data was received @@ -63462,7 +63636,7 @@ x-webhooks: - repository - organization - app - 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/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. @@ -63470,8 +63644,9 @@ x-webhooks: For activity relating to a comment on an issue, use the `issue_comment` event. To 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/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 parameters: @@ -63515,7 +63690,7 @@ x-webhooks: content: application/json: schema: - "$ref": "#/components/schemas/webhook-issues-unassigned" + "$ref": "#/components/schemas/webhook-issues-transferred" responses: '200': description: Return a 200 status to indicate that the data was received @@ -63528,7 +63703,7 @@ x-webhooks: - repository - organization - app - issues-unlabeled: + 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. @@ -63536,8 +63711,8 @@ x-webhooks: For activity relating to a comment on an issue, use the `issue_comment` event. To 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 type was added to an issue. + operationId: issues/typed externalDocs: url: https://docs.github.com/webhooks/webhook-events-and-payloads#issues parameters: @@ -63581,7 +63756,7 @@ x-webhooks: content: application/json: schema: - "$ref": "#/components/schemas/webhook-issues-unlabeled" + "$ref": "#/components/schemas/webhook-issues-typed" responses: '200': description: Return a 200 status to indicate that the data was received @@ -63594,7 +63769,7 @@ x-webhooks: - repository - organization - app - issues-unlocked: + 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. @@ -63602,9 +63777,8 @@ x-webhooks: For activity relating to a comment on an issue, use the `issue_comment` event. To 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: A user was unassigned from an issue. + operationId: issues/unassigned externalDocs: url: https://docs.github.com/webhooks/webhook-events-and-payloads#issues parameters: @@ -63648,7 +63822,7 @@ x-webhooks: content: application/json: schema: - "$ref": "#/components/schemas/webhook-issues-unlocked" + "$ref": "#/components/schemas/webhook-issues-unassigned" responses: '200': description: Return a 200 status to indicate that the data was received @@ -63661,7 +63835,7 @@ x-webhooks: - repository - organization - app - issues-unpinned: + 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. @@ -63669,9 +63843,8 @@ x-webhooks: For activity relating to a comment on an issue, use the `issue_comment` event. To 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 label was removed from an issue. + operationId: issues/unlabeled externalDocs: url: https://docs.github.com/webhooks/webhook-events-and-payloads#issues parameters: @@ -63715,7 +63888,7 @@ x-webhooks: content: application/json: schema: - "$ref": "#/components/schemas/webhook-issues-unpinned" + "$ref": "#/components/schemas/webhook-issues-unlabeled" responses: '200': description: Return a 200 status to indicate that the data was received @@ -63728,7 +63901,7 @@ x-webhooks: - repository - organization - app - issues-untyped: + 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/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. @@ -63736,8 +63909,142 @@ x-webhooks: For activity relating to a comment on an issue, use the `issue_comment` event. To 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: 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#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 + 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/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. + + For activity relating to a comment on an issue, use the `issue_comment` event. + + To 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#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 + 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. + + For activity relating to a comment on an issue, use the `issue_comment` event. + + To 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: @@ -78829,6 +79136,298 @@ components: - fixed_at - repository additionalProperties: false + nullable-simple-repository: + title: Simple Repository + description: A GitHub repository. + type: object + properties: + id: + type: integer + format: int64 + example: 1296269 + description: A unique identifier of the repository. + node_id: + type: string + example: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 + description: The GraphQL identifier of the repository. + name: + type: string + example: Hello-World + description: The name of the repository. + full_name: + type: string + example: octocat/Hello-World + description: The full, globally unique, name of the repository. + owner: + "$ref": "#/components/schemas/simple-user" + private: + type: boolean + description: Whether the repository is private. + html_url: + type: string + format: uri + example: https://github.com/octocat/Hello-World + description: The URL to view the repository on GitHub.com. + description: + type: string + example: This your first repo! + nullable: true + description: The repository description. + fork: + type: boolean + description: Whether the repository is a fork. + url: + type: string + format: uri + example: https://api.github.com/repos/octocat/Hello-World + description: The URL to get more information about the repository from the + GitHub API. + archive_url: + type: string + example: https://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref} + description: A template for the API URL to download the repository as an + archive. + assignees_url: + type: string + example: https://api.github.com/repos/octocat/Hello-World/assignees{/user} + description: A template for the API URL to list the available assignees + for issues in the repository. + blobs_url: + type: string + example: https://api.github.com/repos/octocat/Hello-World/git/blobs{/sha} + description: A template for the API URL to create or retrieve a raw Git + blob in the repository. + branches_url: + type: string + example: https://api.github.com/repos/octocat/Hello-World/branches{/branch} + description: A template for the API URL to get information about branches + in the repository. + collaborators_url: + type: string + example: https://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator} + description: A template for the API URL to get information about collaborators + of the repository. + comments_url: + type: string + example: https://api.github.com/repos/octocat/Hello-World/comments{/number} + description: A template for the API URL to get information about comments + on the repository. + commits_url: + type: string + example: https://api.github.com/repos/octocat/Hello-World/commits{/sha} + description: A template for the API URL to get information about commits + on the repository. + compare_url: + type: string + example: https://api.github.com/repos/octocat/Hello-World/compare/{base}...{head} + description: A template for the API URL to compare two commits or refs. + contents_url: + type: string + example: https://api.github.com/repos/octocat/Hello-World/contents/{+path} + description: A template for the API URL to get the contents of the repository. + contributors_url: + type: string + format: uri + example: https://api.github.com/repos/octocat/Hello-World/contributors + description: A template for the API URL to list the contributors to the + repository. + deployments_url: + type: string + format: uri + example: https://api.github.com/repos/octocat/Hello-World/deployments + description: The API URL to list the deployments of the repository. + downloads_url: + type: string + format: uri + example: https://api.github.com/repos/octocat/Hello-World/downloads + description: The API URL to list the downloads on the repository. + events_url: + type: string + format: uri + example: https://api.github.com/repos/octocat/Hello-World/events + description: The API URL to list the events of the repository. + forks_url: + type: string + format: uri + example: https://api.github.com/repos/octocat/Hello-World/forks + description: The API URL to list the forks of the repository. + git_commits_url: + type: string + example: https://api.github.com/repos/octocat/Hello-World/git/commits{/sha} + description: A template for the API URL to get information about Git commits + of the repository. + git_refs_url: + type: string + example: https://api.github.com/repos/octocat/Hello-World/git/refs{/sha} + description: A template for the API URL to get information about Git refs + of the repository. + git_tags_url: + type: string + example: https://api.github.com/repos/octocat/Hello-World/git/tags{/sha} + description: A template for the API URL to get information about Git tags + of the repository. + issue_comment_url: + type: string + example: https://api.github.com/repos/octocat/Hello-World/issues/comments{/number} + description: A template for the API URL to get information about issue comments + on the repository. + issue_events_url: + type: string + example: https://api.github.com/repos/octocat/Hello-World/issues/events{/number} + description: A template for the API URL to get information about issue events + on the repository. + issues_url: + type: string + example: https://api.github.com/repos/octocat/Hello-World/issues{/number} + description: A template for the API URL to get information about issues + on the repository. + keys_url: + type: string + example: https://api.github.com/repos/octocat/Hello-World/keys{/key_id} + description: A template for the API URL to get information about deploy + keys on the repository. + labels_url: + type: string + example: https://api.github.com/repos/octocat/Hello-World/labels{/name} + description: A template for the API URL to get information about labels + of the repository. + languages_url: + type: string + format: uri + example: https://api.github.com/repos/octocat/Hello-World/languages + description: The API URL to get information about the languages of the repository. + merges_url: + type: string + format: uri + example: https://api.github.com/repos/octocat/Hello-World/merges + description: The API URL to merge branches in the repository. + milestones_url: + type: string + example: https://api.github.com/repos/octocat/Hello-World/milestones{/number} + description: A template for the API URL to get information about milestones + of the repository. + notifications_url: + type: string + example: https://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating} + description: A template for the API URL to get information about notifications + on the repository. + pulls_url: + type: string + example: https://api.github.com/repos/octocat/Hello-World/pulls{/number} + description: A template for the API URL to get information about pull requests + on the repository. + releases_url: + type: string + example: https://api.github.com/repos/octocat/Hello-World/releases{/id} + description: A template for the API URL to get information about releases + on the repository. + stargazers_url: + type: string + format: uri + example: https://api.github.com/repos/octocat/Hello-World/stargazers + description: The API URL to list the stargazers on the repository. + statuses_url: + type: string + example: https://api.github.com/repos/octocat/Hello-World/statuses/{sha} + description: A template for the API URL to get information about statuses + of a commit. + subscribers_url: + type: string + format: uri + example: https://api.github.com/repos/octocat/Hello-World/subscribers + description: The API URL to list the subscribers on the repository. + subscription_url: + type: string + format: uri + example: https://api.github.com/repos/octocat/Hello-World/subscription + description: The API URL to subscribe to notifications for this repository. + tags_url: + type: string + format: uri + example: https://api.github.com/repos/octocat/Hello-World/tags + description: The API URL to get information about tags on the repository. + teams_url: + type: string + format: uri + example: https://api.github.com/repos/octocat/Hello-World/teams + description: The API URL to list the teams on the repository. + trees_url: + type: string + example: https://api.github.com/repos/octocat/Hello-World/git/trees{/sha} + description: A template for the API URL to create or retrieve a raw Git + tree of the repository. + hooks_url: + type: string + format: uri + example: https://api.github.com/repos/octocat/Hello-World/hooks + description: The API URL to list the hooks on the 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 + nullable: true + dependabot-repository-access-details: + title: Dependabot Repository Access Details + description: Information about repositories that Dependabot is able to access + in an organization + type: object + properties: + default_level: + type: string + description: The default repository access level for Dependabot updates. + enum: + - public + - internal + example: internal + nullable: true + accessible_repositories: + type: array + items: + "$ref": "#/components/schemas/nullable-simple-repository" + additionalProperties: false enterprise-team: title: Enterprise Team description: Group of enterprise owners and/or members @@ -84946,298 +85545,6 @@ components: required: - date additionalProperties: true - nullable-simple-repository: - title: Simple Repository - description: A GitHub repository. - type: object - properties: - id: - type: integer - format: int64 - example: 1296269 - description: A unique identifier of the repository. - node_id: - type: string - example: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 - description: The GraphQL identifier of the repository. - name: - type: string - example: Hello-World - description: The name of the repository. - full_name: - type: string - example: octocat/Hello-World - description: The full, globally unique, name of the repository. - owner: - "$ref": "#/components/schemas/simple-user" - private: - type: boolean - description: Whether the repository is private. - html_url: - type: string - format: uri - example: https://github.com/octocat/Hello-World - description: The URL to view the repository on GitHub.com. - description: - type: string - example: This your first repo! - nullable: true - description: The repository description. - fork: - type: boolean - description: Whether the repository is a fork. - url: - type: string - format: uri - example: https://api.github.com/repos/octocat/Hello-World - description: The URL to get more information about the repository from the - GitHub API. - archive_url: - type: string - example: https://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref} - description: A template for the API URL to download the repository as an - archive. - assignees_url: - type: string - example: https://api.github.com/repos/octocat/Hello-World/assignees{/user} - description: A template for the API URL to list the available assignees - for issues in the repository. - blobs_url: - type: string - example: https://api.github.com/repos/octocat/Hello-World/git/blobs{/sha} - description: A template for the API URL to create or retrieve a raw Git - blob in the repository. - branches_url: - type: string - example: https://api.github.com/repos/octocat/Hello-World/branches{/branch} - description: A template for the API URL to get information about branches - in the repository. - collaborators_url: - type: string - example: https://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator} - description: A template for the API URL to get information about collaborators - of the repository. - comments_url: - type: string - example: https://api.github.com/repos/octocat/Hello-World/comments{/number} - description: A template for the API URL to get information about comments - on the repository. - commits_url: - type: string - example: https://api.github.com/repos/octocat/Hello-World/commits{/sha} - description: A template for the API URL to get information about commits - on the repository. - compare_url: - type: string - example: https://api.github.com/repos/octocat/Hello-World/compare/{base}...{head} - description: A template for the API URL to compare two commits or refs. - contents_url: - type: string - example: https://api.github.com/repos/octocat/Hello-World/contents/{+path} - description: A template for the API URL to get the contents of the repository. - contributors_url: - type: string - format: uri - example: https://api.github.com/repos/octocat/Hello-World/contributors - description: A template for the API URL to list the contributors to the - repository. - deployments_url: - type: string - format: uri - example: https://api.github.com/repos/octocat/Hello-World/deployments - description: The API URL to list the deployments of the repository. - downloads_url: - type: string - format: uri - example: https://api.github.com/repos/octocat/Hello-World/downloads - description: The API URL to list the downloads on the repository. - events_url: - type: string - format: uri - example: https://api.github.com/repos/octocat/Hello-World/events - description: The API URL to list the events of the repository. - forks_url: - type: string - format: uri - example: https://api.github.com/repos/octocat/Hello-World/forks - description: The API URL to list the forks of the repository. - git_commits_url: - type: string - example: https://api.github.com/repos/octocat/Hello-World/git/commits{/sha} - description: A template for the API URL to get information about Git commits - of the repository. - git_refs_url: - type: string - example: https://api.github.com/repos/octocat/Hello-World/git/refs{/sha} - description: A template for the API URL to get information about Git refs - of the repository. - git_tags_url: - type: string - example: https://api.github.com/repos/octocat/Hello-World/git/tags{/sha} - description: A template for the API URL to get information about Git tags - of the repository. - issue_comment_url: - type: string - example: https://api.github.com/repos/octocat/Hello-World/issues/comments{/number} - description: A template for the API URL to get information about issue comments - on the repository. - issue_events_url: - type: string - example: https://api.github.com/repos/octocat/Hello-World/issues/events{/number} - description: A template for the API URL to get information about issue events - on the repository. - issues_url: - type: string - example: https://api.github.com/repos/octocat/Hello-World/issues{/number} - description: A template for the API URL to get information about issues - on the repository. - keys_url: - type: string - example: https://api.github.com/repos/octocat/Hello-World/keys{/key_id} - description: A template for the API URL to get information about deploy - keys on the repository. - labels_url: - type: string - example: https://api.github.com/repos/octocat/Hello-World/labels{/name} - description: A template for the API URL to get information about labels - of the repository. - languages_url: - type: string - format: uri - example: https://api.github.com/repos/octocat/Hello-World/languages - description: The API URL to get information about the languages of the repository. - merges_url: - type: string - format: uri - example: https://api.github.com/repos/octocat/Hello-World/merges - description: The API URL to merge branches in the repository. - milestones_url: - type: string - example: https://api.github.com/repos/octocat/Hello-World/milestones{/number} - description: A template for the API URL to get information about milestones - of the repository. - notifications_url: - type: string - example: https://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating} - description: A template for the API URL to get information about notifications - on the repository. - pulls_url: - type: string - example: https://api.github.com/repos/octocat/Hello-World/pulls{/number} - description: A template for the API URL to get information about pull requests - on the repository. - releases_url: - type: string - example: https://api.github.com/repos/octocat/Hello-World/releases{/id} - description: A template for the API URL to get information about releases - on the repository. - stargazers_url: - type: string - format: uri - example: https://api.github.com/repos/octocat/Hello-World/stargazers - description: The API URL to list the stargazers on the repository. - statuses_url: - type: string - example: https://api.github.com/repos/octocat/Hello-World/statuses/{sha} - description: A template for the API URL to get information about statuses - of a commit. - subscribers_url: - type: string - format: uri - example: https://api.github.com/repos/octocat/Hello-World/subscribers - description: The API URL to list the subscribers on the repository. - subscription_url: - type: string - format: uri - example: https://api.github.com/repos/octocat/Hello-World/subscription - description: The API URL to subscribe to notifications for this repository. - tags_url: - type: string - format: uri - example: https://api.github.com/repos/octocat/Hello-World/tags - description: The API URL to get information about tags on the repository. - teams_url: - type: string - format: uri - example: https://api.github.com/repos/octocat/Hello-World/teams - description: The API URL to list the teams on the repository. - trees_url: - type: string - example: https://api.github.com/repos/octocat/Hello-World/git/trees{/sha} - description: A template for the API URL to create or retrieve a raw Git - tree of the repository. - hooks_url: - type: string - format: uri - example: https://api.github.com/repos/octocat/Hello-World/hooks - description: The API URL to list the hooks on the 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 - nullable: true - dependabot-repository-access-details: - title: Dependabot Repository Access Details - description: Information about repositories that Dependabot is able to access - in an organization - type: object - properties: - default_level: - type: string - description: The default repository access level for Dependabot updates. - enum: - - public - - internal - example: internal - nullable: true - accessible_repositories: - type: array - items: - "$ref": "#/components/schemas/nullable-simple-repository" - additionalProperties: false organization-dependabot-secret: title: Dependabot Secret for an Organization description: Secrets for GitHub Dependabot for an organization. @@ -136338,6 +136645,219 @@ components: - issue - repository - sender + webhook-issues-field-added: + title: issues field_added event + type: object + properties: + action: + type: string + enum: + - field_added + enterprise: + "$ref": "#/components/schemas/enterprise-webhooks" + installation: + "$ref": "#/components/schemas/simple-installation" + issue: + "$ref": "#/components/schemas/webhooks_issue" + issue_field: + type: object + description: The issue field whose value was set or updated on the issue. + properties: + id: + type: integer + description: The unique identifier of the issue field. + name: + type: string + description: The name of the issue field. + field_type: + type: string + description: The data type of the issue field. + enum: + - text + - date + - single_select + - number + required: + - id + - name + - field_type + issue_field_value: + type: object + description: The value that was set or updated for the issue field. When + updating an existing value, the previous value is available in `changes`. + properties: + id: + type: integer + description: The unique identifier of the issue field value. + value: + description: The value of the field. Present for text, date, and number + field types. + nullable: true + anyOf: + - type: string + - type: number + - type: integer + value_id: + type: integer + description: The identifier of the selected option. Present for single_select + field types. + option: + type: object + description: The selected option details. Present for single_select + field types. + properties: + id: + type: integer + name: + type: string + color: + type: string + description: + type: string + nullable: true + required: + - id + changes: + type: object + description: The previous field value, present when an existing value was + updated. + properties: + issue_field_value: + type: object + description: The previous issue field value data. + properties: + from: + type: object + description: The previous value of the issue field before the update. + properties: + id: + type: integer + description: The unique identifier of the issue field value. + value: + description: The previous value. Present for text, date, and + number field types. + nullable: true + anyOf: + - type: string + - type: number + - type: integer + value_id: + type: integer + description: The identifier of the previously selected option. + Present for single_select field types. + option: + type: object + description: The previously selected option details. Present + for single_select field types. + properties: + id: + type: integer + name: + type: string + color: + type: string + description: + type: string + nullable: true + required: + - id + required: + - from + organization: + "$ref": "#/components/schemas/organization-simple-webhooks" + repository: + "$ref": "#/components/schemas/repository-webhooks" + sender: + "$ref": "#/components/schemas/simple-user" + required: + - action + - issue + - issue_field + - repository + - sender + webhook-issues-field-removed: + title: issues field_removed event + type: object + properties: + action: + type: string + enum: + - field_removed + enterprise: + "$ref": "#/components/schemas/enterprise-webhooks" + installation: + "$ref": "#/components/schemas/simple-installation" + issue: + "$ref": "#/components/schemas/webhooks_issue" + issue_field: + type: object + description: The issue field whose value was cleared from the issue. + properties: + id: + type: integer + description: The unique identifier of the issue field. + name: + type: string + description: The name of the issue field. + field_type: + type: string + description: The data type of the issue field. + enum: + - text + - date + - single_select + - number + required: + - id + - name + - field_type + issue_field_value: + type: object + description: The value that was cleared from the issue field. + properties: + id: + type: integer + description: The unique identifier of the issue field value. + value: + description: The value of the field. Present for text, date, and number + field types. + nullable: true + anyOf: + - type: string + - type: number + - type: integer + value_id: + type: integer + description: The identifier of the selected option. Present for single_select + field types. + option: + type: object + description: The selected option details. Present for single_select + field types. + properties: + id: + type: integer + name: + type: string + color: + type: string + description: + type: string + nullable: true + required: + - id + organization: + "$ref": "#/components/schemas/organization-simple-webhooks" + repository: + "$ref": "#/components/schemas/repository-webhooks" + sender: + "$ref": "#/components/schemas/simple-user" + required: + - action + - issue + - issue_field + - repository + - sender webhook-issues-labeled: title: issues labeled event type: object @@ -217498,6 +218018,78 @@ components: 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} + dependabot-repository-access-details: + value: + default_level: public + accessible_repositories: + - id: 123456 + node_id: MDEwOlJlcG9zaXRvcnkxMjM0NTY= + name: example-repo + full_name: octocat/example-repo + owner: + name: octocat + email: octo@github.com + login: octocat + id: 1 + node_id: MDQ6VXNlcjE= + avatar_url: https://avatars.githubusercontent.com/u/1?v=4 + gravatar_id: 1 + url: https://api.github.com/users/octocat + html_url: https://github.com/octocat/example-repo + followers_url: https://api.github.com/users/octocat/followers + following_url: https://api.github.com/users/octocat/following{/other_user} + gists_url: https://api.github.com/users/octocat/gists{/gist_id} + starred_url: https://api.github.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 + starred_at: '"2020-07-09T00:17:55Z"' + user_view_type: default + private: false + html_url: https://github.com/octocat/example-repo + description: This is an example repository. + fork: false + url: https://api.github.com/repos/octocat/example-repo + archive_url: https://api.github.com/repos/octocat/example-repo/{archive_format}{/ref} + assignees_url: https://api.github.com/repos/octocat/example-repo/assignees{/user} + blobs_url: https://api.github.com/repos/octocat/example-repo/git/blobs{/sha} + branches_url: https://api.github.com/repos/octocat/example-repo/branches{/branch} + collaborators_url: https://api.github.com/repos/octocat/example-repo/collaborators{/collaborator} + comments_url: https://api.github.com/repos/octocat/example-repo/comments{/number} + commits_url: https://api.github.com/repos/octocat/example-repo/commits{/sha} + compare_url: https://api.github.com/repos/octocat/example-repo/compare/{base}...{head} + contents_url: https://api.github.com/repos/octocat/example-repo/contents/{+path} + contributors_url: https://api.github.com/repos/octocat/example-repo/contributors + deployments_url: https://api.github.com/repos/octocat/example-repo/deployments + downloads_url: https://api.github.com/repos/octocat/example-repo/downloads + events_url: https://api.github.com/repos/octocat/example-repo/events + forks_url: https://api.github.com/repos/octocat/example-repo/forks + git_commits_url: https://api.github.com/repos/octocat/example-repo/git/commits{/sha} + git_refs_url: https://api.github.com/repos/octocat/example-repo/git/refs{/sha} + git_tags_url: https://api.github.com/repos/octocat/example-repo/git/tags{/sha} + issue_comment_url: https://api.github.com/repos/octocat/example-repo/issues/comments{/number} + issue_events_url: https://api.github.com/repos/octocat/example-repo/issues/events{/number} + issues_url: https://api.github.com/repos/octocat/example-repo/issues{/number} + keys_url: https://api.github.com/repos/octocat/example-repo/keys{/key_id} + labels_url: https://api.github.com/repos/octocat/example-repo/labels{/name} + languages_url: https://api.github.com/repos/octocat/example-repo/languages + merges_url: https://api.github.com/repos/octocat/example-repo/merges + milestones_url: https://api.github.com/repos/octocat/example-repo/milestones{/number} + notifications_url: https://api.github.com/repos/octocat/example-repo/notifications{?since,all,participating} + pulls_url: https://api.github.com/repos/octocat/example-repo/pulls{/number} + releases_url: https://api.github.com/repos/octocat/example-repo/releases{/id} + stargazers_url: https://api.github.com/repos/octocat/example-repo/stargazers + statuses_url: https://api.github.com/repos/octocat/example-repo/statuses/{sha} + subscribers_url: https://api.github.com/repos/octocat/example-repo/subscribers + subscription_url: https://api.github.com/repos/octocat/example-repo/subscription + tags_url: https://api.github.com/repos/octocat/example-repo/tags + teams_url: https://api.github.com/repos/octocat/example-repo/teams + trees_url: https://api.github.com/repos/octocat/example-repo/git/trees{/sha} + hooks_url: https://api.github.com/repos/octocat/example-repo/hooks enterprise-teams-items: value: - id: 1 @@ -221260,78 +221852,6 @@ components: custom_model_training_date: '2024-02-01' total_pr_summaries_created: 10 total_engaged_users: 4 - dependabot-repository-access-details: - value: - default_level: public - accessible_repositories: - - id: 123456 - node_id: MDEwOlJlcG9zaXRvcnkxMjM0NTY= - name: example-repo - full_name: octocat/example-repo - owner: - name: octocat - email: octo@github.com - login: octocat - id: 1 - node_id: MDQ6VXNlcjE= - avatar_url: https://avatars.githubusercontent.com/u/1?v=4 - gravatar_id: 1 - url: https://api.github.com/users/octocat - html_url: https://github.com/octocat/example-repo - followers_url: https://api.github.com/users/octocat/followers - following_url: https://api.github.com/users/octocat/following{/other_user} - gists_url: https://api.github.com/users/octocat/gists{/gist_id} - starred_url: https://api.github.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 - starred_at: '"2020-07-09T00:17:55Z"' - user_view_type: default - private: false - html_url: https://github.com/octocat/example-repo - description: This is an example repository. - fork: false - url: https://api.github.com/repos/octocat/example-repo - archive_url: https://api.github.com/repos/octocat/example-repo/{archive_format}{/ref} - assignees_url: https://api.github.com/repos/octocat/example-repo/assignees{/user} - blobs_url: https://api.github.com/repos/octocat/example-repo/git/blobs{/sha} - branches_url: https://api.github.com/repos/octocat/example-repo/branches{/branch} - collaborators_url: https://api.github.com/repos/octocat/example-repo/collaborators{/collaborator} - comments_url: https://api.github.com/repos/octocat/example-repo/comments{/number} - commits_url: https://api.github.com/repos/octocat/example-repo/commits{/sha} - compare_url: https://api.github.com/repos/octocat/example-repo/compare/{base}...{head} - contents_url: https://api.github.com/repos/octocat/example-repo/contents/{+path} - contributors_url: https://api.github.com/repos/octocat/example-repo/contributors - deployments_url: https://api.github.com/repos/octocat/example-repo/deployments - downloads_url: https://api.github.com/repos/octocat/example-repo/downloads - events_url: https://api.github.com/repos/octocat/example-repo/events - forks_url: https://api.github.com/repos/octocat/example-repo/forks - git_commits_url: https://api.github.com/repos/octocat/example-repo/git/commits{/sha} - git_refs_url: https://api.github.com/repos/octocat/example-repo/git/refs{/sha} - git_tags_url: https://api.github.com/repos/octocat/example-repo/git/tags{/sha} - issue_comment_url: https://api.github.com/repos/octocat/example-repo/issues/comments{/number} - issue_events_url: https://api.github.com/repos/octocat/example-repo/issues/events{/number} - issues_url: https://api.github.com/repos/octocat/example-repo/issues{/number} - keys_url: https://api.github.com/repos/octocat/example-repo/keys{/key_id} - labels_url: https://api.github.com/repos/octocat/example-repo/labels{/name} - languages_url: https://api.github.com/repos/octocat/example-repo/languages - merges_url: https://api.github.com/repos/octocat/example-repo/merges - milestones_url: https://api.github.com/repos/octocat/example-repo/milestones{/number} - notifications_url: https://api.github.com/repos/octocat/example-repo/notifications{?since,all,participating} - pulls_url: https://api.github.com/repos/octocat/example-repo/pulls{/number} - releases_url: https://api.github.com/repos/octocat/example-repo/releases{/id} - stargazers_url: https://api.github.com/repos/octocat/example-repo/stargazers - statuses_url: https://api.github.com/repos/octocat/example-repo/statuses/{sha} - subscribers_url: https://api.github.com/repos/octocat/example-repo/subscribers - subscription_url: https://api.github.com/repos/octocat/example-repo/subscription - tags_url: https://api.github.com/repos/octocat/example-repo/tags - teams_url: https://api.github.com/repos/octocat/example-repo/teams - trees_url: https://api.github.com/repos/octocat/example-repo/git/trees{/sha} - hooks_url: https://api.github.com/repos/octocat/example-repo/hooks organization-dependabot-secret-paginated: value: total_count: 3 diff --git a/descriptions/api.github.com/dereferenced/api.github.com.2022-11-28.deref.json b/descriptions/api.github.com/dereferenced/api.github.com.2022-11-28.deref.json index bd38039225..fdda8e164b 100644 --- a/descriptions/api.github.com/dereferenced/api.github.com.2022-11-28.deref.json +++ b/descriptions/api.github.com/dereferenced/api.github.com.2022-11-28.deref.json @@ -24956,6 +24956,905 @@ } } }, + "/enterprises/{enterprise}/dependabot/repository-access": { + "get": { + "summary": "Lists the repositories Dependabot can access in an enterprise", + "description": "Lists repositories that enterprise admins have allowed Dependabot to access when updating dependencies across organizations in the enterprise.\n\nThe authenticated user must be an enterprise owner to use this endpoint.", + "tags": [ + "dependabot" + ], + "operationId": "dependabot/repository-access-for-enterprise", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/dependabot/repository-access#lists-the-repositories-dependabot-can-access-in-an-enterprise" + }, + "parameters": [ + { + "name": "enterprise", + "description": "The slug version of the enterprise name.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "page", + "in": "query", + "description": "The page number of results to fetch.", + "required": false, + "schema": { + "type": "integer", + "minimum": 1, + "default": 1 + } + }, + { + "name": "per_page", + "in": "query", + "description": "Number of results per page.", + "required": false, + "schema": { + "type": "integer", + "minimum": 1, + "maximum": 100, + "default": 30 + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "title": "Dependabot Repository Access Details", + "description": "Information about repositories that Dependabot is able to access in an organization", + "type": "object", + "properties": { + "default_level": { + "type": "string", + "description": "The default repository access level for Dependabot updates.", + "enum": [ + "public", + "internal" + ], + "example": "internal", + "nullable": true + }, + "accessible_repositories": { + "type": "array", + "items": { + "title": "Simple Repository", + "description": "A GitHub repository.", + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "example": 1296269, + "description": "A unique identifier of the repository." + }, + "node_id": { + "type": "string", + "example": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5", + "description": "The GraphQL identifier of the repository." + }, + "name": { + "type": "string", + "example": "Hello-World", + "description": "The name of the repository." + }, + "full_name": { + "type": "string", + "example": "octocat/Hello-World", + "description": "The full, globally unique, name of the repository." + }, + "owner": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "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" + ] + }, + "private": { + "type": "boolean", + "description": "Whether the repository is private." + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat/Hello-World", + "description": "The URL to view the repository on GitHub.com." + }, + "description": { + "type": "string", + "example": "This your first repo!", + "nullable": true, + "description": "The repository description." + }, + "fork": { + "type": "boolean", + "description": "Whether the repository is a fork." + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octocat/Hello-World", + "description": "The URL to get more information about the repository from the GitHub API." + }, + "archive_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}", + "description": "A template for the API URL to download the repository as an archive." + }, + "assignees_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/assignees{/user}", + "description": "A template for the API URL to list the available assignees for issues in the repository." + }, + "blobs_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}", + "description": "A template for the API URL to create or retrieve a raw Git blob in the repository." + }, + "branches_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/branches{/branch}", + "description": "A template for the API URL to get information about branches in the repository." + }, + "collaborators_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}", + "description": "A template for the API URL to get information about collaborators of the repository." + }, + "comments_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/comments{/number}", + "description": "A template for the API URL to get information about comments on the repository." + }, + "commits_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/commits{/sha}", + "description": "A template for the API URL to get information about commits on the repository." + }, + "compare_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}", + "description": "A template for the API URL to compare two commits or refs." + }, + "contents_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/contents/{+path}", + "description": "A template for the API URL to get the contents of the repository." + }, + "contributors_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octocat/Hello-World/contributors", + "description": "A template for the API URL to list the contributors to the repository." + }, + "deployments_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octocat/Hello-World/deployments", + "description": "The API URL to list the deployments of the repository." + }, + "downloads_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octocat/Hello-World/downloads", + "description": "The API URL to list the downloads on the repository." + }, + "events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octocat/Hello-World/events", + "description": "The API URL to list the events of the repository." + }, + "forks_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octocat/Hello-World/forks", + "description": "The API URL to list the forks of the repository." + }, + "git_commits_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/git/commits{/sha}", + "description": "A template for the API URL to get information about Git commits of the repository." + }, + "git_refs_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/git/refs{/sha}", + "description": "A template for the API URL to get information about Git refs of the repository." + }, + "git_tags_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/git/tags{/sha}", + "description": "A template for the API URL to get information about Git tags of the repository." + }, + "issue_comment_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/issues/comments{/number}", + "description": "A template for the API URL to get information about issue comments on the repository." + }, + "issue_events_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/issues/events{/number}", + "description": "A template for the API URL to get information about issue events on the repository." + }, + "issues_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/issues{/number}", + "description": "A template for the API URL to get information about issues on the repository." + }, + "keys_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/keys{/key_id}", + "description": "A template for the API URL to get information about deploy keys on the repository." + }, + "labels_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/labels{/name}", + "description": "A template for the API URL to get information about labels of the repository." + }, + "languages_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octocat/Hello-World/languages", + "description": "The API URL to get information about the languages of the repository." + }, + "merges_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octocat/Hello-World/merges", + "description": "The API URL to merge branches in the repository." + }, + "milestones_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/milestones{/number}", + "description": "A template for the API URL to get information about milestones of the repository." + }, + "notifications_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}", + "description": "A template for the API URL to get information about notifications on the repository." + }, + "pulls_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/pulls{/number}", + "description": "A template for the API URL to get information about pull requests on the repository." + }, + "releases_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/releases{/id}", + "description": "A template for the API URL to get information about releases on the repository." + }, + "stargazers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octocat/Hello-World/stargazers", + "description": "The API URL to list the stargazers on the repository." + }, + "statuses_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/statuses/{sha}", + "description": "A template for the API URL to get information about statuses of a commit." + }, + "subscribers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octocat/Hello-World/subscribers", + "description": "The API URL to list the subscribers on the repository." + }, + "subscription_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octocat/Hello-World/subscription", + "description": "The API URL to subscribe to notifications for this repository." + }, + "tags_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octocat/Hello-World/tags", + "description": "The API URL to get information about tags on the repository." + }, + "teams_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octocat/Hello-World/teams", + "description": "The API URL to list the teams on the repository." + }, + "trees_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/git/trees{/sha}", + "description": "A template for the API URL to create or retrieve a raw Git tree of the repository." + }, + "hooks_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octocat/Hello-World/hooks", + "description": "The API URL to list the hooks on the 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" + ], + "nullable": true + } + } + }, + "additionalProperties": false + }, + "examples": { + "default": { + "value": { + "default_level": "public", + "accessible_repositories": [ + { + "id": 123456, + "node_id": "MDEwOlJlcG9zaXRvcnkxMjM0NTY=", + "name": "example-repo", + "full_name": "octocat/example-repo", + "owner": { + "name": "octocat", + "email": "octo@github.com", + "login": "octocat", + "id": 1, + "node_id": "MDQ6VXNlcjE=", + "avatar_url": "https://avatars.githubusercontent.com/u/1?v=4", + "gravatar_id": 1, + "url": "https://api.github.com/users/octocat", + "html_url": "https://github.com/octocat/example-repo", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "starred_url": "https://api.github.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, + "starred_at": "\"2020-07-09T00:17:55Z\"", + "user_view_type": "default" + }, + "private": false, + "html_url": "https://github.com/octocat/example-repo", + "description": "This is an example repository.", + "fork": false, + "url": "https://api.github.com/repos/octocat/example-repo", + "archive_url": "https://api.github.com/repos/octocat/example-repo/{archive_format}{/ref}", + "assignees_url": "https://api.github.com/repos/octocat/example-repo/assignees{/user}", + "blobs_url": "https://api.github.com/repos/octocat/example-repo/git/blobs{/sha}", + "branches_url": "https://api.github.com/repos/octocat/example-repo/branches{/branch}", + "collaborators_url": "https://api.github.com/repos/octocat/example-repo/collaborators{/collaborator}", + "comments_url": "https://api.github.com/repos/octocat/example-repo/comments{/number}", + "commits_url": "https://api.github.com/repos/octocat/example-repo/commits{/sha}", + "compare_url": "https://api.github.com/repos/octocat/example-repo/compare/{base}...{head}", + "contents_url": "https://api.github.com/repos/octocat/example-repo/contents/{+path}", + "contributors_url": "https://api.github.com/repos/octocat/example-repo/contributors", + "deployments_url": "https://api.github.com/repos/octocat/example-repo/deployments", + "downloads_url": "https://api.github.com/repos/octocat/example-repo/downloads", + "events_url": "https://api.github.com/repos/octocat/example-repo/events", + "forks_url": "https://api.github.com/repos/octocat/example-repo/forks", + "git_commits_url": "https://api.github.com/repos/octocat/example-repo/git/commits{/sha}", + "git_refs_url": "https://api.github.com/repos/octocat/example-repo/git/refs{/sha}", + "git_tags_url": "https://api.github.com/repos/octocat/example-repo/git/tags{/sha}", + "issue_comment_url": "https://api.github.com/repos/octocat/example-repo/issues/comments{/number}", + "issue_events_url": "https://api.github.com/repos/octocat/example-repo/issues/events{/number}", + "issues_url": "https://api.github.com/repos/octocat/example-repo/issues{/number}", + "keys_url": "https://api.github.com/repos/octocat/example-repo/keys{/key_id}", + "labels_url": "https://api.github.com/repos/octocat/example-repo/labels{/name}", + "languages_url": "https://api.github.com/repos/octocat/example-repo/languages", + "merges_url": "https://api.github.com/repos/octocat/example-repo/merges", + "milestones_url": "https://api.github.com/repos/octocat/example-repo/milestones{/number}", + "notifications_url": "https://api.github.com/repos/octocat/example-repo/notifications{?since,all,participating}", + "pulls_url": "https://api.github.com/repos/octocat/example-repo/pulls{/number}", + "releases_url": "https://api.github.com/repos/octocat/example-repo/releases{/id}", + "stargazers_url": "https://api.github.com/repos/octocat/example-repo/stargazers", + "statuses_url": "https://api.github.com/repos/octocat/example-repo/statuses/{sha}", + "subscribers_url": "https://api.github.com/repos/octocat/example-repo/subscribers", + "subscription_url": "https://api.github.com/repos/octocat/example-repo/subscription", + "tags_url": "https://api.github.com/repos/octocat/example-repo/tags", + "teams_url": "https://api.github.com/repos/octocat/example-repo/teams", + "trees_url": "https://api.github.com/repos/octocat/example-repo/git/trees{/sha}", + "hooks_url": "https://api.github.com/repos/octocat/example-repo/hooks" + } + ] + } + } + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "404": { + "description": "Resource not found", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": false, + "category": "dependabot", + "subcategory": "repository-access" + } + }, + "patch": { + "summary": "Updates Dependabot's repository access list for an enterprise", + "description": "Updates repositories according to the list of repositories that enterprise admins have given Dependabot access to when they've updated dependencies across organizations in the enterprise.\n\nThe authenticated user must be an enterprise owner to use this endpoint.\n\n**Example request body:**\n```json\n{\n \"repository_ids_to_add\": [123, 456],\n \"repository_ids_to_remove\": [789]\n}\n```", + "tags": [ + "dependabot" + ], + "operationId": "dependabot/update-repository-access-for-enterprise", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/dependabot/repository-access#updates-dependabots-repository-access-list-for-an-enterprise" + }, + "parameters": [ + { + "name": "enterprise", + "description": "The slug version of the enterprise name.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "repository_ids_to_add": { + "type": "array", + "items": { + "type": "integer" + }, + "description": "List of repository IDs to add." + }, + "repository_ids_to_remove": { + "type": "array", + "items": { + "type": "integer" + }, + "description": "List of repository IDs to remove." + } + }, + "example": { + "repository_ids_to_add": [ + 123, + 456 + ], + "repository_ids_to_remove": [ + 789 + ] + } + }, + "examples": { + "204": { + "summary": "Example with a 'succeeded' status." + }, + "add-example": { + "summary": "Add repositories", + "value": { + "repository_ids_to_add": [ + 123, + 456 + ] + } + }, + "remove-example": { + "summary": "Remove repositories", + "value": { + "repository_ids_to_remove": [ + 789 + ] + } + } + } + } + } + }, + "responses": { + "204": { + "description": "Response" + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "404": { + "description": "Resource not found", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": false, + "category": "dependabot", + "subcategory": "repository-access" + } + } + }, + "/enterprises/{enterprise}/dependabot/repository-access/default-level": { + "put": { + "summary": "Set the default repository access level for Dependabot in an enterprise", + "description": "Sets the default level of repository access Dependabot will have while performing an update across organizations in the enterprise. Available values are:\n- 'public' - Dependabot will only have access to public repositories, unless access is explicitly granted to non-public repositories.\n- 'internal' - Dependabot will only have access to public and internal repositories, unless access is explicitly granted to private repositories.\n\nThe authenticated user must be an enterprise owner to use this endpoint.", + "tags": [ + "dependabot" + ], + "operationId": "dependabot/set-repository-access-default-level-for-enterprise", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/dependabot/repository-access#set-the-default-repository-access-level-for-dependabot-in-an-enterprise" + }, + "parameters": [ + { + "name": "enterprise", + "description": "The slug version of the enterprise name.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "default_level": { + "type": "string", + "description": "The default repository access level for Dependabot updates.", + "enum": [ + "public", + "internal" + ], + "example": "internal" + } + }, + "required": [ + "default_level" + ] + }, + "examples": { + "204": { + "summary": "Example with a 'succeeded' status.", + "value": { + "default_level": "public" + } + } + } + } + } + }, + "responses": { + "204": { + "description": "Response" + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "404": { + "description": "Resource not found", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": false, + "category": "dependabot", + "subcategory": "repository-access" + } + } + }, "/enterprises/{enterprise}/teams": { "get": { "summary": "List enterprise teams", @@ -100203,6 +101102,9 @@ "schema": { "type": "object", "additionalProperties": false, + "required": [ + "selected_repository_ids" + ], "properties": { "selected_repository_ids": { "type": "array", @@ -940496,567 +941398,8141 @@ "subscriptions_url", "type", "url" - ], - "nullable": true + ], + "nullable": true + } + }, + "required": [ + "pinned_at", + "pinned_by" + ], + "nullable": true + } + }, + "required": [ + "id", + "node_id", + "html_url", + "issue_url", + "user", + "url", + "created_at", + "updated_at" + ], + "nullable": true + }, + "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_field_values": { + "type": "array", + "items": { + "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", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "IFT_GDKND" + }, + "data_type": { + "description": "The data type of the issue field", + "type": "string", + "enum": [ + "text", + "single_select", + "number", + "date" + ], + "example": "text" + }, + "value": { + "description": "The value of the issue field", + "anyOf": [ + { + "type": "string", + "example": "Sample text" + }, + { + "type": "number", + "example": 42.5 + }, + { + "type": "integer", + "example": 1 + } + ], + "nullable": true + }, + "single_select_option": { + "description": "Details about the selected option (only present for single_select fields)", + "type": "object", + "properties": { + "id": { + "description": "Unique identifier for the option.", + "type": "integer", + "format": "int64", + "example": 1 + }, + "name": { + "description": "The name of the option", + "type": "string", + "example": "High" + }, + "color": { + "description": "The color of the option", + "type": "string", + "example": "red" + } + }, + "required": [ + "id", + "name", + "color" + ], + "nullable": true + } + }, + "required": [ + "issue_field_id", + "node_id", + "data_type", + "value" + ] + } + }, + "state": { + "description": "State of the issue; either 'open' or 'closed'", + "type": "string", + "enum": [ + "open", + "closed" + ] + }, + "state_reason": { + "type": "string", + "nullable": true + }, + "timeline_url": { + "type": "string", + "format": "uri" + }, + "title": { + "description": "Title of the issue", + "type": "string" + }, + "type": { + "title": "Issue Type", + "description": "The type of issue.", + "type": "object", + "nullable": true, + "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", + "description": "The description of the issue type.", + "nullable": true + }, + "color": { + "type": "string", + "description": "The color of the issue type.", + "enum": [ + "gray", + "blue", + "green", + "yellow", + "orange", + "red", + "pink", + "purple" + ], + "nullable": true + }, + "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" + ] + }, + "updated_at": { + "type": "string", + "format": "date-time" + }, + "url": { + "description": "URL for the issue", + "type": "string", + "format": "uri" + }, + "user": { + "title": "User", + "type": "object", + "nullable": true, + "properties": { + "avatar_url": { + "type": "string", + "format": "uri" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "type": "string", + "nullable": true + }, + "events_url": { + "type": "string", + "format": "uri-template" + }, + "followers_url": { + "type": "string", + "format": "uri" + }, + "following_url": { + "type": "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", + "nullable": true + }, + "assignee": { + "type": "object", + "nullable": true + }, + "assignees": { + "type": "array", + "items": { + "type": "object", + "nullable": true + } + }, + "author_association": { + "type": "string" + }, + "body": { + "type": "string", + "nullable": true + }, + "closed_at": { + "type": "string", + "nullable": true + }, + "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", + "nullable": true + } + }, + "labels_url": { + "type": "string" + }, + "locked": { + "type": "boolean" + }, + "milestone": { + "type": "object", + "nullable": true + }, + "node_id": { + "type": "string" + }, + "number": { + "type": "integer" + }, + "performed_via_github_app": { + "type": "object", + "nullable": true + }, + "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": { + "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", + "example": "github" + }, + "id": { + "type": "integer", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDEyOk9yZ2FuaXphdGlvbjE=" + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/orgs/github" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/orgs/github/repos" + }, + "events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/orgs/github/events" + }, + "hooks_url": { + "type": "string", + "example": "https://api.github.com/orgs/github/hooks" + }, + "issues_url": { + "type": "string", + "example": "https://api.github.com/orgs/github/issues" + }, + "members_url": { + "type": "string", + "example": "https://api.github.com/orgs/github/members{/member}" + }, + "public_members_url": { + "type": "string", + "example": "https://api.github.com/orgs/github/public_members{/member}" + }, + "avatar_url": { + "type": "string", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "description": { + "type": "string", + "example": "A great organization", + "nullable": true + } + }, + "required": [ + "login", + "url", + "id", + "node_id", + "repos_url", + "events_url", + "hooks_url", + "issues_url", + "members_url", + "public_members_url", + "avatar_url", + "description" + ] + }, + "repository": { + "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", + "example": 42, + "type": "integer", + "format": "int64" + }, + "node_id": { + "type": "string", + "example": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" + }, + "name": { + "description": "The name of the repository.", + "type": "string", + "example": "Team Environment" + }, + "full_name": { + "type": "string", + "example": "octocat/Hello-World" + }, + "license": { + "title": "License Simple", + "description": "License Simple", + "type": "object", + "properties": { + "key": { + "type": "string", + "example": "mit" + }, + "name": { + "type": "string", + "example": "MIT License" + }, + "url": { + "type": "string", + "nullable": true, + "format": "uri", + "example": "https://api.github.com/licenses/mit" + }, + "spdx_id": { + "type": "string", + "nullable": true, + "example": "MIT" + }, + "node_id": { + "type": "string", + "example": "MDc6TGljZW5zZW1pdA==" + }, + "html_url": { + "type": "string", + "format": "uri" + } + }, + "required": [ + "key", + "name", + "url", + "spdx_id", + "node_id" + ], + "nullable": true + }, + "organization": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "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" + ], + "nullable": true + }, + "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": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "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" + ] + }, + "private": { + "description": "Whether the repository is private or public.", + "default": false, + "type": "boolean" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat/Hello-World" + }, + "description": { + "type": "string", + "example": "This your first repo!", + "nullable": true + }, + "fork": { + "type": "boolean" + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octocat/Hello-World" + }, + "archive_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}" + }, + "assignees_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/assignees{/user}" + }, + "blobs_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}" + }, + "branches_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/branches{/branch}" + }, + "collaborators_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}" + }, + "comments_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/comments{/number}" + }, + "commits_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/commits{/sha}" + }, + "compare_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}" + }, + "contents_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/contents/{+path}" + }, + "contributors_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/contributors" + }, + "deployments_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/deployments" + }, + "downloads_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/downloads" + }, + "events_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/events" + }, + "forks_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/forks" + }, + "git_commits_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}" + }, + "git_refs_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}" + }, + "git_tags_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}" + }, + "git_url": { + "type": "string", + "example": "git:github.com/octocat/Hello-World.git" + }, + "issue_comment_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}" + }, + "issue_events_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/issues/events{/number}" + }, + "issues_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/issues{/number}" + }, + "keys_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/keys{/key_id}" + }, + "labels_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/labels{/name}" + }, + "languages_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/languages" + }, + "merges_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/merges" + }, + "milestones_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/milestones{/number}" + }, + "notifications_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}" + }, + "pulls_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/pulls{/number}" + }, + "releases_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/releases{/id}" + }, + "ssh_url": { + "type": "string", + "example": "git@github.com:octocat/Hello-World.git" + }, + "stargazers_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/stargazers" + }, + "statuses_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/statuses/{sha}" + }, + "subscribers_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/subscribers" + }, + "subscription_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/subscription" + }, + "tags_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/tags" + }, + "teams_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/teams" + }, + "trees_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}" + }, + "clone_url": { + "type": "string", + "example": "https://github.com/octocat/Hello-World.git" + }, + "mirror_url": { + "type": "string", + "format": "uri", + "example": "git:git.example.com/octocat/Hello-World", + "nullable": true + }, + "hooks_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/hooks" + }, + "svn_url": { + "type": "string", + "format": "uri", + "example": "https://svn.github.com/octocat/Hello-World" + }, + "homepage": { + "type": "string", + "format": "uri", + "example": "https://github.com", + "nullable": true + }, + "language": { + "type": "string", + "nullable": true + }, + "forks_count": { + "type": "integer", + "example": 9 + }, + "stargazers_count": { + "type": "integer", + "example": 80 + }, + "watchers_count": { + "type": "integer", + "example": 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", + "example": 108 + }, + "default_branch": { + "description": "The default branch of the repository.", + "type": "string", + "example": "master" + }, + "open_issues_count": { + "type": "integer", + "example": 0 + }, + "is_template": { + "description": "Whether this repository acts as a template that can be used to generate new repositories.", + "default": false, + "type": "boolean", + "example": 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", + "example": true + }, + "has_projects": { + "description": "Whether projects are enabled.", + "default": true, + "type": "boolean", + "example": true + }, + "has_wiki": { + "description": "Whether the wiki is enabled.", + "default": true, + "type": "boolean", + "example": true + }, + "has_pages": { + "type": "boolean" + }, + "has_downloads": { + "description": "Whether downloads are enabled.", + "default": true, + "type": "boolean", + "example": true + }, + "has_discussions": { + "description": "Whether discussions are enabled.", + "default": false, + "type": "boolean", + "example": true + }, + "has_pull_requests": { + "description": "Whether pull requests are enabled.", + "default": true, + "type": "boolean", + "example": true + }, + "pull_request_creation_policy": { + "description": "The policy controlling who can create pull requests: all or collaborators_only.", + "type": "string", + "enum": [ + "all", + "collaborators_only" + ] + }, + "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", + "format": "date-time", + "example": "2011-01-26T19:06:43Z", + "nullable": true + }, + "created_at": { + "type": "string", + "format": "date-time", + "example": "2011-01-26T19:01:12Z", + "nullable": true + }, + "updated_at": { + "type": "string", + "format": "date-time", + "example": "2011-01-26T19:14:43Z", + "nullable": true + }, + "allow_rebase_merge": { + "description": "Whether to allow rebase merges for pull requests.", + "default": true, + "type": "boolean", + "example": true + }, + "template_repository": { + "nullable": true, + "type": "object", + "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", + "example": true + }, + "allow_auto_merge": { + "description": "Whether to allow Auto-merge to be used on pull requests.", + "default": false, + "type": "boolean", + "example": false + }, + "delete_branch_on_merge": { + "description": "Whether to delete head branches when pull requests are merged", + "default": false, + "type": "boolean", + "example": 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", + "example": 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", + "example": 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", + "example": "\"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" + ] + }, + "sender": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "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" + ] + } + }, + "required": [ + "action", + "issue", + "repository", + "sender" + ] + } + } + } + }, + "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/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", + "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" + } + }, + { + "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": { + "title": "issues deleted event", + "type": "object", + "properties": { + "action": { + "type": "string", + "enum": [ + "deleted" + ] + }, + "enterprise": { + "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/admin/overview/about-enterprise-accounts).\"", + "type": "object", + "properties": { + "description": { + "description": "A short description of the enterprise.", + "type": "string", + "nullable": true + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/enterprises/octo-business" + }, + "website_url": { + "description": "The enterprise's website URL.", + "type": "string", + "nullable": true, + "format": "uri" + }, + "id": { + "description": "Unique identifier of the enterprise", + "example": 42, + "type": "integer" + }, + "node_id": { + "type": "string", + "example": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" + }, + "name": { + "description": "The name of the enterprise.", + "type": "string", + "example": "Octo Business" + }, + "slug": { + "description": "The slug url identifier for the enterprise.", + "type": "string", + "example": "octo-business" + }, + "created_at": { + "type": "string", + "nullable": true, + "format": "date-time", + "example": "2019-01-26T19:01:12Z" + }, + "updated_at": { + "type": "string", + "nullable": true, + "format": "date-time", + "example": "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" + ] + }, + "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/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", + "example": 1 + }, + "node_id": { + "description": "The global node ID of the installation.", + "type": "string", + "example": "MDQ6VXNlcjU4MzIzMQ==" + } + }, + "required": [ + "id", + "node_id" + ] + }, + "issue": { + "title": "Issue", + "description": "The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself.", + "type": "object", + "properties": { + "active_lock_reason": { + "type": "string", + "nullable": true, + "enum": [ + "resolved", + "off-topic", + "too heated", + "spam", + null + ] + }, + "assignee": { + "title": "User", + "type": "object", + "nullable": true, + "properties": { + "avatar_url": { + "type": "string", + "format": "uri" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "type": "string", + "nullable": true + }, + "events_url": { + "type": "string", + "format": "uri-template" + }, + "followers_url": { + "type": "string", + "format": "uri" + }, + "following_url": { + "type": "string", + "format": "uri-template" + }, + "gists_url": { + "type": "string", + "format": "uri-template" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "type": "string", + "format": "uri" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "type": "string", + "format": "uri" + }, + "received_events_url": { + "type": "string", + "format": "uri" + }, + "repos_url": { + "type": "string", + "format": "uri" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "type": "string", + "format": "uri-template" + }, + "subscriptions_url": { + "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", + "nullable": true, + "properties": { + "avatar_url": { + "type": "string", + "format": "uri" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "type": "string", + "nullable": true + }, + "events_url": { + "type": "string", + "format": "uri-template" + }, + "followers_url": { + "type": "string", + "format": "uri" + }, + "following_url": { + "type": "string", + "format": "uri-template" + }, + "gists_url": { + "type": "string", + "format": "uri-template" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "type": "string", + "format": "uri" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "type": "string", + "format": "uri" + }, + "received_events_url": { + "type": "string", + "format": "uri" + }, + "repos_url": { + "type": "string", + "format": "uri" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "type": "string", + "format": "uri-template" + }, + "subscriptions_url": { + "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", + "nullable": true + }, + "closed_at": { + "type": "string", + "nullable": true, + "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", + "nullable": true + }, + "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", + "nullable": true, + "properties": { + "closed_at": { + "type": "string", + "nullable": true, + "format": "date-time" + }, + "closed_issues": { + "type": "integer" + }, + "created_at": { + "type": "string", + "format": "date-time" + }, + "creator": { + "title": "User", + "type": "object", + "nullable": true, + "properties": { + "avatar_url": { + "type": "string", + "format": "uri" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "type": "string", + "nullable": true + }, + "events_url": { + "type": "string", + "format": "uri-template" + }, + "followers_url": { + "type": "string", + "format": "uri" + }, + "following_url": { + "type": "string", + "format": "uri-template" + }, + "gists_url": { + "type": "string", + "format": "uri-template" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "type": "string", + "format": "uri" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "type": "string", + "format": "uri" + }, + "received_events_url": { + "type": "string", + "format": "uri" + }, + "repos_url": { + "type": "string", + "format": "uri" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "type": "string", + "format": "uri-template" + }, + "subscriptions_url": { + "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", + "nullable": true + }, + "due_on": { + "type": "string", + "nullable": true, + "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", + "nullable": true, + "properties": { + "created_at": { + "type": "string", + "nullable": true, + "format": "date-time" + }, + "description": { + "type": "string", + "nullable": true + }, + "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", + "nullable": true, + "format": "uri" + }, + "html_url": { + "type": "string", + "format": "uri" + }, + "id": { + "description": "Unique identifier of the GitHub app", + "type": "integer", + "nullable": true + }, + "name": { + "description": "The name of the GitHub app", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "owner": { + "title": "User", + "type": "object", + "nullable": true, + "properties": { + "avatar_url": { + "type": "string", + "format": "uri" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "type": "string", + "nullable": true + }, + "events_url": { + "type": "string", + "format": "uri-template" + }, + "followers_url": { + "type": "string", + "format": "uri" + }, + "following_url": { + "type": "string", + "format": "uri-template" + }, + "gists_url": { + "type": "string", + "format": "uri-template" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "type": "string", + "format": "uri" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "type": "string", + "format": "uri" + }, + "received_events_url": { + "type": "string", + "format": "uri" + }, + "repos_url": { + "type": "string", + "format": "uri" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "type": "string", + "format": "uri-template" + }, + "subscriptions_url": { + "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" + ] + }, + "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", + "nullable": true, + "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", + "nullable": true, + "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" + }, + "pinned_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", + "example": 42, + "type": "integer", + "format": "int64" + }, + "node_id": { + "type": "string" + }, + "url": { + "description": "URL for the issue comment", + "example": "https://api.github.com/repositories/42/issues/comments/1", + "type": "string", + "format": "uri" + }, + "body": { + "description": "Contents of the issue comment", + "example": "What version of Safari were you using when you observed this bug?", + "type": "string" + }, + "body_text": { + "type": "string" + }, + "body_html": { + "type": "string" + }, + "html_url": { + "type": "string", + "format": "uri" + }, + "user": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "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" + ], + "nullable": true + }, + "created_at": { + "type": "string", + "format": "date-time", + "example": "2011-04-14T16:00:49Z" + }, + "updated_at": { + "type": "string", + "format": "date-time", + "example": "2011-04-14T16:00:49Z" + }, + "issue_url": { + "type": "string", + "format": "uri" + }, + "author_association": { + "title": "author_association", + "type": "string", + "example": "OWNER", + "description": "How the author is associated with the repository.", + "enum": [ + "COLLABORATOR", + "CONTRIBUTOR", + "FIRST_TIMER", + "FIRST_TIME_CONTRIBUTOR", + "MANNEQUIN", + "MEMBER", + "NONE", + "OWNER" + ] + }, + "performed_via_github_app": { + "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", + "nullable": true, + "properties": { + "id": { + "description": "Unique identifier of the GitHub app", + "example": 37, + "type": "integer" + }, + "slug": { + "description": "The slug name of the GitHub app", + "example": "probot-owners", + "type": "string" + }, + "node_id": { + "type": "string", + "example": "MDExOkludGVncmF0aW9uMQ==" + }, + "client_id": { + "type": "string", + "example": "\"Iv1.25b5d1e65ffc4022\"" + }, + "owner": { + "oneOf": [ + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "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" + ] + }, + { + "title": "Enterprise", + "description": "An enterprise on GitHub.", + "type": "object", + "properties": { + "description": { + "description": "A short description of the enterprise.", + "type": "string", + "nullable": true + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/enterprises/octo-business" + }, + "website_url": { + "description": "The enterprise's website URL.", + "type": "string", + "nullable": true, + "format": "uri" + }, + "id": { + "description": "Unique identifier of the enterprise", + "example": 42, + "type": "integer" + }, + "node_id": { + "type": "string", + "example": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" + }, + "name": { + "description": "The name of the enterprise.", + "type": "string", + "example": "Octo Business" + }, + "slug": { + "description": "The slug url identifier for the enterprise.", + "type": "string", + "example": "octo-business" + }, + "created_at": { + "type": "string", + "nullable": true, + "format": "date-time", + "example": "2019-01-26T19:01:12Z" + }, + "updated_at": { + "type": "string", + "nullable": true, + "format": "date-time", + "example": "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" + ] + } + ] + }, + "name": { + "description": "The name of the GitHub app", + "example": "Probot Owners", + "type": "string" + }, + "description": { + "type": "string", + "example": "The description of the app.", + "nullable": true + }, + "external_url": { + "type": "string", + "format": "uri", + "example": "https://example.com" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/apps/super-ci" + }, + "created_at": { + "type": "string", + "format": "date-time", + "example": "2017-07-08T16:18:44-04:00" + }, + "updated_at": { + "type": "string", + "format": "date-time", + "example": "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.", + "example": [ + "label", + "deployment" + ], + "type": "array", + "items": { + "type": "string" + } + }, + "installations_count": { + "description": "The number of installations associated with the GitHub app. Only returned when the integration is requesting details about itself.", + "example": 5, + "type": "integer" + } + }, + "required": [ + "id", + "node_id", + "owner", + "name", + "description", + "external_url", + "html_url", + "created_at", + "updated_at", + "permissions", + "events" + ] + }, + "reactions": { + "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" + ] + }, + "pin": { + "title": "Pinned Issue Comment", + "description": "Context around who pinned an issue comment and when it was pinned.", + "type": "object", + "properties": { + "pinned_at": { + "type": "string", + "format": "date-time", + "example": "2011-04-14T16:00:49Z" + }, + "pinned_by": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "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" + ], + "nullable": true + } + }, + "required": [ + "pinned_at", + "pinned_by" + ], + "nullable": true + } + }, + "required": [ + "id", + "node_id", + "html_url", + "issue_url", + "user", + "url", + "created_at", + "updated_at" + ], + "nullable": true + }, + "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_field_values": { + "type": "array", + "items": { + "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", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "IFT_GDKND" + }, + "data_type": { + "description": "The data type of the issue field", + "type": "string", + "enum": [ + "text", + "single_select", + "number", + "date" + ], + "example": "text" + }, + "value": { + "description": "The value of the issue field", + "anyOf": [ + { + "type": "string", + "example": "Sample text" + }, + { + "type": "number", + "example": 42.5 + }, + { + "type": "integer", + "example": 1 + } + ], + "nullable": true + }, + "single_select_option": { + "description": "Details about the selected option (only present for single_select fields)", + "type": "object", + "properties": { + "id": { + "description": "Unique identifier for the option.", + "type": "integer", + "format": "int64", + "example": 1 + }, + "name": { + "description": "The name of the option", + "type": "string", + "example": "High" + }, + "color": { + "description": "The color of the option", + "type": "string", + "example": "red" + } + }, + "required": [ + "id", + "name", + "color" + ], + "nullable": true + } + }, + "required": [ + "issue_field_id", + "node_id", + "data_type", + "value" + ] + } + }, + "state": { + "description": "State of the issue; either 'open' or 'closed'", + "type": "string", + "enum": [ + "open", + "closed" + ] + }, + "state_reason": { + "type": "string", + "nullable": true + }, + "timeline_url": { + "type": "string", + "format": "uri" + }, + "title": { + "description": "Title of the issue", + "type": "string" + }, + "type": { + "title": "Issue Type", + "description": "The type of issue.", + "type": "object", + "nullable": true, + "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", + "description": "The description of the issue type.", + "nullable": true + }, + "color": { + "type": "string", + "description": "The color of the issue type.", + "enum": [ + "gray", + "blue", + "green", + "yellow", + "orange", + "red", + "pink", + "purple" + ], + "nullable": true + }, + "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" + ] + }, + "updated_at": { + "type": "string", + "format": "date-time" + }, + "url": { + "description": "URL for the issue", + "type": "string", + "format": "uri" + }, + "user": { + "title": "User", + "type": "object", + "nullable": true, + "properties": { + "avatar_url": { + "type": "string", + "format": "uri" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "type": "string", + "nullable": true + }, + "events_url": { + "type": "string", + "format": "uri-template" + }, + "followers_url": { + "type": "string", + "format": "uri" + }, + "following_url": { + "type": "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": { + "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", + "example": "github" + }, + "id": { + "type": "integer", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDEyOk9yZ2FuaXphdGlvbjE=" + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/orgs/github" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/orgs/github/repos" + }, + "events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/orgs/github/events" + }, + "hooks_url": { + "type": "string", + "example": "https://api.github.com/orgs/github/hooks" + }, + "issues_url": { + "type": "string", + "example": "https://api.github.com/orgs/github/issues" + }, + "members_url": { + "type": "string", + "example": "https://api.github.com/orgs/github/members{/member}" + }, + "public_members_url": { + "type": "string", + "example": "https://api.github.com/orgs/github/public_members{/member}" + }, + "avatar_url": { + "type": "string", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "description": { + "type": "string", + "example": "A great organization", + "nullable": true + } + }, + "required": [ + "login", + "url", + "id", + "node_id", + "repos_url", + "events_url", + "hooks_url", + "issues_url", + "members_url", + "public_members_url", + "avatar_url", + "description" + ] + }, + "repository": { + "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", + "example": 42, + "type": "integer", + "format": "int64" + }, + "node_id": { + "type": "string", + "example": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" + }, + "name": { + "description": "The name of the repository.", + "type": "string", + "example": "Team Environment" + }, + "full_name": { + "type": "string", + "example": "octocat/Hello-World" + }, + "license": { + "title": "License Simple", + "description": "License Simple", + "type": "object", + "properties": { + "key": { + "type": "string", + "example": "mit" + }, + "name": { + "type": "string", + "example": "MIT License" + }, + "url": { + "type": "string", + "nullable": true, + "format": "uri", + "example": "https://api.github.com/licenses/mit" + }, + "spdx_id": { + "type": "string", + "nullable": true, + "example": "MIT" + }, + "node_id": { + "type": "string", + "example": "MDc6TGljZW5zZW1pdA==" + }, + "html_url": { + "type": "string", + "format": "uri" + } + }, + "required": [ + "key", + "name", + "url", + "spdx_id", + "node_id" + ], + "nullable": true + }, + "organization": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "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" + ], + "nullable": true + }, + "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": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "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" + ] + }, + "private": { + "description": "Whether the repository is private or public.", + "default": false, + "type": "boolean" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat/Hello-World" + }, + "description": { + "type": "string", + "example": "This your first repo!", + "nullable": true + }, + "fork": { + "type": "boolean" + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octocat/Hello-World" + }, + "archive_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}" + }, + "assignees_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/assignees{/user}" + }, + "blobs_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}" + }, + "branches_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/branches{/branch}" + }, + "collaborators_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}" + }, + "comments_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/comments{/number}" + }, + "commits_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/commits{/sha}" + }, + "compare_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}" + }, + "contents_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/contents/{+path}" + }, + "contributors_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/contributors" + }, + "deployments_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/deployments" + }, + "downloads_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/downloads" + }, + "events_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/events" + }, + "forks_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/forks" + }, + "git_commits_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}" + }, + "git_refs_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}" + }, + "git_tags_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}" + }, + "git_url": { + "type": "string", + "example": "git:github.com/octocat/Hello-World.git" + }, + "issue_comment_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}" + }, + "issue_events_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/issues/events{/number}" + }, + "issues_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/issues{/number}" + }, + "keys_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/keys{/key_id}" + }, + "labels_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/labels{/name}" + }, + "languages_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/languages" + }, + "merges_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/merges" + }, + "milestones_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/milestones{/number}" + }, + "notifications_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}" + }, + "pulls_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/pulls{/number}" + }, + "releases_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/releases{/id}" + }, + "ssh_url": { + "type": "string", + "example": "git@github.com:octocat/Hello-World.git" + }, + "stargazers_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/stargazers" + }, + "statuses_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/statuses/{sha}" + }, + "subscribers_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/subscribers" + }, + "subscription_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/subscription" + }, + "tags_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/tags" + }, + "teams_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/teams" + }, + "trees_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}" + }, + "clone_url": { + "type": "string", + "example": "https://github.com/octocat/Hello-World.git" + }, + "mirror_url": { + "type": "string", + "format": "uri", + "example": "git:git.example.com/octocat/Hello-World", + "nullable": true + }, + "hooks_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/hooks" + }, + "svn_url": { + "type": "string", + "format": "uri", + "example": "https://svn.github.com/octocat/Hello-World" + }, + "homepage": { + "type": "string", + "format": "uri", + "example": "https://github.com", + "nullable": true + }, + "language": { + "type": "string", + "nullable": true + }, + "forks_count": { + "type": "integer", + "example": 9 + }, + "stargazers_count": { + "type": "integer", + "example": 80 + }, + "watchers_count": { + "type": "integer", + "example": 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", + "example": 108 + }, + "default_branch": { + "description": "The default branch of the repository.", + "type": "string", + "example": "master" + }, + "open_issues_count": { + "type": "integer", + "example": 0 + }, + "is_template": { + "description": "Whether this repository acts as a template that can be used to generate new repositories.", + "default": false, + "type": "boolean", + "example": 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", + "example": true + }, + "has_projects": { + "description": "Whether projects are enabled.", + "default": true, + "type": "boolean", + "example": true + }, + "has_wiki": { + "description": "Whether the wiki is enabled.", + "default": true, + "type": "boolean", + "example": true + }, + "has_pages": { + "type": "boolean" + }, + "has_downloads": { + "description": "Whether downloads are enabled.", + "default": true, + "type": "boolean", + "example": true + }, + "has_discussions": { + "description": "Whether discussions are enabled.", + "default": false, + "type": "boolean", + "example": true + }, + "has_pull_requests": { + "description": "Whether pull requests are enabled.", + "default": true, + "type": "boolean", + "example": true + }, + "pull_request_creation_policy": { + "description": "The policy controlling who can create pull requests: all or collaborators_only.", + "type": "string", + "enum": [ + "all", + "collaborators_only" + ] + }, + "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", + "format": "date-time", + "example": "2011-01-26T19:06:43Z", + "nullable": true + }, + "created_at": { + "type": "string", + "format": "date-time", + "example": "2011-01-26T19:01:12Z", + "nullable": true + }, + "updated_at": { + "type": "string", + "format": "date-time", + "example": "2011-01-26T19:14:43Z", + "nullable": true + }, + "allow_rebase_merge": { + "description": "Whether to allow rebase merges for pull requests.", + "default": true, + "type": "boolean", + "example": true + }, + "template_repository": { + "nullable": true, + "type": "object", + "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", + "example": true + }, + "allow_auto_merge": { + "description": "Whether to allow Auto-merge to be used on pull requests.", + "default": false, + "type": "boolean", + "example": false + }, + "delete_branch_on_merge": { + "description": "Whether to delete head branches when pull requests are merged", + "default": false, + "type": "boolean", + "example": 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", + "example": 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", + "example": 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", + "example": "\"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" + ] + }, + "sender": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "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" + ] + } + }, + "required": [ + "action", + "issue", + "repository", + "sender" + ] + } + } + } + }, + "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/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", + "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" + } + }, + { + "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": { + "title": "issues demilestoned event", + "type": "object", + "properties": { + "action": { + "type": "string", + "enum": [ + "demilestoned" + ] + }, + "enterprise": { + "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/admin/overview/about-enterprise-accounts).\"", + "type": "object", + "properties": { + "description": { + "description": "A short description of the enterprise.", + "type": "string", + "nullable": true + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/enterprises/octo-business" + }, + "website_url": { + "description": "The enterprise's website URL.", + "type": "string", + "nullable": true, + "format": "uri" + }, + "id": { + "description": "Unique identifier of the enterprise", + "example": 42, + "type": "integer" + }, + "node_id": { + "type": "string", + "example": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" + }, + "name": { + "description": "The name of the enterprise.", + "type": "string", + "example": "Octo Business" + }, + "slug": { + "description": "The slug url identifier for the enterprise.", + "type": "string", + "example": "octo-business" + }, + "created_at": { + "type": "string", + "nullable": true, + "format": "date-time", + "example": "2019-01-26T19:01:12Z" + }, + "updated_at": { + "type": "string", + "nullable": true, + "format": "date-time", + "example": "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" + ] + }, + "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/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", + "example": 1 + }, + "node_id": { + "description": "The global node ID of the installation.", + "type": "string", + "example": "MDQ6VXNlcjU4MzIzMQ==" + } + }, + "required": [ + "id", + "node_id" + ] + }, + "issue": { + "title": "Issue", + "description": "The [issue](https://docs.github.com/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", + "nullable": true, + "enum": [ + "resolved", + "off-topic", + "too heated", + "spam", + null + ] + }, + "assignee": { + "title": "User", + "type": "object", + "nullable": true, + "required": [ + "login", + "id" + ], + "properties": { + "avatar_url": { + "type": "string", + "format": "uri" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "type": "string", + "nullable": true + }, + "events_url": { + "type": "string", + "format": "uri-template" + }, + "followers_url": { + "type": "string", + "format": "uri" + }, + "following_url": { + "type": "string", + "format": "uri-template" + }, + "gists_url": { + "type": "string", + "format": "uri-template" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "type": "string", + "format": "uri" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "type": "string", + "format": "uri" + }, + "received_events_url": { + "type": "string", + "format": "uri" + }, + "repos_url": { + "type": "string", + "format": "uri" + }, + "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", + "nullable": true, + "required": [ + "login", + "id" + ], + "properties": { + "avatar_url": { + "type": "string", + "format": "uri" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "type": "string", + "nullable": true + }, + "events_url": { + "type": "string", + "format": "uri-template" + }, + "followers_url": { + "type": "string", + "format": "uri" + }, + "following_url": { + "type": "string", + "format": "uri-template" + }, + "gists_url": { + "type": "string", + "format": "uri-template" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "type": "string", + "format": "uri" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "type": "string", + "format": "uri" + }, + "received_events_url": { + "type": "string", + "format": "uri" + }, + "repos_url": { + "type": "string", + "format": "uri" + }, + "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", + "nullable": true + }, + "closed_at": { + "type": "string", + "nullable": true, + "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", + "required": [ + "id", + "node_id", + "url", + "name", + "color", + "default", + "description" + ], + "nullable": true, + "properties": { + "color": { + "description": "6-character hex code, without the leading #, identifying the color", + "type": "string" + }, + "default": { + "type": "boolean" + }, + "description": { + "type": "string", + "nullable": true + }, + "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", + "nullable": true, + "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", + "nullable": true, + "format": "date-time" + }, + "closed_issues": { + "type": "integer" + }, + "created_at": { + "type": "string", + "format": "date-time" + }, + "creator": { + "title": "User", + "type": "object", + "nullable": true, + "required": [ + "login", + "id" + ], + "properties": { + "avatar_url": { + "type": "string", + "format": "uri" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "type": "string", + "nullable": true + }, + "events_url": { + "type": "string", + "format": "uri-template" + }, + "followers_url": { + "type": "string", + "format": "uri" + }, + "following_url": { + "type": "string", + "format": "uri-template" + }, + "gists_url": { + "type": "string", + "format": "uri-template" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "type": "string", + "format": "uri" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "type": "string", + "format": "uri" + }, + "received_events_url": { + "type": "string", + "format": "uri" + }, + "repos_url": { + "type": "string", + "format": "uri" + }, + "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", + "nullable": true + }, + "due_on": { + "type": "string", + "nullable": true, + "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", + "nullable": true, + "required": [ + "id", + "node_id", + "owner", + "name", + "description", + "external_url", + "html_url", + "created_at", + "updated_at" + ], + "properties": { + "created_at": { + "type": "string", + "nullable": true, + "format": "date-time" + }, + "description": { + "type": "string", + "nullable": true + }, + "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", + "nullable": true, + "format": "uri" + }, + "html_url": { + "type": "string", + "format": "uri" + }, + "id": { + "description": "Unique identifier of the GitHub app", + "type": "integer", + "nullable": true + }, + "name": { + "description": "The name of the GitHub app", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "owner": { + "title": "User", + "type": "object", + "nullable": true, + "required": [ + "login", + "id" + ], + "properties": { + "avatar_url": { + "type": "string", + "format": "uri" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "type": "string", + "nullable": true + }, + "events_url": { + "type": "string", + "format": "uri-template" + }, + "followers_url": { + "type": "string", + "format": "uri" + }, + "following_url": { + "type": "string", + "format": "uri-template" + }, + "gists_url": { + "type": "string", + "format": "uri-template" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "type": "string", + "format": "uri" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "type": "string", + "format": "uri" + }, + "received_events_url": { + "type": "string", + "format": "uri" + }, + "repos_url": { + "type": "string", + "format": "uri" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "type": "string", + "format": "uri-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" + ] + }, + "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", + "nullable": true, + "format": "date-time" + } + } + }, + "pull_request": { + "type": "object", + "properties": { + "diff_url": { + "type": "string", + "format": "uri" + }, + "html_url": { + "type": "string", + "format": "uri" + }, + "merged_at": { + "type": "string", + "nullable": true, + "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" + }, + "pinned_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", + "example": 42, + "type": "integer", + "format": "int64" + }, + "node_id": { + "type": "string" + }, + "url": { + "description": "URL for the issue comment", + "example": "https://api.github.com/repositories/42/issues/comments/1", + "type": "string", + "format": "uri" + }, + "body": { + "description": "Contents of the issue comment", + "example": "What version of Safari were you using when you observed this bug?", + "type": "string" + }, + "body_text": { + "type": "string" + }, + "body_html": { + "type": "string" + }, + "html_url": { + "type": "string", + "format": "uri" + }, + "user": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "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" + ], + "nullable": true + }, + "created_at": { + "type": "string", + "format": "date-time", + "example": "2011-04-14T16:00:49Z" + }, + "updated_at": { + "type": "string", + "format": "date-time", + "example": "2011-04-14T16:00:49Z" + }, + "issue_url": { + "type": "string", + "format": "uri" + }, + "author_association": { + "title": "author_association", + "type": "string", + "example": "OWNER", + "description": "How the author is associated with the repository.", + "enum": [ + "COLLABORATOR", + "CONTRIBUTOR", + "FIRST_TIMER", + "FIRST_TIME_CONTRIBUTOR", + "MANNEQUIN", + "MEMBER", + "NONE", + "OWNER" + ] + }, + "performed_via_github_app": { + "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", + "nullable": true, + "properties": { + "id": { + "description": "Unique identifier of the GitHub app", + "example": 37, + "type": "integer" + }, + "slug": { + "description": "The slug name of the GitHub app", + "example": "probot-owners", + "type": "string" + }, + "node_id": { + "type": "string", + "example": "MDExOkludGVncmF0aW9uMQ==" + }, + "client_id": { + "type": "string", + "example": "\"Iv1.25b5d1e65ffc4022\"" + }, + "owner": { + "oneOf": [ + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "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" + ] + }, + { + "title": "Enterprise", + "description": "An enterprise on GitHub.", + "type": "object", + "properties": { + "description": { + "description": "A short description of the enterprise.", + "type": "string", + "nullable": true + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/enterprises/octo-business" + }, + "website_url": { + "description": "The enterprise's website URL.", + "type": "string", + "nullable": true, + "format": "uri" + }, + "id": { + "description": "Unique identifier of the enterprise", + "example": 42, + "type": "integer" + }, + "node_id": { + "type": "string", + "example": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" + }, + "name": { + "description": "The name of the enterprise.", + "type": "string", + "example": "Octo Business" + }, + "slug": { + "description": "The slug url identifier for the enterprise.", + "type": "string", + "example": "octo-business" + }, + "created_at": { + "type": "string", + "nullable": true, + "format": "date-time", + "example": "2019-01-26T19:01:12Z" + }, + "updated_at": { + "type": "string", + "nullable": true, + "format": "date-time", + "example": "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" + ] + } + ] + }, + "name": { + "description": "The name of the GitHub app", + "example": "Probot Owners", + "type": "string" + }, + "description": { + "type": "string", + "example": "The description of the app.", + "nullable": true + }, + "external_url": { + "type": "string", + "format": "uri", + "example": "https://example.com" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/apps/super-ci" + }, + "created_at": { + "type": "string", + "format": "date-time", + "example": "2017-07-08T16:18:44-04:00" + }, + "updated_at": { + "type": "string", + "format": "date-time", + "example": "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" } }, - "required": [ - "pinned_at", - "pinned_by" + "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.", + "example": [ + "label", + "deployment" ], - "nullable": true + "type": "array", + "items": { + "type": "string" + } + }, + "installations_count": { + "description": "The number of installations associated with the GitHub app. Only returned when the integration is requesting details about itself.", + "example": 5, + "type": "integer" } }, "required": [ "id", "node_id", + "owner", + "name", + "description", + "external_url", "html_url", - "issue_url", - "user", - "url", "created_at", - "updated_at" - ], - "nullable": true + "updated_at", + "permissions", + "events" + ] }, - "sub_issues_summary": { - "title": "Sub-issues Summary", + "reactions": { + "title": "Reaction Rollup", "type": "object", "properties": { - "total": { + "url": { + "type": "string", + "format": "uri" + }, + "total_count": { "type": "integer" }, - "completed": { + "+1": { "type": "integer" }, - "percent_completed": { + "-1": { "type": "integer" - } - }, - "required": [ - "total", - "completed", - "percent_completed" - ] - }, - "issue_dependencies_summary": { - "title": "Issue Dependencies Summary", - "type": "object", - "properties": { - "blocked_by": { + }, + "laugh": { "type": "integer" }, - "blocking": { + "confused": { "type": "integer" }, - "total_blocked_by": { + "heart": { "type": "integer" }, - "total_blocking": { + "hooray": { + "type": "integer" + }, + "eyes": { + "type": "integer" + }, + "rocket": { "type": "integer" } }, "required": [ - "blocked_by", - "blocking", - "total_blocked_by", - "total_blocking" + "url", + "total_count", + "+1", + "-1", + "laugh", + "confused", + "heart", + "hooray", + "eyes", + "rocket" ] }, - "issue_field_values": { - "type": "array", - "items": { - "title": "Issue Field Value", - "description": "A value assigned to an issue field", + "pin": { + "title": "Pinned Issue Comment", + "description": "Context around who pinned an issue comment and when it was pinned.", + "type": "object", + "properties": { + "pinned_at": { + "type": "string", + "format": "date-time", + "example": "2011-04-14T16:00:49Z" + }, + "pinned_by": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "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" + ], + "nullable": true + } + }, + "required": [ + "pinned_at", + "pinned_by" + ], + "nullable": true + } + }, + "required": [ + "id", + "node_id", + "html_url", + "issue_url", + "user", + "url", + "created_at", + "updated_at" + ], + "nullable": true + }, + "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_field_values": { + "type": "array", + "items": { + "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", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "IFT_GDKND" + }, + "data_type": { + "description": "The data type of the issue field", + "type": "string", + "enum": [ + "text", + "single_select", + "number", + "date" + ], + "example": "text" + }, + "value": { + "description": "The value of the issue field", + "anyOf": [ + { + "type": "string", + "example": "Sample text" + }, + { + "type": "number", + "example": 42.5 + }, + { + "type": "integer", + "example": 1 + } + ], + "nullable": true + }, + "single_select_option": { + "description": "Details about the selected option (only present for single_select fields)", "type": "object", "properties": { - "issue_field_id": { - "description": "Unique identifier for the issue field.", + "id": { + "description": "Unique identifier for the option.", "type": "integer", "format": "int64", "example": 1 }, - "node_id": { + "name": { + "description": "The name of the option", "type": "string", - "example": "IFT_GDKND" + "example": "High" }, - "data_type": { - "description": "The data type of the issue field", + "color": { + "description": "The color of the option", "type": "string", - "enum": [ - "text", - "single_select", - "number", - "date" - ], - "example": "text" - }, - "value": { - "description": "The value of the issue field", - "anyOf": [ - { - "type": "string", - "example": "Sample text" - }, - { - "type": "number", - "example": 42.5 - }, - { - "type": "integer", - "example": 1 - } - ], - "nullable": true - }, - "single_select_option": { - "description": "Details about the selected option (only present for single_select fields)", - "type": "object", - "properties": { - "id": { - "description": "Unique identifier for the option.", - "type": "integer", - "format": "int64", - "example": 1 - }, - "name": { - "description": "The name of the option", - "type": "string", - "example": "High" - }, - "color": { - "description": "The color of the option", - "type": "string", - "example": "red" - } - }, - "required": [ - "id", - "name", - "color" - ], - "nullable": true + "example": "red" } }, "required": [ - "issue_field_id", - "node_id", - "data_type", - "value" - ] + "id", + "name", + "color" + ], + "nullable": true } }, - "state": { - "description": "State of the issue; either 'open' or 'closed'", - "type": "string", - "enum": [ - "open", - "closed" - ] + "required": [ + "issue_field_id", + "node_id", + "data_type", + "value" + ] + } + }, + "state": { + "description": "State of the issue; either 'open' or 'closed'", + "type": "string", + "enum": [ + "open", + "closed" + ] + }, + "state_reason": { + "type": "string", + "nullable": true + }, + "timeline_url": { + "type": "string", + "format": "uri" + }, + "title": { + "description": "Title of the issue", + "type": "string" + }, + "type": { + "title": "Issue Type", + "description": "The type of issue.", + "type": "object", + "nullable": true, + "properties": { + "id": { + "type": "integer", + "description": "The unique identifier of the issue type." }, - "state_reason": { + "node_id": { "type": "string", - "nullable": true + "description": "The node identifier of the issue type." }, - "timeline_url": { + "name": { "type": "string", - "format": "uri" + "description": "The name of the issue type." }, - "title": { - "description": "Title of the issue", - "type": "string" + "description": { + "type": "string", + "description": "The description of the issue type.", + "nullable": true }, - "type": { - "title": "Issue Type", - "description": "The type of issue.", - "type": "object", - "nullable": true, - "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", - "description": "The description of the issue type.", - "nullable": true - }, - "color": { - "type": "string", - "description": "The color of the issue type.", - "enum": [ - "gray", - "blue", - "green", - "yellow", - "orange", - "red", - "pink", - "purple" - ], - "nullable": true - }, - "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" - ] + "color": { + "type": "string", + "description": "The color of the issue type.", + "enum": [ + "gray", + "blue", + "green", + "yellow", + "orange", + "red", + "pink", + "purple" + ], + "nullable": true }, - "updated_at": { + "created_at": { "type": "string", + "description": "The time the issue type created.", "format": "date-time" }, - "url": { - "description": "URL for the issue", + "updated_at": { "type": "string", - "format": "uri" + "description": "The time the issue type last updated.", + "format": "date-time" }, - "user": { - "title": "User", - "type": "object", - "nullable": true, - "properties": { - "avatar_url": { - "type": "string", - "format": "uri" - }, - "deleted": { - "type": "boolean" - }, - "email": { - "type": "string", - "nullable": true - }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { - "type": "string", - "format": "uri" - }, - "following_url": { - "type": "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" - ] + "is_enabled": { + "type": "boolean", + "description": "The enabled state of the issue type." } }, "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" + "name", + "description" ] }, - { + "updated_at": { + "type": "string", + "format": "date-time" + }, + "url": { + "description": "URL for the issue", + "type": "string", + "format": "uri" + }, + "user": { + "title": "User", "type": "object", + "nullable": true, + "required": [ + "login", + "id" + ], "properties": { - "active_lock_reason": { + "avatar_url": { "type": "string", - "nullable": true + "format": "uri" }, - "assignee": { - "type": "object", - "nullable": true + "deleted": { + "type": "boolean" }, - "assignees": { - "type": "array", - "items": { - "type": "object", - "nullable": true - } + "email": { + "type": "string", + "nullable": true }, - "author_association": { - "type": "string" + "events_url": { + "type": "string", + "format": "uri-template" }, - "body": { + "followers_url": { "type": "string", - "nullable": true + "format": "uri" }, - "closed_at": { + "following_url": { "type": "string", - "nullable": true + "format": "uri-template" }, - "comments": { - "type": "integer" + "gists_url": { + "type": "string", + "format": "uri-template" }, - "comments_url": { + "gravatar_id": { "type": "string" }, - "created_at": { + "html_url": { + "type": "string", + "format": "uri" + }, + "id": { + "type": "integer", + "format": "int64" + }, + "login": { "type": "string" }, - "events_url": { + "name": { "type": "string" }, - "html_url": { + "node_id": { "type": "string" }, - "id": { - "type": "integer" + "organizations_url": { + "type": "string", + "format": "uri" }, - "labels": { - "type": "array", - "items": { - "type": "object", - "nullable": true - } + "received_events_url": { + "type": "string", + "format": "uri" }, - "labels_url": { - "type": "string" + "repos_url": { + "type": "string", + "format": "uri" }, - "locked": { + "site_admin": { "type": "boolean" }, - "milestone": { - "type": "object", - "nullable": true + "starred_url": { + "type": "string", + "format": "uri-template" }, - "node_id": { + "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": { + "title": "Milestone", + "description": "A collection of related issues and pull requests.", + "type": "object", + "properties": { + "closed_at": { + "type": "string", + "nullable": true, + "format": "date-time" + }, + "closed_issues": { + "type": "integer" + }, + "created_at": { + "type": "string", + "format": "date-time" + }, + "creator": { + "title": "User", + "type": "object", + "nullable": true, + "properties": { + "avatar_url": { + "type": "string", + "format": "uri" }, - "number": { - "type": "integer" + "deleted": { + "type": "boolean" }, - "performed_via_github_app": { - "type": "object", + "email": { + "type": "string", "nullable": true }, - "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" - } - } + "events_url": { + "type": "string", + "format": "uri-template" }, - "repository_url": { + "followers_url": { + "type": "string", + "format": "uri" + }, + "following_url": { + "type": "string", + "format": "uri-template" + }, + "gists_url": { + "type": "string", + "format": "uri-template" + }, + "gravatar_id": { "type": "string" }, - "state": { + "html_url": { "type": "string", - "enum": [ - "closed", - "open" - ] + "format": "uri" }, - "timeline_url": { + "id": { + "type": "integer" + }, + "login": { "type": "string" }, - "title": { + "name": { "type": "string" }, - "updated_at": { + "node_id": { "type": "string" }, + "organizations_url": { + "type": "string", + "format": "uri" + }, + "received_events_url": { + "type": "string", + "format": "uri" + }, + "repos_url": { + "type": "string", + "format": "uri" + }, + "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" + "type": "string", + "format": "uri" }, - "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" - } - } + "user_view_type": { + "type": "string" } }, "required": [ - "state", - "closed_at" + "login", + "id" + ] + }, + "description": { + "type": "string", + "nullable": true + }, + "due_on": { + "type": "string", + "nullable": true, + "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" ] }, "organization": { @@ -942515,11 +950991,11 @@ } } }, - "issues-deleted": { + "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 deleted.", - "operationId": "issues/deleted", + "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" }, @@ -942586,15 +951062,45 @@ "content": { "application/json": { "schema": { - "title": "issues deleted event", + "title": "issues edited event", "type": "object", "properties": { "action": { "type": "string", "enum": [ - "deleted" + "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": { "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/admin/overview/about-enterprise-accounts).\"", @@ -942779,7 +951285,8 @@ "enum": [ "Bot", "User", - "Organization" + "Organization", + "Mannequin" ] }, "url": { @@ -942876,15 +951383,13 @@ "enum": [ "Bot", "User", - "Organization" + "Organization", + "Mannequin" ] }, "url": { "type": "string", "format": "uri" - }, - "user_view_type": { - "type": "string" } }, "required": [ @@ -943092,7 +951597,8 @@ "enum": [ "Bot", "User", - "Organization" + "Organization", + "Mannequin" ] }, "url": { @@ -943250,6 +951756,8 @@ "watch", "workflow_dispatch", "workflow_run", + "security_and_analysis", + "pull_request_review_thread", "reminder" ] } @@ -943497,7 +952005,8 @@ "type": "string", "enum": [ "read", - "write" + "write", + "admin" ] }, "organization_secrets": { @@ -944561,10 +953070,6 @@ "type": "string", "format": "uri" }, - "title": { - "description": "Title of the issue", - "type": "string" - }, "type": { "title": "Issue Type", "description": "The type of issue.", @@ -944625,6 +953130,10 @@ "description" ] }, + "title": { + "description": "Title of the issue", + "type": "string" + }, "updated_at": { "type": "string", "format": "date-time" @@ -944714,7 +953223,8 @@ "enum": [ "Bot", "User", - "Organization" + "Organization", + "Mannequin" ] }, "url": { @@ -944755,6 +953265,47 @@ "reactions" ] }, + "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", + "nullable": true + }, + "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" + ] + }, "organization": { "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.", @@ -946186,6 +954737,7 @@ }, "required": [ "action", + "changes", "issue", "repository", "sender" @@ -946211,11 +954763,11 @@ } } }, - "issues-demilestoned": { + "issues-field-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 removed from a milestone.", - "operationId": "issues/demilestoned", + "description": "An issue field value was set or updated on an issue.", + "operationId": "issues/field-added", "externalDocs": { "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#issues" }, @@ -946282,13 +954834,13 @@ "content": { "application/json": { "schema": { - "title": "issues demilestoned event", + "title": "issues field_added event", "type": "object", "properties": { "action": { "type": "string", "enum": [ - "demilestoned" + "field_added" ] }, "enterprise": { @@ -946384,29 +954936,6 @@ "title": "Issue", "description": "The [issue](https://docs.github.com/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", @@ -946423,10 +954952,6 @@ "title": "User", "type": "object", "nullable": true, - "required": [ - "login", - "id" - ], "properties": { "avatar_url": { "type": "string", @@ -946509,8 +955034,15 @@ "url": { "type": "string", "format": "uri" + }, + "user_view_type": { + "type": "string" } - } + }, + "required": [ + "login", + "id" + ] }, "assignees": { "type": "array", @@ -946518,10 +955050,6 @@ "title": "User", "type": "object", "nullable": true, - "required": [ - "login", - "id" - ], "properties": { "avatar_url": { "type": "string", @@ -946604,8 +955132,15 @@ "url": { "type": "string", "format": "uri" + }, + "user_view_type": { + "type": "string" } - } + }, + "required": [ + "login", + "id" + ] } }, "author_association": { @@ -946664,16 +955199,6 @@ "items": { "title": "Label", "type": "object", - "required": [ - "id", - "node_id", - "url", - "name", - "color", - "default", - "description" - ], - "nullable": true, "properties": { "color": { "description": "6-character hex code, without the leading #, identifying the color", @@ -946701,7 +955226,16 @@ "type": "string", "format": "uri" } - } + }, + "required": [ + "id", + "node_id", + "url", + "name", + "color", + "default", + "description" + ] } }, "labels_url": { @@ -946716,24 +955250,6 @@ "description": "A collection of related issues and pull requests.", "type": "object", "nullable": true, - "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", @@ -946751,10 +955267,6 @@ "title": "User", "type": "object", "nullable": true, - "required": [ - "login", - "id" - ], "properties": { "avatar_url": { "type": "string", @@ -946841,7 +955353,11 @@ "user_view_type": { "type": "string" } - } + }, + "required": [ + "login", + "id" + ] }, "description": { "type": "string", @@ -946893,7 +955409,25 @@ "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" @@ -946906,17 +955440,6 @@ "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", "nullable": true, - "required": [ - "id", - "node_id", - "owner", - "name", - "description", - "external_url", - "html_url", - "created_at", - "updated_at" - ], "properties": { "created_at": { "type": "string", @@ -946977,7 +955500,9 @@ "team_add", "watch", "workflow_dispatch", - "workflow_run" + "workflow_run", + "reminder", + "pull_request_review_thread" ] } }, @@ -947006,10 +955531,6 @@ "title": "User", "type": "object", "nullable": true, - "required": [ - "login", - "id" - ], "properties": { "avatar_url": { "type": "string", @@ -947095,7 +955616,11 @@ "user_view_type": { "type": "string" } - } + }, + "required": [ + "login", + "id" + ] }, "permissions": { "description": "The set of permissions for the GitHub app", @@ -947351,7 +955876,18 @@ "nullable": true, "format": "date-time" } - } + }, + "required": [ + "id", + "node_id", + "owner", + "name", + "description", + "external_url", + "html_url", + "created_at", + "updated_at" + ] }, "pull_request": { "type": "object", @@ -947382,18 +955918,6 @@ "reactions": { "title": "Reactions", "type": "object", - "required": [ - "url", - "total_count", - "+1", - "-1", - "laugh", - "confused", - "heart", - "hooray", - "eyes", - "rocket" - ], "properties": { "+1": { "type": "integer" @@ -947426,7 +955950,19 @@ "type": "string", "format": "uri" } - } + }, + "required": [ + "url", + "total_count", + "+1", + "-1", + "laugh", + "confused", + "heart", + "hooray", + "eyes", + "rocket" + ] }, "repository_url": { "type": "string", @@ -948355,10 +956891,6 @@ "title": "User", "type": "object", "nullable": true, - "required": [ - "login", - "id" - ], "properties": { "avatar_url": { "type": "string", @@ -948446,193 +956978,183 @@ "user_view_type": { "type": "string" } - } - } - } - }, - "milestone": { - "title": "Milestone", - "description": "A collection of related issues and pull requests.", - "type": "object", - "properties": { - "closed_at": { - "type": "string", - "nullable": true, - "format": "date-time" - }, - "closed_issues": { - "type": "integer" - }, - "created_at": { - "type": "string", - "format": "date-time" - }, - "creator": { - "title": "User", - "type": "object", - "nullable": true, - "properties": { - "avatar_url": { - "type": "string", - "format": "uri" - }, - "deleted": { - "type": "boolean" - }, - "email": { - "type": "string", - "nullable": true - }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { - "type": "string", - "format": "uri" - }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { - "type": "string" - }, - "html_url": { - "type": "string", - "format": "uri" - }, - "id": { - "type": "integer" - }, - "login": { - "type": "string" - }, - "name": { - "type": "string" - }, - "node_id": { - "type": "string" - }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { - "type": "string", - "format": "uri" - }, - "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", - "nullable": true - }, - "due_on": { - "type": "string", - "nullable": true, - "format": "date-time" - }, - "html_url": { - "type": "string", - "format": "uri" - }, + } + }, + "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" + ] + }, + "issue_field": { + "type": "object", + "description": "The issue field whose value was set or updated on the issue.", + "properties": { "id": { - "type": "integer" + "type": "integer", + "description": "The unique identifier of the issue field." }, - "labels_url": { + "name": { "type": "string", - "format": "uri" - }, - "node_id": { - "type": "string" - }, - "number": { - "description": "The number of the milestone.", - "type": "integer" - }, - "open_issues": { - "type": "integer" + "description": "The name of the issue field." }, - "state": { - "description": "The state of the milestone.", + "field_type": { "type": "string", + "description": "The data type of the issue field.", "enum": [ - "open", - "closed" + "text", + "date", + "single_select", + "number" ] + } + }, + "required": [ + "id", + "name", + "field_type" + ] + }, + "issue_field_value": { + "type": "object", + "description": "The value that was set or updated for the issue field. When updating an existing value, the previous value is available in `changes`.", + "properties": { + "id": { + "type": "integer", + "description": "The unique identifier of the issue field value." }, - "title": { - "description": "The title of the milestone.", - "type": "string" + "value": { + "description": "The value of the field. Present for text, date, and number field types.", + "nullable": true, + "anyOf": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "integer" + } + ] }, - "updated_at": { - "type": "string", - "format": "date-time" + "value_id": { + "type": "integer", + "description": "The identifier of the selected option. Present for single_select field types." }, - "url": { - "type": "string", - "format": "uri" + "option": { + "type": "object", + "description": "The selected option details. Present for single_select field types.", + "properties": { + "id": { + "type": "integer" + }, + "name": { + "type": "string" + }, + "color": { + "type": "string" + }, + "description": { + "type": "string", + "nullable": true + } + } } }, "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" + "id" ] }, + "changes": { + "type": "object", + "description": "The previous field value, present when an existing value was updated.", + "properties": { + "issue_field_value": { + "type": "object", + "description": "The previous issue field value data.", + "properties": { + "from": { + "type": "object", + "description": "The previous value of the issue field before the update.", + "properties": { + "id": { + "type": "integer", + "description": "The unique identifier of the issue field value." + }, + "value": { + "description": "The previous value. Present for text, date, and number field types.", + "nullable": true, + "anyOf": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "integer" + } + ] + }, + "value_id": { + "type": "integer", + "description": "The identifier of the previously selected option. Present for single_select field types." + }, + "option": { + "type": "object", + "description": "The previously selected option details. Present for single_select field types.", + "properties": { + "id": { + "type": "integer" + }, + "name": { + "type": "string" + }, + "color": { + "type": "string" + }, + "description": { + "type": "string", + "nullable": true + } + } + } + }, + "required": [ + "id" + ] + } + }, + "required": [ + "from" + ] + } + } + }, "organization": { "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.", @@ -950065,6 +958587,7 @@ "required": [ "action", "issue", + "issue_field", "repository", "sender" ] @@ -950089,11 +958612,11 @@ } } }, - "issues-edited": { + "issues-field-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": "The title or body on an issue was edited.", - "operationId": "issues/edited", + "description": "An issue field value was cleared from an issue.", + "operationId": "issues/field-removed", "externalDocs": { "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#issues" }, @@ -950160,45 +958683,15 @@ "content": { "application/json": { "schema": { - "title": "issues edited event", + "title": "issues field_removed event", "type": "object", "properties": { "action": { "type": "string", "enum": [ - "edited" + "field_removed" ] }, - "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": { "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/admin/overview/about-enterprise-accounts).\"", @@ -950488,6 +958981,9 @@ "url": { "type": "string", "format": "uri" + }, + "user_view_type": { + "type": "string" } }, "required": [ @@ -950854,9 +959350,8 @@ "watch", "workflow_dispatch", "workflow_run", - "security_and_analysis", - "pull_request_review_thread", - "reminder" + "reminder", + "pull_request_review_thread" ] } }, @@ -952168,6 +960663,10 @@ "type": "string", "format": "uri" }, + "title": { + "description": "Title of the issue", + "type": "string" + }, "type": { "title": "Issue Type", "description": "The type of issue.", @@ -952228,10 +960727,6 @@ "description" ] }, - "title": { - "description": "Title of the issue", - "type": "string" - }, "updated_at": { "type": "string", "format": "date-time" @@ -952363,45 +960858,84 @@ "reactions" ] }, - "label": { - "title": "Label", + "issue_field": { "type": "object", + "description": "The issue field whose value was cleared from the issue.", "properties": { - "color": { - "description": "6-character hex code, without the leading #, identifying the color", - "type": "string" - }, - "default": { - "type": "boolean" - }, - "description": { - "type": "string", - "nullable": true - }, "id": { - "type": "integer" + "type": "integer", + "description": "The unique identifier of the issue field." }, "name": { - "description": "The name of the label.", - "type": "string" - }, - "node_id": { - "type": "string" + "type": "string", + "description": "The name of the issue field." }, - "url": { - "description": "URL for the label", + "field_type": { "type": "string", - "format": "uri" + "description": "The data type of the issue field.", + "enum": [ + "text", + "date", + "single_select", + "number" + ] } }, "required": [ "id", - "node_id", - "url", "name", - "color", - "default", - "description" + "field_type" + ] + }, + "issue_field_value": { + "type": "object", + "description": "The value that was cleared from the issue field.", + "properties": { + "id": { + "type": "integer", + "description": "The unique identifier of the issue field value." + }, + "value": { + "description": "The value of the field. Present for text, date, and number field types.", + "nullable": true, + "anyOf": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "integer" + } + ] + }, + "value_id": { + "type": "integer", + "description": "The identifier of the selected option. Present for single_select field types." + }, + "option": { + "type": "object", + "description": "The selected option details. Present for single_select field types.", + "properties": { + "id": { + "type": "integer" + }, + "name": { + "type": "string" + }, + "color": { + "type": "string" + }, + "description": { + "type": "string", + "nullable": true + } + } + } + }, + "required": [ + "id" ] }, "organization": { @@ -953835,8 +962369,8 @@ }, "required": [ "action", - "changes", "issue", + "issue_field", "repository", "sender" ] diff --git a/descriptions/api.github.com/dereferenced/api.github.com.2022-11-28.deref.yaml b/descriptions/api.github.com/dereferenced/api.github.com.2022-11-28.deref.yaml index 0922a4cfbc..3d8cd8c856 100644 --- a/descriptions/api.github.com/dereferenced/api.github.com.2022-11-28.deref.yaml +++ b/descriptions/api.github.com/dereferenced/api.github.com.2022-11-28.deref.yaml @@ -857,7 +857,7 @@ paths: - subscriptions_url - type - url - type: &330 + type: &332 type: string description: The type of credit the user is receiving. enum: @@ -990,7 +990,7 @@ paths: description: Validation failed, or the endpoint has been spammed. content: application/json: - schema: &129 + schema: &131 title: Validation Error Simple description: Validation Error Simple type: object @@ -1023,7 +1023,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/global-advisories#get-a-global-security-advisory parameters: - - &665 + - &667 name: ghsa_id description: The GHSA (GitHub Security Advisory) identifier of the advisory. in: path @@ -1141,7 +1141,7 @@ paths: GitHub. type: object nullable: true - properties: &81 + properties: &83 id: description: Unique identifier of the GitHub app example: 37 @@ -1274,7 +1274,7 @@ paths: about itself. example: 5 type: integer - required: &82 + required: &84 - id - node_id - owner @@ -1579,7 +1579,7 @@ paths: schema: type: integer default: 30 - - &216 + - &218 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 @@ -1588,7 +1588,7 @@ paths: required: false schema: type: string - - &217 + - &219 name: status description: Returns webhook deliveries filtered by delivery outcome classification based on `status_code` range. A `status` of `success` returns deliveries @@ -1608,7 +1608,7 @@ paths: application/json: schema: type: array - items: &218 + items: &220 title: Simple webhook delivery description: Delivery made by a webhook, without request and response information. @@ -1688,7 +1688,7 @@ paths: - installation_id - repository_id examples: - default: &219 + default: &221 value: - id: 12345678 guid: 0b989ba4-242f-11e5-81e1-c7b6966d2516 @@ -1747,7 +1747,7 @@ paths: description: Validation failed, or the endpoint has been spammed. content: application/json: - schema: &128 + schema: &130 title: Validation Error description: Validation Error type: object @@ -1816,7 +1816,7 @@ paths: description: Response content: application/json: - schema: &220 + schema: &222 title: Webhook delivery description: Delivery made by a webhook. type: object @@ -1930,7 +1930,7 @@ paths: - request - response examples: - default: &221 + default: &223 value: id: 12345678 guid: 0b989ba4-242f-11e5-81e1-c7b6966d2516 @@ -2131,7 +2131,7 @@ paths: parameters: - *17 - *19 - - &93 + - &95 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) @@ -2714,7 +2714,7 @@ paths: suspended_at: suspended_by: headers: - Link: &68 + Link: &70 example: ; rel="next", ; rel="last" schema: @@ -2903,11 +2903,11 @@ paths: - selected repositories: type: array - items: &80 + items: &82 title: Repository description: A repository on GitHub. type: object - properties: &295 + properties: &297 id: description: Unique identifier of the repository example: 42 @@ -2927,7 +2927,7 @@ paths: title: License Simple description: License Simple type: object - properties: &89 + properties: &91 key: type: string example: mit @@ -2949,7 +2949,7 @@ paths: html_url: type: string format: uri - required: &90 + required: &92 - key - name - url @@ -3358,7 +3358,7 @@ paths: type: boolean lexical_commit_sha: type: string - required: &296 + required: &298 - archive_url - assignees_url - blobs_url @@ -7299,7 +7299,7 @@ paths: required: true content: application/json: - schema: &141 + schema: &143 title: Actions OIDC Custom Property Inclusion Input description: Input for creating an OIDC custom property inclusion type: object @@ -7999,7 +7999,7 @@ paths: description: Response content: application/json: - schema: &188 + schema: &190 type: array description: A list of default code security configurations items: @@ -8015,7 +8015,7 @@ paths: default configuration: *49 examples: - default: &189 + default: &191 value: - default_for_new_repos: public configuration: @@ -8477,7 +8477,7 @@ paths: default: value: default_for_new_repos: all - configuration: &187 + configuration: &189 value: id: 1325 target_type: organization @@ -8567,7 +8567,7 @@ paths: application/json: schema: type: array - items: &190 + items: &192 type: object description: Repositories associated with a code security configuration and attachment status @@ -8589,7 +8589,7 @@ paths: title: Simple Repository description: A GitHub repository. type: object - properties: &208 + properties: &68 id: type: integer format: int64 @@ -8816,7 +8816,7 @@ paths: format: uri example: https://api.github.com/repos/octocat/Hello-World/hooks description: The API URL to list the hooks on the repository. - required: &209 + required: &69 - archive_url - assignees_url - blobs_url @@ -8868,7 +8868,7 @@ paths: summary: Example of code security configuration repositories value: - status: attached - repository: &191 + repository: &193 value: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -9373,7 +9373,7 @@ paths: url: https://docs.github.com/rest/dependabot/alerts#list-dependabot-alerts-for-an-enterprise parameters: - *40 - - &197 + - &199 name: classification in: query description: |- @@ -9382,7 +9382,7 @@ paths: Can be: `malware`, `general` schema: type: string - - &198 + - &200 name: state in: query description: |- @@ -9391,7 +9391,7 @@ paths: Can be: `auto_dismissed`, `dismissed`, `fixed`, `open` schema: type: string - - &199 + - &201 name: severity in: query description: |- @@ -9400,7 +9400,7 @@ paths: Can be: `low`, `medium`, `high`, `critical` schema: type: string - - &200 + - &202 name: ecosystem in: query description: |- @@ -9409,14 +9409,14 @@ paths: Can be: `composer`, `go`, `maven`, `npm`, `nuget`, `pip`, `pub`, `rubygems`, `rust` schema: type: string - - &201 + - &203 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 - - &202 + - &204 name: epss_percentage in: query description: |- @@ -9428,7 +9428,7 @@ paths: Filters the list of alerts based on EPSS percentages. If specified, only alerts with the provided EPSS percentages will be returned. schema: type: string - - &495 + - &497 name: has in: query description: |- @@ -9442,7 +9442,7 @@ paths: type: string enum: - patch - - &203 + - &205 name: assignee in: query description: |- @@ -9451,7 +9451,7 @@ paths: Use `*` to list alerts with at least one assignee or `none` to list alerts with no assignees. schema: type: string - - &204 + - &206 name: scope in: query description: The scope of the vulnerable dependency. If specified, only alerts @@ -9461,7 +9461,7 @@ paths: enum: - development - runtime - - &205 + - &207 name: sort in: query description: |- @@ -9487,11 +9487,11 @@ paths: application/json: schema: type: array - items: &206 + items: &208 type: object description: A Dependabot alert. properties: - number: &177 + number: &179 type: integer description: The security alert number. readOnly: true @@ -9554,7 +9554,7 @@ paths: - direct - transitive - inconclusive - security_advisory: &496 + security_advisory: &498 type: object description: Details for the GitHub Security Advisory. readOnly: true @@ -9764,29 +9764,29 @@ paths: - withdrawn_at additionalProperties: false security_vulnerability: *66 - url: &180 + url: &182 type: string description: The REST API URL of the alert resource. format: uri readOnly: true - html_url: &181 + html_url: &183 type: string description: The GitHub URL of the alert resource. format: uri readOnly: true - created_at: &178 + created_at: &180 type: string description: 'The time that the alert was created in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' format: date-time readOnly: true - updated_at: &179 + updated_at: &181 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 - dismissed_at: &183 + dismissed_at: &185 type: string description: 'The time that the alert was dismissed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' @@ -9816,21 +9816,21 @@ paths: dismissal. nullable: true maxLength: 280 - fixed_at: &182 + fixed_at: &184 type: string 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 nullable: true - auto_dismissed_at: &497 + auto_dismissed_at: &499 type: string description: 'The time that the alert was auto-dismissed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' format: date-time readOnly: true nullable: true - dismissal_request: &498 + dismissal_request: &500 title: Dependabot alert dismissal request description: Information about an active dismissal request for this Dependabot alert. @@ -9892,7 +9892,7 @@ paths: - repository additionalProperties: false examples: - default: &207 + default: &209 value: - number: 2 state: dismissed @@ -10240,6 +10240,266 @@ paths: previews: [] category: dependabot subcategory: alerts + "/enterprises/{enterprise}/dependabot/repository-access": + get: + summary: Lists the repositories Dependabot can access in an enterprise + description: |- + Lists repositories that enterprise admins have allowed Dependabot to access when updating dependencies across organizations in the enterprise. + + The authenticated user must be an enterprise owner to use this endpoint. + tags: + - dependabot + operationId: dependabot/repository-access-for-enterprise + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/dependabot/repository-access#lists-the-repositories-dependabot-can-access-in-an-enterprise + parameters: + - *40 + - name: page + in: query + description: The page number of results to fetch. + required: false + schema: + type: integer + minimum: 1 + default: 1 + - name: per_page + in: query + description: Number of results per page. + required: false + schema: + type: integer + minimum: 1 + maximum: 100 + default: 30 + responses: + '200': + description: Response + content: + application/json: + schema: &210 + title: Dependabot Repository Access Details + description: Information about repositories that Dependabot is able + to access in an organization + type: object + properties: + default_level: + type: string + description: The default repository access level for Dependabot + updates. + enum: + - public + - internal + example: internal + nullable: true + accessible_repositories: + type: array + items: + title: Simple Repository + description: A GitHub repository. + type: object + properties: *68 + required: *69 + nullable: true + additionalProperties: false + examples: + default: &211 + value: + default_level: public + accessible_repositories: + - id: 123456 + node_id: MDEwOlJlcG9zaXRvcnkxMjM0NTY= + name: example-repo + full_name: octocat/example-repo + owner: + name: octocat + email: octo@github.com + login: octocat + id: 1 + node_id: MDQ6VXNlcjE= + avatar_url: https://avatars.githubusercontent.com/u/1?v=4 + gravatar_id: 1 + url: https://api.github.com/users/octocat + html_url: https://github.com/octocat/example-repo + followers_url: https://api.github.com/users/octocat/followers + following_url: https://api.github.com/users/octocat/following{/other_user} + gists_url: https://api.github.com/users/octocat/gists{/gist_id} + starred_url: https://api.github.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 + starred_at: '"2020-07-09T00:17:55Z"' + user_view_type: default + private: false + html_url: https://github.com/octocat/example-repo + description: This is an example repository. + fork: false + url: https://api.github.com/repos/octocat/example-repo + archive_url: https://api.github.com/repos/octocat/example-repo/{archive_format}{/ref} + assignees_url: https://api.github.com/repos/octocat/example-repo/assignees{/user} + blobs_url: https://api.github.com/repos/octocat/example-repo/git/blobs{/sha} + branches_url: https://api.github.com/repos/octocat/example-repo/branches{/branch} + collaborators_url: https://api.github.com/repos/octocat/example-repo/collaborators{/collaborator} + comments_url: https://api.github.com/repos/octocat/example-repo/comments{/number} + commits_url: https://api.github.com/repos/octocat/example-repo/commits{/sha} + compare_url: https://api.github.com/repos/octocat/example-repo/compare/{base}...{head} + contents_url: https://api.github.com/repos/octocat/example-repo/contents/{+path} + contributors_url: https://api.github.com/repos/octocat/example-repo/contributors + deployments_url: https://api.github.com/repos/octocat/example-repo/deployments + downloads_url: https://api.github.com/repos/octocat/example-repo/downloads + events_url: https://api.github.com/repos/octocat/example-repo/events + forks_url: https://api.github.com/repos/octocat/example-repo/forks + git_commits_url: https://api.github.com/repos/octocat/example-repo/git/commits{/sha} + git_refs_url: https://api.github.com/repos/octocat/example-repo/git/refs{/sha} + git_tags_url: https://api.github.com/repos/octocat/example-repo/git/tags{/sha} + issue_comment_url: https://api.github.com/repos/octocat/example-repo/issues/comments{/number} + issue_events_url: https://api.github.com/repos/octocat/example-repo/issues/events{/number} + issues_url: https://api.github.com/repos/octocat/example-repo/issues{/number} + keys_url: https://api.github.com/repos/octocat/example-repo/keys{/key_id} + labels_url: https://api.github.com/repos/octocat/example-repo/labels{/name} + languages_url: https://api.github.com/repos/octocat/example-repo/languages + merges_url: https://api.github.com/repos/octocat/example-repo/merges + milestones_url: https://api.github.com/repos/octocat/example-repo/milestones{/number} + notifications_url: https://api.github.com/repos/octocat/example-repo/notifications{?since,all,participating} + pulls_url: https://api.github.com/repos/octocat/example-repo/pulls{/number} + releases_url: https://api.github.com/repos/octocat/example-repo/releases{/id} + stargazers_url: https://api.github.com/repos/octocat/example-repo/stargazers + statuses_url: https://api.github.com/repos/octocat/example-repo/statuses/{sha} + subscribers_url: https://api.github.com/repos/octocat/example-repo/subscribers + subscription_url: https://api.github.com/repos/octocat/example-repo/subscription + tags_url: https://api.github.com/repos/octocat/example-repo/tags + teams_url: https://api.github.com/repos/octocat/example-repo/teams + trees_url: https://api.github.com/repos/octocat/example-repo/git/trees{/sha} + hooks_url: https://api.github.com/repos/octocat/example-repo/hooks + '403': *29 + '404': *6 + x-github: + githubCloudOnly: false + enabledForGitHubApps: false + category: dependabot + subcategory: repository-access + patch: + summary: Updates Dependabot's repository access list for an enterprise + description: |- + Updates repositories according to the list of repositories that enterprise admins have given Dependabot access to when they've updated dependencies across organizations in the enterprise. + + The authenticated user must be an enterprise owner to use this endpoint. + + **Example request body:** + ```json + { + "repository_ids_to_add": [123, 456], + "repository_ids_to_remove": [789] + } + ``` + tags: + - dependabot + operationId: dependabot/update-repository-access-for-enterprise + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/dependabot/repository-access#updates-dependabots-repository-access-list-for-an-enterprise + parameters: + - *40 + requestBody: + required: true + content: + application/json: + schema: + type: object + properties: + repository_ids_to_add: + type: array + items: + type: integer + description: List of repository IDs to add. + repository_ids_to_remove: + type: array + items: + type: integer + description: List of repository IDs to remove. + example: + repository_ids_to_add: + - 123 + - 456 + repository_ids_to_remove: + - 789 + examples: + '204': + summary: Example with a 'succeeded' status. + add-example: + summary: Add repositories + value: + repository_ids_to_add: + - 123 + - 456 + remove-example: + summary: Remove repositories + value: + repository_ids_to_remove: + - 789 + responses: + '204': + description: Response + '403': *29 + '404': *6 + x-github: + githubCloudOnly: false + enabledForGitHubApps: false + category: dependabot + subcategory: repository-access + "/enterprises/{enterprise}/dependabot/repository-access/default-level": + put: + summary: Set the default repository access level for Dependabot in an enterprise + description: |- + Sets the default level of repository access Dependabot will have while performing an update across organizations in the enterprise. Available values are: + - 'public' - Dependabot will only have access to public repositories, unless access is explicitly granted to non-public repositories. + - 'internal' - Dependabot will only have access to public and internal repositories, unless access is explicitly granted to private repositories. + + The authenticated user must be an enterprise owner to use this endpoint. + tags: + - dependabot + operationId: dependabot/set-repository-access-default-level-for-enterprise + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/dependabot/repository-access#set-the-default-repository-access-level-for-dependabot-in-an-enterprise + parameters: + - *40 + requestBody: + required: true + content: + application/json: + schema: + type: object + properties: + default_level: + type: string + description: The default repository access level for Dependabot + updates. + enum: + - public + - internal + example: internal + required: + - default_level + examples: + '204': + summary: Example with a 'succeeded' status. + value: + default_level: public + responses: + '204': + description: Response + '403': *29 + '404': *6 + x-github: + githubCloudOnly: false + enabledForGitHubApps: false + category: dependabot + subcategory: repository-access "/enterprises/{enterprise}/teams": get: summary: List enterprise teams @@ -10261,7 +10521,7 @@ paths: application/json: schema: type: array - items: &69 + items: &71 title: Enterprise Team description: Group of enterprise owners and/or members type: object @@ -10332,7 +10592,7 @@ paths: created_at: '2019-01-26T19:01:12Z' updated_at: '2019-01-26T19:14:43Z' headers: - Link: *68 + Link: *70 '403': *29 x-github: githubCloudOnly: false @@ -10405,9 +10665,9 @@ paths: description: Response content: application/json: - schema: *69 + schema: *71 examples: - default: &77 + default: &79 value: id: 1 name: Justice League @@ -10436,7 +10696,7 @@ paths: url: https://docs.github.com/rest/enterprise-teams/enterprise-team-members#list-members-in-an-enterprise-team parameters: - *40 - - &70 + - &72 name: enterprise-team description: The slug version of the enterprise team name. You can also substitute this value with the enterprise team id. @@ -10455,7 +10715,7 @@ paths: type: array items: *4 examples: - default: &71 + default: &73 value: - login: octocat id: 1 @@ -10476,7 +10736,7 @@ paths: type: User site_admin: false headers: - Link: *68 + Link: *70 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -10494,7 +10754,7 @@ paths: url: https://docs.github.com/rest/enterprise-teams/enterprise-team-members#bulk-add-team-members parameters: - *40 - - *70 + - *72 requestBody: required: true content: @@ -10525,7 +10785,7 @@ paths: type: array items: *4 examples: - default: *71 + default: *73 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -10543,7 +10803,7 @@ paths: url: https://docs.github.com/rest/enterprise-teams/enterprise-team-members#bulk-remove-team-members parameters: - *40 - - *70 + - *72 requestBody: required: true content: @@ -10574,7 +10834,7 @@ paths: type: array items: *4 examples: - default: *71 + default: *73 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -10592,8 +10852,8 @@ paths: url: https://docs.github.com/rest/enterprise-teams/enterprise-team-members#get-enterprise-team-membership parameters: - *40 - - *70 - - &72 + - *72 + - &74 name: username description: The handle for the GitHub user account. in: path @@ -10607,7 +10867,7 @@ paths: application/json: schema: *4 examples: - exampleKey1: &73 + exampleKey1: &75 value: login: octocat id: 1 @@ -10643,8 +10903,8 @@ paths: url: https://docs.github.com/rest/enterprise-teams/enterprise-team-members#add-team-member parameters: - *40 - - *70 - *72 + - *74 responses: '201': description: Successfully added team member @@ -10652,7 +10912,7 @@ paths: application/json: schema: *4 examples: - exampleKey1: *73 + exampleKey1: *75 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -10670,8 +10930,8 @@ paths: url: https://docs.github.com/rest/enterprise-teams/enterprise-team-members#remove-team-membership parameters: - *40 - - *70 - *72 + - *74 responses: '204': description: Response @@ -10693,7 +10953,7 @@ paths: url: https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#get-organization-assignments parameters: - *40 - - *70 + - *72 - *17 - *19 responses: @@ -10703,11 +10963,11 @@ paths: application/json: schema: type: array - items: &74 + items: &76 title: Organization Simple description: A GitHub organization. type: object - properties: &193 + properties: &195 login: type: string example: github @@ -10748,7 +11008,7 @@ paths: type: string example: A great organization nullable: true - required: &194 + required: &196 - login - url - id @@ -10762,7 +11022,7 @@ paths: - avatar_url - description examples: - default: &75 + default: &77 value: login: github id: 1 @@ -10793,7 +11053,7 @@ paths: url: https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#add-organization-assignments parameters: - *40 - - *70 + - *72 requestBody: required: true content: @@ -10821,9 +11081,9 @@ paths: application/json: schema: type: array - items: *74 + items: *76 examples: - default: &117 + default: &119 value: - login: github id: 1 @@ -10854,7 +11114,7 @@ paths: url: https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#remove-organization-assignments parameters: - *40 - - *70 + - *72 requestBody: required: true content: @@ -10895,8 +11155,8 @@ paths: url: https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#get-organization-assignment parameters: - *40 - - *70 - - &76 + - *72 + - &78 name: org description: The organization name. The name is not case sensitive. in: path @@ -10908,9 +11168,9 @@ paths: description: The team is assigned to the organization content: application/json: - schema: *74 + schema: *76 examples: - default: *75 + default: *77 '404': description: The team is not assigned to the organization x-github: @@ -10929,16 +11189,16 @@ paths: url: https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#add-an-organization-assignment parameters: - *40 - - *70 - - *76 + - *72 + - *78 responses: '201': description: Successfully assigned the enterprise team to the organization. content: application/json: - schema: *74 + schema: *76 examples: - default: *75 + default: *77 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -10955,8 +11215,8 @@ paths: url: https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#delete-an-organization-assignment parameters: - *40 - - *70 - - *76 + - *72 + - *78 responses: '204': description: Successfully unassigned the enterprise team from the organization. @@ -10980,7 +11240,7 @@ paths: url: https://docs.github.com/rest/enterprise-teams/enterprise-teams#get-an-enterprise-team parameters: - *40 - - &78 + - &80 name: team_slug description: The slug of the team name. in: path @@ -10992,11 +11252,11 @@ paths: description: Response content: application/json: - schema: *69 + schema: *71 examples: - default: *77 + default: *79 headers: - Link: *68 + Link: *70 '403': *29 x-github: githubCloudOnly: false @@ -11014,7 +11274,7 @@ paths: url: https://docs.github.com/rest/enterprise-teams/enterprise-teams#update-an-enterprise-team parameters: - *40 - - *78 + - *80 requestBody: required: true content: @@ -11069,11 +11329,11 @@ paths: description: Response content: application/json: - schema: *69 + schema: *71 examples: - default: *77 + default: *79 headers: - Link: *68 + Link: *70 '403': *29 x-github: githubCloudOnly: false @@ -11094,7 +11354,7 @@ paths: url: https://docs.github.com/rest/enterprise-teams/enterprise-teams#delete-an-enterprise-team parameters: - *40 - - *78 + - *80 responses: '204': description: Response @@ -11132,7 +11392,7 @@ paths: application/json: schema: type: array - items: &112 + items: &114 title: Event description: Event type: object @@ -11142,7 +11402,7 @@ paths: type: type: string nullable: true - actor: &79 + actor: &81 title: Actor description: Actor type: object @@ -11182,7 +11442,7 @@ paths: - id - name - url - org: *79 + org: *81 payload: oneOf: - title: CreateEvent @@ -11228,7 +11488,7 @@ paths: properties: action: type: string - discussion: &758 + discussion: &760 title: Discussion description: A Discussion in a repository. type: object @@ -11515,7 +11775,7 @@ paths: - id labels: type: array - items: &85 + items: &87 title: Label description: Color-coded labels help you categorize and filter your issues (just like labels in Gmail). @@ -11590,12 +11850,12 @@ paths: properties: action: type: string - issue: &86 + issue: &88 title: Issue description: Issues are a great way to keep track of tasks, enhancements, and bugs for your projects. type: object - properties: &550 + properties: &552 id: type: integer format: int64 @@ -11708,7 +11968,7 @@ paths: description: A collection of related issues and pull requests. type: object - properties: &279 + properties: &281 url: type: string format: uri @@ -11778,7 +12038,7 @@ paths: format: date-time example: '2012-10-09T23:39:01Z' nullable: true - required: &280 + required: &282 - closed_issues - creator - description @@ -11857,7 +12117,7 @@ paths: timeline_url: type: string format: uri - type: &242 + type: &244 title: Issue Type description: The type of issue. type: object @@ -11907,7 +12167,7 @@ paths: - node_id - name - description - repository: *80 + repository: *82 performed_via_github_app: title: GitHub app description: GitHub apps are a new way to extend GitHub. @@ -11918,9 +12178,9 @@ paths: actors within GitHub. type: object nullable: true - properties: *81 - required: *82 - author_association: &83 + properties: *83 + required: *84 + author_association: &85 title: author_association type: string example: OWNER @@ -11935,7 +12195,7 @@ paths: - MEMBER - NONE - OWNER - reactions: &84 + reactions: &86 title: Reaction Rollup type: object properties: @@ -11971,7 +12231,7 @@ paths: - hooray - eyes - rocket - sub_issues_summary: &676 + sub_issues_summary: &678 title: Sub-issues Summary type: object properties: @@ -11996,7 +12256,7 @@ paths: description: Comments provide a way for people to collaborate on an issue. type: object - properties: &87 + properties: &89 id: description: Unique identifier of the issue comment example: 42 @@ -12039,7 +12299,7 @@ paths: issue_url: type: string format: uri - author_association: *83 + author_association: *85 performed_via_github_app: title: GitHub app description: GitHub apps are a new way to extend @@ -12050,15 +12310,15 @@ paths: class actors within GitHub. type: object nullable: true - properties: *81 - required: *82 - reactions: *84 + properties: *83 + required: *84 + reactions: *86 pin: title: Pinned Issue Comment description: Context around who pinned an issue comment and when it was pinned. type: object - properties: &573 + properties: &575 pinned_at: type: string format: date-time @@ -12070,11 +12330,11 @@ paths: properties: *20 required: *21 nullable: true - required: &574 + required: &576 - pinned_at - pinned_by nullable: true - required: &88 + required: &90 - id - node_id - html_url @@ -12084,7 +12344,7 @@ paths: - created_at - updated_at nullable: true - issue_dependencies_summary: &677 + issue_dependencies_summary: &679 title: Issue Dependencies Summary type: object properties: @@ -12103,7 +12363,7 @@ paths: - total_blocking issue_field_values: type: array - items: &557 + items: &559 title: Issue Field Value description: A value assigned to an issue field type: object @@ -12164,7 +12424,7 @@ paths: - node_id - data_type - value - required: &551 + required: &553 - assignee - closed_at - comments @@ -12189,10 +12449,10 @@ paths: assignees: type: array items: *4 - label: *85 + label: *87 labels: type: array - items: *85 + items: *87 required: - action - issue @@ -12201,14 +12461,14 @@ paths: properties: action: type: string - issue: *86 - comment: &546 + issue: *88 + comment: &548 title: Issue Comment description: Comments provide a way for people to collaborate on an issue. type: object - properties: *87 - required: *88 + properties: *89 + required: *90 required: - action - issue @@ -12381,8 +12641,8 @@ paths: title: License Simple description: License Simple type: object - properties: *89 - required: *90 + properties: *91 + required: *92 nullable: true allow_forking: type: boolean @@ -12471,7 +12731,7 @@ paths: type: string number: type: integer - pull_request: &91 + pull_request: &93 title: Pull Request Minimal type: object properties: @@ -12542,10 +12802,10 @@ paths: assignees: type: array items: *4 - label: *85 + label: *87 labels: type: array - items: *85 + items: *87 required: - action - number @@ -12555,7 +12815,7 @@ paths: properties: action: type: string - pull_request: *91 + pull_request: *93 comment: type: object properties: @@ -12806,7 +13066,7 @@ paths: - pull_request updated_at: type: string - pull_request: *91 + pull_request: *93 required: - action - review @@ -12855,7 +13115,7 @@ paths: updated_at: type: string format: date-time - reactions: *84 + reactions: *86 required: - action - comment @@ -12866,7 +13126,7 @@ paths: type: string release: allOf: - - &607 + - &609 title: Release description: A release. type: object @@ -12937,7 +13197,7 @@ paths: author: *4 assets: type: array - items: &608 + items: &610 title: Release Asset description: Data related to a release. type: object @@ -13012,7 +13272,7 @@ paths: description: The URL of the release discussion. type: string format: uri - reactions: *84 + reactions: *86 required: - assets_url - upload_url @@ -13104,7 +13364,7 @@ paths: created_at: '2022-06-07T07:50:26Z' '304': *37 '403': *29 - '503': &120 + '503': &122 description: Service unavailable content: application/json: @@ -13197,7 +13457,7 @@ paths: _links: type: object properties: - timeline: &92 + timeline: &94 title: Link With Type description: Hypermedia Link with Type type: object @@ -13209,17 +13469,17 @@ paths: required: - href - type - user: *92 - security_advisories: *92 - current_user: *92 - current_user_public: *92 - current_user_actor: *92 - current_user_organization: *92 + user: *94 + security_advisories: *94 + current_user: *94 + current_user_public: *94 + current_user_actor: *94 + current_user_organization: *94 current_user_organizations: type: array - items: *92 - repository_discussions: *92 - repository_discussions_category: *92 + items: *94 + repository_discussions: *94 + repository_discussions_category: *94 required: - timeline - user @@ -13281,7 +13541,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#list-gists-for-the-authenticated-user parameters: - - *93 + - *95 - *17 - *19 responses: @@ -13291,7 +13551,7 @@ paths: application/json: schema: type: array - items: &94 + items: &96 title: Base Gist description: Base Gist type: object @@ -13390,7 +13650,7 @@ paths: - created_at - updated_at examples: - default: &95 + default: &97 value: - url: https://api.github.com/gists/aa5a315d61ae9438b18d forks_url: https://api.github.com/gists/aa5a315d61ae9438b18d/forks @@ -13435,7 +13695,7 @@ paths: site_admin: false truncated: false headers: - Link: *68 + Link: *70 '304': *37 '403': *29 x-github: @@ -13511,7 +13771,7 @@ paths: description: Response content: application/json: - schema: &96 + schema: &98 title: Gist Simple description: Gist Simple type: object @@ -13528,7 +13788,7 @@ paths: url: type: string format: uri - user: &683 + user: &685 title: Public User description: Public User type: object @@ -13890,7 +14150,7 @@ paths: truncated: type: boolean examples: - default: &97 + default: &99 value: url: https://api.github.com/gists/2decf6c462d9b4418f2 forks_url: https://api.github.com/gists/2decf6c462d9b4418f2/forks @@ -13994,7 +14254,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#list-public-gists parameters: - - *93 + - *95 - *17 - *19 responses: @@ -14004,11 +14264,11 @@ paths: application/json: schema: type: array - items: *94 + items: *96 examples: - default: *95 + default: *97 headers: - Link: *68 + Link: *70 '422': *15 '304': *37 '403': *29 @@ -14028,7 +14288,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#list-starred-gists parameters: - - *93 + - *95 - *17 - *19 responses: @@ -14038,11 +14298,11 @@ paths: application/json: schema: type: array - items: *94 + items: *96 examples: - default: *95 + default: *97 headers: - Link: *68 + Link: *70 '401': *25 '304': *37 '403': *29 @@ -14067,7 +14327,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#get-a-gist parameters: - - &98 + - &100 name: gist_id description: The unique identifier of the gist. in: path @@ -14079,10 +14339,10 @@ paths: description: Response content: application/json: - schema: *96 + schema: *98 examples: - default: *97 - '403': &101 + default: *99 + '403': &103 description: Forbidden Gist content: application/json: @@ -14129,7 +14389,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#update-a-gist parameters: - - *98 + - *100 requestBody: required: true content: @@ -14189,9 +14449,9 @@ paths: description: Response content: application/json: - schema: *96 + schema: *98 examples: - updateGist: *97 + updateGist: *99 deleteFile: value: url: https://api.github.com/gists/2decf6c462d9b4418f2 @@ -14349,7 +14609,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#delete-a-gist parameters: - - *98 + - *100 responses: '204': description: Response @@ -14377,7 +14637,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/comments#list-gist-comments parameters: - - *98 + - *100 - *17 - *19 responses: @@ -14387,7 +14647,7 @@ paths: application/json: schema: type: array - items: &99 + items: &101 title: Gist Comment description: A comment made to a gist. type: object @@ -14422,7 +14682,7 @@ paths: type: string format: date-time example: '2011-04-18T23:23:56Z' - author_association: *83 + author_association: *85 required: - url - id @@ -14462,7 +14722,7 @@ paths: updated_at: '2011-04-18T23:23:56Z' author_association: COLLABORATOR headers: - Link: *68 + Link: *70 '304': *37 '404': *6 '403': *29 @@ -14486,7 +14746,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/comments#create-a-gist-comment parameters: - - *98 + - *100 requestBody: required: true content: @@ -14511,9 +14771,9 @@ paths: description: Response content: application/json: - schema: *99 + schema: *101 examples: - default: &100 + default: &102 value: id: 1 node_id: MDExOkdpc3RDb21tZW50MQ== @@ -14570,8 +14830,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/comments#get-a-gist-comment parameters: - - *98 - - &102 + - *100 + - &104 name: comment_id description: The unique identifier of the comment. in: path @@ -14584,12 +14844,12 @@ paths: description: Response content: application/json: - schema: *99 + schema: *101 examples: - default: *100 + default: *102 '304': *37 '404': *6 - '403': *101 + '403': *103 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -14610,8 +14870,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/comments#update-a-gist-comment parameters: - - *98 - - *102 + - *100 + - *104 requestBody: required: true content: @@ -14636,9 +14896,9 @@ paths: description: Response content: application/json: - schema: *99 + schema: *101 examples: - default: *100 + default: *102 '404': *6 x-github: githubCloudOnly: false @@ -14655,8 +14915,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/comments#delete-a-gist-comment parameters: - - *98 - - *102 + - *100 + - *104 responses: '204': description: Response @@ -14679,7 +14939,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#list-gist-commits parameters: - - *98 + - *100 - *17 - *19 responses: @@ -14780,7 +15040,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#list-gist-forks parameters: - - *98 + - *100 - *17 - *19 responses: @@ -14790,7 +15050,7 @@ paths: application/json: schema: type: array - items: *96 + items: *98 examples: default: value: @@ -14836,7 +15096,7 @@ paths: type: User site_admin: false headers: - Link: *68 + Link: *70 '404': *6 '304': *37 '403': *29 @@ -14855,13 +15115,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#fork-a-gist parameters: - - *98 + - *100 responses: '201': description: Response content: application/json: - schema: *94 + schema: *96 examples: default: value: @@ -14932,7 +15192,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#check-if-a-gist-is-starred parameters: - - *98 + - *100 responses: '204': description: Response if gist is starred @@ -14962,7 +15222,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#star-a-gist parameters: - - *98 + - *100 responses: '204': description: Response @@ -14984,7 +15244,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#unstar-a-gist parameters: - - *98 + - *100 responses: '204': description: Response @@ -15012,7 +15272,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#get-a-gist-revision parameters: - - *98 + - *100 - name: sha in: path required: true @@ -15023,9 +15283,9 @@ paths: description: Response content: application/json: - schema: *96 + schema: *98 examples: - default: *97 + default: *99 '422': *15 '404': *6 '403': *29 @@ -15186,7 +15446,7 @@ paths: type: array items: allOf: - - *80 + - *82 repository_selection: type: string example: selected @@ -15309,7 +15569,7 @@ paths: open_issues: 1 watchers: 1 headers: - Link: *68 + Link: *70 '403': *29 '304': *37 '401': *25 @@ -15393,7 +15653,7 @@ paths: - closed - all default: open - - &245 + - &247 name: labels description: 'A list of comma separated label names. Example: `bug,ui,@high`' in: query @@ -15412,7 +15672,7 @@ paths: - comments default: created - *62 - - *93 + - *95 - name: collab in: query required: false @@ -15442,9 +15702,9 @@ paths: application/json: schema: type: array - items: *86 + items: *88 examples: - default: &246 + default: &248 value: - id: 1 node_id: MDU6SXNzdWUx @@ -15689,7 +15949,7 @@ paths: watchers: 1 author_association: COLLABORATOR headers: - Link: *68 + Link: *70 '422': *15 '304': *37 '404': *6 @@ -15728,8 +15988,8 @@ paths: title: License Simple description: License Simple type: object - properties: *89 - required: *90 + properties: *91 + required: *92 examples: default: value: @@ -16014,7 +16274,7 @@ paths: example: '279' schema: type: string - X-CommonMarker-Version: &103 + X-CommonMarker-Version: &105 example: 0.17.4 schema: type: string @@ -16069,7 +16329,7 @@ paths: '200': description: Response headers: - X-CommonMarker-Version: *103 + X-CommonMarker-Version: *105 content: text/html: schema: @@ -16098,7 +16358,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/apps/marketplace#get-a-subscription-plan-for-an-account parameters: - - &106 + - &108 name: account_id description: account_id parameter in: path @@ -16110,7 +16370,7 @@ paths: description: Response content: application/json: - schema: &105 + schema: &107 title: Marketplace Purchase description: Marketplace Purchase type: object @@ -16140,7 +16400,7 @@ paths: nullable: true id: type: integer - plan: &104 + plan: &106 title: Marketplace Listing Plan description: Marketplace Listing Plan type: object @@ -16229,7 +16489,7 @@ paths: nullable: true updated_at: type: string - plan: *104 + plan: *106 required: - url - id @@ -16237,7 +16497,7 @@ paths: - login - marketplace_purchase examples: - default: &107 + default: &109 value: url: https://api.github.com/orgs/github type: Organization @@ -16322,9 +16582,9 @@ paths: application/json: schema: type: array - items: *104 + items: *106 examples: - default: &108 + default: &110 value: - url: https://api.github.com/marketplace_listing/plans/1313 accounts_url: https://api.github.com/marketplace_listing/plans/1313/accounts @@ -16342,7 +16602,7 @@ paths: - Up to 25 private repositories - 11 concurrent builds headers: - Link: *68 + Link: *70 '404': *6 '401': *25 x-github: @@ -16364,14 +16624,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/apps/marketplace#list-accounts-for-a-plan parameters: - - &109 + - &111 name: plan_id description: The unique identifier of the plan. in: path required: true schema: type: integer - - &110 + - &112 name: sort description: The property to sort the results by. in: query @@ -16401,9 +16661,9 @@ paths: application/json: schema: type: array - items: *105 + items: *107 examples: - default: &111 + default: &113 value: - url: https://api.github.com/orgs/github type: Organization @@ -16454,7 +16714,7 @@ paths: - Up to 25 private repositories - 11 concurrent builds headers: - Link: *68 + Link: *70 '404': *6 '422': *15 '401': *25 @@ -16477,15 +16737,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/apps/marketplace#get-a-subscription-plan-for-an-account-stubbed parameters: - - *106 + - *108 responses: '200': description: Response content: application/json: - schema: *105 + schema: *107 examples: - default: *107 + default: *109 '404': description: Not Found when the account has not purchased the listing '401': *25 @@ -16517,11 +16777,11 @@ paths: application/json: schema: type: array - items: *104 + items: *106 examples: - default: *108 + default: *110 headers: - Link: *68 + Link: *70 '401': *25 x-github: githubCloudOnly: false @@ -16542,8 +16802,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/apps/marketplace#list-accounts-for-a-plan-stubbed parameters: - - *109 - - *110 + - *111 + - *112 - name: direction description: To return the oldest accounts first, set to `asc`. Ignored without the `sort` parameter. @@ -16563,11 +16823,11 @@ paths: application/json: schema: type: array - items: *105 + items: *107 examples: - default: *111 + default: *113 headers: - Link: *68 + Link: *70 '401': *25 x-github: githubCloudOnly: false @@ -16829,14 +17089,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-public-events-for-a-network-of-repositories parameters: - - &342 + - &344 name: owner description: The account owner of the repository. The name is not case sensitive. in: path required: true schema: type: string - - &343 + - &345 name: repo description: The name of the repository without the `.git` extension. The name is not case sensitive. @@ -16853,7 +17113,7 @@ paths: application/json: schema: type: array - items: *112 + items: *114 examples: default: value: @@ -16898,7 +17158,7 @@ paths: '404': *6 '403': *29 '304': *37 - '301': &346 + '301': &348 description: Moved permanently content: application/json: @@ -16920,7 +17180,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#list-notifications-for-the-authenticated-user parameters: - - &583 + - &585 name: all description: If `true`, show notifications marked as read. in: query @@ -16928,7 +17188,7 @@ paths: schema: type: boolean default: false - - &584 + - &586 name: participating description: If `true`, only shows notifications in which the user is directly participating or mentioned. @@ -16937,8 +17197,8 @@ paths: schema: type: boolean default: false - - *93 - - &585 + - *95 + - &587 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: @@ -16963,18 +17223,18 @@ paths: application/json: schema: type: array - items: &113 + items: &115 title: Thread description: Thread type: object properties: id: type: string - repository: &159 + repository: &161 title: Minimal Repository description: Minimal Repository type: object - properties: &211 + properties: &213 id: type: integer format: int64 @@ -17260,7 +17520,7 @@ paths: web_commit_signoff_required: type: boolean example: false - security_and_analysis: &297 + security_and_analysis: &299 nullable: true type: object properties: @@ -17380,7 +17640,7 @@ paths: the repository. The keys are the custom property names, and the values are the corresponding custom property values. additionalProperties: true - required: &212 + required: &214 - archive_url - assignees_url - blobs_url @@ -17468,7 +17728,7 @@ paths: - url - subscription_url examples: - default: &586 + default: &588 value: - id: '1' repository: @@ -17550,7 +17810,7 @@ paths: url: https://api.github.com/notifications/threads/1 subscription_url: https://api.github.com/notifications/threads/1/subscription headers: - Link: *68 + Link: *70 '304': *37 '403': *29 '401': *25 @@ -17634,7 +17894,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#get-a-thread parameters: - - &114 + - &116 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 @@ -17648,7 +17908,7 @@ paths: description: Response content: application/json: - schema: *113 + schema: *115 examples: default: value: @@ -17750,7 +18010,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#mark-a-thread-as-read parameters: - - *114 + - *116 responses: '205': description: Reset Content @@ -17772,7 +18032,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#mark-a-thread-as-done parameters: - - *114 + - *116 responses: '204': description: No content @@ -17795,13 +18055,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#get-a-thread-subscription-for-the-authenticated-user parameters: - - *114 + - *116 responses: '200': description: Response content: application/json: - schema: &115 + schema: &117 title: Thread Subscription description: Thread Subscription type: object @@ -17838,7 +18098,7 @@ paths: - url - subscribed examples: - default: &116 + default: &118 value: subscribed: true ignored: false @@ -17869,7 +18129,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#set-a-thread-subscription parameters: - - *114 + - *116 requestBody: required: false content: @@ -17890,9 +18150,9 @@ paths: description: Response content: application/json: - schema: *115 + schema: *117 examples: - default: *116 + default: *118 '304': *37 '403': *29 '401': *25 @@ -17915,7 +18175,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#delete-a-thread-subscription parameters: - - *114 + - *116 responses: '204': description: Response @@ -18010,9 +18270,9 @@ paths: application/json: schema: type: array - items: *74 + items: *76 examples: - default: *117 + default: *119 headers: Link: example: ; rel="next" @@ -18039,13 +18299,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#get-github-actions-cache-retention-limit-for-an-organization parameters: - - *76 + - *78 responses: '200': description: Response content: application/json: - schema: &118 + schema: &120 title: Actions cache retention limit for an organization description: GitHub Actions cache retention policy for an organization. type: object @@ -18078,12 +18338,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#set-github-actions-cache-retention-limit-for-an-organization parameters: - - *76 + - *78 requestBody: required: true content: application/json: - schema: *118 + schema: *120 examples: selected_actions: *42 responses: @@ -18112,13 +18372,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#get-github-actions-cache-storage-limit-for-an-organization parameters: - - *76 + - *78 responses: '200': description: Response content: application/json: - schema: &119 + schema: &121 title: Actions cache storage limit for an organization description: GitHub Actions cache storage policy for an organization. type: object @@ -18151,12 +18411,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#set-github-actions-cache-storage-limit-for-an-organization parameters: - - *76 + - *78 requestBody: required: true content: application/json: - schema: *119 + schema: *121 examples: selected_actions: *44 responses: @@ -18186,7 +18446,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/budgets#get-all-budgets-for-an-organization parameters: - - *76 + - *78 - name: page description: The page number of the results to fetch. in: query @@ -18358,8 +18618,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/budgets#get-a-budget-by-id-for-an-organization parameters: - - *76 - - &121 + - *78 + - &123 name: budget_id description: The ID corresponding to the budget. in: path @@ -18456,7 +18716,7 @@ paths: '404': *6 '403': *29 '500': *55 - '503': *120 + '503': *122 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -18476,8 +18736,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/budgets#update-a-budget-for-an-organization parameters: - - *76 - - *121 + - *78 + - *123 requestBody: required: true content: @@ -18668,8 +18928,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/budgets#delete-a-budget-for-an-organization parameters: - - *76 - - *121 + - *78 + - *123 responses: '200': description: Response when deleting a budget @@ -18696,7 +18956,7 @@ paths: '404': *6 '403': *29 '500': *55 - '503': *120 + '503': *122 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -18716,8 +18976,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/usage#get-billing-premium-request-usage-report-for-an-organization parameters: - - *76 - - &122 + - *78 + - &124 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, @@ -18726,7 +18986,7 @@ paths: required: false schema: type: integer - - &124 + - &126 name: month description: If specified, only return results for a single month. The value of `month` is an integer between `1` and `12`. Default value is the current @@ -18735,7 +18995,7 @@ paths: required: false schema: type: integer - - &123 + - &125 name: day description: If specified, only return results for a single day. The value of `day` is an integer between `1` and `31`. If no `year` or `month` is @@ -18750,14 +19010,14 @@ paths: required: false schema: type: string - - &733 + - &735 name: model description: The model name to query usage for. The name is not case sensitive. in: query required: false schema: type: string - - &125 + - &127 name: product description: The product name to query usage for. The name is not case sensitive. in: query @@ -18874,7 +19134,7 @@ paths: '403': *29 '404': *6 '500': *55 - '503': *120 + '503': *122 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -18894,9 +19154,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/usage#get-billing-usage-report-for-an-organization parameters: - - *76 - - *122 - - &734 + - *78 + - *124 + - &736 name: month description: If specified, only return results for a single month. The value of `month` is an integer between `1` and `12`. If no year is specified the @@ -18905,7 +19165,7 @@ paths: required: false schema: type: integer - - *123 + - *125 responses: '200': description: Billing usage report response for an organization @@ -18981,7 +19241,7 @@ paths: '400': *14 '403': *29 '500': *55 - '503': *120 + '503': *122 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -19004,19 +19264,19 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/usage#get-billing-usage-summary-for-an-organization parameters: - - *76 - - *122 + - *78 - *124 - - *123 - - &735 + - *126 + - *125 + - &737 name: repository description: The repository name to query for usage in the format owner/repository. in: query required: false schema: type: string - - *125 - - &736 + - *127 + - &738 name: sku description: The SKU to query for usage. in: query @@ -19127,7 +19387,7 @@ paths: '400': *14 '403': *29 '500': *55 - '503': *120 + '503': *122 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -19153,13 +19413,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#get-an-organization parameters: - - *76 + - *78 responses: '200': description: Response content: application/json: - schema: &126 + schema: &128 title: Organization Full description: Organization Full type: object @@ -19478,7 +19738,7 @@ paths: - updated_at - archived_at examples: - default-response: &127 + default-response: &129 value: login: github id: 1 @@ -19578,7 +19838,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#update-an-organization parameters: - - *76 + - *78 requestBody: required: false content: @@ -19794,17 +20054,17 @@ paths: description: Response content: application/json: - schema: *126 + schema: *128 examples: - default: *127 + default: *129 '422': description: Validation failed content: application/json: schema: oneOf: - - *128 - - *129 + - *130 + - *131 '409': *54 x-github: githubCloudOnly: false @@ -19828,7 +20088,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#delete-an-organization parameters: - - *76 + - *78 responses: '202': *39 '404': *6 @@ -19853,7 +20113,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#get-github-actions-cache-usage-for-an-organization parameters: - - *76 + - *78 responses: '200': description: Response @@ -19879,7 +20139,7 @@ paths: total_active_caches_size_in_bytes: 3344284 total_active_caches_count: 5 headers: - Link: *68 + Link: *70 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -19900,7 +20160,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#list-repositories-with-github-actions-cache-usage-for-an-organization parameters: - - *76 + - *78 - *17 - *19 responses: @@ -19918,7 +20178,7 @@ paths: type: integer repository_cache_usages: type: array - items: &353 + items: &355 title: Actions Cache Usage by repository description: GitHub Actions Cache Usage by repository. type: object @@ -19953,7 +20213,7 @@ paths: active_caches_size_in_bytes: 1022142 active_caches_count: 2 headers: - Link: *68 + Link: *70 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -19973,7 +20233,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#list-github-hosted-runners-for-an-organization parameters: - - *76 + - *78 - *17 - *19 responses: @@ -19991,7 +20251,7 @@ paths: type: integer runners: type: array - items: &130 + items: &132 title: GitHub-hosted hosted runner description: A Github-hosted hosted runner. type: object @@ -20045,7 +20305,7 @@ paths: - display_name - source nullable: true - machine_size_details: &138 + machine_size_details: &140 title: Github-owned VM details. description: Provides details of a particular machine spec. type: object @@ -20141,7 +20401,7 @@ paths: - public_ip_enabled - platform examples: - default: &158 + default: &160 value: total_count: 2 runners: @@ -20183,7 +20443,7 @@ paths: public_ips: [] last_active_on: '2023-04-26T15:23:37Z' headers: - Link: *68 + Link: *70 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -20201,7 +20461,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#create-a-github-hosted-runner-for-an-organization parameters: - - *76 + - *78 requestBody: required: true content: @@ -20278,9 +20538,9 @@ paths: description: Response content: application/json: - schema: *130 + schema: *132 examples: - default: &139 + default: &141 value: id: 5 name: My hosted ubuntu runner @@ -20321,7 +20581,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#list-custom-images-for-an-organization parameters: - - *76 + - *78 responses: '200': description: Response @@ -20337,7 +20597,7 @@ paths: type: integer images: type: array - items: &131 + items: &133 title: GitHub-hosted runner custom image details description: Provides details of a custom runner image type: object @@ -20388,7 +20648,7 @@ paths: - latest_version - state examples: - default: &133 + default: &135 value: total_count: 2 image_versions: @@ -20419,8 +20679,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#get-a-custom-image-definition-for-github-actions-hosted-runners parameters: - - *76 - - &132 + - *78 + - &134 name: image_definition_id description: Image definition ID of custom image in: path @@ -20432,7 +20692,7 @@ paths: description: Response content: application/json: - schema: *131 + schema: *133 examples: default: value: @@ -20462,8 +20722,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#delete-a-custom-image-from-the-organization parameters: - - *76 - - *132 + - *78 + - *134 responses: '204': description: Response @@ -20486,8 +20746,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#list-image-versions-of-a-custom-image-for-an-organization parameters: - - *132 - - *76 + - *134 + - *78 responses: '200': description: Response @@ -20503,7 +20763,7 @@ paths: type: integer image_versions: type: array - items: &134 + items: &136 title: GitHub-hosted runner custom image version details. description: Provides details of a hosted runner custom image version @@ -20536,7 +20796,7 @@ paths: - created_on - state_details examples: - default: *133 + default: *135 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -20556,9 +20816,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#get-an-image-version-of-a-custom-image-for-github-actions-hosted-runners parameters: - - *76 - - *132 - - &135 + - *78 + - *134 + - &137 name: version description: Version of a custom image in: path @@ -20571,7 +20831,7 @@ paths: description: Response content: application/json: - schema: *134 + schema: *136 examples: default: value: @@ -20597,9 +20857,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#delete-an-image-version-of-custom-image-from-the-organization parameters: - - *76 - - *132 - - *135 + - *78 + - *134 + - *137 responses: '204': description: Response @@ -20620,7 +20880,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#get-github-owned-images-for-github-hosted-runners-in-an-organization parameters: - - *76 + - *78 responses: '200': description: Response @@ -20636,7 +20896,7 @@ paths: type: integer images: type: array - items: &136 + items: &138 title: GitHub-hosted runner image details. description: Provides details of a hosted runner image type: object @@ -20672,7 +20932,7 @@ paths: - display_name - source examples: - default: &137 + default: &139 value: id: ubuntu-20.04 platform: linux-x64 @@ -20696,7 +20956,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#get-partner-images-for-github-hosted-runners-in-an-organization parameters: - - *76 + - *78 responses: '200': description: Response @@ -20712,9 +20972,9 @@ paths: type: integer images: type: array - items: *136 + items: *138 examples: - default: *137 + default: *139 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -20731,7 +20991,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#get-limits-on-github-hosted-runners-for-an-organization parameters: - - *76 + - *78 responses: '200': description: Response @@ -20784,7 +21044,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#get-github-hosted-runners-machine-specs-for-an-organization parameters: - - *76 + - *78 responses: '200': description: Response @@ -20800,7 +21060,7 @@ paths: type: integer machine_specs: type: array - items: *138 + items: *140 examples: default: value: @@ -20825,7 +21085,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#get-platforms-for-github-hosted-runners-in-an-organization parameters: - - *76 + - *78 responses: '200': description: Response @@ -20869,8 +21129,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#get-a-github-hosted-runner-for-an-organization parameters: - - *76 - - &140 + - *78 + - &142 name: hosted_runner_id description: Unique identifier of the GitHub-hosted runner. in: path @@ -20882,11 +21142,11 @@ paths: description: Response content: application/json: - schema: *130 + schema: *132 examples: - default: *139 + default: *141 headers: - Link: *68 + Link: *70 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -20904,8 +21164,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#update-a-github-hosted-runner-for-an-organization parameters: - - *76 - - *140 + - *78 + - *142 requestBody: required: true content: @@ -20971,9 +21231,9 @@ paths: description: Response content: application/json: - schema: *130 + schema: *132 examples: - default: *139 + default: *141 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -20989,16 +21249,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#delete-a-github-hosted-runner-for-an-organization parameters: - - *76 - - *140 + - *78 + - *142 responses: '202': description: Response content: application/json: - schema: *130 + schema: *132 examples: - default: *139 + default: *141 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -21018,7 +21278,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/oidc#list-oidc-custom-property-inclusions-for-an-organization parameters: - - *76 + - *78 responses: '200': description: A JSON array of OIDC custom property inclusions @@ -21051,12 +21311,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/oidc#create-an-oidc-custom-property-inclusion-for-an-organization parameters: - - *76 + - *78 requestBody: required: true content: application/json: - schema: *141 + schema: *143 examples: default: *46 responses: @@ -21090,7 +21350,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/oidc#delete-an-oidc-custom-property-inclusion-for-an-organization parameters: - - *76 + - *78 - name: custom_property_name in: path required: true @@ -21123,7 +21383,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/oidc#get-the-customization-template-for-an-oidc-subject-claim-for-an-organization parameters: - - *76 + - *78 responses: '200': description: A JSON serialized template for OIDC subject claim customization @@ -21143,7 +21403,7 @@ paths: required: - include_claim_keys examples: - default: &142 + default: &144 value: include_claim_keys: - repo @@ -21165,7 +21425,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/oidc#set-the-customization-template-for-an-oidc-subject-claim-for-an-organization parameters: - - *76 + - *78 requestBody: required: true content: @@ -21182,13 +21442,13 @@ paths: items: type: string examples: - default: *142 + default: *144 responses: '201': description: Empty response content: application/json: - schema: &168 + schema: &170 title: Empty Object description: An object without any properties. type: object @@ -21218,7 +21478,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-github-actions-permissions-for-an-organization parameters: - - *76 + - *78 responses: '200': description: Response @@ -21227,7 +21487,7 @@ paths: schema: type: object properties: - enabled_repositories: &143 + enabled_repositories: &145 type: string description: The policy that controls the repositories in the organization that are allowed to run GitHub Actions. @@ -21240,7 +21500,7 @@ paths: 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: &144 + allowed_actions: &146 type: string description: The permissions policy that controls the actions and reusable workflows that are allowed to run. @@ -21248,12 +21508,12 @@ paths: - all - local_only - selected - selected_actions_url: &359 + selected_actions_url: &361 type: string description: The API URL to use to get or set the actions and reusable workflows that are allowed to run, when `allowed_actions` is set to `selected`. - sha_pinning_required: &145 + sha_pinning_required: &147 type: boolean description: Whether actions must be pinned to a full-length commit SHA. @@ -21284,7 +21544,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-github-actions-permissions-for-an-organization parameters: - - *76 + - *78 responses: '204': description: Response @@ -21295,9 +21555,9 @@ paths: schema: type: object properties: - enabled_repositories: *143 - allowed_actions: *144 - sha_pinning_required: *145 + enabled_repositories: *145 + allowed_actions: *146 + sha_pinning_required: *147 required: - enabled_repositories examples: @@ -21325,13 +21585,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-artifact-and-log-retention-settings-for-an-organization parameters: - - *76 + - *78 responses: '200': description: Response content: application/json: - schema: &363 + schema: &365 type: object properties: days: @@ -21368,12 +21628,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-artifact-and-log-retention-settings-for-an-organization parameters: - - *76 + - *78 requestBody: required: true content: application/json: - schema: &364 + schema: &366 type: object properties: days: @@ -21410,13 +21670,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-fork-pr-contributor-approval-permissions-for-an-organization parameters: - - *76 + - *78 responses: '200': description: Response content: application/json: - schema: &146 + schema: &148 type: object properties: approval_policy: @@ -21430,7 +21690,7 @@ paths: required: - approval_policy examples: - default: &365 + default: &367 value: approval_policy: first_time_contributors '404': *6 @@ -21451,7 +21711,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-fork-pr-contributor-approval-permissions-for-an-organization parameters: - - *76 + - *78 responses: '204': description: Response @@ -21461,7 +21721,7 @@ paths: required: true content: application/json: - schema: *146 + schema: *148 examples: default: summary: Set approval policy to first time contributors @@ -21483,13 +21743,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-private-repo-fork-pr-workflow-settings-for-an-organization parameters: - - *76 + - *78 responses: '200': description: Response content: application/json: - schema: &366 + schema: &368 type: object required: - run_workflows_from_fork_pull_requests @@ -21515,7 +21775,7 @@ paths: description: Whether workflows triggered by pull requests from forks require approval from a repository administrator to run. examples: - default: &147 + default: &149 value: run_workflows_from_fork_pull_requests: true send_write_tokens_to_workflows: false @@ -21538,12 +21798,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-private-repo-fork-pr-workflow-settings-for-an-organization parameters: - - *76 + - *78 requestBody: required: true content: application/json: - schema: &367 + schema: &369 type: object required: - run_workflows_from_fork_pull_requests @@ -21566,7 +21826,7 @@ paths: description: Whether workflows triggered by pull requests from forks require approval from a repository administrator to run. examples: - default: *147 + default: *149 responses: '204': description: Empty response for successful settings update @@ -21596,7 +21856,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#list-selected-repositories-enabled-for-github-actions-in-an-organization parameters: - - *76 + - *78 - *17 - *19 responses: @@ -21614,9 +21874,9 @@ paths: type: number repositories: type: array - items: *80 + items: *82 examples: - default: &151 + default: &153 value: total_count: 1 repositories: @@ -21756,7 +22016,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-selected-repositories-enabled-for-github-actions-in-an-organization parameters: - - *76 + - *78 responses: '204': description: Response @@ -21800,8 +22060,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#enable-a-selected-repository-for-github-actions-in-an-organization parameters: - - *76 - - &148 + - *78 + - &150 name: repository_id description: The unique identifier of the repository. in: path @@ -21829,8 +22089,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#disable-a-selected-repository-for-github-actions-in-an-organization parameters: - - *76 - - *148 + - *78 + - *150 responses: '204': description: Response @@ -21853,13 +22113,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-allowed-actions-and-reusable-workflows-for-an-organization parameters: - - *76 + - *78 responses: '200': description: Response content: application/json: - schema: &149 + schema: &151 type: object properties: github_owned_allowed: @@ -21881,7 +22141,7 @@ paths: items: type: string examples: - default: &150 + default: &152 value: github_owned_allowed: true verified_allowed: false @@ -21906,7 +22166,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-allowed-actions-and-reusable-workflows-for-an-organization parameters: - - *76 + - *78 responses: '204': description: Response @@ -21914,9 +22174,9 @@ paths: required: false content: application/json: - schema: *149 + schema: *151 examples: - selected_actions: *150 + selected_actions: *152 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -21936,7 +22196,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-self-hosted-runners-settings-for-an-organization parameters: - - *76 + - *78 responses: '200': description: Response @@ -21984,7 +22244,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-self-hosted-runners-settings-for-an-organization parameters: - - *76 + - *78 requestBody: required: true content: @@ -22031,7 +22291,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#list-repositories-allowed-to-use-self-hosted-runners-in-an-organization parameters: - - *76 + - *78 - *17 - *19 responses: @@ -22046,9 +22306,9 @@ paths: type: integer repositories: type: array - items: *80 + items: *82 examples: - default: *151 + default: *153 '403': *29 '404': *6 x-github: @@ -22068,7 +22328,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-repositories-allowed-to-use-self-hosted-runners-in-an-organization parameters: - - *76 + - *78 requestBody: required: true content: @@ -22116,8 +22376,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#add-a-repository-to-the-list-of-repositories-allowed-to-use-self-hosted-runners-in-an-organization parameters: - - *76 - - *148 + - *78 + - *150 responses: '204': description: No content @@ -22143,8 +22403,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#remove-a-repository-from-the-list-of-repositories-allowed-to-use-self-hosted-runners-in-an-organization parameters: - - *76 - - *148 + - *78 + - *150 responses: '204': description: No content @@ -22172,23 +22432,23 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-default-workflow-permissions-for-an-organization parameters: - - *76 + - *78 responses: '200': description: Response content: application/json: - schema: &368 + schema: &370 type: object properties: - default_workflow_permissions: &152 + default_workflow_permissions: &154 type: string description: The default workflow permissions granted to the GITHUB_TOKEN when running workflows. enum: - read - write - can_approve_pull_request_reviews: &153 + can_approve_pull_request_reviews: &155 type: boolean description: Whether GitHub Actions can approve pull requests. Enabling this can be a security risk. @@ -22196,7 +22456,7 @@ paths: - default_workflow_permissions - can_approve_pull_request_reviews examples: - default: &154 + default: &156 summary: Give read-only permission, and allow approving PRs. value: default_workflow_permissions: read @@ -22221,7 +22481,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-default-workflow-permissions-for-an-organization parameters: - - *76 + - *78 responses: '204': description: Success response @@ -22229,13 +22489,13 @@ paths: required: false content: application/json: - schema: &369 + schema: &371 type: object properties: - default_workflow_permissions: *152 - can_approve_pull_request_reviews: *153 + default_workflow_permissions: *154 + can_approve_pull_request_reviews: *155 examples: - default: *154 + default: *156 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -22255,7 +22515,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runner-groups#list-self-hosted-runner-groups-for-an-organization parameters: - - *76 + - *78 - *17 - *19 - name: visible_to_repository @@ -22280,7 +22540,7 @@ paths: type: number runner_groups: type: array - items: &155 + items: &157 type: object properties: id: @@ -22396,7 +22656,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runner-groups#create-a-self-hosted-runner-group-for-an-organization parameters: - - *76 + - *78 requestBody: required: true content: @@ -22468,9 +22728,9 @@ paths: description: Response content: application/json: - schema: *155 + schema: *157 examples: - default: &157 + default: &159 value: id: 2 name: octo-runner-group @@ -22505,8 +22765,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runner-groups#get-a-self-hosted-runner-group-for-an-organization parameters: - - *76 - - &156 + - *78 + - &158 name: runner_group_id description: Unique identifier of the self-hosted runner group. in: path @@ -22518,7 +22778,7 @@ paths: description: Response content: application/json: - schema: *155 + schema: *157 examples: default: value: @@ -22554,8 +22814,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runner-groups#update-a-self-hosted-runner-group-for-an-organization parameters: - - *76 - - *156 + - *78 + - *158 requestBody: required: true content: @@ -22609,9 +22869,9 @@ paths: description: Response content: application/json: - schema: *155 + schema: *157 examples: - default: *157 + default: *159 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -22630,8 +22890,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runner-groups#delete-a-self-hosted-runner-group-from-an-organization parameters: - - *76 - - *156 + - *78 + - *158 responses: '204': description: Response @@ -22654,8 +22914,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runner-groups#list-github-hosted-runners-in-a-group-for-an-organization parameters: - - *76 - - *156 + - *78 + - *158 - *17 - *19 responses: @@ -22673,11 +22933,11 @@ paths: type: number runners: type: array - items: *130 + items: *132 examples: - default: *158 + default: *160 headers: - Link: *68 + Link: *70 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -22697,8 +22957,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runner-groups#list-repository-access-to-a-self-hosted-runner-group-in-an-organization parameters: - - *76 - - *156 + - *78 + - *158 - *19 - *17 responses: @@ -22716,9 +22976,9 @@ paths: type: number repositories: type: array - items: *159 + items: *161 examples: - default: &196 + default: &198 value: total_count: 1 repositories: @@ -22970,8 +23230,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runner-groups#set-repository-access-for-a-self-hosted-runner-group-in-an-organization parameters: - - *76 - - *156 + - *78 + - *158 requestBody: required: true content: @@ -23015,9 +23275,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runner-groups#add-repository-access-to-a-self-hosted-runner-group-in-an-organization parameters: - - *76 - - *156 - - *148 + - *78 + - *158 + - *150 responses: '204': description: Response @@ -23039,9 +23299,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runner-groups#remove-repository-access-to-a-self-hosted-runner-group-in-an-organization parameters: - - *76 - - *156 - - *148 + - *78 + - *158 + - *150 responses: '204': description: Response @@ -23064,8 +23324,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runner-groups#list-self-hosted-runners-in-a-group-for-an-organization parameters: - - *76 - - *156 + - *78 + - *158 - *17 - *19 responses: @@ -23083,7 +23343,7 @@ paths: type: number runners: type: array - items: &161 + items: &163 title: Self hosted runners description: A self hosted runner type: object @@ -23112,7 +23372,7 @@ paths: type: boolean labels: type: array - items: &164 + items: &166 title: Self hosted runner label description: A label for a self hosted runner type: object @@ -23142,7 +23402,7 @@ paths: - busy - labels examples: - default: &162 + default: &164 value: total_count: 2 runners: @@ -23182,7 +23442,7 @@ paths: name: no-gpu type: custom headers: - Link: *68 + Link: *70 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -23201,8 +23461,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runner-groups#set-self-hosted-runners-in-a-group-for-an-organization parameters: - - *76 - - *156 + - *78 + - *158 requestBody: required: true content: @@ -23246,9 +23506,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runner-groups#add-a-self-hosted-runner-to-a-group-for-an-organization parameters: - - *76 - - *156 - - &160 + - *78 + - *158 + - &162 name: runner_id description: Unique identifier of the self-hosted runner. in: path @@ -23276,9 +23536,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runner-groups#remove-a-self-hosted-runner-from-a-group-for-an-organization parameters: - - *76 - - *156 - - *160 + - *78 + - *158 + - *162 responses: '204': description: Response @@ -23308,7 +23568,7 @@ paths: in: query schema: type: string - - *76 + - *78 - *17 - *19 responses: @@ -23326,11 +23586,11 @@ paths: type: integer runners: type: array - items: *161 + items: *163 examples: - default: *162 + default: *164 headers: - Link: *68 + Link: *70 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -23352,7 +23612,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#list-runner-applications-for-an-organization parameters: - - *76 + - *78 responses: '200': description: Response @@ -23360,7 +23620,7 @@ paths: application/json: schema: type: array - items: &370 + items: &372 title: Runner Application description: Runner Application type: object @@ -23385,7 +23645,7 @@ paths: - download_url - filename examples: - default: &371 + default: &373 value: - os: osx architecture: x64 @@ -23428,7 +23688,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#create-configuration-for-a-just-in-time-runner-for-an-organization parameters: - - *76 + - *78 requestBody: required: true content: @@ -23471,7 +23731,7 @@ paths: - no-gpu work_folder: _work responses: - '201': &372 + '201': &374 description: Response content: application/json: @@ -23481,7 +23741,7 @@ paths: - runner - encoded_jit_config properties: - runner: *161 + runner: *163 encoded_jit_config: type: string description: The base64 encoded runner configuration. @@ -23538,13 +23798,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#create-a-registration-token-for-an-organization parameters: - - *76 + - *78 responses: '201': description: Response content: application/json: - schema: &163 + schema: &165 title: Authentication Token description: Authentication Token type: object @@ -23566,7 +23826,7 @@ paths: repositories: description: The repositories this token has access to type: array - items: *80 + items: *82 single_file: type: string example: config.yaml @@ -23582,7 +23842,7 @@ paths: - token - expires_at examples: - default: &373 + default: &375 value: token: LLBF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-22T12:13:35.123-08:00' @@ -23613,15 +23873,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#create-a-remove-token-for-an-organization parameters: - - *76 + - *78 responses: '201': description: Response content: application/json: - schema: *163 + schema: *165 examples: - default: &374 + default: &376 value: token: AABF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-29T12:13:35.123-08:00' @@ -23646,16 +23906,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#get-a-self-hosted-runner-for-an-organization parameters: - - *76 - - *160 + - *78 + - *162 responses: '200': description: Response content: application/json: - schema: *161 + schema: *163 examples: - default: &375 + default: &377 value: id: 23 name: MBP @@ -23696,8 +23956,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#delete-a-self-hosted-runner-from-an-organization parameters: - - *76 - - *160 + - *78 + - *162 responses: '204': description: Response @@ -23723,10 +23983,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#list-labels-for-a-self-hosted-runner-for-an-organization parameters: - - *76 - - *160 + - *78 + - *162 responses: - '200': &165 + '200': &167 description: Response content: application/json: @@ -23740,7 +24000,7 @@ paths: type: integer labels: type: array - items: *164 + items: *166 examples: default: value: @@ -23779,8 +24039,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#add-custom-labels-to-a-self-hosted-runner-for-an-organization parameters: - - *76 - - *160 + - *78 + - *162 requestBody: required: true content: @@ -23804,7 +24064,7 @@ paths: - gpu - accelerated responses: - '200': *165 + '200': *167 '404': *6 '422': *7 x-github: @@ -23828,8 +24088,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#set-custom-labels-for-a-self-hosted-runner-for-an-organization parameters: - - *76 - - *160 + - *78 + - *162 requestBody: required: true content: @@ -23854,7 +24114,7 @@ paths: - gpu - accelerated responses: - '200': *165 + '200': *167 '404': *6 '422': *7 x-github: @@ -23878,10 +24138,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#remove-all-custom-labels-from-a-self-hosted-runner-for-an-organization parameters: - - *76 - - *160 + - *78 + - *162 responses: - '200': &376 + '200': &378 description: Response content: application/json: @@ -23895,7 +24155,7 @@ paths: type: integer labels: type: array - items: *164 + items: *166 examples: default: value: @@ -23936,9 +24196,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#remove-a-custom-label-from-a-self-hosted-runner-for-an-organization parameters: - - *76 - - *160 - - &377 + - *78 + - *162 + - &379 name: name description: The name of a self-hosted runner's custom label. in: path @@ -23946,7 +24206,7 @@ paths: schema: type: string responses: - '200': *165 + '200': *167 '404': *6 '422': *7 x-github: @@ -23971,7 +24231,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-organization-secrets parameters: - - *76 + - *78 - *17 - *19 responses: @@ -23989,7 +24249,7 @@ paths: type: integer secrets: type: array - items: &166 + items: &168 title: Actions Secret for an Organization description: Secrets for GitHub Actions for an organization. type: object @@ -24039,7 +24299,7 @@ paths: visibility: selected selected_repositories_url: https://api.github.com/orgs/octo-org/actions/secrets/SUPER_SECRET/repositories headers: - Link: *68 + Link: *70 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -24062,13 +24322,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-an-organization-public-key parameters: - - *76 + - *78 responses: '200': description: Response content: application/json: - schema: &389 + schema: &391 title: ActionsPublicKey description: The public key used for setting Actions Secrets. type: object @@ -24097,7 +24357,7 @@ paths: - key_id - key examples: - default: &390 + default: &392 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -24122,8 +24382,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-an-organization-secret parameters: - - *76 - - &167 + - *78 + - &169 name: secret_name description: The name of the secret. in: path @@ -24135,7 +24395,7 @@ paths: description: Response content: application/json: - schema: *166 + schema: *168 examples: default: value: @@ -24165,8 +24425,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#create-or-update-an-organization-secret parameters: - - *76 - - *167 + - *78 + - *169 requestBody: required: true content: @@ -24223,7 +24483,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *168 + schema: *170 examples: default: value: @@ -24249,8 +24509,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#delete-an-organization-secret parameters: - - *76 - - *167 + - *78 + - *169 responses: '204': description: Response @@ -24276,8 +24536,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-selected-repositories-for-an-organization-secret parameters: - - *76 - - *167 + - *78 + - *169 - *19 - *17 responses: @@ -24295,9 +24555,9 @@ paths: type: integer repositories: type: array - items: *159 + items: *161 examples: - default: &171 + default: &173 value: total_count: 1 repositories: @@ -24389,8 +24649,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#set-selected-repositories-for-an-organization-secret parameters: - - *76 - - *167 + - *78 + - *169 requestBody: required: true content: @@ -24442,8 +24702,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#add-selected-repository-to-an-organization-secret parameters: - - *76 - - *167 + - *78 + - *169 - name: repository_id in: path required: true @@ -24476,8 +24736,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#remove-selected-repository-from-an-organization-secret parameters: - - *76 - - *167 + - *78 + - *169 - name: repository_id in: path required: true @@ -24509,8 +24769,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-organization-variables parameters: - - *76 - - &358 + - *78 + - &360 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/rest/using-the-rest-api/using-pagination-in-the-rest-api)." @@ -24534,7 +24794,7 @@ paths: type: integer variables: type: array - items: &169 + items: &171 title: Actions Variable for an Organization description: Organization variable for GitHub Actions. type: object @@ -24598,7 +24858,7 @@ paths: visibility: selected selected_repositories_url: https://api.github.com/orgs/octo-org/actions/variables/ADMIN_EMAIL/repositories headers: - Link: *68 + Link: *70 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -24619,7 +24879,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#create-an-organization-variable parameters: - - *76 + - *78 requestBody: required: true content: @@ -24667,7 +24927,7 @@ paths: description: Response when creating a variable content: application/json: - schema: *168 + schema: *170 examples: default: value: @@ -24692,8 +24952,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#get-an-organization-variable parameters: - - *76 - - &170 + - *78 + - &172 name: name description: The name of the variable. in: path @@ -24705,7 +24965,7 @@ paths: description: Response content: application/json: - schema: *169 + schema: *171 examples: default: value: @@ -24735,8 +24995,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#update-an-organization-variable parameters: - - *76 - - *170 + - *78 + - *172 requestBody: required: true content: @@ -24798,8 +25058,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#delete-an-organization-variable parameters: - - *76 - - *170 + - *78 + - *172 responses: '204': description: Response @@ -24825,8 +25085,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-selected-repositories-for-an-organization-variable parameters: - - *76 - - *170 + - *78 + - *172 - *19 - *17 responses: @@ -24844,9 +25104,9 @@ paths: type: integer repositories: type: array - items: *159 + items: *161 examples: - default: *171 + default: *173 '409': description: Response when the visibility of the variable is not set to `selected` @@ -24872,8 +25132,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#set-selected-repositories-for-an-organization-variable parameters: - - *76 - - *170 + - *78 + - *172 requestBody: required: true content: @@ -24922,8 +25182,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#add-selected-repository-to-an-organization-variable parameters: - - *76 - - *170 + - *78 + - *172 - name: repository_id in: path required: true @@ -24957,8 +25217,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#remove-selected-repository-from-an-organization-variable parameters: - - *76 - - *170 + - *78 + - *172 - name: repository_id in: path required: true @@ -24999,7 +25259,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/artifact-metadata#create-an-artifact-deployment-record parameters: - - *76 + - *78 requestBody: required: true content: @@ -25122,7 +25382,7 @@ paths: type: integer deployment_records: type: array - items: &172 + items: &174 title: Artifact Deployment Record description: Artifact Metadata Deployment Record type: object @@ -25168,7 +25428,7 @@ paths: required: - total_count examples: - default: &173 + default: &175 value: total_count: 1 deployment_records: @@ -25205,7 +25465,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/artifact-metadata#set-cluster-deployment-records parameters: - - *76 + - *78 - name: cluster in: path description: The cluster name. @@ -25348,11 +25608,11 @@ paths: type: integer deployment_records: type: array - items: *172 + items: *174 required: - total_count examples: - default: *173 + default: *175 '403': description: Forbidden content: @@ -25399,7 +25659,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/artifact-metadata#create-artifact-metadata-storage-record parameters: - - *76 + - *78 requestBody: required: true content: @@ -25562,7 +25822,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/artifact-metadata#list-artifact-deployment-records parameters: - - *76 + - *78 - name: subject_digest description: The SHA256 digest of the artifact, in the form `sha256:HEX_DIGEST`. in: path @@ -25587,9 +25847,9 @@ paths: type: integer deployment_records: type: array - items: *172 + items: *174 examples: - default: *173 + default: *175 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -25609,7 +25869,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/artifact-metadata#list-artifact-storage-records parameters: - - *76 + - *78 - name: subject_digest description: The parameter should be set to the attestation's subject's SHA256 digest, in the form `sha256:HEX_DIGEST`. @@ -25694,7 +25954,7 @@ paths: - *17 - *47 - *48 - - *76 + - *78 requestBody: required: true content: @@ -25718,12 +25978,12 @@ paths: required: - subject_digests examples: - default: &715 + default: &717 value: subject_digests: - sha256:abc123 - sha512:def456 - withPredicateType: &716 + withPredicateType: &718 value: subject_digests: - sha256:abc123 @@ -25781,7 +26041,7 @@ paths: description: The cursor to the previous page. description: Information about the current page. examples: - default: &717 + default: &719 value: attestations_subject_digests: - sha256:abc: @@ -25890,7 +26150,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/attestations#delete-attestations-in-bulk parameters: - - *76 + - *78 requestBody: required: true content: @@ -25955,7 +26215,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/attestations#delete-attestations-by-subject-digest parameters: - - *76 + - *78 - name: subject_digest description: Subject Digest in: path @@ -25990,7 +26250,7 @@ paths: - *17 - *47 - *48 - - *76 + - *78 - name: predicate_type description: |- Optional filter for fetching attestations with a given predicate type. @@ -26038,7 +26298,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/attestations#delete-attestations-by-id parameters: - - *76 + - *78 - name: attestation_id description: Attestation ID in: path @@ -26076,7 +26336,7 @@ paths: - *17 - *47 - *48 - - *76 + - *78 - name: subject_digest description: The parameter should be set to the attestation's subject's SHA256 digest, in the form `sha256:HEX_DIGEST`. @@ -26131,7 +26391,7 @@ paths: initiator: type: string examples: - default: &403 + default: &405 value: attestations: - bundle: @@ -26238,7 +26498,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/blocking#list-users-blocked-by-an-organization parameters: - - *76 + - *78 - *17 - *19 responses: @@ -26250,7 +26510,7 @@ paths: type: array items: *4 examples: - default: *71 + default: *73 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -26269,8 +26529,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/blocking#check-if-a-user-is-blocked-by-an-organization parameters: - - *76 - - *72 + - *78 + - *74 responses: '204': description: If the user is blocked @@ -26295,8 +26555,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/blocking#block-a-user-from-an-organization parameters: - - *76 - - *72 + - *78 + - *74 responses: '204': description: Response @@ -26316,8 +26576,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/blocking#unblock-a-user-from-an-organization parameters: - - *76 - - *72 + - *78 + - *74 responses: '204': description: Response @@ -26342,7 +26602,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/campaigns/campaigns#list-campaigns-for-an-organization parameters: - - *76 + - *78 - *19 - *17 - *62 @@ -26350,7 +26610,7 @@ paths: description: If specified, only campaigns with this state will be returned. in: query required: false - schema: &174 + schema: &176 title: Campaign state description: Indicates whether a campaign is open or closed type: string @@ -26376,7 +26636,7 @@ paths: application/json: schema: type: array - items: &175 + items: &177 title: Campaign summary description: The campaign metadata and alert stats. type: object @@ -26407,7 +26667,7 @@ paths: team_managers: description: The campaign team managers type: array - items: &195 + items: &197 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -26482,7 +26742,7 @@ paths: description: Groups of organization members that gives permissions on specified repositories. type: object - properties: &257 + properties: &259 id: description: Unique identifier of the team type: integer @@ -26554,7 +26814,7 @@ paths: description: Unique identifier of the enterprise to which this team belongs example: 42 - required: &258 + required: &260 - id - node_id - url @@ -26597,7 +26857,7 @@ paths: type: string format: date-time nullable: true - state: *174 + state: *176 contact_link: description: The contact link of the campaign. type: string @@ -26692,9 +26952,9 @@ paths: closed_at: state: open headers: - Link: *68 + Link: *70 '404': *6 - '503': *120 + '503': *122 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -26718,7 +26978,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/campaigns/campaigns#create-a-campaign-for-an-organization parameters: - - *76 + - *78 requestBody: required: true content: @@ -26817,9 +27077,9 @@ paths: description: Response content: application/json: - schema: *175 + schema: *177 examples: - default: &176 + default: &178 value: number: 3 created_at: '2024-02-14T12:29:18Z' @@ -26868,7 +27128,7 @@ paths: schema: *3 '429': description: Too Many Requests - '503': *120 + '503': *122 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -26890,7 +27150,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/campaigns/campaigns#get-a-campaign-for-an-organization parameters: - - *76 + - *78 - name: campaign_number description: The campaign number. in: path @@ -26902,16 +27162,16 @@ paths: description: Response content: application/json: - schema: *175 + schema: *177 examples: - default: *176 + default: *178 '404': *6 '422': description: Unprocessable Entity content: application/json: schema: *3 - '503': *120 + '503': *122 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -26932,7 +27192,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/campaigns/campaigns#update-a-campaign parameters: - - *76 + - *78 - name: campaign_number description: The campaign number. in: path @@ -26981,7 +27241,7 @@ paths: type: string format: uri nullable: true - state: *174 + state: *176 examples: default: value: @@ -26991,9 +27251,9 @@ paths: description: Response content: application/json: - schema: *175 + schema: *177 examples: - default: *176 + default: *178 '400': description: Bad Request content: @@ -27005,7 +27265,7 @@ paths: content: application/json: schema: *3 - '503': *120 + '503': *122 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -27026,7 +27286,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/campaigns/campaigns#delete-a-campaign-for-an-organization parameters: - - *76 + - *78 - name: campaign_number description: The campaign number. in: path @@ -27037,7 +27297,7 @@ paths: '204': description: Deletion successful '404': *6 - '503': *120 + '503': *122 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -27059,18 +27319,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-code-scanning-alerts-for-an-organization parameters: - - *76 - - &428 + - *78 + - &430 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: &184 + schema: &186 type: string description: The name of the tool used to generate the code scanning analysis. - - &429 + - &431 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 @@ -27078,7 +27338,7 @@ paths: or `tool_name`, but not both. in: query required: false - schema: &185 + schema: &187 nullable: true type: string description: The GUID of the tool used to generate the code scanning analysis, @@ -27093,7 +27353,7 @@ paths: be returned. in: query required: false - schema: &431 + schema: &433 type: string description: State of a code scanning alert. enum: @@ -27116,7 +27376,7 @@ paths: be returned. in: query required: false - schema: &432 + schema: &434 type: string description: Severity of a code scanning alert. enum: @@ -27145,18 +27405,18 @@ paths: items: type: object properties: - number: *177 - created_at: *178 - updated_at: *179 - url: *180 - html_url: *181 - instances_url: &433 + number: *179 + created_at: *180 + updated_at: *181 + url: *182 + html_url: *183 + instances_url: &435 type: string description: The REST API URL for fetching the list of instances for an alert. format: uri readOnly: true - state: &186 + state: &188 type: string description: State of a code scanning alert. nullable: true @@ -27164,7 +27424,7 @@ paths: - open - dismissed - fixed - fixed_at: *182 + fixed_at: *184 dismissed_by: title: Simple User description: A GitHub user. @@ -27172,8 +27432,8 @@ paths: properties: *20 required: *21 nullable: true - dismissed_at: *183 - dismissed_reason: &434 + dismissed_at: *185 + dismissed_reason: &436 type: string description: "**Required when the state is dismissed.** The reason for dismissing or closing the alert." @@ -27182,13 +27442,13 @@ paths: - false positive - won't fix - used in tests - dismissed_comment: &435 + dismissed_comment: &437 type: string description: The dismissal comment associated with the dismissal of the alert. nullable: true maxLength: 280 - rule: &436 + rule: &438 type: object properties: id: @@ -27241,42 +27501,42 @@ paths: type: string description: A link to the documentation for the rule used to detect the alert. - tool: &437 + tool: &439 type: object properties: - name: *184 + name: *186 version: nullable: true type: string description: The version of the tool used to generate the code scanning analysis. - guid: *185 - most_recent_instance: &438 + guid: *187 + most_recent_instance: &440 type: object properties: - ref: &430 + ref: &432 type: string description: |- The Git reference, formatted as `refs/pull//merge`, `refs/pull//head`, `refs/heads/` or simply ``. - analysis_key: &448 + analysis_key: &450 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. - environment: &449 + environment: &451 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. - category: &450 + category: &452 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. - state: *186 + state: *188 commit_sha: type: string message: @@ -27290,7 +27550,7 @@ paths: with placeholder links for related locations replaced by links to the relevant code. Only populated when related locations are available for the alert instance. - location: &451 + location: &453 type: object description: Describe a region within a file for the alert. properties: @@ -27311,7 +27571,7 @@ paths: description: |- Classifications that have been applied to the file that triggered the alert. For example identifying it as documentation, or a generated file. - items: &452 + items: &454 type: string description: A classification of the file. For example to identify it as generated. @@ -27576,9 +27836,9 @@ paths: trees_url: https://api.github.com/repos/octocat/Hello-World/git/trees{/sha} hooks_url: https://api.github.com/repos/octocat/Hello-World/hooks headers: - Link: *68 + Link: *70 '404': *6 - '503': *120 + '503': *122 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -27600,7 +27860,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#get-code-security-configurations-for-an-organization parameters: - - *76 + - *78 - name: target_type in: query description: The target type of the code security configuration @@ -27706,7 +27966,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#create-a-code-security-configuration parameters: - - *76 + - *78 requestBody: required: true content: @@ -27950,7 +28210,7 @@ paths: application/json: schema: *49 examples: - default: *187 + default: *189 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -27972,15 +28232,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#get-default-code-security-configurations parameters: - - *76 + - *78 responses: '200': description: Response content: application/json: - schema: *188 + schema: *190 examples: - default: *189 + default: *191 '304': *37 '403': *29 '404': *6 @@ -28006,7 +28266,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#detach-configurations-from-repositories parameters: - - *76 + - *78 requestBody: required: true content: @@ -28014,6 +28274,8 @@ paths: schema: type: object additionalProperties: false + required: + - selected_repository_ids properties: selected_repository_ids: type: array @@ -28058,7 +28320,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#get-a-code-security-configuration parameters: - - *76 + - *78 - *51 responses: '200': @@ -28067,7 +28329,7 @@ paths: application/json: schema: *49 examples: - default: *187 + default: *189 '304': *37 '403': *29 '404': *6 @@ -28091,7 +28353,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#update-a-code-security-configuration parameters: - - *76 + - *78 - *51 requestBody: required: true @@ -28371,7 +28633,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#delete-a-code-security-configuration parameters: - - *76 + - *78 - *51 responses: '204': *61 @@ -28402,7 +28664,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#attach-a-configuration-to-repositories parameters: - - *76 + - *78 - *51 requestBody: required: true @@ -28466,7 +28728,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#set-a-code-security-configuration-as-a-default-for-an-organization parameters: - - *76 + - *78 - *51 requestBody: required: true @@ -28512,7 +28774,7 @@ paths: default: value: default_for_new_repos: all - configuration: *187 + configuration: *189 '403': *29 '404': *6 x-github: @@ -28536,7 +28798,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#get-repositories-associated-with-a-code-security-configuration parameters: - - *76 + - *78 - *51 - name: per_page description: The number of results per page (max 100). For more information, @@ -28565,13 +28827,13 @@ paths: application/json: schema: type: array - items: *190 + items: *192 examples: default: summary: Example of code security configuration repositories value: - status: attached - repository: *191 + repository: *193 '403': *29 '404': *6 x-github: @@ -28595,7 +28857,7 @@ paths: parameters: - *17 - *19 - - *76 + - *78 responses: '200': description: Response @@ -28611,7 +28873,7 @@ paths: type: integer codespaces: type: array - items: &247 + items: &249 type: object title: Codespace description: A codespace. @@ -28636,12 +28898,12 @@ paths: nullable: true owner: *4 billable_owner: *4 - repository: *159 + repository: *161 machine: type: object title: Codespace machine description: A description of the machine powering a codespace. - properties: &464 + properties: &466 name: type: string description: The name of the machine. @@ -28683,7 +28945,7 @@ paths: - ready - in_progress nullable: true - required: &465 + required: &467 - name - display_name - operating_system @@ -28888,7 +29150,7 @@ paths: - pulls_url - recent_folders examples: - default: &248 + default: &250 value: total_count: 3 codespaces: @@ -29320,7 +29582,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organizations#manage-access-control-for-organization-codespaces parameters: - - *76 + - *78 deprecated: true requestBody: required: true @@ -29387,7 +29649,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organizations#add-users-to-codespaces-access-for-an-organization parameters: - - *76 + - *78 deprecated: true requestBody: required: true @@ -29442,7 +29704,7 @@ paths: url: https://docs.github.com/rest/codespaces/organizations#remove-users-from-codespaces-access-for-an-organization deprecated: true parameters: - - *76 + - *78 requestBody: required: true content: @@ -29494,7 +29756,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organization-secrets#list-organization-secrets parameters: - - *76 + - *78 - *17 - *19 responses: @@ -29512,7 +29774,7 @@ paths: type: integer secrets: type: array - items: &192 + items: &194 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -29551,7 +29813,7 @@ paths: - updated_at - visibility examples: - default: &466 + default: &468 value: total_count: 2 secrets: @@ -29564,7 +29826,7 @@ paths: updated_at: '2020-01-11T11:59:22Z' visibility: all headers: - Link: *68 + Link: *70 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -29583,13 +29845,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organization-secrets#get-an-organization-public-key parameters: - - *76 + - *78 responses: '200': description: Response content: application/json: - schema: &467 + schema: &469 title: CodespacesPublicKey description: The public key used for setting Codespaces secrets. type: object @@ -29618,7 +29880,7 @@ paths: - key_id - key examples: - default: &468 + default: &470 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -29641,23 +29903,23 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organization-secrets#get-an-organization-secret parameters: - - *76 - - *167 + - *78 + - *169 responses: '200': description: Response content: application/json: - schema: *192 + schema: *194 examples: - default: &470 + default: &472 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' updated_at: '2020-01-10T14:59:22Z' visibility: all headers: - Link: *68 + Link: *70 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -29677,8 +29939,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organization-secrets#create-or-update-an-organization-secret parameters: - - *76 - - *167 + - *78 + - *169 requestBody: required: true content: @@ -29733,7 +29995,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *168 + schema: *170 examples: default: value: @@ -29759,8 +30021,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organization-secrets#delete-an-organization-secret parameters: - - *76 - - *167 + - *78 + - *169 responses: '204': description: Response @@ -29785,8 +30047,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organization-secrets#list-selected-repositories-for-an-organization-secret parameters: - - *76 - - *167 + - *78 + - *169 - *19 - *17 responses: @@ -29804,9 +30066,9 @@ paths: type: integer repositories: type: array - items: *159 + items: *161 examples: - default: *171 + default: *173 '404': *6 x-github: githubCloudOnly: false @@ -29828,8 +30090,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organization-secrets#set-selected-repositories-for-an-organization-secret parameters: - - *76 - - *167 + - *78 + - *169 requestBody: required: true content: @@ -29879,8 +30141,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organization-secrets#add-selected-repository-to-an-organization-secret parameters: - - *76 - - *167 + - *78 + - *169 - name: repository_id in: path required: true @@ -29913,8 +30175,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organization-secrets#remove-selected-repository-from-an-organization-secret parameters: - - *76 - - *167 + - *78 + - *169 - name: repository_id in: path required: true @@ -29953,7 +30215,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-user-management#get-copilot-seat-information-and-settings-for-an-organization parameters: - - *76 + - *78 responses: '200': description: OK @@ -30094,7 +30356,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-user-management#list-all-copilot-seat-assignments-for-an-organization parameters: - - *76 + - *78 - *19 - name: per_page description: The number of results per page (max 100). For more information, @@ -30117,7 +30379,7 @@ paths: currently being billed. seats: type: array - items: &250 + items: &252 title: Copilot Business Seat Detail description: Information about a Copilot Business seat assignment for a user, team, or organization. @@ -30134,15 +30396,15 @@ paths: title: Organization Simple description: A GitHub organization. type: object - properties: *193 - required: *194 + properties: *195 + required: *196 nullable: true assigning_team: description: The team through which the assignee is granted access to GitHub Copilot, if applicable. oneOf: - - *195 - - *69 + - *197 + - *71 nullable: true pending_cancellation_date: type: string @@ -30266,7 +30528,7 @@ paths: type: User site_admin: false headers: - Link: *68 + Link: *70 '500': *55 '401': *25 '403': *29 @@ -30300,7 +30562,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-user-management#add-teams-to-the-copilot-subscription-for-an-organization parameters: - - *76 + - *78 requestBody: content: application/json: @@ -30378,7 +30640,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-user-management#remove-teams-from-the-copilot-subscription-for-an-organization parameters: - - *76 + - *78 requestBody: content: application/json: @@ -30458,7 +30720,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-user-management#add-users-to-the-copilot-subscription-for-an-organization parameters: - - *76 + - *78 requestBody: content: application/json: @@ -30535,7 +30797,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-user-management#remove-users-from-the-copilot-subscription-for-an-organization parameters: - - *76 + - *78 requestBody: content: application/json: @@ -30613,7 +30875,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-coding-agent-management#get-copilot-coding-agent-permissions-for-an-organization parameters: - - *76 + - *78 responses: '200': description: Response @@ -30678,7 +30940,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-coding-agent-management#set-copilot-coding-agent-permissions-for-an-organization parameters: - - *76 + - *78 requestBody: required: true content: @@ -30733,7 +30995,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-coding-agent-management#list-repositories-enabled-for-copilot-coding-agent-in-an-organization parameters: - - *76 + - *78 - *17 - *19 responses: @@ -30748,12 +31010,12 @@ paths: type: integer repositories: type: array - items: *159 + items: *161 required: - total_count - repositories examples: - default: *196 + default: *198 '500': *55 '401': *25 '403': *29 @@ -30782,7 +31044,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-coding-agent-management#set-selected-repositories-for-copilot-coding-agent-in-an-organization parameters: - - *76 + - *78 requestBody: required: true content: @@ -30838,8 +31100,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-coding-agent-management#enable-a-repository-for-copilot-coding-agent-in-an-organization parameters: - - *76 - - *148 + - *78 + - *150 responses: '204': description: No Content @@ -30872,8 +31134,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-coding-agent-management#disable-a-repository-for-copilot-coding-agent-in-an-organization parameters: - - *76 - - *148 + - *78 + - *150 responses: '204': description: No Content @@ -30912,7 +31174,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-content-exclusion-management#get-copilot-content-exclusion-rules-for-an-organization parameters: - - *76 + - *78 responses: '200': description: OK @@ -30965,7 +31227,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-content-exclusion-management#set-copilot-content-exclusion-rules-for-an-organization parameters: - - *76 + - *78 requestBody: description: The content exclusion rules to set required: true @@ -31056,7 +31318,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-metrics#get-copilot-metrics-for-an-organization parameters: - - *76 + - *78 - name: since description: Show usage metrics since this date. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format (`YYYY-MM-DDTHH:MM:SSZ`). @@ -31088,7 +31350,7 @@ paths: application/json: schema: type: array - items: &335 + items: &337 title: Copilot Usage Metrics description: Copilot usage metrics for a given day. type: object @@ -31395,7 +31657,7 @@ paths: - date additionalProperties: true examples: - default: &336 + default: &338 value: - date: '2024-06-24' total_active_users: 24 @@ -31497,7 +31759,7 @@ paths: '500': *55 '403': *29 '404': *6 - '422': &337 + '422': &339 description: Copilot Usage Metrics API setting is disabled at the organization or enterprise level. content: @@ -31528,7 +31790,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-usage-metrics#get-copilot-organization-usage-metrics-for-a-specific-day parameters: - - *76 + - *78 - *56 responses: '200': @@ -31567,7 +31829,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-usage-metrics#get-copilot-organization-usage-metrics parameters: - - *76 + - *78 responses: '200': description: Response @@ -31604,7 +31866,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-usage-metrics#get-copilot-organization-users-usage-metrics-for-a-specific-day parameters: - - *76 + - *78 - *56 responses: '200': @@ -31643,7 +31905,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-usage-metrics#get-copilot-organization-users-usage-metrics parameters: - - *76 + - *78 responses: '200': description: Response @@ -31676,13 +31938,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#list-dependabot-alerts-for-an-organization parameters: - - *76 - - *197 - - *198 + - *78 - *199 - *200 - *201 - *202 + - *203 + - *204 - name: artifact_registry_url in: query description: A comma-separated list of artifact registry URLs. If specified, @@ -31712,7 +31974,7 @@ paths: enum: - patch - deployment - - *203 + - *205 - name: runtime_risk in: query description: |- @@ -31721,8 +31983,8 @@ paths: Can be: `critical-resource`, `internet-exposed`, `sensitive-data`, `lateral-movement` schema: type: string - - *204 - - *205 + - *206 + - *207 - *62 - *47 - *48 @@ -31734,9 +31996,9 @@ paths: application/json: schema: type: array - items: *206 + items: *208 examples: - default: *207 + default: *209 '304': *37 '400': *14 '403': *29 @@ -31762,7 +32024,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/repository-access#lists-the-repositories-dependabot-can-access-in-an-organization parameters: - - *76 + - *78 - name: page in: query description: The page number of results to fetch. @@ -31785,104 +32047,9 @@ paths: description: Response content: application/json: - schema: - title: Dependabot Repository Access Details - description: Information about repositories that Dependabot is able - to access in an organization - type: object - properties: - default_level: - type: string - description: The default repository access level for Dependabot - updates. - enum: - - public - - internal - example: internal - nullable: true - accessible_repositories: - type: array - items: - title: Simple Repository - description: A GitHub repository. - type: object - properties: *208 - required: *209 - nullable: true - additionalProperties: false + schema: *210 examples: - default: - value: - default_level: public - accessible_repositories: - - id: 123456 - node_id: MDEwOlJlcG9zaXRvcnkxMjM0NTY= - name: example-repo - full_name: octocat/example-repo - owner: - name: octocat - email: octo@github.com - login: octocat - id: 1 - node_id: MDQ6VXNlcjE= - avatar_url: https://avatars.githubusercontent.com/u/1?v=4 - gravatar_id: 1 - url: https://api.github.com/users/octocat - html_url: https://github.com/octocat/example-repo - followers_url: https://api.github.com/users/octocat/followers - following_url: https://api.github.com/users/octocat/following{/other_user} - gists_url: https://api.github.com/users/octocat/gists{/gist_id} - starred_url: https://api.github.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 - starred_at: '"2020-07-09T00:17:55Z"' - user_view_type: default - private: false - html_url: https://github.com/octocat/example-repo - description: This is an example repository. - fork: false - url: https://api.github.com/repos/octocat/example-repo - archive_url: https://api.github.com/repos/octocat/example-repo/{archive_format}{/ref} - assignees_url: https://api.github.com/repos/octocat/example-repo/assignees{/user} - blobs_url: https://api.github.com/repos/octocat/example-repo/git/blobs{/sha} - branches_url: https://api.github.com/repos/octocat/example-repo/branches{/branch} - collaborators_url: https://api.github.com/repos/octocat/example-repo/collaborators{/collaborator} - comments_url: https://api.github.com/repos/octocat/example-repo/comments{/number} - commits_url: https://api.github.com/repos/octocat/example-repo/commits{/sha} - compare_url: https://api.github.com/repos/octocat/example-repo/compare/{base}...{head} - contents_url: https://api.github.com/repos/octocat/example-repo/contents/{+path} - contributors_url: https://api.github.com/repos/octocat/example-repo/contributors - deployments_url: https://api.github.com/repos/octocat/example-repo/deployments - downloads_url: https://api.github.com/repos/octocat/example-repo/downloads - events_url: https://api.github.com/repos/octocat/example-repo/events - forks_url: https://api.github.com/repos/octocat/example-repo/forks - git_commits_url: https://api.github.com/repos/octocat/example-repo/git/commits{/sha} - git_refs_url: https://api.github.com/repos/octocat/example-repo/git/refs{/sha} - git_tags_url: https://api.github.com/repos/octocat/example-repo/git/tags{/sha} - issue_comment_url: https://api.github.com/repos/octocat/example-repo/issues/comments{/number} - issue_events_url: https://api.github.com/repos/octocat/example-repo/issues/events{/number} - issues_url: https://api.github.com/repos/octocat/example-repo/issues{/number} - keys_url: https://api.github.com/repos/octocat/example-repo/keys{/key_id} - labels_url: https://api.github.com/repos/octocat/example-repo/labels{/name} - languages_url: https://api.github.com/repos/octocat/example-repo/languages - merges_url: https://api.github.com/repos/octocat/example-repo/merges - milestones_url: https://api.github.com/repos/octocat/example-repo/milestones{/number} - notifications_url: https://api.github.com/repos/octocat/example-repo/notifications{?since,all,participating} - pulls_url: https://api.github.com/repos/octocat/example-repo/pulls{/number} - releases_url: https://api.github.com/repos/octocat/example-repo/releases{/id} - stargazers_url: https://api.github.com/repos/octocat/example-repo/stargazers - statuses_url: https://api.github.com/repos/octocat/example-repo/statuses/{sha} - subscribers_url: https://api.github.com/repos/octocat/example-repo/subscribers - subscription_url: https://api.github.com/repos/octocat/example-repo/subscription - tags_url: https://api.github.com/repos/octocat/example-repo/tags - teams_url: https://api.github.com/repos/octocat/example-repo/teams - trees_url: https://api.github.com/repos/octocat/example-repo/git/trees{/sha} - hooks_url: https://api.github.com/repos/octocat/example-repo/hooks + default: *211 '403': *29 '404': *6 x-github: @@ -31913,7 +32080,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/repository-access#updates-dependabots-repository-access-list-for-an-organization parameters: - - *76 + - *78 requestBody: required: true content: @@ -31979,7 +32146,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/repository-access#set-the-default-repository-access-level-for-dependabot parameters: - - *76 + - *78 requestBody: required: true content: @@ -32027,7 +32194,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#list-organization-secrets parameters: - - *76 + - *78 - *17 - *19 responses: @@ -32045,7 +32212,7 @@ paths: type: integer secrets: type: array - items: &210 + items: &212 title: Dependabot Secret for an Organization description: Secrets for GitHub Dependabot for an organization. type: object @@ -32095,7 +32262,7 @@ paths: visibility: selected selected_repositories_url: https://api.github.com/orgs/octo-org/dependabot/secrets/SUPER_SECRET/repositories headers: - Link: *68 + Link: *70 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -32116,13 +32283,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#get-an-organization-public-key parameters: - - *76 + - *78 responses: '200': description: Response content: application/json: - schema: &501 + schema: &503 title: DependabotPublicKey description: The public key used for setting Dependabot Secrets. type: object @@ -32139,7 +32306,7 @@ paths: - key_id - key examples: - default: &502 + default: &504 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -32162,14 +32329,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#get-an-organization-secret parameters: - - *76 - - *167 + - *78 + - *169 responses: '200': description: Response content: application/json: - schema: *210 + schema: *212 examples: default: value: @@ -32197,8 +32364,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#create-or-update-an-organization-secret parameters: - - *76 - - *167 + - *78 + - *169 requestBody: required: true content: @@ -32255,7 +32422,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *168 + schema: *170 examples: default: value: @@ -32279,8 +32446,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#delete-an-organization-secret parameters: - - *76 - - *167 + - *78 + - *169 responses: '204': description: Response @@ -32304,8 +32471,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#list-selected-repositories-for-an-organization-secret parameters: - - *76 - - *167 + - *78 + - *169 - *19 - *17 responses: @@ -32323,9 +32490,9 @@ paths: type: integer repositories: type: array - items: *159 + items: *161 examples: - default: *171 + default: *173 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -32346,8 +32513,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#set-selected-repositories-for-an-organization-secret parameters: - - *76 - - *167 + - *78 + - *169 requestBody: required: true content: @@ -32397,8 +32564,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#add-selected-repository-to-an-organization-secret parameters: - - *76 - - *167 + - *78 + - *169 - name: repository_id in: path required: true @@ -32429,8 +32596,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#remove-selected-repository-from-an-organization-secret parameters: - - *76 - - *167 + - *78 + - *169 - name: repository_id in: path required: true @@ -32460,7 +32627,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-list-of-conflicting-packages-during-docker-migration-for-organization parameters: - - *76 + - *78 responses: '200': description: Response @@ -32468,7 +32635,7 @@ paths: application/json: schema: type: array - items: &260 + items: &262 title: Package description: A software package type: object @@ -32518,8 +32685,8 @@ paths: title: Minimal Repository description: Minimal Repository type: object - properties: *211 - required: *212 + properties: *213 + required: *214 nullable: true created_at: type: string @@ -32538,7 +32705,7 @@ paths: - created_at - updated_at examples: - default: &261 + default: &263 value: - id: 197 name: hello_docker @@ -32616,7 +32783,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-public-organization-events parameters: - - *76 + - *78 - *17 - *19 responses: @@ -32626,7 +32793,7 @@ paths: application/json: schema: type: array - items: *112 + items: *114 examples: 200-response: value: @@ -32698,7 +32865,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#list-failed-organization-invitations parameters: - - *76 + - *78 - *17 - *19 responses: @@ -32708,7 +32875,7 @@ paths: application/json: schema: type: array - items: &236 + items: &238 title: Organization Invitation description: Organization Invitation type: object @@ -32755,7 +32922,7 @@ paths: - invitation_teams_url - node_id examples: - default: &237 + default: &239 value: - id: 1 login: monalisa @@ -32788,7 +32955,7 @@ paths: invitation_teams_url: https://api.github.com/organizations/2/invitations/1/teams invitation_source: member headers: - Link: *68 + Link: *70 '404': *6 x-github: githubCloudOnly: false @@ -32812,7 +32979,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#list-organization-webhooks parameters: - - *76 + - *78 - *17 - *19 responses: @@ -32822,7 +32989,7 @@ paths: application/json: schema: type: array - items: &213 + items: &215 title: Org Hook description: Org Hook type: object @@ -32910,7 +33077,7 @@ paths: created_at: '2011-09-06T17:26:27Z' type: Organization headers: - Link: *68 + Link: *70 '404': *6 x-github: githubCloudOnly: false @@ -32933,7 +33100,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#create-an-organization-webhook parameters: - - *76 + - *78 requestBody: required: true content: @@ -32993,9 +33160,9 @@ paths: description: Response content: application/json: - schema: *213 + schema: *215 examples: - default: &214 + default: &216 value: id: 1 url: https://api.github.com/orgs/octocat/hooks/1 @@ -33042,8 +33209,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#get-an-organization-webhook parameters: - - *76 - - &215 + - *78 + - &217 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. @@ -33056,9 +33223,9 @@ paths: description: Response content: application/json: - schema: *213 + schema: *215 examples: - default: *214 + default: *216 '404': *6 x-github: githubCloudOnly: false @@ -33085,8 +33252,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#update-an-organization-webhook parameters: - - *76 - - *215 + - *78 + - *217 requestBody: required: false content: @@ -33131,7 +33298,7 @@ paths: description: Response content: application/json: - schema: *213 + schema: *215 examples: default: value: @@ -33172,8 +33339,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#delete-an-organization-webhook parameters: - - *76 - - *215 + - *78 + - *217 responses: '204': description: Response @@ -33200,8 +33367,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#get-a-webhook-configuration-for-an-organization parameters: - - *76 - - *215 + - *78 + - *217 responses: '200': description: Response @@ -33231,8 +33398,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#update-a-webhook-configuration-for-an-organization parameters: - - *76 - - *215 + - *78 + - *217 requestBody: required: false content: @@ -33282,11 +33449,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#list-deliveries-for-an-organization-webhook parameters: - - *76 - - *215 - - *17 - - *216 + - *78 - *217 + - *17 + - *218 + - *219 responses: '200': description: Response @@ -33294,9 +33461,9 @@ paths: application/json: schema: type: array - items: *218 + items: *220 examples: - default: *219 + default: *221 '400': *14 '422': *15 x-github: @@ -33321,17 +33488,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#get-a-webhook-delivery-for-an-organization-webhook parameters: - - *76 - - *215 + - *78 + - *217 - *16 responses: '200': description: Response content: application/json: - schema: *220 + schema: *222 examples: - default: *221 + default: *223 '400': *14 '422': *15 x-github: @@ -33356,8 +33523,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#redeliver-a-delivery-for-an-organization-webhook parameters: - - *76 - - *215 + - *78 + - *217 - *16 responses: '202': *39 @@ -33386,8 +33553,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#ping-an-organization-webhook parameters: - - *76 - - *215 + - *78 + - *217 responses: '204': description: Response @@ -33409,8 +33576,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/api-insights#get-route-stats-by-actor parameters: - - *76 - - &226 + - *78 + - &228 name: actor_type in: path description: The type of the actor @@ -33423,14 +33590,14 @@ paths: - fine_grained_pat - oauth_app - github_app_user_to_server - - &227 + - &229 name: actor_id in: path description: The ID of the actor required: true schema: type: integer - - &222 + - &224 name: min_timestamp description: 'The minimum timestamp to query for stats. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`.' @@ -33438,7 +33605,7 @@ paths: required: true schema: type: string - - &223 + - &225 name: max_timestamp description: 'The maximum timestamp to query for stats. Defaults to the time 30 days ago. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) @@ -33531,13 +33698,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/api-insights#get-subject-stats parameters: - - *76 - - *222 - - *223 + - *78 + - *224 + - *225 - *19 - *17 - *62 - - &232 + - &234 name: sort description: The property to sort the results by. in: query @@ -33614,15 +33781,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/api-insights#get-summary-stats parameters: - - *76 - - *222 - - *223 + - *78 + - *224 + - *225 responses: '200': description: Response content: application/json: - schema: &224 + schema: &226 title: Summary Stats description: API Insights usage summary stats for an organization type: object @@ -33638,7 +33805,7 @@ paths: type: integer format: int64 examples: - default: &225 + default: &227 value: total_request_count: 34225 rate_limited_request_count: 23 @@ -33658,24 +33825,24 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/api-insights#get-summary-stats-by-user parameters: - - *76 - - &228 + - *78 + - &230 name: user_id in: path description: The ID of the user to query for stats required: true schema: type: string - - *222 - - *223 + - *224 + - *225 responses: '200': description: Response content: application/json: - schema: *224 + schema: *226 examples: - default: *225 + default: *227 x-github: enabledForGitHubApps: true category: orgs @@ -33693,19 +33860,19 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/api-insights#get-summary-stats-by-actor parameters: - - *76 - - *222 - - *223 - - *226 - - *227 + - *78 + - *224 + - *225 + - *228 + - *229 responses: '200': description: Response content: application/json: - schema: *224 + schema: *226 examples: - default: *225 + default: *227 x-github: enabledForGitHubApps: true category: orgs @@ -33722,10 +33889,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/api-insights#get-time-stats parameters: - - *76 - - *222 - - *223 - - &229 + - *78 + - *224 + - *225 + - &231 name: timestamp_increment description: The increment of time used to breakdown the query results (5m, 10m, 1h, etc.) @@ -33738,7 +33905,7 @@ paths: description: Response content: application/json: - schema: &230 + schema: &232 title: Time Stats description: API Insights usage time stats for an organization type: array @@ -33754,7 +33921,7 @@ paths: type: integer format: int64 examples: - default: &231 + default: &233 value: - timestamp: '2024-09-11T15:00:00Z' total_request_count: 34225 @@ -33790,19 +33957,19 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/api-insights#get-time-stats-by-user parameters: - - *76 - - *228 - - *222 - - *223 - - *229 + - *78 + - *230 + - *224 + - *225 + - *231 responses: '200': description: Response content: application/json: - schema: *230 + schema: *232 examples: - default: *231 + default: *233 x-github: enabledForGitHubApps: true category: orgs @@ -33819,20 +33986,20 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/api-insights#get-time-stats-by-actor parameters: - - *76 - - *226 - - *227 - - *222 - - *223 + - *78 + - *228 - *229 + - *224 + - *225 + - *231 responses: '200': description: Response content: application/json: - schema: *230 + schema: *232 examples: - default: *231 + default: *233 x-github: enabledForGitHubApps: true category: orgs @@ -33849,14 +34016,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/api-insights#get-user-stats parameters: - - *76 - - *228 - - *222 - - *223 + - *78 + - *230 + - *224 + - *225 - *19 - *17 - *62 - - *232 + - *234 - name: actor_name_substring in: query description: Providing a substring will filter results where the actor name @@ -33929,7 +34096,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/apps/apps#get-an-organization-installation-for-the-authenticated-app parameters: - - *76 + - *78 responses: '200': description: Response @@ -33937,7 +34104,7 @@ paths: application/json: schema: *22 examples: - default: &541 + default: &543 value: id: 1 account: @@ -34006,7 +34173,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#list-app-installations-for-an-organization parameters: - - *76 + - *78 - *17 - *19 responses: @@ -34076,7 +34243,7 @@ paths: suspended_at: suspended_by: headers: - Link: *68 + Link: *70 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -34095,7 +34262,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/orgs#get-interaction-restrictions-for-an-organization parameters: - - *76 + - *78 responses: '200': description: Response @@ -34103,12 +34270,12 @@ paths: application/json: schema: anyOf: - - &234 + - &236 title: Interaction Limits description: Interaction limit settings. type: object properties: - limit: &233 + limit: &235 type: string description: The type of GitHub user that can comment, open issues, or create pull requests while the interaction limit @@ -34133,7 +34300,7 @@ paths: properties: {} additionalProperties: false examples: - default: &235 + default: &237 value: limit: collaborators_only origin: organization @@ -34157,18 +34324,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/orgs#set-interaction-restrictions-for-an-organization parameters: - - *76 + - *78 requestBody: required: true content: application/json: - schema: &542 + schema: &544 title: Interaction Restrictions description: Limit interactions to a specific type of user for a specified duration type: object properties: - limit: *233 + limit: *235 expiry: type: string description: 'The duration of the interaction restriction. Default: @@ -34192,9 +34359,9 @@ paths: description: Response content: application/json: - schema: *234 + schema: *236 examples: - default: *235 + default: *237 '422': *15 x-github: githubCloudOnly: false @@ -34212,7 +34379,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/orgs#remove-interaction-restrictions-for-an-organization parameters: - - *76 + - *78 responses: '204': description: Response @@ -34236,7 +34403,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#list-pending-organization-invitations parameters: - - *76 + - *78 - *17 - *19 - name: role @@ -34270,11 +34437,11 @@ paths: application/json: schema: type: array - items: *236 + items: *238 examples: - default: *237 + default: *239 headers: - Link: *68 + Link: *70 '404': *6 x-github: githubCloudOnly: false @@ -34295,7 +34462,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#create-an-organization-invitation parameters: - - *76 + - *78 requestBody: required: false content: @@ -34349,7 +34516,7 @@ paths: description: Response content: application/json: - schema: *236 + schema: *238 examples: default: value: @@ -34403,8 +34570,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#cancel-an-organization-invitation parameters: - - *76 - - &238 + - *78 + - &240 name: invitation_id description: The unique identifier of the invitation. in: path @@ -34434,8 +34601,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#list-organization-invitation-teams parameters: - - *76 - - *238 + - *78 + - *240 - *17 - *19 responses: @@ -34445,9 +34612,9 @@ paths: application/json: schema: type: array - items: *195 + items: *197 examples: - default: &259 + default: &261 value: - id: 1 node_id: MDQ6VGVhbTE= @@ -34463,7 +34630,7 @@ paths: repositories_url: https://api.github.com/teams/1/repos parent: headers: - Link: *68 + Link: *70 '404': *6 x-github: githubCloudOnly: false @@ -34482,7 +34649,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/issue-fields#list-issue-fields-for-an-organization parameters: - - *76 + - *78 responses: '200': description: Response @@ -34490,7 +34657,7 @@ paths: application/json: schema: type: array - items: &239 + items: &241 title: Issue Field description: A custom attribute defined at the organization level for attaching structured data to issues. @@ -34633,7 +34800,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/issue-fields#create-issue-field-for-an-organization parameters: - - *76 + - *78 requestBody: required: true content: @@ -34723,9 +34890,9 @@ paths: description: Response content: application/json: - schema: *239 + schema: *241 examples: - default: &240 + default: &242 value: id: 512 node_id: IF_kwDNAd3NAZr @@ -34780,8 +34947,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/issue-fields#update-issue-field-for-an-organization parameters: - - *76 - - &241 + - *78 + - &243 name: issue_field_id description: The unique identifier of the issue field. in: path @@ -34889,9 +35056,9 @@ paths: description: Response content: application/json: - schema: *239 + schema: *241 examples: - default: *240 + default: *242 '404': *6 '422': *7 x-github: @@ -34915,8 +35082,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/issue-fields#delete-issue-field-for-an-organization parameters: - - *76 - - *241 + - *78 + - *243 responses: '204': *61 '404': *6 @@ -34938,7 +35105,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/issue-types#list-issue-types-for-an-organization parameters: - - *76 + - *78 responses: '200': description: Response @@ -34946,7 +35113,7 @@ paths: application/json: schema: type: array - items: *242 + items: *244 examples: default: value: @@ -34984,7 +35151,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/issue-types#create-issue-type-for-an-organization parameters: - - *76 + - *78 requestBody: required: true content: @@ -35031,9 +35198,9 @@ paths: description: Response content: application/json: - schema: *242 + schema: *244 examples: - default: &243 + default: &245 value: id: 410 node_id: IT_kwDNAd3NAZo @@ -35065,8 +35232,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/issue-types#update-issue-type-for-an-organization parameters: - - *76 - - &244 + - *78 + - &246 name: issue_type_id description: The unique identifier of the issue type. in: path @@ -35119,9 +35286,9 @@ paths: description: Response content: application/json: - schema: *242 + schema: *244 examples: - default: *243 + default: *245 '404': *6 '422': *7 x-github: @@ -35145,8 +35312,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/issue-types#delete-issue-type-for-an-organization parameters: - - *76 - - *244 + - *78 + - *246 responses: '204': description: Response @@ -35179,7 +35346,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#list-organization-issues-assigned-to-the-authenticated-user parameters: - - *76 + - *78 - name: filter description: Indicates which sorts of issues to return. `assigned` means issues assigned to you. `created` means issues created by you. `mentioned` means @@ -35209,7 +35376,7 @@ paths: - closed - all default: open - - *245 + - *247 - name: type description: Can be the name of an issue type. in: query @@ -35228,7 +35395,7 @@ paths: - comments default: created - *62 - - *93 + - *95 - *17 - *19 responses: @@ -35238,11 +35405,11 @@ paths: application/json: schema: type: array - items: *86 + items: *88 examples: - default: *246 + default: *248 headers: - Link: *68 + Link: *70 '404': *6 x-github: githubCloudOnly: false @@ -35262,7 +35429,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#list-organization-members parameters: - - *76 + - *78 - name: filter description: Filter members returned in the list. `2fa_disabled` means that only members without [two-factor authentication](https://github.com/blog/1614-two-factor-authentication) @@ -35300,9 +35467,9 @@ paths: type: array items: *4 examples: - default: *71 + default: *73 headers: - Link: *68 + Link: *70 '422': *15 x-github: githubCloudOnly: false @@ -35320,8 +35487,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#check-organization-membership-for-a-user parameters: - - *76 - - *72 + - *78 + - *74 responses: '204': description: Response if requester is an organization member and user is @@ -35355,8 +35522,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#remove-an-organization-member parameters: - - *76 - - *72 + - *78 + - *74 responses: '204': description: Response @@ -35382,8 +35549,8 @@ paths: parameters: - *17 - *19 - - *76 - - *72 + - *78 + - *74 responses: '200': description: Response @@ -35399,9 +35566,9 @@ paths: type: integer codespaces: type: array - items: *247 + items: *249 examples: - default: *248 + default: *250 '304': *37 '500': *55 '401': *25 @@ -35426,9 +35593,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organizations#delete-a-codespace-from-the-organization parameters: - - *76 - - *72 - - &249 + - *78 + - *74 + - &251 name: codespace_name in: path required: true @@ -35461,17 +35628,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organizations#stop-a-codespace-for-an-organization-user parameters: - - *76 - - *72 - - *249 + - *78 + - *74 + - *251 responses: '200': description: Response content: application/json: - schema: *247 + schema: *249 examples: - default: &463 + default: &465 value: id: 1 name: monalisa-octocat-hello-world-g4wpq6h95q @@ -35644,14 +35811,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-user-management#get-copilot-seat-assignment-details-for-a-user parameters: - - *76 - - *72 + - *78 + - *74 responses: '200': description: The user's GitHub Copilot seat details, including usage. content: application/json: - schema: *250 + schema: *252 examples: default: value: @@ -35720,14 +35887,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#get-organization-membership-for-a-user parameters: - - *76 - - *72 + - *78 + - *74 responses: '200': description: Response content: application/json: - schema: &251 + schema: &253 title: Org Membership description: Org Membership type: object @@ -35771,7 +35938,7 @@ paths: type: string format: uri example: https://api.github.com/orgs/octocat - organization: *74 + organization: *76 user: title: Simple User description: A GitHub user. @@ -35794,7 +35961,7 @@ paths: - organization - user examples: - response-if-user-has-an-active-admin-membership-with-organization: &252 + response-if-user-has-an-active-admin-membership-with-organization: &254 summary: Response if user has an active admin membership with organization value: url: https://api.github.com/orgs/octocat/memberships/defunkt @@ -35866,8 +36033,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#set-organization-membership-for-a-user parameters: - - *76 - - *72 + - *78 + - *74 requestBody: required: false content: @@ -35895,9 +36062,9 @@ paths: description: Response content: application/json: - schema: *251 + schema: *253 examples: - response-if-user-already-had-membership-with-organization: *252 + response-if-user-already-had-membership-with-organization: *254 '422': *15 '403': *29 x-github: @@ -35921,8 +36088,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#remove-organization-membership-for-a-user parameters: - - *76 - - *72 + - *78 + - *74 responses: '204': description: Response @@ -35947,7 +36114,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/orgs#list-organization-migrations parameters: - - *76 + - *78 - *17 - *19 - name: exclude @@ -35968,7 +36135,7 @@ paths: application/json: schema: type: array - items: &253 + items: &255 title: Migration description: A migration. type: object @@ -36009,7 +36176,7 @@ paths: type: array description: The repositories included in the migration. Only returned for export migrations. - items: *80 + items: *82 url: type: string format: uri @@ -36205,7 +36372,7 @@ paths: updated_at: '2015-07-06T15:33:38-07:00' node_id: MDQ6VXNlcjE= headers: - Link: *68 + Link: *70 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -36221,7 +36388,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/orgs#start-an-organization-migration parameters: - - *76 + - *78 requestBody: required: true content: @@ -36297,7 +36464,7 @@ paths: description: Response content: application/json: - schema: *253 + schema: *255 examples: default: value: @@ -36475,8 +36642,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/orgs#get-an-organization-migration-status parameters: - - *76 - - &254 + - *78 + - &256 name: migration_id description: The unique identifier of the migration. in: path @@ -36503,7 +36670,7 @@ paths: * `failed`, which means the migration failed. content: application/json: - schema: *253 + schema: *255 examples: default: value: @@ -36672,8 +36839,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/orgs#download-an-organization-migration-archive parameters: - - *76 - - *254 + - *78 + - *256 responses: '302': description: Response @@ -36694,8 +36861,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/orgs#delete-an-organization-migration-archive parameters: - - *76 - - *254 + - *78 + - *256 responses: '204': description: Response @@ -36718,9 +36885,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/orgs#unlock-an-organization-repository parameters: - - *76 - - *254 - - &698 + - *78 + - *256 + - &700 name: repo_name description: repo_name parameter in: path @@ -36747,8 +36914,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/orgs#list-repositories-in-an-organization-migration parameters: - - *76 - - *254 + - *78 + - *256 - *17 - *19 responses: @@ -36758,9 +36925,9 @@ paths: application/json: schema: type: array - items: *159 + items: *161 examples: - default: &266 + default: &268 value: - id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -36873,7 +37040,7 @@ paths: secret_scanning_delegated_alert_dismissal: status: disabled headers: - Link: *68 + Link: *70 '404': *6 x-github: githubCloudOnly: false @@ -36899,7 +37066,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#get-all-organization-roles-for-an-organization parameters: - - *76 + - *78 responses: '200': description: Response - list of organization roles @@ -36915,7 +37082,7 @@ paths: roles: type: array description: The list of organization roles available to the organization. - items: &256 + items: &258 title: Organization Role description: Organization roles type: object @@ -37062,8 +37229,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#remove-all-organization-roles-for-a-team parameters: - - *76 - *78 + - *80 responses: '204': description: Response @@ -37088,9 +37255,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#assign-an-organization-role-to-a-team parameters: - - *76 - *78 - - &255 + - *80 + - &257 name: role_id description: The unique identifier of the role. in: path @@ -37125,9 +37292,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#remove-an-organization-role-from-a-team parameters: - - *76 - *78 - - *255 + - *80 + - *257 responses: '204': description: Response @@ -37152,8 +37319,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#remove-all-organization-roles-for-a-user parameters: - - *76 - - *72 + - *78 + - *74 responses: '204': description: Response @@ -37178,9 +37345,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#assign-an-organization-role-to-a-user parameters: - - *76 - - *72 - - *255 + - *78 + - *74 + - *257 responses: '204': description: Response @@ -37210,9 +37377,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#remove-an-organization-role-from-a-user parameters: - - *76 - - *72 - - *255 + - *78 + - *74 + - *257 responses: '204': description: Response @@ -37240,14 +37407,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#get-an-organization-role parameters: - - *76 - - *255 + - *78 + - *257 responses: '200': description: Response content: application/json: - schema: *256 + schema: *258 examples: default: value: @@ -37297,8 +37464,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#list-teams-that-are-assigned-to-an-organization-role parameters: - - *76 - - *255 + - *78 + - *257 - *17 - *19 responses: @@ -37376,8 +37543,8 @@ paths: description: Groups of organization members that gives permissions on specified repositories. type: object - properties: *257 - required: *258 + properties: *259 + required: *260 nullable: true type: description: The ownership type of the team @@ -37409,9 +37576,9 @@ paths: - type - parent examples: - default: *259 + default: *261 headers: - Link: *68 + Link: *70 '404': description: Response if the organization or role does not exist. '422': @@ -37438,8 +37605,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#list-users-that-are-assigned-to-an-organization-role parameters: - - *76 - - *255 + - *78 + - *257 - *17 - *19 responses: @@ -37467,13 +37634,13 @@ paths: inherited_from: description: Team the user has gotten the role through type: array - items: &331 + items: &333 title: Team Simple description: Groups of organization members that gives permissions on specified repositories. type: object - properties: *257 - required: *258 + properties: *259 + required: *260 name: nullable: true type: string @@ -37568,9 +37735,9 @@ paths: - type - url examples: - default: *71 + default: *73 headers: - Link: *68 + Link: *70 '404': description: Response if the organization or role does not exist. '422': @@ -37592,7 +37759,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/outside-collaborators#list-outside-collaborators-for-an-organization parameters: - - *76 + - *78 - name: filter description: Filter the list of outside collaborators. `2fa_disabled` means that only outside collaborators without [two-factor authentication](https://github.com/blog/1614-two-factor-authentication) @@ -37619,9 +37786,9 @@ paths: type: array items: *4 examples: - default: *71 + default: *73 headers: - Link: *68 + Link: *70 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -37644,8 +37811,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/outside-collaborators#convert-an-organization-member-to-outside-collaborator parameters: - - *76 - - *72 + - *78 + - *74 requestBody: required: false content: @@ -37702,8 +37869,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/outside-collaborators#remove-outside-collaborator-from-an-organization parameters: - - *76 - - *72 + - *78 + - *74 responses: '204': description: Response @@ -37760,8 +37927,8 @@ paths: - docker - nuget - container - - *76 - - &699 + - *78 + - &701 name: visibility description: |- The selected visibility of the packages. This parameter is optional and only filters an existing result set. @@ -37797,12 +37964,12 @@ paths: application/json: schema: type: array - items: *260 + items: *262 examples: - default: *261 + default: *263 '403': *29 '401': *25 - '400': &701 + '400': &703 description: The value of `per_page` multiplied by `page` cannot be greater than 10000. x-github: @@ -37824,7 +37991,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-for-an-organization parameters: - - &262 + - &264 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 @@ -37842,20 +38009,20 @@ paths: - docker - nuget - container - - &263 + - &265 name: package_name description: The name of the package. in: path required: true schema: type: string - - *76 + - *78 responses: '200': description: Response content: application/json: - schema: *260 + schema: *262 examples: default: value: @@ -37907,9 +38074,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-a-package-for-an-organization parameters: - - *262 - - *263 - - *76 + - *264 + - *265 + - *78 responses: '204': description: Response @@ -37941,9 +38108,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-a-package-for-an-organization parameters: - - *262 - - *263 - - *76 + - *264 + - *265 + - *78 - name: token description: package token schema: @@ -37975,9 +38142,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#list-package-versions-for-a-package-owned-by-an-organization parameters: - - *262 - - *263 - - *76 + - *264 + - *265 + - *78 - *19 - *17 - name: state @@ -37997,7 +38164,7 @@ paths: application/json: schema: type: array - items: &264 + items: &266 title: Package Version description: A version of a software package type: object @@ -38122,10 +38289,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-version-for-an-organization parameters: - - *262 - - *263 - - *76 - - &265 + - *264 + - *265 + - *78 + - &267 name: package_version_id description: Unique identifier of the package version. in: path @@ -38137,7 +38304,7 @@ paths: description: Response content: application/json: - schema: *264 + schema: *266 examples: default: value: @@ -38173,10 +38340,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-package-version-for-an-organization parameters: - - *262 - - *263 - - *76 + - *264 - *265 + - *78 + - *267 responses: '204': description: Response @@ -38208,10 +38375,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-package-version-for-an-organization parameters: - - *262 - - *263 - - *76 + - *264 - *265 + - *78 + - *267 responses: '204': description: Response @@ -38238,10 +38405,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/personal-access-tokens#list-requests-to-access-organization-resources-with-fine-grained-personal-access-tokens parameters: - - *76 + - *78 - *17 - *19 - - &267 + - &269 name: sort description: The property by which to sort the results. in: query @@ -38252,7 +38419,7 @@ paths: - created_at default: created_at - *62 - - &268 + - &270 name: owner description: A list of owner usernames to use to filter the results. in: query @@ -38263,7 +38430,7 @@ paths: items: type: string example: owner[]=octocat1,owner[]=octocat2 - - &269 + - &271 name: repository description: The name of the repository to use to filter the results. in: query @@ -38271,7 +38438,7 @@ paths: schema: type: string example: Hello-World - - &270 + - &272 name: permission description: The permission to use to filter the results. in: query @@ -38279,7 +38446,7 @@ paths: schema: type: string example: issues_read - - &271 + - &273 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) @@ -38289,7 +38456,7 @@ paths: schema: type: string format: date-time - - &272 + - &274 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) @@ -38299,7 +38466,7 @@ paths: schema: type: string format: date-time - - &273 + - &275 name: token_id description: The ID of the token in: query @@ -38443,7 +38610,7 @@ paths: token_expires_at: '2023-11-16T08:47:09.000-07:00' token_last_used_at: headers: - Link: *68 + Link: *70 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -38463,7 +38630,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/personal-access-tokens#review-requests-to-access-organization-resources-with-fine-grained-personal-access-tokens parameters: - - *76 + - *78 requestBody: required: true content: @@ -38529,7 +38696,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/personal-access-tokens#review-a-request-to-access-organization-resources-with-a-fine-grained-personal-access-token parameters: - - *76 + - *78 - name: pat_request_id in: path description: Unique identifier of the request for access via fine-grained @@ -38590,7 +38757,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/personal-access-tokens#list-repositories-requested-to-be-accessed-by-a-fine-grained-personal-access-token parameters: - - *76 + - *78 - name: pat_request_id in: path description: Unique identifier of the request for access via fine-grained @@ -38610,11 +38777,11 @@ paths: application/json: schema: type: array - items: *159 + items: *161 examples: - default: *266 + default: *268 headers: - Link: *68 + Link: *70 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -38635,17 +38802,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/personal-access-tokens#list-fine-grained-personal-access-tokens-with-access-to-organization-resources parameters: - - *76 + - *78 - *17 - *19 - - *267 - - *62 - - *268 - *269 + - *62 - *270 - *271 - *272 - *273 + - *274 + - *275 responses: '500': *55 '422': *15 @@ -38774,7 +38941,7 @@ paths: token_expires_at: '2023-11-16T08:47:09.000-07:00' token_last_used_at: headers: - Link: *68 + Link: *70 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -38794,7 +38961,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/personal-access-tokens#update-the-access-to-organization-resources-via-fine-grained-personal-access-tokens parameters: - - *76 + - *78 requestBody: required: true content: @@ -38854,7 +39021,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/personal-access-tokens#update-the-access-a-fine-grained-personal-access-token-has-to-organization-resources parameters: - - *76 + - *78 - name: pat_id description: The unique identifier of the fine-grained personal access token. in: path @@ -38906,7 +39073,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/personal-access-tokens#list-repositories-a-fine-grained-personal-access-token-has-access-to parameters: - - *76 + - *78 - name: pat_id in: path description: Unique identifier of the fine-grained personal access token. @@ -38925,11 +39092,11 @@ paths: application/json: schema: type: array - items: *159 + items: *161 examples: - default: *266 + default: *268 headers: - Link: *68 + Link: *70 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -38951,7 +39118,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/private-registries/organization-configurations#list-private-registries-for-an-organization parameters: - - *76 + - *78 - *17 - *19 responses: @@ -38969,7 +39136,7 @@ paths: type: integer configurations: type: array - items: &274 + items: &276 title: Organization private registry description: Private registry configuration for an organization type: object @@ -39098,7 +39265,7 @@ paths: updated_at: '2020-01-10T14:59:22Z' visibility: selected headers: - Link: *68 + Link: *70 '400': *14 '404': *6 x-github: @@ -39121,7 +39288,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/private-registries/organization-configurations#create-a-private-registry-for-an-organization parameters: - - *76 + - *78 requestBody: required: true content: @@ -39440,7 +39607,7 @@ paths: - created_at - updated_at examples: - org-private-registry-with-selected-visibility: &275 + org-private-registry-with-selected-visibility: &277 value: name: MAVEN_REPOSITORY_SECRET registry_type: maven_repository @@ -39481,7 +39648,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/private-registries/organization-configurations#get-private-registries-public-key-for-an-organization parameters: - - *76 + - *78 responses: '200': description: Response @@ -39507,7 +39674,7 @@ paths: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 headers: - Link: *68 + Link: *70 '404': *6 x-github: githubCloudOnly: false @@ -39529,16 +39696,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/private-registries/organization-configurations#get-a-private-registry-for-an-organization parameters: - - *76 - - *167 + - *78 + - *169 responses: '200': description: The specified private registry configuration for the organization content: application/json: - schema: *274 + schema: *276 examples: - default: *275 + default: *277 '404': *6 x-github: githubCloudOnly: false @@ -39560,8 +39727,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/private-registries/organization-configurations#update-a-private-registry-for-an-organization parameters: - - *76 - - *167 + - *78 + - *169 requestBody: required: true content: @@ -39737,8 +39904,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/private-registries/organization-configurations#delete-a-private-registry-for-an-organization parameters: - - *76 - - *167 + - *78 + - *169 responses: '204': description: Response @@ -39761,7 +39928,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/projects#list-projects-for-organization parameters: - - *76 + - *78 - name: q description: Limit results to projects of the specified type. in: query @@ -39778,7 +39945,7 @@ paths: application/json: schema: type: array - items: &276 + items: &278 title: Projects v2 Project description: A projects v2 project type: object @@ -39848,7 +40015,7 @@ paths: title: Projects v2 Status Update description: An status update belonging to a project type: object - properties: &789 + properties: &791 id: type: number description: The unique identifier of the status update. @@ -39896,7 +40063,7 @@ paths: example: The project is off to a great start! type: string nullable: true - required: &790 + required: &792 - id - node_id - created_at @@ -39921,7 +40088,7 @@ paths: - deleted_at - deleted_by examples: - default: &277 + default: &279 value: id: 2 node_id: MDc6UHJvamVjdDEwMDI2MDM= @@ -40004,7 +40171,7 @@ paths: updated_at: '2025-07-11T16:19:28Z' is_template: true headers: - Link: *68 + Link: *70 '304': *37 '403': *29 '401': *25 @@ -40024,24 +40191,24 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/projects#get-project-for-organization parameters: - - &278 + - &280 name: project_number description: The project's number. in: path required: true schema: type: integer - - *76 + - *78 responses: '200': description: Response content: application/json: - schema: *276 + schema: *278 examples: - default: *277 + default: *279 headers: - Link: *68 + Link: *70 '304': *37 '403': *29 '401': *25 @@ -40061,8 +40228,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/drafts#create-draft-item-for-organization-owned-project parameters: - - *76 - - *278 + - *78 + - *280 requestBody: required: true description: Details of the draft item to create in the project. @@ -40096,7 +40263,7 @@ paths: description: Response content: application/json: - schema: &284 + schema: &286 title: Projects v2 Item description: An item belonging to a project type: object @@ -40109,8 +40276,8 @@ paths: description: The node ID of the project item. content: oneOf: - - *86 - - &480 + - *88 + - &482 title: Pull Request Simple description: Pull Request Simple type: object @@ -40216,8 +40383,8 @@ paths: title: Milestone description: A collection of related issues and pull requests. type: object - properties: *279 - required: *280 + properties: *281 + required: *282 nullable: true active_lock_reason: type: string @@ -40260,7 +40427,7 @@ paths: items: *4 requested_teams: type: array - items: *195 + items: *197 head: type: object properties: @@ -40268,7 +40435,7 @@ paths: type: string ref: type: string - repo: *80 + repo: *82 sha: type: string user: @@ -40291,7 +40458,7 @@ paths: type: string ref: type: string - repo: *80 + repo: *82 sha: type: string user: @@ -40310,7 +40477,7 @@ paths: _links: type: object properties: - comments: &281 + comments: &283 title: Link description: Hypermedia Link type: object @@ -40319,13 +40486,13 @@ paths: type: string required: - href - commits: *281 - statuses: *281 - html: *281 - issue: *281 - review_comments: *281 - review_comment: *281 - self: *281 + commits: *283 + statuses: *283 + html: *283 + issue: *283 + review_comments: *283 + review_comment: *283 + self: *283 required: - comments - commits @@ -40335,8 +40502,8 @@ paths: - review_comments - review_comment - self - author_association: *83 - auto_merge: &593 + author_association: *85 + auto_merge: &595 title: Auto merge description: The status of auto merging a pull request. type: object @@ -40438,7 +40605,7 @@ paths: - created_at - updated_at description: The content represented by the item. - content_type: &283 + content_type: &285 title: Projects v2 Item Content Type description: The type of content tracked in a project item type: string @@ -40478,7 +40645,7 @@ paths: - updated_at - archived_at examples: - draft_issue: &285 + draft_issue: &287 value: id: 17 node_id: PVTI_lADOANN5s84ACbL0zgBueEI @@ -40552,8 +40719,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/fields#list-project-fields-for-organization parameters: - - *278 - - *76 + - *280 + - *78 - *17 - *47 - *48 @@ -40564,7 +40731,7 @@ paths: application/json: schema: type: array - items: &282 + items: &284 title: Projects v2 Field description: A field inside a projects v2 project type: object @@ -40714,7 +40881,7 @@ paths: - updated_at - project_url examples: - default: &720 + default: &722 value: - id: 12345 node_id: PVTF_lADOABCD1234567890 @@ -40825,7 +40992,7 @@ paths: created_at: '2022-06-20T16:45:00Z' updated_at: '2022-06-20T16:45:00Z' headers: - Link: *68 + Link: *70 '304': *37 '403': *29 '401': *25 @@ -40844,8 +41011,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/fields#add-a-field-to-an-organization-owned-project parameters: - - *278 - - *76 + - *280 + - *78 requestBody: required: true content: @@ -40891,7 +41058,7 @@ paths: description: The options available for single select fields. At least one option must be provided when creating a single select field. - items: &721 + items: &723 type: object properties: name: @@ -40928,7 +41095,7 @@ paths: description: The field's data type. enum: - iteration - iteration_configuration: &722 + iteration_configuration: &724 type: object description: The configuration for iteration fields. properties: @@ -40978,7 +41145,7 @@ paths: value: name: Due date data_type: date - single_select_field: &723 + single_select_field: &725 summary: Create a single select field value: name: Priority @@ -41005,7 +41172,7 @@ paths: description: raw: High priority items html: High priority items - iteration_field: &724 + iteration_field: &726 summary: Create an iteration field value: name: Sprint @@ -41029,9 +41196,9 @@ paths: description: Response for adding a field to an organization-owned project. content: application/json: - schema: *282 + schema: *284 examples: - text_field: &725 + text_field: &727 value: id: 24680 node_id: PVTF_lADOABCD2468024680 @@ -41040,7 +41207,7 @@ paths: project_url: https://api.github.com/projects/67890 created_at: '2022-05-15T08:00:00Z' updated_at: '2022-05-15T08:00:00Z' - number_field: &726 + number_field: &728 value: id: 13579 node_id: PVTF_lADOABCD1357913579 @@ -41049,7 +41216,7 @@ paths: project_url: https://api.github.com/projects/67890 created_at: '2022-06-01T14:30:00Z' updated_at: '2022-06-01T14:30:00Z' - date_field: &727 + date_field: &729 value: id: 98765 node_id: PVTF_lADOABCD9876598765 @@ -41058,7 +41225,7 @@ paths: project_url: https://api.github.com/projects/67890 created_at: '2022-06-10T09:15:00Z' updated_at: '2022-06-10T09:15:00Z' - single_select_field: &728 + single_select_field: &730 value: id: 12345 node_id: PVTF_lADOABCD1234567890 @@ -41092,7 +41259,7 @@ paths: raw: High priority items created_at: '2022-04-28T12:00:00Z' updated_at: '2022-04-28T12:00:00Z' - iteration_field: &729 + iteration_field: &731 value: id: 11223 node_id: PVTF_lADOABCD1122311223 @@ -41137,23 +41304,23 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/fields#get-project-field-for-organization parameters: - - *278 - - &730 + - *280 + - &732 name: field_id description: The unique identifier of the field. in: path required: true schema: type: integer - - *76 + - *78 responses: '200': description: Response content: application/json: - schema: *282 + schema: *284 examples: - default: &731 + default: &733 value: id: 12345 node_id: PVTF_lADOABCD1234567890 @@ -41188,7 +41355,7 @@ paths: created_at: '2022-04-28T12:00:00Z' updated_at: '2022-04-28T12:00:00Z' headers: - Link: *68 + Link: *70 '304': *37 '403': *29 '401': *25 @@ -41209,8 +41376,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#list-items-for-an-organization-owned-project parameters: - - *278 - - *76 + - *280 + - *78 - name: q description: Search query to filter items, see [Filtering projects](https://docs.github.com/issues/planning-and-tracking-with-projects/customizing-views-in-your-project/filtering-projects) for more information. @@ -41242,7 +41409,7 @@ paths: application/json: schema: type: array - items: &286 + items: &288 title: Projects v2 Item description: An item belonging to a project type: object @@ -41258,7 +41425,7 @@ paths: format: uri example: https://api.github.com/users/monalisa/2/projectsV2/3 description: The API URL of the project that contains this item. - content_type: *283 + content_type: *285 content: type: object additionalProperties: true @@ -41301,7 +41468,7 @@ paths: - updated_at - archived_at examples: - default: &287 + default: &289 value: id: 13 node_id: PVTI_lAAFAQ0 @@ -41978,7 +42145,7 @@ paths: data_type: sub_issues_progress value: headers: - Link: *68 + Link: *70 '304': *37 '403': *29 '401': *25 @@ -41998,8 +42165,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#add-item-to-organization-owned-project parameters: - - *76 - - *278 + - *78 + - *280 requestBody: required: true description: Details of the item to add to the project. You can specify either @@ -42069,22 +42236,22 @@ paths: description: Response content: application/json: - schema: *284 + schema: *286 examples: issue_with_id: summary: Response for adding an issue using its unique ID - value: *285 + value: *287 pull_request_with_id: summary: Response for adding a pull request using its unique ID - value: *285 + value: *287 issue_with_nwo: summary: Response for adding an issue using repository owner, name, and issue number - value: *285 + value: *287 pull_request_with_nwo: summary: Response for adding a pull request using repository owner, name, and PR number - value: *285 + value: *287 '304': *37 '403': *29 '401': *25 @@ -42104,9 +42271,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#get-an-item-for-an-organization-owned-project parameters: - - *278 - - *76 - - &288 + - *280 + - *78 + - &290 name: item_id description: The unique identifier of the project item. in: path @@ -42132,11 +42299,11 @@ paths: description: Response content: application/json: - schema: *286 + schema: *288 examples: - default: *287 + default: *289 headers: - Link: *68 + Link: *70 '304': *37 '403': *29 '401': *25 @@ -42155,9 +42322,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#update-project-item-for-organization parameters: - - *278 - - *76 - - *288 + - *280 + - *78 + - *290 requestBody: required: true description: Field updates to apply to the project item. Only text, number, @@ -42227,13 +42394,13 @@ paths: description: Response content: application/json: - schema: *286 + schema: *288 examples: - text_field: *287 - number_field: *287 - date_field: *287 - single_select_field: *287 - iteration_field: *287 + text_field: *289 + number_field: *289 + date_field: *289 + single_select_field: *289 + iteration_field: *289 '401': *25 '403': *29 '404': *6 @@ -42253,9 +42420,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#delete-project-item-for-organization parameters: - - *278 - - *76 - - *288 + - *280 + - *78 + - *290 responses: '204': description: Response @@ -42278,8 +42445,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/views#create-a-view-for-an-organization-owned-project parameters: - - *76 - - *278 + - *78 + - *280 requestBody: required: true content: @@ -42350,7 +42517,7 @@ paths: description: Response for creating a view in an organization-owned project. content: application/json: - schema: &712 + schema: &714 title: Projects v2 View description: A view inside a projects v2 project type: object @@ -42448,7 +42615,7 @@ paths: examples: table_view: summary: Response for creating a table view - value: &289 + value: &291 value: id: 1 number: 1 @@ -42494,10 +42661,10 @@ paths: - 456 board_view: summary: Response for creating a board view with filter - value: *289 + value: *291 roadmap_view: summary: Response for creating a roadmap view - value: *289 + value: *291 '304': *37 '403': *29 '401': *25 @@ -42525,9 +42692,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#list-items-for-an-organization-project-view parameters: - - *278 - - *76 - - &732 + - *280 + - *78 + - &734 name: view_number description: The number that identifies the project view. in: path @@ -42559,11 +42726,11 @@ paths: application/json: schema: type: array - items: *286 + items: *288 examples: - default: *287 + default: *289 headers: - Link: *68 + Link: *70 '304': *37 '403': *29 '401': *25 @@ -42586,7 +42753,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/custom-properties#get-all-custom-properties-for-an-organization parameters: - - *76 + - *78 responses: '200': description: Response @@ -42594,7 +42761,7 @@ paths: application/json: schema: type: array - items: &290 + items: &292 title: Organization Custom Property description: Custom property defined on an organization type: object @@ -42662,7 +42829,7 @@ paths: - property_name - value_type examples: - default: &291 + default: &293 value: - property_name: environment url: https://api.github.com/orgs/github/properties/schema/environment @@ -42711,7 +42878,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/custom-properties#create-or-update-custom-properties-for-an-organization parameters: - - *76 + - *78 requestBody: required: true content: @@ -42722,7 +42889,7 @@ paths: properties: type: array description: The array of custom properties to create or update. - items: *290 + items: *292 minItems: 1 maxItems: 100 required: @@ -42752,9 +42919,9 @@ paths: application/json: schema: type: array - items: *290 + items: *292 examples: - default: *291 + default: *293 '403': *29 '404': *6 x-github: @@ -42775,8 +42942,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/custom-properties#get-a-custom-property-for-an-organization parameters: - - *76 - - &292 + - *78 + - &294 name: custom_property_name description: The custom property name in: path @@ -42788,9 +42955,9 @@ paths: description: Response content: application/json: - schema: *290 + schema: *292 examples: - default: &293 + default: &295 value: property_name: environment url: https://api.github.com/orgs/github/properties/schema/environment @@ -42824,8 +42991,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/custom-properties#create-or-update-a-custom-property-for-an-organization parameters: - - *76 - - *292 + - *78 + - *294 requestBody: required: true content: @@ -42896,9 +43063,9 @@ paths: description: Response content: application/json: - schema: *290 + schema: *292 examples: - default: *293 + default: *295 '403': *29 '404': *6 x-github: @@ -42921,8 +43088,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/custom-properties#remove-a-custom-property-for-an-organization parameters: - - *76 - - *292 + - *78 + - *294 responses: '204': *61 '403': *29 @@ -42945,7 +43112,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/custom-properties#list-custom-property-values-for-organization-repositories parameters: - - *76 + - *78 - *17 - *19 - name: repository_query @@ -42983,7 +43150,7 @@ paths: example: octocat/Hello-World properties: type: array - items: &294 + items: &296 title: Custom Property Value description: Custom property name and associated value type: object @@ -43022,7 +43189,7 @@ paths: - property_name: team value: octocat headers: - Link: *68 + Link: *70 '403': *29 '404': *6 x-github: @@ -43050,7 +43217,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/custom-properties#create-or-update-custom-property-values-for-organization-repositories parameters: - - *76 + - *78 requestBody: required: true content: @@ -43070,7 +43237,7 @@ paths: type: array description: List of custom property names and associated values to apply to the repositories. - items: *294 + items: *296 required: - repository_names - properties @@ -43111,7 +43278,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#list-public-organization-members parameters: - - *76 + - *78 - *17 - *19 responses: @@ -43123,9 +43290,9 @@ paths: type: array items: *4 examples: - default: *71 + default: *73 headers: - Link: *68 + Link: *70 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -43142,8 +43309,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#check-public-organization-membership-for-a-user parameters: - - *76 - - *72 + - *78 + - *74 responses: '204': description: Response if user is a public member @@ -43167,8 +43334,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#set-public-organization-membership-for-the-authenticated-user parameters: - - *76 - - *72 + - *78 + - *74 responses: '204': description: Response @@ -43189,8 +43356,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#remove-public-organization-membership-for-the-authenticated-user parameters: - - *76 - - *72 + - *78 + - *74 responses: '204': description: Response @@ -43214,7 +43381,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-organization-repositories parameters: - - *76 + - *78 - name: type description: Specifies the types of repositories you want returned. in: query @@ -43260,11 +43427,11 @@ paths: application/json: schema: type: array - items: *159 + items: *161 examples: - default: *266 + default: *268 headers: - Link: *68 + Link: *70 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -43283,7 +43450,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#create-an-organization-repository parameters: - - *76 + - *78 requestBody: required: true content: @@ -43464,7 +43631,7 @@ paths: description: Response content: application/json: - schema: &345 + schema: &347 title: Full Repository description: Full Repository type: object @@ -43752,8 +43919,8 @@ paths: title: Repository description: A repository on GitHub. type: object - properties: *295 - required: *296 + properties: *297 + required: *298 nullable: true temp_clone_token: type: string @@ -43840,8 +44007,8 @@ paths: title: License Simple description: License Simple type: object - properties: *89 - required: *90 + properties: *91 + required: *92 nullable: true organization: title: Simple User @@ -43850,8 +44017,8 @@ paths: properties: *20 required: *21 nullable: true - parent: *80 - source: *80 + parent: *82 + source: *82 forks: type: integer master_branch: @@ -43868,7 +44035,7 @@ paths: title: Code Of Conduct Simple description: Code of Conduct Simple type: object - properties: &485 + properties: &487 url: type: string format: uri @@ -43884,12 +44051,12 @@ paths: nullable: true format: uri example: https://github.com/github/docs/blob/main/CODE_OF_CONDUCT.md - required: &486 + required: &488 - url - key - name - html_url - security_and_analysis: *297 + security_and_analysis: *299 custom_properties: type: object description: The custom properties that were defined for the repository. @@ -43973,7 +44140,7 @@ paths: - network_count - subscribers_count examples: - default: &347 + default: &349 value: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -44491,10 +44658,10 @@ paths: category: orgs subcategory: rules parameters: - - *76 + - *78 - *17 - *19 - - &615 + - &617 name: targets description: | A comma-separated list of rule targets to filter by. @@ -44512,7 +44679,7 @@ paths: application/json: schema: type: array - items: &324 + items: &326 title: Repository ruleset type: object description: A set of rules to apply when specified conditions are @@ -44547,7 +44714,7 @@ paths: source: type: string description: The name of the source - enforcement: &300 + enforcement: &302 type: string description: The enforcement level of the ruleset. `evaluate` allows admins to test rules before enforcing them. Admins @@ -44560,7 +44727,7 @@ paths: bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: &301 + items: &303 title: Repository Ruleset Bypass Actor type: object description: An actor that can bypass rules in a ruleset @@ -44630,7 +44797,7 @@ paths: conditions: nullable: true anyOf: - - &298 + - &300 title: Repository ruleset conditions for ref names type: object description: Parameters for a repository ruleset ref name @@ -44654,7 +44821,7 @@ paths: match. items: type: string - - &302 + - &304 title: Organization ruleset conditions type: object description: |- @@ -44668,7 +44835,7 @@ paths: description: Conditions to target repositories by name and refs by name allOf: - - *298 + - *300 - title: Repository ruleset conditions for repository names type: object description: Parameters for a repository name condition @@ -44702,7 +44869,7 @@ paths: description: Conditions to target repositories by id and refs by name allOf: - - *298 + - *300 - title: Repository ruleset conditions for repository IDs type: object description: Parameters for a repository ID condition @@ -44724,7 +44891,7 @@ paths: description: Conditions to target repositories by property and refs by name allOf: - - *298 + - *300 - title: Repository ruleset conditions for repository properties type: object description: Parameters for a repository property condition @@ -44737,7 +44904,7 @@ paths: description: The repository properties and values to include. All of these properties must match for the condition to pass. - items: &299 + items: &301 title: Repository ruleset property targeting definition type: object @@ -44770,17 +44937,17 @@ paths: description: The repository properties and values to exclude. The condition will not pass if any of these properties match. - items: *299 + items: *301 required: - repository_property rules: type: array - items: &616 + items: &618 title: Repository Rule type: object description: A repository rule. oneOf: - - &303 + - &305 title: creation description: Only allow users with bypass permission to create matching refs. @@ -44792,7 +44959,7 @@ paths: type: string enum: - creation - - &304 + - &306 title: update description: Only allow users with bypass permission to update matching refs. @@ -44813,7 +44980,7 @@ paths: repository required: - update_allows_fetch_and_merge - - &305 + - &307 title: deletion description: Only allow users with bypass permissions to delete matching refs. @@ -44825,7 +44992,7 @@ paths: type: string enum: - deletion - - &306 + - &308 title: required_linear_history description: Prevent merge commits from being pushed to matching refs. @@ -44837,7 +45004,7 @@ paths: type: string enum: - required_linear_history - - &614 + - &616 title: merge_queue description: Merges must be performed via a merge queue. type: object @@ -44915,7 +45082,7 @@ paths: - merge_method - min_entries_to_merge - min_entries_to_merge_wait_minutes - - &307 + - &309 title: required_deployments description: Choose which environments must be successfully deployed to before refs can be pushed into a ref that @@ -44939,7 +45106,7 @@ paths: type: string required: - required_deployment_environments - - &308 + - &310 title: required_signatures description: Commits pushed to matching refs must have verified signatures. @@ -44951,7 +45118,7 @@ paths: type: string enum: - required_signatures - - &309 + - &311 title: pull_request description: Require all commits be made to a non-target branch and submitted via a pull request before they can @@ -45057,7 +45224,7 @@ paths: - require_last_push_approval - required_approving_review_count - required_review_thread_resolution - - &310 + - &312 title: required_status_checks description: Choose which status checks must pass before the ref is updated. When enabled, commits must first be @@ -45105,7 +45272,7 @@ paths: required: - required_status_checks - strict_required_status_checks_policy - - &311 + - &313 title: non_fast_forward description: Prevent users with push access from force pushing to refs. @@ -45117,7 +45284,7 @@ paths: type: string enum: - non_fast_forward - - &312 + - &314 title: commit_message_pattern description: Parameters to be used for the commit_message_pattern rule @@ -45154,7 +45321,7 @@ paths: required: - operator - pattern - - &313 + - &315 title: commit_author_email_pattern description: Parameters to be used for the commit_author_email_pattern rule @@ -45191,7 +45358,7 @@ paths: required: - operator - pattern - - &314 + - &316 title: committer_email_pattern description: Parameters to be used for the committer_email_pattern rule @@ -45228,7 +45395,7 @@ paths: required: - operator - pattern - - &315 + - &317 title: branch_name_pattern description: Parameters to be used for the branch_name_pattern rule @@ -45265,7 +45432,7 @@ paths: required: - operator - pattern - - &316 + - &318 title: tag_name_pattern description: Parameters to be used for the tag_name_pattern rule @@ -45302,7 +45469,7 @@ paths: required: - operator - pattern - - &317 + - &319 title: file_path_restriction description: Prevent commits that include changes in specified file and folder paths from being pushed to the commit @@ -45327,7 +45494,7 @@ paths: type: string required: - restricted_file_paths - - &318 + - &320 title: max_file_path_length description: Prevent commits that include file paths that exceed the specified character limit from being pushed @@ -45351,7 +45518,7 @@ paths: maximum: 32767 required: - max_file_path_length - - &319 + - &321 title: file_extension_restriction description: Prevent commits that include files with specified file extensions from being pushed to the commit graph. @@ -45374,7 +45541,7 @@ paths: type: string required: - restricted_file_extensions - - &320 + - &322 title: max_file_size description: Prevent commits with individual files that exceed the specified limit from being pushed to the commit @@ -45399,7 +45566,7 @@ paths: maximum: 100 required: - max_file_size - - &321 + - &323 title: workflows description: Require all changes made to a targeted branch to pass the specified workflows before they can be merged. @@ -45449,7 +45616,7 @@ paths: - repository_id required: - workflows - - &322 + - &324 title: code_scanning description: Choose which tools must provide code scanning results before the reference is updated. When configured, @@ -45510,7 +45677,7 @@ paths: - tool required: - code_scanning_tools - - &323 + - &325 title: copilot_code_review description: Request Copilot code review for new pull requests automatically if the author has access to Copilot code @@ -45588,7 +45755,7 @@ paths: category: orgs subcategory: rules parameters: - - *76 + - *78 requestBody: description: Request body required: true @@ -45609,22 +45776,20 @@ paths: - push - repository default: branch - enforcement: *300 + enforcement: *302 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *301 - conditions: *302 + items: *303 + conditions: *304 rules: type: array description: An array of rules within the ruleset. - items: &326 + items: &328 title: Repository Rule type: object description: A repository rule. oneOf: - - *303 - - *304 - *305 - *306 - *307 @@ -45644,6 +45809,8 @@ paths: - *321 - *322 - *323 + - *324 + - *325 required: - name - enforcement @@ -45681,9 +45848,9 @@ paths: description: Response content: application/json: - schema: *324 + schema: *326 examples: - default: &325 + default: &327 value: id: 21 name: super cool ruleset @@ -45738,8 +45905,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/rule-suites#list-organization-rule-suites parameters: - - *76 - - &617 + - *78 + - &619 name: ref description: The name of the ref. Cannot contain wildcard characters. Optionally prefix with `refs/heads/` to limit to branches or `refs/tags/` to limit @@ -45754,7 +45921,7 @@ paths: in: query schema: type: string - - &618 + - &620 name: time_period description: |- The time period to filter by. @@ -45770,14 +45937,14 @@ paths: - week - month default: day - - &619 + - &621 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 - - &620 + - &622 name: rule_suite_result description: The rule suite results to filter on. When specified, only suites with this result will be returned. @@ -45797,7 +45964,7 @@ paths: description: Response content: application/json: - schema: &621 + schema: &623 title: Rule Suites description: Response type: array @@ -45852,7 +46019,7 @@ paths: whether rules would pass or fail if all rules in the rule suite were `active`. examples: - default: &622 + default: &624 value: - id: 21 actor_id: 12 @@ -45895,8 +46062,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/rule-suites#get-an-organization-rule-suite parameters: - - *76 - - &623 + - *78 + - &625 name: rule_suite_id description: |- The unique identifier of the rule suite result. @@ -45912,7 +46079,7 @@ paths: description: Response content: application/json: - schema: &624 + schema: &626 title: Rule Suite description: Response type: object @@ -46011,7 +46178,7 @@ paths: description: The detailed failure message for the rule. Null if the rule passed. examples: - default: &625 + default: &627 value: id: 21 actor_id: 12 @@ -46072,7 +46239,7 @@ paths: category: orgs subcategory: rules parameters: - - *76 + - *78 - name: ruleset_id description: The ID of the ruleset. in: path @@ -46084,9 +46251,9 @@ paths: description: Response content: application/json: - schema: *324 + schema: *326 examples: - default: *325 + default: *327 '404': *6 '500': *55 put: @@ -46104,7 +46271,7 @@ paths: category: orgs subcategory: rules parameters: - - *76 + - *78 - name: ruleset_id description: The ID of the ruleset. in: path @@ -46130,16 +46297,16 @@ paths: - tag - push - repository - enforcement: *300 + enforcement: *302 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *301 - conditions: *302 + items: *303 + conditions: *304 rules: description: An array of rules within the ruleset. type: array - items: *326 + items: *328 examples: default: value: @@ -46174,9 +46341,9 @@ paths: description: Response content: application/json: - schema: *324 + schema: *326 examples: - default: *325 + default: *327 '404': *6 '422': *15 '500': *55 @@ -46195,7 +46362,7 @@ paths: category: orgs subcategory: rules parameters: - - *76 + - *78 - name: ruleset_id description: The ID of the ruleset. in: path @@ -46218,7 +46385,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/rules#get-organization-ruleset-history parameters: - - *76 + - *78 - *17 - *19 - name: ruleset_id @@ -46234,7 +46401,7 @@ paths: application/json: schema: type: array - items: &327 + items: &329 title: Ruleset version type: object description: The historical version of a ruleset @@ -46258,7 +46425,7 @@ paths: type: string format: date-time examples: - default: &627 + default: &629 value: - version_id: 3 actor: @@ -46293,7 +46460,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/rules#get-organization-ruleset-version parameters: - - *76 + - *78 - name: ruleset_id description: The ID of the ruleset. in: path @@ -46311,9 +46478,9 @@ paths: description: Response content: application/json: - schema: &628 + schema: &630 allOf: - - *327 + - *329 - type: object required: - state @@ -46382,8 +46549,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-organization parameters: - - *76 - - &629 + - *78 + - &631 name: state in: query description: Set to `open` or `resolved` to only list secret scanning alerts @@ -46394,7 +46561,7 @@ paths: enum: - open - resolved - - &630 + - &632 name: secret_type in: query description: A comma-separated list of secret types to return. All default @@ -46404,7 +46571,7 @@ paths: required: false schema: type: string - - &631 + - &633 name: exclude_secret_types in: query description: A comma-separated list of secret types to exclude from the results. @@ -46415,7 +46582,7 @@ paths: required: false schema: type: string - - &632 + - &634 name: exclude_providers in: query description: |- @@ -46426,7 +46593,7 @@ paths: required: false schema: type: string - - &633 + - &635 name: providers in: query description: |- @@ -46437,7 +46604,7 @@ paths: required: false schema: type: string - - &634 + - &636 name: resolution in: query description: A comma-separated list of resolutions. Only secret scanning alerts @@ -46446,7 +46613,7 @@ paths: required: false schema: type: string - - &635 + - &637 name: assignee in: query description: Filters alerts by assignee. Use `*` to get all assigned alerts, @@ -46465,7 +46632,7 @@ paths: all-unassigned: value: none summary: Filter for all unassigned alerts - - &636 + - &638 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. @@ -46480,7 +46647,7 @@ paths: - *62 - *19 - *17 - - &637 + - &639 name: before description: A cursor, as given in the [Link header](https://docs.github.com/rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for events before this cursor. To @@ -46490,7 +46657,7 @@ paths: required: false schema: type: string - - &638 + - &640 name: after description: A cursor, as given in the [Link header](https://docs.github.com/rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for events after this cursor. To @@ -46500,7 +46667,7 @@ paths: required: false schema: type: string - - &639 + - &641 name: validity in: query description: A comma-separated list of validities that, when present, will @@ -46509,7 +46676,7 @@ paths: required: false schema: type: string - - &640 + - &642 name: is_publicly_leaked in: query description: A boolean value representing whether or not to filter alerts @@ -46518,7 +46685,7 @@ paths: schema: type: boolean default: false - - &641 + - &643 name: is_multi_repo in: query description: A boolean value representing whether or not to filter alerts @@ -46527,7 +46694,7 @@ paths: schema: type: boolean default: false - - &642 + - &644 name: hide_secret in: query description: A boolean value representing whether or not to hide literal secrets @@ -46546,8 +46713,8 @@ paths: items: type: object properties: - number: *177 - created_at: *178 + number: *179 + created_at: *180 updated_at: type: string description: 'The time that the alert was last updated in ISO @@ -46555,21 +46722,21 @@ paths: format: date-time readOnly: true nullable: true - url: *180 - html_url: *181 + url: *182 + html_url: *183 locations_url: type: string format: uri description: The REST API URL of the code locations for this alert. - state: &643 + state: &645 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 - resolution: &644 + resolution: &646 type: string description: "**Required when the `state` is `resolved`.** The reason for resolving the alert." @@ -46686,8 +46853,8 @@ paths: pull request. ' - oneOf: &645 - - &647 + oneOf: &647 + - &649 description: Represents a 'commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository. @@ -46745,7 +46912,7 @@ paths: - blob_url - commit_sha - commit_url - - &648 + - &650 description: Represents a 'wiki_commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository wiki. @@ -46800,7 +46967,7 @@ paths: - page_url - commit_sha - commit_url - - &649 + - &651 description: Represents an 'issue_title' secret scanning location type. This location type shows that a secret was detected in the title of an issue. @@ -46820,7 +46987,7 @@ paths: example: https://github.com/octocat/Hello-World/issues/1 required: - issue_title_url - - &650 + - &652 description: Represents an 'issue_body' secret scanning location type. This location type shows that a secret was detected in the body of an issue. @@ -46840,7 +47007,7 @@ paths: example: https://github.com/octocat/Hello-World/issues/1 required: - issue_body_url - - &651 + - &653 description: Represents an 'issue_comment' secret scanning location type. This location type shows that a secret was detected in a comment on an issue. @@ -46860,7 +47027,7 @@ paths: example: https://github.com/octocat/Hello-World/issues/1#issuecomment-1081119451 required: - issue_comment_url - - &652 + - &654 description: Represents a 'discussion_title' secret scanning location type. This location type shows that a secret was detected in the title of a discussion. @@ -46874,7 +47041,7 @@ paths: example: https://github.com/community/community/discussions/39082 required: - discussion_title_url - - &653 + - &655 description: Represents a 'discussion_body' secret scanning location type. This location type shows that a secret was detected in the body of a discussion. @@ -46888,7 +47055,7 @@ paths: example: https://github.com/community/community/discussions/39082#discussion-4566270 required: - discussion_body_url - - &654 + - &656 description: Represents a 'discussion_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a discussion. @@ -46902,7 +47069,7 @@ paths: example: https://github.com/community/community/discussions/39082#discussioncomment-4158232 required: - discussion_comment_url - - &655 + - &657 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. @@ -46922,7 +47089,7 @@ paths: example: https://github.com/octocat/Hello-World/pull/2846 required: - pull_request_title_url - - &656 + - &658 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. @@ -46942,7 +47109,7 @@ paths: example: https://github.com/octocat/Hello-World/pull/2846 required: - pull_request_body_url - - &657 + - &659 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. @@ -46962,7 +47129,7 @@ paths: example: https://github.com/octocat/Hello-World/pull/2846#issuecomment-1081119451 required: - pull_request_comment_url - - &658 + - &660 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. @@ -46982,7 +47149,7 @@ paths: example: https://github.com/octocat/Hello-World/pull/2846#pullrequestreview-80 required: - pull_request_review_url - - &659 + - &661 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. @@ -47206,9 +47373,9 @@ paths: type: User site_admin: false headers: - Link: *68 + Link: *70 '404': *6 - '503': *120 + '503': *122 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -47233,7 +47400,7 @@ paths: category: secret-scanning subcategory: push-protection parameters: - - *76 + - *78 responses: '200': description: Response @@ -47245,7 +47412,7 @@ paths: related to push protection. type: object properties: - pattern_config_version: &329 + pattern_config_version: &331 type: string description: The version of the entity. This is used to confirm you're updating the current version of the entity and mitigate @@ -47254,7 +47421,7 @@ paths: provider_pattern_overrides: type: array description: Overrides for partner patterns. - items: &328 + items: &330 type: object properties: token_type: @@ -47320,7 +47487,7 @@ paths: custom_pattern_overrides: type: array description: Overrides for custom patterns defined by the organization. - items: *328 + items: *330 examples: default: value: @@ -47369,7 +47536,7 @@ paths: category: secret-scanning subcategory: push-protection parameters: - - *76 + - *78 requestBody: required: true content: @@ -47377,7 +47544,7 @@ paths: schema: type: object properties: - pattern_config_version: *329 + pattern_config_version: *331 provider_pattern_settings: type: array description: Pattern settings for provider patterns. @@ -47403,7 +47570,7 @@ paths: token_type: type: string description: The ID of the pattern to configure. - custom_pattern_version: *329 + custom_pattern_version: *331 push_protection_setting: type: string description: Push protection setting to set for the pattern. @@ -47457,7 +47624,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#list-repository-security-advisories-for-an-organization parameters: - - *76 + - *78 - *62 - name: sort description: The property to sort the results by. @@ -47501,7 +47668,7 @@ paths: application/json: schema: type: array - items: &663 + items: &665 description: A repository security advisory. type: object properties: @@ -47721,7 +47888,7 @@ paths: login: type: string description: The username of the user credited. - type: *330 + type: *332 credits_detailed: type: array nullable: true @@ -47731,7 +47898,7 @@ paths: type: object properties: user: *4 - type: *330 + type: *332 state: type: string description: The state of the user's acceptance of the @@ -47755,7 +47922,7 @@ paths: type: array description: A list of teams that collaborate on the advisory. nullable: true - items: *195 + items: *197 private_fork: readOnly: true nullable: true @@ -47792,7 +47959,7 @@ paths: - private_fork additionalProperties: false examples: - default: &664 + default: &666 value: - ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -48171,7 +48338,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/security-managers#list-security-manager-teams parameters: - - *76 + - *78 responses: '200': description: Response @@ -48179,7 +48346,7 @@ paths: application/json: schema: type: array - items: *331 + items: *333 examples: default: value: @@ -48219,8 +48386,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/security-managers#add-a-security-manager-team parameters: - - *76 - *78 + - *80 responses: '204': description: Response @@ -48245,8 +48412,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/security-managers#remove-a-security-manager-team parameters: - - *76 - *78 + - *80 responses: '204': description: Response @@ -48273,7 +48440,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#get-immutable-releases-settings-for-an-organization parameters: - - *76 + - *78 responses: '200': description: Immutable releases settings response @@ -48322,7 +48489,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#set-immutable-releases-settings-for-an-organization parameters: - - *76 + - *78 responses: '204': description: Response @@ -48379,7 +48546,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#list-selected-repositories-for-immutable-releases-enforcement parameters: - - *76 + - *78 - *19 - *17 responses: @@ -48397,9 +48564,9 @@ paths: type: integer repositories: type: array - items: *159 + items: *161 examples: - default: *171 + default: *173 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -48418,7 +48585,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#set-selected-repositories-for-immutable-releases-enforcement parameters: - - *76 + - *78 requestBody: required: true content: @@ -48467,8 +48634,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#enable-a-selected-repository-for-immutable-releases-in-an-organization parameters: - - *76 - - *148 + - *78 + - *150 responses: '204': description: Response @@ -48490,8 +48657,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#disable-a-selected-repository-for-immutable-releases-in-an-organization parameters: - - *76 - - *148 + - *78 + - *150 responses: '204': description: Response @@ -48514,7 +48681,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/network-configurations#list-hosted-compute-network-configurations-for-an-organization parameters: - - *76 + - *78 - *17 - *19 responses: @@ -48532,7 +48699,7 @@ paths: type: integer network_configurations: type: array - items: &332 + items: &334 title: Hosted compute network configuration description: A hosted compute network configuration. type: object @@ -48603,7 +48770,7 @@ paths: - 6789ABDCEF12345 created_on: '2023-04-26T15:23:37Z' headers: - Link: *68 + Link: *70 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -48622,7 +48789,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/network-configurations#create-a-hosted-compute-network-configuration-for-an-organization parameters: - - *76 + - *78 requestBody: required: true content: @@ -48678,9 +48845,9 @@ paths: description: Response content: application/json: - schema: *332 + schema: *334 examples: - default: &333 + default: &335 value: id: 123456789ABCDEF name: My network configuration @@ -48708,8 +48875,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/network-configurations#get-a-hosted-compute-network-configuration-for-an-organization parameters: - - *76 - - &334 + - *78 + - &336 name: network_configuration_id description: Unique identifier of the hosted compute network configuration. in: path @@ -48721,11 +48888,11 @@ paths: description: Response content: application/json: - schema: *332 + schema: *334 examples: - default: *333 + default: *335 headers: - Link: *68 + Link: *70 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -48744,8 +48911,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/network-configurations#update-a-hosted-compute-network-configuration-for-an-organization parameters: - - *76 - - *334 + - *78 + - *336 requestBody: required: true content: @@ -48798,9 +48965,9 @@ paths: description: Response content: application/json: - schema: *332 + schema: *334 examples: - default: *333 + default: *335 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -48819,8 +48986,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/network-configurations#delete-a-hosted-compute-network-configuration-from-an-organization parameters: - - *76 - - *334 + - *78 + - *336 responses: '204': description: Response @@ -48843,7 +49010,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/network-configurations#get-a-hosted-compute-network-settings-resource-for-an-organization parameters: - - *76 + - *78 - name: network_settings_id description: Unique identifier of the hosted compute network settings. in: path @@ -48897,7 +49064,7 @@ paths: subnet_id: "/subscriptions/14839728-3ad9-43ab-bd2b-fa6ad0f75e2a/resourceGroups/my-rg/providers/Microsoft.Network/virtualNetworks/my-vnet/subnets/my-subnet" region: eastus headers: - Link: *68 + Link: *70 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -48927,8 +49094,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-metrics#get-copilot-metrics-for-a-team parameters: - - *76 - *78 + - *80 - name: since description: Show usage metrics since this date. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format (`YYYY-MM-DDTHH:MM:SSZ`). @@ -48960,13 +49127,13 @@ paths: application/json: schema: type: array - items: *335 + items: *337 examples: - default: *336 + default: *338 '500': *55 '403': *29 '404': *6 - '422': *337 + '422': *339 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -48984,7 +49151,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-teams parameters: - - *76 + - *78 - *17 - *19 - name: team_type @@ -49006,11 +49173,11 @@ paths: application/json: schema: type: array - items: *195 + items: *197 examples: - default: *259 + default: *261 headers: - Link: *68 + Link: *70 '403': *29 x-github: githubCloudOnly: false @@ -49030,7 +49197,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#create-a-team parameters: - - *76 + - *78 requestBody: required: true content: @@ -49102,7 +49269,7 @@ paths: description: Response content: application/json: - schema: &338 + schema: &340 title: Full Team description: Groups of organization members that gives permissions on specified repositories. @@ -49165,8 +49332,8 @@ paths: description: Groups of organization members that gives permissions on specified repositories. type: object - properties: *257 - required: *258 + properties: *259 + required: *260 nullable: true members_count: type: integer @@ -49429,7 +49596,7 @@ paths: - repos_count - organization examples: - default: &339 + default: &341 value: id: 1 node_id: MDQ6VGVhbTE= @@ -49499,16 +49666,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#get-a-team-by-name parameters: - - *76 - *78 + - *80 responses: '200': description: Response content: application/json: - schema: *338 + schema: *340 examples: - default: *339 + default: *341 '404': *6 x-github: githubCloudOnly: false @@ -49529,8 +49696,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#update-a-team parameters: - - *76 - *78 + - *80 requestBody: required: false content: @@ -49592,16 +49759,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *338 + schema: *340 examples: - default: *339 + default: *341 '201': description: Response content: application/json: - schema: *338 + schema: *340 examples: - default: *339 + default: *341 '404': *6 '422': *15 '403': *29 @@ -49626,12 +49793,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#delete-a-team parameters: - - *76 - *78 + - *80 responses: '204': description: Response - '422': &340 + '422': &342 description: Unprocessable entity if you attempt to modify an enterprise team at the organization level. x-github: @@ -49654,8 +49821,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#list-pending-team-invitations parameters: - - *76 - *78 + - *80 - *17 - *19 responses: @@ -49665,12 +49832,12 @@ paths: application/json: schema: type: array - items: *236 + items: *238 examples: - default: *237 + default: *239 headers: - Link: *68 - '422': *340 + Link: *70 + '422': *342 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -49690,8 +49857,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#list-team-members parameters: - - *76 - *78 + - *80 - name: role description: Filters members returned by their role in the team. in: query @@ -49714,9 +49881,9 @@ paths: type: array items: *4 examples: - default: *71 + default: *73 headers: - Link: *68 + Link: *70 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -49744,15 +49911,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#get-team-membership-for-a-user parameters: - - *76 - *78 - - *72 + - *80 + - *74 responses: '200': description: Response content: application/json: - schema: &341 + schema: &343 title: Team Membership description: Team Membership type: object @@ -49779,7 +49946,7 @@ paths: - state - url examples: - response-if-user-is-a-team-maintainer: &679 + response-if-user-is-a-team-maintainer: &681 summary: Response if user is a team maintainer value: url: https://api.github.com/teams/1/memberships/octocat @@ -49815,9 +49982,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#add-or-update-team-membership-for-a-user parameters: - - *76 - *78 - - *72 + - *80 + - *74 requestBody: required: false content: @@ -49842,9 +50009,9 @@ paths: description: Response content: application/json: - schema: *341 + schema: *343 examples: - response-if-users-membership-with-team-is-now-pending: &680 + response-if-users-membership-with-team-is-now-pending: &682 summary: Response if user's membership with team is now pending value: url: https://api.github.com/teams/1/memberships/octocat @@ -49879,9 +50046,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#remove-team-membership-for-a-user parameters: - - *76 - *78 - - *72 + - *80 + - *74 responses: '204': description: Response @@ -49907,8 +50074,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-team-repositories parameters: - - *76 - *78 + - *80 - *17 - *19 responses: @@ -49918,11 +50085,11 @@ paths: application/json: schema: type: array - items: *159 + items: *161 examples: - default: *266 + default: *268 headers: - Link: *68 + Link: *70 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -49949,16 +50116,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-repository parameters: - - *76 - *78 - - *342 - - *343 + - *80 + - *344 + - *345 responses: '200': description: Alternative response with repository permissions content: application/json: - schema: &681 + schema: &683 title: Team Repository description: A team's access to a repository. type: object @@ -49981,8 +50148,8 @@ paths: title: License Simple description: License Simple type: object - properties: *89 - required: *90 + properties: *91 + required: *92 nullable: true forks: type: integer @@ -50527,10 +50694,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#add-or-update-team-repository-permissions parameters: - - *76 - *78 - - *342 - - *343 + - *80 + - *344 + - *345 requestBody: required: false content: @@ -50575,10 +50742,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#remove-a-repository-from-a-team parameters: - - *76 - *78 - - *342 - - *343 + - *80 + - *344 + - *345 responses: '204': description: Response @@ -50602,8 +50769,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-child-teams parameters: - - *76 - *78 + - *80 - *17 - *19 responses: @@ -50613,9 +50780,9 @@ paths: application/json: schema: type: array - items: *195 + items: *197 examples: - response-if-child-teams-exist: &682 + response-if-child-teams-exist: &684 value: - id: 2 node_id: MDQ6VGVhbTI= @@ -50643,7 +50810,7 @@ paths: repositories_url: https://api.github.com/teams/1/repos html_url: https://github.com/orgs/rails/teams/core headers: - Link: *68 + Link: *70 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -50668,7 +50835,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#enable-or-disable-a-security-feature-for-an-organization parameters: - - *76 + - *78 - name: security_product in: path description: The security feature to enable or disable. @@ -50769,7 +50936,7 @@ paths: resources: type: object properties: - core: &344 + core: &346 title: Rate Limit type: object properties: @@ -50786,21 +50953,21 @@ paths: - remaining - reset - used - graphql: *344 - search: *344 - code_search: *344 - source_import: *344 - integration_manifest: *344 - code_scanning_upload: *344 - actions_runner_registration: *344 - scim: *344 - dependency_snapshots: *344 - dependency_sbom: *344 - code_scanning_autofix: *344 + graphql: *346 + search: *346 + code_search: *346 + source_import: *346 + integration_manifest: *346 + code_scanning_upload: *346 + actions_runner_registration: *346 + scim: *346 + dependency_snapshots: *346 + dependency_sbom: *346 + code_scanning_autofix: *346 required: - core - search - rate: *344 + rate: *346 required: - rate - resources @@ -50905,14 +51072,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#get-a-repository parameters: - - *342 - - *343 + - *344 + - *345 responses: '200': description: Response content: application/json: - schema: *345 + schema: *347 examples: default-response: summary: Default response @@ -51417,7 +51584,7 @@ paths: status: disabled '403': *29 '404': *6 - '301': *346 + '301': *348 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -51435,8 +51602,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#update-a-repository parameters: - - *342 - - *343 + - *344 + - *345 requestBody: required: false content: @@ -51734,10 +51901,10 @@ paths: description: Response content: application/json: - schema: *345 + schema: *347 examples: - default: *347 - '307': &348 + default: *349 + '307': &350 description: Temporary Redirect content: application/json: @@ -51766,8 +51933,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#delete-a-repository parameters: - - *342 - - *343 + - *344 + - *345 responses: '204': description: Response @@ -51789,7 +51956,7 @@ paths: value: message: Organization members cannot delete repositories. documentation_url: https://docs.github.com/rest/repos/repos#delete-a-repository - '307': *348 + '307': *350 '404': *6 '409': *54 x-github: @@ -51813,11 +51980,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#list-artifacts-for-a-repository parameters: - - *342 - - *343 + - *344 + - *345 - *17 - *19 - - &381 + - &383 name: name description: The name field of an artifact. When specified, only artifacts with this name will be returned. @@ -51840,7 +52007,7 @@ paths: type: integer artifacts: type: array - items: &349 + items: &351 title: Artifact description: An artifact type: object @@ -51918,7 +52085,7 @@ paths: - expires_at - updated_at examples: - default: &382 + default: &384 value: total_count: 2 artifacts: @@ -51957,7 +52124,7 @@ paths: head_branch: main head_sha: 178f4f6090b3fccad4a65b3e83d076a622d59652 headers: - Link: *68 + Link: *70 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -51979,9 +52146,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#get-an-artifact parameters: - - *342 - - *343 - - &350 + - *344 + - *345 + - &352 name: artifact_id description: The unique identifier of the artifact. in: path @@ -51993,7 +52160,7 @@ paths: description: Response content: application/json: - schema: *349 + schema: *351 examples: default: value: @@ -52031,9 +52198,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#delete-an-artifact parameters: - - *342 - - *343 - - *350 + - *344 + - *345 + - *352 responses: '204': description: Response @@ -52057,9 +52224,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#download-an-artifact parameters: - - *342 - - *343 - - *350 + - *344 + - *345 + - *352 - name: archive_format in: path required: true @@ -52069,11 +52236,11 @@ paths: '302': description: Response headers: - Location: &504 + Location: &506 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 - '410': &545 + '410': &547 description: Gone content: application/json: @@ -52098,14 +52265,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#get-github-actions-cache-retention-limit-for-a-repository parameters: - - *342 - - *343 + - *344 + - *345 responses: '200': description: Response content: application/json: - schema: &351 + schema: &353 title: Actions cache retention limit for a repository description: GitHub Actions cache retention policy for a repository. type: object @@ -52138,13 +52305,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#set-github-actions-cache-retention-limit-for-a-repository parameters: - - *342 - - *343 + - *344 + - *345 requestBody: required: true content: application/json: - schema: *351 + schema: *353 examples: selected_actions: *42 responses: @@ -52173,14 +52340,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#get-github-actions-cache-storage-limit-for-a-repository parameters: - - *342 - - *343 + - *344 + - *345 responses: '200': description: Response content: application/json: - schema: &352 + schema: &354 title: Actions cache storage limit for a repository description: GitHub Actions cache storage policy for a repository. type: object @@ -52213,13 +52380,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#set-github-actions-cache-storage-limit-for-a-repository parameters: - - *342 - - *343 + - *344 + - *345 requestBody: required: true content: application/json: - schema: *352 + schema: *354 examples: selected_actions: *44 responses: @@ -52250,14 +52417,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#get-github-actions-cache-usage-for-a-repository parameters: - - *342 - - *343 + - *344 + - *345 responses: '200': description: Response content: application/json: - schema: *353 + schema: *355 examples: default: value: @@ -52283,11 +52450,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#list-github-actions-caches-for-a-repository parameters: - - *342 - - *343 + - *344 + - *345 - *17 - *19 - - &354 + - &356 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 @@ -52321,7 +52488,7 @@ paths: description: Response content: application/json: - schema: &355 + schema: &357 title: Repository actions caches description: Repository actions caches type: object @@ -52363,7 +52530,7 @@ paths: - total_count - actions_caches examples: - default: &356 + default: &358 value: total_count: 1 actions_caches: @@ -52375,7 +52542,7 @@ paths: created_at: '2019-01-24T22:45:36.000Z' size_in_bytes: 1024 headers: - Link: *68 + Link: *70 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -52395,23 +52562,23 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#delete-github-actions-caches-for-a-repository-using-a-cache-key parameters: - - *342 - - *343 + - *344 + - *345 - name: key description: A key for identifying the cache. in: query required: true schema: type: string - - *354 + - *356 responses: '200': description: Response content: application/json: - schema: *355 + schema: *357 examples: - default: *356 + default: *358 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -52431,8 +52598,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#delete-a-github-actions-cache-for-a-repository-using-a-cache-id parameters: - - *342 - - *343 + - *344 + - *345 - name: cache_id description: The unique identifier of the GitHub Actions cache. in: path @@ -52463,9 +52630,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#get-a-job-for-a-workflow-run parameters: - - *342 - - *343 - - &357 + - *344 + - *345 + - &359 name: job_id description: The unique identifier of the job. in: path @@ -52477,7 +52644,7 @@ paths: description: Response content: application/json: - schema: &385 + schema: &387 title: Job description: Information of a job execution in a workflow run type: object @@ -52784,9 +52951,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#download-job-logs-for-a-workflow-run parameters: - - *342 - - *343 - - *357 + - *344 + - *345 + - *359 responses: '302': description: Response @@ -52814,9 +52981,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#re-run-a-job-from-a-workflow-run parameters: - - *342 - - *343 - - *357 + - *344 + - *345 + - *359 requestBody: required: false content: @@ -52837,7 +53004,7 @@ paths: description: Response content: application/json: - schema: *168 + schema: *170 examples: default: value: @@ -52861,8 +53028,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/oidc#get-the-customization-template-for-an-oidc-subject-claim-for-a-repository parameters: - - *342 - - *343 + - *344 + - *345 responses: '200': description: Status response @@ -52912,8 +53079,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/oidc#set-the-customization-template-for-an-oidc-subject-claim-for-a-repository parameters: - - *342 - - *343 + - *344 + - *345 requestBody: required: true content: @@ -52947,7 +53114,7 @@ paths: description: Empty response content: application/json: - schema: *168 + schema: *170 examples: default: value: @@ -52976,8 +53143,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-repository-organization-secrets parameters: - - *342 - - *343 + - *344 + - *345 - *17 - *19 responses: @@ -52995,7 +53162,7 @@ paths: type: integer secrets: type: array - items: &387 + items: &389 title: Actions Secret description: Set secrets for GitHub Actions. type: object @@ -53015,7 +53182,7 @@ paths: - created_at - updated_at examples: - default: &388 + default: &390 value: total_count: 2 secrets: @@ -53026,7 +53193,7 @@ paths: created_at: '2020-01-10T10:59:22Z' updated_at: '2020-01-11T11:59:22Z' headers: - Link: *68 + Link: *70 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -53048,9 +53215,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-repository-organization-variables parameters: - - *342 - - *343 - - *358 + - *344 + - *345 + - *360 - *19 responses: '200': @@ -53067,7 +53234,7 @@ paths: type: integer variables: type: array - items: &391 + items: &393 title: Actions Variable type: object properties: @@ -53097,7 +53264,7 @@ paths: - created_at - updated_at examples: - default: &392 + default: &394 value: total_count: 2 variables: @@ -53110,7 +53277,7 @@ paths: created_at: '2020-01-10T10:59:22Z' updated_at: '2020-01-11T11:59:22Z' headers: - Link: *68 + Link: *70 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -53130,8 +53297,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-github-actions-permissions-for-a-repository parameters: - - *342 - - *343 + - *344 + - *345 responses: '200': description: Response @@ -53140,12 +53307,12 @@ paths: schema: type: object properties: - enabled: &360 + enabled: &362 type: boolean description: Whether GitHub Actions is enabled on the repository. - allowed_actions: *144 - selected_actions_url: *359 - sha_pinning_required: *145 + allowed_actions: *146 + selected_actions_url: *361 + sha_pinning_required: *147 required: - enabled examples: @@ -53173,8 +53340,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-github-actions-permissions-for-a-repository parameters: - - *342 - - *343 + - *344 + - *345 responses: '204': description: Response @@ -53185,9 +53352,9 @@ paths: schema: type: object properties: - enabled: *360 - allowed_actions: *144 - sha_pinning_required: *145 + enabled: *362 + allowed_actions: *146 + sha_pinning_required: *147 required: - enabled examples: @@ -53217,14 +53384,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-the-level-of-access-for-workflows-outside-of-the-repository parameters: - - *342 - - *343 + - *344 + - *345 responses: '200': description: Response content: application/json: - schema: &361 + schema: &363 type: object properties: access_level: @@ -53241,7 +53408,7 @@ paths: required: - access_level examples: - default: &362 + default: &364 value: access_level: organization x-github: @@ -53265,15 +53432,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-the-level-of-access-for-workflows-outside-of-the-repository parameters: - - *342 - - *343 + - *344 + - *345 requestBody: required: true content: application/json: - schema: *361 + schema: *363 examples: - default: *362 + default: *364 responses: '204': description: Response @@ -53297,14 +53464,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-artifact-and-log-retention-settings-for-a-repository parameters: - - *342 - - *343 + - *344 + - *345 responses: '200': description: Response content: application/json: - schema: *363 + schema: *365 examples: default: value: @@ -53328,8 +53495,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-artifact-and-log-retention-settings-for-a-repository parameters: - - *342 - - *343 + - *344 + - *345 responses: '204': description: Empty response for successful settings update @@ -53339,7 +53506,7 @@ paths: required: true content: application/json: - schema: *364 + schema: *366 examples: default: summary: Set retention days @@ -53363,16 +53530,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-fork-pr-contributor-approval-permissions-for-a-repository parameters: - - *342 - - *343 + - *344 + - *345 responses: '200': description: Response content: application/json: - schema: *146 + schema: *148 examples: - default: *365 + default: *367 '404': *6 x-github: enabledForGitHubApps: true @@ -53391,8 +53558,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-fork-pr-contributor-approval-permissions-for-a-repository parameters: - - *342 - - *343 + - *344 + - *345 responses: '204': description: Response @@ -53402,7 +53569,7 @@ paths: required: true content: application/json: - schema: *146 + schema: *148 examples: default: summary: Set approval policy to first time contributors @@ -53426,16 +53593,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-private-repo-fork-pr-workflow-settings-for-a-repository parameters: - - *342 - - *343 + - *344 + - *345 responses: '200': description: Response content: application/json: - schema: *366 + schema: *368 examples: - default: *147 + default: *149 '403': *29 '404': *6 x-github: @@ -53455,15 +53622,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-private-repo-fork-pr-workflow-settings-for-a-repository parameters: - - *342 - - *343 + - *344 + - *345 requestBody: required: true content: application/json: - schema: *367 + schema: *369 examples: - default: *147 + default: *149 responses: '204': description: Empty response for successful settings update @@ -53487,16 +53654,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-allowed-actions-and-reusable-workflows-for-a-repository parameters: - - *342 - - *343 + - *344 + - *345 responses: '200': description: Response content: application/json: - schema: *149 + schema: *151 examples: - default: *150 + default: *152 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -53515,8 +53682,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-allowed-actions-and-reusable-workflows-for-a-repository parameters: - - *342 - - *343 + - *344 + - *345 responses: '204': description: Response @@ -53524,9 +53691,9 @@ paths: required: false content: application/json: - schema: *149 + schema: *151 examples: - selected_actions: *150 + selected_actions: *152 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -53548,16 +53715,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-default-workflow-permissions-for-a-repository parameters: - - *342 - - *343 + - *344 + - *345 responses: '200': description: Response content: application/json: - schema: *368 + schema: *370 examples: - default: *154 + default: *156 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -53578,8 +53745,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-default-workflow-permissions-for-a-repository parameters: - - *342 - - *343 + - *344 + - *345 responses: '204': description: Success response @@ -53590,9 +53757,9 @@ paths: required: true content: application/json: - schema: *369 + schema: *371 examples: - default: *154 + default: *156 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -53619,8 +53786,8 @@ paths: in: query schema: type: string - - *342 - - *343 + - *344 + - *345 - *17 - *19 responses: @@ -53638,11 +53805,11 @@ paths: type: integer runners: type: array - items: *161 + items: *163 examples: - default: *162 + default: *164 headers: - Link: *68 + Link: *70 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -53664,8 +53831,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#list-runner-applications-for-a-repository parameters: - - *342 - - *343 + - *344 + - *345 responses: '200': description: Response @@ -53673,9 +53840,9 @@ paths: application/json: schema: type: array - items: *370 + items: *372 examples: - default: *371 + default: *373 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -53697,8 +53864,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#create-configuration-for-a-just-in-time-runner-for-a-repository parameters: - - *342 - - *343 + - *344 + - *345 requestBody: required: true content: @@ -53741,7 +53908,7 @@ paths: - no-gpu work_folder: _work responses: - '201': *372 + '201': *374 '404': *6 '422': *7 '409': *54 @@ -53772,16 +53939,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#create-a-registration-token-for-a-repository parameters: - - *342 - - *343 + - *344 + - *345 responses: '201': description: Response content: application/json: - schema: *163 + schema: *165 examples: - default: *373 + default: *375 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -53809,16 +53976,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#create-a-remove-token-for-a-repository parameters: - - *342 - - *343 + - *344 + - *345 responses: '201': description: Response content: application/json: - schema: *163 + schema: *165 examples: - default: *374 + default: *376 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -53840,17 +54007,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#get-a-self-hosted-runner-for-a-repository parameters: - - *342 - - *343 - - *160 + - *344 + - *345 + - *162 responses: '200': description: Response content: application/json: - schema: *161 + schema: *163 examples: - default: *375 + default: *377 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -53871,9 +54038,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#delete-a-self-hosted-runner-from-a-repository parameters: - - *342 - - *343 - - *160 + - *344 + - *345 + - *162 responses: '204': description: Response @@ -53899,11 +54066,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#list-labels-for-a-self-hosted-runner-for-a-repository parameters: - - *342 - - *343 - - *160 + - *344 + - *345 + - *162 responses: - '200': *165 + '200': *167 '404': *6 x-github: githubCloudOnly: false @@ -53925,9 +54092,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#add-custom-labels-to-a-self-hosted-runner-for-a-repository parameters: - - *342 - - *343 - - *160 + - *344 + - *345 + - *162 requestBody: required: true content: @@ -53951,7 +54118,7 @@ paths: - gpu - accelerated responses: - '200': *165 + '200': *167 '404': *6 '422': *7 x-github: @@ -53975,9 +54142,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#set-custom-labels-for-a-self-hosted-runner-for-a-repository parameters: - - *342 - - *343 - - *160 + - *344 + - *345 + - *162 requestBody: required: true content: @@ -54002,7 +54169,7 @@ paths: - gpu - accelerated responses: - '200': *165 + '200': *167 '404': *6 '422': *7 x-github: @@ -54026,11 +54193,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#remove-all-custom-labels-from-a-self-hosted-runner-for-a-repository parameters: - - *342 - - *343 - - *160 + - *344 + - *345 + - *162 responses: - '200': *376 + '200': *378 '404': *6 x-github: githubCloudOnly: false @@ -54057,12 +54224,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#remove-a-custom-label-from-a-self-hosted-runner-for-a-repository parameters: - - *342 - - *343 - - *160 - - *377 + - *344 + - *345 + - *162 + - *379 responses: - '200': *165 + '200': *167 '404': *6 '422': *7 x-github: @@ -54088,9 +54255,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#list-workflow-runs-for-a-repository parameters: - - *342 - - *343 - - &395 + - *344 + - *345 + - &397 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. @@ -54098,7 +54265,7 @@ paths: required: false schema: type: string - - &396 + - &398 name: branch description: Returns workflow runs associated with a branch. Use the name of the branch of the `push`. @@ -54106,7 +54273,7 @@ paths: required: false schema: type: string - - &397 + - &399 name: event description: Returns workflow run triggered by the event you specify. For example, `push`, `pull_request` or `issue`. For more information, see "[Events @@ -54115,7 +54282,7 @@ paths: required: false schema: type: string - - &398 + - &400 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 @@ -54142,7 +54309,7 @@ paths: - pending - *17 - *19 - - &399 + - &401 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/search-github/getting-started-with-searching-on-github/understanding-the-search-syntax#query-for-dates)." @@ -54151,7 +54318,7 @@ paths: schema: type: string format: date-time - - &378 + - &380 name: exclude_pull_requests description: If `true` pull requests are omitted from the response (empty array). @@ -54160,13 +54327,13 @@ paths: schema: type: boolean default: false - - &400 + - &402 name: check_suite_id description: Returns workflow runs with the `check_suite_id` that you specify. in: query schema: type: integer - - &401 + - &403 name: head_sha description: Only returns workflow runs that are associated with the specified `head_sha`. @@ -54189,7 +54356,7 @@ paths: type: integer workflow_runs: type: array - items: &379 + items: &381 title: Workflow Run description: An invocation of a workflow type: object @@ -54284,7 +54451,7 @@ paths: that triggered the run. type: array nullable: true - items: *91 + items: *93 created_at: type: string format: date-time @@ -54337,7 +54504,7 @@ paths: title: Simple Commit description: A commit. type: object - properties: &423 + properties: &425 id: type: string description: SHA for the commit @@ -54388,7 +54555,7 @@ paths: - name - email nullable: true - required: &424 + required: &426 - id - tree_id - message @@ -54396,8 +54563,8 @@ paths: - author - committer nullable: true - repository: *159 - head_repository: *159 + repository: *161 + head_repository: *161 head_repository_id: type: integer example: 5 @@ -54435,7 +54602,7 @@ paths: - workflow_url - pull_requests examples: - default: &402 + default: &404 value: total_count: 1 workflow_runs: @@ -54649,7 +54816,7 @@ paths: 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 headers: - Link: *68 + Link: *70 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -54671,24 +54838,24 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-a-workflow-run parameters: - - *342 - - *343 - - &380 + - *344 + - *345 + - &382 name: run_id description: The unique identifier of the workflow run. in: path required: true schema: type: integer - - *378 + - *380 responses: '200': description: Response content: application/json: - schema: *379 + schema: *381 examples: - default: &383 + default: &385 value: id: 30433642 name: Build @@ -54929,9 +55096,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#delete-a-workflow-run parameters: - - *342 - - *343 - - *380 + - *344 + - *345 + - *382 responses: '204': description: Response @@ -54954,9 +55121,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-the-review-history-for-a-workflow-run parameters: - - *342 - - *343 - - *380 + - *344 + - *345 + - *382 responses: '200': description: Response @@ -55075,15 +55242,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#approve-a-workflow-run-for-a-fork-pull-request parameters: - - *342 - - *343 - - *380 + - *344 + - *345 + - *382 responses: '201': description: Response content: application/json: - schema: *168 + schema: *170 examples: default: value: @@ -55110,12 +55277,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#list-workflow-run-artifacts parameters: - - *342 - - *343 - - *380 + - *344 + - *345 + - *382 - *17 - *19 - - *381 + - *383 - *62 responses: '200': @@ -55132,11 +55299,11 @@ paths: type: integer artifacts: type: array - items: *349 + items: *351 examples: - default: *382 + default: *384 headers: - Link: *68 + Link: *70 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -55158,25 +55325,25 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-a-workflow-run-attempt parameters: - - *342 - - *343 - - *380 - - &384 + - *344 + - *345 + - *382 + - &386 name: attempt_number description: The attempt number of the workflow run. in: path required: true schema: type: integer - - *378 + - *380 responses: '200': description: Response content: application/json: - schema: *379 + schema: *381 examples: - default: *383 + default: *385 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -55199,10 +55366,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#list-jobs-for-a-workflow-run-attempt parameters: - - *342 - - *343 - - *380 - - *384 + - *344 + - *345 + - *382 + - *386 - *17 - *19 responses: @@ -55220,9 +55387,9 @@ paths: type: integer jobs: type: array - items: *385 + items: *387 examples: - default: &386 + default: &388 value: total_count: 1 jobs: @@ -55311,7 +55478,7 @@ paths: workflow_name: CI head_branch: main headers: - Link: *68 + Link: *70 '404': *6 x-github: githubCloudOnly: false @@ -55335,10 +55502,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#download-workflow-run-attempt-logs parameters: - - *342 - - *343 - - *380 - - *384 + - *344 + - *345 + - *382 + - *386 responses: '302': description: Response @@ -55366,15 +55533,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#cancel-a-workflow-run parameters: - - *342 - - *343 - - *380 + - *344 + - *345 + - *382 responses: '202': description: Response content: application/json: - schema: *168 + schema: *170 examples: default: value: @@ -55401,9 +55568,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#review-custom-deployment-protection-rules-for-a-workflow-run parameters: - - *342 - - *343 - - *380 + - *344 + - *345 + - *382 requestBody: required: true content: @@ -55470,15 +55637,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#force-cancel-a-workflow-run parameters: - - *342 - - *343 - - *380 + - *344 + - *345 + - *382 responses: '202': description: Response content: application/json: - schema: *168 + schema: *170 examples: default: value: @@ -55505,9 +55672,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#list-jobs-for-a-workflow-run parameters: - - *342 - - *343 - - *380 + - *344 + - *345 + - *382 - name: filter description: Filters jobs by their `completed_at` timestamp. `latest` returns jobs from the most recent execution of the workflow run. `all` returns all @@ -55537,11 +55704,11 @@ paths: type: integer jobs: type: array - items: *385 + items: *387 examples: - default: *386 + default: *388 headers: - Link: *68 + Link: *70 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -55564,9 +55731,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#download-workflow-run-logs parameters: - - *342 - - *343 - - *380 + - *344 + - *345 + - *382 responses: '302': description: Response @@ -55593,9 +55760,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#delete-workflow-run-logs parameters: - - *342 - - *343 - - *380 + - *344 + - *345 + - *382 responses: '204': description: Response @@ -55622,9 +55789,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-pending-deployments-for-a-workflow-run parameters: - - *342 - - *343 - - *380 + - *344 + - *345 + - *382 responses: '200': description: Response @@ -55684,7 +55851,7 @@ paths: items: type: object properties: - type: &511 + type: &513 type: string description: The type of reviewer. enum: @@ -55694,7 +55861,7 @@ paths: reviewer: anyOf: - *4 - - *195 + - *197 required: - environment - wait_timer @@ -55769,9 +55936,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#review-pending-deployments-for-a-workflow-run parameters: - - *342 - - *343 - - *380 + - *344 + - *345 + - *382 requestBody: required: true content: @@ -55818,12 +55985,12 @@ paths: application/json: schema: type: array - items: &506 + items: &508 title: Deployment description: A request for a specific ref(branch,sha,tag) to be deployed type: object - properties: &752 + properties: &754 url: type: string format: uri @@ -55906,9 +56073,9 @@ paths: first class actors within GitHub. type: object nullable: true - properties: *81 - required: *82 - required: &753 + properties: *83 + required: *84 + required: &755 - id - node_id - sha @@ -55924,7 +56091,7 @@ paths: - created_at - updated_at examples: - default: &507 + default: &509 value: - url: https://api.github.com/repos/octocat/example/deployments/1 id: 1 @@ -55980,9 +56147,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#re-run-a-workflow parameters: - - *342 - - *343 - - *380 + - *344 + - *345 + - *382 requestBody: required: false content: @@ -56003,7 +56170,7 @@ paths: description: Response content: application/json: - schema: *168 + schema: *170 examples: default: value: @@ -56026,9 +56193,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#re-run-failed-jobs-from-a-workflow-run parameters: - - *342 - - *343 - - *380 + - *344 + - *345 + - *382 requestBody: required: false content: @@ -56049,7 +56216,7 @@ paths: description: Response content: application/json: - schema: *168 + schema: *170 examples: default: value: @@ -56081,9 +56248,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-workflow-run-usage parameters: - - *342 - - *343 - - *380 + - *344 + - *345 + - *382 responses: '200': description: Response @@ -56220,8 +56387,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-repository-secrets parameters: - - *342 - - *343 + - *344 + - *345 - *17 - *19 responses: @@ -56239,11 +56406,11 @@ paths: type: integer secrets: type: array - items: *387 + items: *389 examples: - default: *388 + default: *390 headers: - Link: *68 + Link: *70 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -56266,16 +56433,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-a-repository-public-key parameters: - - *342 - - *343 + - *344 + - *345 responses: '200': description: Response content: application/json: - schema: *389 + schema: *391 examples: - default: *390 + default: *392 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -56297,17 +56464,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-a-repository-secret parameters: - - *342 - - *343 - - *167 + - *344 + - *345 + - *169 responses: '200': description: Response content: application/json: - schema: *387 + schema: *389 examples: - default: &524 + default: &526 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -56333,9 +56500,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#create-or-update-a-repository-secret parameters: - - *342 - - *343 - - *167 + - *344 + - *345 + - *169 requestBody: required: true content: @@ -56366,7 +56533,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *168 + schema: *170 examples: default: value: @@ -56392,9 +56559,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#delete-a-repository-secret parameters: - - *342 - - *343 - - *167 + - *344 + - *345 + - *169 responses: '204': description: Response @@ -56419,9 +56586,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-repository-variables parameters: - - *342 - - *343 - - *358 + - *344 + - *345 + - *360 - *19 responses: '200': @@ -56438,11 +56605,11 @@ paths: type: integer variables: type: array - items: *391 + items: *393 examples: - default: *392 + default: *394 headers: - Link: *68 + Link: *70 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -56463,8 +56630,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#create-a-repository-variable parameters: - - *342 - - *343 + - *344 + - *345 requestBody: required: true content: @@ -56491,7 +56658,7 @@ paths: description: Response content: application/json: - schema: *168 + schema: *170 examples: default: value: @@ -56516,17 +56683,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#get-a-repository-variable parameters: - - *342 - - *343 - - *170 + - *344 + - *345 + - *172 responses: '200': description: Response content: application/json: - schema: *391 + schema: *393 examples: - default: &525 + default: &527 value: name: USERNAME value: octocat @@ -56552,9 +56719,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#update-a-repository-variable parameters: - - *342 - - *343 - - *170 + - *344 + - *345 + - *172 requestBody: required: true content: @@ -56596,9 +56763,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#delete-a-repository-variable parameters: - - *342 - - *343 - - *170 + - *344 + - *345 + - *172 responses: '204': description: Response @@ -56623,8 +56790,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#list-repository-workflows parameters: - - *342 - - *343 + - *344 + - *345 - *17 - *19 responses: @@ -56642,7 +56809,7 @@ paths: type: integer workflows: type: array - items: &393 + items: &395 title: Workflow description: A GitHub Actions workflow type: object @@ -56726,7 +56893,7 @@ paths: 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 headers: - Link: *68 + Link: *70 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -56749,9 +56916,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#get-a-workflow parameters: - - *342 - - *343 - - &394 + - *344 + - *345 + - &396 name: workflow_id in: path description: The ID of the workflow. You can also pass the workflow file name @@ -56766,7 +56933,7 @@ paths: description: Response content: application/json: - schema: *393 + schema: *395 examples: default: value: @@ -56799,9 +56966,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#disable-a-workflow parameters: - - *342 - - *343 - - *394 + - *344 + - *345 + - *396 responses: '204': description: Response @@ -56826,9 +56993,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#create-a-workflow-dispatch-event parameters: - - *342 - - *343 - - *394 + - *344 + - *345 + - *396 responses: '204': description: Empty response when `return_run_details` parameter is `false`. @@ -56915,9 +57082,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#enable-a-workflow parameters: - - *342 - - *343 - - *394 + - *344 + - *345 + - *396 responses: '204': description: Response @@ -56944,19 +57111,19 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#list-workflow-runs-for-a-workflow parameters: - - *342 - - *343 - - *394 - - *395 + - *344 + - *345 - *396 - *397 - *398 - - *17 - - *19 - *399 - - *378 - *400 + - *17 + - *19 - *401 + - *380 + - *402 + - *403 responses: '200': description: Response @@ -56972,11 +57139,11 @@ paths: type: integer workflow_runs: type: array - items: *379 + items: *381 examples: - default: *402 + default: *404 headers: - Link: *68 + Link: *70 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -57006,9 +57173,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#get-workflow-usage parameters: - - *342 - - *343 - - *394 + - *344 + - *345 + - *396 responses: '200': description: Response @@ -57069,8 +57236,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-activities parameters: - - *342 - - *343 + - *344 + - *345 - *62 - *17 - *47 @@ -57215,7 +57382,7 @@ paths: type: User site_admin: false headers: - Link: *68 + Link: *70 '422': *7 x-github: githubCloudOnly: false @@ -57234,8 +57401,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#list-assignees parameters: - - *342 - - *343 + - *344 + - *345 - *17 - *19 responses: @@ -57247,9 +57414,9 @@ paths: type: array items: *4 examples: - default: *71 + default: *73 headers: - Link: *68 + Link: *70 '404': *6 x-github: githubCloudOnly: false @@ -57272,8 +57439,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#check-if-a-user-can-be-assigned parameters: - - *342 - - *343 + - *344 + - *345 - name: assignee in: path required: true @@ -57309,8 +57476,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/attestations#create-an-attestation parameters: - - *342 - - *343 + - *344 + - *345 requestBody: required: true content: @@ -57420,8 +57587,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/attestations#list-attestations parameters: - - *342 - - *343 + - *344 + - *345 - *17 - *47 - *48 @@ -57478,7 +57645,7 @@ paths: initiator: type: string examples: - default: *403 + default: *405 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -57498,8 +57665,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#get-all-autolinks-of-a-repository parameters: - - *342 - - *343 + - *344 + - *345 responses: '200': description: Response @@ -57507,7 +57674,7 @@ paths: application/json: schema: type: array - items: &404 + items: &406 title: Autolink reference description: An autolink reference. type: object @@ -57561,8 +57728,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#create-an-autolink-reference-for-a-repository parameters: - - *342 - - *343 + - *344 + - *345 requestBody: required: true content: @@ -57601,9 +57768,9 @@ paths: description: response content: application/json: - schema: *404 + schema: *406 examples: - default: &405 + default: &407 value: id: 1 key_prefix: TICKET- @@ -57634,9 +57801,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#get-an-autolink-reference-of-a-repository parameters: - - *342 - - *343 - - &406 + - *344 + - *345 + - &408 name: autolink_id description: The unique identifier of the autolink. in: path @@ -57648,9 +57815,9 @@ paths: description: Response content: application/json: - schema: *404 + schema: *406 examples: - default: *405 + default: *407 '404': *6 x-github: githubCloudOnly: false @@ -57670,9 +57837,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#delete-an-autolink-reference-from-a-repository parameters: - - *342 - - *343 - - *406 + - *344 + - *345 + - *408 responses: '204': description: Response @@ -57696,8 +57863,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#check-if-dependabot-security-updates-are-enabled-for-a-repository parameters: - - *342 - - *343 + - *344 + - *345 responses: '200': description: Response if Dependabot is enabled @@ -57745,8 +57912,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-dependabot-security-updates parameters: - - *342 - - *343 + - *344 + - *345 responses: '204': description: Response @@ -57767,8 +57934,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-dependabot-security-updates parameters: - - *342 - - *343 + - *344 + - *345 responses: '204': description: Response @@ -57788,8 +57955,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#list-branches parameters: - - *342 - - *343 + - *344 + - *345 - name: protected description: Setting to `true` returns only branches protected by branch protections or rulesets. When set to `false`, only unprotected branches are returned. @@ -57827,7 +57994,7 @@ paths: - url protected: type: boolean - protection: &408 + protection: &410 title: Branch Protection description: Branch Protection type: object @@ -57869,7 +58036,7 @@ paths: required: - contexts - checks - enforce_admins: &411 + enforce_admins: &413 title: Protected Branch Admin Enforced description: Protected Branch Admin Enforced type: object @@ -57884,7 +58051,7 @@ paths: required: - url - enabled - required_pull_request_reviews: &413 + required_pull_request_reviews: &415 title: Protected Branch Pull Request Review description: Protected Branch Pull Request Review type: object @@ -57905,7 +58072,7 @@ paths: description: The list of teams with review dismissal access. type: array - items: *195 + items: *197 apps: description: The list of apps with review dismissal access. @@ -57934,7 +58101,7 @@ paths: description: The list of teams allowed to bypass pull request requirements. type: array - items: *195 + items: *197 apps: description: The list of apps allowed to bypass pull request requirements. @@ -57960,7 +58127,7 @@ paths: required: - dismiss_stale_reviews - require_code_owner_reviews - restrictions: &410 + restrictions: &412 title: Branch Restriction Policy description: Branch Restriction Policy type: object @@ -58023,7 +58190,7 @@ paths: type: string teams: type: array - items: *195 + items: *197 apps: type: array items: @@ -58219,7 +58386,7 @@ paths: - linter protection_url: https://api.github.com/repos/octocat/hello-world/branches/master/protection headers: - Link: *68 + Link: *70 '404': *6 x-github: githubCloudOnly: false @@ -58237,9 +58404,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#get-a-branch parameters: - - *342 - - *343 - - &409 + - *344 + - *345 + - &411 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/graphql). @@ -58253,14 +58420,14 @@ paths: description: Response content: application/json: - schema: &419 + schema: &421 title: Branch With Protection description: Branch With Protection type: object properties: name: type: string - commit: &476 + commit: &478 title: Commit description: Commit type: object @@ -58294,7 +58461,7 @@ paths: title: Git User description: Metaproperties for Git author/committer information. type: object - properties: &407 + properties: &409 name: type: string example: '"Chris Wanstrath"' @@ -58310,7 +58477,7 @@ paths: title: Git User description: Metaproperties for Git author/committer information. type: object - properties: *407 + properties: *409 nullable: true message: type: string @@ -58331,7 +58498,7 @@ paths: required: - sha - url - verification: &531 + verification: &533 title: Verification type: object properties: @@ -58365,12 +58532,12 @@ paths: nullable: true oneOf: - *4 - - *168 + - *170 committer: nullable: true oneOf: - *4 - - *168 + - *170 parents: type: array items: @@ -58401,7 +58568,7 @@ paths: type: integer files: type: array - items: &489 + items: &491 title: Diff Entry description: Diff Entry type: object @@ -58485,7 +58652,7 @@ paths: - self protected: type: boolean - protection: *408 + protection: *410 protection_url: type: string format: uri @@ -58592,7 +58759,7 @@ paths: contexts: [] checks: [] protection_url: https://api.github.com/repos/octocat/Hello-World/branches/main/protection - '301': *346 + '301': *348 '404': *6 x-github: githubCloudOnly: false @@ -58614,15 +58781,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-branch-protection parameters: - - *342 - - *343 - - *409 + - *344 + - *345 + - *411 responses: '200': description: Response content: application/json: - schema: *408 + schema: *410 examples: default: value: @@ -58816,9 +58983,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#update-branch-protection parameters: - - *342 - - *343 - - *409 + - *344 + - *345 + - *411 requestBody: required: true content: @@ -59073,7 +59240,7 @@ paths: url: type: string format: uri - required_status_checks: &416 + required_status_checks: &418 title: Status Check Policy description: Status Check Policy type: object @@ -59149,7 +59316,7 @@ paths: items: *4 teams: type: array - items: *195 + items: *197 apps: type: array items: *5 @@ -59167,7 +59334,7 @@ paths: items: *4 teams: type: array - items: *195 + items: *197 apps: type: array items: *5 @@ -59225,7 +59392,7 @@ paths: additionalProperties: false required: - enabled - restrictions: *410 + restrictions: *412 required_conversation_resolution: type: object properties: @@ -59337,9 +59504,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-branch-protection parameters: - - *342 - - *343 - - *409 + - *344 + - *345 + - *411 responses: '204': description: Response @@ -59364,17 +59531,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-admin-branch-protection parameters: - - *342 - - *343 - - *409 + - *344 + - *345 + - *411 responses: '200': description: Response content: application/json: - schema: *411 + schema: *413 examples: - default: &412 + default: &414 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/enforce_admins enabled: true @@ -59396,17 +59563,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-admin-branch-protection parameters: - - *342 - - *343 - - *409 + - *344 + - *345 + - *411 responses: '200': description: Response content: application/json: - schema: *411 + schema: *413 examples: - default: *412 + default: *414 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -59425,9 +59592,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-admin-branch-protection parameters: - - *342 - - *343 - - *409 + - *344 + - *345 + - *411 responses: '204': description: Response @@ -59452,17 +59619,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-pull-request-review-protection parameters: - - *342 - - *343 - - *409 + - *344 + - *345 + - *411 responses: '200': description: Response content: application/json: - schema: *413 + schema: *415 examples: - default: &414 + default: &416 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_pull_request_reviews dismissal_restrictions: @@ -59558,9 +59725,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#update-pull-request-review-protection parameters: - - *342 - - *343 - - *409 + - *344 + - *345 + - *411 requestBody: required: false content: @@ -59658,9 +59825,9 @@ paths: description: Response content: application/json: - schema: *413 + schema: *415 examples: - default: *414 + default: *416 '422': *15 x-github: githubCloudOnly: false @@ -59681,9 +59848,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-pull-request-review-protection parameters: - - *342 - - *343 - - *409 + - *344 + - *345 + - *411 responses: '204': description: Response @@ -59710,17 +59877,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-commit-signature-protection parameters: - - *342 - - *343 - - *409 + - *344 + - *345 + - *411 responses: '200': description: Response content: application/json: - schema: *411 + schema: *413 examples: - default: &415 + default: &417 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_signatures enabled: true @@ -59743,17 +59910,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#create-commit-signature-protection parameters: - - *342 - - *343 - - *409 + - *344 + - *345 + - *411 responses: '200': description: Response content: application/json: - schema: *411 + schema: *413 examples: - default: *415 + default: *417 '404': *6 x-github: githubCloudOnly: false @@ -59773,9 +59940,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-commit-signature-protection parameters: - - *342 - - *343 - - *409 + - *344 + - *345 + - *411 responses: '204': description: Response @@ -59800,17 +59967,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-status-checks-protection parameters: - - *342 - - *343 - - *409 + - *344 + - *345 + - *411 responses: '200': description: Response content: application/json: - schema: *416 + schema: *418 examples: - default: &417 + default: &419 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_status_checks strict: true @@ -59836,9 +60003,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#update-status-check-protection parameters: - - *342 - - *343 - - *409 + - *344 + - *345 + - *411 requestBody: required: false content: @@ -59890,9 +60057,9 @@ paths: description: Response content: application/json: - schema: *416 + schema: *418 examples: - default: *417 + default: *419 '404': *6 '422': *15 x-github: @@ -59914,9 +60081,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-status-check-protection parameters: - - *342 - - *343 - - *409 + - *344 + - *345 + - *411 responses: '204': description: Response @@ -59940,9 +60107,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-all-status-check-contexts parameters: - - *342 - - *343 - - *409 + - *344 + - *345 + - *411 responses: '200': description: Response @@ -59976,9 +60143,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-status-check-contexts parameters: - - *342 - - *343 - - *409 + - *344 + - *345 + - *411 requestBody: required: false content: @@ -60045,9 +60212,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-status-check-contexts parameters: - - *342 - - *343 - - *409 + - *344 + - *345 + - *411 requestBody: required: false content: @@ -60111,9 +60278,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-status-check-contexts parameters: - - *342 - - *343 - - *409 + - *344 + - *345 + - *411 requestBody: content: application/json: @@ -60179,15 +60346,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-access-restrictions parameters: - - *342 - - *343 - - *409 + - *344 + - *345 + - *411 responses: '200': description: Response content: application/json: - schema: *410 + schema: *412 examples: default: value: @@ -60278,9 +60445,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-access-restrictions parameters: - - *342 - - *343 - - *409 + - *344 + - *345 + - *411 responses: '204': description: Response @@ -60303,9 +60470,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-apps-with-access-to-the-protected-branch parameters: - - *342 - - *343 - - *409 + - *344 + - *345 + - *411 responses: '200': description: Response @@ -60315,7 +60482,7 @@ paths: type: array items: *5 examples: - default: &418 + default: &420 value: - id: 1 slug: octoapp @@ -60372,9 +60539,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-app-access-restrictions parameters: - - *342 - - *343 - - *409 + - *344 + - *345 + - *411 requestBody: required: true content: @@ -60408,7 +60575,7 @@ paths: type: array items: *5 examples: - default: *418 + default: *420 '422': *15 x-github: githubCloudOnly: false @@ -60429,9 +60596,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-app-access-restrictions parameters: - - *342 - - *343 - - *409 + - *344 + - *345 + - *411 requestBody: required: true content: @@ -60465,7 +60632,7 @@ paths: type: array items: *5 examples: - default: *418 + default: *420 '422': *15 x-github: githubCloudOnly: false @@ -60486,9 +60653,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-app-access-restrictions parameters: - - *342 - - *343 - - *409 + - *344 + - *345 + - *411 requestBody: required: true content: @@ -60522,7 +60689,7 @@ paths: type: array items: *5 examples: - default: *418 + default: *420 '422': *15 x-github: githubCloudOnly: false @@ -60544,9 +60711,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-teams-with-access-to-the-protected-branch parameters: - - *342 - - *343 - - *409 + - *344 + - *345 + - *411 responses: '200': description: Response @@ -60554,9 +60721,9 @@ paths: application/json: schema: type: array - items: *195 + items: *197 examples: - default: *259 + default: *261 '404': *6 x-github: githubCloudOnly: false @@ -60576,9 +60743,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-team-access-restrictions parameters: - - *342 - - *343 - - *409 + - *344 + - *345 + - *411 requestBody: required: false content: @@ -60614,9 +60781,9 @@ paths: application/json: schema: type: array - items: *195 + items: *197 examples: - default: *259 + default: *261 '422': *15 x-github: githubCloudOnly: false @@ -60637,9 +60804,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-team-access-restrictions parameters: - - *342 - - *343 - - *409 + - *344 + - *345 + - *411 requestBody: required: false content: @@ -60675,9 +60842,9 @@ paths: application/json: schema: type: array - items: *195 + items: *197 examples: - default: *259 + default: *261 '422': *15 x-github: githubCloudOnly: false @@ -60698,9 +60865,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-team-access-restrictions parameters: - - *342 - - *343 - - *409 + - *344 + - *345 + - *411 requestBody: content: application/json: @@ -60735,9 +60902,9 @@ paths: application/json: schema: type: array - items: *195 + items: *197 examples: - default: *259 + default: *261 '422': *15 x-github: githubCloudOnly: false @@ -60759,9 +60926,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-users-with-access-to-the-protected-branch parameters: - - *342 - - *343 - - *409 + - *344 + - *345 + - *411 responses: '200': description: Response @@ -60771,7 +60938,7 @@ paths: type: array items: *4 examples: - default: *71 + default: *73 '404': *6 x-github: githubCloudOnly: false @@ -60795,9 +60962,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-user-access-restrictions parameters: - - *342 - - *343 - - *409 + - *344 + - *345 + - *411 requestBody: required: true content: @@ -60830,7 +60997,7 @@ paths: type: array items: *4 examples: - default: *71 + default: *73 '422': *15 x-github: githubCloudOnly: false @@ -60855,9 +61022,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-user-access-restrictions parameters: - - *342 - - *343 - - *409 + - *344 + - *345 + - *411 requestBody: required: true content: @@ -60890,7 +61057,7 @@ paths: type: array items: *4 examples: - default: *71 + default: *73 '422': *15 x-github: githubCloudOnly: false @@ -60915,9 +61082,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-user-access-restrictions parameters: - - *342 - - *343 - - *409 + - *344 + - *345 + - *411 requestBody: required: true content: @@ -60950,7 +61117,7 @@ paths: type: array items: *4 examples: - default: *71 + default: *73 '422': *15 x-github: githubCloudOnly: false @@ -60977,9 +61144,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#rename-a-branch parameters: - - *342 - - *343 - - *409 + - *344 + - *345 + - *411 requestBody: required: true content: @@ -61001,7 +61168,7 @@ paths: description: Response content: application/json: - schema: *419 + schema: *421 examples: default: value: @@ -61117,8 +61284,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#create-a-check-run parameters: - - *342 - - *343 + - *344 + - *345 requestBody: required: true content: @@ -61397,7 +61564,7 @@ paths: description: Response content: application/json: - schema: &420 + schema: &422 title: CheckRun description: A check performed on the code of a given code change type: object @@ -61508,16 +61675,16 @@ paths: first class actors within GitHub. type: object nullable: true - properties: *81 - required: *82 + properties: *83 + required: *84 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: *91 - deployment: &745 + items: *93 + deployment: &747 title: Deployment description: A deployment created as the result of an Actions check run from a workflow that references an environment @@ -61584,8 +61751,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *81 - required: *82 + properties: *83 + required: *84 required: - id - node_id @@ -61797,9 +61964,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#get-a-check-run parameters: - - *342 - - *343 - - &421 + - *344 + - *345 + - &423 name: check_run_id description: The unique identifier of the check run. in: path @@ -61811,9 +61978,9 @@ paths: description: Response content: application/json: - schema: *420 + schema: *422 examples: - default: &422 + default: &424 value: id: 4 head_sha: ce587453ced02b1526dfb4cb910479d431683101 @@ -61913,9 +62080,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#update-a-check-run parameters: - - *342 - - *343 - - *421 + - *344 + - *345 + - *423 requestBody: required: true content: @@ -62155,9 +62322,9 @@ paths: description: Response content: application/json: - schema: *420 + schema: *422 examples: - default: *422 + default: *424 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -62177,9 +62344,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#list-check-run-annotations parameters: - - *342 - - *343 - - *421 + - *344 + - *345 + - *423 - *17 - *19 responses: @@ -62254,7 +62421,7 @@ paths: raw_details: Do you mean 'bananas' or 'banana'? blob_href: https://api.github.com/repos/github/rest-api-description/git/blobs/abc headers: - Link: *68 + Link: *70 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -62274,15 +62441,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#rerequest-a-check-run parameters: - - *342 - - *343 - - *421 + - *344 + - *345 + - *423 responses: '201': description: Response content: application/json: - schema: *168 + schema: *170 examples: default: value: @@ -62320,8 +62487,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#create-a-check-suite parameters: - - *342 - - *343 + - *344 + - *345 requestBody: required: true content: @@ -62343,7 +62510,7 @@ paths: description: Response when the suite already exists content: application/json: - schema: &425 + schema: &427 title: CheckSuite description: A suite of checks performed on the code of a given code change @@ -62407,7 +62574,7 @@ paths: nullable: true pull_requests: type: array - items: *91 + items: *93 nullable: true app: title: GitHub app @@ -62418,9 +62585,9 @@ paths: first class actors within GitHub. type: object nullable: true - properties: *81 - required: *82 - repository: *159 + properties: *83 + required: *84 + repository: *161 created_at: type: string format: date-time @@ -62429,12 +62596,12 @@ paths: type: string format: date-time nullable: true - head_commit: &773 + head_commit: &775 title: Simple Commit description: A commit. type: object - properties: *423 - required: *424 + properties: *425 + required: *426 latest_check_runs_count: type: integer check_runs_url: @@ -62462,7 +62629,7 @@ paths: - check_runs_url - pull_requests examples: - default: &426 + default: &428 value: id: 5 node_id: MDEwOkNoZWNrU3VpdGU1 @@ -62753,9 +62920,9 @@ paths: description: Response when the suite was created content: application/json: - schema: *425 + schema: *427 examples: - default: *426 + default: *428 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -62774,8 +62941,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#update-repository-preferences-for-check-suites parameters: - - *342 - - *343 + - *344 + - *345 requestBody: required: true content: @@ -62836,7 +63003,7 @@ paths: required: - app_id - setting - repository: *159 + repository: *161 examples: default: value: @@ -63084,9 +63251,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#get-a-check-suite parameters: - - *342 - - *343 - - &427 + - *344 + - *345 + - &429 name: check_suite_id description: The unique identifier of the check suite. in: path @@ -63098,9 +63265,9 @@ paths: description: Response content: application/json: - schema: *425 + schema: *427 examples: - default: *426 + default: *428 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -63123,17 +63290,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#list-check-runs-in-a-check-suite parameters: - - *342 - - *343 - - *427 - - &482 + - *344 + - *345 + - *429 + - &484 name: check_name description: Returns check runs with the specified `name`. in: query required: false schema: type: string - - &483 + - &485 name: status description: Returns check runs with the specified `status`. in: query @@ -63172,9 +63339,9 @@ paths: type: integer check_runs: type: array - items: *420 + items: *422 examples: - default: &484 + default: &486 value: total_count: 1 check_runs: @@ -63256,7 +63423,7 @@ paths: url: https://api.github.com/repos/github/hello-world name: hello-world headers: - Link: *68 + Link: *70 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -63276,15 +63443,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#rerequest-a-check-suite parameters: - - *342 - - *343 - - *427 + - *344 + - *345 + - *429 responses: '201': description: Response content: application/json: - schema: *168 + schema: *170 examples: default: value: @@ -63311,21 +63478,21 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-code-scanning-alerts-for-a-repository parameters: - - *342 - - *343 - - *428 - - *429 + - *344 + - *345 + - *430 + - *431 - *19 - *17 - - &446 + - &448 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: *430 - - &447 + schema: *432 + - &449 name: pr description: The number of the pull request for the results you want to list. in: query @@ -63350,13 +63517,13 @@ paths: be returned. in: query required: false - schema: *431 + schema: *433 - name: severity description: If specified, only code scanning alerts with this severity will be returned. in: query required: false - schema: *432 + schema: *434 - name: assignees description: | Filter alerts by assignees. Provide a comma-separated list of user handles (e.g., `octocat` or `octocat,hubot`). @@ -63375,14 +63542,14 @@ paths: items: type: object properties: - number: *177 - created_at: *178 - updated_at: *179 - url: *180 - html_url: *181 - instances_url: *433 - state: *186 - fixed_at: *182 + number: *179 + created_at: *180 + updated_at: *181 + url: *182 + html_url: *183 + instances_url: *435 + state: *188 + fixed_at: *184 dismissed_by: title: Simple User description: A GitHub user. @@ -63390,12 +63557,12 @@ paths: properties: *20 required: *21 nullable: true - dismissed_at: *183 - dismissed_reason: *434 - dismissed_comment: *435 - rule: *436 - tool: *437 - most_recent_instance: *438 + dismissed_at: *185 + dismissed_reason: *436 + dismissed_comment: *437 + rule: *438 + tool: *439 + most_recent_instance: *440 dismissal_approved_by: title: Simple User description: A GitHub user. @@ -63521,14 +63688,14 @@ paths: classifications: [] instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/3/instances '304': *37 - '403': &439 + '403': &441 description: Response if GitHub Advanced Security is not enabled for this repository content: application/json: schema: *3 '404': *6 - '503': *120 + '503': *122 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -63548,9 +63715,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-a-code-scanning-alert parameters: - - *342 - - *343 - - &440 + - *344 + - *345 + - &442 name: alert_number in: path description: The number that identifies an alert. You can find this at the @@ -63558,23 +63725,23 @@ paths: field in the response from the `GET /repos/{owner}/{repo}/code-scanning/alerts` operation. required: true - schema: *177 + schema: *179 responses: '200': description: Response content: application/json: - schema: &441 + schema: &443 type: object properties: - number: *177 - created_at: *178 - updated_at: *179 - url: *180 - html_url: *181 - instances_url: *433 - state: *186 - fixed_at: *182 + number: *179 + created_at: *180 + updated_at: *181 + url: *182 + html_url: *183 + instances_url: *435 + state: *188 + fixed_at: *184 dismissed_by: title: Simple User description: A GitHub user. @@ -63582,9 +63749,9 @@ paths: properties: *20 required: *21 nullable: true - dismissed_at: *183 - dismissed_reason: *434 - dismissed_comment: *435 + dismissed_at: *185 + dismissed_reason: *436 + dismissed_comment: *437 rule: type: object properties: @@ -63638,8 +63805,8 @@ paths: type: string description: A link to the documentation for the rule used to detect the alert. - tool: *437 - most_recent_instance: *438 + tool: *439 + most_recent_instance: *440 dismissal_approved_by: title: Simple User description: A GitHub user. @@ -63738,9 +63905,9 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '304': *37 - '403': *439 + '403': *441 '404': *6 - '503': *120 + '503': *122 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -63758,9 +63925,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#update-a-code-scanning-alert parameters: - - *342 - - *343 - - *440 + - *344 + - *345 + - *442 requestBody: required: true content: @@ -63775,8 +63942,8 @@ paths: enum: - open - dismissed - dismissed_reason: *434 - dismissed_comment: *435 + dismissed_reason: *436 + dismissed_comment: *437 create_request: type: boolean description: If `true`, attempt to create an alert dismissal request. @@ -63804,7 +63971,7 @@ paths: description: Response content: application/json: - schema: *441 + schema: *443 examples: default: value: @@ -63880,14 +64047,14 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '400': *14 - '403': &445 + '403': &447 description: Response if the repository is archived or if GitHub Advanced Security is not enabled for this repository content: application/json: schema: *3 '404': *6 - '503': *120 + '503': *122 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -63907,15 +64074,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-the-status-of-an-autofix-for-a-code-scanning-alert parameters: - - *342 - - *343 - - *440 + - *344 + - *345 + - *442 responses: '200': description: Response content: application/json: - schema: &442 + schema: &444 type: object properties: status: @@ -63941,13 +64108,13 @@ paths: - description - started_at examples: - default: &443 + default: &445 value: status: success description: This fixes an XSS vulnerability by escaping the user input. started_at: '2024-02-14T12:29:18Z' - '400': &444 + '400': &446 description: Bad Request content: application/json: @@ -63958,9 +64125,9 @@ paths: message: The alert_number is not valid documentation_url: https://docs.github.com/rest/code-scanning/code-scanning#get-the-status-of-an-autofix-for-a-code-scanning-alert status: '400' - '403': *439 + '403': *441 '404': *6 - '503': *120 + '503': *122 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -63983,29 +64150,29 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#create-an-autofix-for-a-code-scanning-alert parameters: - - *342 - - *343 - - *440 + - *344 + - *345 + - *442 responses: '200': description: OK content: application/json: - schema: *442 + schema: *444 examples: - default: *443 + default: *445 '202': description: Accepted content: application/json: - schema: *442 + schema: *444 examples: default: value: status: pending description: started_at: '2024-02-14T12:29:18Z' - '400': *444 + '400': *446 '403': description: Response if the repository is archived, if GitHub Advanced Security is not enabled for this repository or if rate limit is exceeded @@ -64015,7 +64182,7 @@ paths: '404': *6 '422': description: Unprocessable Entity - '503': *120 + '503': *122 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -64037,9 +64204,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#commit-an-autofix-for-a-code-scanning-alert parameters: - - *342 - - *343 - - *440 + - *344 + - *345 + - *442 requestBody: required: false content: @@ -64084,12 +64251,12 @@ paths: value: target_ref: refs/heads/main sha: 178f4f6090b3fccad4a65b3e83d076a622d59652 - '400': *444 - '403': *445 + '400': *446 + '403': *447 '404': *6 '422': description: Unprocessable Entity - '503': *120 + '503': *122 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -64109,13 +64276,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-instances-of-a-code-scanning-alert parameters: - - *342 - - *343 - - *440 + - *344 + - *345 + - *442 - *19 - *17 - - *446 - - *447 + - *448 + - *449 responses: '200': description: Response @@ -64126,10 +64293,10 @@ paths: items: type: object properties: - ref: *430 - analysis_key: *448 - environment: *449 - category: *450 + ref: *432 + analysis_key: *450 + environment: *451 + category: *452 state: type: string description: State of a code scanning alert instance. @@ -64144,7 +64311,7 @@ paths: properties: text: type: string - location: *451 + location: *453 html_url: type: string classifications: @@ -64152,7 +64319,7 @@ paths: description: |- Classifications that have been applied to the file that triggered the alert. For example identifying it as documentation, or a generated file. - items: *452 + items: *454 examples: default: value: @@ -64189,9 +64356,9 @@ paths: end_column: 50 classifications: - source - '403': *439 + '403': *441 '404': *6 - '503': *120 + '503': *122 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -64223,25 +64390,25 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-code-scanning-analyses-for-a-repository parameters: - - *342 - - *343 - - *428 - - *429 + - *344 + - *345 + - *430 + - *431 - *19 - *17 - - *447 + - *449 - name: ref in: query description: The Git reference for the analyses 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`. required: false - schema: *430 + schema: *432 - name: sarif_id in: query description: Filter analyses belonging to the same SARIF upload. required: false - schema: &453 + schema: &455 type: string description: An identifier for the upload. example: 6c81cd8e-b078-4ac3-a3be-1dad7dbd0b53 @@ -64262,23 +64429,23 @@ paths: application/json: schema: type: array - items: &454 + items: &456 type: object properties: - ref: *430 - commit_sha: &462 + ref: *432 + commit_sha: &464 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]+$" - analysis_key: *448 + analysis_key: *450 environment: type: string description: Identifies the variable values associated with the environment in which this analysis was performed. - category: *450 + category: *452 error: type: string example: error reading field xyz @@ -64302,8 +64469,8 @@ paths: description: The REST API URL of the analysis resource. format: uri readOnly: true - sarif_id: *453 - tool: *437 + sarif_id: *455 + tool: *439 deletable: type: boolean warning: @@ -64364,9 +64531,9 @@ paths: version: 1.2.0 deletable: true warning: '' - '403': *439 + '403': *441 '404': *6 - '503': *120 + '503': *122 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -64400,8 +64567,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-a-code-scanning-analysis-for-a-repository parameters: - - *342 - - *343 + - *344 + - *345 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -64414,7 +64581,7 @@ paths: description: Response content: application/json: - schema: *454 + schema: *456 examples: response: summary: application/json response @@ -64468,14 +64635,14 @@ paths: properties: - github/alertNumber: 2 - github/alertUrl: https://api.github.com/repos/monalisa/monalisa/code-scanning/alerts/2 - '403': *439 + '403': *441 '404': *6 '422': description: Response if analysis could not be processed content: application/json: schema: *3 - '503': *120 + '503': *122 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -64555,8 +64722,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#delete-a-code-scanning-analysis-from-a-repository parameters: - - *342 - - *343 + - *344 + - *345 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -64609,9 +64776,9 @@ paths: 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 '400': *14 - '403': *445 + '403': *447 '404': *6 - '503': *120 + '503': *122 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -64631,8 +64798,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-codeql-databases-for-a-repository parameters: - - *342 - - *343 + - *344 + - *345 responses: '200': description: Response @@ -64640,7 +64807,7 @@ paths: application/json: schema: type: array - items: &455 + items: &457 title: CodeQL Database description: A CodeQL database. type: object @@ -64751,9 +64918,9 @@ paths: updated_at: '2022-09-12T12:14:32Z' url: https://api.github.com/repos/octocat/Hello-World/code-scanning/codeql/databases/ruby commit_oid: 1927de39fefa25a9d0e64e3f540ff824a72f538c - '403': *439 + '403': *441 '404': *6 - '503': *120 + '503': *122 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -64780,8 +64947,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-a-codeql-database-for-a-repository parameters: - - *342 - - *343 + - *344 + - *345 - name: language in: path description: The language of the CodeQL database. @@ -64793,7 +64960,7 @@ paths: description: Response content: application/json: - schema: *455 + schema: *457 examples: default: value: @@ -64825,11 +64992,11 @@ paths: updated_at: '2022-09-12T12:14:32Z' url: https://api.github.com/repos/octocat/Hello-World/code-scanning/codeql/databases/java commit_oid: 1927de39fefa25a9d0e64e3f540ff824a72f538c - '302': &493 + '302': &495 description: Found - '403': *439 + '403': *441 '404': *6 - '503': *120 + '503': *122 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -64849,8 +65016,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#delete-a-codeql-database parameters: - - *342 - - *343 + - *344 + - *345 - name: language in: path description: The language of the CodeQL database. @@ -64860,9 +65027,9 @@ paths: responses: '204': description: Response - '403': *445 + '403': *447 '404': *6 - '503': *120 + '503': *122 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -64888,8 +65055,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#create-a-codeql-variant-analysis parameters: - - *342 - - *343 + - *344 + - *345 requestBody: required: true content: @@ -64898,7 +65065,7 @@ paths: type: object additionalProperties: false properties: - language: &456 + language: &458 type: string description: The language targeted by the CodeQL query enum: @@ -64978,7 +65145,7 @@ paths: description: Variant analysis submitted for processing content: application/json: - schema: &460 + schema: &462 title: Variant Analysis description: A run of a CodeQL query against one or more repositories. type: object @@ -64988,7 +65155,7 @@ paths: description: The ID of the variant analysis. controller_repo: *67 actor: *4 - query_language: *456 + query_language: *458 query_pack_url: type: string description: The download url for the query pack. @@ -65035,7 +65202,7 @@ paths: items: type: object properties: - repository: &457 + repository: &459 title: Repository Identifier description: Repository Identifier type: object @@ -65071,7 +65238,7 @@ paths: - private - stargazers_count - updated_at - analysis_status: &461 + analysis_status: &463 type: string description: The new status of the CodeQL variant analysis repository task. @@ -65103,7 +65270,7 @@ paths: from processing. This information is only available to the user that initiated the variant analysis. properties: - access_mismatch_repos: &458 + access_mismatch_repos: &460 type: object properties: repository_count: @@ -65117,7 +65284,7 @@ paths: This list may not include all repositories that were skipped. This is only available when the repository was found and the user has access to it. - items: *457 + items: *459 required: - repository_count - repositories @@ -65139,8 +65306,8 @@ paths: required: - repository_count - repository_full_names - no_codeql_db_repos: *458 - over_limit_repos: *458 + no_codeql_db_repos: *460 + over_limit_repos: *460 required: - access_mismatch_repos - not_found_repos @@ -65156,7 +65323,7 @@ paths: examples: repositories_parameter: summary: Response for a successful variant analysis submission - value: &459 + value: &461 summary: Default response value: id: 1 @@ -65302,17 +65469,17 @@ paths: private: false repository_owners: summary: Response for a successful variant analysis submission - value: *459 + value: *461 repository_lists: summary: Response for a successful variant analysis submission - value: *459 + value: *461 '404': *6 '422': description: Unable to process variant analysis submission content: application/json: schema: *3 - '503': *120 + '503': *122 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -65333,8 +65500,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-the-summary-of-a-codeql-variant-analysis parameters: - - *342 - - *343 + - *344 + - *345 - name: codeql_variant_analysis_id in: path description: The unique identifier of the variant analysis. @@ -65346,11 +65513,11 @@ paths: description: Response content: application/json: - schema: *460 + schema: *462 examples: - default: *459 + default: *461 '404': *6 - '503': *120 + '503': *122 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -65371,7 +65538,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-the-analysis-status-of-a-repository-in-a-codeql-variant-analysis parameters: - - *342 + - *344 - name: repo in: path description: The name of the controller repository. @@ -65406,7 +65573,7 @@ paths: type: object properties: repository: *67 - analysis_status: *461 + analysis_status: *463 artifact_size_in_bytes: type: integer description: The size of the artifact. This is only available @@ -65510,7 +65677,7 @@ paths: source_location_prefix: "/" artifact_url: https://example.com '404': *6 - '503': *120 + '503': *122 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -65531,8 +65698,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-a-code-scanning-default-setup-configuration parameters: - - *342 - - *343 + - *344 + - *345 responses: '200': description: Response @@ -65617,9 +65784,9 @@ paths: threat_model: remote updated_at: '2023-01-19T11:21:34Z' schedule: weekly - '403': *439 + '403': *441 '404': *6 - '503': *120 + '503': *122 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -65638,8 +65805,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#update-a-code-scanning-default-setup-configuration parameters: - - *342 - - *343 + - *344 + - *345 requestBody: required: true content: @@ -65706,7 +65873,7 @@ paths: description: Response content: application/json: - schema: *168 + schema: *170 examples: default: value: @@ -65731,7 +65898,7 @@ paths: value: run_id: 42 run_url: https://api.github.com/repos/octoorg/octocat/actions/runs/42 - '403': *445 + '403': *447 '404': *6 '409': description: Response if there is already a validation run in progress with @@ -65745,7 +65912,7 @@ paths: content: application/json: schema: *3 - '503': *120 + '503': *122 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -65802,8 +65969,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#upload-an-analysis-as-sarif-data parameters: - - *342 - - *343 + - *344 + - *345 requestBody: required: true content: @@ -65811,7 +65978,7 @@ paths: schema: type: object properties: - commit_sha: *462 + commit_sha: *464 ref: type: string description: |- @@ -65869,7 +66036,7 @@ paths: schema: type: object properties: - id: *453 + id: *455 url: type: string description: The REST API URL for checking the status of the upload. @@ -65883,11 +66050,11 @@ paths: url: https://api.github.com/repos/octocat/hello-world/code-scanning/sarifs/47177e22-5596-11eb-80a1-c1e54ef945c6 '400': description: Bad Request if the sarif field is invalid - '403': *445 + '403': *447 '404': *6 '413': description: Payload Too Large if the sarif field is too large - '503': *120 + '503': *122 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -65906,8 +66073,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-information-about-a-sarif-upload parameters: - - *342 - - *343 + - *344 + - *345 - name: sarif_id description: The SARIF ID obtained after uploading. in: path @@ -65953,10 +66120,10 @@ paths: value: processing_status: complete analyses_url: https://api.github.com/repos/octocat/hello-world/code-scanning/analyses?sarif_id=47177e22-5596-11eb-80a1-c1e54ef945c6 - '403': *439 + '403': *441 '404': description: Not Found if the sarif id does not match any upload - '503': *120 + '503': *122 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -65978,8 +66145,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#get-the-code-security-configuration-associated-with-a-repository parameters: - - *342 - - *343 + - *344 + - *345 responses: '200': description: Response @@ -66060,8 +66227,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-codeowners-errors parameters: - - *342 - - *343 + - *344 + - *345 - name: ref description: 'A branch, tag or commit name used to determine which version of the CODEOWNERS file to use. Default: the repository''s default branch @@ -66181,8 +66348,8 @@ paths: parameters: - *17 - *19 - - *342 - - *343 + - *344 + - *345 responses: '200': description: Response @@ -66198,7 +66365,7 @@ paths: type: integer codespaces: type: array - items: *247 + items: *249 examples: default: value: @@ -66496,8 +66663,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#create-a-codespace-in-a-repository parameters: - - *342 - - *343 + - *344 + - *345 requestBody: required: true content: @@ -66560,22 +66727,22 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *247 + schema: *249 examples: - default: *463 + default: *465 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *247 + schema: *249 examples: - default: *463 + default: *465 '400': *14 '401': *25 '403': *29 '404': *6 - '503': *120 + '503': *122 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -66599,8 +66766,8 @@ paths: parameters: - *17 - *19 - - *342 - - *343 + - *344 + - *345 responses: '200': description: Response @@ -66664,8 +66831,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/machines#list-available-machine-types-for-a-repository parameters: - - *342 - - *343 + - *344 + - *345 - name: location description: The location to check for available machines. Assigned by IP if not provided. @@ -66700,14 +66867,14 @@ paths: type: integer machines: type: array - items: &688 + items: &690 type: object title: Codespace machine description: A description of the machine powering a codespace. - properties: *464 - required: *465 + properties: *466 + required: *467 examples: - default: &689 + default: &691 value: total_count: 2 machines: @@ -66747,8 +66914,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#get-default-attributes-for-a-codespace parameters: - - *342 - - *343 + - *344 + - *345 - name: ref description: The branch or commit to check for a default devcontainer path. If not specified, the default branch will be checked. @@ -66832,8 +66999,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#check-if-permissions-defined-by-a-devcontainer-have-been-accepted-by-the-authenticated-user parameters: - - *342 - - *343 + - *344 + - *345 - name: ref description: The git reference that points to the location of the devcontainer configuration to use for the permission check. The value of `ref` will typically @@ -66878,7 +67045,7 @@ paths: '403': *29 '404': *6 '422': *15 - '503': *120 + '503': *122 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -66899,8 +67066,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#list-repository-secrets parameters: - - *342 - - *343 + - *344 + - *345 - *17 - *19 responses: @@ -66918,7 +67085,7 @@ paths: type: integer secrets: type: array - items: &469 + items: &471 title: Codespaces Secret description: Set repository secrets for GitHub Codespaces. type: object @@ -66938,9 +67105,9 @@ paths: - created_at - updated_at examples: - default: *466 + default: *468 headers: - Link: *68 + Link: *70 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -66961,16 +67128,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#get-a-repository-public-key parameters: - - *342 - - *343 + - *344 + - *345 responses: '200': description: Response content: application/json: - schema: *467 + schema: *469 examples: - default: *468 + default: *470 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -66990,17 +67157,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#get-a-repository-secret parameters: - - *342 - - *343 - - *167 + - *344 + - *345 + - *169 responses: '200': description: Response content: application/json: - schema: *469 + schema: *471 examples: - default: *470 + default: *472 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -67020,9 +67187,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#create-or-update-a-repository-secret parameters: - - *342 - - *343 - - *167 + - *344 + - *345 + - *169 requestBody: required: true content: @@ -67050,7 +67217,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *168 + schema: *170 examples: default: value: @@ -67074,9 +67241,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#delete-a-repository-secret parameters: - - *342 - - *343 - - *167 + - *344 + - *345 + - *169 responses: '204': description: Response @@ -67104,8 +67271,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#list-repository-collaborators parameters: - - *342 - - *343 + - *344 + - *345 - name: affiliation description: Filter collaborators returned by their affiliation. `outside` means all outside collaborators of an organization-owned repository. `direct` @@ -67147,7 +67314,7 @@ paths: title: Collaborator description: Collaborator type: object - properties: &471 + properties: &473 login: type: string example: octocat @@ -67240,7 +67407,7 @@ paths: user_view_type: type: string example: public - required: &472 + required: &474 - avatar_url - events_url - followers_url @@ -67289,7 +67456,7 @@ paths: admin: false role_name: write headers: - Link: *68 + Link: *70 '404': *6 x-github: githubCloudOnly: false @@ -67314,9 +67481,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#check-if-a-user-is-a-repository-collaborator parameters: - - *342 - - *343 - - *72 + - *344 + - *345 + - *74 responses: '204': description: Response if user is a collaborator @@ -67362,9 +67529,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#add-a-repository-collaborator parameters: - - *342 - - *343 - - *72 + - *344 + - *345 + - *74 requestBody: required: false content: @@ -67390,7 +67557,7 @@ paths: description: Response when a new invitation is created content: application/json: - schema: &544 + schema: &546 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -67401,7 +67568,7 @@ paths: example: 42 type: integer format: int64 - repository: *159 + repository: *161 invitee: title: Simple User description: A GitHub user. @@ -67579,7 +67746,7 @@ paths: - an Enterprise Managed User (EMU) account was invited to a repository in an enterprise with personal user accounts content: application/json: - schema: *128 + schema: *130 '403': *29 x-github: triggersNotification: true @@ -67619,9 +67786,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#remove-a-repository-collaborator parameters: - - *342 - - *343 - - *72 + - *344 + - *345 + - *74 responses: '204': description: No Content when collaborator was removed from the repository. @@ -67652,9 +67819,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#get-repository-permissions-for-a-user parameters: - - *342 - - *343 - - *72 + - *344 + - *345 + - *74 responses: '200': description: if user has admin permissions @@ -67674,8 +67841,8 @@ paths: title: Collaborator description: Collaborator type: object - properties: *471 - required: *472 + properties: *473 + required: *474 nullable: true required: - permission @@ -67730,8 +67897,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#list-commit-comments-for-a-repository parameters: - - *342 - - *343 + - *344 + - *345 - *17 - *19 responses: @@ -67741,7 +67908,7 @@ paths: application/json: schema: type: array - items: &473 + items: &475 title: Commit Comment description: Commit Comment type: object @@ -67782,8 +67949,8 @@ paths: updated_at: type: string format: date-time - author_association: *83 - reactions: *84 + author_association: *85 + reactions: *86 required: - url - html_url @@ -67799,7 +67966,7 @@ paths: - created_at - updated_at examples: - default: &478 + default: &480 value: - html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -67833,7 +68000,7 @@ paths: updated_at: '2011-04-14T16:00:49Z' author_association: COLLABORATOR headers: - Link: *68 + Link: *70 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -67858,17 +68025,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#get-a-commit-comment parameters: - - *342 - - *343 - - *102 + - *344 + - *345 + - *104 responses: '200': description: Response content: application/json: - schema: *473 + schema: *475 examples: - default: &479 + default: &481 value: html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -67925,9 +68092,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#update-a-commit-comment parameters: - - *342 - - *343 - - *102 + - *344 + - *345 + - *104 requestBody: required: true content: @@ -67949,7 +68116,7 @@ paths: description: Response content: application/json: - schema: *473 + schema: *475 examples: default: value: @@ -68000,9 +68167,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#delete-a-commit-comment parameters: - - *342 - - *343 - - *102 + - *344 + - *345 + - *104 responses: '204': description: Response @@ -68023,9 +68190,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-commit-comment parameters: - - *342 - - *343 - - *102 + - *344 + - *345 + - *104 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a commit comment. @@ -68051,7 +68218,7 @@ paths: application/json: schema: type: array - items: &474 + items: &476 title: Reaction description: Reactions to conversations provide a way to help people express their feelings more simply and effectively. @@ -68094,7 +68261,7 @@ paths: - content - created_at examples: - default: &548 + default: &550 value: - id: 1 node_id: MDg6UmVhY3Rpb24x @@ -68120,7 +68287,7 @@ paths: content: heart created_at: '2016-05-20T20:09:31Z' headers: - Link: *68 + Link: *70 '404': *6 x-github: githubCloudOnly: false @@ -68139,9 +68306,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-commit-comment parameters: - - *342 - - *343 - - *102 + - *344 + - *345 + - *104 requestBody: required: true content: @@ -68173,9 +68340,9 @@ paths: description: Reaction exists content: application/json: - schema: *474 + schema: *476 examples: - default: &475 + default: &477 value: id: 1 node_id: MDg6UmVhY3Rpb24x @@ -68204,9 +68371,9 @@ paths: description: Reaction created content: application/json: - schema: *474 + schema: *476 examples: - default: *475 + default: *477 '422': *15 x-github: githubCloudOnly: false @@ -68228,10 +68395,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-a-commit-comment-reaction parameters: - - *342 - - *343 - - *102 - - &549 + - *344 + - *345 + - *104 + - &551 name: reaction_id description: The unique identifier of the reaction. in: path @@ -68286,8 +68453,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#list-commits parameters: - - *342 - - *343 + - *344 + - *345 - name: sha description: 'SHA or branch to start listing commits from. Default: the repository’s default branch (usually `main`).' @@ -68343,9 +68510,9 @@ paths: application/json: schema: type: array - items: *476 + items: *478 examples: - default: &600 + default: &602 value: - url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -68415,7 +68582,7 @@ paths: - url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e headers: - Link: *68 + Link: *70 '500': *55 '400': *14 '404': *6 @@ -68439,9 +68606,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#list-branches-for-head-commit parameters: - - *342 - - *343 - - &477 + - *344 + - *345 + - &479 name: commit_sha description: The SHA of the commit. in: path @@ -68513,9 +68680,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#list-commit-comments parameters: - - *342 - - *343 - - *477 + - *344 + - *345 + - *479 - *17 - *19 responses: @@ -68525,11 +68692,11 @@ paths: application/json: schema: type: array - items: *473 + items: *475 examples: - default: *478 + default: *480 headers: - Link: *68 + Link: *70 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -68555,9 +68722,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#create-a-commit-comment parameters: - - *342 - - *343 - - *477 + - *344 + - *345 + - *479 requestBody: required: true content: @@ -68592,9 +68759,9 @@ paths: description: Response content: application/json: - schema: *473 + schema: *475 examples: - default: *479 + default: *481 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -68622,9 +68789,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#list-pull-requests-associated-with-a-commit parameters: - - *342 - - *343 - - *477 + - *344 + - *345 + - *479 - *17 - *19 responses: @@ -68634,9 +68801,9 @@ paths: application/json: schema: type: array - items: *480 + items: *482 examples: - default: &592 + default: &594 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -69115,7 +69282,7 @@ paths: auto_merge: draft: false headers: - Link: *68 + Link: *70 '409': *54 x-github: githubCloudOnly: false @@ -69173,11 +69340,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#get-a-commit parameters: - - *342 - - *343 + - *344 + - *345 - *19 - *17 - - &481 + - &483 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)" @@ -69192,9 +69359,9 @@ paths: description: Response content: application/json: - schema: *476 + schema: *478 examples: - default: &579 + default: &581 value: url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -69282,7 +69449,7 @@ paths: schema: type: string examples: - default: &490 + default: &492 value: | diff --git a/testfile b/testfile index 9bdeaeb..912c7ef 100644 @@ -69295,7 +69462,7 @@ paths: schema: type: string examples: - default: &491 + default: &493 value: | From ac3282a2725be3b1d4979169a7a311c89066af1c Mon Sep 17 00:00:00 2001 From: Mona Lisa <87831417+monalisa@users.noreply.github.com> @@ -69322,7 +69489,7 @@ paths: '422': *15 '404': *6 '500': *55 - '503': *120 + '503': *122 '409': *54 x-github: githubCloudOnly: false @@ -69348,11 +69515,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#list-check-runs-for-a-git-reference parameters: - - *342 - - *343 - - *481 - - *482 + - *344 + - *345 - *483 + - *484 + - *485 - name: filter description: Filters check runs by their `completed_at` timestamp. `latest` returns the most recent check runs. @@ -69386,11 +69553,11 @@ paths: type: integer check_runs: type: array - items: *420 + items: *422 examples: - default: *484 + default: *486 headers: - Link: *68 + Link: *70 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -69413,9 +69580,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#list-check-suites-for-a-git-reference parameters: - - *342 - - *343 - - *481 + - *344 + - *345 + - *483 - name: app_id description: Filters check suites by GitHub App `id`. in: query @@ -69423,7 +69590,7 @@ paths: schema: type: integer example: 1 - - *482 + - *484 - *17 - *19 responses: @@ -69441,7 +69608,7 @@ paths: type: integer check_suites: type: array - items: *425 + items: *427 examples: default: value: @@ -69616,7 +69783,7 @@ paths: latest_check_runs_count: 1 check_runs_url: https://api.github.com/repos/octocat/Hello-World/check-suites/5/check-runs headers: - Link: *68 + Link: *70 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -69641,9 +69808,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/statuses#get-the-combined-status-for-a-specific-reference parameters: - - *342 - - *343 - - *481 + - *344 + - *345 + - *483 - *17 - *19 responses: @@ -69710,7 +69877,7 @@ paths: type: string total_count: type: integer - repository: *159 + repository: *161 commit_url: type: string format: uri @@ -69841,9 +70008,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/statuses#list-commit-statuses-for-a-reference parameters: - - *342 - - *343 - - *481 + - *344 + - *345 + - *483 - *17 - *19 responses: @@ -69853,7 +70020,7 @@ paths: application/json: schema: type: array - items: &668 + items: &670 title: Status description: The status of a commit. type: object @@ -69933,8 +70100,8 @@ paths: type: User site_admin: false headers: - Link: *68 - '301': *346 + Link: *70 + '301': *348 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -69962,8 +70129,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/community#get-community-profile-metrics parameters: - - *342 - - *343 + - *344 + - *345 responses: '200': description: Response @@ -69992,20 +70159,20 @@ paths: title: Code Of Conduct Simple description: Code of Conduct Simple type: object - properties: *485 - required: *486 + properties: *487 + required: *488 nullable: true code_of_conduct_file: title: Community Health File type: object - properties: &487 + properties: &489 url: type: string format: uri html_url: type: string format: uri - required: &488 + required: &490 - url - html_url nullable: true @@ -70013,32 +70180,32 @@ paths: title: License Simple description: License Simple type: object - properties: *89 - required: *90 + properties: *91 + required: *92 nullable: true contributing: title: Community Health File type: object - properties: *487 - required: *488 + properties: *489 + required: *490 nullable: true readme: title: Community Health File type: object - properties: *487 - required: *488 + properties: *489 + required: *490 nullable: true issue_template: title: Community Health File type: object - properties: *487 - required: *488 + properties: *489 + required: *490 nullable: true pull_request_template: title: Community Health File type: object - properties: *487 - required: *488 + properties: *489 + required: *490 nullable: true required: - code_of_conduct @@ -70165,8 +70332,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#compare-two-commits parameters: - - *342 - - *343 + - *344 + - *345 - *19 - *17 - name: basehead @@ -70209,8 +70376,8 @@ paths: type: string format: uri example: https://github.com/octocat/Hello-World/compare/master...topic.patch - base_commit: *476 - merge_base_commit: *476 + base_commit: *478 + merge_base_commit: *478 status: type: string enum: @@ -70230,10 +70397,10 @@ paths: example: 6 commits: type: array - items: *476 + items: *478 files: type: array - items: *489 + items: *491 required: - url - html_url @@ -70479,15 +70646,15 @@ paths: schema: type: string examples: - default: *490 + default: *492 application/vnd.github.patch: schema: type: string examples: - default: *491 + default: *493 '404': *6 '500': *55 - '503': *120 + '503': *122 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -70529,8 +70696,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#get-repository-content parameters: - - *342 - - *343 + - *344 + - *345 - name: path description: path parameter in: path @@ -70690,7 +70857,7 @@ paths: - type - url examples: - response-if-content-is-a-file-github-object: &492 + response-if-content-is-a-file-github-object: &494 summary: Response if content is a file value: type: file @@ -70822,7 +70989,7 @@ paths: - size - type - url - - &605 + - &607 title: Content File description: Content File type: object @@ -71023,7 +71190,7 @@ paths: - url - submodule_git_url examples: - response-if-content-is-a-file: *492 + response-if-content-is-a-file: *494 response-if-content-is-a-directory: summary: Response if content is a directory and the application/json media type is requested @@ -71092,7 +71259,7 @@ paths: html: https://github.com/jquery/qunit/tree/6ca3721222109997540bd6d9ccd396902e0ad2f9 '404': *6 '403': *29 - '302': *493 + '302': *495 '304': *37 x-github: githubCloudOnly: false @@ -71115,8 +71282,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#create-or-update-file-contents parameters: - - *342 - - *343 + - *344 + - *345 - name: path description: path parameter in: path @@ -71209,7 +71376,7 @@ paths: description: Response content: application/json: - schema: &494 + schema: &496 title: File Commit description: File Commit type: object @@ -71361,7 +71528,7 @@ paths: description: Response content: application/json: - schema: *494 + schema: *496 examples: example-for-creating-a-file: value: @@ -71415,7 +71582,7 @@ paths: schema: oneOf: - *3 - - &526 + - &528 description: Repository rule violation was detected type: object properties: @@ -71436,7 +71603,7 @@ paths: items: type: object properties: - placeholder_id: &660 + placeholder_id: &662 description: The ID of the push protection bypass placeholder. This value is returned on any push protected routes. @@ -71468,8 +71635,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#delete-a-file parameters: - - *342 - - *343 + - *344 + - *345 - name: path description: path parameter in: path @@ -71530,7 +71697,7 @@ paths: description: Response content: application/json: - schema: *494 + schema: *496 examples: default: value: @@ -71565,7 +71732,7 @@ paths: '422': *15 '404': *6 '409': *54 - '503': *120 + '503': *122 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71585,8 +71752,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-contributors parameters: - - *342 - - *343 + - *344 + - *345 - name: anon description: Set to `1` or `true` to include anonymous contributors in results. in: query @@ -71686,7 +71853,7 @@ paths: site_admin: false contributions: 32 headers: - Link: *68 + Link: *70 '204': description: Response if repository is empty '403': *29 @@ -71709,24 +71876,24 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#list-dependabot-alerts-for-a-repository parameters: - - *342 - - *343 - - *197 - - *198 + - *344 + - *345 - *199 - *200 - *201 + - *202 + - *203 - 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 - - *202 - - *495 - - *203 - *204 + - *497 - *205 + - *206 + - *207 - *62 - *47 - *48 @@ -71738,11 +71905,11 @@ paths: application/json: schema: type: array - items: &499 + items: &501 type: object description: A Dependabot alert. properties: - number: *177 + number: *179 state: type: string description: The state of the Dependabot alert. @@ -71785,13 +71952,13 @@ paths: - direct - transitive - inconclusive - security_advisory: *496 + security_advisory: *498 security_vulnerability: *66 - url: *180 - html_url: *181 - created_at: *178 - updated_at: *179 - dismissed_at: *183 + url: *182 + html_url: *183 + created_at: *180 + updated_at: *181 + dismissed_at: *185 dismissed_by: title: Simple User description: A GitHub user. @@ -71815,9 +71982,9 @@ paths: dismissal. nullable: true maxLength: 280 - fixed_at: *182 - auto_dismissed_at: *497 - dismissal_request: *498 + fixed_at: *184 + auto_dismissed_at: *499 + dismissal_request: *500 assignees: type: array description: The users assigned to this alert. @@ -72072,9 +72239,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#get-a-dependabot-alert parameters: - - *342 - - *343 - - &500 + - *344 + - *345 + - &502 name: alert_number in: path description: |- @@ -72083,13 +72250,13 @@ paths: or in `number` fields in the response from the `GET /repos/{owner}/{repo}/dependabot/alerts` operation. required: true - schema: *177 + schema: *179 responses: '200': description: Response content: application/json: - schema: *499 + schema: *501 examples: default: value: @@ -72221,9 +72388,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#update-a-dependabot-alert parameters: - - *342 - - *343 - - *500 + - *344 + - *345 + - *502 requestBody: required: true content: @@ -72279,7 +72446,7 @@ paths: description: Response content: application/json: - schema: *499 + schema: *501 examples: default: value: @@ -72409,8 +72576,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#list-repository-secrets parameters: - - *342 - - *343 + - *344 + - *345 - *17 - *19 responses: @@ -72428,7 +72595,7 @@ paths: type: integer secrets: type: array - items: &503 + items: &505 title: Dependabot Secret description: Set secrets for Dependabot. type: object @@ -72459,7 +72626,7 @@ paths: created_at: '2020-01-10T10:59:22Z' updated_at: '2020-01-11T11:59:22Z' headers: - Link: *68 + Link: *70 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72481,16 +72648,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#get-a-repository-public-key parameters: - - *342 - - *343 + - *344 + - *345 responses: '200': description: Response content: application/json: - schema: *501 + schema: *503 examples: - default: *502 + default: *504 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72510,15 +72677,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#get-a-repository-secret parameters: - - *342 - - *343 - - *167 + - *344 + - *345 + - *169 responses: '200': description: Response content: application/json: - schema: *503 + schema: *505 examples: default: value: @@ -72544,9 +72711,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#create-or-update-a-repository-secret parameters: - - *342 - - *343 - - *167 + - *344 + - *345 + - *169 requestBody: required: true content: @@ -72574,7 +72741,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *168 + schema: *170 examples: default: value: @@ -72598,9 +72765,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#delete-a-repository-secret parameters: - - *342 - - *343 - - *167 + - *344 + - *345 + - *169 responses: '204': description: Response @@ -72622,8 +72789,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependency-graph/dependency-review#get-a-diff-of-the-dependencies-between-commits parameters: - - *342 - - *343 + - *344 + - *345 - name: basehead description: The base and head Git revisions to compare. The Git revisions will be resolved to commit SHAs. Named revisions will be resolved to their @@ -72759,7 +72926,7 @@ paths: advisory_summary: Ruby OpenID advisory_url: https://github.com/advisories/GHSA-fqfj-cmh6-hj49 headers: - Link: *68 + Link: *70 '404': *6 '403': description: Response for a private repository when GitHub Advanced Security @@ -72783,8 +72950,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependency-graph/sboms#export-a-software-bill-of-materials-sbom-for-a-repository parameters: - - *342 - - *343 + - *344 + - *345 responses: '200': description: Response @@ -73000,7 +73167,7 @@ paths: spdxElementId: SPDXRef-DOCUMENT relatedSpdxElement: SPDXRef-Repository headers: - Link: *68 + Link: *70 '404': *6 '403': *29 x-github: @@ -73022,8 +73189,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependency-graph/sboms#fetch-a-software-bill-of-materials-sbom-for-a-repository parameters: - - *342 - - *343 + - *344 + - *345 - name: sbom_uuid in: path required: true @@ -73034,7 +73201,7 @@ paths: '302': description: Redirects to a temporary download URL for the completed SBOM. headers: - Location: *504 + Location: *506 '202': description: SBOM is still being processed, no content is returned. '404': *6 @@ -73055,8 +73222,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependency-graph/sboms#request-generation-of-a-software-bill-of-materials-sbom-for-a-repository parameters: - - *342 - - *343 + - *344 + - *345 responses: '201': description: Response @@ -73094,8 +73261,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependency-graph/dependency-submission#create-a-snapshot-of-dependencies-for-a-repository parameters: - - *342 - - *343 + - *344 + - *345 requestBody: required: true content: @@ -73170,7 +73337,7 @@ paths: - version - url additionalProperties: false - metadata: &505 + metadata: &507 title: metadata description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -73203,7 +73370,7 @@ paths: the root of the Git repository. example: "/src/build/package-lock.json" additionalProperties: false - metadata: *505 + metadata: *507 resolved: type: object description: A collection of resolved package dependencies. @@ -73216,7 +73383,7 @@ paths: for more details. example: pkg:/npm/%40actions/http-client@1.0.11 pattern: "^pkg" - metadata: *505 + metadata: *507 relationship: type: string description: A notation of whether a dependency is requested @@ -73345,8 +73512,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#list-deployments parameters: - - *342 - - *343 + - *344 + - *345 - name: sha description: The SHA recorded at creation time. in: query @@ -73386,11 +73553,11 @@ paths: application/json: schema: type: array - items: *506 + items: *508 examples: - default: *507 + default: *509 headers: - Link: *68 + Link: *70 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73454,8 +73621,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#create-a-deployment parameters: - - *342 - - *343 + - *344 + - *345 requestBody: required: true content: @@ -73536,7 +73703,7 @@ paths: description: Response content: application/json: - schema: *506 + schema: *508 examples: simple-example: summary: Simple example @@ -73609,9 +73776,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#get-a-deployment parameters: - - *342 - - *343 - - &508 + - *344 + - *345 + - &510 name: deployment_id description: deployment_id parameter in: path @@ -73623,7 +73790,7 @@ paths: description: Response content: application/json: - schema: *506 + schema: *508 examples: default: value: @@ -73688,9 +73855,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#delete-a-deployment parameters: - - *342 - - *343 - - *508 + - *344 + - *345 + - *510 responses: '204': description: Response @@ -73712,9 +73879,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/statuses#list-deployment-statuses parameters: - - *342 - - *343 - - *508 + - *344 + - *345 + - *510 - *17 - *19 responses: @@ -73724,7 +73891,7 @@ paths: application/json: schema: type: array - items: &509 + items: &511 title: Deployment Status description: The status of a deployment. type: object @@ -73815,8 +73982,8 @@ paths: first class actors within GitHub. type: object nullable: true - properties: *81 - required: *82 + properties: *83 + required: *84 required: - id - node_id @@ -73865,7 +74032,7 @@ paths: environment_url: https://test-branch.lab.acme.com log_url: https://example.com/deployment/42/output headers: - Link: *68 + Link: *70 '404': *6 x-github: githubCloudOnly: false @@ -73885,9 +74052,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/statuses#create-a-deployment-status parameters: - - *342 - - *343 - - *508 + - *344 + - *345 + - *510 requestBody: required: true content: @@ -73962,9 +74129,9 @@ paths: description: Response content: application/json: - schema: *509 + schema: *511 examples: - default: &510 + default: &512 value: url: https://api.github.com/repos/octocat/example/deployments/42/statuses/1 id: 1 @@ -74020,9 +74187,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/statuses#get-a-deployment-status parameters: - - *342 - - *343 - - *508 + - *344 + - *345 + - *510 - name: status_id in: path required: true @@ -74033,9 +74200,9 @@ paths: description: Response content: application/json: - schema: *509 + schema: *511 examples: - default: *510 + default: *512 '404': *6 x-github: githubCloudOnly: false @@ -74060,8 +74227,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#create-a-repository-dispatch-event parameters: - - *342 - - *343 + - *344 + - *345 requestBody: required: true content: @@ -74118,8 +74285,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#list-environments parameters: - - *342 - - *343 + - *344 + - *345 - *17 - *19 responses: @@ -74136,7 +74303,7 @@ paths: type: integer environments: type: array - items: &512 + items: &514 title: Environment description: Details of a deployment environment type: object @@ -74188,7 +74355,7 @@ paths: type: type: string example: wait_timer - wait_timer: &514 + wait_timer: &516 type: integer example: 30 description: The amount of time to delay a job after @@ -74225,11 +74392,11 @@ paths: items: type: object properties: - type: *511 + type: *513 reviewer: anyOf: - *4 - - *195 + - *197 required: - id - node_id @@ -74249,7 +74416,7 @@ paths: - id - node_id - type - deployment_branch_policy: &515 + deployment_branch_policy: &517 type: object description: The type of deployment branch policy for this environment. To allow all branches to deploy, set to `null`. @@ -74365,9 +74532,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#get-an-environment parameters: - - *342 - - *343 - - &513 + - *344 + - *345 + - &515 name: environment_name in: path required: true @@ -74380,9 +74547,9 @@ paths: description: Response content: application/json: - schema: *512 + schema: *514 examples: - default: &516 + default: &518 value: id: 161088068 node_id: MDExOkVudmlyb25tZW50MTYxMDg4MDY4 @@ -74466,9 +74633,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#create-or-update-an-environment parameters: - - *342 - - *343 - - *513 + - *344 + - *345 + - *515 requestBody: required: false content: @@ -74477,7 +74644,7 @@ paths: type: object nullable: true properties: - wait_timer: *514 + wait_timer: *516 prevent_self_review: type: boolean example: false @@ -74494,13 +74661,13 @@ paths: items: type: object properties: - type: *511 + type: *513 id: type: integer description: The id of the user or team who can review the deployment example: 4532992 - deployment_branch_policy: *515 + deployment_branch_policy: *517 additionalProperties: false examples: default: @@ -74520,9 +74687,9 @@ paths: description: Response content: application/json: - schema: *512 + schema: *514 examples: - default: *516 + default: *518 '422': description: Validation error when the environment name is invalid or when `protected_branches` and `custom_branch_policies` in `deployment_branch_policy` @@ -74546,9 +74713,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#delete-an-environment parameters: - - *342 - - *343 - - *513 + - *344 + - *345 + - *515 responses: '204': description: Default response @@ -74573,9 +74740,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#list-deployment-branch-policies parameters: - - *342 - - *343 - - *513 + - *344 + - *345 + - *515 - *17 - *19 responses: @@ -74593,7 +74760,7 @@ paths: example: 2 branch_policies: type: array - items: &517 + items: &519 title: Deployment branch policy description: Details of a deployment branch or tag policy. type: object @@ -74650,9 +74817,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#create-a-deployment-branch-policy parameters: - - *342 - - *343 - - *513 + - *344 + - *345 + - *515 requestBody: required: true content: @@ -74698,9 +74865,9 @@ paths: description: Response content: application/json: - schema: *517 + schema: *519 examples: - example-wildcard: &518 + example-wildcard: &520 value: id: 364662 node_id: MDE2OkdhdGVCcmFuY2hQb2xpY3kzNjQ2NjI= @@ -74742,10 +74909,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#get-a-deployment-branch-policy parameters: - - *342 - - *343 - - *513 - - &519 + - *344 + - *345 + - *515 + - &521 name: branch_policy_id in: path required: true @@ -74757,9 +74924,9 @@ paths: description: Response content: application/json: - schema: *517 + schema: *519 examples: - default: *518 + default: *520 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74778,10 +74945,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#update-a-deployment-branch-policy parameters: - - *342 - - *343 - - *513 - - *519 + - *344 + - *345 + - *515 + - *521 requestBody: required: true content: @@ -74809,9 +74976,9 @@ paths: description: Response content: application/json: - schema: *517 + schema: *519 examples: - default: *518 + default: *520 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74830,10 +74997,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#delete-a-deployment-branch-policy parameters: - - *342 - - *343 - - *513 - - *519 + - *344 + - *345 + - *515 + - *521 responses: '204': description: Response @@ -74858,9 +75025,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#get-all-deployment-protection-rules-for-an-environment parameters: - - *513 - - *343 - - *342 + - *515 + - *345 + - *344 responses: '200': description: List of deployment protection rules @@ -74876,7 +75043,7 @@ paths: example: 10 custom_deployment_protection_rules: type: array - items: &520 + items: &522 title: Deployment protection rule description: Deployment protection rule type: object @@ -74895,7 +75062,7 @@ paths: example: true description: Whether the deployment protection rule is enabled for the environment. - app: &521 + app: &523 title: Custom deployment protection rule app description: A GitHub App that is providing a custom deployment protection rule. @@ -74994,9 +75161,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#create-a-custom-deployment-protection-rule-on-an-environment parameters: - - *513 - - *343 - - *342 + - *515 + - *345 + - *344 requestBody: content: application/json: @@ -75017,9 +75184,9 @@ paths: description: The enabled custom deployment protection rule content: application/json: - schema: *520 + schema: *522 examples: - default: &522 + default: &524 value: id: 3 node_id: IEH37kRlcGxveW1lbnRTdGF0ddiv @@ -75054,9 +75221,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#list-custom-deployment-rule-integrations-available-for-an-environment parameters: - - *513 - - *343 - - *342 + - *515 + - *345 + - *344 - *19 - *17 responses: @@ -75075,7 +75242,7 @@ paths: example: 35 available_custom_deployment_protection_rule_integrations: type: array - items: *521 + items: *523 examples: default: value: @@ -75110,10 +75277,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#get-a-custom-deployment-protection-rule parameters: - - *342 - - *343 - - *513 - - &523 + - *344 + - *345 + - *515 + - &525 name: protection_rule_id description: The unique identifier of the protection rule. in: path @@ -75125,9 +75292,9 @@ paths: description: Response content: application/json: - schema: *520 + schema: *522 examples: - default: *522 + default: *524 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75148,10 +75315,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#disable-a-custom-protection-rule-for-an-environment parameters: - - *513 - - *343 - - *342 - - *523 + - *515 + - *345 + - *344 + - *525 responses: '204': description: Response @@ -75177,9 +75344,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-environment-secrets parameters: - - *342 - - *343 - - *513 + - *344 + - *345 + - *515 - *17 - *19 responses: @@ -75197,11 +75364,11 @@ paths: type: integer secrets: type: array - items: *387 + items: *389 examples: - default: *388 + default: *390 headers: - Link: *68 + Link: *70 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75224,17 +75391,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-an-environment-public-key parameters: - - *342 - - *343 - - *513 + - *344 + - *345 + - *515 responses: '200': description: Response content: application/json: - schema: *389 + schema: *391 examples: - default: *390 + default: *392 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75256,18 +75423,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-an-environment-secret parameters: - - *342 - - *343 - - *513 - - *167 + - *344 + - *345 + - *515 + - *169 responses: '200': description: Response content: application/json: - schema: *387 + schema: *389 examples: - default: *524 + default: *526 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75289,10 +75456,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#create-or-update-an-environment-secret parameters: - - *342 - - *343 - - *513 - - *167 + - *344 + - *345 + - *515 + - *169 requestBody: required: true content: @@ -75323,7 +75490,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *168 + schema: *170 examples: default: value: @@ -75349,10 +75516,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#delete-an-environment-secret parameters: - - *342 - - *343 - - *513 - - *167 + - *344 + - *345 + - *515 + - *169 responses: '204': description: Default response @@ -75377,10 +75544,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-environment-variables parameters: - - *342 - - *343 - - *513 - - *358 + - *344 + - *345 + - *515 + - *360 - *19 responses: '200': @@ -75397,11 +75564,11 @@ paths: type: integer variables: type: array - items: *391 + items: *393 examples: - default: *392 + default: *394 headers: - Link: *68 + Link: *70 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75422,9 +75589,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#create-an-environment-variable parameters: - - *342 - - *343 - - *513 + - *344 + - *345 + - *515 requestBody: required: true content: @@ -75451,7 +75618,7 @@ paths: description: Response content: application/json: - schema: *168 + schema: *170 examples: default: value: @@ -75476,18 +75643,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#get-an-environment-variable parameters: - - *342 - - *343 - - *513 - - *170 + - *344 + - *345 + - *515 + - *172 responses: '200': description: Response content: application/json: - schema: *391 + schema: *393 examples: - default: *525 + default: *527 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75508,10 +75675,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#update-an-environment-variable parameters: - - *342 - - *343 - - *170 - - *513 + - *344 + - *345 + - *172 + - *515 requestBody: required: true content: @@ -75553,10 +75720,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#delete-an-environment-variable parameters: - - *342 - - *343 - - *170 - - *513 + - *344 + - *345 + - *172 + - *515 responses: '204': description: Response @@ -75578,8 +75745,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-repository-events parameters: - - *342 - - *343 + - *344 + - *345 - *17 - *19 responses: @@ -75589,7 +75756,7 @@ paths: application/json: schema: type: array - items: *112 + items: *114 examples: 200-response: value: @@ -75647,8 +75814,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/forks#list-forks parameters: - - *342 - - *343 + - *344 + - *345 - name: sort description: The sort order. `stargazers` will sort by star count. in: query @@ -75670,7 +75837,7 @@ paths: application/json: schema: type: array - items: *159 + items: *161 examples: default: value: @@ -75783,7 +75950,7 @@ paths: url: https://api.github.com/licenses/mit node_id: MDc6TGljZW5zZW1pdA== headers: - Link: *68 + Link: *70 '400': *14 x-github: githubCloudOnly: false @@ -75807,8 +75974,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/forks#create-a-fork parameters: - - *342 - - *343 + - *344 + - *345 requestBody: required: false content: @@ -75840,9 +76007,9 @@ paths: description: Response content: application/json: - schema: *345 + schema: *347 examples: - default: *347 + default: *349 '400': *14 '422': *15 '403': *29 @@ -75863,8 +76030,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/blobs#create-a-blob parameters: - - *342 - - *343 + - *344 + - *345 requestBody: required: true content: @@ -75923,8 +76090,8 @@ paths: application/json: schema: oneOf: - - *128 - - *526 + - *130 + - *528 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75949,8 +76116,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/blobs#get-a-blob parameters: - - *342 - - *343 + - *344 + - *345 - name: file_sha in: path required: true @@ -76049,8 +76216,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/commits#create-a-commit parameters: - - *342 - - *343 + - *344 + - *345 requestBody: required: true content: @@ -76159,7 +76326,7 @@ paths: description: Response content: application/json: - schema: &527 + schema: &529 title: Git Commit description: Low-level Git commit operations within a repository type: object @@ -76373,15 +76540,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/commits#get-a-commit-object parameters: - - *342 - - *343 - - *477 + - *344 + - *345 + - *479 responses: '200': description: Response content: application/json: - schema: *527 + schema: *529 examples: default: value: @@ -76437,9 +76604,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#list-matching-references parameters: - - *342 - - *343 - - &528 + - *344 + - *345 + - &530 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. @@ -76456,7 +76623,7 @@ paths: application/json: schema: type: array - items: &529 + items: &531 title: Git Reference description: Git references within a repository type: object @@ -76509,7 +76676,7 @@ paths: sha: 612077ae6dffb4d2fbd8ce0cccaa58893b07b5ac url: https://api.github.com/repos/octocat/Hello-World/git/commits/612077ae6dffb4d2fbd8ce0cccaa58893b07b5ac headers: - Link: *68 + Link: *70 '409': *54 x-github: githubCloudOnly: false @@ -76531,17 +76698,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#get-a-reference parameters: - - *342 - - *343 - - *528 + - *344 + - *345 + - *530 responses: '200': description: Response content: application/json: - schema: *529 + schema: *531 examples: - default: &530 + default: &532 value: ref: refs/heads/featureA node_id: MDM6UmVmcmVmcy9oZWFkcy9mZWF0dXJlQQ== @@ -76570,8 +76737,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#create-a-reference parameters: - - *342 - - *343 + - *344 + - *345 requestBody: required: true content: @@ -76600,9 +76767,9 @@ paths: description: Response content: application/json: - schema: *529 + schema: *531 examples: - default: *530 + default: *532 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/git/refs/heads/featureA @@ -76628,9 +76795,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#update-a-reference parameters: - - *342 - - *343 - - *528 + - *344 + - *345 + - *530 requestBody: required: true content: @@ -76659,9 +76826,9 @@ paths: description: Response content: application/json: - schema: *529 + schema: *531 examples: - default: *530 + default: *532 '422': *15 '409': *54 x-github: @@ -76679,9 +76846,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#delete-a-reference parameters: - - *342 - - *343 - - *528 + - *344 + - *345 + - *530 responses: '204': description: Response @@ -76736,8 +76903,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/tags#create-a-tag-object parameters: - - *342 - - *343 + - *344 + - *345 requestBody: required: true content: @@ -76804,7 +76971,7 @@ paths: description: Response content: application/json: - schema: &532 + schema: &534 title: Git Tag description: Metadata for a Git tag type: object @@ -76855,7 +77022,7 @@ paths: - sha - type - url - verification: *531 + verification: *533 required: - sha - url @@ -76865,7 +77032,7 @@ paths: - tag - message examples: - default: &533 + default: &535 value: node_id: MDM6VGFnOTQwYmQzMzYyNDhlZmFlMGY5ZWU1YmM3YjJkNWM5ODU4ODdiMTZhYw== tag: v0.0.1 @@ -76938,8 +77105,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/tags#get-a-tag parameters: - - *342 - - *343 + - *344 + - *345 - name: tag_sha in: path required: true @@ -76950,9 +77117,9 @@ paths: description: Response content: application/json: - schema: *532 + schema: *534 examples: - default: *533 + default: *535 '404': *6 '409': *54 x-github: @@ -76976,8 +77143,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/trees#create-a-tree parameters: - - *342 - - *343 + - *344 + - *345 requestBody: required: true content: @@ -77050,7 +77217,7 @@ paths: description: Response content: application/json: - schema: &534 + schema: &536 title: Git Tree description: The hierarchy between files in a Git repository. type: object @@ -77146,8 +77313,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/trees#get-a-tree parameters: - - *342 - - *343 + - *344 + - *345 - name: tree_sha description: The SHA1 value or ref (branch or tag) name of the tree. in: path @@ -77170,7 +77337,7 @@ paths: description: Response content: application/json: - schema: *534 + schema: *536 examples: default-response: summary: Default response @@ -77229,8 +77396,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#list-repository-webhooks parameters: - - *342 - - *343 + - *344 + - *345 - *17 - *19 responses: @@ -77240,7 +77407,7 @@ paths: application/json: schema: type: array - items: &535 + items: &537 title: Webhook description: Webhooks for repositories. type: object @@ -77294,7 +77461,7 @@ paths: type: string format: uri example: https://api.github.com/repos/octocat/Hello-World/hooks/1/deliveries - last_response: &781 + last_response: &783 title: Hook Response type: object properties: @@ -77349,7 +77516,7 @@ paths: status: unused message: headers: - Link: *68 + Link: *70 '404': *6 x-github: githubCloudOnly: false @@ -77368,8 +77535,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#create-a-repository-webhook parameters: - - *342 - - *343 + - *344 + - *345 requestBody: required: false content: @@ -77421,9 +77588,9 @@ paths: description: Response content: application/json: - schema: *535 + schema: *537 examples: - default: &536 + default: &538 value: type: Repository id: 12345678 @@ -77471,17 +77638,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#get-a-repository-webhook parameters: - - *342 - - *343 - - *215 + - *344 + - *345 + - *217 responses: '200': description: Response content: application/json: - schema: *535 + schema: *537 examples: - default: *536 + default: *538 '404': *6 x-github: githubCloudOnly: false @@ -77501,9 +77668,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#update-a-repository-webhook parameters: - - *342 - - *343 - - *215 + - *344 + - *345 + - *217 requestBody: required: true content: @@ -77548,9 +77715,9 @@ paths: description: Response content: application/json: - schema: *535 + schema: *537 examples: - default: *536 + default: *538 '422': *15 '404': *6 x-github: @@ -77571,9 +77738,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#delete-a-repository-webhook parameters: - - *342 - - *343 - - *215 + - *344 + - *345 + - *217 responses: '204': description: Response @@ -77597,9 +77764,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#get-a-webhook-configuration-for-a-repository parameters: - - *342 - - *343 - - *215 + - *344 + - *345 + - *217 responses: '200': description: Response @@ -77626,9 +77793,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#update-a-webhook-configuration-for-a-repository parameters: - - *342 - - *343 - - *215 + - *344 + - *345 + - *217 requestBody: required: false content: @@ -77672,12 +77839,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#list-deliveries-for-a-repository-webhook parameters: - - *342 - - *343 - - *215 - - *17 - - *216 + - *344 + - *345 - *217 + - *17 + - *218 + - *219 responses: '200': description: Response @@ -77685,9 +77852,9 @@ paths: application/json: schema: type: array - items: *218 + items: *220 examples: - default: *219 + default: *221 '400': *14 '422': *15 x-github: @@ -77706,18 +77873,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#get-a-delivery-for-a-repository-webhook parameters: - - *342 - - *343 - - *215 + - *344 + - *345 + - *217 - *16 responses: '200': description: Response content: application/json: - schema: *220 + schema: *222 examples: - default: *221 + default: *223 '400': *14 '422': *15 x-github: @@ -77736,9 +77903,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#redeliver-a-delivery-for-a-repository-webhook parameters: - - *342 - - *343 - - *215 + - *344 + - *345 + - *217 - *16 responses: '202': *39 @@ -77761,9 +77928,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#ping-a-repository-webhook parameters: - - *342 - - *343 - - *215 + - *344 + - *345 + - *217 responses: '204': description: Response @@ -77788,9 +77955,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#test-the-push-repository-webhook parameters: - - *342 - - *343 - - *215 + - *344 + - *345 + - *217 responses: '204': description: Response @@ -77813,8 +77980,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#check-if-immutable-releases-are-enabled-for-a-repository parameters: - - *342 - - *343 + - *344 + - *345 responses: '200': description: Response if immutable releases are enabled @@ -77860,8 +78027,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-immutable-releases parameters: - - *342 - - *343 + - *344 + - *345 responses: '204': *61 '409': *54 @@ -77881,8 +78048,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-immutable-releases parameters: - - *342 - - *343 + - *344 + - *345 responses: '204': *61 '409': *54 @@ -77939,14 +78106,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#get-an-import-status parameters: - - *342 - - *343 + - *344 + - *345 responses: '200': description: Response content: application/json: - schema: &537 + schema: &539 title: Import description: A repository import from an external source. type: object @@ -78045,7 +78212,7 @@ paths: - html_url - authors_url examples: - default: &540 + default: &542 value: vcs: subversion use_lfs: true @@ -78061,7 +78228,7 @@ paths: authors_url: https://api.github.com/repos/octocat/socm/import/authors repository_url: https://api.github.com/repos/octocat/socm '404': *6 - '503': &538 + '503': &540 description: Unavailable due to service under maintenance. content: application/json: @@ -78090,8 +78257,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#start-an-import parameters: - - *342 - - *343 + - *344 + - *345 requestBody: required: true content: @@ -78139,7 +78306,7 @@ paths: description: Response content: application/json: - schema: *537 + schema: *539 examples: default: value: @@ -78164,7 +78331,7 @@ paths: type: string '422': *15 '404': *6 - '503': *538 + '503': *540 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -78192,8 +78359,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#update-an-import parameters: - - *342 - - *343 + - *344 + - *345 requestBody: required: false content: @@ -78242,7 +78409,7 @@ paths: description: Response content: application/json: - schema: *537 + schema: *539 examples: example-1: summary: Example 1 @@ -78290,7 +78457,7 @@ paths: html_url: https://import.github.com/octocat/socm/import authors_url: https://api.github.com/repos/octocat/socm/import/authors repository_url: https://api.github.com/repos/octocat/socm - '503': *538 + '503': *540 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -78313,12 +78480,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#cancel-an-import parameters: - - *342 - - *343 + - *344 + - *345 responses: '204': description: Response - '503': *538 + '503': *540 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -78344,9 +78511,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#get-commit-authors parameters: - - *342 - - *343 - - &710 + - *344 + - *345 + - &712 name: since description: A user ID. Only return users with an ID greater than this ID. in: query @@ -78360,7 +78527,7 @@ paths: application/json: schema: type: array - items: &539 + items: &541 title: Porter Author description: Porter Author type: object @@ -78414,7 +78581,7 @@ paths: url: https://api.github.com/repos/octocat/socm/import/authors/2268559 import_url: https://api.github.com/repos/octocat/socm/import '404': *6 - '503': *538 + '503': *540 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -78439,8 +78606,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#map-a-commit-author parameters: - - *342 - - *343 + - *344 + - *345 - name: author_id in: path required: true @@ -78470,7 +78637,7 @@ paths: description: Response content: application/json: - schema: *539 + schema: *541 examples: default: value: @@ -78483,7 +78650,7 @@ paths: import_url: https://api.github.com/repos/octocat/socm/import '422': *15 '404': *6 - '503': *538 + '503': *540 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -78507,8 +78674,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#get-large-files parameters: - - *342 - - *343 + - *344 + - *345 responses: '200': description: Response @@ -78549,7 +78716,7 @@ paths: path: foo/bar/3 oid: c20ad4d76fe97759aa27a0c99bff6710 size: 12582912 - '503': *538 + '503': *540 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -78577,8 +78744,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#update-git-lfs-preference parameters: - - *342 - - *343 + - *344 + - *345 requestBody: required: true content: @@ -78605,11 +78772,11 @@ paths: description: Response content: application/json: - schema: *537 + schema: *539 examples: - default: *540 + default: *542 '422': *15 - '503': *538 + '503': *540 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -78632,8 +78799,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/apps/apps#get-a-repository-installation-for-the-authenticated-app parameters: - - *342 - - *343 + - *344 + - *345 responses: '200': description: Response @@ -78641,8 +78808,8 @@ paths: application/json: schema: *22 examples: - default: *541 - '301': *346 + default: *543 + '301': *348 '404': *6 x-github: githubCloudOnly: false @@ -78662,8 +78829,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/repos#get-interaction-restrictions-for-a-repository parameters: - - *342 - - *343 + - *344 + - *345 responses: '200': description: Response @@ -78671,12 +78838,12 @@ paths: application/json: schema: anyOf: - - *234 + - *236 - type: object properties: {} additionalProperties: false examples: - default: &543 + default: &545 value: limit: collaborators_only origin: repository @@ -78701,13 +78868,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/repos#set-interaction-restrictions-for-a-repository parameters: - - *342 - - *343 + - *344 + - *345 requestBody: required: true content: application/json: - schema: *542 + schema: *544 examples: default: summary: Example request body @@ -78719,9 +78886,9 @@ paths: description: Response content: application/json: - schema: *234 + schema: *236 examples: - default: *543 + default: *545 '409': description: Response x-github: @@ -78743,8 +78910,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/repos#remove-interaction-restrictions-for-a-repository parameters: - - *342 - - *343 + - *344 + - *345 responses: '204': description: Response @@ -78767,8 +78934,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#list-repository-invitations parameters: - - *342 - - *343 + - *344 + - *345 - *17 - *19 responses: @@ -78778,9 +78945,9 @@ paths: application/json: schema: type: array - items: *544 + items: *546 examples: - default: &703 + default: &705 value: - id: 1 repository: @@ -78894,7 +79061,7 @@ paths: html_url: https://github.com/octocat/Hello-World/invitations node_id: MDQ6VXNlcjE= headers: - Link: *68 + Link: *70 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -78911,9 +79078,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#update-a-repository-invitation parameters: - - *342 - - *343 - - *238 + - *344 + - *345 + - *240 requestBody: required: false content: @@ -78942,7 +79109,7 @@ paths: description: Response content: application/json: - schema: *544 + schema: *546 examples: default: value: @@ -79073,9 +79240,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#delete-a-repository-invitation parameters: - - *342 - - *343 - - *238 + - *344 + - *345 + - *240 responses: '204': description: Response @@ -79106,8 +79273,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#list-repository-issues parameters: - - *342 - - *343 + - *344 + - *345 - name: milestone description: If an `integer` is passed, it should refer to a milestone by its `number` field. If the string `*` is passed, issues with any milestone @@ -79155,7 +79322,7 @@ paths: required: false schema: type: string - - *245 + - *247 - name: sort description: What to sort results by. in: query @@ -79168,7 +79335,7 @@ paths: - comments default: created - *62 - - *93 + - *95 - *17 - *19 responses: @@ -79178,9 +79345,9 @@ paths: application/json: schema: type: array - items: *86 + items: *88 examples: - default: &556 + default: &558 value: - id: 1 node_id: MDU6SXNzdWUx @@ -79328,8 +79495,8 @@ paths: author_association: COLLABORATOR state_reason: completed headers: - Link: *68 - '301': *346 + Link: *70 + '301': *348 '422': *15 '404': *6 x-github: @@ -79358,8 +79525,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#create-an-issue parameters: - - *342 - - *343 + - *344 + - *345 requestBody: required: true content: @@ -79441,9 +79608,9 @@ paths: description: Response content: application/json: - schema: *86 + schema: *88 examples: - default: &553 + default: &555 value: id: 1 node_id: MDU6SXNzdWUx @@ -79598,9 +79765,9 @@ paths: '400': *14 '403': *29 '422': *15 - '503': *120 + '503': *122 '404': *6 - '410': *545 + '410': *547 x-github: triggersNotification: true githubCloudOnly: false @@ -79628,9 +79795,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#list-issue-comments-for-a-repository parameters: - - *342 - - *343 - - *110 + - *344 + - *345 + - *112 - name: direction description: Either `asc` or `desc`. Ignored without the `sort` parameter. in: query @@ -79640,7 +79807,7 @@ paths: enum: - asc - desc - - *93 + - *95 - *17 - *19 responses: @@ -79650,9 +79817,9 @@ paths: application/json: schema: type: array - items: *546 + items: *548 examples: - default: &555 + default: &557 value: - id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -79683,7 +79850,7 @@ paths: issue_url: https://api.github.com/repos/octocat/Hello-World/issues/1347 author_association: COLLABORATOR headers: - Link: *68 + Link: *70 '422': *15 '404': *6 x-github: @@ -79710,17 +79877,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#get-an-issue-comment parameters: - - *342 - - *343 - - *102 + - *344 + - *345 + - *104 responses: '200': description: Response content: application/json: - schema: *546 + schema: *548 examples: - default: &547 + default: &549 value: id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -79775,9 +79942,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#update-an-issue-comment parameters: - - *342 - - *343 - - *102 + - *344 + - *345 + - *104 requestBody: required: true content: @@ -79799,9 +79966,9 @@ paths: description: Response content: application/json: - schema: *546 + schema: *548 examples: - default: *547 + default: *549 '422': *15 x-github: githubCloudOnly: false @@ -79819,9 +79986,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#delete-an-issue-comment parameters: - - *342 - - *343 - - *102 + - *344 + - *345 + - *104 responses: '204': description: Response @@ -79849,15 +80016,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#pin-an-issue-comment parameters: - - *342 - - *343 - - *102 + - *344 + - *345 + - *104 responses: '200': description: Response content: application/json: - schema: *546 + schema: *548 examples: default: value: @@ -79913,7 +80080,7 @@ paths: '401': *25 '403': *29 '404': *6 - '410': *545 + '410': *547 '422': *15 x-github: githubCloudOnly: false @@ -79930,17 +80097,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#unpin-an-issue-comment parameters: - - *342 - - *343 - - *102 + - *344 + - *345 + - *104 responses: '204': description: Response '401': *25 '403': *29 '404': *6 - '410': *545 - '503': *120 + '410': *547 + '503': *122 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79957,9 +80124,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-an-issue-comment parameters: - - *342 - - *343 - - *102 + - *344 + - *345 + - *104 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to an issue comment. @@ -79985,11 +80152,11 @@ paths: application/json: schema: type: array - items: *474 + items: *476 examples: - default: *548 + default: *550 headers: - Link: *68 + Link: *70 '404': *6 x-github: githubCloudOnly: false @@ -80008,9 +80175,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-an-issue-comment parameters: - - *342 - - *343 - - *102 + - *344 + - *345 + - *104 requestBody: required: true content: @@ -80042,16 +80209,16 @@ paths: description: Reaction exists content: application/json: - schema: *474 + schema: *476 examples: - default: *475 + default: *477 '201': description: Reaction created content: application/json: - schema: *474 + schema: *476 examples: - default: *475 + default: *477 '422': *15 x-github: githubCloudOnly: false @@ -80073,10 +80240,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-an-issue-comment-reaction parameters: - - *342 - - *343 - - *102 - - *549 + - *344 + - *345 + - *104 + - *551 responses: '204': description: Response @@ -80096,8 +80263,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/events#list-issue-events-for-a-repository parameters: - - *342 - - *343 + - *344 + - *345 - *17 - *19 responses: @@ -80107,7 +80274,7 @@ paths: application/json: schema: type: array - items: &552 + items: &554 title: Issue Event description: Issue Event type: object @@ -80150,8 +80317,8 @@ paths: description: Issues are a great way to keep track of tasks, enhancements, and bugs for your projects. type: object - properties: *550 - required: *551 + properties: *552 + required: *553 nullable: true label: title: Issue Event Label @@ -80195,7 +80362,7 @@ paths: properties: *20 required: *21 nullable: true - requested_team: *195 + requested_team: *197 dismissed_review: title: Issue Event Dismissed Review type: object @@ -80260,7 +80427,7 @@ paths: required: - from - to - author_association: *83 + author_association: *85 lock_reason: type: string nullable: true @@ -80273,8 +80440,8 @@ paths: first class actors within GitHub. type: object nullable: true - properties: *81 - required: *82 + properties: *83 + required: *84 required: - id - node_id @@ -80441,7 +80608,7 @@ paths: author_association: COLLABORATOR state_reason: completed headers: - Link: *68 + Link: *70 '422': *15 x-github: githubCloudOnly: false @@ -80459,8 +80626,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/events#get-an-issue-event parameters: - - *342 - - *343 + - *344 + - *345 - name: event_id in: path required: true @@ -80471,7 +80638,7 @@ paths: description: Response content: application/json: - schema: *552 + schema: *554 examples: default: value: @@ -80664,7 +80831,7 @@ paths: author_association: COLLABORATOR state_reason: completed '404': *6 - '410': *545 + '410': *547 '403': *29 x-github: githubCloudOnly: false @@ -80698,9 +80865,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#get-an-issue parameters: - - *342 - - *343 - - &554 + - *344 + - *345 + - &556 name: issue_number description: The number that identifies the issue. in: path @@ -80712,11 +80879,11 @@ paths: description: Response content: application/json: - schema: *86 + schema: *88 examples: default: summary: Issue - value: *553 + value: *555 pinned_comment: summary: Issue with pinned comment value: @@ -80915,9 +81082,9 @@ paths: site_admin: false author_association: COLLABORATOR state_reason: completed - '301': *346 + '301': *348 '404': *6 - '410': *545 + '410': *547 '304': *37 x-github: githubCloudOnly: false @@ -80942,9 +81109,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#update-an-issue parameters: - - *342 - - *343 - - *554 + - *344 + - *345 + - *556 requestBody: required: false content: @@ -81068,15 +81235,15 @@ paths: description: Response content: application/json: - schema: *86 + schema: *88 examples: - default: *553 + default: *555 '422': *15 - '503': *120 + '503': *122 '403': *29 - '301': *346 + '301': *348 '404': *6 - '410': *545 + '410': *547 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -81094,9 +81261,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#add-assignees-to-an-issue parameters: - - *342 - - *343 - - *554 + - *344 + - *345 + - *556 requestBody: required: false content: @@ -81122,9 +81289,9 @@ paths: description: Response content: application/json: - schema: *86 + schema: *88 examples: - default: *553 + default: *555 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -81140,9 +81307,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#remove-assignees-from-an-issue parameters: - - *342 - - *343 - - *554 + - *344 + - *345 + - *556 requestBody: content: application/json: @@ -81167,9 +81334,9 @@ paths: description: Response content: application/json: - schema: *86 + schema: *88 examples: - default: *553 + default: *555 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -81191,9 +81358,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#check-if-a-user-can-be-assigned-to-a-issue parameters: - - *342 - - *343 - - *554 + - *344 + - *345 + - *556 - name: assignee in: path required: true @@ -81233,10 +81400,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#list-issue-comments parameters: - - *342 - - *343 - - *554 - - *93 + - *344 + - *345 + - *556 + - *95 - *17 - *19 responses: @@ -81246,13 +81413,13 @@ paths: application/json: schema: type: array - items: *546 + items: *548 examples: - default: *555 + default: *557 headers: - Link: *68 + Link: *70 '404': *6 - '410': *545 + '410': *547 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -81281,9 +81448,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#create-an-issue-comment parameters: - - *342 - - *343 - - *554 + - *344 + - *345 + - *556 requestBody: required: true content: @@ -81305,16 +81472,16 @@ paths: description: Response content: application/json: - schema: *546 + schema: *548 examples: - default: *547 + default: *549 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1 schema: type: string '403': *29 - '410': *545 + '410': *547 '422': *15 '404': *6 x-github: @@ -81342,9 +81509,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-dependencies#list-dependencies-an-issue-is-blocked-by parameters: - - *342 - - *343 - - *554 + - *344 + - *345 + - *556 - *17 - *19 responses: @@ -81354,14 +81521,14 @@ paths: application/json: schema: type: array - items: *86 + items: *88 examples: - default: *556 + default: *558 headers: - Link: *68 - '301': *346 + Link: *70 + '301': *348 '404': *6 - '410': *545 + '410': *547 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -81389,9 +81556,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-dependencies#add-a-dependency-an-issue-is-blocked-by parameters: - - *342 - - *343 - - *554 + - *344 + - *345 + - *556 requestBody: required: true content: @@ -81413,17 +81580,17 @@ paths: description: Response content: application/json: - schema: *86 + schema: *88 examples: - default: *553 + default: *555 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/1/dependencies/blocked_by schema: type: string - '301': *346 + '301': *348 '403': *29 - '410': *545 + '410': *547 '422': *15 '404': *6 x-github: @@ -81454,9 +81621,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-dependencies#remove-dependency-an-issue-is-blocked-by parameters: - - *342 - - *343 - - *554 + - *344 + - *345 + - *556 - name: issue_id in: path description: The id of the blocking issue to remove as a dependency @@ -81468,15 +81635,15 @@ paths: description: Response content: application/json: - schema: *86 + schema: *88 examples: - default: *553 - '301': *346 + default: *555 + '301': *348 '400': *14 '401': *25 '403': *29 '404': *6 - '410': *545 + '410': *547 x-github: triggersNotification: true githubCloudOnly: false @@ -81502,9 +81669,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-dependencies#list-dependencies-an-issue-is-blocking parameters: - - *342 - - *343 - - *554 + - *344 + - *345 + - *556 - *17 - *19 responses: @@ -81514,14 +81681,14 @@ paths: application/json: schema: type: array - items: *86 + items: *88 examples: - default: *556 + default: *558 headers: - Link: *68 - '301': *346 + Link: *70 + '301': *348 '404': *6 - '410': *545 + '410': *547 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -81538,9 +81705,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/events#list-issue-events parameters: - - *342 - - *343 - - *554 + - *344 + - *345 + - *556 - *17 - *19 responses: @@ -81554,7 +81721,7 @@ paths: title: Issue Event for Issue description: Issue Event for Issue anyOf: - - &560 + - &562 title: Labeled Issue Event description: Labeled Issue Event type: object @@ -81585,8 +81752,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *81 - required: *82 + properties: *83 + required: *84 label: type: object properties: @@ -81608,7 +81775,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &561 + - &563 title: Unlabeled Issue Event description: Unlabeled Issue Event type: object @@ -81639,8 +81806,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *81 - required: *82 + properties: *83 + required: *84 label: type: object properties: @@ -81728,8 +81895,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *81 - required: *82 + properties: *83 + required: *84 assignee: *4 assigner: *4 required: @@ -81744,7 +81911,7 @@ paths: - performed_via_github_app - assignee - assigner - - &562 + - &564 title: Milestoned Issue Event description: Milestoned Issue Event type: object @@ -81775,8 +81942,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *81 - required: *82 + properties: *83 + required: *84 milestone: type: object properties: @@ -81795,7 +81962,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &563 + - &565 title: Demilestoned Issue Event description: Demilestoned Issue Event type: object @@ -81826,8 +81993,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *81 - required: *82 + properties: *83 + required: *84 milestone: type: object properties: @@ -81846,7 +82013,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &564 + - &566 title: Renamed Issue Event description: Renamed Issue Event type: object @@ -81877,8 +82044,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *81 - required: *82 + properties: *83 + required: *84 rename: type: object properties: @@ -81900,7 +82067,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &565 + - &567 title: Review Requested Issue Event description: Review Requested Issue Event type: object @@ -81931,10 +82098,10 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *81 - required: *82 + properties: *83 + required: *84 review_requester: *4 - requested_team: *195 + requested_team: *197 requested_reviewer: *4 required: - review_requester @@ -81947,7 +82114,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &566 + - &568 title: Review Request Removed Issue Event description: Review Request Removed Issue Event type: object @@ -81978,10 +82145,10 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *81 - required: *82 + properties: *83 + required: *84 review_requester: *4 - requested_team: *195 + requested_team: *197 requested_reviewer: *4 required: - review_requester @@ -81994,7 +82161,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &567 + - &569 title: Review Dismissed Issue Event description: Review Dismissed Issue Event type: object @@ -82025,8 +82192,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *81 - required: *82 + properties: *83 + required: *84 dismissed_review: type: object properties: @@ -82054,7 +82221,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &568 + - &570 title: Locked Issue Event description: Locked Issue Event type: object @@ -82085,8 +82252,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *81 - required: *82 + properties: *83 + required: *84 lock_reason: type: string example: '"off-topic"' @@ -82102,7 +82269,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &569 + - &571 title: Added to Project Issue Event description: Added to Project Issue Event type: object @@ -82133,8 +82300,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *81 - required: *82 + properties: *83 + required: *84 project_card: type: object properties: @@ -82168,7 +82335,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &570 + - &572 title: Moved Column in Project Issue Event description: Moved Column in Project Issue Event type: object @@ -82199,8 +82366,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *81 - required: *82 + properties: *83 + required: *84 project_card: type: object properties: @@ -82234,7 +82401,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &571 + - &573 title: Removed from Project Issue Event description: Removed from Project Issue Event type: object @@ -82265,8 +82432,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *81 - required: *82 + properties: *83 + required: *84 project_card: type: object properties: @@ -82300,7 +82467,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &572 + - &574 title: Converted Note to Issue Issue Event description: Converted Note to Issue Issue Event type: object @@ -82390,8 +82557,8 @@ paths: name: label color: red headers: - Link: *68 - '410': *545 + Link: *70 + '410': *547 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -82408,9 +82575,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-field-values#list-issue-field-values-for-an-issue parameters: - - *342 - - *343 - - *554 + - *344 + - *345 + - *556 - *17 - *19 responses: @@ -82420,9 +82587,9 @@ paths: application/json: schema: type: array - items: *557 + items: *559 examples: - default: &558 + default: &560 value: - issue_field_id: 1 node_id: IFT_GDKND @@ -82445,10 +82612,10 @@ paths: data_type: date value: '2025-12-25' headers: - Link: *68 - '301': *346 + Link: *70 + '301': *348 '404': *6 - '410': *545 + '410': *547 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -82477,9 +82644,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-field-values#add-issue-field-values-to-an-issue parameters: - - *342 - - *343 - - *554 + - *344 + - *345 + - *556 requestBody: required: true content: @@ -82543,14 +82710,14 @@ paths: type: array description: The current issue field values for this issue after adding the new values - items: *557 + items: *559 examples: - default: *558 + default: *560 '400': *14 '403': *29 '404': *6 '422': *15 - '503': *120 + '503': *122 x-github: triggersNotification: true githubCloudOnly: false @@ -82581,9 +82748,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-field-values#set-issue-field-values-for-an-issue parameters: - - *342 - - *343 - - *554 + - *344 + - *345 + - *556 requestBody: required: true content: @@ -82648,14 +82815,14 @@ paths: type: array description: The current issue field values for this issue after setting the new values - items: *557 + items: *559 examples: - default: *558 + default: *560 '400': *14 '403': *29 '404': *6 '422': *15 - '503': *120 + '503': *122 x-github: triggersNotification: true githubCloudOnly: false @@ -82681,17 +82848,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-field-values#delete-an-issue-field-value-from-an-issue parameters: - - *342 - - *343 - - *554 - - *241 + - *344 + - *345 + - *556 + - *243 responses: '204': description: Issue field value deleted successfully '403': *29 '404': *6 '422': *15 - '503': *120 + '503': *122 x-github: triggersNotification: true githubCloudOnly: false @@ -82709,9 +82876,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#list-labels-for-an-issue parameters: - - *342 - - *343 - - *554 + - *344 + - *345 + - *556 - *17 - *19 responses: @@ -82721,9 +82888,9 @@ paths: application/json: schema: type: array - items: *85 + items: *87 examples: - default: &559 + default: &561 value: - id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -82740,10 +82907,10 @@ paths: color: a2eeef default: false headers: - Link: *68 - '301': *346 + Link: *70 + '301': *348 '404': *6 - '410': *545 + '410': *547 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -82759,9 +82926,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#add-labels-to-an-issue parameters: - - *342 - - *343 - - *554 + - *344 + - *345 + - *556 requestBody: required: false content: @@ -82804,12 +82971,12 @@ paths: application/json: schema: type: array - items: *85 + items: *87 examples: - default: *559 - '301': *346 + default: *561 + '301': *348 '404': *6 - '410': *545 + '410': *547 '422': *15 x-github: githubCloudOnly: false @@ -82826,9 +82993,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#set-labels-for-an-issue parameters: - - *342 - - *343 - - *554 + - *344 + - *345 + - *556 requestBody: required: false content: @@ -82888,12 +83055,12 @@ paths: application/json: schema: type: array - items: *85 + items: *87 examples: - default: *559 - '301': *346 + default: *561 + '301': *348 '404': *6 - '410': *545 + '410': *547 '422': *15 x-github: githubCloudOnly: false @@ -82910,15 +83077,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#remove-all-labels-from-an-issue parameters: - - *342 - - *343 - - *554 + - *344 + - *345 + - *556 responses: '204': description: Response - '301': *346 + '301': *348 '404': *6 - '410': *545 + '410': *547 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -82937,9 +83104,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#remove-a-label-from-an-issue parameters: - - *342 - - *343 - - *554 + - *344 + - *345 + - *556 - name: name in: path required: true @@ -82952,7 +83119,7 @@ paths: application/json: schema: type: array - items: *85 + items: *87 examples: default: value: @@ -82963,9 +83130,9 @@ paths: description: Something isn't working color: f29513 default: true - '301': *346 + '301': *348 '404': *6 - '410': *545 + '410': *547 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -82985,9 +83152,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#lock-an-issue parameters: - - *342 - - *343 - - *554 + - *344 + - *345 + - *556 requestBody: required: false content: @@ -83015,7 +83182,7 @@ paths: '204': description: Response '403': *29 - '410': *545 + '410': *547 '404': *6 '422': *15 x-github: @@ -83033,9 +83200,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#unlock-an-issue parameters: - - *342 - - *343 - - *554 + - *344 + - *345 + - *556 responses: '204': description: Response @@ -83065,20 +83232,20 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#get-parent-issue parameters: - - *342 - - *343 - - *554 + - *344 + - *345 + - *556 responses: '200': description: Response content: application/json: - schema: *86 + schema: *88 examples: - default: *553 - '301': *346 + default: *555 + '301': *348 '404': *6 - '410': *545 + '410': *547 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -83095,9 +83262,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-an-issue parameters: - - *342 - - *343 - - *554 + - *344 + - *345 + - *556 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to an issue. @@ -83123,13 +83290,13 @@ paths: application/json: schema: type: array - items: *474 + items: *476 examples: - default: *548 + default: *550 headers: - Link: *68 + Link: *70 '404': *6 - '410': *545 + '410': *547 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -83147,9 +83314,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-an-issue parameters: - - *342 - - *343 - - *554 + - *344 + - *345 + - *556 requestBody: required: true content: @@ -83181,16 +83348,16 @@ paths: description: Response content: application/json: - schema: *474 + schema: *476 examples: - default: *475 + default: *477 '201': description: Response content: application/json: - schema: *474 + schema: *476 examples: - default: *475 + default: *477 '422': *15 x-github: githubCloudOnly: false @@ -83212,10 +83379,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-an-issue-reaction parameters: - - *342 - - *343 - - *554 - - *549 + - *344 + - *345 + - *556 + - *551 responses: '204': description: Response @@ -83244,9 +83411,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#remove-sub-issue parameters: - - *342 - - *343 - - *554 + - *344 + - *345 + - *556 requestBody: required: true content: @@ -83268,9 +83435,9 @@ paths: description: Response content: application/json: - schema: *86 + schema: *88 examples: - default: *553 + default: *555 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/1/sub-issue @@ -83303,9 +83470,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#list-sub-issues parameters: - - *342 - - *343 - - *554 + - *344 + - *345 + - *556 - *17 - *19 responses: @@ -83315,13 +83482,13 @@ paths: application/json: schema: type: array - items: *86 + items: *88 examples: - default: *556 + default: *558 headers: - Link: *68 + Link: *70 '404': *6 - '410': *545 + '410': *547 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -83349,9 +83516,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#add-sub-issue parameters: - - *342 - - *343 - - *554 + - *344 + - *345 + - *556 requestBody: required: true content: @@ -83378,16 +83545,16 @@ paths: description: Response content: application/json: - schema: *86 + schema: *88 examples: - default: *553 + default: *555 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/sub-issues/1 schema: type: string '403': *29 - '410': *545 + '410': *547 '422': *15 '404': *6 x-github: @@ -83407,9 +83574,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#reprioritize-sub-issue parameters: - - *342 - - *343 - - *554 + - *344 + - *345 + - *556 requestBody: required: true content: @@ -83440,13 +83607,13 @@ paths: description: Response content: application/json: - schema: *86 + schema: *88 examples: - default: *553 + default: *555 '403': *29 '404': *6 '422': *7 - '503': *120 + '503': *122 x-github: triggersNotification: true githubCloudOnly: false @@ -83464,9 +83631,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/timeline#list-timeline-events-for-an-issue parameters: - - *342 - - *343 - - *554 + - *344 + - *345 + - *556 - *17 - *19 responses: @@ -83481,8 +83648,6 @@ paths: description: Timeline Event type: object anyOf: - - *560 - - *561 - *562 - *563 - *564 @@ -83494,6 +83659,8 @@ paths: - *570 - *571 - *572 + - *573 + - *574 - title: Timeline Comment Event description: Timeline Comment Event type: object @@ -83536,7 +83703,7 @@ paths: issue_url: type: string format: uri - author_association: *83 + author_association: *85 performed_via_github_app: title: GitHub app description: GitHub apps are a new way to extend GitHub. They @@ -83546,16 +83713,16 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *81 - required: *82 - reactions: *84 + properties: *83 + required: *84 + reactions: *86 pin: title: Pinned Issue Comment description: Context around who pinned an issue comment and when it was pinned. type: object - properties: *573 - required: *574 + properties: *575 + required: *576 nullable: true required: - event @@ -83587,7 +83754,7 @@ paths: properties: type: type: string - issue: *86 + issue: *88 required: - event - created_at @@ -83787,7 +83954,7 @@ paths: type: string body_text: type: string - author_association: *83 + author_association: *85 required: - event - id @@ -83810,7 +83977,7 @@ paths: type: string comments: type: array - items: &594 + items: &596 title: Pull Request Review Comment description: Pull Request Review Comments are comments on a portion of the Pull Request's diff. @@ -83905,7 +84072,7 @@ paths: type: string format: uri example: https://api.github.com/repos/octocat/Hello-World/pulls/1 - author_association: *83 + author_association: *85 _links: type: object properties: @@ -83989,7 +84156,7 @@ paths: enum: - line - file - reactions: *84 + reactions: *86 body_html: type: string example: '"

comment body

"' @@ -84025,7 +84192,7 @@ paths: type: string comments: type: array - items: *473 + items: *475 - title: Timeline Assigned Issue Event description: Timeline Assigned Issue Event type: object @@ -84056,8 +84223,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *81 - required: *82 + properties: *83 + required: *84 assignee: *4 required: - id @@ -84100,8 +84267,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *81 - required: *82 + properties: *83 + required: *84 assignee: *4 required: - id @@ -84144,8 +84311,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *81 - required: *82 + properties: *83 + required: *84 state_reason: type: string nullable: true @@ -84312,9 +84479,9 @@ paths: type: User site_admin: true headers: - Link: *68 + Link: *70 '404': *6 - '410': *545 + '410': *547 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84331,8 +84498,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#list-deploy-keys parameters: - - *342 - - *343 + - *344 + - *345 - *17 - *19 responses: @@ -84342,7 +84509,7 @@ paths: application/json: schema: type: array - items: &575 + items: &577 title: Deploy Key description: An SSH key granting access to a single repository. type: object @@ -84392,7 +84559,7 @@ paths: last_used: '2022-01-10T15:53:42Z' enabled: true headers: - Link: *68 + Link: *70 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84408,8 +84575,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#create-a-deploy-key parameters: - - *342 - - *343 + - *344 + - *345 requestBody: required: true content: @@ -84445,9 +84612,9 @@ paths: description: Response content: application/json: - schema: *575 + schema: *577 examples: - default: &576 + default: &578 value: id: 1 key: ssh-rsa AAA... @@ -84481,9 +84648,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#get-a-deploy-key parameters: - - *342 - - *343 - - &577 + - *344 + - *345 + - &579 name: key_id description: The unique identifier of the key. in: path @@ -84495,9 +84662,9 @@ paths: description: Response content: application/json: - schema: *575 + schema: *577 examples: - default: *576 + default: *578 '404': *6 x-github: githubCloudOnly: false @@ -84515,9 +84682,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#delete-a-deploy-key parameters: - - *342 - - *343 - - *577 + - *344 + - *345 + - *579 responses: '204': description: Response @@ -84537,8 +84704,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#list-labels-for-a-repository parameters: - - *342 - - *343 + - *344 + - *345 - *17 - *19 responses: @@ -84548,11 +84715,11 @@ paths: application/json: schema: type: array - items: *85 + items: *87 examples: - default: *559 + default: *561 headers: - Link: *68 + Link: *70 '404': *6 x-github: githubCloudOnly: false @@ -84571,8 +84738,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#create-a-label parameters: - - *342 - - *343 + - *344 + - *345 requestBody: required: true content: @@ -84608,9 +84775,9 @@ paths: description: Response content: application/json: - schema: *85 + schema: *87 examples: - default: &578 + default: &580 value: id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -84642,8 +84809,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#get-a-label parameters: - - *342 - - *343 + - *344 + - *345 - name: name in: path required: true @@ -84654,9 +84821,9 @@ paths: description: Response content: application/json: - schema: *85 + schema: *87 examples: - default: *578 + default: *580 '404': *6 x-github: githubCloudOnly: false @@ -84673,8 +84840,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#update-a-label parameters: - - *342 - - *343 + - *344 + - *345 - name: name in: path required: true @@ -84713,7 +84880,7 @@ paths: description: Response content: application/json: - schema: *85 + schema: *87 examples: default: value: @@ -84739,8 +84906,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#delete-a-label parameters: - - *342 - - *343 + - *344 + - *345 - name: name in: path required: true @@ -84766,8 +84933,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-languages parameters: - - *342 - - *343 + - *344 + - *345 responses: '200': description: Response @@ -84806,9 +84973,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/licenses/licenses#get-the-license-for-a-repository parameters: - - *342 - - *343 - - *446 + - *344 + - *345 + - *448 responses: '200': description: Response @@ -84870,8 +85037,8 @@ paths: title: License Simple description: License Simple type: object - properties: *89 - required: *90 + properties: *91 + required: *92 nullable: true required: - _links @@ -84953,8 +85120,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#sync-a-fork-branch-with-the-upstream-repository parameters: - - *342 - - *343 + - *344 + - *345 requestBody: required: true content: @@ -85019,8 +85186,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#merge-a-branch parameters: - - *342 - - *343 + - *344 + - *345 requestBody: required: true content: @@ -85054,9 +85221,9 @@ paths: description: Successful Response (The resulting merge commit) content: application/json: - schema: *476 + schema: *478 examples: - default: *579 + default: *581 '204': description: Response when already merged '404': @@ -85081,8 +85248,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#list-milestones parameters: - - *342 - - *343 + - *344 + - *345 - name: state description: The state of the milestone. Either `open`, `closed`, or `all`. in: query @@ -85123,12 +85290,12 @@ paths: application/json: schema: type: array - items: &580 + items: &582 title: Milestone description: A collection of related issues and pull requests. type: object - properties: *279 - required: *280 + properties: *281 + required: *282 examples: default: value: @@ -85167,7 +85334,7 @@ paths: closed_at: '2013-02-12T13:22:01Z' due_on: '2012-10-09T23:39:01Z' headers: - Link: *68 + Link: *70 '404': *6 x-github: githubCloudOnly: false @@ -85184,8 +85351,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#create-a-milestone parameters: - - *342 - - *343 + - *344 + - *345 requestBody: required: true content: @@ -85225,9 +85392,9 @@ paths: description: Response content: application/json: - schema: *580 + schema: *582 examples: - default: &581 + default: &583 value: url: https://api.github.com/repos/octocat/Hello-World/milestones/1 html_url: https://github.com/octocat/Hello-World/milestones/v1.0 @@ -85286,9 +85453,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#get-a-milestone parameters: - - *342 - - *343 - - &582 + - *344 + - *345 + - &584 name: milestone_number description: The number that identifies the milestone. in: path @@ -85300,9 +85467,9 @@ paths: description: Response content: application/json: - schema: *580 + schema: *582 examples: - default: *581 + default: *583 '404': *6 x-github: githubCloudOnly: false @@ -85319,9 +85486,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#update-a-milestone parameters: - - *342 - - *343 - - *582 + - *344 + - *345 + - *584 requestBody: required: false content: @@ -85359,9 +85526,9 @@ paths: description: Response content: application/json: - schema: *580 + schema: *582 examples: - default: *581 + default: *583 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -85377,9 +85544,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#delete-a-milestone parameters: - - *342 - - *343 - - *582 + - *344 + - *345 + - *584 responses: '204': description: Response @@ -85400,9 +85567,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#list-labels-for-issues-in-a-milestone parameters: - - *342 - - *343 - - *582 + - *344 + - *345 + - *584 - *17 - *19 responses: @@ -85412,11 +85579,11 @@ paths: application/json: schema: type: array - items: *85 + items: *87 examples: - default: *559 + default: *561 headers: - Link: *68 + Link: *70 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -85433,12 +85600,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#list-repository-notifications-for-the-authenticated-user parameters: - - *342 - - *343 - - *583 - - *584 - - *93 + - *344 + - *345 - *585 + - *586 + - *95 + - *587 - *17 - *19 responses: @@ -85448,11 +85615,11 @@ paths: application/json: schema: type: array - items: *113 + items: *115 examples: - default: *586 + default: *588 headers: - Link: *68 + Link: *70 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -85474,8 +85641,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#mark-repository-notifications-as-read parameters: - - *342 - - *343 + - *344 + - *345 requestBody: required: false content: @@ -85533,14 +85700,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-a-apiname-pages-site parameters: - - *342 - - *343 + - *344 + - *345 responses: '200': description: Response content: application/json: - schema: &587 + schema: &589 title: GitHub Pages description: The configuration for GitHub Pages for a repository. type: object @@ -85665,7 +85832,7 @@ paths: - custom_404 - public examples: - default: &588 + default: &590 value: url: https://api.github.com/repos/github/developer.github.com/pages status: built @@ -85706,8 +85873,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#create-a-apiname-pages-site parameters: - - *342 - - *343 + - *344 + - *345 requestBody: required: true content: @@ -85761,9 +85928,9 @@ paths: description: Response content: application/json: - schema: *587 + schema: *589 examples: - default: *588 + default: *590 '422': *15 '409': *54 x-github: @@ -85786,8 +85953,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#update-information-about-a-apiname-pages-site parameters: - - *342 - - *343 + - *344 + - *345 requestBody: required: true content: @@ -85886,8 +86053,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#delete-a-apiname-pages-site parameters: - - *342 - - *343 + - *344 + - *345 responses: '204': description: Response @@ -85913,8 +86080,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#list-apiname-pages-builds parameters: - - *342 - - *343 + - *344 + - *345 - *17 - *19 responses: @@ -85924,7 +86091,7 @@ paths: application/json: schema: type: array - items: &589 + items: &591 title: Page Build description: Page Build type: object @@ -85999,7 +86166,7 @@ paths: created_at: '2014-02-10T19:00:49Z' updated_at: '2014-02-10T19:00:51Z' headers: - Link: *68 + Link: *70 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86018,8 +86185,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#request-a-apiname-pages-build parameters: - - *342 - - *343 + - *344 + - *345 responses: '201': description: Response @@ -86064,16 +86231,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-latest-pages-build parameters: - - *342 - - *343 + - *344 + - *345 responses: '200': description: Response content: application/json: - schema: *589 + schema: *591 examples: - default: &590 + default: &592 value: url: https://api.github.com/repos/github/developer.github.com/pages/builds/5472601 status: built @@ -86121,8 +86288,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-apiname-pages-build parameters: - - *342 - - *343 + - *344 + - *345 - name: build_id in: path required: true @@ -86133,9 +86300,9 @@ paths: description: Response content: application/json: - schema: *589 + schema: *591 examples: - default: *590 + default: *592 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86155,8 +86322,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#create-a-github-pages-deployment parameters: - - *342 - - *343 + - *344 + - *345 requestBody: required: true content: @@ -86261,9 +86428,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-the-status-of-a-github-pages-deployment parameters: - - *342 - - *343 - - &591 + - *344 + - *345 + - &593 name: pages_deployment_id description: The ID of the Pages deployment. You can also give the commit SHA of the deployment. @@ -86321,9 +86488,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#cancel-a-github-pages-deployment parameters: - - *342 - - *343 - - *591 + - *344 + - *345 + - *593 responses: '204': *61 '404': *6 @@ -86350,8 +86517,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-a-dns-health-check-for-github-pages parameters: - - *342 - - *343 + - *344 + - *345 responses: '200': description: Response @@ -86582,7 +86749,7 @@ paths: description: Empty response content: application/json: - schema: *168 + schema: *170 examples: default: value: @@ -86609,8 +86776,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#check-if-private-vulnerability-reporting-is-enabled-for-a-repository parameters: - - *342 - - *343 + - *344 + - *345 responses: '200': description: Private vulnerability reporting status @@ -86647,8 +86814,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-private-vulnerability-reporting-for-a-repository parameters: - - *342 - - *343 + - *344 + - *345 responses: '204': *61 '422': *14 @@ -86669,8 +86836,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-private-vulnerability-reporting-for-a-repository parameters: - - *342 - - *343 + - *344 + - *345 responses: '204': *61 '422': *14 @@ -86692,8 +86859,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/custom-properties#get-all-custom-property-values-for-a-repository parameters: - - *342 - - *343 + - *344 + - *345 responses: '200': description: Response @@ -86701,7 +86868,7 @@ paths: application/json: schema: type: array - items: *294 + items: *296 examples: default: value: @@ -86732,8 +86899,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/custom-properties#create-or-update-custom-property-values-for-a-repository parameters: - - *342 - - *343 + - *344 + - *345 requestBody: required: true content: @@ -86745,7 +86912,7 @@ paths: type: array description: A list of custom property names and associated values to apply to the repositories. - items: *294 + items: *296 required: - properties examples: @@ -86795,8 +86962,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#list-pull-requests parameters: - - *342 - - *343 + - *344 + - *345 - name: state description: Either `open`, `closed`, or `all` to filter by state. in: query @@ -86856,11 +87023,11 @@ paths: application/json: schema: type: array - items: *480 + items: *482 examples: - default: *592 + default: *594 headers: - Link: *68 + Link: *70 '304': *37 '422': *15 x-github: @@ -86890,8 +87057,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#create-a-pull-request parameters: - - *342 - - *343 + - *344 + - *345 requestBody: required: true content: @@ -86956,7 +87123,7 @@ paths: description: Response content: application/json: - schema: &596 + schema: &598 type: object title: Pull Request description: Pull requests let you tell others about changes you've @@ -87067,8 +87234,8 @@ paths: title: Milestone description: A collection of related issues and pull requests. type: object - properties: *279 - required: *280 + properties: *281 + required: *282 nullable: true active_lock_reason: type: string @@ -87111,7 +87278,7 @@ paths: items: *4 requested_teams: type: array - items: *331 + items: *333 head: type: object properties: @@ -87119,7 +87286,7 @@ paths: type: string ref: type: string - repo: *80 + repo: *82 sha: type: string user: *4 @@ -87136,7 +87303,7 @@ paths: type: string ref: type: string - repo: *80 + repo: *82 sha: type: string user: *4 @@ -87149,14 +87316,14 @@ paths: _links: type: object properties: - comments: *281 - commits: *281 - statuses: *281 - html: *281 - issue: *281 - review_comments: *281 - review_comment: *281 - self: *281 + comments: *283 + commits: *283 + statuses: *283 + html: *283 + issue: *283 + review_comments: *283 + review_comment: *283 + self: *283 required: - comments - commits @@ -87166,8 +87333,8 @@ paths: - review_comments - review_comment - self - author_association: *83 - auto_merge: *593 + author_association: *85 + auto_merge: *595 draft: description: Indicates whether or not the pull request is a draft. example: false @@ -87259,7 +87426,7 @@ paths: - merged_by - review_comments examples: - default: &597 + default: &599 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -87786,8 +87953,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#list-review-comments-in-a-repository parameters: - - *342 - - *343 + - *344 + - *345 - name: sort in: query required: false @@ -87806,7 +87973,7 @@ paths: enum: - asc - desc - - *93 + - *95 - *17 - *19 responses: @@ -87816,9 +87983,9 @@ paths: application/json: schema: type: array - items: *594 + items: *596 examples: - default: &599 + default: &601 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -87870,7 +88037,7 @@ paths: original_line: 2 side: RIGHT headers: - Link: *68 + Link: *70 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87895,17 +88062,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#get-a-review-comment-for-a-pull-request parameters: - - *342 - - *343 - - *102 + - *344 + - *345 + - *104 responses: '200': description: Response content: application/json: - schema: *594 + schema: *596 examples: - default: &595 + default: &597 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -87980,9 +88147,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#update-a-review-comment-for-a-pull-request parameters: - - *342 - - *343 - - *102 + - *344 + - *345 + - *104 requestBody: required: true content: @@ -88004,9 +88171,9 @@ paths: description: Response content: application/json: - schema: *594 + schema: *596 examples: - default: *595 + default: *597 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88022,9 +88189,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#delete-a-review-comment-for-a-pull-request parameters: - - *342 - - *343 - - *102 + - *344 + - *345 + - *104 responses: '204': description: Response @@ -88045,9 +88212,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-pull-request-review-comment parameters: - - *342 - - *343 - - *102 + - *344 + - *345 + - *104 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a pull request review comment. @@ -88073,11 +88240,11 @@ paths: application/json: schema: type: array - items: *474 + items: *476 examples: - default: *548 + default: *550 headers: - Link: *68 + Link: *70 '404': *6 x-github: githubCloudOnly: false @@ -88096,9 +88263,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-pull-request-review-comment parameters: - - *342 - - *343 - - *102 + - *344 + - *345 + - *104 requestBody: required: true content: @@ -88130,16 +88297,16 @@ paths: description: Reaction exists content: application/json: - schema: *474 + schema: *476 examples: - default: *475 + default: *477 '201': description: Reaction created content: application/json: - schema: *474 + schema: *476 examples: - default: *475 + default: *477 '422': *15 x-github: githubCloudOnly: false @@ -88161,10 +88328,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-a-pull-request-comment-reaction parameters: - - *342 - - *343 - - *102 - - *549 + - *344 + - *345 + - *104 + - *551 responses: '204': description: Response @@ -88207,9 +88374,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#get-a-pull-request parameters: - - *342 - - *343 - - &598 + - *344 + - *345 + - &600 name: pull_number description: The number that identifies the pull request. in: path @@ -88222,9 +88389,9 @@ paths: to fetch diff and patch formats. content: application/json: - schema: *596 + schema: *598 examples: - default: *597 + default: *599 '304': *37 '404': *6 '406': @@ -88233,7 +88400,7 @@ paths: application/json: schema: *3 '500': *55 - '503': *120 + '503': *122 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88259,9 +88426,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#update-a-pull-request parameters: - - *342 - - *343 - - *598 + - *344 + - *345 + - *600 requestBody: required: false content: @@ -88303,9 +88470,9 @@ paths: description: Response content: application/json: - schema: *596 + schema: *598 examples: - default: *597 + default: *599 '422': *15 '403': *29 x-github: @@ -88327,9 +88494,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#archive-a-pull-request parameters: - - *342 - - *343 - - *598 + - *344 + - *345 + - *600 responses: '204': description: Response @@ -88354,9 +88521,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#unarchive-a-pull-request parameters: - - *342 - - *343 - - *598 + - *344 + - *345 + - *600 responses: '204': description: Response @@ -88382,9 +88549,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#create-a-codespace-from-a-pull-request parameters: - - *342 - - *343 - - *598 + - *344 + - *345 + - *600 requestBody: required: true content: @@ -88444,21 +88611,21 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *247 + schema: *249 examples: - default: *463 + default: *465 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *247 + schema: *249 examples: - default: *463 + default: *465 '401': *25 '403': *29 '404': *6 - '503': *120 + '503': *122 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -88484,10 +88651,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#list-review-comments-on-a-pull-request parameters: - - *342 - - *343 - - *598 - - *110 + - *344 + - *345 + - *600 + - *112 - name: direction description: The direction to sort results. Ignored without `sort` parameter. in: query @@ -88497,7 +88664,7 @@ paths: enum: - asc - desc - - *93 + - *95 - *17 - *19 responses: @@ -88507,11 +88674,11 @@ paths: application/json: schema: type: array - items: *594 + items: *596 examples: - default: *599 + default: *601 headers: - Link: *68 + Link: *70 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88542,9 +88709,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#create-a-review-comment-for-a-pull-request parameters: - - *342 - - *343 - - *598 + - *344 + - *345 + - *600 requestBody: required: true content: @@ -88649,7 +88816,7 @@ paths: description: Response content: application/json: - schema: *594 + schema: *596 examples: example-for-a-multi-line-comment: value: @@ -88737,10 +88904,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#create-a-reply-for-a-review-comment parameters: - - *342 - - *343 - - *598 - - *102 + - *344 + - *345 + - *600 + - *104 requestBody: required: true content: @@ -88762,7 +88929,7 @@ paths: description: Response content: application/json: - schema: *594 + schema: *596 examples: default: value: @@ -88848,9 +89015,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#list-commits-on-a-pull-request parameters: - - *342 - - *343 - - *598 + - *344 + - *345 + - *600 - *17 - *19 responses: @@ -88860,11 +89027,11 @@ paths: application/json: schema: type: array - items: *476 + items: *478 examples: - default: *600 + default: *602 headers: - Link: *68 + Link: *70 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88892,9 +89059,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#list-pull-requests-files parameters: - - *342 - - *343 - - *598 + - *344 + - *345 + - *600 - *17 - *19 responses: @@ -88904,7 +89071,7 @@ paths: application/json: schema: type: array - items: *489 + items: *491 examples: default: value: @@ -88920,10 +89087,10 @@ paths: patch: "@@ -132,7 +132,7 @@ module Test @@ -1000,7 +1000,7 @@ module Test" headers: - Link: *68 + Link: *70 '422': *15 '500': *55 - '503': *120 + '503': *122 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88942,9 +89109,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#check-if-a-pull-request-has-been-merged parameters: - - *342 - - *343 - - *598 + - *344 + - *345 + - *600 responses: '204': description: Response if pull request has been merged @@ -88967,9 +89134,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#merge-a-pull-request parameters: - - *342 - - *343 - - *598 + - *344 + - *345 + - *600 requestBody: required: false content: @@ -89080,9 +89247,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/review-requests#get-all-requested-reviewers-for-a-pull-request parameters: - - *342 - - *343 - - *598 + - *344 + - *345 + - *600 responses: '200': description: Response @@ -89098,7 +89265,7 @@ paths: items: *4 teams: type: array - items: *195 + items: *197 required: - users - teams @@ -89139,7 +89306,7 @@ paths: repositories_url: https://api.github.com/teams/1/repos parent: headers: - Link: *68 + Link: *70 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89157,9 +89324,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/review-requests#request-reviewers-for-a-pull-request parameters: - - *342 - - *343 - - *598 + - *344 + - *345 + - *600 requestBody: required: false content: @@ -89196,7 +89363,7 @@ paths: description: Response content: application/json: - schema: *480 + schema: *482 examples: default: value: @@ -89732,9 +89899,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/review-requests#remove-requested-reviewers-from-a-pull-request parameters: - - *342 - - *343 - - *598 + - *344 + - *345 + - *600 requestBody: required: true content: @@ -89768,7 +89935,7 @@ paths: description: Response content: application/json: - schema: *480 + schema: *482 examples: default: value: @@ -90273,9 +90440,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#list-reviews-for-a-pull-request parameters: - - *342 - - *343 - - *598 + - *344 + - *345 + - *600 - *17 - *19 responses: @@ -90285,7 +90452,7 @@ paths: application/json: schema: type: array - items: &601 + items: &603 title: Pull Request Review description: Pull Request Reviews are reviews on pull requests. type: object @@ -90354,7 +90521,7 @@ paths: type: string body_text: type: string - author_association: *83 + author_association: *85 required: - id - node_id @@ -90403,7 +90570,7 @@ paths: commit_id: ecdd80bb57125d7ba9641ffaa4d7d2c19d3f3091 author_association: COLLABORATOR headers: - Link: *68 + Link: *70 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -90436,9 +90603,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#create-a-review-for-a-pull-request parameters: - - *342 - - *343 - - *598 + - *344 + - *345 + - *600 requestBody: required: false content: @@ -90524,9 +90691,9 @@ paths: description: Response content: application/json: - schema: *601 + schema: *603 examples: - default: &603 + default: &605 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -90589,10 +90756,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#get-a-review-for-a-pull-request parameters: - - *342 - - *343 - - *598 - - &602 + - *344 + - *345 + - *600 + - &604 name: review_id description: The unique identifier of the review. in: path @@ -90604,9 +90771,9 @@ paths: description: Response content: application/json: - schema: *601 + schema: *603 examples: - default: &604 + default: &606 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -90665,10 +90832,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#update-a-review-for-a-pull-request parameters: - - *342 - - *343 - - *598 - - *602 + - *344 + - *345 + - *600 + - *604 requestBody: required: true content: @@ -90691,7 +90858,7 @@ paths: description: Response content: application/json: - schema: *601 + schema: *603 examples: default: value: @@ -90753,18 +90920,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#delete-a-pending-review-for-a-pull-request parameters: - - *342 - - *343 - - *598 - - *602 + - *344 + - *345 + - *600 + - *604 responses: '200': description: Response content: application/json: - schema: *601 + schema: *603 examples: - default: *603 + default: *605 '422': *7 '404': *6 x-github: @@ -90791,10 +90958,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#list-comments-for-a-pull-request-review parameters: - - *342 - - *343 - - *598 - - *602 + - *344 + - *345 + - *600 + - *604 - *17 - *19 responses: @@ -90873,13 +91040,13 @@ paths: type: string format: uri example: https://api.github.com/repos/octocat/Hello-World/pulls/1 - author_association: *83 + author_association: *85 _links: type: object properties: - self: *281 - html: *281 - pull_request: *281 + self: *283 + html: *283 + pull_request: *283 required: - self - html @@ -90888,7 +91055,7 @@ paths: type: string body_html: type: string - reactions: *84 + reactions: *86 side: description: The side of the first line of the range for a multi-line comment. @@ -91000,7 +91167,7 @@ paths: pull_request: href: https://api.github.com/repos/octocat/Hello-World/pulls/1 headers: - Link: *68 + Link: *70 '404': *6 x-github: githubCloudOnly: false @@ -91029,10 +91196,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#dismiss-a-review-for-a-pull-request parameters: - - *342 - - *343 - - *598 - - *602 + - *344 + - *345 + - *600 + - *604 requestBody: required: true content: @@ -91060,7 +91227,7 @@ paths: description: Response content: application/json: - schema: *601 + schema: *603 examples: default: value: @@ -91123,10 +91290,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#submit-a-review-for-a-pull-request parameters: - - *342 - - *343 - - *598 - - *602 + - *344 + - *345 + - *600 + - *604 requestBody: required: true content: @@ -91161,9 +91328,9 @@ paths: description: Response content: application/json: - schema: *601 + schema: *603 examples: - default: *604 + default: *606 '404': *6 '422': *7 '403': *29 @@ -91185,9 +91352,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#update-a-pull-request-branch parameters: - - *342 - - *343 - - *598 + - *344 + - *345 + - *600 requestBody: required: false content: @@ -91250,8 +91417,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#get-a-repository-readme parameters: - - *342 - - *343 + - *344 + - *345 - name: ref description: 'The name of the commit/branch/tag. Default: the repository’s default branch.' @@ -91264,9 +91431,9 @@ paths: description: Response content: application/json: - schema: *605 + schema: *607 examples: - default: &606 + default: &608 value: type: file encoding: base64 @@ -91308,8 +91475,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#get-a-repository-readme-for-a-directory parameters: - - *342 - - *343 + - *344 + - *345 - name: dir description: The alternate path to look for a README file in: path @@ -91329,9 +91496,9 @@ paths: description: Response content: application/json: - schema: *605 + schema: *607 examples: - default: *606 + default: *608 '404': *6 '422': *15 x-github: @@ -91353,8 +91520,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#list-releases parameters: - - *342 - - *343 + - *344 + - *345 - *17 - *19 responses: @@ -91364,7 +91531,7 @@ paths: application/json: schema: type: array - items: *607 + items: *609 examples: default: value: @@ -91438,7 +91605,7 @@ paths: type: User site_admin: false headers: - Link: *68 + Link: *70 '404': *6 x-github: githubCloudOnly: false @@ -91458,8 +91625,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#create-a-release parameters: - - *342 - - *343 + - *344 + - *345 requestBody: required: true content: @@ -91535,9 +91702,9 @@ paths: description: Response content: application/json: - schema: *607 + schema: *609 examples: - default: &611 + default: &613 value: url: https://api.github.com/repos/octocat/Hello-World/releases/1 html_url: https://github.com/octocat/Hello-World/releases/v1.0.0 @@ -91642,9 +91809,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#get-a-release-asset parameters: - - *342 - - *343 - - &609 + - *344 + - *345 + - &611 name: asset_id description: The unique identifier of the asset. in: path @@ -91656,9 +91823,9 @@ paths: description: Response content: application/json: - schema: *608 + schema: *610 examples: - default: &610 + default: &612 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 @@ -91693,7 +91860,7 @@ paths: type: User site_admin: false '404': *6 - '302': *493 + '302': *495 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91709,9 +91876,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#update-a-release-asset parameters: - - *342 - - *343 - - *609 + - *344 + - *345 + - *611 requestBody: required: false content: @@ -91739,9 +91906,9 @@ paths: description: Response content: application/json: - schema: *608 + schema: *610 examples: - default: *610 + default: *612 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91757,9 +91924,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#delete-a-release-asset parameters: - - *342 - - *343 - - *609 + - *344 + - *345 + - *611 responses: '204': description: Response @@ -91784,8 +91951,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#generate-release-notes-content-for-a-release parameters: - - *342 - - *343 + - *344 + - *345 requestBody: required: true content: @@ -91870,16 +92037,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#get-the-latest-release parameters: - - *342 - - *343 + - *344 + - *345 responses: '200': description: Response content: application/json: - schema: *607 + schema: *609 examples: - default: *611 + default: *613 '404': *6 x-github: githubCloudOnly: false @@ -91897,8 +92064,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#get-a-release-by-tag-name parameters: - - *342 - - *343 + - *344 + - *345 - name: tag description: tag parameter in: path @@ -91911,9 +92078,9 @@ paths: description: Response content: application/json: - schema: *607 + schema: *609 examples: - default: *611 + default: *613 '404': *6 x-github: githubCloudOnly: false @@ -91935,9 +92102,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#get-a-release parameters: - - *342 - - *343 - - &612 + - *344 + - *345 + - &614 name: release_id description: The unique identifier of the release. in: path @@ -91951,9 +92118,9 @@ paths: For more information, see "[Getting started with the REST API](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#hypermedia)."' content: application/json: - schema: *607 + schema: *609 examples: - default: *611 + default: *613 '401': description: Unauthorized x-github: @@ -91971,9 +92138,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#update-a-release parameters: - - *342 - - *343 - - *612 + - *344 + - *345 + - *614 requestBody: required: false content: @@ -92037,9 +92204,9 @@ paths: description: Response content: application/json: - schema: *607 + schema: *609 examples: - default: *611 + default: *613 '404': description: Not Found if the discussion category name is invalid content: @@ -92060,9 +92227,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#delete-a-release parameters: - - *342 - - *343 - - *612 + - *344 + - *345 + - *614 responses: '204': description: Response @@ -92083,9 +92250,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#list-release-assets parameters: - - *342 - - *343 - - *612 + - *344 + - *345 + - *614 - *17 - *19 responses: @@ -92095,7 +92262,7 @@ paths: application/json: schema: type: array - items: *608 + items: *610 examples: default: value: @@ -92132,7 +92299,7 @@ paths: type: User site_admin: false headers: - Link: *68 + Link: *70 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -92176,9 +92343,9 @@ paths: description: The URL origin (protocol + host name + port) is included in `upload_url` returned in the response of the "Create a release" endpoint parameters: - - *342 - - *343 - - *612 + - *344 + - *345 + - *614 - name: name in: query required: true @@ -92204,7 +92371,7 @@ paths: description: Response for successful upload content: application/json: - schema: *608 + schema: *610 examples: response-for-successful-upload: value: @@ -92259,9 +92426,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-release parameters: - - *342 - - *343 - - *612 + - *344 + - *345 + - *614 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a release. @@ -92285,11 +92452,11 @@ paths: application/json: schema: type: array - items: *474 + items: *476 examples: - default: *548 + default: *550 headers: - Link: *68 + Link: *70 '404': *6 x-github: githubCloudOnly: false @@ -92308,9 +92475,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-release parameters: - - *342 - - *343 - - *612 + - *344 + - *345 + - *614 requestBody: required: true content: @@ -92340,16 +92507,16 @@ paths: description: Reaction exists content: application/json: - schema: *474 + schema: *476 examples: - default: *475 + default: *477 '201': description: Reaction created content: application/json: - schema: *474 + schema: *476 examples: - default: *475 + default: *477 '422': *15 x-github: githubCloudOnly: false @@ -92371,10 +92538,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-a-release-reaction parameters: - - *342 - - *343 - - *612 - - *549 + - *344 + - *345 + - *614 + - *551 responses: '204': description: Response @@ -92398,9 +92565,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rules#get-rules-for-a-branch parameters: - - *342 - - *343 - - *409 + - *344 + - *345 + - *411 - *17 - *19 responses: @@ -92416,8 +92583,8 @@ paths: description: A repository rule with ruleset details. oneOf: - allOf: - - *303 - - &613 + - *305 + - &615 title: repository ruleset data for rule description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -92436,69 +92603,69 @@ paths: ruleset_id: type: integer description: The ID of the ruleset that includes this rule. - - allOf: - - *304 - - *613 - - allOf: - - *305 - - *613 - allOf: - *306 - - *613 - - allOf: - - *614 - - *613 + - *615 - allOf: - *307 - - *613 + - *615 - allOf: - *308 - - *613 + - *615 + - allOf: + - *616 + - *615 - allOf: - *309 - - *613 + - *615 - allOf: - *310 - - *613 + - *615 - allOf: - *311 - - *613 + - *615 - allOf: - *312 - - *613 + - *615 - allOf: - *313 - - *613 + - *615 - allOf: - *314 - - *613 + - *615 - allOf: - *315 - - *613 + - *615 - allOf: - *316 - - *613 + - *615 - allOf: - *317 - - *613 + - *615 - allOf: - *318 - - *613 + - *615 - allOf: - *319 - - *613 + - *615 - allOf: - *320 - - *613 + - *615 - allOf: - *321 - - *613 + - *615 - allOf: - *322 - - *613 + - *615 - allOf: - *323 - - *613 + - *615 + - allOf: + - *324 + - *615 + - allOf: + - *325 + - *615 examples: default: value: @@ -92537,8 +92704,8 @@ paths: category: repos subcategory: rules parameters: - - *342 - - *343 + - *344 + - *345 - *17 - *19 - name: includes_parents @@ -92549,7 +92716,7 @@ paths: schema: type: boolean default: true - - *615 + - *617 responses: '200': description: Response @@ -92557,7 +92724,7 @@ paths: application/json: schema: type: array - items: *324 + items: *326 examples: default: value: @@ -92604,8 +92771,8 @@ paths: category: repos subcategory: rules parameters: - - *342 - - *343 + - *344 + - *345 requestBody: description: Request body required: true @@ -92625,16 +92792,16 @@ paths: - tag - push default: branch - enforcement: *300 + enforcement: *302 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *301 - conditions: *298 + items: *303 + conditions: *300 rules: type: array description: An array of rules within the ruleset. - items: *616 + items: *618 required: - name - enforcement @@ -92665,9 +92832,9 @@ paths: description: Response content: application/json: - schema: *324 + schema: *326 examples: - default: &626 + default: &628 value: id: 42 name: super cool ruleset @@ -92715,12 +92882,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rule-suites#list-repository-rule-suites parameters: - - *342 - - *343 - - *617 - - *618 + - *344 + - *345 - *619 - *620 + - *621 + - *622 - *17 - *19 responses: @@ -92728,9 +92895,9 @@ paths: description: Response content: application/json: - schema: *621 + schema: *623 examples: - default: *622 + default: *624 '404': *6 '500': *55 x-github: @@ -92751,17 +92918,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rule-suites#get-a-repository-rule-suite parameters: - - *342 - - *343 - - *623 + - *344 + - *345 + - *625 responses: '200': description: Response content: application/json: - schema: *624 + schema: *626 examples: - default: *625 + default: *627 '404': *6 '500': *55 x-github: @@ -92789,8 +92956,8 @@ paths: category: repos subcategory: rules parameters: - - *342 - - *343 + - *344 + - *345 - name: ruleset_id description: The ID of the ruleset. in: path @@ -92810,9 +92977,9 @@ paths: description: Response content: application/json: - schema: *324 + schema: *326 examples: - default: *626 + default: *628 '404': *6 '500': *55 put: @@ -92830,8 +92997,8 @@ paths: category: repos subcategory: rules parameters: - - *342 - - *343 + - *344 + - *345 - name: ruleset_id description: The ID of the ruleset. in: path @@ -92856,16 +93023,16 @@ paths: - branch - tag - push - enforcement: *300 + enforcement: *302 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *301 - conditions: *298 + items: *303 + conditions: *300 rules: description: An array of rules within the ruleset. type: array - items: *616 + items: *618 examples: default: value: @@ -92893,9 +93060,9 @@ paths: description: Response content: application/json: - schema: *324 + schema: *326 examples: - default: *626 + default: *628 '404': *6 '422': *15 '500': *55 @@ -92914,8 +93081,8 @@ paths: category: repos subcategory: rules parameters: - - *342 - - *343 + - *344 + - *345 - name: ruleset_id description: The ID of the ruleset. in: path @@ -92938,8 +93105,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rules#get-repository-ruleset-history parameters: - - *342 - - *343 + - *344 + - *345 - *17 - *19 - name: ruleset_id @@ -92955,9 +93122,9 @@ paths: application/json: schema: type: array - items: *327 + items: *329 examples: - default: *627 + default: *629 '404': *6 '500': *55 x-github: @@ -92976,8 +93143,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rules#get-repository-ruleset-version parameters: - - *342 - - *343 + - *344 + - *345 - name: ruleset_id description: The ID of the ruleset. in: path @@ -92995,7 +93162,7 @@ paths: description: Response content: application/json: - schema: *628 + schema: *630 examples: default: value: @@ -93050,25 +93217,25 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-a-repository parameters: - - *342 - - *343 - - *629 - - *630 + - *344 + - *345 - *631 - *632 - *633 - *634 - *635 - *636 + - *637 + - *638 - *62 - *19 - *17 - - *637 - - *638 - *639 - *640 - *641 - *642 + - *643 + - *644 responses: '200': description: Response @@ -93076,11 +93243,11 @@ paths: application/json: schema: type: array - items: &646 + items: &648 type: object properties: - number: *177 - created_at: *178 + number: *179 + created_at: *180 updated_at: type: string description: 'The time that the alert was last updated in ISO @@ -93088,15 +93255,15 @@ paths: format: date-time readOnly: true nullable: true - url: *180 - html_url: *181 + url: *182 + html_url: *183 locations_url: type: string format: uri description: The REST API URL of the code locations for this alert. - state: *643 - resolution: *644 + state: *645 + resolution: *646 resolved_at: type: string format: date-time @@ -93202,7 +93369,7 @@ paths: pull request. ' - oneOf: *645 + oneOf: *647 nullable: true has_more_locations: type: boolean @@ -93344,7 +93511,7 @@ paths: '404': description: Repository is public or secret scanning is disabled for the repository - '503': *120 + '503': *122 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -93366,16 +93533,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#get-a-secret-scanning-alert parameters: - - *342 - - *343 - - *440 - - *642 + - *344 + - *345 + - *442 + - *644 responses: '200': description: Response content: application/json: - schema: *646 + schema: *648 examples: default: value: @@ -93406,7 +93573,7 @@ paths: '404': description: Repository is public, or secret scanning is disabled for the repository, or the resource is not found - '503': *120 + '503': *122 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -93429,9 +93596,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#update-a-secret-scanning-alert parameters: - - *342 - - *343 - - *440 + - *344 + - *345 + - *442 requestBody: required: true content: @@ -93439,8 +93606,8 @@ paths: schema: type: object properties: - state: *643 - resolution: *644 + state: *645 + resolution: *646 resolution_comment: description: An optional comment when closing or reopening an alert. Cannot be updated or deleted. @@ -93476,7 +93643,7 @@ paths: description: Response content: application/json: - schema: *646 + schema: *648 examples: default: value: @@ -93549,7 +93716,7 @@ paths: '422': description: State does not match the resolution or resolution comment, or assignee does not have write access to the repository - '503': *120 + '503': *122 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -93571,9 +93738,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-locations-for-a-secret-scanning-alert parameters: - - *342 - - *343 - - *440 + - *344 + - *345 + - *442 - *19 - *17 responses: @@ -93584,7 +93751,7 @@ paths: schema: type: array description: List of locations where the secret was detected - items: &803 + items: &805 type: object properties: type: @@ -93610,8 +93777,6 @@ paths: example: commit details: oneOf: - - *647 - - *648 - *649 - *650 - *651 @@ -93623,6 +93788,8 @@ paths: - *657 - *658 - *659 + - *660 + - *661 examples: default: value: @@ -93682,11 +93849,11 @@ paths: details: pull_request_review_comment_url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/12 headers: - Link: *68 + Link: *70 '404': description: Repository is public, or secret scanning is disabled for the repository, or the resource is not found - '503': *120 + '503': *122 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -93708,8 +93875,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#create-a-push-protection-bypass parameters: - - *342 - - *343 + - *344 + - *345 requestBody: required: true content: @@ -93717,14 +93884,14 @@ paths: schema: type: object properties: - reason: &661 + reason: &663 description: The reason for bypassing push protection. type: string enum: - false_positive - used_in_tests - will_fix_later - placeholder_id: *660 + placeholder_id: *662 required: - reason - placeholder_id @@ -93741,7 +93908,7 @@ paths: schema: type: object properties: - reason: *661 + reason: *663 expire_at: type: string format: date-time @@ -93764,7 +93931,7 @@ paths: this repository. '422': description: Bad request, input data missing or incorrect. - '503': *120 + '503': *122 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -93787,13 +93954,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#get-secret-scanning-scan-history-for-a-repository parameters: - - *342 - - *343 + - *344 + - *345 responses: '404': description: Repository does not have GitHub Advanced Security or secret scanning enabled - '503': *120 + '503': *122 '200': description: Response content: @@ -93803,7 +93970,7 @@ paths: properties: incremental_scans: type: array - items: &662 + items: &664 description: Information on a single scan performed by secret scanning on the repository type: object @@ -93829,15 +93996,15 @@ paths: nullable: true pattern_update_scans: type: array - items: *662 + items: *664 backfill_scans: type: array - items: *662 + items: *664 custom_pattern_backfill_scans: type: array items: allOf: - - *662 + - *664 - type: object properties: pattern_name: @@ -93850,7 +94017,7 @@ paths: one of "repository", "organization", or "enterprise" generic_secrets_backfill_scans: type: array - items: *662 + items: *664 examples: default: value: @@ -93915,8 +94082,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#list-repository-security-advisories parameters: - - *342 - - *343 + - *344 + - *345 - *62 - name: sort description: The property to sort the results by. @@ -93960,9 +94127,9 @@ paths: application/json: schema: type: array - items: *663 + items: *665 examples: - default: *664 + default: *666 '400': *14 '404': *6 x-github: @@ -93985,8 +94152,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#create-a-repository-security-advisory parameters: - - *342 - - *343 + - *344 + - *345 requestBody: required: true content: @@ -94059,7 +94226,7 @@ paths: login: type: string description: The username of the user credited. - type: *330 + type: *332 required: - login - type @@ -94146,9 +94313,9 @@ paths: description: Response content: application/json: - schema: *663 + schema: *665 examples: - default: &666 + default: &668 value: ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -94381,8 +94548,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#privately-report-a-security-vulnerability parameters: - - *342 - - *343 + - *344 + - *345 requestBody: required: true content: @@ -94486,7 +94653,7 @@ paths: description: Response content: application/json: - schema: *663 + schema: *665 examples: default: value: @@ -94633,17 +94800,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#get-a-repository-security-advisory parameters: - - *342 - - *343 - - *665 + - *344 + - *345 + - *667 responses: '200': description: Response content: application/json: - schema: *663 + schema: *665 examples: - default: *666 + default: *668 '403': *29 '404': *6 x-github: @@ -94667,9 +94834,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#update-a-repository-security-advisory parameters: - - *342 - - *343 - - *665 + - *344 + - *345 + - *667 requestBody: required: true content: @@ -94742,7 +94909,7 @@ paths: login: type: string description: The username of the user credited. - type: *330 + type: *332 required: - login - type @@ -94828,17 +94995,17 @@ paths: description: Response content: application/json: - schema: *663 + schema: *665 examples: - default: *666 - add_credit: *666 + default: *668 + add_credit: *668 '403': *29 '404': *6 '422': description: Validation failed, or the endpoint has been spammed. content: application/json: - schema: *128 + schema: *130 examples: invalid_state_transition: value: @@ -94869,9 +95036,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#request-a-cve-for-a-repository-security-advisory parameters: - - *342 - - *343 - - *665 + - *344 + - *345 + - *667 responses: '202': *39 '400': *14 @@ -94898,17 +95065,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#create-a-temporary-private-fork parameters: - - *342 - - *343 - - *665 + - *344 + - *345 + - *667 responses: '202': description: Response content: application/json: - schema: *345 + schema: *347 examples: - default: *347 + default: *349 '400': *14 '422': *15 '403': *29 @@ -94934,8 +95101,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#list-stargazers parameters: - - *342 - - *343 + - *344 + - *345 - *17 - *19 responses: @@ -95012,7 +95179,7 @@ paths: type: User site_admin: false headers: - Link: *68 + Link: *70 '422': *15 x-github: githubCloudOnly: false @@ -95034,8 +95201,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-weekly-commit-activity parameters: - - *342 - - *343 + - *344 + - *345 responses: '200': description: Returns a weekly aggregate of the number of additions and deletions @@ -95044,7 +95211,7 @@ paths: application/json: schema: type: array - items: &667 + items: &669 title: Code Frequency Stat description: Code Frequency Stat type: array @@ -95077,8 +95244,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-last-year-of-commit-activity parameters: - - *342 - - *343 + - *344 + - *345 responses: '200': description: Response @@ -95154,8 +95321,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-all-contributor-commit-activity parameters: - - *342 - - *343 + - *344 + - *345 responses: '200': description: Response @@ -95251,8 +95418,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-weekly-commit-count parameters: - - *342 - - *343 + - *344 + - *345 responses: '200': description: The array order is oldest week (index 0) to most recent week. @@ -95406,8 +95573,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-hourly-commit-count-for-each-day parameters: - - *342 - - *343 + - *344 + - *345 responses: '200': description: For example, `[2, 14, 25]` indicates that there were 25 total @@ -95417,7 +95584,7 @@ paths: application/json: schema: type: array - items: *667 + items: *669 examples: default: value: @@ -95450,8 +95617,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/statuses#create-a-commit-status parameters: - - *342 - - *343 + - *344 + - *345 - name: sha in: path required: true @@ -95505,7 +95672,7 @@ paths: description: Response content: application/json: - schema: *668 + schema: *670 examples: default: value: @@ -95559,8 +95726,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#list-watchers parameters: - - *342 - - *343 + - *344 + - *345 - *17 - *19 responses: @@ -95572,9 +95739,9 @@ paths: type: array items: *4 examples: - default: *71 + default: *73 headers: - Link: *68 + Link: *70 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -95592,14 +95759,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#get-a-repository-subscription parameters: - - *342 - - *343 + - *344 + - *345 responses: '200': description: if you subscribe to the repository content: application/json: - schema: &669 + schema: &671 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -95667,8 +95834,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#set-a-repository-subscription parameters: - - *342 - - *343 + - *344 + - *345 requestBody: required: false content: @@ -95694,7 +95861,7 @@ paths: description: Response content: application/json: - schema: *669 + schema: *671 examples: default: value: @@ -95721,8 +95888,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#delete-a-repository-subscription parameters: - - *342 - - *343 + - *344 + - *345 responses: '204': description: Response @@ -95742,8 +95909,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-tags parameters: - - *342 - - *343 + - *344 + - *345 - *17 - *19 responses: @@ -95799,7 +95966,7 @@ paths: tarball_url: https://github.com/octocat/Hello-World/tarball/v0.1 node_id: MDQ6VXNlcjE= headers: - Link: *68 + Link: *70 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -95822,8 +95989,8 @@ paths: url: https://docs.github.com/rest/repos/contents#download-a-repository-archive-tar operationId: repos/download-tarball-archive parameters: - - *342 - - *343 + - *344 + - *345 - name: ref in: path required: true @@ -95859,8 +96026,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-teams parameters: - - *342 - - *343 + - *344 + - *345 - *17 - *19 responses: @@ -95870,11 +96037,11 @@ paths: application/json: schema: type: array - items: *195 + items: *197 examples: - default: *259 + default: *261 headers: - Link: *68 + Link: *70 '404': *6 x-github: githubCloudOnly: false @@ -95892,8 +96059,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#get-all-repository-topics parameters: - - *342 - - *343 + - *344 + - *345 - *19 - *17 responses: @@ -95901,7 +96068,7 @@ paths: description: Response content: application/json: - schema: &670 + schema: &672 title: Topic description: A topic aggregates entities that are related to a subject. type: object @@ -95913,7 +96080,7 @@ paths: required: - names examples: - default: &671 + default: &673 value: names: - octocat @@ -95936,8 +96103,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#replace-all-repository-topics parameters: - - *342 - - *343 + - *344 + - *345 requestBody: required: true content: @@ -95968,9 +96135,9 @@ paths: description: Response content: application/json: - schema: *670 + schema: *672 examples: - default: *671 + default: *673 '404': *6 '422': *7 x-github: @@ -95991,9 +96158,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-repository-clones parameters: - - *342 - - *343 - - &672 + - *344 + - *345 + - &674 name: per description: The time frame to display results for. in: query @@ -96022,7 +96189,7 @@ paths: example: 128 clones: type: array - items: &673 + items: &675 title: Traffic type: object properties: @@ -96109,8 +96276,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-top-referral-paths parameters: - - *342 - - *343 + - *344 + - *345 responses: '200': description: Response @@ -96200,8 +96367,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-top-referral-sources parameters: - - *342 - - *343 + - *344 + - *345 responses: '200': description: Response @@ -96261,9 +96428,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-page-views parameters: - - *342 - - *343 - - *672 + - *344 + - *345 + - *674 responses: '200': description: Response @@ -96282,7 +96449,7 @@ paths: example: 3782 views: type: array - items: *673 + items: *675 required: - uniques - count @@ -96359,8 +96526,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#transfer-a-repository parameters: - - *342 - - *343 + - *344 + - *345 requestBody: required: true content: @@ -96396,7 +96563,7 @@ paths: description: Response content: application/json: - schema: *159 + schema: *161 examples: default: value: @@ -96634,8 +96801,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#check-if-vulnerability-alerts-are-enabled-for-a-repository parameters: - - *342 - - *343 + - *344 + - *345 responses: '204': description: Response if repository is enabled with vulnerability alerts @@ -96658,8 +96825,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-vulnerability-alerts parameters: - - *342 - - *343 + - *344 + - *345 responses: '204': description: Response @@ -96681,8 +96848,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-vulnerability-alerts parameters: - - *342 - - *343 + - *344 + - *345 responses: '204': description: Response @@ -96708,8 +96875,8 @@ paths: url: https://docs.github.com/rest/repos/contents#download-a-repository-archive-zip operationId: repos/download-zipball-archive parameters: - - *342 - - *343 + - *344 + - *345 - name: ref in: path required: true @@ -96801,9 +96968,9 @@ paths: description: Response content: application/json: - schema: *345 + schema: *347 examples: - default: *347 + default: *349 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -96844,7 +97011,7 @@ paths: application/json: schema: type: array - items: *159 + items: *161 examples: default: value: @@ -97036,7 +97203,7 @@ paths: html_url: type: string format: uri - repository: *159 + repository: *161 score: type: number file_size: @@ -97054,7 +97221,7 @@ paths: example: - 73..77 - 77..78 - text_matches: &674 + text_matches: &676 title: Search Result Text Matches type: array items: @@ -97168,7 +97335,7 @@ paths: releases_url: http://api.github.com/repos/octocat/Hello-World/releases{/id} score: 1 '304': *37 - '503': *120 + '503': *122 '422': *15 '403': *29 x-github: @@ -97216,7 +97383,7 @@ paths: enum: - author-date - committer-date - - &675 + - &677 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 @@ -97287,7 +97454,7 @@ paths: description: Metaproperties for Git author/committer information. type: object - properties: *407 + properties: *409 nullable: true comment_count: type: integer @@ -97307,7 +97474,7 @@ paths: url: type: string format: uri - verification: *531 + verification: *533 required: - author - committer @@ -97326,7 +97493,7 @@ paths: title: Git User description: Metaproperties for Git author/committer information. type: object - properties: *407 + properties: *409 nullable: true parents: type: array @@ -97339,12 +97506,12 @@ paths: type: string sha: type: string - repository: *159 + repository: *161 score: type: number node_id: type: string - text_matches: *674 + text_matches: *676 required: - sha - node_id @@ -97536,7 +97703,7 @@ paths: - interactions - created - updated - - *675 + - *677 - *17 - *19 - name: advanced_search @@ -97650,11 +97817,11 @@ paths: description: type: string nullable: true - sub_issues_summary: *676 - issue_dependencies_summary: *677 + sub_issues_summary: *678 + issue_dependencies_summary: *679 issue_field_values: type: array - items: *557 + items: *559 state: type: string state_reason: @@ -97671,8 +97838,8 @@ paths: title: Milestone description: A collection of related issues and pull requests. type: object - properties: *279 - required: *280 + properties: *281 + required: *282 nullable: true comments: type: integer @@ -97686,7 +97853,7 @@ paths: type: string format: date-time nullable: true - text_matches: *674 + text_matches: *676 pull_request: type: object properties: @@ -97719,10 +97886,10 @@ paths: type: string score: type: number - author_association: *83 + author_association: *85 draft: type: boolean - repository: *80 + repository: *82 body_html: type: string body_text: @@ -97730,7 +97897,7 @@ paths: timeline_url: type: string format: uri - type: *242 + type: *244 performed_via_github_app: title: GitHub app description: GitHub apps are a new way to extend GitHub. @@ -97740,17 +97907,17 @@ paths: GitHub apps are first class actors within GitHub. type: object nullable: true - properties: *81 - required: *82 + properties: *83 + required: *84 pinned_comment: title: Issue Comment description: Comments provide a way for people to collaborate on an issue. type: object - properties: *87 - required: *88 + properties: *89 + required: *90 nullable: true - reactions: *84 + reactions: *86 required: - assignee - closed_at @@ -97904,7 +98071,7 @@ paths: - quoted_text items: - "..." - '503': *120 + '503': *122 '422': *15 '304': *37 '403': *29 @@ -97958,7 +98125,7 @@ paths: enum: - created - updated - - *675 + - *677 - *17 - *19 responses: @@ -98002,7 +98169,7 @@ paths: nullable: true score: type: number - text_matches: *674 + text_matches: *676 required: - id - node_id @@ -98087,7 +98254,7 @@ paths: - forks - help-wanted-issues - updated - - *675 + - *677 - *17 - *19 responses: @@ -98315,8 +98482,8 @@ paths: title: License Simple description: License Simple type: object - properties: *89 - required: *90 + properties: *91 + required: *92 nullable: true permissions: type: object @@ -98335,7 +98502,7 @@ paths: - admin - pull - push - text_matches: *674 + text_matches: *676 temp_clone_token: type: string allow_merge_commit: @@ -98537,7 +98704,7 @@ paths: spdx_id: MIT node_id: MDc6TGljZW5zZW1pdA== html_url: https://api.github.com/licenses/mit - '503': *120 + '503': *122 '422': *15 '304': *37 x-github: @@ -98635,7 +98802,7 @@ paths: type: string format: uri nullable: true - text_matches: *674 + text_matches: *676 related: type: array nullable: true @@ -98826,7 +98993,7 @@ paths: - followers - repositories - joined - - *675 + - *677 - *17 - *19 responses: @@ -98930,7 +99097,7 @@ paths: hireable: type: boolean nullable: true - text_matches: *674 + text_matches: *676 blog: type: string nullable: true @@ -98989,7 +99156,7 @@ paths: events_url: https://api.github.com/users/mojombo/events{/privacy} site_admin: true '304': *37 - '503': *120 + '503': *122 '422': *15 x-github: githubCloudOnly: false @@ -99009,7 +99176,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#get-a-team-legacy parameters: - - &678 + - &680 name: team_id description: The unique identifier of the team. in: path @@ -99021,9 +99188,9 @@ paths: description: Response content: application/json: - schema: *338 + schema: *340 examples: - default: *339 + default: *341 '404': *6 x-github: githubCloudOnly: false @@ -99050,7 +99217,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#update-a-team-legacy parameters: - - *678 + - *680 requestBody: required: true content: @@ -99113,16 +99280,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *338 + schema: *340 examples: - default: *339 + default: *341 '201': description: Response content: application/json: - schema: *338 + schema: *340 examples: - default: *339 + default: *341 '404': *6 '422': *15 '403': *29 @@ -99150,7 +99317,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#delete-a-team-legacy parameters: - - *678 + - *680 responses: '204': description: Response @@ -99179,7 +99346,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#list-pending-team-invitations-legacy parameters: - - *678 + - *680 - *17 - *19 responses: @@ -99189,11 +99356,11 @@ paths: application/json: schema: type: array - items: *236 + items: *238 examples: - default: *237 + default: *239 headers: - Link: *68 + Link: *70 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -99217,7 +99384,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#list-team-members-legacy parameters: - - *678 + - *680 - name: role description: Filters members returned by their role in the team. in: query @@ -99240,9 +99407,9 @@ paths: type: array items: *4 examples: - default: *71 + default: *73 headers: - Link: *68 + Link: *70 '404': *6 x-github: githubCloudOnly: false @@ -99268,8 +99435,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#get-team-member-legacy parameters: - - *678 - - *72 + - *680 + - *74 responses: '204': description: if user is a member @@ -99305,8 +99472,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#add-team-member-legacy parameters: - - *678 - - *72 + - *680 + - *74 responses: '204': description: Response @@ -99345,8 +99512,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#remove-team-member-legacy parameters: - - *678 - - *72 + - *680 + - *74 responses: '204': description: Response @@ -99382,16 +99549,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#get-team-membership-for-a-user-legacy parameters: - - *678 - - *72 + - *680 + - *74 responses: '200': description: Response content: application/json: - schema: *341 + schema: *343 examples: - response-if-user-is-a-team-maintainer: *679 + response-if-user-is-a-team-maintainer: *681 '404': *6 x-github: githubCloudOnly: false @@ -99424,8 +99591,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#add-or-update-team-membership-for-a-user-legacy parameters: - - *678 - - *72 + - *680 + - *74 requestBody: required: false content: @@ -99450,9 +99617,9 @@ paths: description: Response content: application/json: - schema: *341 + schema: *343 examples: - response-if-users-membership-with-team-is-now-pending: *680 + response-if-users-membership-with-team-is-now-pending: *682 '403': description: Forbidden if team synchronization is set up '422': @@ -99486,8 +99653,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#remove-team-membership-for-a-user-legacy parameters: - - *678 - - *72 + - *680 + - *74 responses: '204': description: Response @@ -99514,7 +99681,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-team-repositories-legacy parameters: - - *678 + - *680 - *17 - *19 responses: @@ -99524,11 +99691,11 @@ paths: application/json: schema: type: array - items: *159 + items: *161 examples: - default: *266 + default: *268 headers: - Link: *68 + Link: *70 '404': *6 x-github: githubCloudOnly: false @@ -99556,15 +99723,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-repository-legacy parameters: - - *678 - - *342 - - *343 + - *680 + - *344 + - *345 responses: '200': description: Alternative response with extra repository information content: application/json: - schema: *681 + schema: *683 examples: alternative-response-with-extra-repository-information: value: @@ -99715,9 +99882,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#add-or-update-team-repository-permissions-legacy parameters: - - *678 - - *342 - - *343 + - *680 + - *344 + - *345 requestBody: required: false content: @@ -99767,9 +99934,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#remove-a-repository-from-a-team-legacy parameters: - - *678 - - *342 - - *343 + - *680 + - *344 + - *345 responses: '204': description: Response @@ -99794,7 +99961,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-child-teams-legacy parameters: - - *678 + - *680 - *17 - *19 responses: @@ -99804,11 +99971,11 @@ paths: application/json: schema: type: array - items: *195 + items: *197 examples: - response-if-child-teams-exist: *682 + response-if-child-teams-exist: *684 headers: - Link: *68 + Link: *70 '404': *6 '403': *29 '422': *15 @@ -99839,7 +100006,7 @@ paths: application/json: schema: oneOf: - - &684 + - &686 title: Private User description: Private User type: object @@ -100042,7 +100209,7 @@ paths: - private_gists - total_private_repos - two_factor_authentication - - *683 + - *685 examples: response-with-public-and-private-profile-information: summary: Response with public and private profile information @@ -100195,7 +100362,7 @@ paths: description: Response content: application/json: - schema: *684 + schema: *686 examples: default: value: @@ -100274,7 +100441,7 @@ paths: type: array items: *4 examples: - default: *71 + default: *73 '304': *37 '404': *6 '403': *29 @@ -100297,7 +100464,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/blocking#check-if-a-user-is-blocked-by-the-authenticated-user parameters: - - *72 + - *74 responses: '204': description: If the user is blocked @@ -100325,7 +100492,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/blocking#block-a-user parameters: - - *72 + - *74 responses: '204': description: Response @@ -100349,7 +100516,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/blocking#unblock-a-user parameters: - - *72 + - *74 responses: '204': description: Response @@ -100398,9 +100565,9 @@ paths: type: integer codespaces: type: array - items: *247 + items: *249 examples: - default: *248 + default: *250 '304': *37 '500': *55 '401': *25 @@ -100539,21 +100706,21 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *247 + schema: *249 examples: - default: *463 + default: *465 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *247 + schema: *249 examples: - default: *463 + default: *465 '401': *25 '403': *29 '404': *6 - '503': *120 + '503': *122 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -100593,7 +100760,7 @@ paths: type: integer secrets: type: array - items: &685 + items: &687 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -100633,9 +100800,9 @@ paths: - visibility - selected_repositories_url examples: - default: *466 + default: *468 headers: - Link: *68 + Link: *70 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -100703,13 +100870,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/secrets#get-a-secret-for-the-authenticated-user parameters: - - *167 + - *169 responses: '200': description: Response content: application/json: - schema: *685 + schema: *687 examples: default: value: @@ -100739,7 +100906,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/secrets#create-or-update-a-secret-for-the-authenticated-user parameters: - - *167 + - *169 requestBody: required: true content: @@ -100784,7 +100951,7 @@ paths: description: Response after successfully creating a secret content: application/json: - schema: *168 + schema: *170 examples: default: value: @@ -100812,7 +100979,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/secrets#delete-a-secret-for-the-authenticated-user parameters: - - *167 + - *169 responses: '204': description: Response @@ -100837,7 +101004,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/secrets#list-selected-repositories-for-a-user-secret parameters: - - *167 + - *169 responses: '200': description: Response @@ -100853,9 +101020,9 @@ paths: type: integer repositories: type: array - items: *159 + items: *161 examples: - default: *196 + default: *198 '401': *25 '403': *29 '404': *6 @@ -100880,7 +101047,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/secrets#set-selected-repositories-for-a-user-secret parameters: - - *167 + - *169 requestBody: required: true content: @@ -100934,7 +101101,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/secrets#add-a-selected-repository-to-a-user-secret parameters: - - *167 + - *169 - name: repository_id in: path required: true @@ -100967,7 +101134,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/secrets#remove-a-selected-repository-from-a-user-secret parameters: - - *167 + - *169 - name: repository_id in: path required: true @@ -100999,15 +101166,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#get-a-codespace-for-the-authenticated-user parameters: - - *249 + - *251 responses: '200': description: Response content: application/json: - schema: *247 + schema: *249 examples: - default: *463 + default: *465 '304': *37 '500': *55 '401': *25 @@ -101033,7 +101200,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#update-a-codespace-for-the-authenticated-user parameters: - - *249 + - *251 requestBody: required: false content: @@ -101063,9 +101230,9 @@ paths: description: Response content: application/json: - schema: *247 + schema: *249 examples: - default: *463 + default: *465 '401': *25 '403': *29 '404': *6 @@ -101087,7 +101254,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#delete-a-codespace-for-the-authenticated-user parameters: - - *249 + - *251 responses: '202': *39 '304': *37 @@ -101116,13 +101283,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#export-a-codespace-for-the-authenticated-user parameters: - - *249 + - *251 responses: '202': description: Response content: application/json: - schema: &686 + schema: &688 type: object title: Fetches information about an export of a codespace. description: An export of a codespace. Also, latest export details @@ -101163,7 +101330,7 @@ paths: description: Web url for the exported branch example: https://github.com/octocat/hello-world/tree/:branch examples: - default: &687 + default: &689 value: state: succeeded completed_at: '2022-01-01T14:59:22Z' @@ -101195,7 +101362,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#get-details-about-a-codespace-export parameters: - - *249 + - *251 - name: export_id in: path required: true @@ -101208,9 +101375,9 @@ paths: description: Response content: application/json: - schema: *686 + schema: *688 examples: - default: *687 + default: *689 '404': *6 x-github: githubCloudOnly: false @@ -101231,7 +101398,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/machines#list-machine-types-for-a-codespace parameters: - - *249 + - *251 responses: '200': description: Response @@ -101247,9 +101414,9 @@ paths: type: integer machines: type: array - items: *688 + items: *690 examples: - default: *689 + default: *691 '304': *37 '500': *55 '401': *25 @@ -101278,7 +101445,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#create-a-repository-from-an-unpublished-codespace parameters: - - *249 + - *251 requestBody: required: true content: @@ -101328,13 +101495,13 @@ paths: nullable: true owner: *4 billable_owner: *4 - repository: *345 + repository: *347 machine: type: object title: Codespace machine description: A description of the machine powering a codespace. - properties: *464 - required: *465 + properties: *466 + required: *467 nullable: true devcontainer_path: description: Path to devcontainer.json from repo root used to @@ -102108,15 +102275,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#start-a-codespace-for-the-authenticated-user parameters: - - *249 + - *251 responses: '200': description: Response content: application/json: - schema: *247 + schema: *249 examples: - default: *463 + default: *465 '304': *37 '500': *55 '400': *14 @@ -102148,15 +102315,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#stop-a-codespace-for-the-authenticated-user parameters: - - *249 + - *251 responses: '200': description: Response content: application/json: - schema: *247 + schema: *249 examples: - default: *463 + default: *465 '500': *55 '401': *25 '403': *29 @@ -102186,9 +102353,9 @@ paths: application/json: schema: type: array - items: *260 + items: *262 examples: - default: &700 + default: &702 value: - id: 197 name: hello_docker @@ -102289,7 +102456,7 @@ paths: application/json: schema: type: array - items: &690 + items: &692 title: Email description: Email type: object @@ -102354,16 +102521,16 @@ paths: application/json: schema: type: array - items: *690 + items: *692 examples: - default: &702 + default: &704 value: - email: octocat@github.com verified: true primary: true visibility: public headers: - Link: *68 + Link: *70 '304': *37 '404': *6 '403': *29 @@ -102431,7 +102598,7 @@ paths: application/json: schema: type: array - items: *690 + items: *692 examples: default: value: @@ -102541,9 +102708,9 @@ paths: type: array items: *4 examples: - default: *71 + default: *73 headers: - Link: *68 + Link: *70 '304': *37 '403': *29 '401': *25 @@ -102574,9 +102741,9 @@ paths: type: array items: *4 examples: - default: *71 + default: *73 headers: - Link: *68 + Link: *70 '304': *37 '403': *29 '401': *25 @@ -102596,7 +102763,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/followers#check-if-a-person-is-followed-by-the-authenticated-user parameters: - - *72 + - *74 responses: '204': description: if the person is followed by the authenticated user @@ -102626,7 +102793,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/followers#follow-a-user parameters: - - *72 + - *74 responses: '204': description: Response @@ -102651,7 +102818,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/followers#unfollow-a-user parameters: - - *72 + - *74 responses: '204': description: Response @@ -102687,7 +102854,7 @@ paths: application/json: schema: type: array - items: &691 + items: &693 title: GPG Key description: A unique encryption key type: object @@ -102818,7 +102985,7 @@ paths: - subkeys - revoked examples: - default: &718 + default: &720 value: - id: 3 name: Octocat's GPG Key @@ -102850,7 +103017,7 @@ paths: revoked: false raw_key: string headers: - Link: *68 + Link: *70 '304': *37 '404': *6 '403': *29 @@ -102903,9 +103070,9 @@ paths: description: Response content: application/json: - schema: *691 + schema: *693 examples: - default: &692 + default: &694 value: id: 3 name: Octocat's GPG Key @@ -102962,7 +103129,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/gpg-keys#get-a-gpg-key-for-the-authenticated-user parameters: - - &693 + - &695 name: gpg_key_id description: The unique identifier of the GPG key. in: path @@ -102974,9 +103141,9 @@ paths: description: Response content: application/json: - schema: *691 + schema: *693 examples: - default: *692 + default: *694 '404': *6 '304': *37 '403': *29 @@ -102999,7 +103166,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/gpg-keys#delete-a-gpg-key-for-the-authenticated-user parameters: - - *693 + - *695 responses: '204': description: Response @@ -103142,7 +103309,7 @@ paths: suspended_at: suspended_by: headers: - Link: *68 + Link: *70 '304': *37 '403': *29 '401': *25 @@ -103190,11 +103357,11 @@ paths: type: array items: allOf: - - *80 + - *82 examples: - default: *151 + default: *153 headers: - Link: *68 + Link: *70 '404': *6 '403': *29 '304': *37 @@ -103218,7 +103385,7 @@ paths: url: https://docs.github.com/rest/apps/installations#add-a-repository-to-an-app-installation parameters: - *23 - - *148 + - *150 responses: '204': description: Response @@ -103244,7 +103411,7 @@ paths: url: https://docs.github.com/rest/apps/installations#remove-a-repository-from-an-app-installation parameters: - *23 - - *148 + - *150 responses: '204': description: Response @@ -103278,12 +103445,12 @@ paths: application/json: schema: anyOf: - - *234 + - *236 - type: object properties: {} additionalProperties: false examples: - default: *235 + default: *237 '204': description: Response when there are no restrictions x-github: @@ -103307,7 +103474,7 @@ paths: required: true content: application/json: - schema: *542 + schema: *544 examples: default: value: @@ -103318,7 +103485,7 @@ paths: description: Response content: application/json: - schema: *234 + schema: *236 examples: default: value: @@ -103399,7 +103566,7 @@ paths: - closed - all default: open - - *245 + - *247 - name: sort description: What to sort results by. in: query @@ -103412,7 +103579,7 @@ paths: - comments default: created - *62 - - *93 + - *95 - *17 - *19 responses: @@ -103422,11 +103589,11 @@ paths: application/json: schema: type: array - items: *86 + items: *88 examples: - default: *246 + default: *248 headers: - Link: *68 + Link: *70 '404': *6 '304': *37 x-github: @@ -103457,7 +103624,7 @@ paths: application/json: schema: type: array - items: &694 + items: &696 title: Key description: Key type: object @@ -103508,7 +103675,7 @@ paths: verified: false read_only: false headers: - Link: *68 + Link: *70 '304': *37 '404': *6 '403': *29 @@ -103558,9 +103725,9 @@ paths: description: Response content: application/json: - schema: *694 + schema: *696 examples: - default: &695 + default: &697 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -103593,15 +103760,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/keys#get-a-public-ssh-key-for-the-authenticated-user parameters: - - *577 + - *579 responses: '200': description: Response content: application/json: - schema: *694 + schema: *696 examples: - default: *695 + default: *697 '404': *6 '304': *37 '403': *29 @@ -103624,7 +103791,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/keys#delete-a-public-ssh-key-for-the-authenticated-user parameters: - - *577 + - *579 responses: '204': description: Response @@ -103657,7 +103824,7 @@ paths: application/json: schema: type: array - items: &696 + items: &698 title: User Marketplace Purchase description: User Marketplace Purchase type: object @@ -103714,7 +103881,7 @@ paths: - id - type - login - plan: *104 + plan: *106 required: - billing_cycle - next_billing_date @@ -103725,7 +103892,7 @@ paths: - account - plan examples: - default: &697 + default: &699 value: - billing_cycle: monthly next_billing_date: '2017-11-11T00:00:00Z' @@ -103758,7 +103925,7 @@ paths: - Up to 25 private repositories - 11 concurrent builds headers: - Link: *68 + Link: *70 '304': *37 '401': *25 '404': *6 @@ -103787,11 +103954,11 @@ paths: application/json: schema: type: array - items: *696 + items: *698 examples: - default: *697 + default: *699 headers: - Link: *68 + Link: *70 '304': *37 '401': *25 x-github: @@ -103829,7 +103996,7 @@ paths: application/json: schema: type: array - items: *251 + items: *253 examples: default: value: @@ -103912,7 +104079,7 @@ paths: type: User site_admin: false headers: - Link: *68 + Link: *70 '304': *37 '403': *29 '401': *25 @@ -103937,13 +104104,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#get-an-organization-membership-for-the-authenticated-user parameters: - - *76 + - *78 responses: '200': description: Response content: application/json: - schema: *251 + schema: *253 examples: default: value: @@ -104005,7 +104172,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#update-an-organization-membership-for-the-authenticated-user parameters: - - *76 + - *78 requestBody: required: true content: @@ -104030,7 +104197,7 @@ paths: description: Response content: application/json: - schema: *251 + schema: *253 examples: default: value: @@ -104102,7 +104269,7 @@ paths: application/json: schema: type: array - items: *253 + items: *255 examples: default: value: @@ -104255,7 +104422,7 @@ paths: updated_at: '2015-07-06T15:33:38-07:00' node_id: MDQ6VXNlcjE= headers: - Link: *68 + Link: *70 '304': *37 '403': *29 '401': *25 @@ -104355,7 +104522,7 @@ paths: description: Response content: application/json: - schema: *253 + schema: *255 examples: default: value: @@ -104535,7 +104702,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/users#get-a-user-migration-status parameters: - - *254 + - *256 - name: exclude in: query required: false @@ -104548,7 +104715,7 @@ paths: description: Response content: application/json: - schema: *253 + schema: *255 examples: default: value: @@ -104742,7 +104909,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/users#download-a-user-migration-archive parameters: - - *254 + - *256 responses: '302': description: Response @@ -104768,7 +104935,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/users#delete-a-user-migration-archive parameters: - - *254 + - *256 responses: '204': description: Response @@ -104797,8 +104964,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/users#unlock-a-user-repository parameters: - - *254 - - *698 + - *256 + - *700 responses: '204': description: Response @@ -104822,7 +104989,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/users#list-repositories-for-a-user-migration parameters: - - *254 + - *256 - *17 - *19 responses: @@ -104832,11 +104999,11 @@ paths: application/json: schema: type: array - items: *159 + items: *161 examples: - default: *266 + default: *268 headers: - Link: *68 + Link: *70 '404': *6 x-github: githubCloudOnly: false @@ -104869,11 +105036,11 @@ paths: application/json: schema: type: array - items: *74 + items: *76 examples: - default: *117 + default: *119 headers: - Link: *68 + Link: *70 '304': *37 '403': *29 '401': *25 @@ -104913,7 +105080,7 @@ paths: - docker - nuget - container - - *699 + - *701 - *19 - *17 responses: @@ -104923,10 +105090,10 @@ paths: application/json: schema: type: array - items: *260 + items: *262 examples: - default: *700 - '400': *701 + default: *702 + '400': *703 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -104946,16 +105113,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-for-the-authenticated-user parameters: - - *262 - - *263 + - *264 + - *265 responses: '200': description: Response content: application/json: - schema: *260 + schema: *262 examples: - default: &719 + default: &721 value: id: 40201 name: octo-name @@ -105068,8 +105235,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-a-package-for-the-authenticated-user parameters: - - *262 - - *263 + - *264 + - *265 responses: '204': description: Response @@ -105099,8 +105266,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-a-package-for-the-authenticated-user parameters: - - *262 - - *263 + - *264 + - *265 - name: token description: package token schema: @@ -105132,8 +105299,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#list-package-versions-for-a-package-owned-by-the-authenticated-user parameters: - - *262 - - *263 + - *264 + - *265 - *19 - *17 - name: state @@ -105153,7 +105320,7 @@ paths: application/json: schema: type: array - items: *264 + items: *266 examples: default: value: @@ -105202,15 +105369,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-version-for-the-authenticated-user parameters: - - *262 - - *263 + - *264 - *265 + - *267 responses: '200': description: Response content: application/json: - schema: *264 + schema: *266 examples: default: value: @@ -105246,9 +105413,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-a-package-version-for-the-authenticated-user parameters: - - *262 - - *263 + - *264 - *265 + - *267 responses: '204': description: Response @@ -105278,9 +105445,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-a-package-version-for-the-authenticated-user parameters: - - *262 - - *263 + - *264 - *265 + - *267 responses: '204': description: Response @@ -105317,11 +105484,11 @@ paths: application/json: schema: type: array - items: *690 + items: *692 examples: - default: *702 + default: *704 headers: - Link: *68 + Link: *70 '304': *37 '404': *6 '403': *29 @@ -105430,9 +105597,9 @@ paths: application/json: schema: type: array - items: *80 + items: *82 examples: - default: &709 + default: &711 summary: Default response value: - id: 1296269 @@ -105553,7 +105720,7 @@ paths: open_issues: 1 watchers: 1 headers: - Link: *68 + Link: *70 '422': *15 '304': *37 '403': *29 @@ -105736,9 +105903,9 @@ paths: description: Response content: application/json: - schema: *345 + schema: *347 examples: - default: *347 + default: *349 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -105776,11 +105943,11 @@ paths: application/json: schema: type: array - items: *544 + items: *546 examples: - default: *703 + default: *705 headers: - Link: *68 + Link: *70 '304': *37 '404': *6 '403': *29 @@ -105801,7 +105968,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#accept-a-repository-invitation parameters: - - *238 + - *240 responses: '204': description: Response @@ -105824,7 +105991,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#decline-a-repository-invitation parameters: - - *238 + - *240 responses: '204': description: Response @@ -105857,7 +106024,7 @@ paths: application/json: schema: type: array - items: &704 + items: &706 title: Social account description: Social media account type: object @@ -105872,12 +106039,12 @@ paths: - provider - url examples: - default: &705 + default: &707 value: - provider: twitter url: https://twitter.com/github headers: - Link: *68 + Link: *70 '304': *37 '404': *6 '403': *29 @@ -105934,9 +106101,9 @@ paths: application/json: schema: type: array - items: *704 + items: *706 examples: - default: *705 + default: *707 '422': *15 '304': *37 '404': *6 @@ -106023,7 +106190,7 @@ paths: application/json: schema: type: array - items: &706 + items: &708 title: SSH Signing Key description: A public SSH key used to sign Git commits type: object @@ -106043,7 +106210,7 @@ paths: - title - created_at examples: - default: &737 + default: &739 value: - id: 2 key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -106054,7 +106221,7 @@ paths: title: ssh-rsa AAAAB3NzaC1yc2EAAB created_at: '2020-07-11T21:31:57Z' headers: - Link: *68 + Link: *70 '304': *37 '404': *6 '403': *29 @@ -106107,9 +106274,9 @@ paths: description: Response content: application/json: - schema: *706 + schema: *708 examples: - default: &707 + default: &709 value: id: 2 key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -106139,7 +106306,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/ssh-signing-keys#get-an-ssh-signing-key-for-the-authenticated-user parameters: - - &708 + - &710 name: ssh_signing_key_id description: The unique identifier of the SSH signing key. in: path @@ -106151,9 +106318,9 @@ paths: description: Response content: application/json: - schema: *706 + schema: *708 examples: - default: *707 + default: *709 '404': *6 '304': *37 '403': *29 @@ -106176,7 +106343,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/ssh-signing-keys#delete-an-ssh-signing-key-for-the-authenticated-user parameters: - - *708 + - *710 responses: '204': description: Response @@ -106205,7 +106372,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#list-repositories-starred-by-the-authenticated-user parameters: - - &738 + - &740 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 @@ -106228,13 +106395,13 @@ paths: application/json: schema: type: array - items: *80 + items: *82 examples: - default-response: *709 + default-response: *711 application/vnd.github.v3.star+json: schema: type: array - items: &739 + items: &741 title: Starred Repository description: Starred Repository type: object @@ -106242,7 +106409,7 @@ paths: starred_at: type: string format: date-time - repo: *80 + repo: *82 required: - starred_at - repo @@ -106370,7 +106537,7 @@ paths: open_issues: 1 watchers: 1 headers: - Link: *68 + Link: *70 '304': *37 '403': *29 '401': *25 @@ -106390,8 +106557,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#check-if-a-repository-is-starred-by-the-authenticated-user parameters: - - *342 - - *343 + - *344 + - *345 responses: '204': description: Response if this repository is starred by you @@ -106419,8 +106586,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#star-a-repository-for-the-authenticated-user parameters: - - *342 - - *343 + - *344 + - *345 responses: '204': description: Response @@ -106444,8 +106611,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#unstar-a-repository-for-the-authenticated-user parameters: - - *342 - - *343 + - *344 + - *345 responses: '204': description: Response @@ -106478,11 +106645,11 @@ paths: application/json: schema: type: array - items: *159 + items: *161 examples: - default: *266 + default: *268 headers: - Link: *68 + Link: *70 '304': *37 '403': *29 '401': *25 @@ -106517,7 +106684,7 @@ paths: application/json: schema: type: array - items: *338 + items: *340 examples: default: value: @@ -106568,7 +106735,7 @@ paths: updated_at: '2017-08-17T12:37:15Z' type: Organization headers: - Link: *68 + Link: *70 '304': *37 '404': *6 '403': *29 @@ -106595,7 +106762,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/users#get-a-user-using-their-id parameters: - - *106 + - *108 responses: '200': description: Response @@ -106603,10 +106770,10 @@ paths: application/json: schema: oneOf: - - *684 - - *683 + - *686 + - *685 examples: - default-response: &713 + default-response: &715 summary: Default response value: login: octocat @@ -106641,7 +106808,7 @@ paths: following: 0 created_at: '2008-01-14T04:33:35Z' updated_at: '2008-01-14T04:33:35Z' - response-with-git-hub-plan-information: &714 + response-with-git-hub-plan-information: &716 summary: Response with GitHub plan information value: login: octocat @@ -106698,14 +106865,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/drafts#create-draft-item-for-user-owned-project parameters: - - &711 + - &713 name: user_id description: The unique identifier of the user. in: path required: true schema: type: string - - *278 + - *280 requestBody: required: true description: Details of the draft item to create in the project. @@ -106739,9 +106906,9 @@ paths: description: Response content: application/json: - schema: *284 + schema: *286 examples: - draft_issue: *285 + draft_issue: *287 '304': *37 '403': *29 '401': *25 @@ -106764,7 +106931,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/users#list-users parameters: - - *710 + - *712 - *17 responses: '200': @@ -106775,7 +106942,7 @@ paths: type: array items: *4 examples: - default: *71 + default: *73 headers: Link: example: ; rel="next" @@ -106799,8 +106966,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/views#create-a-view-for-a-user-owned-project parameters: - - *711 - - *278 + - *713 + - *280 requestBody: required: true content: @@ -106871,17 +107038,17 @@ paths: description: Response for creating a view in a user-owned project. content: application/json: - schema: *712 + schema: *714 examples: table_view: summary: Response for creating a table view - value: *289 + value: *291 board_view: summary: Response for creating a board view with filter - value: *289 + value: *291 roadmap_view: summary: Response for creating a roadmap view - value: *289 + value: *291 '304': *37 '403': *29 '401': *25 @@ -106915,7 +107082,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/users#get-a-user parameters: - - *72 + - *74 responses: '200': description: Response @@ -106923,11 +107090,11 @@ paths: application/json: schema: oneOf: - - *684 - - *683 + - *686 + - *685 examples: - default-response: *713 - response-with-git-hub-plan-information: *714 + default-response: *715 + response-with-git-hub-plan-information: *716 '404': *6 x-github: githubCloudOnly: false @@ -106953,7 +107120,7 @@ paths: - *17 - *47 - *48 - - *72 + - *74 requestBody: required: true content: @@ -106977,8 +107144,8 @@ paths: required: - subject_digests examples: - default: *715 - withPredicateType: *716 + default: *717 + withPredicateType: *718 responses: '200': description: Response @@ -107031,7 +107198,7 @@ paths: description: The cursor to the previous page. description: Information about the current page. examples: - default: *717 + default: *719 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -107049,7 +107216,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/attestations#delete-attestations-in-bulk parameters: - - *72 + - *74 requestBody: required: true content: @@ -107114,7 +107281,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/attestations#delete-attestations-by-subject-digest parameters: - - *72 + - *74 - name: subject_digest description: Subject Digest in: path @@ -107145,7 +107312,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/attestations#delete-attestations-by-id parameters: - - *72 + - *74 - name: attestation_id description: Attestation ID in: path @@ -107183,7 +107350,7 @@ paths: - *17 - *47 - *48 - - *72 + - *74 - name: subject_digest description: Subject Digest in: path @@ -107236,12 +107403,12 @@ paths: initiator: type: string examples: - default: *403 + default: *405 '201': description: Response content: application/json: - schema: *168 + schema: *170 examples: default: value: @@ -107267,7 +107434,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-list-of-conflicting-packages-during-docker-migration-for-user parameters: - - *72 + - *74 responses: '200': description: Response @@ -107275,9 +107442,9 @@ paths: application/json: schema: type: array - items: *260 + items: *262 examples: - default: *700 + default: *702 '403': *29 '401': *25 x-github: @@ -107300,7 +107467,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-events-for-the-authenticated-user parameters: - - *72 + - *74 - *17 - *19 responses: @@ -107310,7 +107477,7 @@ paths: application/json: schema: type: array - items: *112 + items: *114 examples: default: value: @@ -107372,8 +107539,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-organization-events-for-the-authenticated-user parameters: - - *72 - - *76 + - *74 + - *78 - *17 - *19 responses: @@ -107383,7 +107550,7 @@ paths: application/json: schema: type: array - items: *112 + items: *114 examples: default: value: @@ -107460,7 +107627,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-public-events-for-a-user parameters: - - *72 + - *74 - *17 - *19 responses: @@ -107470,7 +107637,7 @@ paths: application/json: schema: type: array - items: *112 + items: *114 examples: default: value: @@ -107528,7 +107695,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/followers#list-followers-of-a-user parameters: - - *72 + - *74 - *17 - *19 responses: @@ -107540,9 +107707,9 @@ paths: type: array items: *4 examples: - default: *71 + default: *73 headers: - Link: *68 + Link: *70 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -107559,7 +107726,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/followers#list-the-people-a-user-follows parameters: - - *72 + - *74 - *17 - *19 responses: @@ -107571,9 +107738,9 @@ paths: type: array items: *4 examples: - default: *71 + default: *73 headers: - Link: *68 + Link: *70 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -107590,7 +107757,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/followers#check-if-a-user-follows-another-user parameters: - - *72 + - *74 - name: target_user in: path required: true @@ -107617,8 +107784,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#list-gists-for-a-user parameters: - - *72 - - *93 + - *74 + - *95 - *17 - *19 responses: @@ -107628,11 +107795,11 @@ paths: application/json: schema: type: array - items: *94 + items: *96 examples: - default: *95 + default: *97 headers: - Link: *68 + Link: *70 '422': *15 x-github: githubCloudOnly: false @@ -107651,7 +107818,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/gpg-keys#list-gpg-keys-for-a-user parameters: - - *72 + - *74 - *17 - *19 responses: @@ -107661,11 +107828,11 @@ paths: application/json: schema: type: array - items: *691 + items: *693 examples: - default: *718 + default: *720 headers: - Link: *68 + Link: *70 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -107687,7 +107854,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/users#get-contextual-information-for-a-user parameters: - - *72 + - *74 - name: subject_type description: Identifies which additional information you'd like to receive about the person's hovercard. Can be `organization`, `repository`, `issue`, @@ -107759,7 +107926,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/apps/apps#get-a-user-installation-for-the-authenticated-app parameters: - - *72 + - *74 responses: '200': description: Response @@ -107767,7 +107934,7 @@ paths: application/json: schema: *22 examples: - default: *541 + default: *543 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -107785,7 +107952,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/keys#list-public-keys-for-a-user parameters: - - *72 + - *74 - *17 - *19 responses: @@ -107820,7 +107987,7 @@ paths: - id: 1 key: ssh-rsa AAA... headers: - Link: *68 + Link: *70 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -107840,7 +108007,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#list-organizations-for-a-user parameters: - - *72 + - *74 - *17 - *19 responses: @@ -107850,11 +108017,11 @@ paths: application/json: schema: type: array - items: *74 + items: *76 examples: - default: *117 + default: *119 headers: - Link: *68 + Link: *70 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -107891,8 +108058,8 @@ paths: - docker - nuget - container - - *699 - - *72 + - *701 + - *74 - *19 - *17 responses: @@ -107902,12 +108069,12 @@ paths: application/json: schema: type: array - items: *260 + items: *262 examples: - default: *700 + default: *702 '403': *29 '401': *25 - '400': *701 + '400': *703 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -107927,17 +108094,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-for-a-user parameters: - - *262 - - *263 - - *72 + - *264 + - *265 + - *74 responses: '200': description: Response content: application/json: - schema: *260 + schema: *262 examples: - default: *719 + default: *721 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -107958,9 +108125,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-a-package-for-a-user parameters: - - *262 - - *263 - - *72 + - *264 + - *265 + - *74 responses: '204': description: Response @@ -107992,9 +108159,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-a-package-for-a-user parameters: - - *262 - - *263 - - *72 + - *264 + - *265 + - *74 - name: token description: package token schema: @@ -108026,9 +108193,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#list-package-versions-for-a-package-owned-by-a-user parameters: - - *262 - - *263 - - *72 + - *264 + - *265 + - *74 responses: '200': description: Response @@ -108036,7 +108203,7 @@ paths: application/json: schema: type: array - items: *264 + items: *266 examples: default: value: @@ -108094,16 +108261,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-version-for-a-user parameters: - - *262 - - *263 + - *264 - *265 - - *72 + - *267 + - *74 responses: '200': description: Response content: application/json: - schema: *264 + schema: *266 examples: default: value: @@ -108138,10 +108305,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-package-version-for-a-user parameters: - - *262 - - *263 - - *72 + - *264 - *265 + - *74 + - *267 responses: '204': description: Response @@ -108173,10 +108340,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-package-version-for-a-user parameters: - - *262 - - *263 - - *72 + - *264 - *265 + - *74 + - *267 responses: '204': description: Response @@ -108200,7 +108367,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/projects#list-projects-for-user parameters: - - *72 + - *74 - name: q description: Limit results to projects of the specified type. in: query @@ -108217,11 +108384,11 @@ paths: application/json: schema: type: array - items: *276 + items: *278 examples: - default: *277 + default: *279 headers: - Link: *68 + Link: *70 '304': *37 '403': *29 '401': *25 @@ -108241,18 +108408,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/projects#get-project-for-user parameters: - - *278 - - *72 + - *280 + - *74 responses: '200': description: Response content: application/json: - schema: *276 + schema: *278 examples: - default: *277 + default: *279 headers: - Link: *68 + Link: *70 '304': *37 '403': *29 '401': *25 @@ -108272,8 +108439,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/fields#list-project-fields-for-user parameters: - - *278 - - *72 + - *280 + - *74 - *17 - *47 - *48 @@ -108284,11 +108451,11 @@ paths: application/json: schema: type: array - items: *282 + items: *284 examples: - default: *720 + default: *722 headers: - Link: *68 + Link: *70 '304': *37 '403': *29 '401': *25 @@ -108307,8 +108474,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/fields#add-field-to-user-owned-project parameters: - - *72 - - *278 + - *74 + - *280 requestBody: required: true content: @@ -108346,7 +108513,7 @@ paths: description: The options available for single select fields. At least one option must be provided when creating a single select field. - items: *721 + items: *723 required: - name - data_type @@ -108362,7 +108529,7 @@ paths: description: The field's data type. enum: - iteration - iteration_configuration: *722 + iteration_configuration: *724 required: - name - data_type @@ -108384,20 +108551,20 @@ paths: value: name: Due date data_type: date - single_select_field: *723 - iteration_field: *724 + single_select_field: *725 + iteration_field: *726 responses: '201': description: Response content: application/json: - schema: *282 + schema: *284 examples: - text_field: *725 - number_field: *726 - date_field: *727 - single_select_field: *728 - iteration_field: *729 + text_field: *727 + number_field: *728 + date_field: *729 + single_select_field: *730 + iteration_field: *731 '304': *37 '403': *29 '401': *25 @@ -108418,19 +108585,19 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/fields#get-project-field-for-user parameters: - - *278 - - *730 - - *72 + - *280 + - *732 + - *74 responses: '200': description: Response content: application/json: - schema: *282 + schema: *284 examples: - default: *731 + default: *733 headers: - Link: *68 + Link: *70 '304': *37 '403': *29 '401': *25 @@ -108451,8 +108618,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#list-items-for-a-user-owned-project parameters: - - *278 - - *72 + - *280 + - *74 - *47 - *48 - *17 @@ -108484,11 +108651,11 @@ paths: application/json: schema: type: array - items: *286 + items: *288 examples: - default: *287 + default: *289 headers: - Link: *68 + Link: *70 '304': *37 '403': *29 '401': *25 @@ -108507,8 +108674,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#add-item-to-user-owned-project parameters: - - *72 - - *278 + - *74 + - *280 requestBody: required: true description: Details of the item to add to the project. You can specify either @@ -108578,22 +108745,22 @@ paths: description: Response content: application/json: - schema: *284 + schema: *286 examples: issue_with_id: summary: Response for adding an issue using its unique ID - value: *285 + value: *287 pull_request_with_id: summary: Response for adding a pull request using its unique ID - value: *285 + value: *287 issue_with_nwo: summary: Response for adding an issue using repository owner, name, and issue number - value: *285 + value: *287 pull_request_with_nwo: summary: Response for adding a pull request using repository owner, name, and PR number - value: *285 + value: *287 '304': *37 '403': *29 '401': *25 @@ -108613,9 +108780,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#get-an-item-for-a-user-owned-project parameters: - - *278 - - *72 - - *288 + - *280 + - *74 + - *290 - name: fields description: |- Limit results to specific fields, by their IDs. If not specified, the title field will be returned. @@ -108635,11 +108802,11 @@ paths: description: Response content: application/json: - schema: *286 + schema: *288 examples: - default: *287 + default: *289 headers: - Link: *68 + Link: *70 '304': *37 '403': *29 '401': *25 @@ -108658,9 +108825,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#update-project-item-for-user parameters: - - *278 - - *72 - - *288 + - *280 + - *74 + - *290 requestBody: required: true description: Field updates to apply to the project item. Only text, number, @@ -108730,13 +108897,13 @@ paths: description: Response content: application/json: - schema: *286 + schema: *288 examples: - text_field: *287 - number_field: *287 - date_field: *287 - single_select_field: *287 - iteration_field: *287 + text_field: *289 + number_field: *289 + date_field: *289 + single_select_field: *289 + iteration_field: *289 '401': *25 '403': *29 '404': *6 @@ -108756,9 +108923,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#delete-project-item-for-user parameters: - - *278 - - *72 - - *288 + - *280 + - *74 + - *290 responses: '204': description: Response @@ -108780,9 +108947,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#list-items-for-a-user-project-view parameters: - - *278 - - *72 - - *732 + - *280 + - *74 + - *734 - name: fields description: |- Limit results to specific fields, by their IDs. If not specified, the @@ -108808,11 +108975,11 @@ paths: application/json: schema: type: array - items: *286 + items: *288 examples: - default: *287 + default: *289 headers: - Link: *68 + Link: *70 '304': *37 '403': *29 '401': *25 @@ -108838,7 +109005,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-events-received-by-the-authenticated-user parameters: - - *72 + - *74 - *17 - *19 responses: @@ -108848,7 +109015,7 @@ paths: application/json: schema: type: array - items: *112 + items: *114 examples: default: value: @@ -108913,7 +109080,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-public-events-received-by-a-user parameters: - - *72 + - *74 - *17 - *19 responses: @@ -108923,7 +109090,7 @@ paths: application/json: schema: type: array - items: *112 + items: *114 examples: default: value: @@ -108986,7 +109153,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repositories-for-a-user parameters: - - *72 + - *74 - name: type description: Limit results to repositories of the specified type. in: query @@ -109029,11 +109196,11 @@ paths: application/json: schema: type: array - items: *159 + items: *161 examples: - default: *266 + default: *268 headers: - Link: *68 + Link: *70 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -109053,12 +109220,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/usage#get-billing-premium-request-usage-report-for-a-user parameters: - - *72 - - *122 + - *74 - *124 - - *123 - - *733 + - *126 - *125 + - *735 + - *127 responses: '200': description: Response when getting a billing premium request usage report @@ -109166,7 +109333,7 @@ paths: '403': *29 '404': *6 '500': *55 - '503': *120 + '503': *122 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -109186,10 +109353,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/usage#get-billing-usage-report-for-a-user parameters: - - *72 - - *122 - - *734 - - *123 + - *74 + - *124 + - *736 + - *125 responses: '200': description: Response when getting a billing usage report @@ -109260,7 +109427,7 @@ paths: '400': *14 '403': *29 '500': *55 - '503': *120 + '503': *122 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -109283,13 +109450,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/usage#get-billing-usage-summary-for-a-user parameters: - - *72 - - *122 + - *74 - *124 - - *123 - - *735 + - *126 - *125 - - *736 + - *737 + - *127 + - *738 responses: '200': description: Response when getting a billing usage summary @@ -109395,7 +109562,7 @@ paths: '403': *29 '404': *6 '500': *55 - '503': *120 + '503': *122 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -109413,7 +109580,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/social-accounts#list-social-accounts-for-a-user parameters: - - *72 + - *74 - *17 - *19 responses: @@ -109423,11 +109590,11 @@ paths: application/json: schema: type: array - items: *704 + items: *706 examples: - default: *705 + default: *707 headers: - Link: *68 + Link: *70 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -109445,7 +109612,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/ssh-signing-keys#list-ssh-signing-keys-for-a-user parameters: - - *72 + - *74 - *17 - *19 responses: @@ -109455,11 +109622,11 @@ paths: application/json: schema: type: array - items: *706 + items: *708 examples: - default: *737 + default: *739 headers: - Link: *68 + Link: *70 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -109481,8 +109648,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#list-repositories-starred-by-a-user parameters: - - *72 - - *738 + - *74 + - *740 - *62 - *17 - *19 @@ -109494,13 +109661,13 @@ paths: schema: anyOf: - type: array - items: *739 + items: *741 - type: array - items: *80 + items: *82 examples: - default-response: *709 + default-response: *711 headers: - Link: *68 + Link: *70 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -109517,7 +109684,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#list-repositories-watched-by-a-user parameters: - - *72 + - *74 - *17 - *19 responses: @@ -109527,11 +109694,11 @@ paths: application/json: schema: type: array - items: *159 + items: *161 examples: - default: *266 + default: *268 headers: - Link: *68 + Link: *70 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -109657,7 +109824,7 @@ x-webhooks: type: string enum: - disabled - enterprise: &740 + enterprise: &742 title: Enterprise description: |- An enterprise on GitHub. Webhook payloads contain the `enterprise` property when the webhook is configured @@ -109715,7 +109882,7 @@ x-webhooks: - created_at - updated_at - avatar_url - installation: &741 + installation: &743 title: Simple Installation description: |- The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured @@ -109734,7 +109901,7 @@ x-webhooks: required: - id - node_id - organization: &742 + organization: &744 title: Organization Simple description: |- A GitHub organization. Webhook payloads contain the `organization` property when the webhook is configured for an @@ -109794,13 +109961,13 @@ x-webhooks: - public_members_url - avatar_url - description - repository: &743 + repository: &745 title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: &775 + properties: &777 id: description: Unique identifier of the repository example: 42 @@ -109820,8 +109987,8 @@ x-webhooks: title: License Simple description: License Simple type: object - properties: *89 - required: *90 + properties: *91 + required: *92 nullable: true organization: title: Simple User @@ -110495,7 +110662,7 @@ x-webhooks: type: boolean description: Whether anonymous git access is enabled for this repository - required: &776 + required: &778 - archive_url - assignees_url - blobs_url @@ -110646,10 +110813,10 @@ x-webhooks: type: string enum: - enabled - enterprise: *740 - installation: *741 - organization: *742 - repository: *743 + enterprise: *742 + installation: *743 + organization: *744 + repository: *745 sender: *4 required: - action @@ -110725,11 +110892,11 @@ x-webhooks: type: string enum: - created - enterprise: *740 - installation: *741 - organization: *742 - repository: *743 - rule: &744 + enterprise: *742 + installation: *743 + organization: *744 + repository: *745 + rule: &746 title: branch protection rule description: The branch protection rule. Includes a `name` and all the [branch protection settings](https://docs.github.com/github/administering-a-repository/defining-the-mergeability-of-pull-requests/about-protected-branches#about-branch-protection-settings) @@ -110952,11 +111119,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *740 - installation: *741 - organization: *742 - repository: *743 - rule: *744 + enterprise: *742 + installation: *743 + organization: *744 + repository: *745 + rule: *746 sender: *4 required: - action @@ -111139,11 +111306,11 @@ x-webhooks: - everyone required: - from - enterprise: *740 - installation: *741 - organization: *742 - repository: *743 - rule: *744 + enterprise: *742 + installation: *743 + organization: *744 + repository: *745 + rule: *746 sender: *4 required: - action @@ -111227,7 +111394,7 @@ x-webhooks: type: string enum: - completed - check_run: &746 + check_run: &748 title: CheckRun description: A check performed on the code of a given code change type: object @@ -111280,8 +111447,8 @@ x-webhooks: type: string pull_requests: type: array - items: *91 - repository: *159 + items: *93 + repository: *161 status: example: completed type: string @@ -111318,7 +111485,7 @@ x-webhooks: - skipped - timed_out - action_required - deployment: *745 + deployment: *747 details_url: example: https://example.com type: string @@ -111368,7 +111535,7 @@ x-webhooks: - annotations_url pull_requests: type: array - items: *91 + items: *93 started_at: example: '2018-05-04T01:14:52Z' type: string @@ -111403,10 +111570,10 @@ x-webhooks: - output - app - pull_requests - installation: *741 - enterprise: *740 - organization: *742 - repository: *743 + installation: *743 + enterprise: *742 + organization: *744 + repository: *745 sender: *4 required: - check_run @@ -111797,11 +111964,11 @@ x-webhooks: type: string enum: - created - check_run: *746 - installation: *741 - enterprise: *740 - organization: *742 - repository: *743 + check_run: *748 + installation: *743 + enterprise: *742 + organization: *744 + repository: *745 sender: *4 required: - check_run @@ -112195,11 +112362,11 @@ x-webhooks: type: string enum: - requested_action - check_run: *746 - installation: *741 - enterprise: *740 - organization: *742 - repository: *743 + check_run: *748 + installation: *743 + enterprise: *742 + organization: *744 + repository: *745 requested_action: description: The action requested by the user. type: object @@ -112602,11 +112769,11 @@ x-webhooks: type: string enum: - rerequested - check_run: *746 - installation: *741 - enterprise: *740 - organization: *742 - repository: *743 + check_run: *748 + installation: *743 + enterprise: *742 + organization: *744 + repository: *745 sender: *4 required: - check_run @@ -113576,10 +113743,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *740 - installation: *741 - organization: *742 - repository: *743 + enterprise: *742 + installation: *743 + organization: *744 + repository: *745 sender: *4 required: - action @@ -114268,10 +114435,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *740 - installation: *741 - organization: *742 - repository: *743 + enterprise: *742 + installation: *743 + organization: *744 + repository: *745 sender: *4 required: - action @@ -114954,10 +115121,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *740 - installation: *741 - organization: *742 - repository: *743 + enterprise: *742 + installation: *743 + organization: *744 + repository: *745 sender: *4 required: - action @@ -115123,7 +115290,7 @@ x-webhooks: required: - login - id - dismissed_comment: *435 + dismissed_comment: *437 dismissed_reason: description: The reason for dismissing or closing the alert. type: string @@ -115268,20 +115435,20 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: &747 + commit_oid: &749 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 - enterprise: *740 - installation: *741 - organization: *742 - ref: &748 + enterprise: *742 + installation: *743 + organization: *744 + ref: &750 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 - repository: *743 + repository: *745 sender: *4 required: - action @@ -115446,7 +115613,7 @@ x-webhooks: required: - login - id - dismissed_comment: *435 + dismissed_comment: *437 dismissed_reason: description: The reason for dismissing or closing the alert. type: string @@ -115676,12 +115843,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *747 - enterprise: *740 - installation: *741 - organization: *742 - ref: *748 - repository: *743 + commit_oid: *749 + enterprise: *742 + installation: *743 + organization: *744 + ref: *750 + repository: *745 sender: *4 required: - action @@ -115776,7 +115943,7 @@ x-webhooks: nullable: true dismissed_by: nullable: true - dismissed_comment: *435 + dismissed_comment: *437 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -115947,12 +116114,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *747 - enterprise: *740 - installation: *741 - organization: *742 - ref: *748 - repository: *743 + commit_oid: *749 + enterprise: *742 + installation: *743 + organization: *744 + ref: *750 + repository: *745 sender: *4 required: - action @@ -116118,7 +116285,7 @@ x-webhooks: required: - login - id - dismissed_comment: *435 + dismissed_comment: *437 dismissed_reason: description: The reason for dismissing or closing the alert. type: string @@ -116284,12 +116451,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *747 - enterprise: *740 - installation: *741 - organization: *742 - ref: *748 - repository: *743 + commit_oid: *749 + enterprise: *742 + installation: *743 + organization: *744 + ref: *750 + repository: *745 sender: *4 required: - action @@ -116388,7 +116555,7 @@ x-webhooks: dismissed_by: type: object nullable: true - dismissed_comment: *435 + dismissed_comment: *437 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -116563,16 +116730,16 @@ x-webhooks: triggered by the `sender` and this value will be empty. type: string nullable: true - enterprise: *740 - installation: *741 - organization: *742 + enterprise: *742 + installation: *743 + organization: *744 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 nullable: true - repository: *743 + repository: *745 sender: *4 required: - action @@ -116669,7 +116836,7 @@ x-webhooks: nullable: true dismissed_by: nullable: true - dismissed_comment: *435 + dismissed_comment: *437 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -116809,12 +116976,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *747 - enterprise: *740 - installation: *741 - organization: *742 - ref: *748 - repository: *743 + commit_oid: *749 + enterprise: *742 + installation: *743 + organization: *744 + ref: *750 + repository: *745 sender: *4 required: - action @@ -116980,7 +117147,7 @@ x-webhooks: required: - login - id - dismissed_comment: *435 + dismissed_comment: *437 dismissed_reason: description: The reason for dismissing or closing the alert. type: string @@ -117125,10 +117292,10 @@ x-webhooks: - dismissed_reason - rule - tool - enterprise: *740 - installation: *741 - organization: *742 - repository: *743 + enterprise: *742 + installation: *743 + organization: *744 + repository: *745 sender: *4 required: - action @@ -117383,10 +117550,10 @@ x-webhooks: - updated_at - author_association - body - enterprise: *740 - installation: *741 - organization: *742 - repository: *743 + enterprise: *742 + installation: *743 + organization: *744 + repository: *745 sender: *4 required: - action @@ -117466,18 +117633,18 @@ x-webhooks: description: The repository's current description. type: string nullable: true - enterprise: *740 - installation: *741 + enterprise: *742 + installation: *743 master_branch: description: The name of the repository's default branch (usually `main`). type: string - organization: *742 - pusher_type: &749 + organization: *744 + pusher_type: &751 description: The pusher type for the event. Can be either `user` or a deploy key. type: string - ref: &750 + ref: &752 description: The [`git ref`](https://docs.github.com/rest/git/refs#get-a-reference) resource. type: string @@ -117487,7 +117654,7 @@ x-webhooks: enum: - tag - branch - repository: *743 + repository: *745 sender: *4 required: - ref @@ -117569,10 +117736,10 @@ x-webhooks: type: string enum: - created - definition: *290 - enterprise: *740 - installation: *741 - organization: *742 + definition: *292 + enterprise: *742 + installation: *743 + organization: *744 sender: *4 required: - action @@ -117657,9 +117824,9 @@ x-webhooks: description: The name of the property that was deleted. required: - property_name - enterprise: *740 - installation: *741 - organization: *742 + enterprise: *742 + installation: *743 + organization: *744 sender: *4 required: - action @@ -117736,10 +117903,10 @@ x-webhooks: type: string enum: - promote_to_enterprise - definition: *290 - enterprise: *740 - installation: *741 - organization: *742 + definition: *292 + enterprise: *742 + installation: *743 + organization: *744 sender: *4 required: - action @@ -117816,10 +117983,10 @@ x-webhooks: type: string enum: - updated - definition: *290 - enterprise: *740 - installation: *741 - organization: *742 + definition: *292 + enterprise: *742 + installation: *743 + organization: *744 sender: *4 required: - action @@ -117896,19 +118063,19 @@ x-webhooks: type: string enum: - updated - enterprise: *740 - installation: *741 - repository: *743 - organization: *742 + enterprise: *742 + installation: *743 + repository: *745 + organization: *744 sender: *4 new_property_values: type: array description: The new custom property values for the repository. - items: *294 + items: *296 old_property_values: type: array description: The old custom property values for the repository. - items: *294 + items: *296 required: - action - repository @@ -117984,18 +118151,18 @@ x-webhooks: title: delete event type: object properties: - enterprise: *740 - installation: *741 - organization: *742 - pusher_type: *749 - ref: *750 + enterprise: *742 + installation: *743 + organization: *744 + pusher_type: *751 + ref: *752 ref_type: description: The type of Git ref object deleted in the repository. type: string enum: - tag - branch - repository: *743 + repository: *745 sender: *4 required: - ref @@ -118075,11 +118242,11 @@ x-webhooks: type: string enum: - assignees_changed - alert: *499 - installation: *741 - organization: *742 - enterprise: *740 - repository: *743 + alert: *501 + installation: *743 + organization: *744 + enterprise: *742 + repository: *745 sender: *4 required: - action @@ -118159,11 +118326,11 @@ x-webhooks: type: string enum: - auto_dismissed - alert: *499 - installation: *741 - organization: *742 - enterprise: *740 - repository: *743 + alert: *501 + installation: *743 + organization: *744 + enterprise: *742 + repository: *745 sender: *4 required: - action @@ -118244,11 +118411,11 @@ x-webhooks: type: string enum: - auto_reopened - alert: *499 - installation: *741 - organization: *742 - enterprise: *740 - repository: *743 + alert: *501 + installation: *743 + organization: *744 + enterprise: *742 + repository: *745 sender: *4 required: - action @@ -118329,11 +118496,11 @@ x-webhooks: type: string enum: - created - alert: *499 - installation: *741 - organization: *742 - enterprise: *740 - repository: *743 + alert: *501 + installation: *743 + organization: *744 + enterprise: *742 + repository: *745 sender: *4 required: - action @@ -118412,11 +118579,11 @@ x-webhooks: type: string enum: - dismissed - alert: *499 - installation: *741 - organization: *742 - enterprise: *740 - repository: *743 + alert: *501 + installation: *743 + organization: *744 + enterprise: *742 + repository: *745 sender: *4 required: - action @@ -118495,11 +118662,11 @@ x-webhooks: type: string enum: - fixed - alert: *499 - installation: *741 - organization: *742 - enterprise: *740 - repository: *743 + alert: *501 + installation: *743 + organization: *744 + enterprise: *742 + repository: *745 sender: *4 required: - action @@ -118579,11 +118746,11 @@ x-webhooks: type: string enum: - reintroduced - alert: *499 - installation: *741 - organization: *742 - enterprise: *740 - repository: *743 + alert: *501 + installation: *743 + organization: *744 + enterprise: *742 + repository: *745 sender: *4 required: - action @@ -118662,11 +118829,11 @@ x-webhooks: type: string enum: - reopened - alert: *499 - installation: *741 - organization: *742 - enterprise: *740 - repository: *743 + alert: *501 + installation: *743 + organization: *744 + enterprise: *742 + repository: *745 sender: *4 required: - action @@ -118743,9 +118910,9 @@ x-webhooks: type: string enum: - created - enterprise: *740 - installation: *741 - key: &751 + enterprise: *742 + installation: *743 + key: &753 description: The [`deploy key`](https://docs.github.com/rest/deploy-keys/deploy-keys#get-a-deploy-key) resource. type: object @@ -118781,8 +118948,8 @@ x-webhooks: - verified - created_at - read_only - organization: *742 - repository: *743 + organization: *744 + repository: *745 sender: *4 required: - action @@ -118859,11 +119026,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *740 - installation: *741 - key: *751 - organization: *742 - repository: *743 + enterprise: *742 + installation: *743 + key: *753 + organization: *744 + repository: *745 sender: *4 required: - action @@ -119419,12 +119586,12 @@ x-webhooks: - updated_at - statuses_url - repository_url - enterprise: *740 - installation: *741 - organization: *742 - repository: *743 + enterprise: *742 + installation: *743 + organization: *744 + repository: *745 sender: *4 - workflow: &757 + workflow: &759 title: Workflow type: object nullable: true @@ -120165,15 +120332,15 @@ x-webhooks: description: A request for a specific ref(branch,sha,tag) to be deployed type: object - properties: *752 - required: *753 + properties: *754 + required: *755 nullable: true pull_requests: type: array - items: *596 - repository: *743 - organization: *742 - installation: *741 + items: *598 + repository: *745 + organization: *744 + installation: *743 sender: *4 responses: '200': @@ -120244,7 +120411,7 @@ x-webhooks: type: string enum: - approved - approver: &754 + approver: &756 type: object properties: avatar_url: @@ -120287,11 +120454,11 @@ x-webhooks: type: string comment: type: string - enterprise: *740 - installation: *741 - organization: *742 - repository: *743 - reviewers: &755 + enterprise: *742 + installation: *743 + organization: *744 + repository: *745 + reviewers: &757 type: array items: type: object @@ -120370,7 +120537,7 @@ x-webhooks: sender: *4 since: type: string - workflow_job_run: &756 + workflow_job_run: &758 type: object properties: conclusion: @@ -121101,18 +121268,18 @@ x-webhooks: type: string enum: - rejected - approver: *754 + approver: *756 comment: type: string - enterprise: *740 - installation: *741 - organization: *742 - repository: *743 - reviewers: *755 + enterprise: *742 + installation: *743 + organization: *744 + repository: *745 + reviewers: *757 sender: *4 since: type: string - workflow_job_run: *756 + workflow_job_run: *758 workflow_job_runs: type: array items: @@ -121816,13 +121983,13 @@ x-webhooks: type: string enum: - requested - enterprise: *740 + enterprise: *742 environment: type: string - installation: *741 - organization: *742 - repository: *743 - requestor: &762 + installation: *743 + organization: *744 + repository: *745 + requestor: &764 title: User type: object nullable: true @@ -123711,12 +123878,12 @@ x-webhooks: - updated_at - deployment_url - repository_url - enterprise: *740 - installation: *741 - organization: *742 - repository: *743 + enterprise: *742 + installation: *743 + organization: *744 + repository: *745 sender: *4 - workflow: *757 + workflow: *759 workflow_run: title: Deployment Workflow Run type: object @@ -124396,7 +124563,7 @@ x-webhooks: type: string enum: - answered - answer: &760 + answer: &762 type: object properties: author_association: @@ -124553,11 +124720,11 @@ x-webhooks: - created_at - updated_at - body - discussion: *758 - enterprise: *740 - installation: *741 - organization: *742 - repository: *743 + discussion: *760 + enterprise: *742 + installation: *743 + organization: *744 + repository: *745 sender: *4 required: - action @@ -124684,11 +124851,11 @@ x-webhooks: - from required: - category - discussion: *758 - enterprise: *740 - installation: *741 - organization: *742 - repository: *743 + discussion: *760 + enterprise: *742 + installation: *743 + organization: *744 + repository: *745 sender: *4 required: - action @@ -124771,11 +124938,11 @@ x-webhooks: type: string enum: - closed - discussion: *758 - enterprise: *740 - installation: *741 - organization: *742 - repository: *743 + discussion: *760 + enterprise: *742 + installation: *743 + organization: *744 + repository: *745 sender: *4 required: - action @@ -124857,7 +125024,7 @@ x-webhooks: type: string enum: - created - comment: &759 + comment: &761 type: object properties: author_association: @@ -125014,11 +125181,11 @@ x-webhooks: - updated_at - body - reactions - discussion: *758 - enterprise: *740 - installation: *741 - organization: *742 - repository: *743 + discussion: *760 + enterprise: *742 + installation: *743 + organization: *744 + repository: *745 sender: *4 required: - action @@ -125101,12 +125268,12 @@ x-webhooks: type: string enum: - deleted - comment: *759 - discussion: *758 - enterprise: *740 - installation: *741 - organization: *742 - repository: *743 + comment: *761 + discussion: *760 + enterprise: *742 + installation: *743 + organization: *744 + repository: *745 sender: *4 required: - action @@ -125201,12 +125368,12 @@ x-webhooks: - from required: - body - comment: *759 - discussion: *758 - enterprise: *740 - installation: *741 - organization: *742 - repository: *743 + comment: *761 + discussion: *760 + enterprise: *742 + installation: *743 + organization: *744 + repository: *745 sender: *4 required: - action @@ -125290,11 +125457,11 @@ x-webhooks: type: string enum: - created - discussion: *758 - enterprise: *740 - installation: *741 - organization: *742 - repository: *743 + discussion: *760 + enterprise: *742 + installation: *743 + organization: *744 + repository: *745 sender: *4 required: - action @@ -125376,11 +125543,11 @@ x-webhooks: type: string enum: - deleted - discussion: *758 - enterprise: *740 - installation: *741 - organization: *742 - repository: *743 + discussion: *760 + enterprise: *742 + installation: *743 + organization: *744 + repository: *745 sender: *4 required: - action @@ -125480,11 +125647,11 @@ x-webhooks: type: string required: - from - discussion: *758 - enterprise: *740 - installation: *741 - organization: *742 - repository: *743 + discussion: *760 + enterprise: *742 + installation: *743 + organization: *744 + repository: *745 sender: *4 required: - action @@ -125566,10 +125733,10 @@ x-webhooks: type: string enum: - labeled - discussion: *758 - enterprise: *740 - installation: *741 - label: &761 + discussion: *760 + enterprise: *742 + installation: *743 + label: &763 title: Label type: object properties: @@ -125601,8 +125768,8 @@ x-webhooks: - color - default - description - organization: *742 - repository: *743 + organization: *744 + repository: *745 sender: *4 required: - action @@ -125685,11 +125852,11 @@ x-webhooks: type: string enum: - locked - discussion: *758 - enterprise: *740 - installation: *741 - organization: *742 - repository: *743 + discussion: *760 + enterprise: *742 + installation: *743 + organization: *744 + repository: *745 sender: *4 required: - action @@ -125771,11 +125938,11 @@ x-webhooks: type: string enum: - pinned - discussion: *758 - enterprise: *740 - installation: *741 - organization: *742 - repository: *743 + discussion: *760 + enterprise: *742 + installation: *743 + organization: *744 + repository: *745 sender: *4 required: - action @@ -125857,11 +126024,11 @@ x-webhooks: type: string enum: - reopened - discussion: *758 - enterprise: *740 - installation: *741 - organization: *742 - repository: *743 + discussion: *760 + enterprise: *742 + installation: *743 + organization: *744 + repository: *745 sender: *4 required: - action @@ -125946,16 +126113,16 @@ x-webhooks: changes: type: object properties: - new_discussion: *758 - new_repository: *743 + new_discussion: *760 + new_repository: *745 required: - new_discussion - new_repository - discussion: *758 - enterprise: *740 - installation: *741 - organization: *742 - repository: *743 + discussion: *760 + enterprise: *742 + installation: *743 + organization: *744 + repository: *745 sender: *4 required: - action @@ -126038,10 +126205,10 @@ x-webhooks: type: string enum: - unanswered - discussion: *758 - old_answer: *760 - organization: *742 - repository: *743 + discussion: *760 + old_answer: *762 + organization: *744 + repository: *745 sender: *4 required: - action @@ -126123,12 +126290,12 @@ x-webhooks: type: string enum: - unlabeled - discussion: *758 - enterprise: *740 - installation: *741 - label: *761 - organization: *742 - repository: *743 + discussion: *760 + enterprise: *742 + installation: *743 + label: *763 + organization: *744 + repository: *745 sender: *4 required: - action @@ -126211,11 +126378,11 @@ x-webhooks: type: string enum: - unlocked - discussion: *758 - enterprise: *740 - installation: *741 - organization: *742 - repository: *743 + discussion: *760 + enterprise: *742 + installation: *743 + organization: *744 + repository: *745 sender: *4 required: - action @@ -126297,11 +126464,11 @@ x-webhooks: type: string enum: - unpinned - discussion: *758 - enterprise: *740 - installation: *741 - organization: *742 - repository: *743 + discussion: *760 + enterprise: *742 + installation: *743 + organization: *744 + repository: *745 sender: *4 required: - action @@ -126374,7 +126541,7 @@ x-webhooks: description: A user forks a repository. type: object properties: - enterprise: *740 + enterprise: *742 forkee: description: The created [`repository`](https://docs.github.com/rest/repos/repos#get-a-repository) resource. @@ -127034,9 +127201,9 @@ x-webhooks: type: integer watchers_count: type: integer - installation: *741 - organization: *742 - repository: *743 + installation: *743 + organization: *744 + repository: *745 sender: *4 required: - forkee @@ -127182,9 +127349,9 @@ x-webhooks: title: gollum event type: object properties: - enterprise: *740 - installation: *741 - organization: *742 + enterprise: *742 + installation: *743 + organization: *744 pages: description: The pages that were updated. type: array @@ -127221,7 +127388,7 @@ x-webhooks: - action - sha - html_url - repository: *743 + repository: *745 sender: *4 required: - pages @@ -127297,10 +127464,10 @@ x-webhooks: type: string enum: - created - enterprise: *740 + enterprise: *742 installation: *22 - organization: *742 - repositories: &763 + organization: *744 + repositories: &765 description: An array of repository objects that the installation can access. type: array @@ -127326,8 +127493,8 @@ x-webhooks: - name - full_name - private - repository: *743 - requester: *762 + repository: *745 + requester: *764 sender: *4 required: - action @@ -127402,11 +127569,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *740 + enterprise: *742 installation: *22 - organization: *742 - repositories: *763 - repository: *743 + organization: *744 + repositories: *765 + repository: *745 requester: nullable: true sender: *4 @@ -127482,11 +127649,11 @@ x-webhooks: type: string enum: - new_permissions_accepted - enterprise: *740 + enterprise: *742 installation: *22 - organization: *742 - repositories: *763 - repository: *743 + organization: *744 + repositories: *765 + repository: *745 requester: nullable: true sender: *4 @@ -127562,10 +127729,10 @@ x-webhooks: type: string enum: - added - enterprise: *740 + enterprise: *742 installation: *22 - organization: *742 - repositories_added: &764 + organization: *744 + repositories_added: &766 description: An array of repository objects, which were added to the installation. type: array @@ -127611,15 +127778,15 @@ x-webhooks: private: description: Whether the repository is private or public. type: boolean - repository: *743 - repository_selection: &765 + repository: *745 + repository_selection: &767 description: Describe whether all repositories have been selected or there's a selection involved type: string enum: - all - selected - requester: *762 + requester: *764 sender: *4 required: - action @@ -127698,10 +127865,10 @@ x-webhooks: type: string enum: - removed - enterprise: *740 + enterprise: *742 installation: *22 - organization: *742 - repositories_added: *764 + organization: *744 + repositories_added: *766 repositories_removed: description: An array of repository objects, which were removed from the installation. @@ -127728,9 +127895,9 @@ x-webhooks: - name - full_name - private - repository: *743 - repository_selection: *765 - requester: *762 + repository: *745 + repository_selection: *767 + requester: *764 sender: *4 required: - action @@ -127809,11 +127976,11 @@ x-webhooks: type: string enum: - suspend - enterprise: *740 + enterprise: *742 installation: *22 - organization: *742 - repositories: *763 - repository: *743 + organization: *744 + repositories: *765 + repository: *745 requester: nullable: true sender: *4 @@ -127991,10 +128158,10 @@ x-webhooks: type: string required: - from - enterprise: *740 - installation: *741 - organization: *742 - repository: *743 + enterprise: *742 + installation: *743 + organization: *744 + repository: *745 sender: *4 target_type: type: string @@ -128073,11 +128240,11 @@ x-webhooks: type: string enum: - unsuspend - enterprise: *740 + enterprise: *742 installation: *22 - organization: *742 - repositories: *763 - repository: *743 + organization: *744 + repositories: *765 + repository: *745 requester: nullable: true sender: *4 @@ -128201,8 +128368,8 @@ x-webhooks: first class actors within GitHub. type: object nullable: true - properties: *81 - required: *82 + properties: *83 + required: *84 reactions: title: Reactions type: object @@ -128251,8 +128418,8 @@ x-webhooks: description: Context around who pinned an issue comment and when it was pinned. type: object - properties: *573 - required: *574 + properties: *575 + required: *576 nullable: true user: title: User @@ -128337,8 +128504,8 @@ x-webhooks: - performed_via_github_app - body - reactions - enterprise: *740 - installation: *741 + enterprise: *742 + installation: *743 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -129127,8 +129294,8 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *676 - issue_dependencies_summary: *677 + sub_issues_summary: *678 + issue_dependencies_summary: *679 state: description: State of the issue; either 'open' or 'closed' type: string @@ -129144,7 +129311,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *242 + type: *244 updated_at: type: string format: date-time @@ -129477,8 +129644,8 @@ x-webhooks: - state - locked - assignee - organization: *742 - repository: *743 + organization: *744 + repository: *745 sender: *4 required: - action @@ -129558,7 +129725,7 @@ x-webhooks: type: string enum: - deleted - comment: &766 + comment: &768 title: issue comment description: The [comment](https://docs.github.com/rest/issues/comments#get-an-issue-comment) itself. @@ -129715,8 +129882,8 @@ x-webhooks: description: Context around who pinned an issue comment and when it was pinned. type: object - properties: *573 - required: *574 + properties: *575 + required: *576 nullable: true required: - url @@ -129731,8 +129898,8 @@ x-webhooks: - performed_via_github_app - body - reactions - enterprise: *740 - installation: *741 + enterprise: *742 + installation: *743 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -130517,8 +130684,8 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *676 - issue_dependencies_summary: *677 + sub_issues_summary: *678 + issue_dependencies_summary: *679 state: description: State of the issue; either 'open' or 'closed' type: string @@ -130534,7 +130701,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *242 + type: *244 updated_at: type: string format: date-time @@ -130869,8 +131036,8 @@ x-webhooks: - state - locked - assignee - organization: *742 - repository: *743 + organization: *744 + repository: *745 sender: *4 required: - action @@ -130950,7 +131117,7 @@ x-webhooks: type: string enum: - edited - changes: &795 + changes: &797 description: The changes to the comment. type: object properties: @@ -130962,9 +131129,9 @@ x-webhooks: type: string required: - from - comment: *766 - enterprise: *740 - installation: *741 + comment: *768 + enterprise: *742 + installation: *743 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -131752,8 +131919,8 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *676 - issue_dependencies_summary: *677 + sub_issues_summary: *678 + issue_dependencies_summary: *679 state: description: State of the issue; either 'open' or 'closed' type: string @@ -131769,7 +131936,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *242 + type: *244 updated_at: type: string format: date-time @@ -132102,8 +132269,8 @@ x-webhooks: - state - locked - assignee - organization: *742 - repository: *743 + organization: *744 + repository: *745 sender: *4 required: - action @@ -132184,9 +132351,9 @@ x-webhooks: type: string enum: - pinned - comment: *766 - enterprise: *740 - installation: *741 + comment: *768 + enterprise: *742 + installation: *743 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -132976,8 +133143,8 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *676 - issue_dependencies_summary: *677 + sub_issues_summary: *678 + issue_dependencies_summary: *679 state: description: State of the issue; either 'open' or 'closed' type: string @@ -132993,7 +133160,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *242 + type: *244 updated_at: type: string format: date-time @@ -133328,8 +133495,8 @@ x-webhooks: - state - locked - assignee - organization: *742 - repository: *743 + organization: *744 + repository: *745 sender: *4 required: - action @@ -133409,9 +133576,9 @@ x-webhooks: type: string enum: - unpinned - comment: *766 - enterprise: *740 - installation: *741 + comment: *768 + enterprise: *742 + installation: *743 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -134201,8 +134368,8 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *676 - issue_dependencies_summary: *677 + sub_issues_summary: *678 + issue_dependencies_summary: *679 state: description: State of the issue; either 'open' or 'closed' type: string @@ -134218,7 +134385,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *242 + type: *244 updated_at: type: string format: date-time @@ -134553,8 +134720,8 @@ x-webhooks: - state - locked - assignee - organization: *742 - repository: *743 + organization: *744 + repository: *745 sender: *4 required: - action @@ -134637,15 +134804,15 @@ x-webhooks: blocked_issue_id: description: The ID of the blocked issue. type: number - blocked_issue: *86 + blocked_issue: *88 blocking_issue_id: description: The ID of the blocking issue. type: number - blocking_issue: *86 - blocking_issue_repo: *80 - installation: *741 - organization: *742 - repository: *743 + blocking_issue: *88 + blocking_issue_repo: *82 + installation: *743 + organization: *744 + repository: *745 sender: *4 required: - action @@ -134728,15 +134895,15 @@ x-webhooks: blocked_issue_id: description: The ID of the blocked issue. type: number - blocked_issue: *86 + blocked_issue: *88 blocking_issue_id: description: The ID of the blocking issue. type: number - blocking_issue: *86 - blocking_issue_repo: *80 - installation: *741 - organization: *742 - repository: *743 + blocking_issue: *88 + blocking_issue_repo: *82 + installation: *743 + organization: *744 + repository: *745 sender: *4 required: - action @@ -134818,15 +134985,15 @@ x-webhooks: blocked_issue_id: description: The ID of the blocked issue. type: number - blocked_issue: *86 - blocked_issue_repo: *80 + blocked_issue: *88 + blocked_issue_repo: *82 blocking_issue_id: description: The ID of the blocking issue. type: number - blocking_issue: *86 - installation: *741 - organization: *742 - repository: *743 + blocking_issue: *88 + installation: *743 + organization: *744 + repository: *745 sender: *4 required: - action @@ -134909,15 +135076,15 @@ x-webhooks: blocked_issue_id: description: The ID of the blocked issue. type: number - blocked_issue: *86 - blocked_issue_repo: *80 + blocked_issue: *88 + blocked_issue_repo: *82 blocking_issue_id: description: The ID of the blocking issue. type: number - blocking_issue: *86 - installation: *741 - organization: *742 - repository: *743 + blocking_issue: *88 + installation: *743 + organization: *744 + repository: *745 sender: *4 required: - action @@ -134997,9 +135164,9 @@ x-webhooks: type: string enum: - assigned - assignee: *762 - enterprise: *740 - installation: *741 + assignee: *764 + enterprise: *742 + installation: *743 issue: &769 title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -135789,14 +135956,14 @@ x-webhooks: description: Comments provide a way for people to collaborate on an issue. type: object - properties: *87 - required: *88 + properties: *89 + required: *90 nullable: true - sub_issues_summary: *676 - issue_dependencies_summary: *677 + sub_issues_summary: *678 + issue_dependencies_summary: *679 issue_field_values: type: array - items: *557 + items: *559 state: description: State of the issue; either 'open' or 'closed' type: string @@ -135812,7 +135979,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *242 + type: *244 updated_at: type: string format: date-time @@ -135913,8 +136080,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *742 - repository: *743 + organization: *744 + repository: *745 sender: *4 required: - action @@ -135994,8 +136161,8 @@ x-webhooks: type: string enum: - closed - enterprise: *740 - installation: *741 + enterprise: *742 + installation: *743 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -136789,14 +136956,14 @@ x-webhooks: description: Comments provide a way for people to collaborate on an issue. type: object - properties: *87 - required: *88 + properties: *89 + required: *90 nullable: true - sub_issues_summary: *676 - issue_dependencies_summary: *677 + sub_issues_summary: *678 + issue_dependencies_summary: *679 issue_field_values: type: array - items: *557 + items: *559 state: description: State of the issue; either 'open' or 'closed' type: string @@ -136812,7 +136979,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *242 + type: *244 updated_at: type: string format: date-time @@ -137048,8 +137215,8 @@ x-webhooks: required: - state - closed_at - organization: *742 - repository: *743 + organization: *744 + repository: *745 sender: *4 required: - action @@ -137128,8 +137295,8 @@ x-webhooks: type: string enum: - deleted - enterprise: *740 - installation: *741 + enterprise: *742 + installation: *743 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -137914,14 +138081,14 @@ x-webhooks: description: Comments provide a way for people to collaborate on an issue. type: object - properties: *87 - required: *88 + properties: *89 + required: *90 nullable: true - sub_issues_summary: *676 - issue_dependencies_summary: *677 + sub_issues_summary: *678 + issue_dependencies_summary: *679 issue_field_values: type: array - items: *557 + items: *559 state: description: State of the issue; either 'open' or 'closed' type: string @@ -137937,7 +138104,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *242 + type: *244 updated_at: type: string format: date-time @@ -138037,8 +138204,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *742 - repository: *743 + organization: *744 + repository: *745 sender: *4 required: - action @@ -138117,8 +138284,8 @@ x-webhooks: type: string enum: - demilestoned - enterprise: *740 - installation: *741 + enterprise: *742 + installation: *743 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -138925,14 +139092,14 @@ x-webhooks: description: Comments provide a way for people to collaborate on an issue. type: object - properties: *87 - required: *88 + properties: *89 + required: *90 nullable: true - sub_issues_summary: *676 - issue_dependencies_summary: *677 + sub_issues_summary: *678 + issue_dependencies_summary: *679 issue_field_values: type: array - items: *557 + items: *559 state: description: State of the issue; either 'open' or 'closed' type: string @@ -138948,7 +139115,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *242 + type: *244 updated_at: type: string format: date-time @@ -139027,7 +139194,7 @@ x-webhooks: format: uri user_view_type: type: string - milestone: &767 + milestone: &770 title: Milestone description: A collection of related issues and pull requests. type: object @@ -139165,8 +139332,8 @@ x-webhooks: - updated_at - due_on - closed_at - organization: *742 - repository: *743 + organization: *744 + repository: *745 sender: *4 required: - action @@ -139265,8 +139432,8 @@ x-webhooks: type: string required: - from - enterprise: *740 - installation: *741 + enterprise: *742 + installation: *743 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -140055,14 +140222,14 @@ x-webhooks: description: Comments provide a way for people to collaborate on an issue. type: object - properties: *87 - required: *88 + properties: *89 + required: *90 nullable: true - sub_issues_summary: *676 - issue_dependencies_summary: *677 + sub_issues_summary: *678 + issue_dependencies_summary: *679 issue_field_values: type: array - items: *557 + items: *559 state: description: State of the issue; either 'open' or 'closed' type: string @@ -140075,7 +140242,7 @@ x-webhooks: timeline_url: type: string format: uri - type: *242 + type: *244 title: description: Title of the issue type: string @@ -140179,9 +140346,9 @@ x-webhooks: - active_lock_reason - body - reactions - label: *761 - organization: *742 - repository: *743 + label: *763 + organization: *744 + repository: *745 sender: *4 required: - action @@ -140201,6 +140368,339 @@ x-webhooks: - repository - organization - app + issues-field-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. + + For activity relating to a comment on an issue, use the `issue_comment` event. + + To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. + description: An issue field value was set or updated on an issue. + operationId: issues/field-added + 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 + - 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: + title: issues field_added event + type: object + properties: + action: + type: string + enum: + - field_added + enterprise: *742 + installation: *743 + issue: *769 + issue_field: + type: object + description: The issue field whose value was set or updated on the + issue. + properties: + id: + type: integer + description: The unique identifier of the issue field. + name: + type: string + description: The name of the issue field. + field_type: + type: string + description: The data type of the issue field. + enum: + - text + - date + - single_select + - number + required: + - id + - name + - field_type + issue_field_value: + type: object + description: The value that was set or updated for the issue field. + When updating an existing value, the previous value is available + in `changes`. + properties: + id: + type: integer + description: The unique identifier of the issue field value. + value: + description: The value of the field. Present for text, date, + and number field types. + nullable: true + anyOf: + - type: string + - type: number + - type: integer + value_id: + type: integer + description: The identifier of the selected option. Present + for single_select field types. + option: + type: object + description: The selected option details. Present for single_select + field types. + properties: + id: + type: integer + name: + type: string + color: + type: string + description: + type: string + nullable: true + required: + - id + changes: + type: object + description: The previous field value, present when an existing + value was updated. + properties: + issue_field_value: + type: object + description: The previous issue field value data. + properties: + from: + type: object + description: The previous value of the issue field before + the update. + properties: + id: + type: integer + description: The unique identifier of the issue field + value. + value: + description: The previous value. Present for text, date, + and number field types. + nullable: true + anyOf: + - type: string + - type: number + - type: integer + value_id: + type: integer + description: The identifier of the previously selected + option. Present for single_select field types. + option: + type: object + description: The previously selected option details. + Present for single_select field types. + properties: + id: + type: integer + name: + type: string + color: + type: string + description: + type: string + nullable: true + required: + - id + required: + - from + organization: *744 + repository: *745 + sender: *4 + required: + - action + - issue + - issue_field + - repository + - sender + 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-field-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. + + For activity relating to a comment on an issue, use the `issue_comment` event. + + To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. + description: An issue field value was cleared from an issue. + operationId: issues/field-removed + 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 + - 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: + title: issues field_removed event + type: object + properties: + action: + type: string + enum: + - field_removed + enterprise: *742 + installation: *743 + issue: *769 + issue_field: + type: object + description: The issue field whose value was cleared from the issue. + properties: + id: + type: integer + description: The unique identifier of the issue field. + name: + type: string + description: The name of the issue field. + field_type: + type: string + description: The data type of the issue field. + enum: + - text + - date + - single_select + - number + required: + - id + - name + - field_type + issue_field_value: + type: object + description: The value that was cleared from the issue field. + properties: + id: + type: integer + description: The unique identifier of the issue field value. + value: + description: The value of the field. Present for text, date, + and number field types. + nullable: true + anyOf: + - type: string + - type: number + - type: integer + value_id: + type: integer + description: The identifier of the selected option. Present + for single_select field types. + option: + type: object + description: The selected option details. Present for single_select + field types. + properties: + id: + type: integer + name: + type: string + color: + type: string + description: + type: string + nullable: true + required: + - id + organization: *744 + repository: *745 + sender: *4 + required: + - action + - issue + - issue_field + - repository + - sender + 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: |- @@ -140261,8 +140761,8 @@ x-webhooks: type: string enum: - labeled - enterprise: *740 - installation: *741 + enterprise: *742 + installation: *743 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -141050,14 +141550,14 @@ x-webhooks: description: Comments provide a way for people to collaborate on an issue. type: object - properties: *87 - required: *88 + properties: *89 + required: *90 nullable: true - sub_issues_summary: *676 - issue_dependencies_summary: *677 + sub_issues_summary: *678 + issue_dependencies_summary: *679 issue_field_values: type: array - items: *557 + items: *559 state: description: State of the issue; either 'open' or 'closed' type: string @@ -141070,7 +141570,7 @@ x-webhooks: timeline_url: type: string format: uri - type: *242 + type: *244 title: description: Title of the issue type: string @@ -141174,9 +141674,9 @@ x-webhooks: - active_lock_reason - body - reactions - label: *761 - organization: *742 - repository: *743 + label: *763 + organization: *744 + repository: *745 sender: *4 required: - action @@ -141256,8 +141756,8 @@ x-webhooks: type: string enum: - locked - enterprise: *740 - installation: *741 + enterprise: *742 + installation: *743 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -142069,14 +142569,14 @@ x-webhooks: description: Comments provide a way for people to collaborate on an issue. type: object - properties: *87 - required: *88 + properties: *89 + required: *90 nullable: true - sub_issues_summary: *676 - issue_dependencies_summary: *677 + sub_issues_summary: *678 + issue_dependencies_summary: *679 issue_field_values: type: array - items: *557 + items: *559 state: description: State of the issue; either 'open' or 'closed' type: string @@ -142089,7 +142589,7 @@ x-webhooks: timeline_url: type: string format: uri - type: *242 + type: *244 title: description: Title of the issue type: string @@ -142170,8 +142670,8 @@ x-webhooks: format: uri user_view_type: type: string - organization: *742 - repository: *743 + organization: *744 + repository: *745 sender: *4 required: - action @@ -142250,8 +142750,8 @@ x-webhooks: type: string enum: - milestoned - enterprise: *740 - installation: *741 + enterprise: *742 + installation: *743 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -143057,14 +143557,14 @@ x-webhooks: description: Comments provide a way for people to collaborate on an issue. type: object - properties: *87 - required: *88 + properties: *89 + required: *90 nullable: true - sub_issues_summary: *676 - issue_dependencies_summary: *677 + sub_issues_summary: *678 + issue_dependencies_summary: *679 issue_field_values: type: array - items: *557 + items: *559 state: description: State of the issue; either 'open' or 'closed' type: string @@ -143080,7 +143580,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *242 + type: *244 updated_at: type: string format: date-time @@ -143158,9 +143658,9 @@ x-webhooks: format: uri user_view_type: type: string - milestone: *767 - organization: *742 - repository: *743 + milestone: *770 + organization: *744 + repository: *745 sender: *4 required: - action @@ -144023,11 +144523,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *676 - issue_dependencies_summary: *677 + sub_issues_summary: *678 + issue_dependencies_summary: *679 issue_field_values: type: array - items: *557 + items: *559 state: description: State of the issue; either 'open' or 'closed' type: string @@ -144055,8 +144555,8 @@ x-webhooks: description: Comments provide a way for people to collaborate on an issue. type: object - properties: *87 - required: *88 + properties: *89 + required: *90 nullable: true user: title: User @@ -144128,7 +144628,7 @@ x-webhooks: required: - login - id - type: *242 + type: *244 required: - id - number @@ -144608,8 +145108,8 @@ x-webhooks: required: - old_issue - old_repository - enterprise: *740 - installation: *741 + enterprise: *742 + installation: *743 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -145393,11 +145893,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *676 - issue_dependencies_summary: *677 + sub_issues_summary: *678 + issue_dependencies_summary: *679 issue_field_values: type: array - items: *557 + items: *559 state: description: State of the issue; either 'open' or 'closed' type: string @@ -145413,7 +145913,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *242 + type: *244 updated_at: type: string format: date-time @@ -145426,8 +145926,8 @@ x-webhooks: description: Comments provide a way for people to collaborate on an issue. type: object - properties: *87 - required: *88 + properties: *89 + required: *90 nullable: true user: title: User @@ -145521,8 +146021,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *742 - repository: *743 + organization: *744 + repository: *745 sender: *4 required: - action @@ -145602,9 +146102,9 @@ x-webhooks: type: string enum: - pinned - enterprise: *740 - installation: *741 - issue: &768 + enterprise: *742 + installation: *743 + issue: &771 title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -146387,14 +146887,14 @@ x-webhooks: description: Comments provide a way for people to collaborate on an issue. type: object - properties: *87 - required: *88 + properties: *89 + required: *90 nullable: true - sub_issues_summary: *676 - issue_dependencies_summary: *677 + sub_issues_summary: *678 + issue_dependencies_summary: *679 issue_field_values: type: array - items: *557 + items: *559 state: description: State of the issue; either 'open' or 'closed' type: string @@ -146410,7 +146910,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *242 + type: *244 updated_at: type: string format: date-time @@ -146510,8 +147010,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *742 - repository: *743 + organization: *744 + repository: *745 sender: *4 required: - action @@ -146590,8 +147090,8 @@ x-webhooks: type: string enum: - reopened - enterprise: *740 - installation: *741 + enterprise: *742 + installation: *743 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -147401,14 +147901,14 @@ x-webhooks: description: Comments provide a way for people to collaborate on an issue. type: object - properties: *87 - required: *88 + properties: *89 + required: *90 nullable: true - sub_issues_summary: *676 - issue_dependencies_summary: *677 + sub_issues_summary: *678 + issue_dependencies_summary: *679 issue_field_values: type: array - items: *557 + items: *559 state: description: State of the issue; either 'open' or 'closed' type: string @@ -147502,9 +148002,9 @@ x-webhooks: format: uri user_view_type: type: string - type: *242 - organization: *742 - repository: *743 + type: *244 + organization: *744 + repository: *745 sender: *4 required: - action @@ -148370,14 +148870,14 @@ x-webhooks: description: Comments provide a way for people to collaborate on an issue. type: object - properties: *87 - required: *88 + properties: *89 + required: *90 nullable: true - sub_issues_summary: *676 - issue_dependencies_summary: *677 + sub_issues_summary: *678 + issue_dependencies_summary: *679 issue_field_values: type: array - items: *557 + items: *559 state: description: State of the issue; either 'open' or 'closed' type: string @@ -148393,7 +148893,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *242 + type: *244 updated_at: type: string format: date-time @@ -148972,11 +149472,11 @@ x-webhooks: required: - new_issue - new_repository - enterprise: *740 - installation: *741 - issue: *768 - organization: *742 - repository: *743 + enterprise: *742 + installation: *743 + issue: *771 + organization: *744 + repository: *745 sender: *4 required: - action @@ -149056,12 +149556,12 @@ x-webhooks: type: string enum: - typed - enterprise: *740 - installation: *741 + enterprise: *742 + installation: *743 issue: *769 - type: *242 - organization: *742 - repository: *743 + type: *244 + organization: *744 + repository: *745 sender: *4 required: - action @@ -149142,7 +149642,7 @@ x-webhooks: type: string enum: - unassigned - assignee: &798 + assignee: &800 title: User type: object nullable: true @@ -149212,11 +149712,11 @@ x-webhooks: required: - login - id - enterprise: *740 - installation: *741 + enterprise: *742 + installation: *743 issue: *769 - organization: *742 - repository: *743 + organization: *744 + repository: *745 sender: *4 required: - action @@ -149295,12 +149795,12 @@ x-webhooks: type: string enum: - unlabeled - enterprise: *740 - installation: *741 + enterprise: *742 + installation: *743 issue: *769 - label: *761 - organization: *742 - repository: *743 + label: *763 + organization: *744 + repository: *745 sender: *4 required: - action @@ -149380,8 +149880,8 @@ x-webhooks: type: string enum: - unlocked - enterprise: *740 - installation: *741 + enterprise: *742 + installation: *743 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -150191,14 +150691,14 @@ x-webhooks: description: Comments provide a way for people to collaborate on an issue. type: object - properties: *87 - required: *88 + properties: *89 + required: *90 nullable: true - sub_issues_summary: *676 - issue_dependencies_summary: *677 + sub_issues_summary: *678 + issue_dependencies_summary: *679 issue_field_values: type: array - items: *557 + items: *559 state: description: State of the issue; either 'open' or 'closed' type: string @@ -150214,7 +150714,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *242 + type: *244 updated_at: type: string format: date-time @@ -150292,8 +150792,8 @@ x-webhooks: format: uri user_view_type: type: string - organization: *742 - repository: *743 + organization: *744 + repository: *745 sender: *4 required: - action @@ -150373,11 +150873,11 @@ x-webhooks: type: string enum: - unpinned - enterprise: *740 - installation: *741 - issue: *768 - organization: *742 - repository: *743 + enterprise: *742 + installation: *743 + issue: *771 + organization: *744 + repository: *745 sender: *4 required: - action @@ -150456,12 +150956,12 @@ x-webhooks: type: string enum: - untyped - enterprise: *740 - installation: *741 + enterprise: *742 + installation: *743 issue: *769 - type: *242 - organization: *742 - repository: *743 + type: *244 + organization: *744 + repository: *745 sender: *4 required: - action @@ -150541,11 +151041,11 @@ x-webhooks: type: string enum: - created - enterprise: *740 - installation: *741 - label: *761 - organization: *742 - repository: *743 + enterprise: *742 + installation: *743 + label: *763 + organization: *744 + repository: *745 sender: *4 required: - action @@ -150623,11 +151123,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *740 - installation: *741 - label: *761 - organization: *742 - repository: *743 + enterprise: *742 + installation: *743 + label: *763 + organization: *744 + repository: *745 sender: *4 required: - action @@ -150737,11 +151237,11 @@ x-webhooks: type: string required: - from - enterprise: *740 - installation: *741 - label: *761 - organization: *742 - repository: *743 + enterprise: *742 + installation: *743 + label: *763 + organization: *744 + repository: *745 sender: *4 required: - action @@ -150823,9 +151323,9 @@ x-webhooks: - cancelled effective_date: type: string - enterprise: *740 - installation: *741 - marketplace_purchase: &770 + enterprise: *742 + installation: *743 + marketplace_purchase: &772 title: Marketplace Purchase type: object required: @@ -150908,8 +151408,8 @@ x-webhooks: type: integer unit_count: type: integer - organization: *742 - previous_marketplace_purchase: &771 + organization: *744 + previous_marketplace_purchase: &773 title: Marketplace Purchase type: object properties: @@ -150989,7 +151489,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *743 + repository: *745 sender: *4 required: - action @@ -151069,10 +151569,10 @@ x-webhooks: - changed effective_date: type: string - enterprise: *740 - installation: *741 - marketplace_purchase: *770 - organization: *742 + enterprise: *742 + installation: *743 + marketplace_purchase: *772 + organization: *744 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -151155,7 +151655,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *743 + repository: *745 sender: *4 required: - action @@ -151237,10 +151737,10 @@ x-webhooks: - pending_change effective_date: type: string - enterprise: *740 - installation: *741 - marketplace_purchase: *770 - organization: *742 + enterprise: *742 + installation: *743 + marketplace_purchase: *772 + organization: *744 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -151322,7 +151822,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *743 + repository: *745 sender: *4 required: - action @@ -151403,8 +151903,8 @@ x-webhooks: - pending_change_cancelled effective_date: type: string - enterprise: *740 - installation: *741 + enterprise: *742 + installation: *743 marketplace_purchase: title: Marketplace Purchase type: object @@ -151486,9 +151986,9 @@ x-webhooks: type: integer unit_count: type: integer - organization: *742 - previous_marketplace_purchase: *771 - repository: *743 + organization: *744 + previous_marketplace_purchase: *773 + repository: *745 sender: *4 required: - action @@ -151568,12 +152068,12 @@ x-webhooks: - purchased effective_date: type: string - enterprise: *740 - installation: *741 - marketplace_purchase: *770 - organization: *742 - previous_marketplace_purchase: *771 - repository: *743 + enterprise: *742 + installation: *743 + marketplace_purchase: *772 + organization: *744 + previous_marketplace_purchase: *773 + repository: *745 sender: *4 required: - action @@ -151675,11 +152175,11 @@ x-webhooks: type: string required: - to - enterprise: *740 - installation: *741 - member: *762 - organization: *742 - repository: *743 + enterprise: *742 + installation: *743 + member: *764 + organization: *744 + repository: *745 sender: *4 required: - action @@ -151779,11 +152279,11 @@ x-webhooks: to: type: string nullable: true - enterprise: *740 - installation: *741 - member: *762 - organization: *742 - repository: *743 + enterprise: *742 + installation: *743 + member: *764 + organization: *744 + repository: *745 sender: *4 required: - action @@ -151862,11 +152362,11 @@ x-webhooks: type: string enum: - removed - enterprise: *740 - installation: *741 - member: *762 - organization: *742 - repository: *743 + enterprise: *742 + installation: *743 + member: *764 + organization: *744 + repository: *745 sender: *4 required: - action @@ -151944,11 +152444,11 @@ x-webhooks: type: string enum: - added - enterprise: *740 - installation: *741 - member: *762 - organization: *742 - repository: *743 + enterprise: *742 + installation: *743 + member: *764 + organization: *744 + repository: *745 scope: description: The scope of the membership. Currently, can only be `team`. @@ -152024,7 +152524,7 @@ x-webhooks: required: - login - id - team: &772 + team: &774 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -152247,11 +152747,11 @@ x-webhooks: type: string enum: - removed - enterprise: *740 - installation: *741 - member: *762 - organization: *742 - repository: *743 + enterprise: *742 + installation: *743 + member: *764 + organization: *744 + repository: *745 scope: description: The scope of the membership. Currently, can only be `team`. @@ -152328,7 +152828,7 @@ x-webhooks: required: - login - id - team: *772 + team: *774 required: - action - scope @@ -152410,8 +152910,8 @@ x-webhooks: type: string enum: - checks_requested - installation: *741 - merge_group: &774 + installation: *743 + merge_group: &776 type: object title: Merge Group description: A group of pull requests that the merge queue has grouped @@ -152430,15 +152930,15 @@ x-webhooks: description: The full ref of the branch the merge group will be merged into. type: string - head_commit: *773 + head_commit: *775 required: - head_sha - head_ref - base_sha - base_ref - head_commit - organization: *742 - repository: *743 + organization: *744 + repository: *745 sender: *4 required: - action @@ -152524,10 +153024,10 @@ x-webhooks: - merged - invalidated - dequeued - installation: *741 - merge_group: *774 - organization: *742 - repository: *743 + installation: *743 + merge_group: *776 + organization: *744 + repository: *745 sender: *4 required: - action @@ -152600,7 +153100,7 @@ x-webhooks: type: string enum: - deleted - enterprise: *740 + enterprise: *742 hook: description: 'The deleted webhook. This will contain different keys based on the type of webhook it is: repository, organization, @@ -152709,16 +153209,16 @@ x-webhooks: hook_id: description: The id of the modified webhook. type: integer - installation: *741 - organization: *742 + installation: *743 + organization: *744 repository: title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *775 - required: *776 + properties: *777 + required: *778 nullable: true sender: *4 required: @@ -152799,11 +153299,11 @@ x-webhooks: type: string enum: - closed - enterprise: *740 - installation: *741 - milestone: *767 - organization: *742 - repository: *743 + enterprise: *742 + installation: *743 + milestone: *770 + organization: *744 + repository: *745 sender: *4 required: - action @@ -152882,9 +153382,9 @@ x-webhooks: type: string enum: - created - enterprise: *740 - installation: *741 - milestone: &777 + enterprise: *742 + installation: *743 + milestone: &779 title: Milestone description: A collection of related issues and pull requests. type: object @@ -153021,8 +153521,8 @@ x-webhooks: - updated_at - due_on - closed_at - organization: *742 - repository: *743 + organization: *744 + repository: *745 sender: *4 required: - action @@ -153101,11 +153601,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *740 - installation: *741 - milestone: *767 - organization: *742 - repository: *743 + enterprise: *742 + installation: *743 + milestone: *770 + organization: *744 + repository: *745 sender: *4 required: - action @@ -153215,11 +153715,11 @@ x-webhooks: type: string required: - from - enterprise: *740 - installation: *741 - milestone: *767 - organization: *742 - repository: *743 + enterprise: *742 + installation: *743 + milestone: *770 + organization: *744 + repository: *745 sender: *4 required: - action @@ -153299,11 +153799,11 @@ x-webhooks: type: string enum: - opened - enterprise: *740 - installation: *741 - milestone: *777 - organization: *742 - repository: *743 + enterprise: *742 + installation: *743 + milestone: *779 + organization: *744 + repository: *745 sender: *4 required: - action @@ -153382,11 +153882,11 @@ x-webhooks: type: string enum: - blocked - blocked_user: *762 - enterprise: *740 - installation: *741 - organization: *742 - repository: *743 + blocked_user: *764 + enterprise: *742 + installation: *743 + organization: *744 + repository: *745 sender: *4 required: - action @@ -153465,11 +153965,11 @@ x-webhooks: type: string enum: - unblocked - blocked_user: *762 - enterprise: *740 - installation: *741 - organization: *742 - repository: *743 + blocked_user: *764 + enterprise: *742 + installation: *743 + organization: *744 + repository: *745 sender: *4 required: - action @@ -153548,9 +154048,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *740 - installation: *741 - membership: &778 + enterprise: *742 + installation: *743 + membership: &780 title: Membership description: The membership between the user and the organization. Not present when the action is `member_invited`. @@ -153657,8 +154157,8 @@ x-webhooks: - role - organization_url - user - organization: *742 - repository: *743 + organization: *744 + repository: *745 sender: *4 required: - action @@ -153736,11 +154236,11 @@ x-webhooks: type: string enum: - member_added - enterprise: *740 - installation: *741 - membership: *778 - organization: *742 - repository: *743 + enterprise: *742 + installation: *743 + membership: *780 + organization: *744 + repository: *745 sender: *4 required: - action @@ -153819,8 +154319,8 @@ x-webhooks: type: string enum: - member_invited - enterprise: *740 - installation: *741 + enterprise: *742 + installation: *743 invitation: description: The invitation for the user or email if the action is `member_invited`. @@ -153936,10 +154436,10 @@ x-webhooks: - inviter - team_count - invitation_teams_url - organization: *742 - repository: *743 + organization: *744 + repository: *745 sender: *4 - user: *762 + user: *764 required: - action - invitation @@ -154017,11 +154517,11 @@ x-webhooks: type: string enum: - member_removed - enterprise: *740 - installation: *741 - membership: *778 - organization: *742 - repository: *743 + enterprise: *742 + installation: *743 + membership: *780 + organization: *744 + repository: *745 sender: *4 required: - action @@ -154108,11 +154608,11 @@ x-webhooks: properties: from: type: string - enterprise: *740 - installation: *741 - membership: *778 - organization: *742 - repository: *743 + enterprise: *742 + installation: *743 + membership: *780 + organization: *744 + repository: *745 sender: *4 required: - action @@ -154189,9 +154689,9 @@ x-webhooks: type: string enum: - published - enterprise: *740 - installation: *741 - organization: *742 + enterprise: *742 + installation: *743 + organization: *744 package: description: Information about the package. type: object @@ -154690,7 +155190,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: &779 + items: &781 title: Ruby Gems metadata type: object properties: @@ -154785,7 +155285,7 @@ x-webhooks: - owner - package_version - registry - repository: *743 + repository: *745 sender: *4 required: - action @@ -154861,9 +155361,9 @@ x-webhooks: type: string enum: - updated - enterprise: *740 - installation: *741 - organization: *742 + enterprise: *742 + installation: *743 + organization: *744 package: description: Information about the package. type: object @@ -155216,7 +155716,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: *779 + items: *781 source_url: type: string format: uri @@ -155286,7 +155786,7 @@ x-webhooks: - owner - package_version - registry - repository: *743 + repository: *745 sender: *4 required: - action @@ -155462,12 +155962,12 @@ x-webhooks: - duration - created_at - updated_at - enterprise: *740 + enterprise: *742 id: type: integer - installation: *741 - organization: *742 - repository: *743 + installation: *743 + organization: *744 + repository: *745 sender: *4 required: - id @@ -155544,7 +156044,7 @@ x-webhooks: type: string enum: - approved - personal_access_token_request: &780 + personal_access_token_request: &782 title: Personal Access Token Request description: Details of a Personal Access Token Request. type: object @@ -155690,10 +156190,10 @@ x-webhooks: - token_expired - token_expires_at - token_last_used_at - enterprise: *740 - organization: *742 + enterprise: *742 + organization: *744 sender: *4 - installation: *741 + installation: *743 required: - action - personal_access_token_request @@ -155770,11 +156270,11 @@ x-webhooks: type: string enum: - cancelled - personal_access_token_request: *780 - enterprise: *740 - organization: *742 + personal_access_token_request: *782 + enterprise: *742 + organization: *744 sender: *4 - installation: *741 + installation: *743 required: - action - personal_access_token_request @@ -155850,11 +156350,11 @@ x-webhooks: type: string enum: - created - personal_access_token_request: *780 - enterprise: *740 - organization: *742 + personal_access_token_request: *782 + enterprise: *742 + organization: *744 sender: *4 - installation: *741 + installation: *743 required: - action - personal_access_token_request @@ -155929,11 +156429,11 @@ x-webhooks: type: string enum: - denied - personal_access_token_request: *780 - organization: *742 - enterprise: *740 + personal_access_token_request: *782 + organization: *744 + enterprise: *742 sender: *4 - installation: *741 + installation: *743 required: - action - personal_access_token_request @@ -156038,7 +156538,7 @@ x-webhooks: id: description: Unique identifier of the webhook. type: integer - last_response: *781 + last_response: *783 name: description: The type of webhook. The only valid value is 'web'. type: string @@ -156070,8 +156570,8 @@ x-webhooks: hook_id: description: The ID of the webhook that triggered the ping. type: integer - organization: *742 - repository: *743 + organization: *744 + repository: *745 sender: *4 zen: description: Random string of GitHub zen. @@ -156316,10 +156816,10 @@ x-webhooks: - from required: - note - enterprise: *740 - installation: *741 - organization: *742 - project_card: &782 + enterprise: *742 + installation: *743 + organization: *744 + project_card: &784 title: Project Card type: object properties: @@ -156438,7 +156938,7 @@ x-webhooks: - creator - created_at - updated_at - repository: *743 + repository: *745 sender: *4 required: - action @@ -156519,11 +157019,11 @@ x-webhooks: type: string enum: - created - enterprise: *740 - installation: *741 - organization: *742 - project_card: *782 - repository: *743 + enterprise: *742 + installation: *743 + organization: *744 + project_card: *784 + repository: *745 sender: *4 required: - action @@ -156603,9 +157103,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *740 - installation: *741 - organization: *742 + enterprise: *742 + installation: *743 + organization: *744 project_card: title: Project Card type: object @@ -156733,8 +157233,8 @@ x-webhooks: The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *775 - required: *776 + properties: *777 + required: *778 nullable: true sender: *4 required: @@ -156828,11 +157328,11 @@ x-webhooks: - from required: - note - enterprise: *740 - installation: *741 - organization: *742 - project_card: *782 - repository: *743 + enterprise: *742 + installation: *743 + organization: *744 + project_card: *784 + repository: *745 sender: *4 required: - action @@ -156926,9 +157426,9 @@ x-webhooks: - from required: - column_id - enterprise: *740 - installation: *741 - organization: *742 + enterprise: *742 + installation: *743 + organization: *744 project_card: allOf: - title: Project Card @@ -157118,7 +157618,7 @@ x-webhooks: type: string required: - after_id - repository: *743 + repository: *745 sender: *4 required: - action @@ -157198,10 +157698,10 @@ x-webhooks: type: string enum: - closed - enterprise: *740 - installation: *741 - organization: *742 - project: &784 + enterprise: *742 + installation: *743 + organization: *744 + project: &786 title: Project type: object properties: @@ -157325,7 +157825,7 @@ x-webhooks: - creator - created_at - updated_at - repository: *743 + repository: *745 sender: *4 required: - action @@ -157405,10 +157905,10 @@ x-webhooks: type: string enum: - created - enterprise: *740 - installation: *741 - organization: *742 - project_column: &783 + enterprise: *742 + installation: *743 + organization: *744 + project_column: &785 title: Project Column type: object properties: @@ -157447,7 +157947,7 @@ x-webhooks: - name - created_at - updated_at - repository: *743 + repository: *745 sender: *4 required: - action @@ -157526,18 +158026,18 @@ x-webhooks: type: string enum: - deleted - enterprise: *740 - installation: *741 - organization: *742 - project_column: *783 + enterprise: *742 + installation: *743 + organization: *744 + project_column: *785 repository: title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *775 - required: *776 + properties: *777 + required: *778 nullable: true sender: *4 required: @@ -157627,11 +158127,11 @@ x-webhooks: type: string required: - from - enterprise: *740 - installation: *741 - organization: *742 - project_column: *783 - repository: *743 + enterprise: *742 + installation: *743 + organization: *744 + project_column: *785 + repository: *745 sender: *4 required: - action @@ -157711,11 +158211,11 @@ x-webhooks: type: string enum: - moved - enterprise: *740 - installation: *741 - organization: *742 - project_column: *783 - repository: *743 + enterprise: *742 + installation: *743 + organization: *744 + project_column: *785 + repository: *745 sender: *4 required: - action @@ -157795,11 +158295,11 @@ x-webhooks: type: string enum: - created - enterprise: *740 - installation: *741 - organization: *742 - project: *784 - repository: *743 + enterprise: *742 + installation: *743 + organization: *744 + project: *786 + repository: *745 sender: *4 required: - action @@ -157879,18 +158379,18 @@ x-webhooks: type: string enum: - deleted - enterprise: *740 - installation: *741 - organization: *742 - project: *784 + enterprise: *742 + installation: *743 + organization: *744 + project: *786 repository: title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *775 - required: *776 + properties: *777 + required: *778 nullable: true sender: *4 required: @@ -157992,11 +158492,11 @@ x-webhooks: type: string required: - from - enterprise: *740 - installation: *741 - organization: *742 - project: *784 - repository: *743 + enterprise: *742 + installation: *743 + organization: *744 + project: *786 + repository: *745 sender: *4 required: - action @@ -158075,11 +158575,11 @@ x-webhooks: type: string enum: - reopened - enterprise: *740 - installation: *741 - organization: *742 - project: *784 - repository: *743 + enterprise: *742 + installation: *743 + organization: *744 + project: *786 + repository: *745 sender: *4 required: - action @@ -158160,9 +158660,9 @@ x-webhooks: type: string enum: - closed - installation: *741 - organization: *742 - projects_v2: *276 + installation: *743 + organization: *744 + projects_v2: *278 sender: *4 required: - action @@ -158243,9 +158743,9 @@ x-webhooks: type: string enum: - created - installation: *741 - organization: *742 - projects_v2: *276 + installation: *743 + organization: *744 + projects_v2: *278 sender: *4 required: - action @@ -158326,9 +158826,9 @@ x-webhooks: type: string enum: - deleted - installation: *741 - organization: *742 - projects_v2: *276 + installation: *743 + organization: *744 + projects_v2: *278 sender: *4 required: - action @@ -158445,9 +158945,9 @@ x-webhooks: type: string to: type: string - installation: *741 - organization: *742 - projects_v2: *276 + installation: *743 + organization: *744 + projects_v2: *278 sender: *4 required: - action @@ -158530,7 +159030,7 @@ x-webhooks: type: string enum: - archived - changes: &788 + changes: &790 type: object properties: archived_at: @@ -158544,9 +159044,9 @@ x-webhooks: type: string nullable: true format: date-time - installation: *741 - organization: *742 - projects_v2_item: &785 + installation: *743 + organization: *744 + projects_v2_item: &787 title: Projects v2 Item description: An item belonging to a project type: object @@ -158564,7 +159064,7 @@ x-webhooks: type: string description: The node ID of the content represented by this item. - content_type: *283 + content_type: *285 creator: *4 created_at: type: string @@ -158681,9 +159181,9 @@ x-webhooks: nullable: true to: type: string - installation: *741 - organization: *742 - projects_v2_item: *785 + installation: *743 + organization: *744 + projects_v2_item: *787 sender: *4 required: - action @@ -158765,9 +159265,9 @@ x-webhooks: type: string enum: - created - installation: *741 - organization: *742 - projects_v2_item: *785 + installation: *743 + organization: *744 + projects_v2_item: *787 sender: *4 required: - action @@ -158848,9 +159348,9 @@ x-webhooks: type: string enum: - deleted - installation: *741 - organization: *742 - projects_v2_item: *785 + installation: *743 + organization: *744 + projects_v2_item: *787 sender: *4 required: - action @@ -158956,7 +159456,7 @@ x-webhooks: oneOf: - type: string - type: integer - - &786 + - &788 title: Projects v2 Single Select Option description: An option for a single select field type: object @@ -158978,7 +159478,7 @@ x-webhooks: required: - id - name - - &787 + - &789 title: Projects v2 Iteration Setting description: An iteration setting for an iteration field type: object @@ -159012,8 +159512,8 @@ x-webhooks: oneOf: - type: string - type: integer - - *786 - - *787 + - *788 + - *789 required: - field_value - type: object @@ -159029,9 +159529,9 @@ x-webhooks: nullable: true required: - body - installation: *741 - organization: *742 - projects_v2_item: *785 + installation: *743 + organization: *744 + projects_v2_item: *787 sender: *4 required: - action @@ -159126,9 +159626,9 @@ x-webhooks: to: type: string nullable: true - installation: *741 - organization: *742 - projects_v2_item: *785 + installation: *743 + organization: *744 + projects_v2_item: *787 sender: *4 required: - action @@ -159211,10 +159711,10 @@ x-webhooks: type: string enum: - restored - changes: *788 - installation: *741 - organization: *742 - projects_v2_item: *785 + changes: *790 + installation: *743 + organization: *744 + projects_v2_item: *787 sender: *4 required: - action @@ -159296,9 +159796,9 @@ x-webhooks: type: string enum: - reopened - installation: *741 - organization: *742 - projects_v2: *276 + installation: *743 + organization: *744 + projects_v2: *278 sender: *4 required: - action @@ -159379,14 +159879,14 @@ x-webhooks: type: string enum: - created - installation: *741 - organization: *742 - projects_v2_status_update: &791 + installation: *743 + organization: *744 + projects_v2_status_update: &793 title: Projects v2 Status Update description: An status update belonging to a project type: object - properties: *789 - required: *790 + properties: *791 + required: *792 sender: *4 required: - action @@ -159467,9 +159967,9 @@ x-webhooks: type: string enum: - deleted - installation: *741 - organization: *742 - projects_v2_status_update: *791 + installation: *743 + organization: *744 + projects_v2_status_update: *793 sender: *4 required: - action @@ -159605,9 +160105,9 @@ x-webhooks: type: string format: date nullable: true - installation: *741 - organization: *742 - projects_v2_status_update: *791 + installation: *743 + organization: *744 + projects_v2_status_update: *793 sender: *4 required: - action @@ -159678,10 +160178,10 @@ x-webhooks: title: public event type: object properties: - enterprise: *740 - installation: *741 - organization: *742 - repository: *743 + enterprise: *742 + installation: *743 + organization: *744 + repository: *745 sender: *4 required: - repository @@ -159758,13 +160258,13 @@ x-webhooks: type: string enum: - assigned - assignee: *762 - enterprise: *740 - installation: *741 - number: &792 + assignee: *764 + enterprise: *742 + installation: *743 + number: &794 description: The pull request number. type: integer - organization: *742 + organization: *744 pull_request: title: Pull Request type: object @@ -162069,7 +162569,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *743 + repository: *745 sender: *4 required: - action @@ -162151,11 +162651,11 @@ x-webhooks: type: string enum: - auto_merge_disabled - enterprise: *740 - installation: *741 + enterprise: *742 + installation: *743 number: type: integer - organization: *742 + organization: *744 pull_request: title: Pull Request type: object @@ -164455,7 +164955,7 @@ x-webhooks: - draft reason: type: string - repository: *743 + repository: *745 sender: *4 required: - action @@ -164537,11 +165037,11 @@ x-webhooks: type: string enum: - auto_merge_enabled - enterprise: *740 - installation: *741 + enterprise: *742 + installation: *743 number: type: integer - organization: *742 + organization: *744 pull_request: title: Pull Request type: object @@ -166841,7 +167341,7 @@ x-webhooks: - draft reason: type: string - repository: *743 + repository: *745 sender: *4 required: - action @@ -166923,13 +167423,13 @@ x-webhooks: type: string enum: - closed - enterprise: *740 - installation: *741 - number: *792 - organization: *742 - pull_request: &793 + enterprise: *742 + installation: *743 + number: *794 + organization: *744 + pull_request: &795 allOf: - - *596 + - *598 - type: object properties: allow_auto_merge: @@ -166991,7 +167491,7 @@ x-webhooks: Please use `squash_merge_commit_title` instead.** type: boolean default: false - repository: *743 + repository: *745 sender: *4 required: - action @@ -167072,12 +167572,12 @@ x-webhooks: type: string enum: - converted_to_draft - enterprise: *740 - installation: *741 - number: *792 - organization: *742 - pull_request: *793 - repository: *743 + enterprise: *742 + installation: *743 + number: *794 + organization: *744 + pull_request: *795 + repository: *745 sender: *4 required: - action @@ -167157,11 +167657,11 @@ x-webhooks: type: string enum: - demilestoned - enterprise: *740 - milestone: *580 - number: *792 - organization: *742 - pull_request: &794 + enterprise: *742 + milestone: *582 + number: *794 + organization: *744 + pull_request: &796 title: Pull Request type: object properties: @@ -169446,7 +169946,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *743 + repository: *745 sender: *4 required: - action @@ -169525,11 +170025,11 @@ x-webhooks: type: string enum: - dequeued - enterprise: *740 - installation: *741 + enterprise: *742 + installation: *743 number: type: integer - organization: *742 + organization: *744 pull_request: title: Pull Request type: object @@ -171833,7 +172333,7 @@ x-webhooks: - BRANCH_PROTECTIONS - GIT_TREE_INVALID - INVALID_MERGE_COMMIT - repository: *743 + repository: *745 sender: *4 required: - action @@ -171957,12 +172457,12 @@ x-webhooks: type: string required: - from - enterprise: *740 - installation: *741 - number: *792 - organization: *742 - pull_request: *793 - repository: *743 + enterprise: *742 + installation: *743 + number: *794 + organization: *744 + pull_request: *795 + repository: *745 sender: *4 required: - action @@ -172042,11 +172542,11 @@ x-webhooks: type: string enum: - enqueued - enterprise: *740 - installation: *741 + enterprise: *742 + installation: *743 number: type: integer - organization: *742 + organization: *744 pull_request: title: Pull Request type: object @@ -174335,7 +174835,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *743 + repository: *745 sender: *4 required: - action @@ -174415,11 +174915,11 @@ x-webhooks: type: string enum: - labeled - enterprise: *740 - installation: *741 - label: *761 - number: *792 - organization: *742 + enterprise: *742 + installation: *743 + label: *763 + number: *794 + organization: *744 pull_request: title: Pull Request type: object @@ -176723,7 +177223,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *743 + repository: *745 sender: *4 required: - action @@ -176804,10 +177304,10 @@ x-webhooks: type: string enum: - locked - enterprise: *740 - installation: *741 - number: *792 - organization: *742 + enterprise: *742 + installation: *743 + number: *794 + organization: *744 pull_request: title: Pull Request type: object @@ -179109,7 +179609,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *743 + repository: *745 sender: *4 required: - action @@ -179189,12 +179689,12 @@ x-webhooks: type: string enum: - milestoned - enterprise: *740 - milestone: *580 - number: *792 - organization: *742 - pull_request: *794 - repository: *743 + enterprise: *742 + milestone: *582 + number: *794 + organization: *744 + pull_request: *796 + repository: *745 sender: *4 required: - action @@ -179273,12 +179773,12 @@ x-webhooks: type: string enum: - opened - enterprise: *740 - installation: *741 - number: *792 - organization: *742 - pull_request: *793 - repository: *743 + enterprise: *742 + installation: *743 + number: *794 + organization: *744 + pull_request: *795 + repository: *745 sender: *4 required: - action @@ -179359,12 +179859,12 @@ x-webhooks: type: string enum: - ready_for_review - enterprise: *740 - installation: *741 - number: *792 - organization: *742 - pull_request: *793 - repository: *743 + enterprise: *742 + installation: *743 + number: *794 + organization: *744 + pull_request: *795 + repository: *745 sender: *4 required: - action @@ -179444,12 +179944,12 @@ x-webhooks: type: string enum: - reopened - enterprise: *740 - installation: *741 - number: *792 - organization: *742 - pull_request: *793 - repository: *743 + enterprise: *742 + installation: *743 + number: *794 + organization: *744 + pull_request: *795 + repository: *745 sender: *4 required: - action @@ -179815,9 +180315,9 @@ x-webhooks: - start_side - side - reactions - enterprise: *740 - installation: *741 - organization: *742 + enterprise: *742 + installation: *743 + organization: *744 pull_request: type: object properties: @@ -182009,7 +182509,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *743 + repository: *745 sender: *4 required: - action @@ -182089,7 +182589,7 @@ x-webhooks: type: string enum: - deleted - comment: &796 + comment: &798 title: Pull Request Review Comment description: The [comment](https://docs.github.com/rest/pulls/comments#get-a-review-comment-for-a-pull-request) itself. @@ -182374,9 +182874,9 @@ x-webhooks: - start_side - side - reactions - enterprise: *740 - installation: *741 - organization: *742 + enterprise: *742 + installation: *743 + organization: *744 pull_request: type: object properties: @@ -184556,7 +185056,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *743 + repository: *745 sender: *4 required: - action @@ -184636,11 +185136,11 @@ x-webhooks: type: string enum: - edited - changes: *795 - comment: *796 - enterprise: *740 - installation: *741 - organization: *742 + changes: *797 + comment: *798 + enterprise: *742 + installation: *743 + organization: *744 pull_request: type: object properties: @@ -186823,7 +187323,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *743 + repository: *745 sender: *4 required: - action @@ -186904,9 +187404,9 @@ x-webhooks: type: string enum: - dismissed - enterprise: *740 - installation: *741 - organization: *742 + enterprise: *742 + installation: *743 + organization: *744 pull_request: title: Simple Pull Request type: object @@ -189101,7 +189601,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *743 + repository: *745 review: description: The review that was affected. type: object @@ -189348,9 +189848,9 @@ x-webhooks: type: string required: - from - enterprise: *740 - installation: *741 - organization: *742 + enterprise: *742 + installation: *743 + organization: *744 pull_request: title: Simple Pull Request type: object @@ -191404,8 +191904,8 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *743 - review: &797 + repository: *745 + review: &799 description: The review that was affected. type: object properties: @@ -191638,12 +192138,12 @@ x-webhooks: type: string enum: - review_request_removed - enterprise: *740 - installation: *741 + enterprise: *742 + installation: *743 number: description: The pull request number. type: integer - organization: *742 + organization: *744 pull_request: title: Pull Request type: object @@ -193948,7 +194448,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *743 + repository: *745 requested_reviewer: title: User type: object @@ -194032,12 +194532,12 @@ x-webhooks: type: string enum: - review_request_removed - enterprise: *740 - installation: *741 + enterprise: *742 + installation: *743 number: description: The pull request number. type: integer - organization: *742 + organization: *744 pull_request: title: Pull Request type: object @@ -196349,7 +196849,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *743 + repository: *745 requested_team: title: Team description: Groups of organization members that gives permissions @@ -196541,12 +197041,12 @@ x-webhooks: type: string enum: - review_requested - enterprise: *740 - installation: *741 + enterprise: *742 + installation: *743 number: description: The pull request number. type: integer - organization: *742 + organization: *744 pull_request: title: Pull Request type: object @@ -198853,7 +199353,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *743 + repository: *745 requested_reviewer: title: User type: object @@ -198938,12 +199438,12 @@ x-webhooks: type: string enum: - review_requested - enterprise: *740 - installation: *741 + enterprise: *742 + installation: *743 number: description: The pull request number. type: integer - organization: *742 + organization: *744 pull_request: title: Pull Request type: object @@ -201241,7 +201741,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *743 + repository: *745 requested_team: title: Team description: Groups of organization members that gives permissions @@ -201422,9 +201922,9 @@ x-webhooks: type: string enum: - submitted - enterprise: *740 - installation: *741 - organization: *742 + enterprise: *742 + installation: *743 + organization: *744 pull_request: title: Simple Pull Request type: object @@ -203621,8 +204121,8 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *743 - review: *797 + repository: *745 + review: *799 sender: *4 required: - action @@ -203702,9 +204202,9 @@ x-webhooks: type: string enum: - resolved - enterprise: *740 - installation: *741 - organization: *742 + enterprise: *742 + installation: *743 + organization: *744 pull_request: title: Simple Pull Request type: object @@ -205796,7 +206296,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *743 + repository: *745 sender: *4 thread: type: object @@ -206183,9 +206683,9 @@ x-webhooks: type: string enum: - unresolved - enterprise: *740 - installation: *741 - organization: *742 + enterprise: *742 + installation: *743 + organization: *744 pull_request: title: Simple Pull Request type: object @@ -208263,7 +208763,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *743 + repository: *745 sender: *4 thread: type: object @@ -208653,10 +209153,10 @@ x-webhooks: type: string before: type: string - enterprise: *740 - installation: *741 - number: *792 - organization: *742 + enterprise: *742 + installation: *743 + number: *794 + organization: *744 pull_request: title: Pull Request type: object @@ -210949,7 +211449,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *743 + repository: *745 sender: *4 required: - action @@ -211031,11 +211531,11 @@ x-webhooks: type: string enum: - unassigned - assignee: *798 - enterprise: *740 - installation: *741 - number: *792 - organization: *742 + assignee: *800 + enterprise: *742 + installation: *743 + number: *794 + organization: *744 pull_request: title: Pull Request type: object @@ -213340,7 +213840,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *743 + repository: *745 sender: *4 required: - action @@ -213419,11 +213919,11 @@ x-webhooks: type: string enum: - unlabeled - enterprise: *740 - installation: *741 - label: *761 - number: *792 - organization: *742 + enterprise: *742 + installation: *743 + label: *763 + number: *794 + organization: *744 pull_request: title: Pull Request type: object @@ -215718,7 +216218,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *743 + repository: *745 sender: *4 required: - action @@ -215799,10 +216299,10 @@ x-webhooks: type: string enum: - unlocked - enterprise: *740 - installation: *741 - number: *792 - organization: *742 + enterprise: *742 + installation: *743 + number: *794 + organization: *744 pull_request: title: Pull Request type: object @@ -218089,7 +218589,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *743 + repository: *745 sender: *4 required: - action @@ -218289,7 +218789,7 @@ x-webhooks: deleted: description: Whether this push deleted the `ref`. type: boolean - enterprise: *740 + enterprise: *742 forced: description: Whether this push was a force push of the `ref`. type: boolean @@ -218381,8 +218881,8 @@ x-webhooks: - url - author - committer - installation: *741 - organization: *742 + installation: *743 + organization: *744 pusher: title: Committer description: Metaproperties for Git author/committer information. @@ -218968,9 +219468,9 @@ x-webhooks: type: string enum: - published - enterprise: *740 - installation: *741 - organization: *742 + enterprise: *742 + installation: *743 + organization: *744 registry_package: type: object properties: @@ -219416,7 +219916,7 @@ x-webhooks: type: string rubygems_metadata: type: array - items: *779 + items: *781 summary: type: string tag_name: @@ -219470,7 +219970,7 @@ x-webhooks: - owner - package_version - registry - repository: *743 + repository: *745 sender: *4 required: - action @@ -219548,9 +220048,9 @@ x-webhooks: type: string enum: - updated - enterprise: *740 - installation: *741 - organization: *742 + enterprise: *742 + installation: *743 + organization: *744 registry_package: type: object properties: @@ -219858,7 +220358,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: *779 + items: *781 summary: type: string tag_name: @@ -219907,7 +220407,7 @@ x-webhooks: - owner - package_version - registry - repository: *743 + repository: *745 sender: *4 required: - action @@ -219984,10 +220484,10 @@ x-webhooks: type: string enum: - created - enterprise: *740 - installation: *741 - organization: *742 - release: &799 + enterprise: *742 + installation: *743 + organization: *744 + release: &801 title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) object. @@ -220305,7 +220805,7 @@ x-webhooks: - updated_at - zipball_url - body - repository: *743 + repository: *745 sender: *4 required: - action @@ -220382,11 +220882,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *740 - installation: *741 - organization: *742 - release: *799 - repository: *743 + enterprise: *742 + installation: *743 + organization: *744 + release: *801 + repository: *745 sender: *4 required: - action @@ -220503,11 +221003,11 @@ x-webhooks: type: boolean required: - to - enterprise: *740 - installation: *741 - organization: *742 - release: *799 - repository: *743 + enterprise: *742 + installation: *743 + organization: *744 + release: *801 + repository: *745 sender: *4 required: - action @@ -220585,9 +221085,9 @@ x-webhooks: type: string enum: - prereleased - enterprise: *740 - installation: *741 - organization: *742 + enterprise: *742 + installation: *743 + organization: *744 release: title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) @@ -220909,7 +221409,7 @@ x-webhooks: type: string nullable: true format: uri - repository: *743 + repository: *745 sender: *4 required: - action @@ -220985,10 +221485,10 @@ x-webhooks: type: string enum: - published - enterprise: *740 - installation: *741 - organization: *742 - release: &800 + enterprise: *742 + installation: *743 + organization: *744 + release: &802 title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) object. @@ -221307,7 +221807,7 @@ x-webhooks: type: string nullable: true format: uri - repository: *743 + repository: *745 sender: *4 required: - action @@ -221383,11 +221883,11 @@ x-webhooks: type: string enum: - released - enterprise: *740 - installation: *741 - organization: *742 - release: *799 - repository: *743 + enterprise: *742 + installation: *743 + organization: *744 + release: *801 + repository: *745 sender: *4 required: - action @@ -221463,11 +221963,11 @@ x-webhooks: type: string enum: - unpublished - enterprise: *740 - installation: *741 - organization: *742 - release: *800 - repository: *743 + enterprise: *742 + installation: *743 + organization: *744 + release: *802 + repository: *745 sender: *4 required: - action @@ -221543,11 +222043,11 @@ x-webhooks: type: string enum: - published - enterprise: *740 - installation: *741 - organization: *742 - repository: *743 - repository_advisory: *663 + enterprise: *742 + installation: *743 + organization: *744 + repository: *745 + repository_advisory: *665 sender: *4 required: - action @@ -221623,11 +222123,11 @@ x-webhooks: type: string enum: - reported - enterprise: *740 - installation: *741 - organization: *742 - repository: *743 - repository_advisory: *663 + enterprise: *742 + installation: *743 + organization: *744 + repository: *745 + repository_advisory: *665 sender: *4 required: - action @@ -221703,10 +222203,10 @@ x-webhooks: type: string enum: - archived - enterprise: *740 - installation: *741 - organization: *742 - repository: *743 + enterprise: *742 + installation: *743 + organization: *744 + repository: *745 sender: *4 required: - action @@ -221783,10 +222283,10 @@ x-webhooks: type: string enum: - created - enterprise: *740 - installation: *741 - organization: *742 - repository: *743 + enterprise: *742 + installation: *743 + organization: *744 + repository: *745 sender: *4 required: - action @@ -221864,10 +222364,10 @@ x-webhooks: type: string enum: - deleted - enterprise: *740 - installation: *741 - organization: *742 - repository: *743 + enterprise: *742 + installation: *743 + organization: *744 + repository: *745 sender: *4 required: - action @@ -221951,10 +222451,10 @@ x-webhooks: additionalProperties: true description: The `client_payload` that was specified in the `POST /repos/{owner}/{repo}/dispatches` request body. - enterprise: *740 - installation: *741 - organization: *742 - repository: *743 + enterprise: *742 + installation: *743 + organization: *744 + repository: *745 sender: *4 required: - action @@ -222066,10 +222566,10 @@ x-webhooks: nullable: true items: type: string - enterprise: *740 - installation: *741 - organization: *742 - repository: *743 + enterprise: *742 + installation: *743 + organization: *744 + repository: *745 sender: *4 required: - action @@ -222141,10 +222641,10 @@ x-webhooks: title: repository_import event type: object properties: - enterprise: *740 - installation: *741 - organization: *742 - repository: *743 + enterprise: *742 + installation: *743 + organization: *744 + repository: *745 sender: *4 status: type: string @@ -222225,10 +222725,10 @@ x-webhooks: type: string enum: - privatized - enterprise: *740 - installation: *741 - organization: *742 - repository: *743 + enterprise: *742 + installation: *743 + organization: *744 + repository: *745 sender: *4 required: - action @@ -222305,10 +222805,10 @@ x-webhooks: type: string enum: - publicized - enterprise: *740 - installation: *741 - organization: *742 - repository: *743 + enterprise: *742 + installation: *743 + organization: *744 + repository: *745 sender: *4 required: - action @@ -222402,10 +222902,10 @@ x-webhooks: - name required: - repository - enterprise: *740 - installation: *741 - organization: *742 - repository: *743 + enterprise: *742 + installation: *743 + organization: *744 + repository: *745 sender: *4 required: - action @@ -222485,11 +222985,11 @@ x-webhooks: type: string enum: - created - enterprise: *740 - installation: *741 - organization: *742 - repository: *743 - repository_ruleset: *324 + enterprise: *742 + installation: *743 + organization: *744 + repository: *745 + repository_ruleset: *326 sender: *4 required: - action @@ -222567,11 +223067,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *740 - installation: *741 - organization: *742 - repository: *743 - repository_ruleset: *324 + enterprise: *742 + installation: *743 + organization: *744 + repository: *745 + repository_ruleset: *326 sender: *4 required: - action @@ -222649,11 +223149,11 @@ x-webhooks: type: string enum: - edited - enterprise: *740 - installation: *741 - organization: *742 - repository: *743 - repository_ruleset: *324 + enterprise: *742 + installation: *743 + organization: *744 + repository: *745 + repository_ruleset: *326 changes: type: object properties: @@ -222672,16 +223172,16 @@ x-webhooks: properties: added: type: array - items: *298 + items: *300 deleted: type: array - items: *298 + items: *300 updated: type: array items: type: object properties: - condition: *298 + condition: *300 changes: type: object properties: @@ -222714,16 +223214,16 @@ x-webhooks: properties: added: type: array - items: *616 + items: *618 deleted: type: array - items: *616 + items: *618 updated: type: array items: type: object properties: - rule: *616 + rule: *618 changes: type: object properties: @@ -222957,10 +223457,10 @@ x-webhooks: - from required: - owner - enterprise: *740 - installation: *741 - organization: *742 - repository: *743 + enterprise: *742 + installation: *743 + organization: *744 + repository: *745 sender: *4 required: - action @@ -223038,10 +223538,10 @@ x-webhooks: type: string enum: - unarchived - enterprise: *740 - installation: *741 - organization: *742 - repository: *743 + enterprise: *742 + installation: *743 + organization: *744 + repository: *745 sender: *4 required: - action @@ -223119,7 +223619,7 @@ x-webhooks: type: string enum: - create - alert: &801 + alert: &803 title: Repository Vulnerability Alert Alert description: The security alert of the vulnerable dependency. type: object @@ -223241,10 +223741,10 @@ x-webhooks: enum: - auto_dismissed - open - enterprise: *740 - installation: *741 - organization: *742 - repository: *743 + enterprise: *742 + installation: *743 + organization: *744 + repository: *745 sender: *4 required: - action @@ -223450,10 +223950,10 @@ x-webhooks: type: string enum: - dismissed - enterprise: *740 - installation: *741 - organization: *742 - repository: *743 + enterprise: *742 + installation: *743 + organization: *744 + repository: *745 sender: *4 required: - action @@ -223531,11 +224031,11 @@ x-webhooks: type: string enum: - reopen - alert: *801 - enterprise: *740 - installation: *741 - organization: *742 - repository: *743 + alert: *803 + enterprise: *742 + installation: *743 + organization: *744 + repository: *745 sender: *4 required: - action @@ -223734,10 +224234,10 @@ x-webhooks: enum: - fixed - open - enterprise: *740 - installation: *741 - organization: *742 - repository: *743 + enterprise: *742 + installation: *743 + organization: *744 + repository: *745 sender: *4 required: - action @@ -223815,11 +224315,11 @@ x-webhooks: type: string enum: - assigned - alert: &802 + alert: &804 type: object properties: - number: *177 - created_at: *178 + number: *179 + created_at: *180 updated_at: type: string description: 'The time that the alert was last updated in ISO @@ -223827,8 +224327,8 @@ x-webhooks: format: date-time readOnly: true nullable: true - url: *180 - html_url: *181 + url: *182 + html_url: *183 locations_url: type: string format: uri @@ -223958,10 +224458,10 @@ x-webhooks: required: *21 nullable: true assignee: *4 - enterprise: *740 - installation: *741 - organization: *742 - repository: *743 + enterprise: *742 + installation: *743 + organization: *744 + repository: *745 sender: *4 required: - action @@ -224039,11 +224539,11 @@ x-webhooks: type: string enum: - created - alert: *802 - enterprise: *740 - installation: *741 - organization: *742 - repository: *743 + alert: *804 + enterprise: *742 + installation: *743 + organization: *744 + repository: *745 sender: *4 required: - action @@ -224124,11 +224624,11 @@ x-webhooks: type: string enum: - created - alert: *802 - installation: *741 - location: *803 - organization: *742 - repository: *743 + alert: *804 + installation: *743 + location: *805 + organization: *744 + repository: *745 sender: *4 required: - location @@ -224366,11 +224866,11 @@ x-webhooks: type: string enum: - publicly_leaked - alert: *802 - enterprise: *740 - installation: *741 - organization: *742 - repository: *743 + alert: *804 + enterprise: *742 + installation: *743 + organization: *744 + repository: *745 sender: *4 required: - action @@ -224448,11 +224948,11 @@ x-webhooks: type: string enum: - reopened - alert: *802 - enterprise: *740 - installation: *741 - organization: *742 - repository: *743 + alert: *804 + enterprise: *742 + installation: *743 + organization: *744 + repository: *745 sender: *4 required: - action @@ -224530,11 +225030,11 @@ x-webhooks: type: string enum: - resolved - alert: *802 - enterprise: *740 - installation: *741 - organization: *742 - repository: *743 + alert: *804 + enterprise: *742 + installation: *743 + organization: *744 + repository: *745 sender: *4 required: - action @@ -224612,12 +225112,12 @@ x-webhooks: type: string enum: - unassigned - alert: *802 + alert: *804 assignee: *4 - enterprise: *740 - installation: *741 - organization: *742 - repository: *743 + enterprise: *742 + installation: *743 + organization: *744 + repository: *745 sender: *4 required: - action @@ -224695,11 +225195,11 @@ x-webhooks: type: string enum: - validated - alert: *802 - enterprise: *740 - installation: *741 - organization: *742 - repository: *743 + alert: *804 + enterprise: *742 + installation: *743 + organization: *744 + repository: *745 sender: *4 required: - action @@ -224825,10 +225325,10 @@ x-webhooks: - organization - enterprise nullable: true - repository: *743 - enterprise: *740 - installation: *741 - organization: *742 + repository: *745 + enterprise: *742 + installation: *743 + organization: *744 sender: *4 required: - action @@ -224906,11 +225406,11 @@ x-webhooks: type: string enum: - published - enterprise: *740 - installation: *741 - organization: *742 - repository: *743 - security_advisory: &804 + enterprise: *742 + installation: *743 + organization: *744 + repository: *745 + security_advisory: &806 description: The details of the security advisory, including summary, description, and severity. type: object @@ -225093,11 +225593,11 @@ x-webhooks: type: string enum: - updated - enterprise: *740 - installation: *741 - organization: *742 - repository: *743 - security_advisory: *804 + enterprise: *742 + installation: *743 + organization: *744 + repository: *745 + security_advisory: *806 sender: *4 required: - action @@ -225170,10 +225670,10 @@ x-webhooks: type: string enum: - withdrawn - enterprise: *740 - installation: *741 - organization: *742 - repository: *743 + enterprise: *742 + installation: *743 + organization: *744 + repository: *745 security_advisory: description: The details of the security advisory, including summary, description, and severity. @@ -225357,11 +225857,11 @@ x-webhooks: from: type: object properties: - security_and_analysis: *297 - enterprise: *740 - installation: *741 - organization: *742 - repository: *345 + security_and_analysis: *299 + enterprise: *742 + installation: *743 + organization: *744 + repository: *347 sender: *4 required: - changes @@ -225439,12 +225939,12 @@ x-webhooks: type: string enum: - cancelled - enterprise: *740 - installation: *741 - organization: *742 - repository: *743 + enterprise: *742 + installation: *743 + organization: *744 + repository: *745 sender: *4 - sponsorship: &805 + sponsorship: &807 type: object properties: created_at: @@ -225745,12 +226245,12 @@ x-webhooks: type: string enum: - created - enterprise: *740 - installation: *741 - organization: *742 - repository: *743 + enterprise: *742 + installation: *743 + organization: *744 + repository: *745 sender: *4 - sponsorship: *805 + sponsorship: *807 required: - action - sponsorship @@ -225838,12 +226338,12 @@ x-webhooks: type: string required: - from - enterprise: *740 - installation: *741 - organization: *742 - repository: *743 + enterprise: *742 + installation: *743 + organization: *744 + repository: *745 sender: *4 - sponsorship: *805 + sponsorship: *807 required: - action - changes @@ -225920,17 +226420,17 @@ x-webhooks: type: string enum: - pending_cancellation - effective_date: &806 + effective_date: &808 description: The `pending_cancellation` and `pending_tier_change` event types will include the date the cancellation or tier change will take effect. type: string - enterprise: *740 - installation: *741 - organization: *742 - repository: *743 + enterprise: *742 + installation: *743 + organization: *744 + repository: *745 sender: *4 - sponsorship: *805 + sponsorship: *807 required: - action - sponsorship @@ -226004,7 +226504,7 @@ x-webhooks: type: string enum: - pending_tier_change - changes: &807 + changes: &809 type: object properties: tier: @@ -226048,13 +226548,13 @@ x-webhooks: - from required: - tier - effective_date: *806 - enterprise: *740 - installation: *741 - organization: *742 - repository: *743 + effective_date: *808 + enterprise: *742 + installation: *743 + organization: *744 + repository: *745 sender: *4 - sponsorship: *805 + sponsorship: *807 required: - action - changes @@ -226131,13 +226631,13 @@ x-webhooks: type: string enum: - tier_changed - changes: *807 - enterprise: *740 - installation: *741 - organization: *742 - repository: *743 + changes: *809 + enterprise: *742 + installation: *743 + organization: *744 + repository: *745 sender: *4 - sponsorship: *805 + sponsorship: *807 required: - action - changes @@ -226211,10 +226711,10 @@ x-webhooks: type: string enum: - created - enterprise: *740 - installation: *741 - organization: *742 - repository: *743 + enterprise: *742 + installation: *743 + organization: *744 + repository: *745 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -226297,10 +226797,10 @@ x-webhooks: type: string enum: - deleted - enterprise: *740 - installation: *741 - organization: *742 - repository: *743 + enterprise: *742 + installation: *743 + organization: *744 + repository: *745 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -226720,15 +227220,15 @@ x-webhooks: status. type: string nullable: true - enterprise: *740 + enterprise: *742 id: description: The unique identifier of the status. type: integer - installation: *741 + installation: *743 name: type: string - organization: *742 - repository: *743 + organization: *744 + repository: *745 sender: *4 sha: description: The Commit SHA. @@ -226837,15 +227337,15 @@ x-webhooks: parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *86 - parent_issue_repo: *80 + parent_issue: *88 + parent_issue_repo: *82 sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *86 - installation: *741 - organization: *742 - repository: *743 + sub_issue: *88 + installation: *743 + organization: *744 + repository: *745 sender: *4 required: - action @@ -226929,15 +227429,15 @@ x-webhooks: parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *86 - parent_issue_repo: *80 + parent_issue: *88 + parent_issue_repo: *82 sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *86 - installation: *741 - organization: *742 - repository: *743 + sub_issue: *88 + installation: *743 + organization: *744 + repository: *745 sender: *4 required: - action @@ -227021,15 +227521,15 @@ x-webhooks: sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *86 - sub_issue_repo: *80 + sub_issue: *88 + sub_issue_repo: *82 parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *86 - installation: *741 - organization: *742 - repository: *743 + parent_issue: *88 + installation: *743 + organization: *744 + repository: *745 sender: *4 required: - action @@ -227113,15 +227613,15 @@ x-webhooks: sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *86 - sub_issue_repo: *80 + sub_issue: *88 + sub_issue_repo: *82 parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *86 - installation: *741 - organization: *742 - repository: *743 + parent_issue: *88 + installation: *743 + organization: *744 + repository: *745 sender: *4 required: - action @@ -227198,12 +227698,12 @@ x-webhooks: title: team_add event type: object properties: - enterprise: *740 - installation: *741 - organization: *742 - repository: *743 + enterprise: *742 + installation: *743 + organization: *744 + repository: *745 sender: *4 - team: &808 + team: &810 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -227426,9 +227926,9 @@ x-webhooks: type: string enum: - added_to_repository - enterprise: *740 - installation: *741 - organization: *742 + enterprise: *742 + installation: *743 + organization: *744 repository: title: Repository description: A git repository @@ -227886,7 +228386,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *808 + team: *810 required: - action - team @@ -227962,9 +228462,9 @@ x-webhooks: type: string enum: - created - enterprise: *740 - installation: *741 - organization: *742 + enterprise: *742 + installation: *743 + organization: *744 repository: title: Repository description: A git repository @@ -228422,7 +228922,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *808 + team: *810 required: - action - team @@ -228499,9 +228999,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *740 - installation: *741 - organization: *742 + enterprise: *742 + installation: *743 + organization: *744 repository: title: Repository description: A git repository @@ -228959,7 +229459,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *808 + team: *810 required: - action - team @@ -229103,9 +229603,9 @@ x-webhooks: - from required: - permissions - enterprise: *740 - installation: *741 - organization: *742 + enterprise: *742 + installation: *743 + organization: *744 repository: title: Repository description: A git repository @@ -229563,7 +230063,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *808 + team: *810 required: - action - changes @@ -229641,9 +230141,9 @@ x-webhooks: type: string enum: - removed_from_repository - enterprise: *740 - installation: *741 - organization: *742 + enterprise: *742 + installation: *743 + organization: *744 repository: title: Repository description: A git repository @@ -230101,7 +230601,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *808 + team: *810 required: - action - team @@ -230177,10 +230677,10 @@ x-webhooks: type: string enum: - started - enterprise: *740 - installation: *741 - organization: *742 - repository: *743 + enterprise: *742 + installation: *743 + organization: *744 + repository: *745 sender: *4 required: - action @@ -230253,16 +230753,16 @@ x-webhooks: title: workflow_dispatch event type: object properties: - enterprise: *740 + enterprise: *742 inputs: type: object nullable: true additionalProperties: true - installation: *741 - organization: *742 + installation: *743 + organization: *744 ref: type: string - repository: *743 + repository: *745 sender: *4 workflow: type: string @@ -230344,10 +230844,10 @@ x-webhooks: type: string enum: - completed - enterprise: *740 - installation: *741 - organization: *742 - repository: *743 + enterprise: *742 + installation: *743 + organization: *744 + repository: *745 sender: *4 workflow_job: allOf: @@ -230584,7 +231084,7 @@ x-webhooks: type: string required: - conclusion - deployment: *506 + deployment: *508 required: - action - repository @@ -230663,10 +231163,10 @@ x-webhooks: type: string enum: - in_progress - enterprise: *740 - installation: *741 - organization: *742 - repository: *743 + enterprise: *742 + installation: *743 + organization: *744 + repository: *745 sender: *4 workflow_job: allOf: @@ -230926,7 +231426,7 @@ x-webhooks: required: - status - steps - deployment: *506 + deployment: *508 required: - action - repository @@ -231005,10 +231505,10 @@ x-webhooks: type: string enum: - queued - enterprise: *740 - installation: *741 - organization: *742 - repository: *743 + enterprise: *742 + installation: *743 + organization: *744 + repository: *745 sender: *4 workflow_job: type: object @@ -231143,7 +231643,7 @@ x-webhooks: - workflow_name - head_branch - created_at - deployment: *506 + deployment: *508 required: - action - repository @@ -231222,10 +231722,10 @@ x-webhooks: type: string enum: - waiting - enterprise: *740 - installation: *741 - organization: *742 - repository: *743 + enterprise: *742 + installation: *743 + organization: *744 + repository: *745 sender: *4 workflow_job: type: object @@ -231361,7 +231861,7 @@ x-webhooks: - workflow_name - head_branch - created_at - deployment: *506 + deployment: *508 required: - action - repository @@ -231441,12 +231941,12 @@ x-webhooks: type: string enum: - completed - enterprise: *740 - installation: *741 - organization: *742 - repository: *743 + enterprise: *742 + installation: *743 + organization: *744 + repository: *745 sender: *4 - workflow: *757 + workflow: *759 workflow_run: title: Workflow Run type: object @@ -232445,12 +232945,12 @@ x-webhooks: type: string enum: - in_progress - enterprise: *740 - installation: *741 - organization: *742 - repository: *743 + enterprise: *742 + installation: *743 + organization: *744 + repository: *745 sender: *4 - workflow: *757 + workflow: *759 workflow_run: title: Workflow Run type: object @@ -233434,12 +233934,12 @@ x-webhooks: type: string enum: - requested - enterprise: *740 - installation: *741 - organization: *742 - repository: *743 + enterprise: *742 + installation: *743 + organization: *744 + repository: *745 sender: *4 - workflow: *757 + workflow: *759 workflow_run: title: Workflow Run type: object diff --git a/descriptions/api.github.com/dereferenced/api.github.com.2026-03-10.deref.json b/descriptions/api.github.com/dereferenced/api.github.com.2026-03-10.deref.json index 0d05e5b8bd..fcad86355e 100644 --- a/descriptions/api.github.com/dereferenced/api.github.com.2026-03-10.deref.json +++ b/descriptions/api.github.com/dereferenced/api.github.com.2026-03-10.deref.json @@ -24849,6 +24849,905 @@ } } }, + "/enterprises/{enterprise}/dependabot/repository-access": { + "get": { + "summary": "Lists the repositories Dependabot can access in an enterprise", + "description": "Lists repositories that enterprise admins have allowed Dependabot to access when updating dependencies across organizations in the enterprise.\n\nThe authenticated user must be an enterprise owner to use this endpoint.", + "tags": [ + "dependabot" + ], + "operationId": "dependabot/repository-access-for-enterprise", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/dependabot/repository-access#lists-the-repositories-dependabot-can-access-in-an-enterprise" + }, + "parameters": [ + { + "name": "enterprise", + "description": "The slug version of the enterprise name.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "page", + "in": "query", + "description": "The page number of results to fetch.", + "required": false, + "schema": { + "type": "integer", + "minimum": 1, + "default": 1 + } + }, + { + "name": "per_page", + "in": "query", + "description": "Number of results per page.", + "required": false, + "schema": { + "type": "integer", + "minimum": 1, + "maximum": 100, + "default": 30 + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "title": "Dependabot Repository Access Details", + "description": "Information about repositories that Dependabot is able to access in an organization", + "type": "object", + "properties": { + "default_level": { + "type": "string", + "description": "The default repository access level for Dependabot updates.", + "enum": [ + "public", + "internal" + ], + "example": "internal", + "nullable": true + }, + "accessible_repositories": { + "type": "array", + "items": { + "title": "Simple Repository", + "description": "A GitHub repository.", + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "example": 1296269, + "description": "A unique identifier of the repository." + }, + "node_id": { + "type": "string", + "example": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5", + "description": "The GraphQL identifier of the repository." + }, + "name": { + "type": "string", + "example": "Hello-World", + "description": "The name of the repository." + }, + "full_name": { + "type": "string", + "example": "octocat/Hello-World", + "description": "The full, globally unique, name of the repository." + }, + "owner": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "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" + ] + }, + "private": { + "type": "boolean", + "description": "Whether the repository is private." + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat/Hello-World", + "description": "The URL to view the repository on GitHub.com." + }, + "description": { + "type": "string", + "example": "This your first repo!", + "nullable": true, + "description": "The repository description." + }, + "fork": { + "type": "boolean", + "description": "Whether the repository is a fork." + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octocat/Hello-World", + "description": "The URL to get more information about the repository from the GitHub API." + }, + "archive_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}", + "description": "A template for the API URL to download the repository as an archive." + }, + "assignees_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/assignees{/user}", + "description": "A template for the API URL to list the available assignees for issues in the repository." + }, + "blobs_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}", + "description": "A template for the API URL to create or retrieve a raw Git blob in the repository." + }, + "branches_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/branches{/branch}", + "description": "A template for the API URL to get information about branches in the repository." + }, + "collaborators_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}", + "description": "A template for the API URL to get information about collaborators of the repository." + }, + "comments_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/comments{/number}", + "description": "A template for the API URL to get information about comments on the repository." + }, + "commits_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/commits{/sha}", + "description": "A template for the API URL to get information about commits on the repository." + }, + "compare_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}", + "description": "A template for the API URL to compare two commits or refs." + }, + "contents_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/contents/{+path}", + "description": "A template for the API URL to get the contents of the repository." + }, + "contributors_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octocat/Hello-World/contributors", + "description": "A template for the API URL to list the contributors to the repository." + }, + "deployments_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octocat/Hello-World/deployments", + "description": "The API URL to list the deployments of the repository." + }, + "downloads_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octocat/Hello-World/downloads", + "description": "The API URL to list the downloads on the repository." + }, + "events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octocat/Hello-World/events", + "description": "The API URL to list the events of the repository." + }, + "forks_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octocat/Hello-World/forks", + "description": "The API URL to list the forks of the repository." + }, + "git_commits_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/git/commits{/sha}", + "description": "A template for the API URL to get information about Git commits of the repository." + }, + "git_refs_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/git/refs{/sha}", + "description": "A template for the API URL to get information about Git refs of the repository." + }, + "git_tags_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/git/tags{/sha}", + "description": "A template for the API URL to get information about Git tags of the repository." + }, + "issue_comment_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/issues/comments{/number}", + "description": "A template for the API URL to get information about issue comments on the repository." + }, + "issue_events_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/issues/events{/number}", + "description": "A template for the API URL to get information about issue events on the repository." + }, + "issues_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/issues{/number}", + "description": "A template for the API URL to get information about issues on the repository." + }, + "keys_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/keys{/key_id}", + "description": "A template for the API URL to get information about deploy keys on the repository." + }, + "labels_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/labels{/name}", + "description": "A template for the API URL to get information about labels of the repository." + }, + "languages_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octocat/Hello-World/languages", + "description": "The API URL to get information about the languages of the repository." + }, + "merges_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octocat/Hello-World/merges", + "description": "The API URL to merge branches in the repository." + }, + "milestones_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/milestones{/number}", + "description": "A template for the API URL to get information about milestones of the repository." + }, + "notifications_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}", + "description": "A template for the API URL to get information about notifications on the repository." + }, + "pulls_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/pulls{/number}", + "description": "A template for the API URL to get information about pull requests on the repository." + }, + "releases_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/releases{/id}", + "description": "A template for the API URL to get information about releases on the repository." + }, + "stargazers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octocat/Hello-World/stargazers", + "description": "The API URL to list the stargazers on the repository." + }, + "statuses_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/statuses/{sha}", + "description": "A template for the API URL to get information about statuses of a commit." + }, + "subscribers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octocat/Hello-World/subscribers", + "description": "The API URL to list the subscribers on the repository." + }, + "subscription_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octocat/Hello-World/subscription", + "description": "The API URL to subscribe to notifications for this repository." + }, + "tags_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octocat/Hello-World/tags", + "description": "The API URL to get information about tags on the repository." + }, + "teams_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octocat/Hello-World/teams", + "description": "The API URL to list the teams on the repository." + }, + "trees_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/git/trees{/sha}", + "description": "A template for the API URL to create or retrieve a raw Git tree of the repository." + }, + "hooks_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octocat/Hello-World/hooks", + "description": "The API URL to list the hooks on the 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" + ], + "nullable": true + } + } + }, + "additionalProperties": false + }, + "examples": { + "default": { + "value": { + "default_level": "public", + "accessible_repositories": [ + { + "id": 123456, + "node_id": "MDEwOlJlcG9zaXRvcnkxMjM0NTY=", + "name": "example-repo", + "full_name": "octocat/example-repo", + "owner": { + "name": "octocat", + "email": "octo@github.com", + "login": "octocat", + "id": 1, + "node_id": "MDQ6VXNlcjE=", + "avatar_url": "https://avatars.githubusercontent.com/u/1?v=4", + "gravatar_id": 1, + "url": "https://api.github.com/users/octocat", + "html_url": "https://github.com/octocat/example-repo", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "starred_url": "https://api.github.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, + "starred_at": "\"2020-07-09T00:17:55Z\"", + "user_view_type": "default" + }, + "private": false, + "html_url": "https://github.com/octocat/example-repo", + "description": "This is an example repository.", + "fork": false, + "url": "https://api.github.com/repos/octocat/example-repo", + "archive_url": "https://api.github.com/repos/octocat/example-repo/{archive_format}{/ref}", + "assignees_url": "https://api.github.com/repos/octocat/example-repo/assignees{/user}", + "blobs_url": "https://api.github.com/repos/octocat/example-repo/git/blobs{/sha}", + "branches_url": "https://api.github.com/repos/octocat/example-repo/branches{/branch}", + "collaborators_url": "https://api.github.com/repos/octocat/example-repo/collaborators{/collaborator}", + "comments_url": "https://api.github.com/repos/octocat/example-repo/comments{/number}", + "commits_url": "https://api.github.com/repos/octocat/example-repo/commits{/sha}", + "compare_url": "https://api.github.com/repos/octocat/example-repo/compare/{base}...{head}", + "contents_url": "https://api.github.com/repos/octocat/example-repo/contents/{+path}", + "contributors_url": "https://api.github.com/repos/octocat/example-repo/contributors", + "deployments_url": "https://api.github.com/repos/octocat/example-repo/deployments", + "downloads_url": "https://api.github.com/repos/octocat/example-repo/downloads", + "events_url": "https://api.github.com/repos/octocat/example-repo/events", + "forks_url": "https://api.github.com/repos/octocat/example-repo/forks", + "git_commits_url": "https://api.github.com/repos/octocat/example-repo/git/commits{/sha}", + "git_refs_url": "https://api.github.com/repos/octocat/example-repo/git/refs{/sha}", + "git_tags_url": "https://api.github.com/repos/octocat/example-repo/git/tags{/sha}", + "issue_comment_url": "https://api.github.com/repos/octocat/example-repo/issues/comments{/number}", + "issue_events_url": "https://api.github.com/repos/octocat/example-repo/issues/events{/number}", + "issues_url": "https://api.github.com/repos/octocat/example-repo/issues{/number}", + "keys_url": "https://api.github.com/repos/octocat/example-repo/keys{/key_id}", + "labels_url": "https://api.github.com/repos/octocat/example-repo/labels{/name}", + "languages_url": "https://api.github.com/repos/octocat/example-repo/languages", + "merges_url": "https://api.github.com/repos/octocat/example-repo/merges", + "milestones_url": "https://api.github.com/repos/octocat/example-repo/milestones{/number}", + "notifications_url": "https://api.github.com/repos/octocat/example-repo/notifications{?since,all,participating}", + "pulls_url": "https://api.github.com/repos/octocat/example-repo/pulls{/number}", + "releases_url": "https://api.github.com/repos/octocat/example-repo/releases{/id}", + "stargazers_url": "https://api.github.com/repos/octocat/example-repo/stargazers", + "statuses_url": "https://api.github.com/repos/octocat/example-repo/statuses/{sha}", + "subscribers_url": "https://api.github.com/repos/octocat/example-repo/subscribers", + "subscription_url": "https://api.github.com/repos/octocat/example-repo/subscription", + "tags_url": "https://api.github.com/repos/octocat/example-repo/tags", + "teams_url": "https://api.github.com/repos/octocat/example-repo/teams", + "trees_url": "https://api.github.com/repos/octocat/example-repo/git/trees{/sha}", + "hooks_url": "https://api.github.com/repos/octocat/example-repo/hooks" + } + ] + } + } + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "404": { + "description": "Resource not found", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": false, + "category": "dependabot", + "subcategory": "repository-access" + } + }, + "patch": { + "summary": "Updates Dependabot's repository access list for an enterprise", + "description": "Updates repositories according to the list of repositories that enterprise admins have given Dependabot access to when they've updated dependencies across organizations in the enterprise.\n\nThe authenticated user must be an enterprise owner to use this endpoint.\n\n**Example request body:**\n```json\n{\n \"repository_ids_to_add\": [123, 456],\n \"repository_ids_to_remove\": [789]\n}\n```", + "tags": [ + "dependabot" + ], + "operationId": "dependabot/update-repository-access-for-enterprise", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/dependabot/repository-access#updates-dependabots-repository-access-list-for-an-enterprise" + }, + "parameters": [ + { + "name": "enterprise", + "description": "The slug version of the enterprise name.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "repository_ids_to_add": { + "type": "array", + "items": { + "type": "integer" + }, + "description": "List of repository IDs to add." + }, + "repository_ids_to_remove": { + "type": "array", + "items": { + "type": "integer" + }, + "description": "List of repository IDs to remove." + } + }, + "example": { + "repository_ids_to_add": [ + 123, + 456 + ], + "repository_ids_to_remove": [ + 789 + ] + } + }, + "examples": { + "204": { + "summary": "Example with a 'succeeded' status." + }, + "add-example": { + "summary": "Add repositories", + "value": { + "repository_ids_to_add": [ + 123, + 456 + ] + } + }, + "remove-example": { + "summary": "Remove repositories", + "value": { + "repository_ids_to_remove": [ + 789 + ] + } + } + } + } + } + }, + "responses": { + "204": { + "description": "Response" + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "404": { + "description": "Resource not found", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": false, + "category": "dependabot", + "subcategory": "repository-access" + } + } + }, + "/enterprises/{enterprise}/dependabot/repository-access/default-level": { + "put": { + "summary": "Set the default repository access level for Dependabot in an enterprise", + "description": "Sets the default level of repository access Dependabot will have while performing an update across organizations in the enterprise. Available values are:\n- 'public' - Dependabot will only have access to public repositories, unless access is explicitly granted to non-public repositories.\n- 'internal' - Dependabot will only have access to public and internal repositories, unless access is explicitly granted to private repositories.\n\nThe authenticated user must be an enterprise owner to use this endpoint.", + "tags": [ + "dependabot" + ], + "operationId": "dependabot/set-repository-access-default-level-for-enterprise", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/dependabot/repository-access#set-the-default-repository-access-level-for-dependabot-in-an-enterprise" + }, + "parameters": [ + { + "name": "enterprise", + "description": "The slug version of the enterprise name.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "default_level": { + "type": "string", + "description": "The default repository access level for Dependabot updates.", + "enum": [ + "public", + "internal" + ], + "example": "internal" + } + }, + "required": [ + "default_level" + ] + }, + "examples": { + "204": { + "summary": "Example with a 'succeeded' status.", + "value": { + "default_level": "public" + } + } + } + } + } + }, + "responses": { + "204": { + "description": "Response" + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "404": { + "description": "Resource not found", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": false, + "category": "dependabot", + "subcategory": "repository-access" + } + } + }, "/enterprises/{enterprise}/teams": { "get": { "summary": "List enterprise teams", @@ -96778,6 +97677,9 @@ "schema": { "type": "object", "additionalProperties": false, + "required": [ + "selected_repository_ids" + ], "properties": { "selected_repository_ids": { "type": "array", @@ -922941,567 +923843,8117 @@ "subscriptions_url", "type", "url" - ], - "nullable": true + ], + "nullable": true + } + }, + "required": [ + "pinned_at", + "pinned_by" + ], + "nullable": true + } + }, + "required": [ + "id", + "node_id", + "html_url", + "issue_url", + "user", + "url", + "created_at", + "updated_at" + ], + "nullable": true + }, + "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_field_values": { + "type": "array", + "items": { + "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", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "IFT_GDKND" + }, + "data_type": { + "description": "The data type of the issue field", + "type": "string", + "enum": [ + "text", + "single_select", + "number", + "date" + ], + "example": "text" + }, + "value": { + "description": "The value of the issue field", + "anyOf": [ + { + "type": "string", + "example": "Sample text" + }, + { + "type": "number", + "example": 42.5 + }, + { + "type": "integer", + "example": 1 + } + ], + "nullable": true + }, + "single_select_option": { + "description": "Details about the selected option (only present for single_select fields)", + "type": "object", + "properties": { + "id": { + "description": "Unique identifier for the option.", + "type": "integer", + "format": "int64", + "example": 1 + }, + "name": { + "description": "The name of the option", + "type": "string", + "example": "High" + }, + "color": { + "description": "The color of the option", + "type": "string", + "example": "red" + } + }, + "required": [ + "id", + "name", + "color" + ], + "nullable": true + } + }, + "required": [ + "issue_field_id", + "node_id", + "data_type", + "value" + ] + } + }, + "state": { + "description": "State of the issue; either 'open' or 'closed'", + "type": "string", + "enum": [ + "open", + "closed" + ] + }, + "state_reason": { + "type": "string", + "nullable": true + }, + "timeline_url": { + "type": "string", + "format": "uri" + }, + "title": { + "description": "Title of the issue", + "type": "string" + }, + "type": { + "title": "Issue Type", + "description": "The type of issue.", + "type": "object", + "nullable": true, + "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", + "description": "The description of the issue type.", + "nullable": true + }, + "color": { + "type": "string", + "description": "The color of the issue type.", + "enum": [ + "gray", + "blue", + "green", + "yellow", + "orange", + "red", + "pink", + "purple" + ], + "nullable": true + }, + "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" + ] + }, + "updated_at": { + "type": "string", + "format": "date-time" + }, + "url": { + "description": "URL for the issue", + "type": "string", + "format": "uri" + }, + "user": { + "title": "User", + "type": "object", + "nullable": true, + "properties": { + "avatar_url": { + "type": "string", + "format": "uri" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "type": "string", + "nullable": true + }, + "events_url": { + "type": "string", + "format": "uri-template" + }, + "followers_url": { + "type": "string", + "format": "uri" + }, + "following_url": { + "type": "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", + "nullable": true + }, + "assignee": { + "type": "object", + "nullable": true + }, + "assignees": { + "type": "array", + "items": { + "type": "object", + "nullable": true + } + }, + "author_association": { + "type": "string" + }, + "body": { + "type": "string", + "nullable": true + }, + "closed_at": { + "type": "string", + "nullable": true + }, + "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", + "nullable": true + } + }, + "labels_url": { + "type": "string" + }, + "locked": { + "type": "boolean" + }, + "milestone": { + "type": "object", + "nullable": true + }, + "node_id": { + "type": "string" + }, + "number": { + "type": "integer" + }, + "performed_via_github_app": { + "type": "object", + "nullable": true + }, + "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": { + "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", + "example": "github" + }, + "id": { + "type": "integer", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDEyOk9yZ2FuaXphdGlvbjE=" + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/orgs/github" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/orgs/github/repos" + }, + "events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/orgs/github/events" + }, + "hooks_url": { + "type": "string", + "example": "https://api.github.com/orgs/github/hooks" + }, + "issues_url": { + "type": "string", + "example": "https://api.github.com/orgs/github/issues" + }, + "members_url": { + "type": "string", + "example": "https://api.github.com/orgs/github/members{/member}" + }, + "public_members_url": { + "type": "string", + "example": "https://api.github.com/orgs/github/public_members{/member}" + }, + "avatar_url": { + "type": "string", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "description": { + "type": "string", + "example": "A great organization", + "nullable": true + } + }, + "required": [ + "login", + "url", + "id", + "node_id", + "repos_url", + "events_url", + "hooks_url", + "issues_url", + "members_url", + "public_members_url", + "avatar_url", + "description" + ] + }, + "repository": { + "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", + "example": 42, + "type": "integer", + "format": "int64" + }, + "node_id": { + "type": "string", + "example": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" + }, + "name": { + "description": "The name of the repository.", + "type": "string", + "example": "Team Environment" + }, + "full_name": { + "type": "string", + "example": "octocat/Hello-World" + }, + "license": { + "title": "License Simple", + "description": "License Simple", + "type": "object", + "properties": { + "key": { + "type": "string", + "example": "mit" + }, + "name": { + "type": "string", + "example": "MIT License" + }, + "url": { + "type": "string", + "nullable": true, + "format": "uri", + "example": "https://api.github.com/licenses/mit" + }, + "spdx_id": { + "type": "string", + "nullable": true, + "example": "MIT" + }, + "node_id": { + "type": "string", + "example": "MDc6TGljZW5zZW1pdA==" + }, + "html_url": { + "type": "string", + "format": "uri" + } + }, + "required": [ + "key", + "name", + "url", + "spdx_id", + "node_id" + ], + "nullable": true + }, + "organization": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "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" + ], + "nullable": true + }, + "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": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "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" + ] + }, + "private": { + "description": "Whether the repository is private or public.", + "default": false, + "type": "boolean" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat/Hello-World" + }, + "description": { + "type": "string", + "example": "This your first repo!", + "nullable": true + }, + "fork": { + "type": "boolean" + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octocat/Hello-World" + }, + "archive_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}" + }, + "assignees_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/assignees{/user}" + }, + "blobs_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}" + }, + "branches_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/branches{/branch}" + }, + "collaborators_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}" + }, + "comments_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/comments{/number}" + }, + "commits_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/commits{/sha}" + }, + "compare_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}" + }, + "contents_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/contents/{+path}" + }, + "contributors_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/contributors" + }, + "deployments_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/deployments" + }, + "downloads_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/downloads" + }, + "events_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/events" + }, + "forks_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/forks" + }, + "git_commits_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}" + }, + "git_refs_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}" + }, + "git_tags_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}" + }, + "git_url": { + "type": "string", + "example": "git:github.com/octocat/Hello-World.git" + }, + "issue_comment_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}" + }, + "issue_events_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/issues/events{/number}" + }, + "issues_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/issues{/number}" + }, + "keys_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/keys{/key_id}" + }, + "labels_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/labels{/name}" + }, + "languages_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/languages" + }, + "merges_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/merges" + }, + "milestones_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/milestones{/number}" + }, + "notifications_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}" + }, + "pulls_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/pulls{/number}" + }, + "releases_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/releases{/id}" + }, + "ssh_url": { + "type": "string", + "example": "git@github.com:octocat/Hello-World.git" + }, + "stargazers_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/stargazers" + }, + "statuses_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/statuses/{sha}" + }, + "subscribers_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/subscribers" + }, + "subscription_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/subscription" + }, + "tags_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/tags" + }, + "teams_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/teams" + }, + "trees_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}" + }, + "clone_url": { + "type": "string", + "example": "https://github.com/octocat/Hello-World.git" + }, + "mirror_url": { + "type": "string", + "format": "uri", + "example": "git:git.example.com/octocat/Hello-World", + "nullable": true + }, + "hooks_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/hooks" + }, + "svn_url": { + "type": "string", + "format": "uri", + "example": "https://svn.github.com/octocat/Hello-World" + }, + "homepage": { + "type": "string", + "format": "uri", + "example": "https://github.com", + "nullable": true + }, + "language": { + "type": "string", + "nullable": true + }, + "forks_count": { + "type": "integer", + "example": 9 + }, + "stargazers_count": { + "type": "integer", + "example": 80 + }, + "watchers_count": { + "type": "integer", + "example": 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", + "example": 108 + }, + "default_branch": { + "description": "The default branch of the repository.", + "type": "string", + "example": "master" + }, + "open_issues_count": { + "type": "integer", + "example": 0 + }, + "is_template": { + "description": "Whether this repository acts as a template that can be used to generate new repositories.", + "default": false, + "type": "boolean", + "example": 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", + "example": true + }, + "has_projects": { + "description": "Whether projects are enabled.", + "default": true, + "type": "boolean", + "example": true + }, + "has_wiki": { + "description": "Whether the wiki is enabled.", + "default": true, + "type": "boolean", + "example": true + }, + "has_pages": { + "type": "boolean" + }, + "has_downloads": { + "description": "Whether downloads are enabled.", + "default": true, + "type": "boolean", + "example": true + }, + "has_discussions": { + "description": "Whether discussions are enabled.", + "default": false, + "type": "boolean", + "example": true + }, + "has_pull_requests": { + "description": "Whether pull requests are enabled.", + "default": true, + "type": "boolean", + "example": true + }, + "pull_request_creation_policy": { + "description": "The policy controlling who can create pull requests: all or collaborators_only.", + "type": "string", + "enum": [ + "all", + "collaborators_only" + ] + }, + "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", + "format": "date-time", + "example": "2011-01-26T19:06:43Z", + "nullable": true + }, + "created_at": { + "type": "string", + "format": "date-time", + "example": "2011-01-26T19:01:12Z", + "nullable": true + }, + "updated_at": { + "type": "string", + "format": "date-time", + "example": "2011-01-26T19:14:43Z", + "nullable": true + }, + "allow_rebase_merge": { + "description": "Whether to allow rebase merges for pull requests.", + "default": true, + "type": "boolean", + "example": true + }, + "template_repository": { + "nullable": true, + "type": "object", + "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" + }, + "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", + "example": true + }, + "allow_auto_merge": { + "description": "Whether to allow Auto-merge to be used on pull requests.", + "default": false, + "type": "boolean", + "example": false + }, + "delete_branch_on_merge": { + "description": "Whether to delete head branches when pull requests are merged", + "default": false, + "type": "boolean", + "example": 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", + "example": 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)." + }, + "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", + "example": 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" + }, + "starred_at": { + "type": "string", + "example": "\"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" + ] + }, + "sender": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "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" + ] + } + }, + "required": [ + "action", + "issue", + "repository", + "sender" + ] + } + } + } + }, + "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/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", + "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" + } + }, + { + "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": { + "title": "issues deleted event", + "type": "object", + "properties": { + "action": { + "type": "string", + "enum": [ + "deleted" + ] + }, + "enterprise": { + "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/admin/overview/about-enterprise-accounts).\"", + "type": "object", + "properties": { + "description": { + "description": "A short description of the enterprise.", + "type": "string", + "nullable": true + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/enterprises/octo-business" + }, + "website_url": { + "description": "The enterprise's website URL.", + "type": "string", + "nullable": true, + "format": "uri" + }, + "id": { + "description": "Unique identifier of the enterprise", + "example": 42, + "type": "integer" + }, + "node_id": { + "type": "string", + "example": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" + }, + "name": { + "description": "The name of the enterprise.", + "type": "string", + "example": "Octo Business" + }, + "slug": { + "description": "The slug url identifier for the enterprise.", + "type": "string", + "example": "octo-business" + }, + "created_at": { + "type": "string", + "nullable": true, + "format": "date-time", + "example": "2019-01-26T19:01:12Z" + }, + "updated_at": { + "type": "string", + "nullable": true, + "format": "date-time", + "example": "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" + ] + }, + "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/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", + "example": 1 + }, + "node_id": { + "description": "The global node ID of the installation.", + "type": "string", + "example": "MDQ6VXNlcjU4MzIzMQ==" + } + }, + "required": [ + "id", + "node_id" + ] + }, + "issue": { + "title": "Issue", + "description": "The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself.", + "type": "object", + "properties": { + "active_lock_reason": { + "type": "string", + "nullable": true, + "enum": [ + "resolved", + "off-topic", + "too heated", + "spam", + null + ] + }, + "assignee": { + "title": "User", + "type": "object", + "nullable": true, + "properties": { + "avatar_url": { + "type": "string", + "format": "uri" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "type": "string", + "nullable": true + }, + "events_url": { + "type": "string", + "format": "uri-template" + }, + "followers_url": { + "type": "string", + "format": "uri" + }, + "following_url": { + "type": "string", + "format": "uri-template" + }, + "gists_url": { + "type": "string", + "format": "uri-template" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "type": "string", + "format": "uri" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "type": "string", + "format": "uri" + }, + "received_events_url": { + "type": "string", + "format": "uri" + }, + "repos_url": { + "type": "string", + "format": "uri" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "type": "string", + "format": "uri-template" + }, + "subscriptions_url": { + "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", + "nullable": true, + "properties": { + "avatar_url": { + "type": "string", + "format": "uri" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "type": "string", + "nullable": true + }, + "events_url": { + "type": "string", + "format": "uri-template" + }, + "followers_url": { + "type": "string", + "format": "uri" + }, + "following_url": { + "type": "string", + "format": "uri-template" + }, + "gists_url": { + "type": "string", + "format": "uri-template" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "type": "string", + "format": "uri" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "type": "string", + "format": "uri" + }, + "received_events_url": { + "type": "string", + "format": "uri" + }, + "repos_url": { + "type": "string", + "format": "uri" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "type": "string", + "format": "uri-template" + }, + "subscriptions_url": { + "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", + "nullable": true + }, + "closed_at": { + "type": "string", + "nullable": true, + "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", + "nullable": true + }, + "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", + "nullable": true, + "properties": { + "closed_at": { + "type": "string", + "nullable": true, + "format": "date-time" + }, + "closed_issues": { + "type": "integer" + }, + "created_at": { + "type": "string", + "format": "date-time" + }, + "creator": { + "title": "User", + "type": "object", + "nullable": true, + "properties": { + "avatar_url": { + "type": "string", + "format": "uri" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "type": "string", + "nullable": true + }, + "events_url": { + "type": "string", + "format": "uri-template" + }, + "followers_url": { + "type": "string", + "format": "uri" + }, + "following_url": { + "type": "string", + "format": "uri-template" + }, + "gists_url": { + "type": "string", + "format": "uri-template" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "type": "string", + "format": "uri" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "type": "string", + "format": "uri" + }, + "received_events_url": { + "type": "string", + "format": "uri" + }, + "repos_url": { + "type": "string", + "format": "uri" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "type": "string", + "format": "uri-template" + }, + "subscriptions_url": { + "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", + "nullable": true + }, + "due_on": { + "type": "string", + "nullable": true, + "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", + "nullable": true, + "properties": { + "created_at": { + "type": "string", + "nullable": true, + "format": "date-time" + }, + "description": { + "type": "string", + "nullable": true + }, + "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", + "nullable": true, + "format": "uri" + }, + "html_url": { + "type": "string", + "format": "uri" + }, + "id": { + "description": "Unique identifier of the GitHub app", + "type": "integer", + "nullable": true + }, + "name": { + "description": "The name of the GitHub app", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "owner": { + "title": "User", + "type": "object", + "nullable": true, + "properties": { + "avatar_url": { + "type": "string", + "format": "uri" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "type": "string", + "nullable": true + }, + "events_url": { + "type": "string", + "format": "uri-template" + }, + "followers_url": { + "type": "string", + "format": "uri" + }, + "following_url": { + "type": "string", + "format": "uri-template" + }, + "gists_url": { + "type": "string", + "format": "uri-template" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "type": "string", + "format": "uri" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "type": "string", + "format": "uri" + }, + "received_events_url": { + "type": "string", + "format": "uri" + }, + "repos_url": { + "type": "string", + "format": "uri" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "type": "string", + "format": "uri-template" + }, + "subscriptions_url": { + "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" + ] + }, + "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", + "nullable": true, + "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", + "nullable": true, + "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" + }, + "pinned_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", + "example": 42, + "type": "integer", + "format": "int64" + }, + "node_id": { + "type": "string" + }, + "url": { + "description": "URL for the issue comment", + "example": "https://api.github.com/repositories/42/issues/comments/1", + "type": "string", + "format": "uri" + }, + "body": { + "description": "Contents of the issue comment", + "example": "What version of Safari were you using when you observed this bug?", + "type": "string" + }, + "body_text": { + "type": "string" + }, + "body_html": { + "type": "string" + }, + "html_url": { + "type": "string", + "format": "uri" + }, + "user": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "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" + ], + "nullable": true + }, + "created_at": { + "type": "string", + "format": "date-time", + "example": "2011-04-14T16:00:49Z" + }, + "updated_at": { + "type": "string", + "format": "date-time", + "example": "2011-04-14T16:00:49Z" + }, + "issue_url": { + "type": "string", + "format": "uri" + }, + "author_association": { + "title": "author_association", + "type": "string", + "example": "OWNER", + "description": "How the author is associated with the repository.", + "enum": [ + "COLLABORATOR", + "CONTRIBUTOR", + "FIRST_TIMER", + "FIRST_TIME_CONTRIBUTOR", + "MANNEQUIN", + "MEMBER", + "NONE", + "OWNER" + ] + }, + "performed_via_github_app": { + "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", + "nullable": true, + "properties": { + "id": { + "description": "Unique identifier of the GitHub app", + "example": 37, + "type": "integer" + }, + "slug": { + "description": "The slug name of the GitHub app", + "example": "probot-owners", + "type": "string" + }, + "node_id": { + "type": "string", + "example": "MDExOkludGVncmF0aW9uMQ==" + }, + "client_id": { + "type": "string", + "example": "\"Iv1.25b5d1e65ffc4022\"" + }, + "owner": { + "oneOf": [ + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "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" + ] + }, + { + "title": "Enterprise", + "description": "An enterprise on GitHub.", + "type": "object", + "properties": { + "description": { + "description": "A short description of the enterprise.", + "type": "string", + "nullable": true + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/enterprises/octo-business" + }, + "website_url": { + "description": "The enterprise's website URL.", + "type": "string", + "nullable": true, + "format": "uri" + }, + "id": { + "description": "Unique identifier of the enterprise", + "example": 42, + "type": "integer" + }, + "node_id": { + "type": "string", + "example": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" + }, + "name": { + "description": "The name of the enterprise.", + "type": "string", + "example": "Octo Business" + }, + "slug": { + "description": "The slug url identifier for the enterprise.", + "type": "string", + "example": "octo-business" + }, + "created_at": { + "type": "string", + "nullable": true, + "format": "date-time", + "example": "2019-01-26T19:01:12Z" + }, + "updated_at": { + "type": "string", + "nullable": true, + "format": "date-time", + "example": "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" + ] + } + ] + }, + "name": { + "description": "The name of the GitHub app", + "example": "Probot Owners", + "type": "string" + }, + "description": { + "type": "string", + "example": "The description of the app.", + "nullable": true + }, + "external_url": { + "type": "string", + "format": "uri", + "example": "https://example.com" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/apps/super-ci" + }, + "created_at": { + "type": "string", + "format": "date-time", + "example": "2017-07-08T16:18:44-04:00" + }, + "updated_at": { + "type": "string", + "format": "date-time", + "example": "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.", + "example": [ + "label", + "deployment" + ], + "type": "array", + "items": { + "type": "string" + } + }, + "installations_count": { + "description": "The number of installations associated with the GitHub app. Only returned when the integration is requesting details about itself.", + "example": 5, + "type": "integer" + } + }, + "required": [ + "id", + "node_id", + "owner", + "name", + "description", + "external_url", + "html_url", + "created_at", + "updated_at", + "permissions", + "events" + ] + }, + "reactions": { + "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" + ] + }, + "pin": { + "title": "Pinned Issue Comment", + "description": "Context around who pinned an issue comment and when it was pinned.", + "type": "object", + "properties": { + "pinned_at": { + "type": "string", + "format": "date-time", + "example": "2011-04-14T16:00:49Z" + }, + "pinned_by": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "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" + ], + "nullable": true + } + }, + "required": [ + "pinned_at", + "pinned_by" + ], + "nullable": true + } + }, + "required": [ + "id", + "node_id", + "html_url", + "issue_url", + "user", + "url", + "created_at", + "updated_at" + ], + "nullable": true + }, + "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_field_values": { + "type": "array", + "items": { + "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", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "IFT_GDKND" + }, + "data_type": { + "description": "The data type of the issue field", + "type": "string", + "enum": [ + "text", + "single_select", + "number", + "date" + ], + "example": "text" + }, + "value": { + "description": "The value of the issue field", + "anyOf": [ + { + "type": "string", + "example": "Sample text" + }, + { + "type": "number", + "example": 42.5 + }, + { + "type": "integer", + "example": 1 + } + ], + "nullable": true + }, + "single_select_option": { + "description": "Details about the selected option (only present for single_select fields)", + "type": "object", + "properties": { + "id": { + "description": "Unique identifier for the option.", + "type": "integer", + "format": "int64", + "example": 1 + }, + "name": { + "description": "The name of the option", + "type": "string", + "example": "High" + }, + "color": { + "description": "The color of the option", + "type": "string", + "example": "red" + } + }, + "required": [ + "id", + "name", + "color" + ], + "nullable": true + } + }, + "required": [ + "issue_field_id", + "node_id", + "data_type", + "value" + ] + } + }, + "state": { + "description": "State of the issue; either 'open' or 'closed'", + "type": "string", + "enum": [ + "open", + "closed" + ] + }, + "state_reason": { + "type": "string", + "nullable": true + }, + "timeline_url": { + "type": "string", + "format": "uri" + }, + "title": { + "description": "Title of the issue", + "type": "string" + }, + "type": { + "title": "Issue Type", + "description": "The type of issue.", + "type": "object", + "nullable": true, + "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", + "description": "The description of the issue type.", + "nullable": true + }, + "color": { + "type": "string", + "description": "The color of the issue type.", + "enum": [ + "gray", + "blue", + "green", + "yellow", + "orange", + "red", + "pink", + "purple" + ], + "nullable": true + }, + "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" + ] + }, + "updated_at": { + "type": "string", + "format": "date-time" + }, + "url": { + "description": "URL for the issue", + "type": "string", + "format": "uri" + }, + "user": { + "title": "User", + "type": "object", + "nullable": true, + "properties": { + "avatar_url": { + "type": "string", + "format": "uri" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "type": "string", + "nullable": true + }, + "events_url": { + "type": "string", + "format": "uri-template" + }, + "followers_url": { + "type": "string", + "format": "uri" + }, + "following_url": { + "type": "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": { + "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", + "example": "github" + }, + "id": { + "type": "integer", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDEyOk9yZ2FuaXphdGlvbjE=" + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/orgs/github" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/orgs/github/repos" + }, + "events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/orgs/github/events" + }, + "hooks_url": { + "type": "string", + "example": "https://api.github.com/orgs/github/hooks" + }, + "issues_url": { + "type": "string", + "example": "https://api.github.com/orgs/github/issues" + }, + "members_url": { + "type": "string", + "example": "https://api.github.com/orgs/github/members{/member}" + }, + "public_members_url": { + "type": "string", + "example": "https://api.github.com/orgs/github/public_members{/member}" + }, + "avatar_url": { + "type": "string", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "description": { + "type": "string", + "example": "A great organization", + "nullable": true + } + }, + "required": [ + "login", + "url", + "id", + "node_id", + "repos_url", + "events_url", + "hooks_url", + "issues_url", + "members_url", + "public_members_url", + "avatar_url", + "description" + ] + }, + "repository": { + "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", + "example": 42, + "type": "integer", + "format": "int64" + }, + "node_id": { + "type": "string", + "example": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" + }, + "name": { + "description": "The name of the repository.", + "type": "string", + "example": "Team Environment" + }, + "full_name": { + "type": "string", + "example": "octocat/Hello-World" + }, + "license": { + "title": "License Simple", + "description": "License Simple", + "type": "object", + "properties": { + "key": { + "type": "string", + "example": "mit" + }, + "name": { + "type": "string", + "example": "MIT License" + }, + "url": { + "type": "string", + "nullable": true, + "format": "uri", + "example": "https://api.github.com/licenses/mit" + }, + "spdx_id": { + "type": "string", + "nullable": true, + "example": "MIT" + }, + "node_id": { + "type": "string", + "example": "MDc6TGljZW5zZW1pdA==" + }, + "html_url": { + "type": "string", + "format": "uri" + } + }, + "required": [ + "key", + "name", + "url", + "spdx_id", + "node_id" + ], + "nullable": true + }, + "organization": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "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" + ], + "nullable": true + }, + "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": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "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" + ] + }, + "private": { + "description": "Whether the repository is private or public.", + "default": false, + "type": "boolean" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat/Hello-World" + }, + "description": { + "type": "string", + "example": "This your first repo!", + "nullable": true + }, + "fork": { + "type": "boolean" + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octocat/Hello-World" + }, + "archive_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}" + }, + "assignees_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/assignees{/user}" + }, + "blobs_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}" + }, + "branches_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/branches{/branch}" + }, + "collaborators_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}" + }, + "comments_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/comments{/number}" + }, + "commits_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/commits{/sha}" + }, + "compare_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}" + }, + "contents_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/contents/{+path}" + }, + "contributors_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/contributors" + }, + "deployments_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/deployments" + }, + "downloads_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/downloads" + }, + "events_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/events" + }, + "forks_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/forks" + }, + "git_commits_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}" + }, + "git_refs_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}" + }, + "git_tags_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}" + }, + "git_url": { + "type": "string", + "example": "git:github.com/octocat/Hello-World.git" + }, + "issue_comment_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}" + }, + "issue_events_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/issues/events{/number}" + }, + "issues_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/issues{/number}" + }, + "keys_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/keys{/key_id}" + }, + "labels_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/labels{/name}" + }, + "languages_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/languages" + }, + "merges_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/merges" + }, + "milestones_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/milestones{/number}" + }, + "notifications_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}" + }, + "pulls_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/pulls{/number}" + }, + "releases_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/releases{/id}" + }, + "ssh_url": { + "type": "string", + "example": "git@github.com:octocat/Hello-World.git" + }, + "stargazers_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/stargazers" + }, + "statuses_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/statuses/{sha}" + }, + "subscribers_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/subscribers" + }, + "subscription_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/subscription" + }, + "tags_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/tags" + }, + "teams_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/teams" + }, + "trees_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}" + }, + "clone_url": { + "type": "string", + "example": "https://github.com/octocat/Hello-World.git" + }, + "mirror_url": { + "type": "string", + "format": "uri", + "example": "git:git.example.com/octocat/Hello-World", + "nullable": true + }, + "hooks_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/hooks" + }, + "svn_url": { + "type": "string", + "format": "uri", + "example": "https://svn.github.com/octocat/Hello-World" + }, + "homepage": { + "type": "string", + "format": "uri", + "example": "https://github.com", + "nullable": true + }, + "language": { + "type": "string", + "nullable": true + }, + "forks_count": { + "type": "integer", + "example": 9 + }, + "stargazers_count": { + "type": "integer", + "example": 80 + }, + "watchers_count": { + "type": "integer", + "example": 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", + "example": 108 + }, + "default_branch": { + "description": "The default branch of the repository.", + "type": "string", + "example": "master" + }, + "open_issues_count": { + "type": "integer", + "example": 0 + }, + "is_template": { + "description": "Whether this repository acts as a template that can be used to generate new repositories.", + "default": false, + "type": "boolean", + "example": 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", + "example": true + }, + "has_projects": { + "description": "Whether projects are enabled.", + "default": true, + "type": "boolean", + "example": true + }, + "has_wiki": { + "description": "Whether the wiki is enabled.", + "default": true, + "type": "boolean", + "example": true + }, + "has_pages": { + "type": "boolean" + }, + "has_downloads": { + "description": "Whether downloads are enabled.", + "default": true, + "type": "boolean", + "example": true + }, + "has_discussions": { + "description": "Whether discussions are enabled.", + "default": false, + "type": "boolean", + "example": true + }, + "has_pull_requests": { + "description": "Whether pull requests are enabled.", + "default": true, + "type": "boolean", + "example": true + }, + "pull_request_creation_policy": { + "description": "The policy controlling who can create pull requests: all or collaborators_only.", + "type": "string", + "enum": [ + "all", + "collaborators_only" + ] + }, + "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", + "format": "date-time", + "example": "2011-01-26T19:06:43Z", + "nullable": true + }, + "created_at": { + "type": "string", + "format": "date-time", + "example": "2011-01-26T19:01:12Z", + "nullable": true + }, + "updated_at": { + "type": "string", + "format": "date-time", + "example": "2011-01-26T19:14:43Z", + "nullable": true + }, + "allow_rebase_merge": { + "description": "Whether to allow rebase merges for pull requests.", + "default": true, + "type": "boolean", + "example": true + }, + "template_repository": { + "nullable": true, + "type": "object", + "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" + }, + "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", + "example": true + }, + "allow_auto_merge": { + "description": "Whether to allow Auto-merge to be used on pull requests.", + "default": false, + "type": "boolean", + "example": false + }, + "delete_branch_on_merge": { + "description": "Whether to delete head branches when pull requests are merged", + "default": false, + "type": "boolean", + "example": 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", + "example": 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)." + }, + "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", + "example": 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" + }, + "starred_at": { + "type": "string", + "example": "\"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" + ] + }, + "sender": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "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" + ] + } + }, + "required": [ + "action", + "issue", + "repository", + "sender" + ] + } + } + } + }, + "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/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", + "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" + } + }, + { + "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": { + "title": "issues demilestoned event", + "type": "object", + "properties": { + "action": { + "type": "string", + "enum": [ + "demilestoned" + ] + }, + "enterprise": { + "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/admin/overview/about-enterprise-accounts).\"", + "type": "object", + "properties": { + "description": { + "description": "A short description of the enterprise.", + "type": "string", + "nullable": true + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/enterprises/octo-business" + }, + "website_url": { + "description": "The enterprise's website URL.", + "type": "string", + "nullable": true, + "format": "uri" + }, + "id": { + "description": "Unique identifier of the enterprise", + "example": 42, + "type": "integer" + }, + "node_id": { + "type": "string", + "example": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" + }, + "name": { + "description": "The name of the enterprise.", + "type": "string", + "example": "Octo Business" + }, + "slug": { + "description": "The slug url identifier for the enterprise.", + "type": "string", + "example": "octo-business" + }, + "created_at": { + "type": "string", + "nullable": true, + "format": "date-time", + "example": "2019-01-26T19:01:12Z" + }, + "updated_at": { + "type": "string", + "nullable": true, + "format": "date-time", + "example": "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" + ] + }, + "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/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", + "example": 1 + }, + "node_id": { + "description": "The global node ID of the installation.", + "type": "string", + "example": "MDQ6VXNlcjU4MzIzMQ==" + } + }, + "required": [ + "id", + "node_id" + ] + }, + "issue": { + "title": "Issue", + "description": "The [issue](https://docs.github.com/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", + "nullable": true, + "enum": [ + "resolved", + "off-topic", + "too heated", + "spam", + null + ] + }, + "assignee": { + "title": "User", + "type": "object", + "nullable": true, + "required": [ + "login", + "id" + ], + "properties": { + "avatar_url": { + "type": "string", + "format": "uri" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "type": "string", + "nullable": true + }, + "events_url": { + "type": "string", + "format": "uri-template" + }, + "followers_url": { + "type": "string", + "format": "uri" + }, + "following_url": { + "type": "string", + "format": "uri-template" + }, + "gists_url": { + "type": "string", + "format": "uri-template" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "type": "string", + "format": "uri" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "type": "string", + "format": "uri" + }, + "received_events_url": { + "type": "string", + "format": "uri" + }, + "repos_url": { + "type": "string", + "format": "uri" + }, + "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", + "nullable": true, + "required": [ + "login", + "id" + ], + "properties": { + "avatar_url": { + "type": "string", + "format": "uri" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "type": "string", + "nullable": true + }, + "events_url": { + "type": "string", + "format": "uri-template" + }, + "followers_url": { + "type": "string", + "format": "uri" + }, + "following_url": { + "type": "string", + "format": "uri-template" + }, + "gists_url": { + "type": "string", + "format": "uri-template" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "type": "string", + "format": "uri" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "type": "string", + "format": "uri" + }, + "received_events_url": { + "type": "string", + "format": "uri" + }, + "repos_url": { + "type": "string", + "format": "uri" + }, + "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", + "nullable": true + }, + "closed_at": { + "type": "string", + "nullable": true, + "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", + "required": [ + "id", + "node_id", + "url", + "name", + "color", + "default", + "description" + ], + "nullable": true, + "properties": { + "color": { + "description": "6-character hex code, without the leading #, identifying the color", + "type": "string" + }, + "default": { + "type": "boolean" + }, + "description": { + "type": "string", + "nullable": true + }, + "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", + "nullable": true, + "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", + "nullable": true, + "format": "date-time" + }, + "closed_issues": { + "type": "integer" + }, + "created_at": { + "type": "string", + "format": "date-time" + }, + "creator": { + "title": "User", + "type": "object", + "nullable": true, + "required": [ + "login", + "id" + ], + "properties": { + "avatar_url": { + "type": "string", + "format": "uri" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "type": "string", + "nullable": true + }, + "events_url": { + "type": "string", + "format": "uri-template" + }, + "followers_url": { + "type": "string", + "format": "uri" + }, + "following_url": { + "type": "string", + "format": "uri-template" + }, + "gists_url": { + "type": "string", + "format": "uri-template" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "type": "string", + "format": "uri" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "type": "string", + "format": "uri" + }, + "received_events_url": { + "type": "string", + "format": "uri" + }, + "repos_url": { + "type": "string", + "format": "uri" + }, + "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", + "nullable": true + }, + "due_on": { + "type": "string", + "nullable": true, + "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", + "nullable": true, + "required": [ + "id", + "node_id", + "owner", + "name", + "description", + "external_url", + "html_url", + "created_at", + "updated_at" + ], + "properties": { + "created_at": { + "type": "string", + "nullable": true, + "format": "date-time" + }, + "description": { + "type": "string", + "nullable": true + }, + "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", + "nullable": true, + "format": "uri" + }, + "html_url": { + "type": "string", + "format": "uri" + }, + "id": { + "description": "Unique identifier of the GitHub app", + "type": "integer", + "nullable": true + }, + "name": { + "description": "The name of the GitHub app", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "owner": { + "title": "User", + "type": "object", + "nullable": true, + "required": [ + "login", + "id" + ], + "properties": { + "avatar_url": { + "type": "string", + "format": "uri" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "type": "string", + "nullable": true + }, + "events_url": { + "type": "string", + "format": "uri-template" + }, + "followers_url": { + "type": "string", + "format": "uri" + }, + "following_url": { + "type": "string", + "format": "uri-template" + }, + "gists_url": { + "type": "string", + "format": "uri-template" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "type": "string", + "format": "uri" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "type": "string", + "format": "uri" + }, + "received_events_url": { + "type": "string", + "format": "uri" + }, + "repos_url": { + "type": "string", + "format": "uri" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "type": "string", + "format": "uri-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" + ] + }, + "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", + "nullable": true, + "format": "date-time" + } + } + }, + "pull_request": { + "type": "object", + "properties": { + "diff_url": { + "type": "string", + "format": "uri" + }, + "html_url": { + "type": "string", + "format": "uri" + }, + "merged_at": { + "type": "string", + "nullable": true, + "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" + }, + "pinned_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", + "example": 42, + "type": "integer", + "format": "int64" + }, + "node_id": { + "type": "string" + }, + "url": { + "description": "URL for the issue comment", + "example": "https://api.github.com/repositories/42/issues/comments/1", + "type": "string", + "format": "uri" + }, + "body": { + "description": "Contents of the issue comment", + "example": "What version of Safari were you using when you observed this bug?", + "type": "string" + }, + "body_text": { + "type": "string" + }, + "body_html": { + "type": "string" + }, + "html_url": { + "type": "string", + "format": "uri" + }, + "user": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "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" + ], + "nullable": true + }, + "created_at": { + "type": "string", + "format": "date-time", + "example": "2011-04-14T16:00:49Z" + }, + "updated_at": { + "type": "string", + "format": "date-time", + "example": "2011-04-14T16:00:49Z" + }, + "issue_url": { + "type": "string", + "format": "uri" + }, + "author_association": { + "title": "author_association", + "type": "string", + "example": "OWNER", + "description": "How the author is associated with the repository.", + "enum": [ + "COLLABORATOR", + "CONTRIBUTOR", + "FIRST_TIMER", + "FIRST_TIME_CONTRIBUTOR", + "MANNEQUIN", + "MEMBER", + "NONE", + "OWNER" + ] + }, + "performed_via_github_app": { + "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", + "nullable": true, + "properties": { + "id": { + "description": "Unique identifier of the GitHub app", + "example": 37, + "type": "integer" + }, + "slug": { + "description": "The slug name of the GitHub app", + "example": "probot-owners", + "type": "string" + }, + "node_id": { + "type": "string", + "example": "MDExOkludGVncmF0aW9uMQ==" + }, + "client_id": { + "type": "string", + "example": "\"Iv1.25b5d1e65ffc4022\"" + }, + "owner": { + "oneOf": [ + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "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" + ] + }, + { + "title": "Enterprise", + "description": "An enterprise on GitHub.", + "type": "object", + "properties": { + "description": { + "description": "A short description of the enterprise.", + "type": "string", + "nullable": true + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/enterprises/octo-business" + }, + "website_url": { + "description": "The enterprise's website URL.", + "type": "string", + "nullable": true, + "format": "uri" + }, + "id": { + "description": "Unique identifier of the enterprise", + "example": 42, + "type": "integer" + }, + "node_id": { + "type": "string", + "example": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" + }, + "name": { + "description": "The name of the enterprise.", + "type": "string", + "example": "Octo Business" + }, + "slug": { + "description": "The slug url identifier for the enterprise.", + "type": "string", + "example": "octo-business" + }, + "created_at": { + "type": "string", + "nullable": true, + "format": "date-time", + "example": "2019-01-26T19:01:12Z" + }, + "updated_at": { + "type": "string", + "nullable": true, + "format": "date-time", + "example": "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" + ] + } + ] + }, + "name": { + "description": "The name of the GitHub app", + "example": "Probot Owners", + "type": "string" + }, + "description": { + "type": "string", + "example": "The description of the app.", + "nullable": true + }, + "external_url": { + "type": "string", + "format": "uri", + "example": "https://example.com" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/apps/super-ci" + }, + "created_at": { + "type": "string", + "format": "date-time", + "example": "2017-07-08T16:18:44-04:00" + }, + "updated_at": { + "type": "string", + "format": "date-time", + "example": "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" } }, - "required": [ - "pinned_at", - "pinned_by" + "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.", + "example": [ + "label", + "deployment" ], - "nullable": true + "type": "array", + "items": { + "type": "string" + } + }, + "installations_count": { + "description": "The number of installations associated with the GitHub app. Only returned when the integration is requesting details about itself.", + "example": 5, + "type": "integer" } }, "required": [ "id", "node_id", + "owner", + "name", + "description", + "external_url", "html_url", - "issue_url", - "user", - "url", "created_at", - "updated_at" - ], - "nullable": true + "updated_at", + "permissions", + "events" + ] }, - "sub_issues_summary": { - "title": "Sub-issues Summary", + "reactions": { + "title": "Reaction Rollup", "type": "object", "properties": { - "total": { + "url": { + "type": "string", + "format": "uri" + }, + "total_count": { "type": "integer" }, - "completed": { + "+1": { "type": "integer" }, - "percent_completed": { + "-1": { "type": "integer" - } - }, - "required": [ - "total", - "completed", - "percent_completed" - ] - }, - "issue_dependencies_summary": { - "title": "Issue Dependencies Summary", - "type": "object", - "properties": { - "blocked_by": { + }, + "laugh": { "type": "integer" }, - "blocking": { + "confused": { "type": "integer" }, - "total_blocked_by": { + "heart": { "type": "integer" }, - "total_blocking": { + "hooray": { + "type": "integer" + }, + "eyes": { + "type": "integer" + }, + "rocket": { "type": "integer" } }, "required": [ - "blocked_by", - "blocking", - "total_blocked_by", - "total_blocking" + "url", + "total_count", + "+1", + "-1", + "laugh", + "confused", + "heart", + "hooray", + "eyes", + "rocket" ] }, - "issue_field_values": { - "type": "array", - "items": { - "title": "Issue Field Value", - "description": "A value assigned to an issue field", + "pin": { + "title": "Pinned Issue Comment", + "description": "Context around who pinned an issue comment and when it was pinned.", + "type": "object", + "properties": { + "pinned_at": { + "type": "string", + "format": "date-time", + "example": "2011-04-14T16:00:49Z" + }, + "pinned_by": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "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" + ], + "nullable": true + } + }, + "required": [ + "pinned_at", + "pinned_by" + ], + "nullable": true + } + }, + "required": [ + "id", + "node_id", + "html_url", + "issue_url", + "user", + "url", + "created_at", + "updated_at" + ], + "nullable": true + }, + "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_field_values": { + "type": "array", + "items": { + "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", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "IFT_GDKND" + }, + "data_type": { + "description": "The data type of the issue field", + "type": "string", + "enum": [ + "text", + "single_select", + "number", + "date" + ], + "example": "text" + }, + "value": { + "description": "The value of the issue field", + "anyOf": [ + { + "type": "string", + "example": "Sample text" + }, + { + "type": "number", + "example": 42.5 + }, + { + "type": "integer", + "example": 1 + } + ], + "nullable": true + }, + "single_select_option": { + "description": "Details about the selected option (only present for single_select fields)", "type": "object", "properties": { - "issue_field_id": { - "description": "Unique identifier for the issue field.", + "id": { + "description": "Unique identifier for the option.", "type": "integer", "format": "int64", "example": 1 }, - "node_id": { + "name": { + "description": "The name of the option", "type": "string", - "example": "IFT_GDKND" + "example": "High" }, - "data_type": { - "description": "The data type of the issue field", + "color": { + "description": "The color of the option", "type": "string", - "enum": [ - "text", - "single_select", - "number", - "date" - ], - "example": "text" - }, - "value": { - "description": "The value of the issue field", - "anyOf": [ - { - "type": "string", - "example": "Sample text" - }, - { - "type": "number", - "example": 42.5 - }, - { - "type": "integer", - "example": 1 - } - ], - "nullable": true - }, - "single_select_option": { - "description": "Details about the selected option (only present for single_select fields)", - "type": "object", - "properties": { - "id": { - "description": "Unique identifier for the option.", - "type": "integer", - "format": "int64", - "example": 1 - }, - "name": { - "description": "The name of the option", - "type": "string", - "example": "High" - }, - "color": { - "description": "The color of the option", - "type": "string", - "example": "red" - } - }, - "required": [ - "id", - "name", - "color" - ], - "nullable": true + "example": "red" } }, "required": [ - "issue_field_id", - "node_id", - "data_type", - "value" - ] + "id", + "name", + "color" + ], + "nullable": true } }, - "state": { - "description": "State of the issue; either 'open' or 'closed'", - "type": "string", - "enum": [ - "open", - "closed" - ] + "required": [ + "issue_field_id", + "node_id", + "data_type", + "value" + ] + } + }, + "state": { + "description": "State of the issue; either 'open' or 'closed'", + "type": "string", + "enum": [ + "open", + "closed" + ] + }, + "state_reason": { + "type": "string", + "nullable": true + }, + "timeline_url": { + "type": "string", + "format": "uri" + }, + "title": { + "description": "Title of the issue", + "type": "string" + }, + "type": { + "title": "Issue Type", + "description": "The type of issue.", + "type": "object", + "nullable": true, + "properties": { + "id": { + "type": "integer", + "description": "The unique identifier of the issue type." }, - "state_reason": { + "node_id": { "type": "string", - "nullable": true + "description": "The node identifier of the issue type." }, - "timeline_url": { + "name": { "type": "string", - "format": "uri" + "description": "The name of the issue type." }, - "title": { - "description": "Title of the issue", - "type": "string" + "description": { + "type": "string", + "description": "The description of the issue type.", + "nullable": true }, - "type": { - "title": "Issue Type", - "description": "The type of issue.", - "type": "object", - "nullable": true, - "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", - "description": "The description of the issue type.", - "nullable": true - }, - "color": { - "type": "string", - "description": "The color of the issue type.", - "enum": [ - "gray", - "blue", - "green", - "yellow", - "orange", - "red", - "pink", - "purple" - ], - "nullable": true - }, - "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" - ] + "color": { + "type": "string", + "description": "The color of the issue type.", + "enum": [ + "gray", + "blue", + "green", + "yellow", + "orange", + "red", + "pink", + "purple" + ], + "nullable": true }, - "updated_at": { + "created_at": { "type": "string", + "description": "The time the issue type created.", "format": "date-time" }, - "url": { - "description": "URL for the issue", + "updated_at": { "type": "string", - "format": "uri" + "description": "The time the issue type last updated.", + "format": "date-time" }, - "user": { - "title": "User", - "type": "object", - "nullable": true, - "properties": { - "avatar_url": { - "type": "string", - "format": "uri" - }, - "deleted": { - "type": "boolean" - }, - "email": { - "type": "string", - "nullable": true - }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { - "type": "string", - "format": "uri" - }, - "following_url": { - "type": "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" - ] + "is_enabled": { + "type": "boolean", + "description": "The enabled state of the issue type." } }, "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" + "name", + "description" ] }, - { + "updated_at": { + "type": "string", + "format": "date-time" + }, + "url": { + "description": "URL for the issue", + "type": "string", + "format": "uri" + }, + "user": { + "title": "User", "type": "object", + "nullable": true, + "required": [ + "login", + "id" + ], "properties": { - "active_lock_reason": { + "avatar_url": { "type": "string", - "nullable": true + "format": "uri" }, - "assignee": { - "type": "object", - "nullable": true + "deleted": { + "type": "boolean" }, - "assignees": { - "type": "array", - "items": { - "type": "object", - "nullable": true - } + "email": { + "type": "string", + "nullable": true }, - "author_association": { - "type": "string" + "events_url": { + "type": "string", + "format": "uri-template" }, - "body": { + "followers_url": { "type": "string", - "nullable": true + "format": "uri" }, - "closed_at": { + "following_url": { "type": "string", - "nullable": true + "format": "uri-template" }, - "comments": { - "type": "integer" + "gists_url": { + "type": "string", + "format": "uri-template" }, - "comments_url": { + "gravatar_id": { "type": "string" }, - "created_at": { + "html_url": { + "type": "string", + "format": "uri" + }, + "id": { + "type": "integer", + "format": "int64" + }, + "login": { "type": "string" }, - "events_url": { + "name": { "type": "string" }, - "html_url": { + "node_id": { "type": "string" }, - "id": { - "type": "integer" + "organizations_url": { + "type": "string", + "format": "uri" }, - "labels": { - "type": "array", - "items": { - "type": "object", - "nullable": true - } + "received_events_url": { + "type": "string", + "format": "uri" }, - "labels_url": { - "type": "string" + "repos_url": { + "type": "string", + "format": "uri" }, - "locked": { + "site_admin": { "type": "boolean" }, - "milestone": { - "type": "object", - "nullable": true + "starred_url": { + "type": "string", + "format": "uri-template" }, - "node_id": { + "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": { + "title": "Milestone", + "description": "A collection of related issues and pull requests.", + "type": "object", + "properties": { + "closed_at": { + "type": "string", + "nullable": true, + "format": "date-time" + }, + "closed_issues": { + "type": "integer" + }, + "created_at": { + "type": "string", + "format": "date-time" + }, + "creator": { + "title": "User", + "type": "object", + "nullable": true, + "properties": { + "avatar_url": { + "type": "string", + "format": "uri" }, - "number": { - "type": "integer" + "deleted": { + "type": "boolean" }, - "performed_via_github_app": { - "type": "object", + "email": { + "type": "string", "nullable": true }, - "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" - } - } + "events_url": { + "type": "string", + "format": "uri-template" }, - "repository_url": { + "followers_url": { + "type": "string", + "format": "uri" + }, + "following_url": { + "type": "string", + "format": "uri-template" + }, + "gists_url": { + "type": "string", + "format": "uri-template" + }, + "gravatar_id": { "type": "string" }, - "state": { + "html_url": { "type": "string", - "enum": [ - "closed", - "open" - ] + "format": "uri" }, - "timeline_url": { + "id": { + "type": "integer" + }, + "login": { "type": "string" }, - "title": { + "name": { "type": "string" }, - "updated_at": { + "node_id": { "type": "string" }, + "organizations_url": { + "type": "string", + "format": "uri" + }, + "received_events_url": { + "type": "string", + "format": "uri" + }, + "repos_url": { + "type": "string", + "format": "uri" + }, + "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" + "type": "string", + "format": "uri" }, - "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" - } - } + "user_view_type": { + "type": "string" } }, "required": [ - "state", - "closed_at" + "login", + "id" + ] + }, + "description": { + "type": "string", + "nullable": true + }, + "due_on": { + "type": "string", + "nullable": true, + "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" ] }, "organization": { @@ -924948,11 +933400,11 @@ } } }, - "issues-deleted": { + "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 deleted.", - "operationId": "issues/deleted", + "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" }, @@ -925019,15 +933471,45 @@ "content": { "application/json": { "schema": { - "title": "issues deleted event", + "title": "issues edited event", "type": "object", "properties": { "action": { "type": "string", "enum": [ - "deleted" + "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": { "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/admin/overview/about-enterprise-accounts).\"", @@ -925212,7 +933694,8 @@ "enum": [ "Bot", "User", - "Organization" + "Organization", + "Mannequin" ] }, "url": { @@ -925309,15 +933792,13 @@ "enum": [ "Bot", "User", - "Organization" + "Organization", + "Mannequin" ] }, "url": { "type": "string", "format": "uri" - }, - "user_view_type": { - "type": "string" } }, "required": [ @@ -925525,7 +934006,8 @@ "enum": [ "Bot", "User", - "Organization" + "Organization", + "Mannequin" ] }, "url": { @@ -925683,6 +934165,8 @@ "watch", "workflow_dispatch", "workflow_run", + "security_and_analysis", + "pull_request_review_thread", "reminder" ] } @@ -925930,7 +934414,8 @@ "type": "string", "enum": [ "read", - "write" + "write", + "admin" ] }, "organization_secrets": { @@ -926994,10 +935479,6 @@ "type": "string", "format": "uri" }, - "title": { - "description": "Title of the issue", - "type": "string" - }, "type": { "title": "Issue Type", "description": "The type of issue.", @@ -927058,6 +935539,10 @@ "description" ] }, + "title": { + "description": "Title of the issue", + "type": "string" + }, "updated_at": { "type": "string", "format": "date-time" @@ -927147,7 +935632,8 @@ "enum": [ "Bot", "User", - "Organization" + "Organization", + "Mannequin" ] }, "url": { @@ -927188,6 +935674,47 @@ "reactions" ] }, + "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", + "nullable": true + }, + "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" + ] + }, "organization": { "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.", @@ -928607,6 +937134,7 @@ }, "required": [ "action", + "changes", "issue", "repository", "sender" @@ -928632,11 +937160,11 @@ } } }, - "issues-demilestoned": { + "issues-field-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 removed from a milestone.", - "operationId": "issues/demilestoned", + "description": "An issue field value was set or updated on an issue.", + "operationId": "issues/field-added", "externalDocs": { "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#issues" }, @@ -928703,13 +937231,13 @@ "content": { "application/json": { "schema": { - "title": "issues demilestoned event", + "title": "issues field_added event", "type": "object", "properties": { "action": { "type": "string", "enum": [ - "demilestoned" + "field_added" ] }, "enterprise": { @@ -928805,29 +937333,6 @@ "title": "Issue", "description": "The [issue](https://docs.github.com/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", @@ -928844,10 +937349,6 @@ "title": "User", "type": "object", "nullable": true, - "required": [ - "login", - "id" - ], "properties": { "avatar_url": { "type": "string", @@ -928930,8 +937431,15 @@ "url": { "type": "string", "format": "uri" + }, + "user_view_type": { + "type": "string" } - } + }, + "required": [ + "login", + "id" + ] }, "assignees": { "type": "array", @@ -928939,10 +937447,6 @@ "title": "User", "type": "object", "nullable": true, - "required": [ - "login", - "id" - ], "properties": { "avatar_url": { "type": "string", @@ -929025,8 +937529,15 @@ "url": { "type": "string", "format": "uri" + }, + "user_view_type": { + "type": "string" } - } + }, + "required": [ + "login", + "id" + ] } }, "author_association": { @@ -929085,16 +937596,6 @@ "items": { "title": "Label", "type": "object", - "required": [ - "id", - "node_id", - "url", - "name", - "color", - "default", - "description" - ], - "nullable": true, "properties": { "color": { "description": "6-character hex code, without the leading #, identifying the color", @@ -929122,7 +937623,16 @@ "type": "string", "format": "uri" } - } + }, + "required": [ + "id", + "node_id", + "url", + "name", + "color", + "default", + "description" + ] } }, "labels_url": { @@ -929137,24 +937647,6 @@ "description": "A collection of related issues and pull requests.", "type": "object", "nullable": true, - "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", @@ -929172,10 +937664,6 @@ "title": "User", "type": "object", "nullable": true, - "required": [ - "login", - "id" - ], "properties": { "avatar_url": { "type": "string", @@ -929262,7 +937750,11 @@ "user_view_type": { "type": "string" } - } + }, + "required": [ + "login", + "id" + ] }, "description": { "type": "string", @@ -929314,7 +937806,25 @@ "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" @@ -929327,17 +937837,6 @@ "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", "nullable": true, - "required": [ - "id", - "node_id", - "owner", - "name", - "description", - "external_url", - "html_url", - "created_at", - "updated_at" - ], "properties": { "created_at": { "type": "string", @@ -929398,7 +937897,9 @@ "team_add", "watch", "workflow_dispatch", - "workflow_run" + "workflow_run", + "reminder", + "pull_request_review_thread" ] } }, @@ -929427,10 +937928,6 @@ "title": "User", "type": "object", "nullable": true, - "required": [ - "login", - "id" - ], "properties": { "avatar_url": { "type": "string", @@ -929516,7 +938013,11 @@ "user_view_type": { "type": "string" } - } + }, + "required": [ + "login", + "id" + ] }, "permissions": { "description": "The set of permissions for the GitHub app", @@ -929772,7 +938273,18 @@ "nullable": true, "format": "date-time" } - } + }, + "required": [ + "id", + "node_id", + "owner", + "name", + "description", + "external_url", + "html_url", + "created_at", + "updated_at" + ] }, "pull_request": { "type": "object", @@ -929803,18 +938315,6 @@ "reactions": { "title": "Reactions", "type": "object", - "required": [ - "url", - "total_count", - "+1", - "-1", - "laugh", - "confused", - "heart", - "hooray", - "eyes", - "rocket" - ], "properties": { "+1": { "type": "integer" @@ -929847,7 +938347,19 @@ "type": "string", "format": "uri" } - } + }, + "required": [ + "url", + "total_count", + "+1", + "-1", + "laugh", + "confused", + "heart", + "hooray", + "eyes", + "rocket" + ] }, "repository_url": { "type": "string", @@ -930776,10 +939288,6 @@ "title": "User", "type": "object", "nullable": true, - "required": [ - "login", - "id" - ], "properties": { "avatar_url": { "type": "string", @@ -930867,193 +939375,183 @@ "user_view_type": { "type": "string" } - } - } - } - }, - "milestone": { - "title": "Milestone", - "description": "A collection of related issues and pull requests.", - "type": "object", - "properties": { - "closed_at": { - "type": "string", - "nullable": true, - "format": "date-time" - }, - "closed_issues": { - "type": "integer" - }, - "created_at": { - "type": "string", - "format": "date-time" - }, - "creator": { - "title": "User", - "type": "object", - "nullable": true, - "properties": { - "avatar_url": { - "type": "string", - "format": "uri" - }, - "deleted": { - "type": "boolean" - }, - "email": { - "type": "string", - "nullable": true - }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { - "type": "string", - "format": "uri" - }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { - "type": "string" - }, - "html_url": { - "type": "string", - "format": "uri" - }, - "id": { - "type": "integer" - }, - "login": { - "type": "string" - }, - "name": { - "type": "string" - }, - "node_id": { - "type": "string" - }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { - "type": "string", - "format": "uri" - }, - "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", - "nullable": true - }, - "due_on": { - "type": "string", - "nullable": true, - "format": "date-time" - }, - "html_url": { - "type": "string", - "format": "uri" - }, + } + }, + "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" + ] + }, + "issue_field": { + "type": "object", + "description": "The issue field whose value was set or updated on the issue.", + "properties": { "id": { - "type": "integer" + "type": "integer", + "description": "The unique identifier of the issue field." }, - "labels_url": { + "name": { "type": "string", - "format": "uri" - }, - "node_id": { - "type": "string" - }, - "number": { - "description": "The number of the milestone.", - "type": "integer" - }, - "open_issues": { - "type": "integer" + "description": "The name of the issue field." }, - "state": { - "description": "The state of the milestone.", + "field_type": { "type": "string", + "description": "The data type of the issue field.", "enum": [ - "open", - "closed" + "text", + "date", + "single_select", + "number" ] + } + }, + "required": [ + "id", + "name", + "field_type" + ] + }, + "issue_field_value": { + "type": "object", + "description": "The value that was set or updated for the issue field. When updating an existing value, the previous value is available in `changes`.", + "properties": { + "id": { + "type": "integer", + "description": "The unique identifier of the issue field value." }, - "title": { - "description": "The title of the milestone.", - "type": "string" + "value": { + "description": "The value of the field. Present for text, date, and number field types.", + "nullable": true, + "anyOf": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "integer" + } + ] }, - "updated_at": { - "type": "string", - "format": "date-time" + "value_id": { + "type": "integer", + "description": "The identifier of the selected option. Present for single_select field types." }, - "url": { - "type": "string", - "format": "uri" + "option": { + "type": "object", + "description": "The selected option details. Present for single_select field types.", + "properties": { + "id": { + "type": "integer" + }, + "name": { + "type": "string" + }, + "color": { + "type": "string" + }, + "description": { + "type": "string", + "nullable": true + } + } } }, "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" + "id" ] }, + "changes": { + "type": "object", + "description": "The previous field value, present when an existing value was updated.", + "properties": { + "issue_field_value": { + "type": "object", + "description": "The previous issue field value data.", + "properties": { + "from": { + "type": "object", + "description": "The previous value of the issue field before the update.", + "properties": { + "id": { + "type": "integer", + "description": "The unique identifier of the issue field value." + }, + "value": { + "description": "The previous value. Present for text, date, and number field types.", + "nullable": true, + "anyOf": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "integer" + } + ] + }, + "value_id": { + "type": "integer", + "description": "The identifier of the previously selected option. Present for single_select field types." + }, + "option": { + "type": "object", + "description": "The previously selected option details. Present for single_select field types.", + "properties": { + "id": { + "type": "integer" + }, + "name": { + "type": "string" + }, + "color": { + "type": "string" + }, + "description": { + "type": "string", + "nullable": true + } + } + } + }, + "required": [ + "id" + ] + } + }, + "required": [ + "from" + ] + } + } + }, "organization": { "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.", @@ -932474,6 +940972,7 @@ "required": [ "action", "issue", + "issue_field", "repository", "sender" ] @@ -932498,11 +940997,11 @@ } } }, - "issues-edited": { + "issues-field-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": "The title or body on an issue was edited.", - "operationId": "issues/edited", + "description": "An issue field value was cleared from an issue.", + "operationId": "issues/field-removed", "externalDocs": { "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#issues" }, @@ -932569,45 +941068,15 @@ "content": { "application/json": { "schema": { - "title": "issues edited event", + "title": "issues field_removed event", "type": "object", "properties": { "action": { "type": "string", "enum": [ - "edited" + "field_removed" ] }, - "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": { "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/admin/overview/about-enterprise-accounts).\"", @@ -932897,6 +941366,9 @@ "url": { "type": "string", "format": "uri" + }, + "user_view_type": { + "type": "string" } }, "required": [ @@ -933263,9 +941735,8 @@ "watch", "workflow_dispatch", "workflow_run", - "security_and_analysis", - "pull_request_review_thread", - "reminder" + "reminder", + "pull_request_review_thread" ] } }, @@ -934577,6 +943048,10 @@ "type": "string", "format": "uri" }, + "title": { + "description": "Title of the issue", + "type": "string" + }, "type": { "title": "Issue Type", "description": "The type of issue.", @@ -934637,10 +943112,6 @@ "description" ] }, - "title": { - "description": "Title of the issue", - "type": "string" - }, "updated_at": { "type": "string", "format": "date-time" @@ -934772,45 +943243,84 @@ "reactions" ] }, - "label": { - "title": "Label", + "issue_field": { "type": "object", + "description": "The issue field whose value was cleared from the issue.", "properties": { - "color": { - "description": "6-character hex code, without the leading #, identifying the color", - "type": "string" - }, - "default": { - "type": "boolean" - }, - "description": { - "type": "string", - "nullable": true - }, "id": { - "type": "integer" + "type": "integer", + "description": "The unique identifier of the issue field." }, "name": { - "description": "The name of the label.", - "type": "string" - }, - "node_id": { - "type": "string" + "type": "string", + "description": "The name of the issue field." }, - "url": { - "description": "URL for the label", + "field_type": { "type": "string", - "format": "uri" + "description": "The data type of the issue field.", + "enum": [ + "text", + "date", + "single_select", + "number" + ] } }, "required": [ "id", - "node_id", - "url", "name", - "color", - "default", - "description" + "field_type" + ] + }, + "issue_field_value": { + "type": "object", + "description": "The value that was cleared from the issue field.", + "properties": { + "id": { + "type": "integer", + "description": "The unique identifier of the issue field value." + }, + "value": { + "description": "The value of the field. Present for text, date, and number field types.", + "nullable": true, + "anyOf": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "integer" + } + ] + }, + "value_id": { + "type": "integer", + "description": "The identifier of the selected option. Present for single_select field types." + }, + "option": { + "type": "object", + "description": "The selected option details. Present for single_select field types.", + "properties": { + "id": { + "type": "integer" + }, + "name": { + "type": "string" + }, + "color": { + "type": "string" + }, + "description": { + "type": "string", + "nullable": true + } + } + } + }, + "required": [ + "id" ] }, "organization": { @@ -936232,8 +944742,8 @@ }, "required": [ "action", - "changes", "issue", + "issue_field", "repository", "sender" ] diff --git a/descriptions/api.github.com/dereferenced/api.github.com.2026-03-10.deref.yaml b/descriptions/api.github.com/dereferenced/api.github.com.2026-03-10.deref.yaml index adeb1df704..fa53ae86c3 100644 --- a/descriptions/api.github.com/dereferenced/api.github.com.2026-03-10.deref.yaml +++ b/descriptions/api.github.com/dereferenced/api.github.com.2026-03-10.deref.yaml @@ -829,7 +829,7 @@ paths: - subscriptions_url - type - url - type: &330 + type: &332 type: string description: The type of credit the user is receiving. enum: @@ -961,7 +961,7 @@ paths: description: Validation failed, or the endpoint has been spammed. content: application/json: - schema: &129 + schema: &131 title: Validation Error Simple description: Validation Error Simple type: object @@ -994,7 +994,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/global-advisories#get-a-global-security-advisory parameters: - - &665 + - &667 name: ghsa_id description: The GHSA (GitHub Security Advisory) identifier of the advisory. in: path @@ -1109,7 +1109,7 @@ paths: GitHub. type: object nullable: true - properties: &81 + properties: &83 id: description: Unique identifier of the GitHub app example: 37 @@ -1242,7 +1242,7 @@ paths: about itself. example: 5 type: integer - required: &82 + required: &84 - id - node_id - owner @@ -1547,7 +1547,7 @@ paths: schema: type: integer default: 30 - - &216 + - &218 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 @@ -1556,7 +1556,7 @@ paths: required: false schema: type: string - - &217 + - &219 name: status description: Returns webhook deliveries filtered by delivery outcome classification based on `status_code` range. A `status` of `success` returns deliveries @@ -1576,7 +1576,7 @@ paths: application/json: schema: type: array - items: &218 + items: &220 title: Simple webhook delivery description: Delivery made by a webhook, without request and response information. @@ -1656,7 +1656,7 @@ paths: - installation_id - repository_id examples: - default: &219 + default: &221 value: - id: 12345678 guid: 0b989ba4-242f-11e5-81e1-c7b6966d2516 @@ -1715,7 +1715,7 @@ paths: description: Validation failed, or the endpoint has been spammed. content: application/json: - schema: &128 + schema: &130 title: Validation Error description: Validation Error type: object @@ -1784,7 +1784,7 @@ paths: description: Response content: application/json: - schema: &220 + schema: &222 title: Webhook delivery description: Delivery made by a webhook. type: object @@ -1898,7 +1898,7 @@ paths: - request - response examples: - default: &221 + default: &223 value: id: 12345678 guid: 0b989ba4-242f-11e5-81e1-c7b6966d2516 @@ -2099,7 +2099,7 @@ paths: parameters: - *17 - *19 - - &93 + - &95 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) @@ -2682,7 +2682,7 @@ paths: suspended_at: suspended_by: headers: - Link: &68 + Link: &70 example: ; rel="next", ; rel="last" schema: @@ -2871,11 +2871,11 @@ paths: - selected repositories: type: array - items: &80 + items: &82 title: Repository description: A repository on GitHub. type: object - properties: &295 + properties: &297 id: description: Unique identifier of the repository example: 42 @@ -2895,7 +2895,7 @@ paths: title: License Simple description: License Simple type: object - properties: &89 + properties: &91 key: type: string example: mit @@ -2917,7 +2917,7 @@ paths: html_url: type: string format: uri - required: &90 + required: &92 - key - name - url @@ -3311,7 +3311,7 @@ paths: type: boolean lexical_commit_sha: type: string - required: &296 + required: &298 - archive_url - assignees_url - blobs_url @@ -7251,7 +7251,7 @@ paths: required: true content: application/json: - schema: &141 + schema: &143 title: Actions OIDC Custom Property Inclusion Input description: Input for creating an OIDC custom property inclusion type: object @@ -7951,7 +7951,7 @@ paths: description: Response content: application/json: - schema: &188 + schema: &190 type: array description: A list of default code security configurations items: @@ -7967,7 +7967,7 @@ paths: default configuration: *49 examples: - default: &189 + default: &191 value: - default_for_new_repos: public configuration: @@ -8429,7 +8429,7 @@ paths: default: value: default_for_new_repos: all - configuration: &187 + configuration: &189 value: id: 1325 target_type: organization @@ -8519,7 +8519,7 @@ paths: application/json: schema: type: array - items: &190 + items: &192 type: object description: Repositories associated with a code security configuration and attachment status @@ -8541,7 +8541,7 @@ paths: title: Simple Repository description: A GitHub repository. type: object - properties: &208 + properties: &68 id: type: integer format: int64 @@ -8768,7 +8768,7 @@ paths: format: uri example: https://api.github.com/repos/octocat/Hello-World/hooks description: The API URL to list the hooks on the repository. - required: &209 + required: &69 - archive_url - assignees_url - blobs_url @@ -8820,7 +8820,7 @@ paths: summary: Example of code security configuration repositories value: - status: attached - repository: &191 + repository: &193 value: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -9325,7 +9325,7 @@ paths: url: https://docs.github.com/rest/dependabot/alerts#list-dependabot-alerts-for-an-enterprise parameters: - *40 - - &197 + - &199 name: classification in: query description: |- @@ -9334,7 +9334,7 @@ paths: Can be: `malware`, `general` schema: type: string - - &198 + - &200 name: state in: query description: |- @@ -9343,7 +9343,7 @@ paths: Can be: `auto_dismissed`, `dismissed`, `fixed`, `open` schema: type: string - - &199 + - &201 name: severity in: query description: |- @@ -9352,7 +9352,7 @@ paths: Can be: `low`, `medium`, `high`, `critical` schema: type: string - - &200 + - &202 name: ecosystem in: query description: |- @@ -9361,14 +9361,14 @@ paths: Can be: `composer`, `go`, `maven`, `npm`, `nuget`, `pip`, `pub`, `rubygems`, `rust` schema: type: string - - &201 + - &203 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 - - &202 + - &204 name: epss_percentage in: query description: |- @@ -9380,7 +9380,7 @@ paths: Filters the list of alerts based on EPSS percentages. If specified, only alerts with the provided EPSS percentages will be returned. schema: type: string - - &495 + - &497 name: has in: query description: |- @@ -9394,7 +9394,7 @@ paths: type: string enum: - patch - - &203 + - &205 name: assignee in: query description: |- @@ -9403,7 +9403,7 @@ paths: Use `*` to list alerts with at least one assignee or `none` to list alerts with no assignees. schema: type: string - - &204 + - &206 name: scope in: query description: The scope of the vulnerable dependency. If specified, only alerts @@ -9413,7 +9413,7 @@ paths: enum: - development - runtime - - &205 + - &207 name: sort in: query description: |- @@ -9439,11 +9439,11 @@ paths: application/json: schema: type: array - items: &206 + items: &208 type: object description: A Dependabot alert. properties: - number: &177 + number: &179 type: integer description: The security alert number. readOnly: true @@ -9506,7 +9506,7 @@ paths: - direct - transitive - inconclusive - security_advisory: &496 + security_advisory: &498 type: object description: Details for the GitHub Security Advisory. readOnly: true @@ -9694,29 +9694,29 @@ paths: - withdrawn_at additionalProperties: false security_vulnerability: *66 - url: &180 + url: &182 type: string description: The REST API URL of the alert resource. format: uri readOnly: true - html_url: &181 + html_url: &183 type: string description: The GitHub URL of the alert resource. format: uri readOnly: true - created_at: &178 + created_at: &180 type: string description: 'The time that the alert was created in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' format: date-time readOnly: true - updated_at: &179 + updated_at: &181 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 - dismissed_at: &183 + dismissed_at: &185 type: string description: 'The time that the alert was dismissed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' @@ -9746,21 +9746,21 @@ paths: dismissal. nullable: true maxLength: 280 - fixed_at: &182 + fixed_at: &184 type: string 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 nullable: true - auto_dismissed_at: &497 + auto_dismissed_at: &499 type: string description: 'The time that the alert was auto-dismissed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' format: date-time readOnly: true nullable: true - dismissal_request: &498 + dismissal_request: &500 title: Dependabot alert dismissal request description: Information about an active dismissal request for this Dependabot alert. @@ -9822,7 +9822,7 @@ paths: - repository additionalProperties: false examples: - default: &207 + default: &209 value: - number: 2 state: dismissed @@ -10170,6 +10170,266 @@ paths: previews: [] category: dependabot subcategory: alerts + "/enterprises/{enterprise}/dependabot/repository-access": + get: + summary: Lists the repositories Dependabot can access in an enterprise + description: |- + Lists repositories that enterprise admins have allowed Dependabot to access when updating dependencies across organizations in the enterprise. + + The authenticated user must be an enterprise owner to use this endpoint. + tags: + - dependabot + operationId: dependabot/repository-access-for-enterprise + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/dependabot/repository-access#lists-the-repositories-dependabot-can-access-in-an-enterprise + parameters: + - *40 + - name: page + in: query + description: The page number of results to fetch. + required: false + schema: + type: integer + minimum: 1 + default: 1 + - name: per_page + in: query + description: Number of results per page. + required: false + schema: + type: integer + minimum: 1 + maximum: 100 + default: 30 + responses: + '200': + description: Response + content: + application/json: + schema: &210 + title: Dependabot Repository Access Details + description: Information about repositories that Dependabot is able + to access in an organization + type: object + properties: + default_level: + type: string + description: The default repository access level for Dependabot + updates. + enum: + - public + - internal + example: internal + nullable: true + accessible_repositories: + type: array + items: + title: Simple Repository + description: A GitHub repository. + type: object + properties: *68 + required: *69 + nullable: true + additionalProperties: false + examples: + default: &211 + value: + default_level: public + accessible_repositories: + - id: 123456 + node_id: MDEwOlJlcG9zaXRvcnkxMjM0NTY= + name: example-repo + full_name: octocat/example-repo + owner: + name: octocat + email: octo@github.com + login: octocat + id: 1 + node_id: MDQ6VXNlcjE= + avatar_url: https://avatars.githubusercontent.com/u/1?v=4 + gravatar_id: 1 + url: https://api.github.com/users/octocat + html_url: https://github.com/octocat/example-repo + followers_url: https://api.github.com/users/octocat/followers + following_url: https://api.github.com/users/octocat/following{/other_user} + gists_url: https://api.github.com/users/octocat/gists{/gist_id} + starred_url: https://api.github.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 + starred_at: '"2020-07-09T00:17:55Z"' + user_view_type: default + private: false + html_url: https://github.com/octocat/example-repo + description: This is an example repository. + fork: false + url: https://api.github.com/repos/octocat/example-repo + archive_url: https://api.github.com/repos/octocat/example-repo/{archive_format}{/ref} + assignees_url: https://api.github.com/repos/octocat/example-repo/assignees{/user} + blobs_url: https://api.github.com/repos/octocat/example-repo/git/blobs{/sha} + branches_url: https://api.github.com/repos/octocat/example-repo/branches{/branch} + collaborators_url: https://api.github.com/repos/octocat/example-repo/collaborators{/collaborator} + comments_url: https://api.github.com/repos/octocat/example-repo/comments{/number} + commits_url: https://api.github.com/repos/octocat/example-repo/commits{/sha} + compare_url: https://api.github.com/repos/octocat/example-repo/compare/{base}...{head} + contents_url: https://api.github.com/repos/octocat/example-repo/contents/{+path} + contributors_url: https://api.github.com/repos/octocat/example-repo/contributors + deployments_url: https://api.github.com/repos/octocat/example-repo/deployments + downloads_url: https://api.github.com/repos/octocat/example-repo/downloads + events_url: https://api.github.com/repos/octocat/example-repo/events + forks_url: https://api.github.com/repos/octocat/example-repo/forks + git_commits_url: https://api.github.com/repos/octocat/example-repo/git/commits{/sha} + git_refs_url: https://api.github.com/repos/octocat/example-repo/git/refs{/sha} + git_tags_url: https://api.github.com/repos/octocat/example-repo/git/tags{/sha} + issue_comment_url: https://api.github.com/repos/octocat/example-repo/issues/comments{/number} + issue_events_url: https://api.github.com/repos/octocat/example-repo/issues/events{/number} + issues_url: https://api.github.com/repos/octocat/example-repo/issues{/number} + keys_url: https://api.github.com/repos/octocat/example-repo/keys{/key_id} + labels_url: https://api.github.com/repos/octocat/example-repo/labels{/name} + languages_url: https://api.github.com/repos/octocat/example-repo/languages + merges_url: https://api.github.com/repos/octocat/example-repo/merges + milestones_url: https://api.github.com/repos/octocat/example-repo/milestones{/number} + notifications_url: https://api.github.com/repos/octocat/example-repo/notifications{?since,all,participating} + pulls_url: https://api.github.com/repos/octocat/example-repo/pulls{/number} + releases_url: https://api.github.com/repos/octocat/example-repo/releases{/id} + stargazers_url: https://api.github.com/repos/octocat/example-repo/stargazers + statuses_url: https://api.github.com/repos/octocat/example-repo/statuses/{sha} + subscribers_url: https://api.github.com/repos/octocat/example-repo/subscribers + subscription_url: https://api.github.com/repos/octocat/example-repo/subscription + tags_url: https://api.github.com/repos/octocat/example-repo/tags + teams_url: https://api.github.com/repos/octocat/example-repo/teams + trees_url: https://api.github.com/repos/octocat/example-repo/git/trees{/sha} + hooks_url: https://api.github.com/repos/octocat/example-repo/hooks + '403': *29 + '404': *6 + x-github: + githubCloudOnly: false + enabledForGitHubApps: false + category: dependabot + subcategory: repository-access + patch: + summary: Updates Dependabot's repository access list for an enterprise + description: |- + Updates repositories according to the list of repositories that enterprise admins have given Dependabot access to when they've updated dependencies across organizations in the enterprise. + + The authenticated user must be an enterprise owner to use this endpoint. + + **Example request body:** + ```json + { + "repository_ids_to_add": [123, 456], + "repository_ids_to_remove": [789] + } + ``` + tags: + - dependabot + operationId: dependabot/update-repository-access-for-enterprise + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/dependabot/repository-access#updates-dependabots-repository-access-list-for-an-enterprise + parameters: + - *40 + requestBody: + required: true + content: + application/json: + schema: + type: object + properties: + repository_ids_to_add: + type: array + items: + type: integer + description: List of repository IDs to add. + repository_ids_to_remove: + type: array + items: + type: integer + description: List of repository IDs to remove. + example: + repository_ids_to_add: + - 123 + - 456 + repository_ids_to_remove: + - 789 + examples: + '204': + summary: Example with a 'succeeded' status. + add-example: + summary: Add repositories + value: + repository_ids_to_add: + - 123 + - 456 + remove-example: + summary: Remove repositories + value: + repository_ids_to_remove: + - 789 + responses: + '204': + description: Response + '403': *29 + '404': *6 + x-github: + githubCloudOnly: false + enabledForGitHubApps: false + category: dependabot + subcategory: repository-access + "/enterprises/{enterprise}/dependabot/repository-access/default-level": + put: + summary: Set the default repository access level for Dependabot in an enterprise + description: |- + Sets the default level of repository access Dependabot will have while performing an update across organizations in the enterprise. Available values are: + - 'public' - Dependabot will only have access to public repositories, unless access is explicitly granted to non-public repositories. + - 'internal' - Dependabot will only have access to public and internal repositories, unless access is explicitly granted to private repositories. + + The authenticated user must be an enterprise owner to use this endpoint. + tags: + - dependabot + operationId: dependabot/set-repository-access-default-level-for-enterprise + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/dependabot/repository-access#set-the-default-repository-access-level-for-dependabot-in-an-enterprise + parameters: + - *40 + requestBody: + required: true + content: + application/json: + schema: + type: object + properties: + default_level: + type: string + description: The default repository access level for Dependabot + updates. + enum: + - public + - internal + example: internal + required: + - default_level + examples: + '204': + summary: Example with a 'succeeded' status. + value: + default_level: public + responses: + '204': + description: Response + '403': *29 + '404': *6 + x-github: + githubCloudOnly: false + enabledForGitHubApps: false + category: dependabot + subcategory: repository-access "/enterprises/{enterprise}/teams": get: summary: List enterprise teams @@ -10191,7 +10451,7 @@ paths: application/json: schema: type: array - items: &69 + items: &71 title: Enterprise Team description: Group of enterprise owners and/or members type: object @@ -10262,7 +10522,7 @@ paths: created_at: '2019-01-26T19:01:12Z' updated_at: '2019-01-26T19:14:43Z' headers: - Link: *68 + Link: *70 '403': *29 x-github: githubCloudOnly: false @@ -10335,9 +10595,9 @@ paths: description: Response content: application/json: - schema: *69 + schema: *71 examples: - default: &77 + default: &79 value: id: 1 name: Justice League @@ -10366,7 +10626,7 @@ paths: url: https://docs.github.com/rest/enterprise-teams/enterprise-team-members#list-members-in-an-enterprise-team parameters: - *40 - - &70 + - &72 name: enterprise-team description: The slug version of the enterprise team name. You can also substitute this value with the enterprise team id. @@ -10385,7 +10645,7 @@ paths: type: array items: *4 examples: - default: &71 + default: &73 value: - login: octocat id: 1 @@ -10406,7 +10666,7 @@ paths: type: User site_admin: false headers: - Link: *68 + Link: *70 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -10424,7 +10684,7 @@ paths: url: https://docs.github.com/rest/enterprise-teams/enterprise-team-members#bulk-add-team-members parameters: - *40 - - *70 + - *72 requestBody: required: true content: @@ -10455,7 +10715,7 @@ paths: type: array items: *4 examples: - default: *71 + default: *73 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -10473,7 +10733,7 @@ paths: url: https://docs.github.com/rest/enterprise-teams/enterprise-team-members#bulk-remove-team-members parameters: - *40 - - *70 + - *72 requestBody: required: true content: @@ -10504,7 +10764,7 @@ paths: type: array items: *4 examples: - default: *71 + default: *73 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -10522,8 +10782,8 @@ paths: url: https://docs.github.com/rest/enterprise-teams/enterprise-team-members#get-enterprise-team-membership parameters: - *40 - - *70 - - &72 + - *72 + - &74 name: username description: The handle for the GitHub user account. in: path @@ -10537,7 +10797,7 @@ paths: application/json: schema: *4 examples: - exampleKey1: &73 + exampleKey1: &75 value: login: octocat id: 1 @@ -10573,8 +10833,8 @@ paths: url: https://docs.github.com/rest/enterprise-teams/enterprise-team-members#add-team-member parameters: - *40 - - *70 - *72 + - *74 responses: '201': description: Successfully added team member @@ -10582,7 +10842,7 @@ paths: application/json: schema: *4 examples: - exampleKey1: *73 + exampleKey1: *75 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -10600,8 +10860,8 @@ paths: url: https://docs.github.com/rest/enterprise-teams/enterprise-team-members#remove-team-membership parameters: - *40 - - *70 - *72 + - *74 responses: '204': description: Response @@ -10623,7 +10883,7 @@ paths: url: https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#get-organization-assignments parameters: - *40 - - *70 + - *72 - *17 - *19 responses: @@ -10633,11 +10893,11 @@ paths: application/json: schema: type: array - items: &74 + items: &76 title: Organization Simple description: A GitHub organization. type: object - properties: &193 + properties: &195 login: type: string example: github @@ -10678,7 +10938,7 @@ paths: type: string example: A great organization nullable: true - required: &194 + required: &196 - login - url - id @@ -10692,7 +10952,7 @@ paths: - avatar_url - description examples: - default: &75 + default: &77 value: login: github id: 1 @@ -10723,7 +10983,7 @@ paths: url: https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#add-organization-assignments parameters: - *40 - - *70 + - *72 requestBody: required: true content: @@ -10751,9 +11011,9 @@ paths: application/json: schema: type: array - items: *74 + items: *76 examples: - default: &117 + default: &119 value: - login: github id: 1 @@ -10784,7 +11044,7 @@ paths: url: https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#remove-organization-assignments parameters: - *40 - - *70 + - *72 requestBody: required: true content: @@ -10825,8 +11085,8 @@ paths: url: https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#get-organization-assignment parameters: - *40 - - *70 - - &76 + - *72 + - &78 name: org description: The organization name. The name is not case sensitive. in: path @@ -10838,9 +11098,9 @@ paths: description: The team is assigned to the organization content: application/json: - schema: *74 + schema: *76 examples: - default: *75 + default: *77 '404': description: The team is not assigned to the organization x-github: @@ -10859,16 +11119,16 @@ paths: url: https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#add-an-organization-assignment parameters: - *40 - - *70 - - *76 + - *72 + - *78 responses: '201': description: Successfully assigned the enterprise team to the organization. content: application/json: - schema: *74 + schema: *76 examples: - default: *75 + default: *77 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -10885,8 +11145,8 @@ paths: url: https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#delete-an-organization-assignment parameters: - *40 - - *70 - - *76 + - *72 + - *78 responses: '204': description: Successfully unassigned the enterprise team from the organization. @@ -10910,7 +11170,7 @@ paths: url: https://docs.github.com/rest/enterprise-teams/enterprise-teams#get-an-enterprise-team parameters: - *40 - - &78 + - &80 name: team_slug description: The slug of the team name. in: path @@ -10922,11 +11182,11 @@ paths: description: Response content: application/json: - schema: *69 + schema: *71 examples: - default: *77 + default: *79 headers: - Link: *68 + Link: *70 '403': *29 x-github: githubCloudOnly: false @@ -10944,7 +11204,7 @@ paths: url: https://docs.github.com/rest/enterprise-teams/enterprise-teams#update-an-enterprise-team parameters: - *40 - - *78 + - *80 requestBody: required: true content: @@ -10999,11 +11259,11 @@ paths: description: Response content: application/json: - schema: *69 + schema: *71 examples: - default: *77 + default: *79 headers: - Link: *68 + Link: *70 '403': *29 x-github: githubCloudOnly: false @@ -11024,7 +11284,7 @@ paths: url: https://docs.github.com/rest/enterprise-teams/enterprise-teams#delete-an-enterprise-team parameters: - *40 - - *78 + - *80 responses: '204': description: Response @@ -11062,7 +11322,7 @@ paths: application/json: schema: type: array - items: &112 + items: &114 title: Event description: Event type: object @@ -11072,7 +11332,7 @@ paths: type: type: string nullable: true - actor: &79 + actor: &81 title: Actor description: Actor type: object @@ -11112,7 +11372,7 @@ paths: - id - name - url - org: *79 + org: *81 payload: oneOf: - title: CreateEvent @@ -11158,7 +11418,7 @@ paths: properties: action: type: string - discussion: &758 + discussion: &760 title: Discussion description: A Discussion in a repository. type: object @@ -11445,7 +11705,7 @@ paths: - id labels: type: array - items: &85 + items: &87 title: Label description: Color-coded labels help you categorize and filter your issues (just like labels in Gmail). @@ -11520,12 +11780,12 @@ paths: properties: action: type: string - issue: &86 + issue: &88 title: Issue description: Issues are a great way to keep track of tasks, enhancements, and bugs for your projects. type: object - properties: &550 + properties: &552 id: type: integer format: int64 @@ -11631,7 +11891,7 @@ paths: description: A collection of related issues and pull requests. type: object - properties: &279 + properties: &281 url: type: string format: uri @@ -11701,7 +11961,7 @@ paths: format: date-time example: '2012-10-09T23:39:01Z' nullable: true - required: &280 + required: &282 - closed_issues - creator - description @@ -11780,7 +12040,7 @@ paths: timeline_url: type: string format: uri - type: &242 + type: &244 title: Issue Type description: The type of issue. type: object @@ -11830,7 +12090,7 @@ paths: - node_id - name - description - repository: *80 + repository: *82 performed_via_github_app: title: GitHub app description: GitHub apps are a new way to extend GitHub. @@ -11841,9 +12101,9 @@ paths: actors within GitHub. type: object nullable: true - properties: *81 - required: *82 - author_association: &83 + properties: *83 + required: *84 + author_association: &85 title: author_association type: string example: OWNER @@ -11858,7 +12118,7 @@ paths: - MEMBER - NONE - OWNER - reactions: &84 + reactions: &86 title: Reaction Rollup type: object properties: @@ -11894,7 +12154,7 @@ paths: - hooray - eyes - rocket - sub_issues_summary: &676 + sub_issues_summary: &678 title: Sub-issues Summary type: object properties: @@ -11919,7 +12179,7 @@ paths: description: Comments provide a way for people to collaborate on an issue. type: object - properties: &87 + properties: &89 id: description: Unique identifier of the issue comment example: 42 @@ -11962,7 +12222,7 @@ paths: issue_url: type: string format: uri - author_association: *83 + author_association: *85 performed_via_github_app: title: GitHub app description: GitHub apps are a new way to extend @@ -11973,15 +12233,15 @@ paths: class actors within GitHub. type: object nullable: true - properties: *81 - required: *82 - reactions: *84 + properties: *83 + required: *84 + reactions: *86 pin: title: Pinned Issue Comment description: Context around who pinned an issue comment and when it was pinned. type: object - properties: &573 + properties: &575 pinned_at: type: string format: date-time @@ -11993,11 +12253,11 @@ paths: properties: *20 required: *21 nullable: true - required: &574 + required: &576 - pinned_at - pinned_by nullable: true - required: &88 + required: &90 - id - node_id - html_url @@ -12007,7 +12267,7 @@ paths: - created_at - updated_at nullable: true - issue_dependencies_summary: &677 + issue_dependencies_summary: &679 title: Issue Dependencies Summary type: object properties: @@ -12026,7 +12286,7 @@ paths: - total_blocking issue_field_values: type: array - items: &557 + items: &559 title: Issue Field Value description: A value assigned to an issue field type: object @@ -12087,7 +12347,7 @@ paths: - node_id - data_type - value - required: &551 + required: &553 - closed_at - comments - comments_url @@ -12111,10 +12371,10 @@ paths: assignees: type: array items: *4 - label: *85 + label: *87 labels: type: array - items: *85 + items: *87 required: - action - issue @@ -12123,14 +12383,14 @@ paths: properties: action: type: string - issue: *86 - comment: &546 + issue: *88 + comment: &548 title: Issue Comment description: Comments provide a way for people to collaborate on an issue. type: object - properties: *87 - required: *88 + properties: *89 + required: *90 required: - action - issue @@ -12303,8 +12563,8 @@ paths: title: License Simple description: License Simple type: object - properties: *89 - required: *90 + properties: *91 + required: *92 nullable: true allow_forking: type: boolean @@ -12393,7 +12653,7 @@ paths: type: string number: type: integer - pull_request: &91 + pull_request: &93 title: Pull Request Minimal type: object properties: @@ -12464,10 +12724,10 @@ paths: assignees: type: array items: *4 - label: *85 + label: *87 labels: type: array - items: *85 + items: *87 required: - action - number @@ -12477,7 +12737,7 @@ paths: properties: action: type: string - pull_request: *91 + pull_request: *93 comment: type: object properties: @@ -12728,7 +12988,7 @@ paths: - pull_request updated_at: type: string - pull_request: *91 + pull_request: *93 required: - action - review @@ -12777,7 +13037,7 @@ paths: updated_at: type: string format: date-time - reactions: *84 + reactions: *86 required: - action - comment @@ -12788,7 +13048,7 @@ paths: type: string release: allOf: - - &607 + - &609 title: Release description: A release. type: object @@ -12859,7 +13119,7 @@ paths: author: *4 assets: type: array - items: &608 + items: &610 title: Release Asset description: Data related to a release. type: object @@ -12934,7 +13194,7 @@ paths: description: The URL of the release discussion. type: string format: uri - reactions: *84 + reactions: *86 required: - assets_url - upload_url @@ -13026,7 +13286,7 @@ paths: created_at: '2022-06-07T07:50:26Z' '304': *37 '403': *29 - '503': &120 + '503': &122 description: Service unavailable content: application/json: @@ -13119,7 +13379,7 @@ paths: _links: type: object properties: - timeline: &92 + timeline: &94 title: Link With Type description: Hypermedia Link with Type type: object @@ -13131,17 +13391,17 @@ paths: required: - href - type - user: *92 - security_advisories: *92 - current_user: *92 - current_user_public: *92 - current_user_actor: *92 - current_user_organization: *92 + user: *94 + security_advisories: *94 + current_user: *94 + current_user_public: *94 + current_user_actor: *94 + current_user_organization: *94 current_user_organizations: type: array - items: *92 - repository_discussions: *92 - repository_discussions_category: *92 + items: *94 + repository_discussions: *94 + repository_discussions_category: *94 required: - timeline - user @@ -13203,7 +13463,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#list-gists-for-the-authenticated-user parameters: - - *93 + - *95 - *17 - *19 responses: @@ -13213,7 +13473,7 @@ paths: application/json: schema: type: array - items: &94 + items: &96 title: Base Gist description: Base Gist type: object @@ -13298,7 +13558,7 @@ paths: - created_at - updated_at examples: - default: &95 + default: &97 value: - url: https://api.github.com/gists/aa5a315d61ae9438b18d forks_url: https://api.github.com/gists/aa5a315d61ae9438b18d/forks @@ -13343,7 +13603,7 @@ paths: site_admin: false truncated: false headers: - Link: *68 + Link: *70 '304': *37 '403': *29 x-github: @@ -13419,7 +13679,7 @@ paths: description: Response content: application/json: - schema: &96 + schema: &98 title: Gist Simple description: Gist Simple type: object @@ -13587,7 +13847,7 @@ paths: truncated: type: boolean examples: - default: &97 + default: &99 value: url: https://api.github.com/gists/2decf6c462d9b4418f2 forks_url: https://api.github.com/gists/2decf6c462d9b4418f2/forks @@ -13691,7 +13951,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#list-public-gists parameters: - - *93 + - *95 - *17 - *19 responses: @@ -13701,11 +13961,11 @@ paths: application/json: schema: type: array - items: *94 + items: *96 examples: - default: *95 + default: *97 headers: - Link: *68 + Link: *70 '422': *15 '304': *37 '403': *29 @@ -13725,7 +13985,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#list-starred-gists parameters: - - *93 + - *95 - *17 - *19 responses: @@ -13735,11 +13995,11 @@ paths: application/json: schema: type: array - items: *94 + items: *96 examples: - default: *95 + default: *97 headers: - Link: *68 + Link: *70 '401': *25 '304': *37 '403': *29 @@ -13764,7 +14024,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#get-a-gist parameters: - - &98 + - &100 name: gist_id description: The unique identifier of the gist. in: path @@ -13776,10 +14036,10 @@ paths: description: Response content: application/json: - schema: *96 + schema: *98 examples: - default: *97 - '403': &101 + default: *99 + '403': &103 description: Forbidden Gist content: application/json: @@ -13826,7 +14086,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#update-a-gist parameters: - - *98 + - *100 requestBody: required: true content: @@ -13886,9 +14146,9 @@ paths: description: Response content: application/json: - schema: *96 + schema: *98 examples: - updateGist: *97 + updateGist: *99 deleteFile: value: url: https://api.github.com/gists/2decf6c462d9b4418f2 @@ -14046,7 +14306,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#delete-a-gist parameters: - - *98 + - *100 responses: '204': description: Response @@ -14074,7 +14334,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/comments#list-gist-comments parameters: - - *98 + - *100 - *17 - *19 responses: @@ -14084,7 +14344,7 @@ paths: application/json: schema: type: array - items: &99 + items: &101 title: Gist Comment description: A comment made to a gist. type: object @@ -14119,7 +14379,7 @@ paths: type: string format: date-time example: '2011-04-18T23:23:56Z' - author_association: *83 + author_association: *85 required: - url - id @@ -14159,7 +14419,7 @@ paths: updated_at: '2011-04-18T23:23:56Z' author_association: COLLABORATOR headers: - Link: *68 + Link: *70 '304': *37 '404': *6 '403': *29 @@ -14183,7 +14443,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/comments#create-a-gist-comment parameters: - - *98 + - *100 requestBody: required: true content: @@ -14208,9 +14468,9 @@ paths: description: Response content: application/json: - schema: *99 + schema: *101 examples: - default: &100 + default: &102 value: id: 1 node_id: MDExOkdpc3RDb21tZW50MQ== @@ -14267,8 +14527,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/comments#get-a-gist-comment parameters: - - *98 - - &102 + - *100 + - &104 name: comment_id description: The unique identifier of the comment. in: path @@ -14281,12 +14541,12 @@ paths: description: Response content: application/json: - schema: *99 + schema: *101 examples: - default: *100 + default: *102 '304': *37 '404': *6 - '403': *101 + '403': *103 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -14307,8 +14567,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/comments#update-a-gist-comment parameters: - - *98 - - *102 + - *100 + - *104 requestBody: required: true content: @@ -14333,9 +14593,9 @@ paths: description: Response content: application/json: - schema: *99 + schema: *101 examples: - default: *100 + default: *102 '404': *6 x-github: githubCloudOnly: false @@ -14352,8 +14612,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/comments#delete-a-gist-comment parameters: - - *98 - - *102 + - *100 + - *104 responses: '204': description: Response @@ -14376,7 +14636,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#list-gist-commits parameters: - - *98 + - *100 - *17 - *19 responses: @@ -14477,7 +14737,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#list-gist-forks parameters: - - *98 + - *100 - *17 - *19 responses: @@ -14487,7 +14747,7 @@ paths: application/json: schema: type: array - items: *96 + items: *98 examples: default: value: @@ -14533,7 +14793,7 @@ paths: type: User site_admin: false headers: - Link: *68 + Link: *70 '404': *6 '304': *37 '403': *29 @@ -14552,13 +14812,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#fork-a-gist parameters: - - *98 + - *100 responses: '201': description: Response content: application/json: - schema: *94 + schema: *96 examples: default: value: @@ -14628,7 +14888,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#check-if-a-gist-is-starred parameters: - - *98 + - *100 responses: '204': description: Response if gist is starred @@ -14658,7 +14918,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#star-a-gist parameters: - - *98 + - *100 responses: '204': description: Response @@ -14680,7 +14940,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#unstar-a-gist parameters: - - *98 + - *100 responses: '204': description: Response @@ -14708,7 +14968,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#get-a-gist-revision parameters: - - *98 + - *100 - name: sha in: path required: true @@ -14719,9 +14979,9 @@ paths: description: Response content: application/json: - schema: *96 + schema: *98 examples: - default: *97 + default: *99 '422': *15 '404': *6 '403': *29 @@ -14882,7 +15142,7 @@ paths: type: array items: allOf: - - *80 + - *82 repository_selection: type: string example: selected @@ -15005,7 +15265,7 @@ paths: open_issues: 1 watchers: 1 headers: - Link: *68 + Link: *70 '403': *29 '304': *37 '401': *25 @@ -15089,7 +15349,7 @@ paths: - closed - all default: open - - &245 + - &247 name: labels description: 'A list of comma separated label names. Example: `bug,ui,@high`' in: query @@ -15108,7 +15368,7 @@ paths: - comments default: created - *62 - - *93 + - *95 - name: collab in: query required: false @@ -15138,9 +15398,9 @@ paths: application/json: schema: type: array - items: *86 + items: *88 examples: - default: &246 + default: &248 value: - id: 1 node_id: MDU6SXNzdWUx @@ -15385,7 +15645,7 @@ paths: watchers: 1 author_association: COLLABORATOR headers: - Link: *68 + Link: *70 '422': *15 '304': *37 '404': *6 @@ -15424,8 +15684,8 @@ paths: title: License Simple description: License Simple type: object - properties: *89 - required: *90 + properties: *91 + required: *92 examples: default: value: @@ -15710,7 +15970,7 @@ paths: example: '279' schema: type: string - X-CommonMarker-Version: &103 + X-CommonMarker-Version: &105 example: 0.17.4 schema: type: string @@ -15765,7 +16025,7 @@ paths: '200': description: Response headers: - X-CommonMarker-Version: *103 + X-CommonMarker-Version: *105 content: text/html: schema: @@ -15794,7 +16054,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/apps/marketplace#get-a-subscription-plan-for-an-account parameters: - - &106 + - &108 name: account_id description: account_id parameter in: path @@ -15806,7 +16066,7 @@ paths: description: Response content: application/json: - schema: &105 + schema: &107 title: Marketplace Purchase description: Marketplace Purchase type: object @@ -15836,7 +16096,7 @@ paths: nullable: true id: type: integer - plan: &104 + plan: &106 title: Marketplace Listing Plan description: Marketplace Listing Plan type: object @@ -15925,7 +16185,7 @@ paths: nullable: true updated_at: type: string - plan: *104 + plan: *106 required: - url - id @@ -15933,7 +16193,7 @@ paths: - login - marketplace_purchase examples: - default: &107 + default: &109 value: url: https://api.github.com/orgs/github type: Organization @@ -16018,9 +16278,9 @@ paths: application/json: schema: type: array - items: *104 + items: *106 examples: - default: &108 + default: &110 value: - url: https://api.github.com/marketplace_listing/plans/1313 accounts_url: https://api.github.com/marketplace_listing/plans/1313/accounts @@ -16038,7 +16298,7 @@ paths: - Up to 25 private repositories - 11 concurrent builds headers: - Link: *68 + Link: *70 '404': *6 '401': *25 x-github: @@ -16060,14 +16320,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/apps/marketplace#list-accounts-for-a-plan parameters: - - &109 + - &111 name: plan_id description: The unique identifier of the plan. in: path required: true schema: type: integer - - &110 + - &112 name: sort description: The property to sort the results by. in: query @@ -16097,9 +16357,9 @@ paths: application/json: schema: type: array - items: *105 + items: *107 examples: - default: &111 + default: &113 value: - url: https://api.github.com/orgs/github type: Organization @@ -16150,7 +16410,7 @@ paths: - Up to 25 private repositories - 11 concurrent builds headers: - Link: *68 + Link: *70 '404': *6 '422': *15 '401': *25 @@ -16173,15 +16433,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/apps/marketplace#get-a-subscription-plan-for-an-account-stubbed parameters: - - *106 + - *108 responses: '200': description: Response content: application/json: - schema: *105 + schema: *107 examples: - default: *107 + default: *109 '404': description: Not Found when the account has not purchased the listing '401': *25 @@ -16213,11 +16473,11 @@ paths: application/json: schema: type: array - items: *104 + items: *106 examples: - default: *108 + default: *110 headers: - Link: *68 + Link: *70 '401': *25 x-github: githubCloudOnly: false @@ -16238,8 +16498,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/apps/marketplace#list-accounts-for-a-plan-stubbed parameters: - - *109 - - *110 + - *111 + - *112 - name: direction description: To return the oldest accounts first, set to `asc`. Ignored without the `sort` parameter. @@ -16259,11 +16519,11 @@ paths: application/json: schema: type: array - items: *105 + items: *107 examples: - default: *111 + default: *113 headers: - Link: *68 + Link: *70 '401': *25 x-github: githubCloudOnly: false @@ -16525,14 +16785,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-public-events-for-a-network-of-repositories parameters: - - &342 + - &344 name: owner description: The account owner of the repository. The name is not case sensitive. in: path required: true schema: type: string - - &343 + - &345 name: repo description: The name of the repository without the `.git` extension. The name is not case sensitive. @@ -16549,7 +16809,7 @@ paths: application/json: schema: type: array - items: *112 + items: *114 examples: default: value: @@ -16594,7 +16854,7 @@ paths: '404': *6 '403': *29 '304': *37 - '301': &346 + '301': &348 description: Moved permanently content: application/json: @@ -16616,7 +16876,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#list-notifications-for-the-authenticated-user parameters: - - &583 + - &585 name: all description: If `true`, show notifications marked as read. in: query @@ -16624,7 +16884,7 @@ paths: schema: type: boolean default: false - - &584 + - &586 name: participating description: If `true`, only shows notifications in which the user is directly participating or mentioned. @@ -16633,8 +16893,8 @@ paths: schema: type: boolean default: false - - *93 - - &585 + - *95 + - &587 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: @@ -16659,18 +16919,18 @@ paths: application/json: schema: type: array - items: &113 + items: &115 title: Thread description: Thread type: object properties: id: type: string - repository: &159 + repository: &161 title: Minimal Repository description: Minimal Repository type: object - properties: &211 + properties: &213 id: type: integer format: int64 @@ -16954,7 +17214,7 @@ paths: web_commit_signoff_required: type: boolean example: false - security_and_analysis: &297 + security_and_analysis: &299 nullable: true type: object properties: @@ -17074,7 +17334,7 @@ paths: the repository. The keys are the custom property names, and the values are the corresponding custom property values. additionalProperties: true - required: &212 + required: &214 - archive_url - assignees_url - blobs_url @@ -17162,7 +17422,7 @@ paths: - url - subscription_url examples: - default: &586 + default: &588 value: - id: '1' repository: @@ -17244,7 +17504,7 @@ paths: url: https://api.github.com/notifications/threads/1 subscription_url: https://api.github.com/notifications/threads/1/subscription headers: - Link: *68 + Link: *70 '304': *37 '403': *29 '401': *25 @@ -17328,7 +17588,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#get-a-thread parameters: - - &114 + - &116 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 @@ -17342,7 +17602,7 @@ paths: description: Response content: application/json: - schema: *113 + schema: *115 examples: default: value: @@ -17444,7 +17704,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#mark-a-thread-as-read parameters: - - *114 + - *116 responses: '205': description: Reset Content @@ -17466,7 +17726,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#mark-a-thread-as-done parameters: - - *114 + - *116 responses: '204': description: No content @@ -17489,13 +17749,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#get-a-thread-subscription-for-the-authenticated-user parameters: - - *114 + - *116 responses: '200': description: Response content: application/json: - schema: &115 + schema: &117 title: Thread Subscription description: Thread Subscription type: object @@ -17532,7 +17792,7 @@ paths: - url - subscribed examples: - default: &116 + default: &118 value: subscribed: true ignored: false @@ -17563,7 +17823,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#set-a-thread-subscription parameters: - - *114 + - *116 requestBody: required: false content: @@ -17584,9 +17844,9 @@ paths: description: Response content: application/json: - schema: *115 + schema: *117 examples: - default: *116 + default: *118 '304': *37 '403': *29 '401': *25 @@ -17609,7 +17869,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#delete-a-thread-subscription parameters: - - *114 + - *116 responses: '204': description: Response @@ -17704,9 +17964,9 @@ paths: application/json: schema: type: array - items: *74 + items: *76 examples: - default: *117 + default: *119 headers: Link: example: ; rel="next" @@ -17733,13 +17993,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#get-github-actions-cache-retention-limit-for-an-organization parameters: - - *76 + - *78 responses: '200': description: Response content: application/json: - schema: &118 + schema: &120 title: Actions cache retention limit for an organization description: GitHub Actions cache retention policy for an organization. type: object @@ -17772,12 +18032,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#set-github-actions-cache-retention-limit-for-an-organization parameters: - - *76 + - *78 requestBody: required: true content: application/json: - schema: *118 + schema: *120 examples: selected_actions: *42 responses: @@ -17806,13 +18066,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#get-github-actions-cache-storage-limit-for-an-organization parameters: - - *76 + - *78 responses: '200': description: Response content: application/json: - schema: &119 + schema: &121 title: Actions cache storage limit for an organization description: GitHub Actions cache storage policy for an organization. type: object @@ -17845,12 +18105,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#set-github-actions-cache-storage-limit-for-an-organization parameters: - - *76 + - *78 requestBody: required: true content: application/json: - schema: *119 + schema: *121 examples: selected_actions: *44 responses: @@ -17880,7 +18140,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/budgets#get-all-budgets-for-an-organization parameters: - - *76 + - *78 - name: page description: The page number of the results to fetch. in: query @@ -18052,8 +18312,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/budgets#get-a-budget-by-id-for-an-organization parameters: - - *76 - - &121 + - *78 + - &123 name: budget_id description: The ID corresponding to the budget. in: path @@ -18150,7 +18410,7 @@ paths: '404': *6 '403': *29 '500': *55 - '503': *120 + '503': *122 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -18170,8 +18430,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/budgets#update-a-budget-for-an-organization parameters: - - *76 - - *121 + - *78 + - *123 requestBody: required: true content: @@ -18362,8 +18622,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/budgets#delete-a-budget-for-an-organization parameters: - - *76 - - *121 + - *78 + - *123 responses: '200': description: Response when deleting a budget @@ -18390,7 +18650,7 @@ paths: '404': *6 '403': *29 '500': *55 - '503': *120 + '503': *122 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -18410,8 +18670,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/usage#get-billing-premium-request-usage-report-for-an-organization parameters: - - *76 - - &122 + - *78 + - &124 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, @@ -18420,7 +18680,7 @@ paths: required: false schema: type: integer - - &124 + - &126 name: month description: If specified, only return results for a single month. The value of `month` is an integer between `1` and `12`. Default value is the current @@ -18429,7 +18689,7 @@ paths: required: false schema: type: integer - - &123 + - &125 name: day description: If specified, only return results for a single day. The value of `day` is an integer between `1` and `31`. If no `year` or `month` is @@ -18444,14 +18704,14 @@ paths: required: false schema: type: string - - &733 + - &735 name: model description: The model name to query usage for. The name is not case sensitive. in: query required: false schema: type: string - - &125 + - &127 name: product description: The product name to query usage for. The name is not case sensitive. in: query @@ -18568,7 +18828,7 @@ paths: '403': *29 '404': *6 '500': *55 - '503': *120 + '503': *122 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -18588,9 +18848,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/usage#get-billing-usage-report-for-an-organization parameters: - - *76 - - *122 - - &734 + - *78 + - *124 + - &736 name: month description: If specified, only return results for a single month. The value of `month` is an integer between `1` and `12`. If no year is specified the @@ -18599,7 +18859,7 @@ paths: required: false schema: type: integer - - *123 + - *125 responses: '200': description: Billing usage report response for an organization @@ -18675,7 +18935,7 @@ paths: '400': *14 '403': *29 '500': *55 - '503': *120 + '503': *122 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -18698,19 +18958,19 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/usage#get-billing-usage-summary-for-an-organization parameters: - - *76 - - *122 + - *78 - *124 - - *123 - - &735 + - *126 + - *125 + - &737 name: repository description: The repository name to query for usage in the format owner/repository. in: query required: false schema: type: string - - *125 - - &736 + - *127 + - &738 name: sku description: The SKU to query for usage. in: query @@ -18821,7 +19081,7 @@ paths: '400': *14 '403': *29 '500': *55 - '503': *120 + '503': *122 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -18847,13 +19107,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#get-an-organization parameters: - - *76 + - *78 responses: '200': description: Response content: application/json: - schema: &126 + schema: &128 title: Organization Full description: Organization Full type: object @@ -19167,7 +19427,7 @@ paths: - updated_at - archived_at examples: - default-response: &127 + default-response: &129 value: login: github id: 1 @@ -19266,7 +19526,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#update-an-organization parameters: - - *76 + - *78 requestBody: required: false content: @@ -19478,17 +19738,17 @@ paths: description: Response content: application/json: - schema: *126 + schema: *128 examples: - default: *127 + default: *129 '422': description: Validation failed content: application/json: schema: oneOf: - - *128 - - *129 + - *130 + - *131 '409': *54 x-github: githubCloudOnly: false @@ -19512,7 +19772,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#delete-an-organization parameters: - - *76 + - *78 responses: '202': *39 '404': *6 @@ -19538,7 +19798,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#get-github-actions-cache-usage-for-an-organization parameters: - - *76 + - *78 responses: '200': description: Response @@ -19564,7 +19824,7 @@ paths: total_active_caches_size_in_bytes: 3344284 total_active_caches_count: 5 headers: - Link: *68 + Link: *70 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -19585,7 +19845,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#list-repositories-with-github-actions-cache-usage-for-an-organization parameters: - - *76 + - *78 - *17 - *19 responses: @@ -19603,7 +19863,7 @@ paths: type: integer repository_cache_usages: type: array - items: &353 + items: &355 title: Actions Cache Usage by repository description: GitHub Actions Cache Usage by repository. type: object @@ -19638,7 +19898,7 @@ paths: active_caches_size_in_bytes: 1022142 active_caches_count: 2 headers: - Link: *68 + Link: *70 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -19658,7 +19918,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#list-github-hosted-runners-for-an-organization parameters: - - *76 + - *78 - *17 - *19 responses: @@ -19676,7 +19936,7 @@ paths: type: integer runners: type: array - items: &130 + items: &132 title: GitHub-hosted hosted runner description: A Github-hosted hosted runner. type: object @@ -19730,7 +19990,7 @@ paths: - display_name - source nullable: true - machine_size_details: &138 + machine_size_details: &140 title: Github-owned VM details. description: Provides details of a particular machine spec. type: object @@ -19826,7 +20086,7 @@ paths: - public_ip_enabled - platform examples: - default: &158 + default: &160 value: total_count: 2 runners: @@ -19868,7 +20128,7 @@ paths: public_ips: [] last_active_on: '2023-04-26T15:23:37Z' headers: - Link: *68 + Link: *70 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -19886,7 +20146,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#create-a-github-hosted-runner-for-an-organization parameters: - - *76 + - *78 requestBody: required: true content: @@ -19963,9 +20223,9 @@ paths: description: Response content: application/json: - schema: *130 + schema: *132 examples: - default: &139 + default: &141 value: id: 5 name: My hosted ubuntu runner @@ -20006,7 +20266,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#list-custom-images-for-an-organization parameters: - - *76 + - *78 responses: '200': description: Response @@ -20022,7 +20282,7 @@ paths: type: integer images: type: array - items: &131 + items: &133 title: GitHub-hosted runner custom image details description: Provides details of a custom runner image type: object @@ -20073,7 +20333,7 @@ paths: - latest_version - state examples: - default: &133 + default: &135 value: total_count: 2 image_versions: @@ -20104,8 +20364,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#get-a-custom-image-definition-for-github-actions-hosted-runners parameters: - - *76 - - &132 + - *78 + - &134 name: image_definition_id description: Image definition ID of custom image in: path @@ -20117,7 +20377,7 @@ paths: description: Response content: application/json: - schema: *131 + schema: *133 examples: default: value: @@ -20147,8 +20407,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#delete-a-custom-image-from-the-organization parameters: - - *76 - - *132 + - *78 + - *134 responses: '204': description: Response @@ -20171,8 +20431,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#list-image-versions-of-a-custom-image-for-an-organization parameters: - - *132 - - *76 + - *134 + - *78 responses: '200': description: Response @@ -20188,7 +20448,7 @@ paths: type: integer image_versions: type: array - items: &134 + items: &136 title: GitHub-hosted runner custom image version details. description: Provides details of a hosted runner custom image version @@ -20221,7 +20481,7 @@ paths: - created_on - state_details examples: - default: *133 + default: *135 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -20241,9 +20501,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#get-an-image-version-of-a-custom-image-for-github-actions-hosted-runners parameters: - - *76 - - *132 - - &135 + - *78 + - *134 + - &137 name: version description: Version of a custom image in: path @@ -20256,7 +20516,7 @@ paths: description: Response content: application/json: - schema: *134 + schema: *136 examples: default: value: @@ -20282,9 +20542,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#delete-an-image-version-of-custom-image-from-the-organization parameters: - - *76 - - *132 - - *135 + - *78 + - *134 + - *137 responses: '204': description: Response @@ -20305,7 +20565,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#get-github-owned-images-for-github-hosted-runners-in-an-organization parameters: - - *76 + - *78 responses: '200': description: Response @@ -20321,7 +20581,7 @@ paths: type: integer images: type: array - items: &136 + items: &138 title: GitHub-hosted runner image details. description: Provides details of a hosted runner image type: object @@ -20357,7 +20617,7 @@ paths: - display_name - source examples: - default: &137 + default: &139 value: id: ubuntu-20.04 platform: linux-x64 @@ -20381,7 +20641,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#get-partner-images-for-github-hosted-runners-in-an-organization parameters: - - *76 + - *78 responses: '200': description: Response @@ -20397,9 +20657,9 @@ paths: type: integer images: type: array - items: *136 + items: *138 examples: - default: *137 + default: *139 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -20416,7 +20676,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#get-limits-on-github-hosted-runners-for-an-organization parameters: - - *76 + - *78 responses: '200': description: Response @@ -20469,7 +20729,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#get-github-hosted-runners-machine-specs-for-an-organization parameters: - - *76 + - *78 responses: '200': description: Response @@ -20485,7 +20745,7 @@ paths: type: integer machine_specs: type: array - items: *138 + items: *140 examples: default: value: @@ -20510,7 +20770,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#get-platforms-for-github-hosted-runners-in-an-organization parameters: - - *76 + - *78 responses: '200': description: Response @@ -20554,8 +20814,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#get-a-github-hosted-runner-for-an-organization parameters: - - *76 - - &140 + - *78 + - &142 name: hosted_runner_id description: Unique identifier of the GitHub-hosted runner. in: path @@ -20567,11 +20827,11 @@ paths: description: Response content: application/json: - schema: *130 + schema: *132 examples: - default: *139 + default: *141 headers: - Link: *68 + Link: *70 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -20589,8 +20849,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#update-a-github-hosted-runner-for-an-organization parameters: - - *76 - - *140 + - *78 + - *142 requestBody: required: true content: @@ -20656,9 +20916,9 @@ paths: description: Response content: application/json: - schema: *130 + schema: *132 examples: - default: *139 + default: *141 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -20674,16 +20934,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#delete-a-github-hosted-runner-for-an-organization parameters: - - *76 - - *140 + - *78 + - *142 responses: '202': description: Response content: application/json: - schema: *130 + schema: *132 examples: - default: *139 + default: *141 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -20703,7 +20963,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/oidc#list-oidc-custom-property-inclusions-for-an-organization parameters: - - *76 + - *78 responses: '200': description: A JSON array of OIDC custom property inclusions @@ -20736,12 +20996,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/oidc#create-an-oidc-custom-property-inclusion-for-an-organization parameters: - - *76 + - *78 requestBody: required: true content: application/json: - schema: *141 + schema: *143 examples: default: *46 responses: @@ -20775,7 +21035,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/oidc#delete-an-oidc-custom-property-inclusion-for-an-organization parameters: - - *76 + - *78 - name: custom_property_name in: path required: true @@ -20808,7 +21068,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/oidc#get-the-customization-template-for-an-oidc-subject-claim-for-an-organization parameters: - - *76 + - *78 responses: '200': description: A JSON serialized template for OIDC subject claim customization @@ -20828,7 +21088,7 @@ paths: required: - include_claim_keys examples: - default: &142 + default: &144 value: include_claim_keys: - repo @@ -20850,7 +21110,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/oidc#set-the-customization-template-for-an-oidc-subject-claim-for-an-organization parameters: - - *76 + - *78 requestBody: required: true content: @@ -20867,13 +21127,13 @@ paths: items: type: string examples: - default: *142 + default: *144 responses: '201': description: Empty response content: application/json: - schema: &168 + schema: &170 title: Empty Object description: An object without any properties. type: object @@ -20903,7 +21163,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-github-actions-permissions-for-an-organization parameters: - - *76 + - *78 responses: '200': description: Response @@ -20912,7 +21172,7 @@ paths: schema: type: object properties: - enabled_repositories: &143 + enabled_repositories: &145 type: string description: The policy that controls the repositories in the organization that are allowed to run GitHub Actions. @@ -20925,7 +21185,7 @@ paths: 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: &144 + allowed_actions: &146 type: string description: The permissions policy that controls the actions and reusable workflows that are allowed to run. @@ -20933,12 +21193,12 @@ paths: - all - local_only - selected - selected_actions_url: &359 + selected_actions_url: &361 type: string description: The API URL to use to get or set the actions and reusable workflows that are allowed to run, when `allowed_actions` is set to `selected`. - sha_pinning_required: &145 + sha_pinning_required: &147 type: boolean description: Whether actions must be pinned to a full-length commit SHA. @@ -20969,7 +21229,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-github-actions-permissions-for-an-organization parameters: - - *76 + - *78 responses: '204': description: Response @@ -20980,9 +21240,9 @@ paths: schema: type: object properties: - enabled_repositories: *143 - allowed_actions: *144 - sha_pinning_required: *145 + enabled_repositories: *145 + allowed_actions: *146 + sha_pinning_required: *147 required: - enabled_repositories examples: @@ -21010,13 +21270,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-artifact-and-log-retention-settings-for-an-organization parameters: - - *76 + - *78 responses: '200': description: Response content: application/json: - schema: &363 + schema: &365 type: object properties: days: @@ -21053,12 +21313,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-artifact-and-log-retention-settings-for-an-organization parameters: - - *76 + - *78 requestBody: required: true content: application/json: - schema: &364 + schema: &366 type: object properties: days: @@ -21095,13 +21355,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-fork-pr-contributor-approval-permissions-for-an-organization parameters: - - *76 + - *78 responses: '200': description: Response content: application/json: - schema: &146 + schema: &148 type: object properties: approval_policy: @@ -21115,7 +21375,7 @@ paths: required: - approval_policy examples: - default: &365 + default: &367 value: approval_policy: first_time_contributors '404': *6 @@ -21136,7 +21396,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-fork-pr-contributor-approval-permissions-for-an-organization parameters: - - *76 + - *78 responses: '204': description: Response @@ -21146,7 +21406,7 @@ paths: required: true content: application/json: - schema: *146 + schema: *148 examples: default: summary: Set approval policy to first time contributors @@ -21168,13 +21428,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-private-repo-fork-pr-workflow-settings-for-an-organization parameters: - - *76 + - *78 responses: '200': description: Response content: application/json: - schema: &366 + schema: &368 type: object required: - run_workflows_from_fork_pull_requests @@ -21200,7 +21460,7 @@ paths: description: Whether workflows triggered by pull requests from forks require approval from a repository administrator to run. examples: - default: &147 + default: &149 value: run_workflows_from_fork_pull_requests: true send_write_tokens_to_workflows: false @@ -21223,12 +21483,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-private-repo-fork-pr-workflow-settings-for-an-organization parameters: - - *76 + - *78 requestBody: required: true content: application/json: - schema: &367 + schema: &369 type: object required: - run_workflows_from_fork_pull_requests @@ -21251,7 +21511,7 @@ paths: description: Whether workflows triggered by pull requests from forks require approval from a repository administrator to run. examples: - default: *147 + default: *149 responses: '204': description: Empty response for successful settings update @@ -21281,7 +21541,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#list-selected-repositories-enabled-for-github-actions-in-an-organization parameters: - - *76 + - *78 - *17 - *19 responses: @@ -21299,9 +21559,9 @@ paths: type: number repositories: type: array - items: *80 + items: *82 examples: - default: &151 + default: &153 value: total_count: 1 repositories: @@ -21441,7 +21701,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-selected-repositories-enabled-for-github-actions-in-an-organization parameters: - - *76 + - *78 responses: '204': description: Response @@ -21485,8 +21745,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#enable-a-selected-repository-for-github-actions-in-an-organization parameters: - - *76 - - &148 + - *78 + - &150 name: repository_id description: The unique identifier of the repository. in: path @@ -21514,8 +21774,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#disable-a-selected-repository-for-github-actions-in-an-organization parameters: - - *76 - - *148 + - *78 + - *150 responses: '204': description: Response @@ -21538,13 +21798,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-allowed-actions-and-reusable-workflows-for-an-organization parameters: - - *76 + - *78 responses: '200': description: Response content: application/json: - schema: &149 + schema: &151 type: object properties: github_owned_allowed: @@ -21566,7 +21826,7 @@ paths: items: type: string examples: - default: &150 + default: &152 value: github_owned_allowed: true verified_allowed: false @@ -21591,7 +21851,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-allowed-actions-and-reusable-workflows-for-an-organization parameters: - - *76 + - *78 responses: '204': description: Response @@ -21599,9 +21859,9 @@ paths: required: false content: application/json: - schema: *149 + schema: *151 examples: - selected_actions: *150 + selected_actions: *152 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -21621,7 +21881,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-self-hosted-runners-settings-for-an-organization parameters: - - *76 + - *78 responses: '200': description: Response @@ -21669,7 +21929,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-self-hosted-runners-settings-for-an-organization parameters: - - *76 + - *78 requestBody: required: true content: @@ -21716,7 +21976,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#list-repositories-allowed-to-use-self-hosted-runners-in-an-organization parameters: - - *76 + - *78 - *17 - *19 responses: @@ -21731,9 +21991,9 @@ paths: type: integer repositories: type: array - items: *80 + items: *82 examples: - default: *151 + default: *153 '403': *29 '404': *6 x-github: @@ -21753,7 +22013,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-repositories-allowed-to-use-self-hosted-runners-in-an-organization parameters: - - *76 + - *78 requestBody: required: true content: @@ -21801,8 +22061,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#add-a-repository-to-the-list-of-repositories-allowed-to-use-self-hosted-runners-in-an-organization parameters: - - *76 - - *148 + - *78 + - *150 responses: '204': description: No content @@ -21828,8 +22088,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#remove-a-repository-from-the-list-of-repositories-allowed-to-use-self-hosted-runners-in-an-organization parameters: - - *76 - - *148 + - *78 + - *150 responses: '204': description: No content @@ -21857,23 +22117,23 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-default-workflow-permissions-for-an-organization parameters: - - *76 + - *78 responses: '200': description: Response content: application/json: - schema: &368 + schema: &370 type: object properties: - default_workflow_permissions: &152 + default_workflow_permissions: &154 type: string description: The default workflow permissions granted to the GITHUB_TOKEN when running workflows. enum: - read - write - can_approve_pull_request_reviews: &153 + can_approve_pull_request_reviews: &155 type: boolean description: Whether GitHub Actions can approve pull requests. Enabling this can be a security risk. @@ -21881,7 +22141,7 @@ paths: - default_workflow_permissions - can_approve_pull_request_reviews examples: - default: &154 + default: &156 summary: Give read-only permission, and allow approving PRs. value: default_workflow_permissions: read @@ -21906,7 +22166,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-default-workflow-permissions-for-an-organization parameters: - - *76 + - *78 responses: '204': description: Success response @@ -21914,13 +22174,13 @@ paths: required: false content: application/json: - schema: &369 + schema: &371 type: object properties: - default_workflow_permissions: *152 - can_approve_pull_request_reviews: *153 + default_workflow_permissions: *154 + can_approve_pull_request_reviews: *155 examples: - default: *154 + default: *156 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -21940,7 +22200,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runner-groups#list-self-hosted-runner-groups-for-an-organization parameters: - - *76 + - *78 - *17 - *19 - name: visible_to_repository @@ -21965,7 +22225,7 @@ paths: type: number runner_groups: type: array - items: &155 + items: &157 type: object properties: id: @@ -22081,7 +22341,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runner-groups#create-a-self-hosted-runner-group-for-an-organization parameters: - - *76 + - *78 requestBody: required: true content: @@ -22153,9 +22413,9 @@ paths: description: Response content: application/json: - schema: *155 + schema: *157 examples: - default: &157 + default: &159 value: id: 2 name: octo-runner-group @@ -22190,8 +22450,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runner-groups#get-a-self-hosted-runner-group-for-an-organization parameters: - - *76 - - &156 + - *78 + - &158 name: runner_group_id description: Unique identifier of the self-hosted runner group. in: path @@ -22203,7 +22463,7 @@ paths: description: Response content: application/json: - schema: *155 + schema: *157 examples: default: value: @@ -22239,8 +22499,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runner-groups#update-a-self-hosted-runner-group-for-an-organization parameters: - - *76 - - *156 + - *78 + - *158 requestBody: required: true content: @@ -22294,9 +22554,9 @@ paths: description: Response content: application/json: - schema: *155 + schema: *157 examples: - default: *157 + default: *159 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -22315,8 +22575,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runner-groups#delete-a-self-hosted-runner-group-from-an-organization parameters: - - *76 - - *156 + - *78 + - *158 responses: '204': description: Response @@ -22339,8 +22599,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runner-groups#list-github-hosted-runners-in-a-group-for-an-organization parameters: - - *76 - - *156 + - *78 + - *158 - *17 - *19 responses: @@ -22358,11 +22618,11 @@ paths: type: number runners: type: array - items: *130 + items: *132 examples: - default: *158 + default: *160 headers: - Link: *68 + Link: *70 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -22382,8 +22642,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runner-groups#list-repository-access-to-a-self-hosted-runner-group-in-an-organization parameters: - - *76 - - *156 + - *78 + - *158 - *19 - *17 responses: @@ -22401,9 +22661,9 @@ paths: type: number repositories: type: array - items: *159 + items: *161 examples: - default: &196 + default: &198 value: total_count: 1 repositories: @@ -22655,8 +22915,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runner-groups#set-repository-access-for-a-self-hosted-runner-group-in-an-organization parameters: - - *76 - - *156 + - *78 + - *158 requestBody: required: true content: @@ -22700,9 +22960,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runner-groups#add-repository-access-to-a-self-hosted-runner-group-in-an-organization parameters: - - *76 - - *156 - - *148 + - *78 + - *158 + - *150 responses: '204': description: Response @@ -22724,9 +22984,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runner-groups#remove-repository-access-to-a-self-hosted-runner-group-in-an-organization parameters: - - *76 - - *156 - - *148 + - *78 + - *158 + - *150 responses: '204': description: Response @@ -22749,8 +23009,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runner-groups#list-self-hosted-runners-in-a-group-for-an-organization parameters: - - *76 - - *156 + - *78 + - *158 - *17 - *19 responses: @@ -22768,7 +23028,7 @@ paths: type: number runners: type: array - items: &161 + items: &163 title: Self hosted runners description: A self hosted runner type: object @@ -22797,7 +23057,7 @@ paths: type: boolean labels: type: array - items: &164 + items: &166 title: Self hosted runner label description: A label for a self hosted runner type: object @@ -22827,7 +23087,7 @@ paths: - busy - labels examples: - default: &162 + default: &164 value: total_count: 2 runners: @@ -22867,7 +23127,7 @@ paths: name: no-gpu type: custom headers: - Link: *68 + Link: *70 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -22886,8 +23146,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runner-groups#set-self-hosted-runners-in-a-group-for-an-organization parameters: - - *76 - - *156 + - *78 + - *158 requestBody: required: true content: @@ -22931,9 +23191,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runner-groups#add-a-self-hosted-runner-to-a-group-for-an-organization parameters: - - *76 - - *156 - - &160 + - *78 + - *158 + - &162 name: runner_id description: Unique identifier of the self-hosted runner. in: path @@ -22961,9 +23221,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runner-groups#remove-a-self-hosted-runner-from-a-group-for-an-organization parameters: - - *76 - - *156 - - *160 + - *78 + - *158 + - *162 responses: '204': description: Response @@ -22993,7 +23253,7 @@ paths: in: query schema: type: string - - *76 + - *78 - *17 - *19 responses: @@ -23011,11 +23271,11 @@ paths: type: integer runners: type: array - items: *161 + items: *163 examples: - default: *162 + default: *164 headers: - Link: *68 + Link: *70 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -23037,7 +23297,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#list-runner-applications-for-an-organization parameters: - - *76 + - *78 responses: '200': description: Response @@ -23045,7 +23305,7 @@ paths: application/json: schema: type: array - items: &370 + items: &372 title: Runner Application description: Runner Application type: object @@ -23070,7 +23330,7 @@ paths: - download_url - filename examples: - default: &371 + default: &373 value: - os: osx architecture: x64 @@ -23113,7 +23373,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#create-configuration-for-a-just-in-time-runner-for-an-organization parameters: - - *76 + - *78 requestBody: required: true content: @@ -23156,7 +23416,7 @@ paths: - no-gpu work_folder: _work responses: - '201': &372 + '201': &374 description: Response content: application/json: @@ -23166,7 +23426,7 @@ paths: - runner - encoded_jit_config properties: - runner: *161 + runner: *163 encoded_jit_config: type: string description: The base64 encoded runner configuration. @@ -23223,13 +23483,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#create-a-registration-token-for-an-organization parameters: - - *76 + - *78 responses: '201': description: Response content: application/json: - schema: &163 + schema: &165 title: Authentication Token description: Authentication Token type: object @@ -23251,7 +23511,7 @@ paths: repositories: description: The repositories this token has access to type: array - items: *80 + items: *82 single_file: type: string example: config.yaml @@ -23267,7 +23527,7 @@ paths: - token - expires_at examples: - default: &373 + default: &375 value: token: LLBF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-22T12:13:35.123-08:00' @@ -23298,15 +23558,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#create-a-remove-token-for-an-organization parameters: - - *76 + - *78 responses: '201': description: Response content: application/json: - schema: *163 + schema: *165 examples: - default: &374 + default: &376 value: token: AABF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-29T12:13:35.123-08:00' @@ -23331,16 +23591,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#get-a-self-hosted-runner-for-an-organization parameters: - - *76 - - *160 + - *78 + - *162 responses: '200': description: Response content: application/json: - schema: *161 + schema: *163 examples: - default: &375 + default: &377 value: id: 23 name: MBP @@ -23381,8 +23641,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#delete-a-self-hosted-runner-from-an-organization parameters: - - *76 - - *160 + - *78 + - *162 responses: '204': description: Response @@ -23408,10 +23668,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#list-labels-for-a-self-hosted-runner-for-an-organization parameters: - - *76 - - *160 + - *78 + - *162 responses: - '200': &165 + '200': &167 description: Response content: application/json: @@ -23425,7 +23685,7 @@ paths: type: integer labels: type: array - items: *164 + items: *166 examples: default: value: @@ -23464,8 +23724,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#add-custom-labels-to-a-self-hosted-runner-for-an-organization parameters: - - *76 - - *160 + - *78 + - *162 requestBody: required: true content: @@ -23489,7 +23749,7 @@ paths: - gpu - accelerated responses: - '200': *165 + '200': *167 '404': *6 '422': *7 x-github: @@ -23513,8 +23773,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#set-custom-labels-for-a-self-hosted-runner-for-an-organization parameters: - - *76 - - *160 + - *78 + - *162 requestBody: required: true content: @@ -23539,7 +23799,7 @@ paths: - gpu - accelerated responses: - '200': *165 + '200': *167 '404': *6 '422': *7 x-github: @@ -23563,10 +23823,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#remove-all-custom-labels-from-a-self-hosted-runner-for-an-organization parameters: - - *76 - - *160 + - *78 + - *162 responses: - '200': &376 + '200': &378 description: Response content: application/json: @@ -23580,7 +23840,7 @@ paths: type: integer labels: type: array - items: *164 + items: *166 examples: default: value: @@ -23621,9 +23881,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#remove-a-custom-label-from-a-self-hosted-runner-for-an-organization parameters: - - *76 - - *160 - - &377 + - *78 + - *162 + - &379 name: name description: The name of a self-hosted runner's custom label. in: path @@ -23631,7 +23891,7 @@ paths: schema: type: string responses: - '200': *165 + '200': *167 '404': *6 '422': *7 x-github: @@ -23656,7 +23916,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-organization-secrets parameters: - - *76 + - *78 - *17 - *19 responses: @@ -23674,7 +23934,7 @@ paths: type: integer secrets: type: array - items: &166 + items: &168 title: Actions Secret for an Organization description: Secrets for GitHub Actions for an organization. type: object @@ -23724,7 +23984,7 @@ paths: visibility: selected selected_repositories_url: https://api.github.com/orgs/octo-org/actions/secrets/SUPER_SECRET/repositories headers: - Link: *68 + Link: *70 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -23747,13 +24007,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-an-organization-public-key parameters: - - *76 + - *78 responses: '200': description: Response content: application/json: - schema: &389 + schema: &391 title: ActionsPublicKey description: The public key used for setting Actions Secrets. type: object @@ -23782,7 +24042,7 @@ paths: - key_id - key examples: - default: &390 + default: &392 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -23807,8 +24067,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-an-organization-secret parameters: - - *76 - - &167 + - *78 + - &169 name: secret_name description: The name of the secret. in: path @@ -23820,7 +24080,7 @@ paths: description: Response content: application/json: - schema: *166 + schema: *168 examples: default: value: @@ -23850,8 +24110,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#create-or-update-an-organization-secret parameters: - - *76 - - *167 + - *78 + - *169 requestBody: required: true content: @@ -23908,7 +24168,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *168 + schema: *170 examples: default: value: @@ -23934,8 +24194,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#delete-an-organization-secret parameters: - - *76 - - *167 + - *78 + - *169 responses: '204': description: Response @@ -23961,8 +24221,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-selected-repositories-for-an-organization-secret parameters: - - *76 - - *167 + - *78 + - *169 - *19 - *17 responses: @@ -23980,9 +24240,9 @@ paths: type: integer repositories: type: array - items: *159 + items: *161 examples: - default: &171 + default: &173 value: total_count: 1 repositories: @@ -24074,8 +24334,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#set-selected-repositories-for-an-organization-secret parameters: - - *76 - - *167 + - *78 + - *169 requestBody: required: true content: @@ -24127,8 +24387,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#add-selected-repository-to-an-organization-secret parameters: - - *76 - - *167 + - *78 + - *169 - name: repository_id in: path required: true @@ -24161,8 +24421,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#remove-selected-repository-from-an-organization-secret parameters: - - *76 - - *167 + - *78 + - *169 - name: repository_id in: path required: true @@ -24194,8 +24454,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-organization-variables parameters: - - *76 - - &358 + - *78 + - &360 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/rest/using-the-rest-api/using-pagination-in-the-rest-api)." @@ -24219,7 +24479,7 @@ paths: type: integer variables: type: array - items: &169 + items: &171 title: Actions Variable for an Organization description: Organization variable for GitHub Actions. type: object @@ -24283,7 +24543,7 @@ paths: visibility: selected selected_repositories_url: https://api.github.com/orgs/octo-org/actions/variables/ADMIN_EMAIL/repositories headers: - Link: *68 + Link: *70 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -24304,7 +24564,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#create-an-organization-variable parameters: - - *76 + - *78 requestBody: required: true content: @@ -24352,7 +24612,7 @@ paths: description: Response when creating a variable content: application/json: - schema: *168 + schema: *170 examples: default: value: @@ -24377,8 +24637,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#get-an-organization-variable parameters: - - *76 - - &170 + - *78 + - &172 name: name description: The name of the variable. in: path @@ -24390,7 +24650,7 @@ paths: description: Response content: application/json: - schema: *169 + schema: *171 examples: default: value: @@ -24420,8 +24680,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#update-an-organization-variable parameters: - - *76 - - *170 + - *78 + - *172 requestBody: required: true content: @@ -24483,8 +24743,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#delete-an-organization-variable parameters: - - *76 - - *170 + - *78 + - *172 responses: '204': description: Response @@ -24510,8 +24770,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-selected-repositories-for-an-organization-variable parameters: - - *76 - - *170 + - *78 + - *172 - *19 - *17 responses: @@ -24529,9 +24789,9 @@ paths: type: integer repositories: type: array - items: *159 + items: *161 examples: - default: *171 + default: *173 '409': description: Response when the visibility of the variable is not set to `selected` @@ -24557,8 +24817,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#set-selected-repositories-for-an-organization-variable parameters: - - *76 - - *170 + - *78 + - *172 requestBody: required: true content: @@ -24607,8 +24867,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#add-selected-repository-to-an-organization-variable parameters: - - *76 - - *170 + - *78 + - *172 - name: repository_id in: path required: true @@ -24642,8 +24902,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#remove-selected-repository-from-an-organization-variable parameters: - - *76 - - *170 + - *78 + - *172 - name: repository_id in: path required: true @@ -24684,7 +24944,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/artifact-metadata#create-an-artifact-deployment-record parameters: - - *76 + - *78 requestBody: required: true content: @@ -24807,7 +25067,7 @@ paths: type: integer deployment_records: type: array - items: &172 + items: &174 title: Artifact Deployment Record description: Artifact Metadata Deployment Record type: object @@ -24853,7 +25113,7 @@ paths: required: - total_count examples: - default: &173 + default: &175 value: total_count: 1 deployment_records: @@ -24890,7 +25150,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/artifact-metadata#set-cluster-deployment-records parameters: - - *76 + - *78 - name: cluster in: path description: The cluster name. @@ -25033,11 +25293,11 @@ paths: type: integer deployment_records: type: array - items: *172 + items: *174 required: - total_count examples: - default: *173 + default: *175 '403': description: Forbidden content: @@ -25084,7 +25344,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/artifact-metadata#create-artifact-metadata-storage-record parameters: - - *76 + - *78 requestBody: required: true content: @@ -25247,7 +25507,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/artifact-metadata#list-artifact-deployment-records parameters: - - *76 + - *78 - name: subject_digest description: The SHA256 digest of the artifact, in the form `sha256:HEX_DIGEST`. in: path @@ -25272,9 +25532,9 @@ paths: type: integer deployment_records: type: array - items: *172 + items: *174 examples: - default: *173 + default: *175 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -25294,7 +25554,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/artifact-metadata#list-artifact-storage-records parameters: - - *76 + - *78 - name: subject_digest description: The parameter should be set to the attestation's subject's SHA256 digest, in the form `sha256:HEX_DIGEST`. @@ -25379,7 +25639,7 @@ paths: - *17 - *47 - *48 - - *76 + - *78 requestBody: required: true content: @@ -25403,12 +25663,12 @@ paths: required: - subject_digests examples: - default: &715 + default: &717 value: subject_digests: - sha256:abc123 - sha512:def456 - withPredicateType: &716 + withPredicateType: &718 value: subject_digests: - sha256:abc123 @@ -25452,7 +25712,7 @@ paths: description: The cursor to the previous page. description: Information about the current page. examples: - default: &717 + default: &719 value: attestations_subject_digests: - sha256:abc: @@ -25561,7 +25821,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/attestations#delete-attestations-in-bulk parameters: - - *76 + - *78 requestBody: required: true content: @@ -25626,7 +25886,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/attestations#delete-attestations-by-subject-digest parameters: - - *76 + - *78 - name: subject_digest description: Subject Digest in: path @@ -25661,7 +25921,7 @@ paths: - *17 - *47 - *48 - - *76 + - *78 - name: predicate_type description: |- Optional filter for fetching attestations with a given predicate type. @@ -25709,7 +25969,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/attestations#delete-attestations-by-id parameters: - - *76 + - *78 - name: attestation_id description: Attestation ID in: path @@ -25747,7 +26007,7 @@ paths: - *17 - *47 - *48 - - *76 + - *78 - name: subject_digest description: The parameter should be set to the attestation's subject's SHA256 digest, in the form `sha256:HEX_DIGEST`. @@ -25785,7 +26045,7 @@ paths: initiator: type: string examples: - default: &403 + default: &405 value: attestations: - bundle: @@ -25892,7 +26152,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/blocking#list-users-blocked-by-an-organization parameters: - - *76 + - *78 - *17 - *19 responses: @@ -25904,7 +26164,7 @@ paths: type: array items: *4 examples: - default: *71 + default: *73 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -25923,8 +26183,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/blocking#check-if-a-user-is-blocked-by-an-organization parameters: - - *76 - - *72 + - *78 + - *74 responses: '204': description: If the user is blocked @@ -25949,8 +26209,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/blocking#block-a-user-from-an-organization parameters: - - *76 - - *72 + - *78 + - *74 responses: '204': description: Response @@ -25970,8 +26230,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/blocking#unblock-a-user-from-an-organization parameters: - - *76 - - *72 + - *78 + - *74 responses: '204': description: Response @@ -25996,7 +26256,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/campaigns/campaigns#list-campaigns-for-an-organization parameters: - - *76 + - *78 - *19 - *17 - *62 @@ -26004,7 +26264,7 @@ paths: description: If specified, only campaigns with this state will be returned. in: query required: false - schema: &174 + schema: &176 title: Campaign state description: Indicates whether a campaign is open or closed type: string @@ -26030,7 +26290,7 @@ paths: application/json: schema: type: array - items: &175 + items: &177 title: Campaign summary description: The campaign metadata and alert stats. type: object @@ -26061,7 +26321,7 @@ paths: team_managers: description: The campaign team managers type: array - items: &195 + items: &197 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -26136,7 +26396,7 @@ paths: description: Groups of organization members that gives permissions on specified repositories. type: object - properties: &257 + properties: &259 id: description: Unique identifier of the team type: integer @@ -26208,7 +26468,7 @@ paths: description: Unique identifier of the enterprise to which this team belongs example: 42 - required: &258 + required: &260 - id - node_id - url @@ -26251,7 +26511,7 @@ paths: type: string format: date-time nullable: true - state: *174 + state: *176 contact_link: description: The contact link of the campaign. type: string @@ -26346,9 +26606,9 @@ paths: closed_at: state: open headers: - Link: *68 + Link: *70 '404': *6 - '503': *120 + '503': *122 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -26372,7 +26632,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/campaigns/campaigns#create-a-campaign-for-an-organization parameters: - - *76 + - *78 requestBody: required: true content: @@ -26471,9 +26731,9 @@ paths: description: Response content: application/json: - schema: *175 + schema: *177 examples: - default: &176 + default: &178 value: number: 3 created_at: '2024-02-14T12:29:18Z' @@ -26522,7 +26782,7 @@ paths: schema: *3 '429': description: Too Many Requests - '503': *120 + '503': *122 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -26544,7 +26804,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/campaigns/campaigns#get-a-campaign-for-an-organization parameters: - - *76 + - *78 - name: campaign_number description: The campaign number. in: path @@ -26556,16 +26816,16 @@ paths: description: Response content: application/json: - schema: *175 + schema: *177 examples: - default: *176 + default: *178 '404': *6 '422': description: Unprocessable Entity content: application/json: schema: *3 - '503': *120 + '503': *122 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -26586,7 +26846,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/campaigns/campaigns#update-a-campaign parameters: - - *76 + - *78 - name: campaign_number description: The campaign number. in: path @@ -26635,7 +26895,7 @@ paths: type: string format: uri nullable: true - state: *174 + state: *176 examples: default: value: @@ -26645,9 +26905,9 @@ paths: description: Response content: application/json: - schema: *175 + schema: *177 examples: - default: *176 + default: *178 '400': description: Bad Request content: @@ -26659,7 +26919,7 @@ paths: content: application/json: schema: *3 - '503': *120 + '503': *122 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -26680,7 +26940,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/campaigns/campaigns#delete-a-campaign-for-an-organization parameters: - - *76 + - *78 - name: campaign_number description: The campaign number. in: path @@ -26691,7 +26951,7 @@ paths: '204': description: Deletion successful '404': *6 - '503': *120 + '503': *122 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -26713,18 +26973,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-code-scanning-alerts-for-an-organization parameters: - - *76 - - &428 + - *78 + - &430 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: &184 + schema: &186 type: string description: The name of the tool used to generate the code scanning analysis. - - &429 + - &431 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 @@ -26732,7 +26992,7 @@ paths: or `tool_name`, but not both. in: query required: false - schema: &185 + schema: &187 nullable: true type: string description: The GUID of the tool used to generate the code scanning analysis, @@ -26747,7 +27007,7 @@ paths: be returned. in: query required: false - schema: &431 + schema: &433 type: string description: State of a code scanning alert. enum: @@ -26770,7 +27030,7 @@ paths: be returned. in: query required: false - schema: &432 + schema: &434 type: string description: Severity of a code scanning alert. enum: @@ -26799,18 +27059,18 @@ paths: items: type: object properties: - number: *177 - created_at: *178 - updated_at: *179 - url: *180 - html_url: *181 - instances_url: &433 + number: *179 + created_at: *180 + updated_at: *181 + url: *182 + html_url: *183 + instances_url: &435 type: string description: The REST API URL for fetching the list of instances for an alert. format: uri readOnly: true - state: &186 + state: &188 type: string description: State of a code scanning alert. nullable: true @@ -26818,7 +27078,7 @@ paths: - open - dismissed - fixed - fixed_at: *182 + fixed_at: *184 dismissed_by: title: Simple User description: A GitHub user. @@ -26826,8 +27086,8 @@ paths: properties: *20 required: *21 nullable: true - dismissed_at: *183 - dismissed_reason: &434 + dismissed_at: *185 + dismissed_reason: &436 type: string description: "**Required when the state is dismissed.** The reason for dismissing or closing the alert." @@ -26836,13 +27096,13 @@ paths: - false positive - won't fix - used in tests - dismissed_comment: &435 + dismissed_comment: &437 type: string description: The dismissal comment associated with the dismissal of the alert. nullable: true maxLength: 280 - rule: &436 + rule: &438 type: object properties: id: @@ -26895,42 +27155,42 @@ paths: type: string description: A link to the documentation for the rule used to detect the alert. - tool: &437 + tool: &439 type: object properties: - name: *184 + name: *186 version: nullable: true type: string description: The version of the tool used to generate the code scanning analysis. - guid: *185 - most_recent_instance: &438 + guid: *187 + most_recent_instance: &440 type: object properties: - ref: &430 + ref: &432 type: string description: |- The Git reference, formatted as `refs/pull//merge`, `refs/pull//head`, `refs/heads/` or simply ``. - analysis_key: &448 + analysis_key: &450 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. - environment: &449 + environment: &451 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. - category: &450 + category: &452 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. - state: *186 + state: *188 commit_sha: type: string message: @@ -26944,7 +27204,7 @@ paths: with placeholder links for related locations replaced by links to the relevant code. Only populated when related locations are available for the alert instance. - location: &451 + location: &453 type: object description: Describe a region within a file for the alert. properties: @@ -26965,7 +27225,7 @@ paths: description: |- Classifications that have been applied to the file that triggered the alert. For example identifying it as documentation, or a generated file. - items: &452 + items: &454 type: string description: A classification of the file. For example to identify it as generated. @@ -27230,9 +27490,9 @@ paths: trees_url: https://api.github.com/repos/octocat/Hello-World/git/trees{/sha} hooks_url: https://api.github.com/repos/octocat/Hello-World/hooks headers: - Link: *68 + Link: *70 '404': *6 - '503': *120 + '503': *122 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -27254,7 +27514,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#get-code-security-configurations-for-an-organization parameters: - - *76 + - *78 - name: target_type in: query description: The target type of the code security configuration @@ -27360,7 +27620,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#create-a-code-security-configuration parameters: - - *76 + - *78 requestBody: required: true content: @@ -27604,7 +27864,7 @@ paths: application/json: schema: *49 examples: - default: *187 + default: *189 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -27626,15 +27886,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#get-default-code-security-configurations parameters: - - *76 + - *78 responses: '200': description: Response content: application/json: - schema: *188 + schema: *190 examples: - default: *189 + default: *191 '304': *37 '403': *29 '404': *6 @@ -27660,7 +27920,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#detach-configurations-from-repositories parameters: - - *76 + - *78 requestBody: required: true content: @@ -27668,6 +27928,8 @@ paths: schema: type: object additionalProperties: false + required: + - selected_repository_ids properties: selected_repository_ids: type: array @@ -27712,7 +27974,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#get-a-code-security-configuration parameters: - - *76 + - *78 - *51 responses: '200': @@ -27721,7 +27983,7 @@ paths: application/json: schema: *49 examples: - default: *187 + default: *189 '304': *37 '403': *29 '404': *6 @@ -27745,7 +28007,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#update-a-code-security-configuration parameters: - - *76 + - *78 - *51 requestBody: required: true @@ -28025,7 +28287,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#delete-a-code-security-configuration parameters: - - *76 + - *78 - *51 responses: '204': *61 @@ -28056,7 +28318,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#attach-a-configuration-to-repositories parameters: - - *76 + - *78 - *51 requestBody: required: true @@ -28120,7 +28382,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#set-a-code-security-configuration-as-a-default-for-an-organization parameters: - - *76 + - *78 - *51 requestBody: required: true @@ -28166,7 +28428,7 @@ paths: default: value: default_for_new_repos: all - configuration: *187 + configuration: *189 '403': *29 '404': *6 x-github: @@ -28190,7 +28452,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#get-repositories-associated-with-a-code-security-configuration parameters: - - *76 + - *78 - *51 - name: per_page description: The number of results per page (max 100). For more information, @@ -28219,13 +28481,13 @@ paths: application/json: schema: type: array - items: *190 + items: *192 examples: default: summary: Example of code security configuration repositories value: - status: attached - repository: *191 + repository: *193 '403': *29 '404': *6 x-github: @@ -28249,7 +28511,7 @@ paths: parameters: - *17 - *19 - - *76 + - *78 responses: '200': description: Response @@ -28265,7 +28527,7 @@ paths: type: integer codespaces: type: array - items: &247 + items: &249 type: object title: Codespace description: A codespace. @@ -28290,12 +28552,12 @@ paths: nullable: true owner: *4 billable_owner: *4 - repository: *159 + repository: *161 machine: type: object title: Codespace machine description: A description of the machine powering a codespace. - properties: &464 + properties: &466 name: type: string description: The name of the machine. @@ -28337,7 +28599,7 @@ paths: - ready - in_progress nullable: true - required: &465 + required: &467 - name - display_name - operating_system @@ -28542,7 +28804,7 @@ paths: - pulls_url - recent_folders examples: - default: &248 + default: &250 value: total_count: 3 codespaces: @@ -28974,7 +29236,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organizations#manage-access-control-for-organization-codespaces parameters: - - *76 + - *78 deprecated: true requestBody: required: true @@ -29041,7 +29303,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organizations#add-users-to-codespaces-access-for-an-organization parameters: - - *76 + - *78 deprecated: true requestBody: required: true @@ -29096,7 +29358,7 @@ paths: url: https://docs.github.com/rest/codespaces/organizations#remove-users-from-codespaces-access-for-an-organization deprecated: true parameters: - - *76 + - *78 requestBody: required: true content: @@ -29148,7 +29410,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organization-secrets#list-organization-secrets parameters: - - *76 + - *78 - *17 - *19 responses: @@ -29166,7 +29428,7 @@ paths: type: integer secrets: type: array - items: &192 + items: &194 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -29205,7 +29467,7 @@ paths: - updated_at - visibility examples: - default: &466 + default: &468 value: total_count: 2 secrets: @@ -29218,7 +29480,7 @@ paths: updated_at: '2020-01-11T11:59:22Z' visibility: all headers: - Link: *68 + Link: *70 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -29237,13 +29499,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organization-secrets#get-an-organization-public-key parameters: - - *76 + - *78 responses: '200': description: Response content: application/json: - schema: &467 + schema: &469 title: CodespacesPublicKey description: The public key used for setting Codespaces secrets. type: object @@ -29272,7 +29534,7 @@ paths: - key_id - key examples: - default: &468 + default: &470 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -29295,23 +29557,23 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organization-secrets#get-an-organization-secret parameters: - - *76 - - *167 + - *78 + - *169 responses: '200': description: Response content: application/json: - schema: *192 + schema: *194 examples: - default: &470 + default: &472 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' updated_at: '2020-01-10T14:59:22Z' visibility: all headers: - Link: *68 + Link: *70 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -29331,8 +29593,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organization-secrets#create-or-update-an-organization-secret parameters: - - *76 - - *167 + - *78 + - *169 requestBody: required: true content: @@ -29387,7 +29649,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *168 + schema: *170 examples: default: value: @@ -29413,8 +29675,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organization-secrets#delete-an-organization-secret parameters: - - *76 - - *167 + - *78 + - *169 responses: '204': description: Response @@ -29439,8 +29701,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organization-secrets#list-selected-repositories-for-an-organization-secret parameters: - - *76 - - *167 + - *78 + - *169 - *19 - *17 responses: @@ -29458,9 +29720,9 @@ paths: type: integer repositories: type: array - items: *159 + items: *161 examples: - default: *171 + default: *173 '404': *6 x-github: githubCloudOnly: false @@ -29482,8 +29744,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organization-secrets#set-selected-repositories-for-an-organization-secret parameters: - - *76 - - *167 + - *78 + - *169 requestBody: required: true content: @@ -29533,8 +29795,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organization-secrets#add-selected-repository-to-an-organization-secret parameters: - - *76 - - *167 + - *78 + - *169 - name: repository_id in: path required: true @@ -29567,8 +29829,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organization-secrets#remove-selected-repository-from-an-organization-secret parameters: - - *76 - - *167 + - *78 + - *169 - name: repository_id in: path required: true @@ -29607,7 +29869,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-user-management#get-copilot-seat-information-and-settings-for-an-organization parameters: - - *76 + - *78 responses: '200': description: OK @@ -29748,7 +30010,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-user-management#list-all-copilot-seat-assignments-for-an-organization parameters: - - *76 + - *78 - *19 - name: per_page description: The number of results per page (max 100). For more information, @@ -29771,7 +30033,7 @@ paths: currently being billed. seats: type: array - items: &250 + items: &252 title: Copilot Business Seat Detail description: Information about a Copilot Business seat assignment for a user, team, or organization. @@ -29788,15 +30050,15 @@ paths: title: Organization Simple description: A GitHub organization. type: object - properties: *193 - required: *194 + properties: *195 + required: *196 nullable: true assigning_team: description: The team through which the assignee is granted access to GitHub Copilot, if applicable. oneOf: - - *195 - - *69 + - *197 + - *71 nullable: true pending_cancellation_date: type: string @@ -29920,7 +30182,7 @@ paths: type: User site_admin: false headers: - Link: *68 + Link: *70 '500': *55 '401': *25 '403': *29 @@ -29954,7 +30216,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-user-management#add-teams-to-the-copilot-subscription-for-an-organization parameters: - - *76 + - *78 requestBody: content: application/json: @@ -30032,7 +30294,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-user-management#remove-teams-from-the-copilot-subscription-for-an-organization parameters: - - *76 + - *78 requestBody: content: application/json: @@ -30112,7 +30374,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-user-management#add-users-to-the-copilot-subscription-for-an-organization parameters: - - *76 + - *78 requestBody: content: application/json: @@ -30189,7 +30451,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-user-management#remove-users-from-the-copilot-subscription-for-an-organization parameters: - - *76 + - *78 requestBody: content: application/json: @@ -30267,7 +30529,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-coding-agent-management#get-copilot-coding-agent-permissions-for-an-organization parameters: - - *76 + - *78 responses: '200': description: Response @@ -30332,7 +30594,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-coding-agent-management#set-copilot-coding-agent-permissions-for-an-organization parameters: - - *76 + - *78 requestBody: required: true content: @@ -30387,7 +30649,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-coding-agent-management#list-repositories-enabled-for-copilot-coding-agent-in-an-organization parameters: - - *76 + - *78 - *17 - *19 responses: @@ -30402,12 +30664,12 @@ paths: type: integer repositories: type: array - items: *159 + items: *161 required: - total_count - repositories examples: - default: *196 + default: *198 '500': *55 '401': *25 '403': *29 @@ -30436,7 +30698,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-coding-agent-management#set-selected-repositories-for-copilot-coding-agent-in-an-organization parameters: - - *76 + - *78 requestBody: required: true content: @@ -30492,8 +30754,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-coding-agent-management#enable-a-repository-for-copilot-coding-agent-in-an-organization parameters: - - *76 - - *148 + - *78 + - *150 responses: '204': description: No Content @@ -30526,8 +30788,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-coding-agent-management#disable-a-repository-for-copilot-coding-agent-in-an-organization parameters: - - *76 - - *148 + - *78 + - *150 responses: '204': description: No Content @@ -30566,7 +30828,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-content-exclusion-management#get-copilot-content-exclusion-rules-for-an-organization parameters: - - *76 + - *78 responses: '200': description: OK @@ -30619,7 +30881,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-content-exclusion-management#set-copilot-content-exclusion-rules-for-an-organization parameters: - - *76 + - *78 requestBody: description: The content exclusion rules to set required: true @@ -30710,7 +30972,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-metrics#get-copilot-metrics-for-an-organization parameters: - - *76 + - *78 - name: since description: Show usage metrics since this date. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format (`YYYY-MM-DDTHH:MM:SSZ`). @@ -30742,7 +31004,7 @@ paths: application/json: schema: type: array - items: &335 + items: &337 title: Copilot Usage Metrics description: Copilot usage metrics for a given day. type: object @@ -31049,7 +31311,7 @@ paths: - date additionalProperties: true examples: - default: &336 + default: &338 value: - date: '2024-06-24' total_active_users: 24 @@ -31151,7 +31413,7 @@ paths: '500': *55 '403': *29 '404': *6 - '422': &337 + '422': &339 description: Copilot Usage Metrics API setting is disabled at the organization or enterprise level. content: @@ -31182,7 +31444,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-usage-metrics#get-copilot-organization-usage-metrics-for-a-specific-day parameters: - - *76 + - *78 - *56 responses: '200': @@ -31221,7 +31483,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-usage-metrics#get-copilot-organization-usage-metrics parameters: - - *76 + - *78 responses: '200': description: Response @@ -31258,7 +31520,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-usage-metrics#get-copilot-organization-users-usage-metrics-for-a-specific-day parameters: - - *76 + - *78 - *56 responses: '200': @@ -31297,7 +31559,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-usage-metrics#get-copilot-organization-users-usage-metrics parameters: - - *76 + - *78 responses: '200': description: Response @@ -31330,13 +31592,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#list-dependabot-alerts-for-an-organization parameters: - - *76 - - *197 - - *198 + - *78 - *199 - *200 - *201 - *202 + - *203 + - *204 - name: artifact_registry_url in: query description: A comma-separated list of artifact registry URLs. If specified, @@ -31366,7 +31628,7 @@ paths: enum: - patch - deployment - - *203 + - *205 - name: runtime_risk in: query description: |- @@ -31375,8 +31637,8 @@ paths: Can be: `critical-resource`, `internet-exposed`, `sensitive-data`, `lateral-movement` schema: type: string - - *204 - - *205 + - *206 + - *207 - *62 - *47 - *48 @@ -31388,9 +31650,9 @@ paths: application/json: schema: type: array - items: *206 + items: *208 examples: - default: *207 + default: *209 '304': *37 '400': *14 '403': *29 @@ -31416,7 +31678,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/repository-access#lists-the-repositories-dependabot-can-access-in-an-organization parameters: - - *76 + - *78 - name: page in: query description: The page number of results to fetch. @@ -31439,104 +31701,9 @@ paths: description: Response content: application/json: - schema: - title: Dependabot Repository Access Details - description: Information about repositories that Dependabot is able - to access in an organization - type: object - properties: - default_level: - type: string - description: The default repository access level for Dependabot - updates. - enum: - - public - - internal - example: internal - nullable: true - accessible_repositories: - type: array - items: - title: Simple Repository - description: A GitHub repository. - type: object - properties: *208 - required: *209 - nullable: true - additionalProperties: false + schema: *210 examples: - default: - value: - default_level: public - accessible_repositories: - - id: 123456 - node_id: MDEwOlJlcG9zaXRvcnkxMjM0NTY= - name: example-repo - full_name: octocat/example-repo - owner: - name: octocat - email: octo@github.com - login: octocat - id: 1 - node_id: MDQ6VXNlcjE= - avatar_url: https://avatars.githubusercontent.com/u/1?v=4 - gravatar_id: 1 - url: https://api.github.com/users/octocat - html_url: https://github.com/octocat/example-repo - followers_url: https://api.github.com/users/octocat/followers - following_url: https://api.github.com/users/octocat/following{/other_user} - gists_url: https://api.github.com/users/octocat/gists{/gist_id} - starred_url: https://api.github.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 - starred_at: '"2020-07-09T00:17:55Z"' - user_view_type: default - private: false - html_url: https://github.com/octocat/example-repo - description: This is an example repository. - fork: false - url: https://api.github.com/repos/octocat/example-repo - archive_url: https://api.github.com/repos/octocat/example-repo/{archive_format}{/ref} - assignees_url: https://api.github.com/repos/octocat/example-repo/assignees{/user} - blobs_url: https://api.github.com/repos/octocat/example-repo/git/blobs{/sha} - branches_url: https://api.github.com/repos/octocat/example-repo/branches{/branch} - collaborators_url: https://api.github.com/repos/octocat/example-repo/collaborators{/collaborator} - comments_url: https://api.github.com/repos/octocat/example-repo/comments{/number} - commits_url: https://api.github.com/repos/octocat/example-repo/commits{/sha} - compare_url: https://api.github.com/repos/octocat/example-repo/compare/{base}...{head} - contents_url: https://api.github.com/repos/octocat/example-repo/contents/{+path} - contributors_url: https://api.github.com/repos/octocat/example-repo/contributors - deployments_url: https://api.github.com/repos/octocat/example-repo/deployments - downloads_url: https://api.github.com/repos/octocat/example-repo/downloads - events_url: https://api.github.com/repos/octocat/example-repo/events - forks_url: https://api.github.com/repos/octocat/example-repo/forks - git_commits_url: https://api.github.com/repos/octocat/example-repo/git/commits{/sha} - git_refs_url: https://api.github.com/repos/octocat/example-repo/git/refs{/sha} - git_tags_url: https://api.github.com/repos/octocat/example-repo/git/tags{/sha} - issue_comment_url: https://api.github.com/repos/octocat/example-repo/issues/comments{/number} - issue_events_url: https://api.github.com/repos/octocat/example-repo/issues/events{/number} - issues_url: https://api.github.com/repos/octocat/example-repo/issues{/number} - keys_url: https://api.github.com/repos/octocat/example-repo/keys{/key_id} - labels_url: https://api.github.com/repos/octocat/example-repo/labels{/name} - languages_url: https://api.github.com/repos/octocat/example-repo/languages - merges_url: https://api.github.com/repos/octocat/example-repo/merges - milestones_url: https://api.github.com/repos/octocat/example-repo/milestones{/number} - notifications_url: https://api.github.com/repos/octocat/example-repo/notifications{?since,all,participating} - pulls_url: https://api.github.com/repos/octocat/example-repo/pulls{/number} - releases_url: https://api.github.com/repos/octocat/example-repo/releases{/id} - stargazers_url: https://api.github.com/repos/octocat/example-repo/stargazers - statuses_url: https://api.github.com/repos/octocat/example-repo/statuses/{sha} - subscribers_url: https://api.github.com/repos/octocat/example-repo/subscribers - subscription_url: https://api.github.com/repos/octocat/example-repo/subscription - tags_url: https://api.github.com/repos/octocat/example-repo/tags - teams_url: https://api.github.com/repos/octocat/example-repo/teams - trees_url: https://api.github.com/repos/octocat/example-repo/git/trees{/sha} - hooks_url: https://api.github.com/repos/octocat/example-repo/hooks + default: *211 '403': *29 '404': *6 x-github: @@ -31567,7 +31734,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/repository-access#updates-dependabots-repository-access-list-for-an-organization parameters: - - *76 + - *78 requestBody: required: true content: @@ -31633,7 +31800,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/repository-access#set-the-default-repository-access-level-for-dependabot parameters: - - *76 + - *78 requestBody: required: true content: @@ -31681,7 +31848,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#list-organization-secrets parameters: - - *76 + - *78 - *17 - *19 responses: @@ -31699,7 +31866,7 @@ paths: type: integer secrets: type: array - items: &210 + items: &212 title: Dependabot Secret for an Organization description: Secrets for GitHub Dependabot for an organization. type: object @@ -31749,7 +31916,7 @@ paths: visibility: selected selected_repositories_url: https://api.github.com/orgs/octo-org/dependabot/secrets/SUPER_SECRET/repositories headers: - Link: *68 + Link: *70 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -31770,13 +31937,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#get-an-organization-public-key parameters: - - *76 + - *78 responses: '200': description: Response content: application/json: - schema: &501 + schema: &503 title: DependabotPublicKey description: The public key used for setting Dependabot Secrets. type: object @@ -31793,7 +31960,7 @@ paths: - key_id - key examples: - default: &502 + default: &504 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -31816,14 +31983,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#get-an-organization-secret parameters: - - *76 - - *167 + - *78 + - *169 responses: '200': description: Response content: application/json: - schema: *210 + schema: *212 examples: default: value: @@ -31851,8 +32018,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#create-or-update-an-organization-secret parameters: - - *76 - - *167 + - *78 + - *169 requestBody: required: true content: @@ -31907,7 +32074,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *168 + schema: *170 examples: default: value: @@ -31931,8 +32098,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#delete-an-organization-secret parameters: - - *76 - - *167 + - *78 + - *169 responses: '204': description: Response @@ -31956,8 +32123,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#list-selected-repositories-for-an-organization-secret parameters: - - *76 - - *167 + - *78 + - *169 - *19 - *17 responses: @@ -31975,9 +32142,9 @@ paths: type: integer repositories: type: array - items: *159 + items: *161 examples: - default: *171 + default: *173 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -31998,8 +32165,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#set-selected-repositories-for-an-organization-secret parameters: - - *76 - - *167 + - *78 + - *169 requestBody: required: true content: @@ -32049,8 +32216,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#add-selected-repository-to-an-organization-secret parameters: - - *76 - - *167 + - *78 + - *169 - name: repository_id in: path required: true @@ -32081,8 +32248,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#remove-selected-repository-from-an-organization-secret parameters: - - *76 - - *167 + - *78 + - *169 - name: repository_id in: path required: true @@ -32112,7 +32279,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-list-of-conflicting-packages-during-docker-migration-for-organization parameters: - - *76 + - *78 responses: '200': description: Response @@ -32120,7 +32287,7 @@ paths: application/json: schema: type: array - items: &260 + items: &262 title: Package description: A software package type: object @@ -32170,8 +32337,8 @@ paths: title: Minimal Repository description: Minimal Repository type: object - properties: *211 - required: *212 + properties: *213 + required: *214 nullable: true created_at: type: string @@ -32190,7 +32357,7 @@ paths: - created_at - updated_at examples: - default: &261 + default: &263 value: - id: 197 name: hello_docker @@ -32268,7 +32435,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-public-organization-events parameters: - - *76 + - *78 - *17 - *19 responses: @@ -32278,7 +32445,7 @@ paths: application/json: schema: type: array - items: *112 + items: *114 examples: 200-response: value: @@ -32350,7 +32517,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#list-failed-organization-invitations parameters: - - *76 + - *78 - *17 - *19 responses: @@ -32360,7 +32527,7 @@ paths: application/json: schema: type: array - items: &236 + items: &238 title: Organization Invitation description: Organization Invitation type: object @@ -32407,7 +32574,7 @@ paths: - invitation_teams_url - node_id examples: - default: &237 + default: &239 value: - id: 1 login: monalisa @@ -32440,7 +32607,7 @@ paths: invitation_teams_url: https://api.github.com/organizations/2/invitations/1/teams invitation_source: member headers: - Link: *68 + Link: *70 '404': *6 x-github: githubCloudOnly: false @@ -32464,7 +32631,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#list-organization-webhooks parameters: - - *76 + - *78 - *17 - *19 responses: @@ -32474,7 +32641,7 @@ paths: application/json: schema: type: array - items: &213 + items: &215 title: Org Hook description: Org Hook type: object @@ -32562,7 +32729,7 @@ paths: created_at: '2011-09-06T17:26:27Z' type: Organization headers: - Link: *68 + Link: *70 '404': *6 x-github: githubCloudOnly: false @@ -32585,7 +32752,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#create-an-organization-webhook parameters: - - *76 + - *78 requestBody: required: true content: @@ -32645,9 +32812,9 @@ paths: description: Response content: application/json: - schema: *213 + schema: *215 examples: - default: &214 + default: &216 value: id: 1 url: https://api.github.com/orgs/octocat/hooks/1 @@ -32694,8 +32861,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#get-an-organization-webhook parameters: - - *76 - - &215 + - *78 + - &217 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. @@ -32708,9 +32875,9 @@ paths: description: Response content: application/json: - schema: *213 + schema: *215 examples: - default: *214 + default: *216 '404': *6 x-github: githubCloudOnly: false @@ -32737,8 +32904,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#update-an-organization-webhook parameters: - - *76 - - *215 + - *78 + - *217 requestBody: required: false content: @@ -32783,7 +32950,7 @@ paths: description: Response content: application/json: - schema: *213 + schema: *215 examples: default: value: @@ -32824,8 +32991,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#delete-an-organization-webhook parameters: - - *76 - - *215 + - *78 + - *217 responses: '204': description: Response @@ -32852,8 +33019,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#get-a-webhook-configuration-for-an-organization parameters: - - *76 - - *215 + - *78 + - *217 responses: '200': description: Response @@ -32883,8 +33050,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#update-a-webhook-configuration-for-an-organization parameters: - - *76 - - *215 + - *78 + - *217 requestBody: required: false content: @@ -32934,11 +33101,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#list-deliveries-for-an-organization-webhook parameters: - - *76 - - *215 - - *17 - - *216 + - *78 - *217 + - *17 + - *218 + - *219 responses: '200': description: Response @@ -32946,9 +33113,9 @@ paths: application/json: schema: type: array - items: *218 + items: *220 examples: - default: *219 + default: *221 '400': *14 '422': *15 x-github: @@ -32973,17 +33140,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#get-a-webhook-delivery-for-an-organization-webhook parameters: - - *76 - - *215 + - *78 + - *217 - *16 responses: '200': description: Response content: application/json: - schema: *220 + schema: *222 examples: - default: *221 + default: *223 '400': *14 '422': *15 x-github: @@ -33008,8 +33175,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#redeliver-a-delivery-for-an-organization-webhook parameters: - - *76 - - *215 + - *78 + - *217 - *16 responses: '202': *39 @@ -33038,8 +33205,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#ping-an-organization-webhook parameters: - - *76 - - *215 + - *78 + - *217 responses: '204': description: Response @@ -33061,8 +33228,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/api-insights#get-route-stats-by-actor parameters: - - *76 - - &226 + - *78 + - &228 name: actor_type in: path description: The type of the actor @@ -33075,14 +33242,14 @@ paths: - fine_grained_pat - oauth_app - github_app_user_to_server - - &227 + - &229 name: actor_id in: path description: The ID of the actor required: true schema: type: integer - - &222 + - &224 name: min_timestamp description: 'The minimum timestamp to query for stats. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`.' @@ -33090,7 +33257,7 @@ paths: required: true schema: type: string - - &223 + - &225 name: max_timestamp description: 'The maximum timestamp to query for stats. Defaults to the time 30 days ago. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) @@ -33183,13 +33350,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/api-insights#get-subject-stats parameters: - - *76 - - *222 - - *223 + - *78 + - *224 + - *225 - *19 - *17 - *62 - - &232 + - &234 name: sort description: The property to sort the results by. in: query @@ -33266,15 +33433,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/api-insights#get-summary-stats parameters: - - *76 - - *222 - - *223 + - *78 + - *224 + - *225 responses: '200': description: Response content: application/json: - schema: &224 + schema: &226 title: Summary Stats description: API Insights usage summary stats for an organization type: object @@ -33290,7 +33457,7 @@ paths: type: integer format: int64 examples: - default: &225 + default: &227 value: total_request_count: 34225 rate_limited_request_count: 23 @@ -33310,24 +33477,24 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/api-insights#get-summary-stats-by-user parameters: - - *76 - - &228 + - *78 + - &230 name: user_id in: path description: The ID of the user to query for stats required: true schema: type: string - - *222 - - *223 + - *224 + - *225 responses: '200': description: Response content: application/json: - schema: *224 + schema: *226 examples: - default: *225 + default: *227 x-github: enabledForGitHubApps: true category: orgs @@ -33345,19 +33512,19 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/api-insights#get-summary-stats-by-actor parameters: - - *76 - - *222 - - *223 - - *226 - - *227 + - *78 + - *224 + - *225 + - *228 + - *229 responses: '200': description: Response content: application/json: - schema: *224 + schema: *226 examples: - default: *225 + default: *227 x-github: enabledForGitHubApps: true category: orgs @@ -33374,10 +33541,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/api-insights#get-time-stats parameters: - - *76 - - *222 - - *223 - - &229 + - *78 + - *224 + - *225 + - &231 name: timestamp_increment description: The increment of time used to breakdown the query results (5m, 10m, 1h, etc.) @@ -33390,7 +33557,7 @@ paths: description: Response content: application/json: - schema: &230 + schema: &232 title: Time Stats description: API Insights usage time stats for an organization type: array @@ -33406,7 +33573,7 @@ paths: type: integer format: int64 examples: - default: &231 + default: &233 value: - timestamp: '2024-09-11T15:00:00Z' total_request_count: 34225 @@ -33442,19 +33609,19 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/api-insights#get-time-stats-by-user parameters: - - *76 - - *228 - - *222 - - *223 - - *229 + - *78 + - *230 + - *224 + - *225 + - *231 responses: '200': description: Response content: application/json: - schema: *230 + schema: *232 examples: - default: *231 + default: *233 x-github: enabledForGitHubApps: true category: orgs @@ -33471,20 +33638,20 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/api-insights#get-time-stats-by-actor parameters: - - *76 - - *226 - - *227 - - *222 - - *223 + - *78 + - *228 - *229 + - *224 + - *225 + - *231 responses: '200': description: Response content: application/json: - schema: *230 + schema: *232 examples: - default: *231 + default: *233 x-github: enabledForGitHubApps: true category: orgs @@ -33501,14 +33668,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/api-insights#get-user-stats parameters: - - *76 - - *228 - - *222 - - *223 + - *78 + - *230 + - *224 + - *225 - *19 - *17 - *62 - - *232 + - *234 - name: actor_name_substring in: query description: Providing a substring will filter results where the actor name @@ -33581,7 +33748,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/apps/apps#get-an-organization-installation-for-the-authenticated-app parameters: - - *76 + - *78 responses: '200': description: Response @@ -33589,7 +33756,7 @@ paths: application/json: schema: *22 examples: - default: &541 + default: &543 value: id: 1 account: @@ -33658,7 +33825,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#list-app-installations-for-an-organization parameters: - - *76 + - *78 - *17 - *19 responses: @@ -33728,7 +33895,7 @@ paths: suspended_at: suspended_by: headers: - Link: *68 + Link: *70 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -33747,7 +33914,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/orgs#get-interaction-restrictions-for-an-organization parameters: - - *76 + - *78 responses: '200': description: Response @@ -33755,12 +33922,12 @@ paths: application/json: schema: anyOf: - - &234 + - &236 title: Interaction Limits description: Interaction limit settings. type: object properties: - limit: &233 + limit: &235 type: string description: The type of GitHub user that can comment, open issues, or create pull requests while the interaction limit @@ -33785,7 +33952,7 @@ paths: properties: {} additionalProperties: false examples: - default: &235 + default: &237 value: limit: collaborators_only origin: organization @@ -33809,18 +33976,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/orgs#set-interaction-restrictions-for-an-organization parameters: - - *76 + - *78 requestBody: required: true content: application/json: - schema: &542 + schema: &544 title: Interaction Restrictions description: Limit interactions to a specific type of user for a specified duration type: object properties: - limit: *233 + limit: *235 expiry: type: string description: 'The duration of the interaction restriction. Default: @@ -33844,9 +34011,9 @@ paths: description: Response content: application/json: - schema: *234 + schema: *236 examples: - default: *235 + default: *237 '422': *15 x-github: githubCloudOnly: false @@ -33864,7 +34031,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/orgs#remove-interaction-restrictions-for-an-organization parameters: - - *76 + - *78 responses: '204': description: Response @@ -33888,7 +34055,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#list-pending-organization-invitations parameters: - - *76 + - *78 - *17 - *19 - name: role @@ -33922,11 +34089,11 @@ paths: application/json: schema: type: array - items: *236 + items: *238 examples: - default: *237 + default: *239 headers: - Link: *68 + Link: *70 '404': *6 x-github: githubCloudOnly: false @@ -33947,7 +34114,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#create-an-organization-invitation parameters: - - *76 + - *78 requestBody: required: false content: @@ -34001,7 +34168,7 @@ paths: description: Response content: application/json: - schema: *236 + schema: *238 examples: default: value: @@ -34055,8 +34222,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#cancel-an-organization-invitation parameters: - - *76 - - &238 + - *78 + - &240 name: invitation_id description: The unique identifier of the invitation. in: path @@ -34086,8 +34253,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#list-organization-invitation-teams parameters: - - *76 - - *238 + - *78 + - *240 - *17 - *19 responses: @@ -34097,9 +34264,9 @@ paths: application/json: schema: type: array - items: *195 + items: *197 examples: - default: &259 + default: &261 value: - id: 1 node_id: MDQ6VGVhbTE= @@ -34115,7 +34282,7 @@ paths: repositories_url: https://api.github.com/teams/1/repos parent: headers: - Link: *68 + Link: *70 '404': *6 x-github: githubCloudOnly: false @@ -34134,7 +34301,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/issue-fields#list-issue-fields-for-an-organization parameters: - - *76 + - *78 responses: '200': description: Response @@ -34142,7 +34309,7 @@ paths: application/json: schema: type: array - items: &239 + items: &241 title: Issue Field description: A custom attribute defined at the organization level for attaching structured data to issues. @@ -34285,7 +34452,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/issue-fields#create-issue-field-for-an-organization parameters: - - *76 + - *78 requestBody: required: true content: @@ -34375,9 +34542,9 @@ paths: description: Response content: application/json: - schema: *239 + schema: *241 examples: - default: &240 + default: &242 value: id: 512 node_id: IF_kwDNAd3NAZr @@ -34432,8 +34599,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/issue-fields#update-issue-field-for-an-organization parameters: - - *76 - - &241 + - *78 + - &243 name: issue_field_id description: The unique identifier of the issue field. in: path @@ -34541,9 +34708,9 @@ paths: description: Response content: application/json: - schema: *239 + schema: *241 examples: - default: *240 + default: *242 '404': *6 '422': *7 x-github: @@ -34567,8 +34734,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/issue-fields#delete-issue-field-for-an-organization parameters: - - *76 - - *241 + - *78 + - *243 responses: '204': *61 '404': *6 @@ -34590,7 +34757,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/issue-types#list-issue-types-for-an-organization parameters: - - *76 + - *78 responses: '200': description: Response @@ -34598,7 +34765,7 @@ paths: application/json: schema: type: array - items: *242 + items: *244 examples: default: value: @@ -34636,7 +34803,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/issue-types#create-issue-type-for-an-organization parameters: - - *76 + - *78 requestBody: required: true content: @@ -34683,9 +34850,9 @@ paths: description: Response content: application/json: - schema: *242 + schema: *244 examples: - default: &243 + default: &245 value: id: 410 node_id: IT_kwDNAd3NAZo @@ -34717,8 +34884,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/issue-types#update-issue-type-for-an-organization parameters: - - *76 - - &244 + - *78 + - &246 name: issue_type_id description: The unique identifier of the issue type. in: path @@ -34771,9 +34938,9 @@ paths: description: Response content: application/json: - schema: *242 + schema: *244 examples: - default: *243 + default: *245 '404': *6 '422': *7 x-github: @@ -34797,8 +34964,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/issue-types#delete-issue-type-for-an-organization parameters: - - *76 - - *244 + - *78 + - *246 responses: '204': description: Response @@ -34831,7 +34998,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#list-organization-issues-assigned-to-the-authenticated-user parameters: - - *76 + - *78 - name: filter description: Indicates which sorts of issues to return. `assigned` means issues assigned to you. `created` means issues created by you. `mentioned` means @@ -34861,7 +35028,7 @@ paths: - closed - all default: open - - *245 + - *247 - name: type description: Can be the name of an issue type. in: query @@ -34880,7 +35047,7 @@ paths: - comments default: created - *62 - - *93 + - *95 - *17 - *19 responses: @@ -34890,11 +35057,11 @@ paths: application/json: schema: type: array - items: *86 + items: *88 examples: - default: *246 + default: *248 headers: - Link: *68 + Link: *70 '404': *6 x-github: githubCloudOnly: false @@ -34914,7 +35081,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#list-organization-members parameters: - - *76 + - *78 - name: filter description: Filter members returned in the list. `2fa_disabled` means that only members without [two-factor authentication](https://github.com/blog/1614-two-factor-authentication) @@ -34952,9 +35119,9 @@ paths: type: array items: *4 examples: - default: *71 + default: *73 headers: - Link: *68 + Link: *70 '422': *15 x-github: githubCloudOnly: false @@ -34972,8 +35139,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#check-organization-membership-for-a-user parameters: - - *76 - - *72 + - *78 + - *74 responses: '204': description: Response if requester is an organization member and user is @@ -35007,8 +35174,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#remove-an-organization-member parameters: - - *76 - - *72 + - *78 + - *74 responses: '204': description: Response @@ -35035,8 +35202,8 @@ paths: parameters: - *17 - *19 - - *76 - - *72 + - *78 + - *74 responses: '200': description: Response @@ -35052,9 +35219,9 @@ paths: type: integer codespaces: type: array - items: *247 + items: *249 examples: - default: *248 + default: *250 '304': *37 '500': *55 '401': *25 @@ -35079,9 +35246,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organizations#delete-a-codespace-from-the-organization parameters: - - *76 - - *72 - - &249 + - *78 + - *74 + - &251 name: codespace_name in: path required: true @@ -35114,17 +35281,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organizations#stop-a-codespace-for-an-organization-user parameters: - - *76 - - *72 - - *249 + - *78 + - *74 + - *251 responses: '200': description: Response content: application/json: - schema: *247 + schema: *249 examples: - default: &463 + default: &465 value: id: 1 name: monalisa-octocat-hello-world-g4wpq6h95q @@ -35297,14 +35464,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-user-management#get-copilot-seat-assignment-details-for-a-user parameters: - - *76 - - *72 + - *78 + - *74 responses: '200': description: The user's GitHub Copilot seat details, including usage. content: application/json: - schema: *250 + schema: *252 examples: default: value: @@ -35373,14 +35540,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#get-organization-membership-for-a-user parameters: - - *76 - - *72 + - *78 + - *74 responses: '200': description: Response content: application/json: - schema: &251 + schema: &253 title: Org Membership description: Org Membership type: object @@ -35424,7 +35591,7 @@ paths: type: string format: uri example: https://api.github.com/orgs/octocat - organization: *74 + organization: *76 user: title: Simple User description: A GitHub user. @@ -35447,7 +35614,7 @@ paths: - organization - user examples: - response-if-user-has-an-active-admin-membership-with-organization: &252 + response-if-user-has-an-active-admin-membership-with-organization: &254 summary: Response if user has an active admin membership with organization value: url: https://api.github.com/orgs/octocat/memberships/defunkt @@ -35519,8 +35686,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#set-organization-membership-for-a-user parameters: - - *76 - - *72 + - *78 + - *74 requestBody: required: false content: @@ -35548,9 +35715,9 @@ paths: description: Response content: application/json: - schema: *251 + schema: *253 examples: - response-if-user-already-had-membership-with-organization: *252 + response-if-user-already-had-membership-with-organization: *254 '422': *15 '403': *29 '451': *15 @@ -35575,8 +35742,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#remove-organization-membership-for-a-user parameters: - - *76 - - *72 + - *78 + - *74 responses: '204': description: Response @@ -35601,7 +35768,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/orgs#list-organization-migrations parameters: - - *76 + - *78 - *17 - *19 - name: exclude @@ -35622,7 +35789,7 @@ paths: application/json: schema: type: array - items: &253 + items: &255 title: Migration description: A migration. type: object @@ -35859,7 +36026,7 @@ paths: updated_at: '2015-07-06T15:33:38-07:00' node_id: MDQ6VXNlcjE= headers: - Link: *68 + Link: *70 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -35875,7 +36042,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/orgs#start-an-organization-migration parameters: - - *76 + - *78 requestBody: required: true content: @@ -35951,7 +36118,7 @@ paths: description: Response content: application/json: - schema: *253 + schema: *255 examples: default: value: @@ -36129,8 +36296,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/orgs#get-an-organization-migration-status parameters: - - *76 - - &254 + - *78 + - &256 name: migration_id description: The unique identifier of the migration. in: path @@ -36157,7 +36324,7 @@ paths: * `failed`, which means the migration failed. content: application/json: - schema: *253 + schema: *255 examples: default: value: @@ -36326,8 +36493,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/orgs#download-an-organization-migration-archive parameters: - - *76 - - *254 + - *78 + - *256 responses: '302': description: Response @@ -36348,8 +36515,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/orgs#delete-an-organization-migration-archive parameters: - - *76 - - *254 + - *78 + - *256 responses: '204': description: Response @@ -36372,9 +36539,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/orgs#unlock-an-organization-repository parameters: - - *76 - - *254 - - &697 + - *78 + - *256 + - &699 name: repo_name description: repo_name parameter in: path @@ -36401,8 +36568,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/orgs#list-repositories-in-an-organization-migration parameters: - - *76 - - *254 + - *78 + - *256 - *17 - *19 responses: @@ -36414,7 +36581,7 @@ paths: type: array items: *67 headers: - Link: *68 + Link: *70 '404': *6 x-github: githubCloudOnly: false @@ -36440,7 +36607,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#get-all-organization-roles-for-an-organization parameters: - - *76 + - *78 responses: '200': description: Response - list of organization roles @@ -36456,7 +36623,7 @@ paths: roles: type: array description: The list of organization roles available to the organization. - items: &256 + items: &258 title: Organization Role description: Organization roles type: object @@ -36603,8 +36770,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#remove-all-organization-roles-for-a-team parameters: - - *76 - *78 + - *80 responses: '204': description: Response @@ -36629,9 +36796,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#assign-an-organization-role-to-a-team parameters: - - *76 - *78 - - &255 + - *80 + - &257 name: role_id description: The unique identifier of the role. in: path @@ -36666,9 +36833,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#remove-an-organization-role-from-a-team parameters: - - *76 - *78 - - *255 + - *80 + - *257 responses: '204': description: Response @@ -36693,8 +36860,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#remove-all-organization-roles-for-a-user parameters: - - *76 - - *72 + - *78 + - *74 responses: '204': description: Response @@ -36719,9 +36886,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#assign-an-organization-role-to-a-user parameters: - - *76 - - *72 - - *255 + - *78 + - *74 + - *257 responses: '204': description: Response @@ -36751,9 +36918,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#remove-an-organization-role-from-a-user parameters: - - *76 - - *72 - - *255 + - *78 + - *74 + - *257 responses: '204': description: Response @@ -36781,14 +36948,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#get-an-organization-role parameters: - - *76 - - *255 + - *78 + - *257 responses: '200': description: Response content: application/json: - schema: *256 + schema: *258 examples: default: value: @@ -36838,8 +37005,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#list-teams-that-are-assigned-to-an-organization-role parameters: - - *76 - - *255 + - *78 + - *257 - *17 - *19 responses: @@ -36917,8 +37084,8 @@ paths: description: Groups of organization members that gives permissions on specified repositories. type: object - properties: *257 - required: *258 + properties: *259 + required: *260 nullable: true type: description: The ownership type of the team @@ -36950,9 +37117,9 @@ paths: - type - parent examples: - default: *259 + default: *261 headers: - Link: *68 + Link: *70 '404': description: Response if the organization or role does not exist. '422': @@ -36979,8 +37146,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#list-users-that-are-assigned-to-an-organization-role parameters: - - *76 - - *255 + - *78 + - *257 - *17 - *19 responses: @@ -37008,13 +37175,13 @@ paths: inherited_from: description: Team the user has gotten the role through type: array - items: &331 + items: &333 title: Team Simple description: Groups of organization members that gives permissions on specified repositories. type: object - properties: *257 - required: *258 + properties: *259 + required: *260 name: nullable: true type: string @@ -37109,9 +37276,9 @@ paths: - type - url examples: - default: *71 + default: *73 headers: - Link: *68 + Link: *70 '404': description: Response if the organization or role does not exist. '422': @@ -37133,7 +37300,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/outside-collaborators#list-outside-collaborators-for-an-organization parameters: - - *76 + - *78 - name: filter description: Filter the list of outside collaborators. `2fa_disabled` means that only outside collaborators without [two-factor authentication](https://github.com/blog/1614-two-factor-authentication) @@ -37160,9 +37327,9 @@ paths: type: array items: *4 examples: - default: *71 + default: *73 headers: - Link: *68 + Link: *70 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -37185,8 +37352,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/outside-collaborators#convert-an-organization-member-to-outside-collaborator parameters: - - *76 - - *72 + - *78 + - *74 requestBody: required: false content: @@ -37243,8 +37410,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/outside-collaborators#remove-outside-collaborator-from-an-organization parameters: - - *76 - - *72 + - *78 + - *74 responses: '204': description: Response @@ -37301,8 +37468,8 @@ paths: - docker - nuget - container - - *76 - - &698 + - *78 + - &700 name: visibility description: |- The selected visibility of the packages. This parameter is optional and only filters an existing result set. @@ -37338,12 +37505,12 @@ paths: application/json: schema: type: array - items: *260 + items: *262 examples: - default: *261 + default: *263 '403': *29 '401': *25 - '400': &700 + '400': &702 description: The value of `per_page` multiplied by `page` cannot be greater than 10000. x-github: @@ -37365,7 +37532,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-for-an-organization parameters: - - &262 + - &264 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 @@ -37383,20 +37550,20 @@ paths: - docker - nuget - container - - &263 + - &265 name: package_name description: The name of the package. in: path required: true schema: type: string - - *76 + - *78 responses: '200': description: Response content: application/json: - schema: *260 + schema: *262 examples: default: value: @@ -37448,9 +37615,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-a-package-for-an-organization parameters: - - *262 - - *263 - - *76 + - *264 + - *265 + - *78 responses: '204': description: Response @@ -37482,9 +37649,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-a-package-for-an-organization parameters: - - *262 - - *263 - - *76 + - *264 + - *265 + - *78 - name: token description: package token schema: @@ -37516,9 +37683,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#list-package-versions-for-a-package-owned-by-an-organization parameters: - - *262 - - *263 - - *76 + - *264 + - *265 + - *78 - *19 - *17 - name: state @@ -37538,7 +37705,7 @@ paths: application/json: schema: type: array - items: &264 + items: &266 title: Package Version description: A version of a software package type: object @@ -37663,10 +37830,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-version-for-an-organization parameters: - - *262 - - *263 - - *76 - - &265 + - *264 + - *265 + - *78 + - &267 name: package_version_id description: Unique identifier of the package version. in: path @@ -37678,7 +37845,7 @@ paths: description: Response content: application/json: - schema: *264 + schema: *266 examples: default: value: @@ -37714,10 +37881,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-package-version-for-an-organization parameters: - - *262 - - *263 - - *76 + - *264 - *265 + - *78 + - *267 responses: '204': description: Response @@ -37749,10 +37916,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-package-version-for-an-organization parameters: - - *262 - - *263 - - *76 + - *264 - *265 + - *78 + - *267 responses: '204': description: Response @@ -37779,10 +37946,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/personal-access-tokens#list-requests-to-access-organization-resources-with-fine-grained-personal-access-tokens parameters: - - *76 + - *78 - *17 - *19 - - &266 + - &268 name: sort description: The property by which to sort the results. in: query @@ -37793,7 +37960,7 @@ paths: - created_at default: created_at - *62 - - &267 + - &269 name: owner description: A list of owner usernames to use to filter the results. in: query @@ -37804,7 +37971,7 @@ paths: items: type: string example: owner[]=octocat1,owner[]=octocat2 - - &268 + - &270 name: repository description: The name of the repository to use to filter the results. in: query @@ -37812,7 +37979,7 @@ paths: schema: type: string example: Hello-World - - &269 + - &271 name: permission description: The permission to use to filter the results. in: query @@ -37820,7 +37987,7 @@ paths: schema: type: string example: issues_read - - &270 + - &272 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) @@ -37830,7 +37997,7 @@ paths: schema: type: string format: date-time - - &271 + - &273 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) @@ -37840,7 +38007,7 @@ paths: schema: type: string format: date-time - - &272 + - &274 name: token_id description: The ID of the token in: query @@ -37984,7 +38151,7 @@ paths: token_expires_at: '2023-11-16T08:47:09.000-07:00' token_last_used_at: headers: - Link: *68 + Link: *70 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -38004,7 +38171,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/personal-access-tokens#review-requests-to-access-organization-resources-with-fine-grained-personal-access-tokens parameters: - - *76 + - *78 requestBody: required: true content: @@ -38070,7 +38237,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/personal-access-tokens#review-a-request-to-access-organization-resources-with-a-fine-grained-personal-access-token parameters: - - *76 + - *78 - name: pat_request_id in: path description: Unique identifier of the request for access via fine-grained @@ -38131,7 +38298,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/personal-access-tokens#list-repositories-requested-to-be-accessed-by-a-fine-grained-personal-access-token parameters: - - *76 + - *78 - name: pat_request_id in: path description: Unique identifier of the request for access via fine-grained @@ -38151,9 +38318,9 @@ paths: application/json: schema: type: array - items: *159 + items: *161 examples: - default: &273 + default: &275 value: - id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -38266,7 +38433,7 @@ paths: secret_scanning_delegated_alert_dismissal: status: disabled headers: - Link: *68 + Link: *70 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -38287,17 +38454,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/personal-access-tokens#list-fine-grained-personal-access-tokens-with-access-to-organization-resources parameters: - - *76 + - *78 - *17 - *19 - - *266 - - *62 - - *267 - *268 + - *62 - *269 - *270 - *271 - *272 + - *273 + - *274 responses: '500': *55 '422': *15 @@ -38426,7 +38593,7 @@ paths: token_expires_at: '2023-11-16T08:47:09.000-07:00' token_last_used_at: headers: - Link: *68 + Link: *70 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -38446,7 +38613,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/personal-access-tokens#update-the-access-to-organization-resources-via-fine-grained-personal-access-tokens parameters: - - *76 + - *78 requestBody: required: true content: @@ -38506,7 +38673,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/personal-access-tokens#update-the-access-a-fine-grained-personal-access-token-has-to-organization-resources parameters: - - *76 + - *78 - name: pat_id description: The unique identifier of the fine-grained personal access token. in: path @@ -38558,7 +38725,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/personal-access-tokens#list-repositories-a-fine-grained-personal-access-token-has-access-to parameters: - - *76 + - *78 - name: pat_id in: path description: Unique identifier of the fine-grained personal access token. @@ -38577,11 +38744,11 @@ paths: application/json: schema: type: array - items: *159 + items: *161 examples: - default: *273 + default: *275 headers: - Link: *68 + Link: *70 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -38603,7 +38770,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/private-registries/organization-configurations#list-private-registries-for-an-organization parameters: - - *76 + - *78 - *17 - *19 responses: @@ -38621,7 +38788,7 @@ paths: type: integer configurations: type: array - items: &274 + items: &276 title: Organization private registry description: Private registry configuration for an organization type: object @@ -38750,7 +38917,7 @@ paths: updated_at: '2020-01-10T14:59:22Z' visibility: selected headers: - Link: *68 + Link: *70 '400': *14 '404': *6 x-github: @@ -38773,7 +38940,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/private-registries/organization-configurations#create-a-private-registry-for-an-organization parameters: - - *76 + - *78 requestBody: required: true content: @@ -39092,7 +39259,7 @@ paths: - created_at - updated_at examples: - org-private-registry-with-selected-visibility: &275 + org-private-registry-with-selected-visibility: &277 value: name: MAVEN_REPOSITORY_SECRET registry_type: maven_repository @@ -39133,7 +39300,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/private-registries/organization-configurations#get-private-registries-public-key-for-an-organization parameters: - - *76 + - *78 responses: '200': description: Response @@ -39159,7 +39326,7 @@ paths: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 headers: - Link: *68 + Link: *70 '404': *6 x-github: githubCloudOnly: false @@ -39181,16 +39348,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/private-registries/organization-configurations#get-a-private-registry-for-an-organization parameters: - - *76 - - *167 + - *78 + - *169 responses: '200': description: The specified private registry configuration for the organization content: application/json: - schema: *274 + schema: *276 examples: - default: *275 + default: *277 '404': *6 x-github: githubCloudOnly: false @@ -39212,8 +39379,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/private-registries/organization-configurations#update-a-private-registry-for-an-organization parameters: - - *76 - - *167 + - *78 + - *169 requestBody: required: true content: @@ -39389,8 +39556,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/private-registries/organization-configurations#delete-a-private-registry-for-an-organization parameters: - - *76 - - *167 + - *78 + - *169 responses: '204': description: Response @@ -39413,7 +39580,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/projects#list-projects-for-organization parameters: - - *76 + - *78 - name: q description: Limit results to projects of the specified type. in: query @@ -39430,7 +39597,7 @@ paths: application/json: schema: type: array - items: &276 + items: &278 title: Projects v2 Project description: A projects v2 project type: object @@ -39500,7 +39667,7 @@ paths: title: Projects v2 Status Update description: An status update belonging to a project type: object - properties: &789 + properties: &791 id: type: number description: The unique identifier of the status update. @@ -39548,7 +39715,7 @@ paths: example: The project is off to a great start! type: string nullable: true - required: &790 + required: &792 - id - node_id - created_at @@ -39573,7 +39740,7 @@ paths: - deleted_at - deleted_by examples: - default: &277 + default: &279 value: id: 2 node_id: MDc6UHJvamVjdDEwMDI2MDM= @@ -39656,7 +39823,7 @@ paths: updated_at: '2025-07-11T16:19:28Z' is_template: true headers: - Link: *68 + Link: *70 '304': *37 '403': *29 '401': *25 @@ -39676,24 +39843,24 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/projects#get-project-for-organization parameters: - - &278 + - &280 name: project_number description: The project's number. in: path required: true schema: type: integer - - *76 + - *78 responses: '200': description: Response content: application/json: - schema: *276 + schema: *278 examples: - default: *277 + default: *279 headers: - Link: *68 + Link: *70 '304': *37 '403': *29 '401': *25 @@ -39713,8 +39880,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/drafts#create-draft-item-for-organization-owned-project parameters: - - *76 - - *278 + - *78 + - *280 requestBody: required: true description: Details of the draft item to create in the project. @@ -39748,7 +39915,7 @@ paths: description: Response content: application/json: - schema: &284 + schema: &286 title: Projects v2 Item description: An item belonging to a project type: object @@ -39761,8 +39928,8 @@ paths: description: The node ID of the project item. content: oneOf: - - *86 - - &480 + - *88 + - &482 title: Pull Request Simple description: Pull Request Simple type: object @@ -39868,8 +40035,8 @@ paths: title: Milestone description: A collection of related issues and pull requests. type: object - properties: *279 - required: *280 + properties: *281 + required: *282 nullable: true active_lock_reason: type: string @@ -39901,7 +40068,7 @@ paths: items: *4 requested_teams: type: array - items: *195 + items: *197 head: type: object properties: @@ -39909,7 +40076,7 @@ paths: type: string ref: type: string - repo: *80 + repo: *82 sha: type: string user: @@ -39932,7 +40099,7 @@ paths: type: string ref: type: string - repo: *80 + repo: *82 sha: type: string user: @@ -39951,7 +40118,7 @@ paths: _links: type: object properties: - comments: &281 + comments: &283 title: Link description: Hypermedia Link type: object @@ -39960,13 +40127,13 @@ paths: type: string required: - href - commits: *281 - statuses: *281 - html: *281 - issue: *281 - review_comments: *281 - review_comment: *281 - self: *281 + commits: *283 + statuses: *283 + html: *283 + issue: *283 + review_comments: *283 + review_comment: *283 + self: *283 required: - comments - commits @@ -39976,8 +40143,8 @@ paths: - review_comments - review_comment - self - author_association: *83 - auto_merge: &593 + author_association: *85 + auto_merge: &595 title: Auto merge description: The status of auto merging a pull request. type: object @@ -40077,7 +40244,7 @@ paths: - created_at - updated_at description: The content represented by the item. - content_type: &283 + content_type: &285 title: Projects v2 Item Content Type description: The type of content tracked in a project item type: string @@ -40117,7 +40284,7 @@ paths: - updated_at - archived_at examples: - draft_issue: &285 + draft_issue: &287 value: id: 17 node_id: PVTI_lADOANN5s84ACbL0zgBueEI @@ -40191,8 +40358,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/fields#list-project-fields-for-organization parameters: - - *278 - - *76 + - *280 + - *78 - *17 - *47 - *48 @@ -40203,7 +40370,7 @@ paths: application/json: schema: type: array - items: &282 + items: &284 title: Projects v2 Field description: A field inside a projects v2 project type: object @@ -40353,7 +40520,7 @@ paths: - updated_at - project_url examples: - default: &720 + default: &722 value: - id: 12345 node_id: PVTF_lADOABCD1234567890 @@ -40464,7 +40631,7 @@ paths: created_at: '2022-06-20T16:45:00Z' updated_at: '2022-06-20T16:45:00Z' headers: - Link: *68 + Link: *70 '304': *37 '403': *29 '401': *25 @@ -40483,8 +40650,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/fields#add-a-field-to-an-organization-owned-project parameters: - - *278 - - *76 + - *280 + - *78 requestBody: required: true content: @@ -40530,7 +40697,7 @@ paths: description: The options available for single select fields. At least one option must be provided when creating a single select field. - items: &721 + items: &723 type: object properties: name: @@ -40567,7 +40734,7 @@ paths: description: The field's data type. enum: - iteration - iteration_configuration: &722 + iteration_configuration: &724 type: object description: The configuration for iteration fields. properties: @@ -40617,7 +40784,7 @@ paths: value: name: Due date data_type: date - single_select_field: &723 + single_select_field: &725 summary: Create a single select field value: name: Priority @@ -40644,7 +40811,7 @@ paths: description: raw: High priority items html: High priority items - iteration_field: &724 + iteration_field: &726 summary: Create an iteration field value: name: Sprint @@ -40668,9 +40835,9 @@ paths: description: Response for adding a field to an organization-owned project. content: application/json: - schema: *282 + schema: *284 examples: - text_field: &725 + text_field: &727 value: id: 24680 node_id: PVTF_lADOABCD2468024680 @@ -40679,7 +40846,7 @@ paths: project_url: https://api.github.com/projects/67890 created_at: '2022-05-15T08:00:00Z' updated_at: '2022-05-15T08:00:00Z' - number_field: &726 + number_field: &728 value: id: 13579 node_id: PVTF_lADOABCD1357913579 @@ -40688,7 +40855,7 @@ paths: project_url: https://api.github.com/projects/67890 created_at: '2022-06-01T14:30:00Z' updated_at: '2022-06-01T14:30:00Z' - date_field: &727 + date_field: &729 value: id: 98765 node_id: PVTF_lADOABCD9876598765 @@ -40697,7 +40864,7 @@ paths: project_url: https://api.github.com/projects/67890 created_at: '2022-06-10T09:15:00Z' updated_at: '2022-06-10T09:15:00Z' - single_select_field: &728 + single_select_field: &730 value: id: 12345 node_id: PVTF_lADOABCD1234567890 @@ -40731,7 +40898,7 @@ paths: raw: High priority items created_at: '2022-04-28T12:00:00Z' updated_at: '2022-04-28T12:00:00Z' - iteration_field: &729 + iteration_field: &731 value: id: 11223 node_id: PVTF_lADOABCD1122311223 @@ -40776,23 +40943,23 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/fields#get-project-field-for-organization parameters: - - *278 - - &730 + - *280 + - &732 name: field_id description: The unique identifier of the field. in: path required: true schema: type: integer - - *76 + - *78 responses: '200': description: Response content: application/json: - schema: *282 + schema: *284 examples: - default: &731 + default: &733 value: id: 12345 node_id: PVTF_lADOABCD1234567890 @@ -40827,7 +40994,7 @@ paths: created_at: '2022-04-28T12:00:00Z' updated_at: '2022-04-28T12:00:00Z' headers: - Link: *68 + Link: *70 '304': *37 '403': *29 '401': *25 @@ -40848,8 +41015,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#list-items-for-an-organization-owned-project parameters: - - *278 - - *76 + - *280 + - *78 - name: q description: Search query to filter items, see [Filtering projects](https://docs.github.com/issues/planning-and-tracking-with-projects/customizing-views-in-your-project/filtering-projects) for more information. @@ -40881,7 +41048,7 @@ paths: application/json: schema: type: array - items: &286 + items: &288 title: Projects v2 Item description: An item belonging to a project type: object @@ -40897,7 +41064,7 @@ paths: format: uri example: https://api.github.com/users/monalisa/2/projectsV2/3 description: The API URL of the project that contains this item. - content_type: *283 + content_type: *285 content: type: object additionalProperties: true @@ -40940,7 +41107,7 @@ paths: - updated_at - archived_at examples: - default: &287 + default: &289 value: id: 13 node_id: PVTI_lAAFAQ0 @@ -41617,7 +41784,7 @@ paths: data_type: sub_issues_progress value: headers: - Link: *68 + Link: *70 '304': *37 '403': *29 '401': *25 @@ -41637,8 +41804,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#add-item-to-organization-owned-project parameters: - - *76 - - *278 + - *78 + - *280 requestBody: required: true description: Details of the item to add to the project. You can specify either @@ -41708,22 +41875,22 @@ paths: description: Response content: application/json: - schema: *284 + schema: *286 examples: issue_with_id: summary: Response for adding an issue using its unique ID - value: *285 + value: *287 pull_request_with_id: summary: Response for adding a pull request using its unique ID - value: *285 + value: *287 issue_with_nwo: summary: Response for adding an issue using repository owner, name, and issue number - value: *285 + value: *287 pull_request_with_nwo: summary: Response for adding a pull request using repository owner, name, and PR number - value: *285 + value: *287 '304': *37 '403': *29 '401': *25 @@ -41743,9 +41910,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#get-an-item-for-an-organization-owned-project parameters: - - *278 - - *76 - - &288 + - *280 + - *78 + - &290 name: item_id description: The unique identifier of the project item. in: path @@ -41771,11 +41938,11 @@ paths: description: Response content: application/json: - schema: *286 + schema: *288 examples: - default: *287 + default: *289 headers: - Link: *68 + Link: *70 '304': *37 '403': *29 '401': *25 @@ -41794,9 +41961,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#update-project-item-for-organization parameters: - - *278 - - *76 - - *288 + - *280 + - *78 + - *290 requestBody: required: true description: Field updates to apply to the project item. Only text, number, @@ -41866,13 +42033,13 @@ paths: description: Response content: application/json: - schema: *286 + schema: *288 examples: - text_field: *287 - number_field: *287 - date_field: *287 - single_select_field: *287 - iteration_field: *287 + text_field: *289 + number_field: *289 + date_field: *289 + single_select_field: *289 + iteration_field: *289 '401': *25 '403': *29 '404': *6 @@ -41892,9 +42059,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#delete-project-item-for-organization parameters: - - *278 - - *76 - - *288 + - *280 + - *78 + - *290 responses: '204': description: Response @@ -41917,8 +42084,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/views#create-a-view-for-an-organization-owned-project parameters: - - *76 - - *278 + - *78 + - *280 requestBody: required: true content: @@ -41989,7 +42156,7 @@ paths: description: Response for creating a view in an organization-owned project. content: application/json: - schema: &712 + schema: &714 title: Projects v2 View description: A view inside a projects v2 project type: object @@ -42087,7 +42254,7 @@ paths: examples: table_view: summary: Response for creating a table view - value: &289 + value: &291 value: id: 1 number: 1 @@ -42133,10 +42300,10 @@ paths: - 456 board_view: summary: Response for creating a board view with filter - value: *289 + value: *291 roadmap_view: summary: Response for creating a roadmap view - value: *289 + value: *291 '304': *37 '403': *29 '401': *25 @@ -42164,9 +42331,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#list-items-for-an-organization-project-view parameters: - - *278 - - *76 - - &732 + - *280 + - *78 + - &734 name: view_number description: The number that identifies the project view. in: path @@ -42198,11 +42365,11 @@ paths: application/json: schema: type: array - items: *286 + items: *288 examples: - default: *287 + default: *289 headers: - Link: *68 + Link: *70 '304': *37 '403': *29 '401': *25 @@ -42225,7 +42392,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/custom-properties#get-all-custom-properties-for-an-organization parameters: - - *76 + - *78 responses: '200': description: Response @@ -42233,7 +42400,7 @@ paths: application/json: schema: type: array - items: &290 + items: &292 title: Organization Custom Property description: Custom property defined on an organization type: object @@ -42301,7 +42468,7 @@ paths: - property_name - value_type examples: - default: &291 + default: &293 value: - property_name: environment url: https://api.github.com/orgs/github/properties/schema/environment @@ -42350,7 +42517,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/custom-properties#create-or-update-custom-properties-for-an-organization parameters: - - *76 + - *78 requestBody: required: true content: @@ -42361,7 +42528,7 @@ paths: properties: type: array description: The array of custom properties to create or update. - items: *290 + items: *292 minItems: 1 maxItems: 100 required: @@ -42391,9 +42558,9 @@ paths: application/json: schema: type: array - items: *290 + items: *292 examples: - default: *291 + default: *293 '403': *29 '404': *6 x-github: @@ -42414,8 +42581,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/custom-properties#get-a-custom-property-for-an-organization parameters: - - *76 - - &292 + - *78 + - &294 name: custom_property_name description: The custom property name in: path @@ -42427,9 +42594,9 @@ paths: description: Response content: application/json: - schema: *290 + schema: *292 examples: - default: &293 + default: &295 value: property_name: environment url: https://api.github.com/orgs/github/properties/schema/environment @@ -42463,8 +42630,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/custom-properties#create-or-update-a-custom-property-for-an-organization parameters: - - *76 - - *292 + - *78 + - *294 requestBody: required: true content: @@ -42535,9 +42702,9 @@ paths: description: Response content: application/json: - schema: *290 + schema: *292 examples: - default: *293 + default: *295 '403': *29 '404': *6 x-github: @@ -42560,8 +42727,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/custom-properties#remove-a-custom-property-for-an-organization parameters: - - *76 - - *292 + - *78 + - *294 responses: '204': *61 '403': *29 @@ -42584,7 +42751,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/custom-properties#list-custom-property-values-for-organization-repositories parameters: - - *76 + - *78 - *17 - *19 - name: repository_query @@ -42622,7 +42789,7 @@ paths: example: octocat/Hello-World properties: type: array - items: &294 + items: &296 title: Custom Property Value description: Custom property name and associated value type: object @@ -42661,7 +42828,7 @@ paths: - property_name: team value: octocat headers: - Link: *68 + Link: *70 '403': *29 '404': *6 x-github: @@ -42689,7 +42856,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/custom-properties#create-or-update-custom-property-values-for-organization-repositories parameters: - - *76 + - *78 requestBody: required: true content: @@ -42709,7 +42876,7 @@ paths: type: array description: List of custom property names and associated values to apply to the repositories. - items: *294 + items: *296 required: - repository_names - properties @@ -42750,7 +42917,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#list-public-organization-members parameters: - - *76 + - *78 - *17 - *19 responses: @@ -42762,9 +42929,9 @@ paths: type: array items: *4 examples: - default: *71 + default: *73 headers: - Link: *68 + Link: *70 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -42781,8 +42948,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#check-public-organization-membership-for-a-user parameters: - - *76 - - *72 + - *78 + - *74 responses: '204': description: Response if user is a public member @@ -42806,8 +42973,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#set-public-organization-membership-for-the-authenticated-user parameters: - - *76 - - *72 + - *78 + - *74 responses: '204': description: Response @@ -42828,8 +42995,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#remove-public-organization-membership-for-the-authenticated-user parameters: - - *76 - - *72 + - *78 + - *74 responses: '204': description: Response @@ -42853,7 +43020,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-organization-repositories parameters: - - *76 + - *78 - name: type description: Specifies the types of repositories you want returned. in: query @@ -42899,11 +43066,11 @@ paths: application/json: schema: type: array - items: *159 + items: *161 examples: - default: *273 + default: *275 headers: - Link: *68 + Link: *70 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -42922,7 +43089,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#create-an-organization-repository parameters: - - *76 + - *78 requestBody: required: true content: @@ -43103,7 +43270,7 @@ paths: description: Response content: application/json: - schema: &345 + schema: &347 title: Full Repository description: Full Repository type: object @@ -43388,8 +43555,8 @@ paths: title: Repository description: A repository on GitHub. type: object - properties: *295 - required: *296 + properties: *297 + required: *298 nullable: true temp_clone_token: type: string @@ -43473,8 +43640,8 @@ paths: title: License Simple description: License Simple type: object - properties: *89 - required: *90 + properties: *91 + required: *92 nullable: true organization: title: Simple User @@ -43483,8 +43650,8 @@ paths: properties: *20 required: *21 nullable: true - parent: *80 - source: *80 + parent: *82 + source: *82 forks: type: integer master_branch: @@ -43501,7 +43668,7 @@ paths: title: Code Of Conduct Simple description: Code of Conduct Simple type: object - properties: &485 + properties: &487 url: type: string format: uri @@ -43517,12 +43684,12 @@ paths: nullable: true format: uri example: https://github.com/github/docs/blob/main/CODE_OF_CONDUCT.md - required: &486 + required: &488 - url - key - name - html_url - security_and_analysis: *297 + security_and_analysis: *299 custom_properties: type: object description: The custom properties that were defined for the repository. @@ -43606,7 +43773,7 @@ paths: - network_count - subscribers_count examples: - default: &347 + default: &349 value: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -44124,10 +44291,10 @@ paths: category: orgs subcategory: rules parameters: - - *76 + - *78 - *17 - *19 - - &615 + - &617 name: targets description: | A comma-separated list of rule targets to filter by. @@ -44145,7 +44312,7 @@ paths: application/json: schema: type: array - items: &324 + items: &326 title: Repository ruleset type: object description: A set of rules to apply when specified conditions are @@ -44180,7 +44347,7 @@ paths: source: type: string description: The name of the source - enforcement: &300 + enforcement: &302 type: string description: The enforcement level of the ruleset. `evaluate` allows admins to test rules before enforcing them. Admins @@ -44193,7 +44360,7 @@ paths: bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: &301 + items: &303 title: Repository Ruleset Bypass Actor type: object description: An actor that can bypass rules in a ruleset @@ -44263,7 +44430,7 @@ paths: conditions: nullable: true anyOf: - - &298 + - &300 title: Repository ruleset conditions for ref names type: object description: Parameters for a repository ruleset ref name @@ -44287,7 +44454,7 @@ paths: match. items: type: string - - &302 + - &304 title: Organization ruleset conditions type: object description: |- @@ -44301,7 +44468,7 @@ paths: description: Conditions to target repositories by name and refs by name allOf: - - *298 + - *300 - title: Repository ruleset conditions for repository names type: object description: Parameters for a repository name condition @@ -44335,7 +44502,7 @@ paths: description: Conditions to target repositories by id and refs by name allOf: - - *298 + - *300 - title: Repository ruleset conditions for repository IDs type: object description: Parameters for a repository ID condition @@ -44357,7 +44524,7 @@ paths: description: Conditions to target repositories by property and refs by name allOf: - - *298 + - *300 - title: Repository ruleset conditions for repository properties type: object description: Parameters for a repository property condition @@ -44370,7 +44537,7 @@ paths: description: The repository properties and values to include. All of these properties must match for the condition to pass. - items: &299 + items: &301 title: Repository ruleset property targeting definition type: object @@ -44403,17 +44570,17 @@ paths: description: The repository properties and values to exclude. The condition will not pass if any of these properties match. - items: *299 + items: *301 required: - repository_property rules: type: array - items: &616 + items: &618 title: Repository Rule type: object description: A repository rule. oneOf: - - &303 + - &305 title: creation description: Only allow users with bypass permission to create matching refs. @@ -44425,7 +44592,7 @@ paths: type: string enum: - creation - - &304 + - &306 title: update description: Only allow users with bypass permission to update matching refs. @@ -44446,7 +44613,7 @@ paths: repository required: - update_allows_fetch_and_merge - - &305 + - &307 title: deletion description: Only allow users with bypass permissions to delete matching refs. @@ -44458,7 +44625,7 @@ paths: type: string enum: - deletion - - &306 + - &308 title: required_linear_history description: Prevent merge commits from being pushed to matching refs. @@ -44470,7 +44637,7 @@ paths: type: string enum: - required_linear_history - - &614 + - &616 title: merge_queue description: Merges must be performed via a merge queue. type: object @@ -44548,7 +44715,7 @@ paths: - merge_method - min_entries_to_merge - min_entries_to_merge_wait_minutes - - &307 + - &309 title: required_deployments description: Choose which environments must be successfully deployed to before refs can be pushed into a ref that @@ -44572,7 +44739,7 @@ paths: type: string required: - required_deployment_environments - - &308 + - &310 title: required_signatures description: Commits pushed to matching refs must have verified signatures. @@ -44584,7 +44751,7 @@ paths: type: string enum: - required_signatures - - &309 + - &311 title: pull_request description: Require all commits be made to a non-target branch and submitted via a pull request before they can @@ -44690,7 +44857,7 @@ paths: - require_last_push_approval - required_approving_review_count - required_review_thread_resolution - - &310 + - &312 title: required_status_checks description: Choose which status checks must pass before the ref is updated. When enabled, commits must first be @@ -44738,7 +44905,7 @@ paths: required: - required_status_checks - strict_required_status_checks_policy - - &311 + - &313 title: non_fast_forward description: Prevent users with push access from force pushing to refs. @@ -44750,7 +44917,7 @@ paths: type: string enum: - non_fast_forward - - &312 + - &314 title: commit_message_pattern description: Parameters to be used for the commit_message_pattern rule @@ -44787,7 +44954,7 @@ paths: required: - operator - pattern - - &313 + - &315 title: commit_author_email_pattern description: Parameters to be used for the commit_author_email_pattern rule @@ -44824,7 +44991,7 @@ paths: required: - operator - pattern - - &314 + - &316 title: committer_email_pattern description: Parameters to be used for the committer_email_pattern rule @@ -44861,7 +45028,7 @@ paths: required: - operator - pattern - - &315 + - &317 title: branch_name_pattern description: Parameters to be used for the branch_name_pattern rule @@ -44898,7 +45065,7 @@ paths: required: - operator - pattern - - &316 + - &318 title: tag_name_pattern description: Parameters to be used for the tag_name_pattern rule @@ -44935,7 +45102,7 @@ paths: required: - operator - pattern - - &317 + - &319 title: file_path_restriction description: Prevent commits that include changes in specified file and folder paths from being pushed to the commit @@ -44960,7 +45127,7 @@ paths: type: string required: - restricted_file_paths - - &318 + - &320 title: max_file_path_length description: Prevent commits that include file paths that exceed the specified character limit from being pushed @@ -44984,7 +45151,7 @@ paths: maximum: 32767 required: - max_file_path_length - - &319 + - &321 title: file_extension_restriction description: Prevent commits that include files with specified file extensions from being pushed to the commit graph. @@ -45007,7 +45174,7 @@ paths: type: string required: - restricted_file_extensions - - &320 + - &322 title: max_file_size description: Prevent commits with individual files that exceed the specified limit from being pushed to the commit @@ -45032,7 +45199,7 @@ paths: maximum: 100 required: - max_file_size - - &321 + - &323 title: workflows description: Require all changes made to a targeted branch to pass the specified workflows before they can be merged. @@ -45082,7 +45249,7 @@ paths: - repository_id required: - workflows - - &322 + - &324 title: code_scanning description: Choose which tools must provide code scanning results before the reference is updated. When configured, @@ -45143,7 +45310,7 @@ paths: - tool required: - code_scanning_tools - - &323 + - &325 title: copilot_code_review description: Request Copilot code review for new pull requests automatically if the author has access to Copilot code @@ -45221,7 +45388,7 @@ paths: category: orgs subcategory: rules parameters: - - *76 + - *78 requestBody: description: Request body required: true @@ -45242,22 +45409,20 @@ paths: - push - repository default: branch - enforcement: *300 + enforcement: *302 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *301 - conditions: *302 + items: *303 + conditions: *304 rules: type: array description: An array of rules within the ruleset. - items: &326 + items: &328 title: Repository Rule type: object description: A repository rule. oneOf: - - *303 - - *304 - *305 - *306 - *307 @@ -45277,6 +45442,8 @@ paths: - *321 - *322 - *323 + - *324 + - *325 required: - name - enforcement @@ -45314,9 +45481,9 @@ paths: description: Response content: application/json: - schema: *324 + schema: *326 examples: - default: &325 + default: &327 value: id: 21 name: super cool ruleset @@ -45371,8 +45538,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/rule-suites#list-organization-rule-suites parameters: - - *76 - - &617 + - *78 + - &619 name: ref description: The name of the ref. Cannot contain wildcard characters. Optionally prefix with `refs/heads/` to limit to branches or `refs/tags/` to limit @@ -45387,7 +45554,7 @@ paths: in: query schema: type: string - - &618 + - &620 name: time_period description: |- The time period to filter by. @@ -45403,14 +45570,14 @@ paths: - week - month default: day - - &619 + - &621 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 - - &620 + - &622 name: rule_suite_result description: The rule suite results to filter on. When specified, only suites with this result will be returned. @@ -45430,7 +45597,7 @@ paths: description: Response content: application/json: - schema: &621 + schema: &623 title: Rule Suites description: Response type: array @@ -45485,7 +45652,7 @@ paths: whether rules would pass or fail if all rules in the rule suite were `active`. examples: - default: &622 + default: &624 value: - id: 21 actor_id: 12 @@ -45528,8 +45695,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/rule-suites#get-an-organization-rule-suite parameters: - - *76 - - &623 + - *78 + - &625 name: rule_suite_id description: |- The unique identifier of the rule suite result. @@ -45545,7 +45712,7 @@ paths: description: Response content: application/json: - schema: &624 + schema: &626 title: Rule Suite description: Response type: object @@ -45644,7 +45811,7 @@ paths: description: The detailed failure message for the rule. Null if the rule passed. examples: - default: &625 + default: &627 value: id: 21 actor_id: 12 @@ -45705,7 +45872,7 @@ paths: category: orgs subcategory: rules parameters: - - *76 + - *78 - name: ruleset_id description: The ID of the ruleset. in: path @@ -45717,9 +45884,9 @@ paths: description: Response content: application/json: - schema: *324 + schema: *326 examples: - default: *325 + default: *327 '404': *6 '500': *55 put: @@ -45737,7 +45904,7 @@ paths: category: orgs subcategory: rules parameters: - - *76 + - *78 - name: ruleset_id description: The ID of the ruleset. in: path @@ -45763,16 +45930,16 @@ paths: - tag - push - repository - enforcement: *300 + enforcement: *302 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *301 - conditions: *302 + items: *303 + conditions: *304 rules: description: An array of rules within the ruleset. type: array - items: *326 + items: *328 examples: default: value: @@ -45807,9 +45974,9 @@ paths: description: Response content: application/json: - schema: *324 + schema: *326 examples: - default: *325 + default: *327 '404': *6 '422': *15 '500': *55 @@ -45828,7 +45995,7 @@ paths: category: orgs subcategory: rules parameters: - - *76 + - *78 - name: ruleset_id description: The ID of the ruleset. in: path @@ -45851,7 +46018,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/rules#get-organization-ruleset-history parameters: - - *76 + - *78 - *17 - *19 - name: ruleset_id @@ -45867,7 +46034,7 @@ paths: application/json: schema: type: array - items: &327 + items: &329 title: Ruleset version type: object description: The historical version of a ruleset @@ -45891,7 +46058,7 @@ paths: type: string format: date-time examples: - default: &627 + default: &629 value: - version_id: 3 actor: @@ -45926,7 +46093,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/rules#get-organization-ruleset-version parameters: - - *76 + - *78 - name: ruleset_id description: The ID of the ruleset. in: path @@ -45944,9 +46111,9 @@ paths: description: Response content: application/json: - schema: &628 + schema: &630 allOf: - - *327 + - *329 - type: object required: - state @@ -46015,8 +46182,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-organization parameters: - - *76 - - &629 + - *78 + - &631 name: state in: query description: Set to `open` or `resolved` to only list secret scanning alerts @@ -46027,7 +46194,7 @@ paths: enum: - open - resolved - - &630 + - &632 name: secret_type in: query description: A comma-separated list of secret types to return. All default @@ -46037,7 +46204,7 @@ paths: required: false schema: type: string - - &631 + - &633 name: exclude_secret_types in: query description: A comma-separated list of secret types to exclude from the results. @@ -46048,7 +46215,7 @@ paths: required: false schema: type: string - - &632 + - &634 name: exclude_providers in: query description: |- @@ -46059,7 +46226,7 @@ paths: required: false schema: type: string - - &633 + - &635 name: providers in: query description: |- @@ -46070,7 +46237,7 @@ paths: required: false schema: type: string - - &634 + - &636 name: resolution in: query description: A comma-separated list of resolutions. Only secret scanning alerts @@ -46079,7 +46246,7 @@ paths: required: false schema: type: string - - &635 + - &637 name: assignee in: query description: Filters alerts by assignee. Use `*` to get all assigned alerts, @@ -46098,7 +46265,7 @@ paths: all-unassigned: value: none summary: Filter for all unassigned alerts - - &636 + - &638 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. @@ -46113,7 +46280,7 @@ paths: - *62 - *19 - *17 - - &637 + - &639 name: before description: A cursor, as given in the [Link header](https://docs.github.com/rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for events before this cursor. To @@ -46123,7 +46290,7 @@ paths: required: false schema: type: string - - &638 + - &640 name: after description: A cursor, as given in the [Link header](https://docs.github.com/rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for events after this cursor. To @@ -46133,7 +46300,7 @@ paths: required: false schema: type: string - - &639 + - &641 name: validity in: query description: A comma-separated list of validities that, when present, will @@ -46142,7 +46309,7 @@ paths: required: false schema: type: string - - &640 + - &642 name: is_publicly_leaked in: query description: A boolean value representing whether or not to filter alerts @@ -46151,7 +46318,7 @@ paths: schema: type: boolean default: false - - &641 + - &643 name: is_multi_repo in: query description: A boolean value representing whether or not to filter alerts @@ -46160,7 +46327,7 @@ paths: schema: type: boolean default: false - - &642 + - &644 name: hide_secret in: query description: A boolean value representing whether or not to hide literal secrets @@ -46179,8 +46346,8 @@ paths: items: type: object properties: - number: *177 - created_at: *178 + number: *179 + created_at: *180 updated_at: type: string description: 'The time that the alert was last updated in ISO @@ -46188,21 +46355,21 @@ paths: format: date-time readOnly: true nullable: true - url: *180 - html_url: *181 + url: *182 + html_url: *183 locations_url: type: string format: uri description: The REST API URL of the code locations for this alert. - state: &643 + state: &645 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 - resolution: &644 + resolution: &646 type: string description: "**Required when the `state` is `resolved`.** The reason for resolving the alert." @@ -46319,8 +46486,8 @@ paths: pull request. ' - oneOf: &645 - - &647 + oneOf: &647 + - &649 description: Represents a 'commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository. @@ -46378,7 +46545,7 @@ paths: - blob_url - commit_sha - commit_url - - &648 + - &650 description: Represents a 'wiki_commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository wiki. @@ -46433,7 +46600,7 @@ paths: - page_url - commit_sha - commit_url - - &649 + - &651 description: Represents an 'issue_title' secret scanning location type. This location type shows that a secret was detected in the title of an issue. @@ -46453,7 +46620,7 @@ paths: example: https://github.com/octocat/Hello-World/issues/1 required: - issue_title_url - - &650 + - &652 description: Represents an 'issue_body' secret scanning location type. This location type shows that a secret was detected in the body of an issue. @@ -46473,7 +46640,7 @@ paths: example: https://github.com/octocat/Hello-World/issues/1 required: - issue_body_url - - &651 + - &653 description: Represents an 'issue_comment' secret scanning location type. This location type shows that a secret was detected in a comment on an issue. @@ -46493,7 +46660,7 @@ paths: example: https://github.com/octocat/Hello-World/issues/1#issuecomment-1081119451 required: - issue_comment_url - - &652 + - &654 description: Represents a 'discussion_title' secret scanning location type. This location type shows that a secret was detected in the title of a discussion. @@ -46507,7 +46674,7 @@ paths: example: https://github.com/community/community/discussions/39082 required: - discussion_title_url - - &653 + - &655 description: Represents a 'discussion_body' secret scanning location type. This location type shows that a secret was detected in the body of a discussion. @@ -46521,7 +46688,7 @@ paths: example: https://github.com/community/community/discussions/39082#discussion-4566270 required: - discussion_body_url - - &654 + - &656 description: Represents a 'discussion_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a discussion. @@ -46535,7 +46702,7 @@ paths: example: https://github.com/community/community/discussions/39082#discussioncomment-4158232 required: - discussion_comment_url - - &655 + - &657 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. @@ -46555,7 +46722,7 @@ paths: example: https://github.com/octocat/Hello-World/pull/2846 required: - pull_request_title_url - - &656 + - &658 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. @@ -46575,7 +46742,7 @@ paths: example: https://github.com/octocat/Hello-World/pull/2846 required: - pull_request_body_url - - &657 + - &659 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. @@ -46595,7 +46762,7 @@ paths: example: https://github.com/octocat/Hello-World/pull/2846#issuecomment-1081119451 required: - pull_request_comment_url - - &658 + - &660 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. @@ -46615,7 +46782,7 @@ paths: example: https://github.com/octocat/Hello-World/pull/2846#pullrequestreview-80 required: - pull_request_review_url - - &659 + - &661 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. @@ -46839,9 +47006,9 @@ paths: type: User site_admin: false headers: - Link: *68 + Link: *70 '404': *6 - '503': *120 + '503': *122 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -46866,7 +47033,7 @@ paths: category: secret-scanning subcategory: push-protection parameters: - - *76 + - *78 responses: '200': description: Response @@ -46878,7 +47045,7 @@ paths: related to push protection. type: object properties: - pattern_config_version: &329 + pattern_config_version: &331 type: string description: The version of the entity. This is used to confirm you're updating the current version of the entity and mitigate @@ -46887,7 +47054,7 @@ paths: provider_pattern_overrides: type: array description: Overrides for partner patterns. - items: &328 + items: &330 type: object properties: token_type: @@ -46953,7 +47120,7 @@ paths: custom_pattern_overrides: type: array description: Overrides for custom patterns defined by the organization. - items: *328 + items: *330 examples: default: value: @@ -47002,7 +47169,7 @@ paths: category: secret-scanning subcategory: push-protection parameters: - - *76 + - *78 requestBody: required: true content: @@ -47010,7 +47177,7 @@ paths: schema: type: object properties: - pattern_config_version: *329 + pattern_config_version: *331 provider_pattern_settings: type: array description: Pattern settings for provider patterns. @@ -47036,7 +47203,7 @@ paths: token_type: type: string description: The ID of the pattern to configure. - custom_pattern_version: *329 + custom_pattern_version: *331 push_protection_setting: type: string description: Push protection setting to set for the pattern. @@ -47090,7 +47257,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#list-repository-security-advisories-for-an-organization parameters: - - *76 + - *78 - *62 - name: sort description: The property to sort the results by. @@ -47134,7 +47301,7 @@ paths: application/json: schema: type: array - items: &663 + items: &665 description: A repository security advisory. type: object properties: @@ -47336,7 +47503,7 @@ paths: login: type: string description: The username of the user credited. - type: *330 + type: *332 credits_detailed: type: array nullable: true @@ -47346,7 +47513,7 @@ paths: type: object properties: user: *4 - type: *330 + type: *332 state: type: string description: The state of the user's acceptance of the @@ -47370,7 +47537,7 @@ paths: type: array description: A list of teams that collaborate on the advisory. nullable: true - items: *195 + items: *197 private_fork: readOnly: true nullable: true @@ -47406,7 +47573,7 @@ paths: - private_fork additionalProperties: false examples: - default: &664 + default: &666 value: - ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -47785,7 +47952,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/security-managers#list-security-manager-teams parameters: - - *76 + - *78 responses: '200': description: Response @@ -47793,7 +47960,7 @@ paths: application/json: schema: type: array - items: *331 + items: *333 examples: default: value: @@ -47833,8 +48000,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/security-managers#add-a-security-manager-team parameters: - - *76 - *78 + - *80 responses: '204': description: Response @@ -47859,8 +48026,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/security-managers#remove-a-security-manager-team parameters: - - *76 - *78 + - *80 responses: '204': description: Response @@ -47887,7 +48054,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#get-immutable-releases-settings-for-an-organization parameters: - - *76 + - *78 responses: '200': description: Immutable releases settings response @@ -47936,7 +48103,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#set-immutable-releases-settings-for-an-organization parameters: - - *76 + - *78 responses: '204': description: Response @@ -47993,7 +48160,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#list-selected-repositories-for-immutable-releases-enforcement parameters: - - *76 + - *78 - *19 - *17 responses: @@ -48011,9 +48178,9 @@ paths: type: integer repositories: type: array - items: *159 + items: *161 examples: - default: *171 + default: *173 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -48032,7 +48199,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#set-selected-repositories-for-immutable-releases-enforcement parameters: - - *76 + - *78 requestBody: required: true content: @@ -48081,8 +48248,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#enable-a-selected-repository-for-immutable-releases-in-an-organization parameters: - - *76 - - *148 + - *78 + - *150 responses: '204': description: Response @@ -48104,8 +48271,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#disable-a-selected-repository-for-immutable-releases-in-an-organization parameters: - - *76 - - *148 + - *78 + - *150 responses: '204': description: Response @@ -48128,7 +48295,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/network-configurations#list-hosted-compute-network-configurations-for-an-organization parameters: - - *76 + - *78 - *17 - *19 responses: @@ -48146,7 +48313,7 @@ paths: type: integer network_configurations: type: array - items: &332 + items: &334 title: Hosted compute network configuration description: A hosted compute network configuration. type: object @@ -48217,7 +48384,7 @@ paths: - 6789ABDCEF12345 created_on: '2023-04-26T15:23:37Z' headers: - Link: *68 + Link: *70 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -48236,7 +48403,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/network-configurations#create-a-hosted-compute-network-configuration-for-an-organization parameters: - - *76 + - *78 requestBody: required: true content: @@ -48292,9 +48459,9 @@ paths: description: Response content: application/json: - schema: *332 + schema: *334 examples: - default: &333 + default: &335 value: id: 123456789ABCDEF name: My network configuration @@ -48322,8 +48489,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/network-configurations#get-a-hosted-compute-network-configuration-for-an-organization parameters: - - *76 - - &334 + - *78 + - &336 name: network_configuration_id description: Unique identifier of the hosted compute network configuration. in: path @@ -48335,11 +48502,11 @@ paths: description: Response content: application/json: - schema: *332 + schema: *334 examples: - default: *333 + default: *335 headers: - Link: *68 + Link: *70 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -48358,8 +48525,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/network-configurations#update-a-hosted-compute-network-configuration-for-an-organization parameters: - - *76 - - *334 + - *78 + - *336 requestBody: required: true content: @@ -48412,9 +48579,9 @@ paths: description: Response content: application/json: - schema: *332 + schema: *334 examples: - default: *333 + default: *335 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -48433,8 +48600,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/network-configurations#delete-a-hosted-compute-network-configuration-from-an-organization parameters: - - *76 - - *334 + - *78 + - *336 responses: '204': description: Response @@ -48457,7 +48624,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/network-configurations#get-a-hosted-compute-network-settings-resource-for-an-organization parameters: - - *76 + - *78 - name: network_settings_id description: Unique identifier of the hosted compute network settings. in: path @@ -48511,7 +48678,7 @@ paths: subnet_id: "/subscriptions/14839728-3ad9-43ab-bd2b-fa6ad0f75e2a/resourceGroups/my-rg/providers/Microsoft.Network/virtualNetworks/my-vnet/subnets/my-subnet" region: eastus headers: - Link: *68 + Link: *70 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -48541,8 +48708,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-metrics#get-copilot-metrics-for-a-team parameters: - - *76 - *78 + - *80 - name: since description: Show usage metrics since this date. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format (`YYYY-MM-DDTHH:MM:SSZ`). @@ -48574,13 +48741,13 @@ paths: application/json: schema: type: array - items: *335 + items: *337 examples: - default: *336 + default: *338 '500': *55 '403': *29 '404': *6 - '422': *337 + '422': *339 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -48598,7 +48765,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-teams parameters: - - *76 + - *78 - *17 - *19 - name: team_type @@ -48620,11 +48787,11 @@ paths: application/json: schema: type: array - items: *195 + items: *197 examples: - default: *259 + default: *261 headers: - Link: *68 + Link: *70 '403': *29 x-github: githubCloudOnly: false @@ -48644,7 +48811,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#create-a-team parameters: - - *76 + - *78 requestBody: required: true content: @@ -48708,7 +48875,7 @@ paths: description: Response content: application/json: - schema: &338 + schema: &340 title: Full Team description: Groups of organization members that gives permissions on specified repositories. @@ -48771,8 +48938,8 @@ paths: description: Groups of organization members that gives permissions on specified repositories. type: object - properties: *257 - required: *258 + properties: *259 + required: *260 nullable: true members_count: type: integer @@ -49035,7 +49202,7 @@ paths: - repos_count - organization examples: - default: &339 + default: &341 value: id: 1 node_id: MDQ6VGVhbTE= @@ -49105,16 +49272,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#get-a-team-by-name parameters: - - *76 - *78 + - *80 responses: '200': description: Response content: application/json: - schema: *338 + schema: *340 examples: - default: *339 + default: *341 '404': *6 x-github: githubCloudOnly: false @@ -49135,8 +49302,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#update-a-team parameters: - - *76 - *78 + - *80 requestBody: required: false content: @@ -49198,16 +49365,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *338 + schema: *340 examples: - default: *339 + default: *341 '201': description: Response content: application/json: - schema: *338 + schema: *340 examples: - default: *339 + default: *341 '404': *6 '422': *15 '403': *29 @@ -49232,12 +49399,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#delete-a-team parameters: - - *76 - *78 + - *80 responses: '204': description: Response - '422': &340 + '422': &342 description: Unprocessable entity if you attempt to modify an enterprise team at the organization level. x-github: @@ -49260,8 +49427,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#list-pending-team-invitations parameters: - - *76 - *78 + - *80 - *17 - *19 responses: @@ -49271,12 +49438,12 @@ paths: application/json: schema: type: array - items: *236 + items: *238 examples: - default: *237 + default: *239 headers: - Link: *68 - '422': *340 + Link: *70 + '422': *342 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -49296,8 +49463,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#list-team-members parameters: - - *76 - *78 + - *80 - name: role description: Filters members returned by their role in the team. in: query @@ -49320,9 +49487,9 @@ paths: type: array items: *4 examples: - default: *71 + default: *73 headers: - Link: *68 + Link: *70 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -49350,15 +49517,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#get-team-membership-for-a-user parameters: - - *76 - *78 - - *72 + - *80 + - *74 responses: '200': description: Response content: application/json: - schema: &341 + schema: &343 title: Team Membership description: Team Membership type: object @@ -49385,7 +49552,7 @@ paths: - state - url examples: - response-if-user-is-a-team-maintainer: &679 + response-if-user-is-a-team-maintainer: &681 summary: Response if user is a team maintainer value: url: https://api.github.com/teams/1/memberships/octocat @@ -49421,9 +49588,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#add-or-update-team-membership-for-a-user parameters: - - *76 - *78 - - *72 + - *80 + - *74 requestBody: required: false content: @@ -49448,9 +49615,9 @@ paths: description: Response content: application/json: - schema: *341 + schema: *343 examples: - response-if-users-membership-with-team-is-now-pending: &680 + response-if-users-membership-with-team-is-now-pending: &682 summary: Response if user's membership with team is now pending value: url: https://api.github.com/teams/1/memberships/octocat @@ -49485,9 +49652,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#remove-team-membership-for-a-user parameters: - - *76 - *78 - - *72 + - *80 + - *74 responses: '204': description: Response @@ -49513,8 +49680,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-team-repositories parameters: - - *76 - *78 + - *80 - *17 - *19 responses: @@ -49524,11 +49691,11 @@ paths: application/json: schema: type: array - items: *159 + items: *161 examples: - default: *273 + default: *275 headers: - Link: *68 + Link: *70 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -49555,16 +49722,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-repository parameters: - - *76 - *78 - - *342 - - *343 + - *80 + - *344 + - *345 responses: '200': description: Alternative response with repository permissions content: application/json: - schema: &681 + schema: &683 title: Team Repository description: A team's access to a repository. type: object @@ -49587,8 +49754,8 @@ paths: title: License Simple description: License Simple type: object - properties: *89 - required: *90 + properties: *91 + required: *92 nullable: true forks: type: integer @@ -50126,10 +50293,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#add-or-update-team-repository-permissions parameters: - - *76 - *78 - - *342 - - *343 + - *80 + - *344 + - *345 requestBody: required: false content: @@ -50174,10 +50341,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#remove-a-repository-from-a-team parameters: - - *76 - *78 - - *342 - - *343 + - *80 + - *344 + - *345 responses: '204': description: Response @@ -50201,8 +50368,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-child-teams parameters: - - *76 - *78 + - *80 - *17 - *19 responses: @@ -50212,9 +50379,9 @@ paths: application/json: schema: type: array - items: *195 + items: *197 examples: - response-if-child-teams-exist: &682 + response-if-child-teams-exist: &684 value: - id: 2 node_id: MDQ6VGVhbTI= @@ -50242,7 +50409,7 @@ paths: repositories_url: https://api.github.com/teams/1/repos html_url: https://github.com/orgs/rails/teams/core headers: - Link: *68 + Link: *70 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -50267,7 +50434,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#enable-or-disable-a-security-feature-for-an-organization parameters: - - *76 + - *78 - name: security_product in: path description: The security feature to enable or disable. @@ -50368,7 +50535,7 @@ paths: resources: type: object properties: - core: &344 + core: &346 title: Rate Limit type: object properties: @@ -50385,17 +50552,17 @@ paths: - remaining - reset - used - graphql: *344 - search: *344 - code_search: *344 - source_import: *344 - integration_manifest: *344 - code_scanning_upload: *344 - actions_runner_registration: *344 - scim: *344 - dependency_snapshots: *344 - dependency_sbom: *344 - code_scanning_autofix: *344 + graphql: *346 + search: *346 + code_search: *346 + source_import: *346 + integration_manifest: *346 + code_scanning_upload: *346 + actions_runner_registration: *346 + scim: *346 + dependency_snapshots: *346 + dependency_sbom: *346 + code_scanning_autofix: *346 required: - core - search @@ -50497,14 +50664,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#get-a-repository parameters: - - *342 - - *343 + - *344 + - *345 responses: '200': description: Response content: application/json: - schema: *345 + schema: *347 examples: default-response: summary: Default response @@ -51008,7 +51175,7 @@ paths: status: disabled '403': *29 '404': *6 - '301': *346 + '301': *348 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -51026,8 +51193,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#update-a-repository parameters: - - *342 - - *343 + - *344 + - *345 requestBody: required: false content: @@ -51325,10 +51492,10 @@ paths: description: Response content: application/json: - schema: *345 + schema: *347 examples: - default: *347 - '307': &348 + default: *349 + '307': &350 description: Temporary Redirect content: application/json: @@ -51357,8 +51524,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#delete-a-repository parameters: - - *342 - - *343 + - *344 + - *345 responses: '204': description: Response @@ -51380,7 +51547,7 @@ paths: value: message: Organization members cannot delete repositories. documentation_url: https://docs.github.com/rest/repos/repos#delete-a-repository - '307': *348 + '307': *350 '404': *6 '409': *54 x-github: @@ -51404,11 +51571,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#list-artifacts-for-a-repository parameters: - - *342 - - *343 + - *344 + - *345 - *17 - *19 - - &381 + - &383 name: name description: The name field of an artifact. When specified, only artifacts with this name will be returned. @@ -51431,7 +51598,7 @@ paths: type: integer artifacts: type: array - items: &349 + items: &351 title: Artifact description: An artifact type: object @@ -51509,7 +51676,7 @@ paths: - expires_at - updated_at examples: - default: &382 + default: &384 value: total_count: 2 artifacts: @@ -51548,7 +51715,7 @@ paths: head_branch: main head_sha: 178f4f6090b3fccad4a65b3e83d076a622d59652 headers: - Link: *68 + Link: *70 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -51570,9 +51737,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#get-an-artifact parameters: - - *342 - - *343 - - &350 + - *344 + - *345 + - &352 name: artifact_id description: The unique identifier of the artifact. in: path @@ -51584,7 +51751,7 @@ paths: description: Response content: application/json: - schema: *349 + schema: *351 examples: default: value: @@ -51622,9 +51789,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#delete-an-artifact parameters: - - *342 - - *343 - - *350 + - *344 + - *345 + - *352 responses: '204': description: Response @@ -51648,9 +51815,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#download-an-artifact parameters: - - *342 - - *343 - - *350 + - *344 + - *345 + - *352 - name: archive_format in: path required: true @@ -51660,11 +51827,11 @@ paths: '302': description: Response headers: - Location: &504 + Location: &506 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 - '410': &545 + '410': &547 description: Gone content: application/json: @@ -51689,14 +51856,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#get-github-actions-cache-retention-limit-for-a-repository parameters: - - *342 - - *343 + - *344 + - *345 responses: '200': description: Response content: application/json: - schema: &351 + schema: &353 title: Actions cache retention limit for a repository description: GitHub Actions cache retention policy for a repository. type: object @@ -51729,13 +51896,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#set-github-actions-cache-retention-limit-for-a-repository parameters: - - *342 - - *343 + - *344 + - *345 requestBody: required: true content: application/json: - schema: *351 + schema: *353 examples: selected_actions: *42 responses: @@ -51764,14 +51931,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#get-github-actions-cache-storage-limit-for-a-repository parameters: - - *342 - - *343 + - *344 + - *345 responses: '200': description: Response content: application/json: - schema: &352 + schema: &354 title: Actions cache storage limit for a repository description: GitHub Actions cache storage policy for a repository. type: object @@ -51804,13 +51971,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#set-github-actions-cache-storage-limit-for-a-repository parameters: - - *342 - - *343 + - *344 + - *345 requestBody: required: true content: application/json: - schema: *352 + schema: *354 examples: selected_actions: *44 responses: @@ -51841,14 +52008,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#get-github-actions-cache-usage-for-a-repository parameters: - - *342 - - *343 + - *344 + - *345 responses: '200': description: Response content: application/json: - schema: *353 + schema: *355 examples: default: value: @@ -51874,11 +52041,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#list-github-actions-caches-for-a-repository parameters: - - *342 - - *343 + - *344 + - *345 - *17 - *19 - - &354 + - &356 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 @@ -51912,7 +52079,7 @@ paths: description: Response content: application/json: - schema: &355 + schema: &357 title: Repository actions caches description: Repository actions caches type: object @@ -51954,7 +52121,7 @@ paths: - total_count - actions_caches examples: - default: &356 + default: &358 value: total_count: 1 actions_caches: @@ -51966,7 +52133,7 @@ paths: created_at: '2019-01-24T22:45:36.000Z' size_in_bytes: 1024 headers: - Link: *68 + Link: *70 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -51986,23 +52153,23 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#delete-github-actions-caches-for-a-repository-using-a-cache-key parameters: - - *342 - - *343 + - *344 + - *345 - name: key description: A key for identifying the cache. in: query required: true schema: type: string - - *354 + - *356 responses: '200': description: Response content: application/json: - schema: *355 + schema: *357 examples: - default: *356 + default: *358 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -52022,8 +52189,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#delete-a-github-actions-cache-for-a-repository-using-a-cache-id parameters: - - *342 - - *343 + - *344 + - *345 - name: cache_id description: The unique identifier of the GitHub Actions cache. in: path @@ -52054,9 +52221,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#get-a-job-for-a-workflow-run parameters: - - *342 - - *343 - - &357 + - *344 + - *345 + - &359 name: job_id description: The unique identifier of the job. in: path @@ -52068,7 +52235,7 @@ paths: description: Response content: application/json: - schema: &385 + schema: &387 title: Job description: Information of a job execution in a workflow run type: object @@ -52375,9 +52542,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#download-job-logs-for-a-workflow-run parameters: - - *342 - - *343 - - *357 + - *344 + - *345 + - *359 responses: '302': description: Response @@ -52405,9 +52572,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#re-run-a-job-from-a-workflow-run parameters: - - *342 - - *343 - - *357 + - *344 + - *345 + - *359 requestBody: required: false content: @@ -52428,7 +52595,7 @@ paths: description: Response content: application/json: - schema: *168 + schema: *170 examples: default: value: @@ -52452,8 +52619,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/oidc#get-the-customization-template-for-an-oidc-subject-claim-for-a-repository parameters: - - *342 - - *343 + - *344 + - *345 responses: '200': description: Status response @@ -52503,8 +52670,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/oidc#set-the-customization-template-for-an-oidc-subject-claim-for-a-repository parameters: - - *342 - - *343 + - *344 + - *345 requestBody: required: true content: @@ -52538,7 +52705,7 @@ paths: description: Empty response content: application/json: - schema: *168 + schema: *170 examples: default: value: @@ -52567,8 +52734,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-repository-organization-secrets parameters: - - *342 - - *343 + - *344 + - *345 - *17 - *19 responses: @@ -52586,7 +52753,7 @@ paths: type: integer secrets: type: array - items: &387 + items: &389 title: Actions Secret description: Set secrets for GitHub Actions. type: object @@ -52606,7 +52773,7 @@ paths: - created_at - updated_at examples: - default: &388 + default: &390 value: total_count: 2 secrets: @@ -52617,7 +52784,7 @@ paths: created_at: '2020-01-10T10:59:22Z' updated_at: '2020-01-11T11:59:22Z' headers: - Link: *68 + Link: *70 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -52639,9 +52806,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-repository-organization-variables parameters: - - *342 - - *343 - - *358 + - *344 + - *345 + - *360 - *19 responses: '200': @@ -52658,7 +52825,7 @@ paths: type: integer variables: type: array - items: &391 + items: &393 title: Actions Variable type: object properties: @@ -52688,7 +52855,7 @@ paths: - created_at - updated_at examples: - default: &392 + default: &394 value: total_count: 2 variables: @@ -52701,7 +52868,7 @@ paths: created_at: '2020-01-10T10:59:22Z' updated_at: '2020-01-11T11:59:22Z' headers: - Link: *68 + Link: *70 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -52721,8 +52888,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-github-actions-permissions-for-a-repository parameters: - - *342 - - *343 + - *344 + - *345 responses: '200': description: Response @@ -52731,12 +52898,12 @@ paths: schema: type: object properties: - enabled: &360 + enabled: &362 type: boolean description: Whether GitHub Actions is enabled on the repository. - allowed_actions: *144 - selected_actions_url: *359 - sha_pinning_required: *145 + allowed_actions: *146 + selected_actions_url: *361 + sha_pinning_required: *147 required: - enabled examples: @@ -52764,8 +52931,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-github-actions-permissions-for-a-repository parameters: - - *342 - - *343 + - *344 + - *345 responses: '204': description: Response @@ -52776,9 +52943,9 @@ paths: schema: type: object properties: - enabled: *360 - allowed_actions: *144 - sha_pinning_required: *145 + enabled: *362 + allowed_actions: *146 + sha_pinning_required: *147 required: - enabled examples: @@ -52808,14 +52975,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-the-level-of-access-for-workflows-outside-of-the-repository parameters: - - *342 - - *343 + - *344 + - *345 responses: '200': description: Response content: application/json: - schema: &361 + schema: &363 type: object properties: access_level: @@ -52832,7 +52999,7 @@ paths: required: - access_level examples: - default: &362 + default: &364 value: access_level: organization x-github: @@ -52856,15 +53023,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-the-level-of-access-for-workflows-outside-of-the-repository parameters: - - *342 - - *343 + - *344 + - *345 requestBody: required: true content: application/json: - schema: *361 + schema: *363 examples: - default: *362 + default: *364 responses: '204': description: Response @@ -52888,14 +53055,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-artifact-and-log-retention-settings-for-a-repository parameters: - - *342 - - *343 + - *344 + - *345 responses: '200': description: Response content: application/json: - schema: *363 + schema: *365 examples: default: value: @@ -52919,8 +53086,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-artifact-and-log-retention-settings-for-a-repository parameters: - - *342 - - *343 + - *344 + - *345 responses: '204': description: Empty response for successful settings update @@ -52930,7 +53097,7 @@ paths: required: true content: application/json: - schema: *364 + schema: *366 examples: default: summary: Set retention days @@ -52954,16 +53121,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-fork-pr-contributor-approval-permissions-for-a-repository parameters: - - *342 - - *343 + - *344 + - *345 responses: '200': description: Response content: application/json: - schema: *146 + schema: *148 examples: - default: *365 + default: *367 '404': *6 x-github: enabledForGitHubApps: true @@ -52982,8 +53149,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-fork-pr-contributor-approval-permissions-for-a-repository parameters: - - *342 - - *343 + - *344 + - *345 responses: '204': description: Response @@ -52993,7 +53160,7 @@ paths: required: true content: application/json: - schema: *146 + schema: *148 examples: default: summary: Set approval policy to first time contributors @@ -53017,16 +53184,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-private-repo-fork-pr-workflow-settings-for-a-repository parameters: - - *342 - - *343 + - *344 + - *345 responses: '200': description: Response content: application/json: - schema: *366 + schema: *368 examples: - default: *147 + default: *149 '403': *29 '404': *6 x-github: @@ -53046,15 +53213,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-private-repo-fork-pr-workflow-settings-for-a-repository parameters: - - *342 - - *343 + - *344 + - *345 requestBody: required: true content: application/json: - schema: *367 + schema: *369 examples: - default: *147 + default: *149 responses: '204': description: Empty response for successful settings update @@ -53078,16 +53245,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-allowed-actions-and-reusable-workflows-for-a-repository parameters: - - *342 - - *343 + - *344 + - *345 responses: '200': description: Response content: application/json: - schema: *149 + schema: *151 examples: - default: *150 + default: *152 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -53106,8 +53273,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-allowed-actions-and-reusable-workflows-for-a-repository parameters: - - *342 - - *343 + - *344 + - *345 responses: '204': description: Response @@ -53115,9 +53282,9 @@ paths: required: false content: application/json: - schema: *149 + schema: *151 examples: - selected_actions: *150 + selected_actions: *152 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -53139,16 +53306,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-default-workflow-permissions-for-a-repository parameters: - - *342 - - *343 + - *344 + - *345 responses: '200': description: Response content: application/json: - schema: *368 + schema: *370 examples: - default: *154 + default: *156 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -53169,8 +53336,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-default-workflow-permissions-for-a-repository parameters: - - *342 - - *343 + - *344 + - *345 responses: '204': description: Success response @@ -53181,9 +53348,9 @@ paths: required: true content: application/json: - schema: *369 + schema: *371 examples: - default: *154 + default: *156 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -53210,8 +53377,8 @@ paths: in: query schema: type: string - - *342 - - *343 + - *344 + - *345 - *17 - *19 responses: @@ -53229,11 +53396,11 @@ paths: type: integer runners: type: array - items: *161 + items: *163 examples: - default: *162 + default: *164 headers: - Link: *68 + Link: *70 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -53255,8 +53422,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#list-runner-applications-for-a-repository parameters: - - *342 - - *343 + - *344 + - *345 responses: '200': description: Response @@ -53264,9 +53431,9 @@ paths: application/json: schema: type: array - items: *370 + items: *372 examples: - default: *371 + default: *373 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -53288,8 +53455,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#create-configuration-for-a-just-in-time-runner-for-a-repository parameters: - - *342 - - *343 + - *344 + - *345 requestBody: required: true content: @@ -53332,7 +53499,7 @@ paths: - no-gpu work_folder: _work responses: - '201': *372 + '201': *374 '404': *6 '422': *7 '409': *54 @@ -53363,16 +53530,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#create-a-registration-token-for-a-repository parameters: - - *342 - - *343 + - *344 + - *345 responses: '201': description: Response content: application/json: - schema: *163 + schema: *165 examples: - default: *373 + default: *375 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -53400,16 +53567,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#create-a-remove-token-for-a-repository parameters: - - *342 - - *343 + - *344 + - *345 responses: '201': description: Response content: application/json: - schema: *163 + schema: *165 examples: - default: *374 + default: *376 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -53431,17 +53598,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#get-a-self-hosted-runner-for-a-repository parameters: - - *342 - - *343 - - *160 + - *344 + - *345 + - *162 responses: '200': description: Response content: application/json: - schema: *161 + schema: *163 examples: - default: *375 + default: *377 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -53462,9 +53629,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#delete-a-self-hosted-runner-from-a-repository parameters: - - *342 - - *343 - - *160 + - *344 + - *345 + - *162 responses: '204': description: Response @@ -53490,11 +53657,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#list-labels-for-a-self-hosted-runner-for-a-repository parameters: - - *342 - - *343 - - *160 + - *344 + - *345 + - *162 responses: - '200': *165 + '200': *167 '404': *6 x-github: githubCloudOnly: false @@ -53516,9 +53683,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#add-custom-labels-to-a-self-hosted-runner-for-a-repository parameters: - - *342 - - *343 - - *160 + - *344 + - *345 + - *162 requestBody: required: true content: @@ -53542,7 +53709,7 @@ paths: - gpu - accelerated responses: - '200': *165 + '200': *167 '404': *6 '422': *7 x-github: @@ -53566,9 +53733,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#set-custom-labels-for-a-self-hosted-runner-for-a-repository parameters: - - *342 - - *343 - - *160 + - *344 + - *345 + - *162 requestBody: required: true content: @@ -53593,7 +53760,7 @@ paths: - gpu - accelerated responses: - '200': *165 + '200': *167 '404': *6 '422': *7 x-github: @@ -53617,11 +53784,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#remove-all-custom-labels-from-a-self-hosted-runner-for-a-repository parameters: - - *342 - - *343 - - *160 + - *344 + - *345 + - *162 responses: - '200': *376 + '200': *378 '404': *6 x-github: githubCloudOnly: false @@ -53648,12 +53815,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#remove-a-custom-label-from-a-self-hosted-runner-for-a-repository parameters: - - *342 - - *343 - - *160 - - *377 + - *344 + - *345 + - *162 + - *379 responses: - '200': *165 + '200': *167 '404': *6 '422': *7 x-github: @@ -53679,9 +53846,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#list-workflow-runs-for-a-repository parameters: - - *342 - - *343 - - &395 + - *344 + - *345 + - &397 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. @@ -53689,7 +53856,7 @@ paths: required: false schema: type: string - - &396 + - &398 name: branch description: Returns workflow runs associated with a branch. Use the name of the branch of the `push`. @@ -53697,7 +53864,7 @@ paths: required: false schema: type: string - - &397 + - &399 name: event description: Returns workflow run triggered by the event you specify. For example, `push`, `pull_request` or `issue`. For more information, see "[Events @@ -53706,7 +53873,7 @@ paths: required: false schema: type: string - - &398 + - &400 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 @@ -53733,7 +53900,7 @@ paths: - pending - *17 - *19 - - &399 + - &401 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/search-github/getting-started-with-searching-on-github/understanding-the-search-syntax#query-for-dates)." @@ -53742,7 +53909,7 @@ paths: schema: type: string format: date-time - - &378 + - &380 name: exclude_pull_requests description: If `true` pull requests are omitted from the response (empty array). @@ -53751,13 +53918,13 @@ paths: schema: type: boolean default: false - - &400 + - &402 name: check_suite_id description: Returns workflow runs with the `check_suite_id` that you specify. in: query schema: type: integer - - &401 + - &403 name: head_sha description: Only returns workflow runs that are associated with the specified `head_sha`. @@ -53780,7 +53947,7 @@ paths: type: integer workflow_runs: type: array - items: &379 + items: &381 title: Workflow Run description: An invocation of a workflow type: object @@ -53875,7 +54042,7 @@ paths: that triggered the run. type: array nullable: true - items: *91 + items: *93 created_at: type: string format: date-time @@ -53928,7 +54095,7 @@ paths: title: Simple Commit description: A commit. type: object - properties: &423 + properties: &425 id: type: string description: SHA for the commit @@ -53979,7 +54146,7 @@ paths: - name - email nullable: true - required: &424 + required: &426 - id - tree_id - message @@ -53987,8 +54154,8 @@ paths: - author - committer nullable: true - repository: *159 - head_repository: *159 + repository: *161 + head_repository: *161 head_repository_id: type: integer example: 5 @@ -54026,7 +54193,7 @@ paths: - workflow_url - pull_requests examples: - default: &402 + default: &404 value: total_count: 1 workflow_runs: @@ -54240,7 +54407,7 @@ paths: 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 headers: - Link: *68 + Link: *70 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -54262,24 +54429,24 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-a-workflow-run parameters: - - *342 - - *343 - - &380 + - *344 + - *345 + - &382 name: run_id description: The unique identifier of the workflow run. in: path required: true schema: type: integer - - *378 + - *380 responses: '200': description: Response content: application/json: - schema: *379 + schema: *381 examples: - default: &383 + default: &385 value: id: 30433642 name: Build @@ -54520,9 +54687,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#delete-a-workflow-run parameters: - - *342 - - *343 - - *380 + - *344 + - *345 + - *382 responses: '204': description: Response @@ -54545,9 +54712,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-the-review-history-for-a-workflow-run parameters: - - *342 - - *343 - - *380 + - *344 + - *345 + - *382 responses: '200': description: Response @@ -54666,15 +54833,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#approve-a-workflow-run-for-a-fork-pull-request parameters: - - *342 - - *343 - - *380 + - *344 + - *345 + - *382 responses: '201': description: Response content: application/json: - schema: *168 + schema: *170 examples: default: value: @@ -54701,12 +54868,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#list-workflow-run-artifacts parameters: - - *342 - - *343 - - *380 + - *344 + - *345 + - *382 - *17 - *19 - - *381 + - *383 - *62 responses: '200': @@ -54723,11 +54890,11 @@ paths: type: integer artifacts: type: array - items: *349 + items: *351 examples: - default: *382 + default: *384 headers: - Link: *68 + Link: *70 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -54749,25 +54916,25 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-a-workflow-run-attempt parameters: - - *342 - - *343 - - *380 - - &384 + - *344 + - *345 + - *382 + - &386 name: attempt_number description: The attempt number of the workflow run. in: path required: true schema: type: integer - - *378 + - *380 responses: '200': description: Response content: application/json: - schema: *379 + schema: *381 examples: - default: *383 + default: *385 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -54790,10 +54957,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#list-jobs-for-a-workflow-run-attempt parameters: - - *342 - - *343 - - *380 - - *384 + - *344 + - *345 + - *382 + - *386 - *17 - *19 responses: @@ -54811,9 +54978,9 @@ paths: type: integer jobs: type: array - items: *385 + items: *387 examples: - default: &386 + default: &388 value: total_count: 1 jobs: @@ -54902,7 +55069,7 @@ paths: workflow_name: CI head_branch: main headers: - Link: *68 + Link: *70 '404': *6 x-github: githubCloudOnly: false @@ -54926,10 +55093,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#download-workflow-run-attempt-logs parameters: - - *342 - - *343 - - *380 - - *384 + - *344 + - *345 + - *382 + - *386 responses: '302': description: Response @@ -54957,15 +55124,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#cancel-a-workflow-run parameters: - - *342 - - *343 - - *380 + - *344 + - *345 + - *382 responses: '202': description: Response content: application/json: - schema: *168 + schema: *170 examples: default: value: @@ -54992,9 +55159,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#review-custom-deployment-protection-rules-for-a-workflow-run parameters: - - *342 - - *343 - - *380 + - *344 + - *345 + - *382 requestBody: required: true content: @@ -55061,15 +55228,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#force-cancel-a-workflow-run parameters: - - *342 - - *343 - - *380 + - *344 + - *345 + - *382 responses: '202': description: Response content: application/json: - schema: *168 + schema: *170 examples: default: value: @@ -55096,9 +55263,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#list-jobs-for-a-workflow-run parameters: - - *342 - - *343 - - *380 + - *344 + - *345 + - *382 - name: filter description: Filters jobs by their `completed_at` timestamp. `latest` returns jobs from the most recent execution of the workflow run. `all` returns all @@ -55128,11 +55295,11 @@ paths: type: integer jobs: type: array - items: *385 + items: *387 examples: - default: *386 + default: *388 headers: - Link: *68 + Link: *70 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -55155,9 +55322,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#download-workflow-run-logs parameters: - - *342 - - *343 - - *380 + - *344 + - *345 + - *382 responses: '302': description: Response @@ -55184,9 +55351,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#delete-workflow-run-logs parameters: - - *342 - - *343 - - *380 + - *344 + - *345 + - *382 responses: '204': description: Response @@ -55213,9 +55380,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-pending-deployments-for-a-workflow-run parameters: - - *342 - - *343 - - *380 + - *344 + - *345 + - *382 responses: '200': description: Response @@ -55275,7 +55442,7 @@ paths: items: type: object properties: - type: &511 + type: &513 type: string description: The type of reviewer. enum: @@ -55285,7 +55452,7 @@ paths: reviewer: anyOf: - *4 - - *195 + - *197 required: - environment - wait_timer @@ -55360,9 +55527,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#review-pending-deployments-for-a-workflow-run parameters: - - *342 - - *343 - - *380 + - *344 + - *345 + - *382 requestBody: required: true content: @@ -55409,12 +55576,12 @@ paths: application/json: schema: type: array - items: &506 + items: &508 title: Deployment description: A request for a specific ref(branch,sha,tag) to be deployed type: object - properties: &752 + properties: &754 url: type: string format: uri @@ -55497,9 +55664,9 @@ paths: first class actors within GitHub. type: object nullable: true - properties: *81 - required: *82 - required: &753 + properties: *83 + required: *84 + required: &755 - id - node_id - sha @@ -55515,7 +55682,7 @@ paths: - created_at - updated_at examples: - default: &507 + default: &509 value: - url: https://api.github.com/repos/octocat/example/deployments/1 id: 1 @@ -55571,9 +55738,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#re-run-a-workflow parameters: - - *342 - - *343 - - *380 + - *344 + - *345 + - *382 requestBody: required: false content: @@ -55594,7 +55761,7 @@ paths: description: Response content: application/json: - schema: *168 + schema: *170 examples: default: value: @@ -55617,9 +55784,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#re-run-failed-jobs-from-a-workflow-run parameters: - - *342 - - *343 - - *380 + - *344 + - *345 + - *382 requestBody: required: false content: @@ -55640,7 +55807,7 @@ paths: description: Response content: application/json: - schema: *168 + schema: *170 examples: default: value: @@ -55672,9 +55839,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-workflow-run-usage parameters: - - *342 - - *343 - - *380 + - *344 + - *345 + - *382 responses: '200': description: Response @@ -55811,8 +55978,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-repository-secrets parameters: - - *342 - - *343 + - *344 + - *345 - *17 - *19 responses: @@ -55830,11 +55997,11 @@ paths: type: integer secrets: type: array - items: *387 + items: *389 examples: - default: *388 + default: *390 headers: - Link: *68 + Link: *70 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -55857,16 +56024,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-a-repository-public-key parameters: - - *342 - - *343 + - *344 + - *345 responses: '200': description: Response content: application/json: - schema: *389 + schema: *391 examples: - default: *390 + default: *392 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -55888,17 +56055,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-a-repository-secret parameters: - - *342 - - *343 - - *167 + - *344 + - *345 + - *169 responses: '200': description: Response content: application/json: - schema: *387 + schema: *389 examples: - default: &524 + default: &526 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -55924,9 +56091,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#create-or-update-a-repository-secret parameters: - - *342 - - *343 - - *167 + - *344 + - *345 + - *169 requestBody: required: true content: @@ -55957,7 +56124,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *168 + schema: *170 examples: default: value: @@ -55983,9 +56150,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#delete-a-repository-secret parameters: - - *342 - - *343 - - *167 + - *344 + - *345 + - *169 responses: '204': description: Response @@ -56010,9 +56177,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-repository-variables parameters: - - *342 - - *343 - - *358 + - *344 + - *345 + - *360 - *19 responses: '200': @@ -56029,11 +56196,11 @@ paths: type: integer variables: type: array - items: *391 + items: *393 examples: - default: *392 + default: *394 headers: - Link: *68 + Link: *70 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -56054,8 +56221,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#create-a-repository-variable parameters: - - *342 - - *343 + - *344 + - *345 requestBody: required: true content: @@ -56082,7 +56249,7 @@ paths: description: Response content: application/json: - schema: *168 + schema: *170 examples: default: value: @@ -56107,17 +56274,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#get-a-repository-variable parameters: - - *342 - - *343 - - *170 + - *344 + - *345 + - *172 responses: '200': description: Response content: application/json: - schema: *391 + schema: *393 examples: - default: &525 + default: &527 value: name: USERNAME value: octocat @@ -56143,9 +56310,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#update-a-repository-variable parameters: - - *342 - - *343 - - *170 + - *344 + - *345 + - *172 requestBody: required: true content: @@ -56187,9 +56354,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#delete-a-repository-variable parameters: - - *342 - - *343 - - *170 + - *344 + - *345 + - *172 responses: '204': description: Response @@ -56214,8 +56381,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#list-repository-workflows parameters: - - *342 - - *343 + - *344 + - *345 - *17 - *19 responses: @@ -56233,7 +56400,7 @@ paths: type: integer workflows: type: array - items: &393 + items: &395 title: Workflow description: A GitHub Actions workflow type: object @@ -56317,7 +56484,7 @@ paths: 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 headers: - Link: *68 + Link: *70 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -56340,9 +56507,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#get-a-workflow parameters: - - *342 - - *343 - - &394 + - *344 + - *345 + - &396 name: workflow_id in: path description: The ID of the workflow. You can also pass the workflow file name @@ -56357,7 +56524,7 @@ paths: description: Response content: application/json: - schema: *393 + schema: *395 examples: default: value: @@ -56390,9 +56557,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#disable-a-workflow parameters: - - *342 - - *343 - - *394 + - *344 + - *345 + - *396 responses: '204': description: Response @@ -56417,9 +56584,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#create-a-workflow-dispatch-event parameters: - - *342 - - *343 - - *394 + - *344 + - *345 + - *396 responses: '200': description: Response including the workflow run ID and URLs when `return_run_details` @@ -56500,9 +56667,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#enable-a-workflow parameters: - - *342 - - *343 - - *394 + - *344 + - *345 + - *396 responses: '204': description: Response @@ -56529,19 +56696,19 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#list-workflow-runs-for-a-workflow parameters: - - *342 - - *343 - - *394 - - *395 + - *344 + - *345 - *396 - *397 - *398 - - *17 - - *19 - *399 - - *378 - *400 + - *17 + - *19 - *401 + - *380 + - *402 + - *403 responses: '200': description: Response @@ -56557,11 +56724,11 @@ paths: type: integer workflow_runs: type: array - items: *379 + items: *381 examples: - default: *402 + default: *404 headers: - Link: *68 + Link: *70 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -56591,9 +56758,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#get-workflow-usage parameters: - - *342 - - *343 - - *394 + - *344 + - *345 + - *396 responses: '200': description: Response @@ -56654,8 +56821,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-activities parameters: - - *342 - - *343 + - *344 + - *345 - *62 - *17 - *47 @@ -56800,7 +56967,7 @@ paths: type: User site_admin: false headers: - Link: *68 + Link: *70 '422': *7 x-github: githubCloudOnly: false @@ -56819,8 +56986,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#list-assignees parameters: - - *342 - - *343 + - *344 + - *345 - *17 - *19 responses: @@ -56832,9 +56999,9 @@ paths: type: array items: *4 examples: - default: *71 + default: *73 headers: - Link: *68 + Link: *70 '404': *6 x-github: githubCloudOnly: false @@ -56857,8 +57024,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#check-if-a-user-can-be-assigned parameters: - - *342 - - *343 + - *344 + - *345 - name: assignee in: path required: true @@ -56894,8 +57061,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/attestations#create-an-attestation parameters: - - *342 - - *343 + - *344 + - *345 requestBody: required: true content: @@ -57005,8 +57172,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/attestations#list-attestations parameters: - - *342 - - *343 + - *344 + - *345 - *17 - *47 - *48 @@ -57047,7 +57214,7 @@ paths: initiator: type: string examples: - default: *403 + default: *405 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -57067,8 +57234,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#get-all-autolinks-of-a-repository parameters: - - *342 - - *343 + - *344 + - *345 responses: '200': description: Response @@ -57076,7 +57243,7 @@ paths: application/json: schema: type: array - items: &404 + items: &406 title: Autolink reference description: An autolink reference. type: object @@ -57130,8 +57297,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#create-an-autolink-reference-for-a-repository parameters: - - *342 - - *343 + - *344 + - *345 requestBody: required: true content: @@ -57170,9 +57337,9 @@ paths: description: response content: application/json: - schema: *404 + schema: *406 examples: - default: &405 + default: &407 value: id: 1 key_prefix: TICKET- @@ -57203,9 +57370,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#get-an-autolink-reference-of-a-repository parameters: - - *342 - - *343 - - &406 + - *344 + - *345 + - &408 name: autolink_id description: The unique identifier of the autolink. in: path @@ -57217,9 +57384,9 @@ paths: description: Response content: application/json: - schema: *404 + schema: *406 examples: - default: *405 + default: *407 '404': *6 x-github: githubCloudOnly: false @@ -57239,9 +57406,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#delete-an-autolink-reference-from-a-repository parameters: - - *342 - - *343 - - *406 + - *344 + - *345 + - *408 responses: '204': description: Response @@ -57265,8 +57432,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#check-if-dependabot-security-updates-are-enabled-for-a-repository parameters: - - *342 - - *343 + - *344 + - *345 responses: '200': description: Response if Dependabot is enabled @@ -57314,8 +57481,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-dependabot-security-updates parameters: - - *342 - - *343 + - *344 + - *345 responses: '204': description: Response @@ -57336,8 +57503,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-dependabot-security-updates parameters: - - *342 - - *343 + - *344 + - *345 responses: '204': description: Response @@ -57357,8 +57524,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#list-branches parameters: - - *342 - - *343 + - *344 + - *345 - name: protected description: Setting to `true` returns only branches protected by branch protections or rulesets. When set to `false`, only unprotected branches are returned. @@ -57396,7 +57563,7 @@ paths: - url protected: type: boolean - protection: &408 + protection: &410 title: Branch Protection description: Branch Protection type: object @@ -57438,7 +57605,7 @@ paths: required: - contexts - checks - enforce_admins: &411 + enforce_admins: &413 title: Protected Branch Admin Enforced description: Protected Branch Admin Enforced type: object @@ -57453,7 +57620,7 @@ paths: required: - url - enabled - required_pull_request_reviews: &413 + required_pull_request_reviews: &415 title: Protected Branch Pull Request Review description: Protected Branch Pull Request Review type: object @@ -57474,7 +57641,7 @@ paths: description: The list of teams with review dismissal access. type: array - items: *195 + items: *197 apps: description: The list of apps with review dismissal access. @@ -57503,7 +57670,7 @@ paths: description: The list of teams allowed to bypass pull request requirements. type: array - items: *195 + items: *197 apps: description: The list of apps allowed to bypass pull request requirements. @@ -57529,7 +57696,7 @@ paths: required: - dismiss_stale_reviews - require_code_owner_reviews - restrictions: &410 + restrictions: &412 title: Branch Restriction Policy description: Branch Restriction Policy type: object @@ -57592,7 +57759,7 @@ paths: type: string teams: type: array - items: *195 + items: *197 apps: type: array items: @@ -57788,7 +57955,7 @@ paths: - linter protection_url: https://api.github.com/repos/octocat/hello-world/branches/master/protection headers: - Link: *68 + Link: *70 '404': *6 x-github: githubCloudOnly: false @@ -57806,9 +57973,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#get-a-branch parameters: - - *342 - - *343 - - &409 + - *344 + - *345 + - &411 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/graphql). @@ -57822,14 +57989,14 @@ paths: description: Response content: application/json: - schema: &419 + schema: &421 title: Branch With Protection description: Branch With Protection type: object properties: name: type: string - commit: &476 + commit: &478 title: Commit description: Commit type: object @@ -57863,7 +58030,7 @@ paths: title: Git User description: Metaproperties for Git author/committer information. type: object - properties: &407 + properties: &409 name: type: string example: '"Chris Wanstrath"' @@ -57879,7 +58046,7 @@ paths: title: Git User description: Metaproperties for Git author/committer information. type: object - properties: *407 + properties: *409 nullable: true message: type: string @@ -57900,7 +58067,7 @@ paths: required: - sha - url - verification: &531 + verification: &533 title: Verification type: object properties: @@ -57934,12 +58101,12 @@ paths: nullable: true oneOf: - *4 - - *168 + - *170 committer: nullable: true oneOf: - *4 - - *168 + - *170 parents: type: array items: @@ -57970,7 +58137,7 @@ paths: type: integer files: type: array - items: &489 + items: &491 title: Diff Entry description: Diff Entry type: object @@ -58054,7 +58221,7 @@ paths: - self protected: type: boolean - protection: *408 + protection: *410 protection_url: type: string format: uri @@ -58161,7 +58328,7 @@ paths: contexts: [] checks: [] protection_url: https://api.github.com/repos/octocat/Hello-World/branches/main/protection - '301': *346 + '301': *348 '404': *6 x-github: githubCloudOnly: false @@ -58183,15 +58350,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-branch-protection parameters: - - *342 - - *343 - - *409 + - *344 + - *345 + - *411 responses: '200': description: Response content: application/json: - schema: *408 + schema: *410 examples: default: value: @@ -58385,9 +58552,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#update-branch-protection parameters: - - *342 - - *343 - - *409 + - *344 + - *345 + - *411 requestBody: required: true content: @@ -58642,7 +58809,7 @@ paths: url: type: string format: uri - required_status_checks: &416 + required_status_checks: &418 title: Status Check Policy description: Status Check Policy type: object @@ -58718,7 +58885,7 @@ paths: items: *4 teams: type: array - items: *195 + items: *197 apps: type: array items: *5 @@ -58736,7 +58903,7 @@ paths: items: *4 teams: type: array - items: *195 + items: *197 apps: type: array items: *5 @@ -58794,7 +58961,7 @@ paths: additionalProperties: false required: - enabled - restrictions: *410 + restrictions: *412 required_conversation_resolution: type: object properties: @@ -58906,9 +59073,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-branch-protection parameters: - - *342 - - *343 - - *409 + - *344 + - *345 + - *411 responses: '204': description: Response @@ -58933,17 +59100,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-admin-branch-protection parameters: - - *342 - - *343 - - *409 + - *344 + - *345 + - *411 responses: '200': description: Response content: application/json: - schema: *411 + schema: *413 examples: - default: &412 + default: &414 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/enforce_admins enabled: true @@ -58965,17 +59132,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-admin-branch-protection parameters: - - *342 - - *343 - - *409 + - *344 + - *345 + - *411 responses: '200': description: Response content: application/json: - schema: *411 + schema: *413 examples: - default: *412 + default: *414 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -58994,9 +59161,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-admin-branch-protection parameters: - - *342 - - *343 - - *409 + - *344 + - *345 + - *411 responses: '204': description: Response @@ -59021,17 +59188,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-pull-request-review-protection parameters: - - *342 - - *343 - - *409 + - *344 + - *345 + - *411 responses: '200': description: Response content: application/json: - schema: *413 + schema: *415 examples: - default: &414 + default: &416 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_pull_request_reviews dismissal_restrictions: @@ -59127,9 +59294,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#update-pull-request-review-protection parameters: - - *342 - - *343 - - *409 + - *344 + - *345 + - *411 requestBody: required: false content: @@ -59227,9 +59394,9 @@ paths: description: Response content: application/json: - schema: *413 + schema: *415 examples: - default: *414 + default: *416 '422': *15 x-github: githubCloudOnly: false @@ -59250,9 +59417,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-pull-request-review-protection parameters: - - *342 - - *343 - - *409 + - *344 + - *345 + - *411 responses: '204': description: Response @@ -59279,17 +59446,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-commit-signature-protection parameters: - - *342 - - *343 - - *409 + - *344 + - *345 + - *411 responses: '200': description: Response content: application/json: - schema: *411 + schema: *413 examples: - default: &415 + default: &417 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_signatures enabled: true @@ -59312,17 +59479,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#create-commit-signature-protection parameters: - - *342 - - *343 - - *409 + - *344 + - *345 + - *411 responses: '200': description: Response content: application/json: - schema: *411 + schema: *413 examples: - default: *415 + default: *417 '404': *6 x-github: githubCloudOnly: false @@ -59342,9 +59509,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-commit-signature-protection parameters: - - *342 - - *343 - - *409 + - *344 + - *345 + - *411 responses: '204': description: Response @@ -59369,17 +59536,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-status-checks-protection parameters: - - *342 - - *343 - - *409 + - *344 + - *345 + - *411 responses: '200': description: Response content: application/json: - schema: *416 + schema: *418 examples: - default: &417 + default: &419 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_status_checks strict: true @@ -59405,9 +59572,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#update-status-check-protection parameters: - - *342 - - *343 - - *409 + - *344 + - *345 + - *411 requestBody: required: false content: @@ -59459,9 +59626,9 @@ paths: description: Response content: application/json: - schema: *416 + schema: *418 examples: - default: *417 + default: *419 '404': *6 '422': *15 x-github: @@ -59483,9 +59650,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-status-check-protection parameters: - - *342 - - *343 - - *409 + - *344 + - *345 + - *411 responses: '204': description: Response @@ -59509,9 +59676,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-all-status-check-contexts parameters: - - *342 - - *343 - - *409 + - *344 + - *345 + - *411 responses: '200': description: Response @@ -59545,9 +59712,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-status-check-contexts parameters: - - *342 - - *343 - - *409 + - *344 + - *345 + - *411 requestBody: required: false content: @@ -59614,9 +59781,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-status-check-contexts parameters: - - *342 - - *343 - - *409 + - *344 + - *345 + - *411 requestBody: required: false content: @@ -59680,9 +59847,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-status-check-contexts parameters: - - *342 - - *343 - - *409 + - *344 + - *345 + - *411 requestBody: content: application/json: @@ -59748,15 +59915,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-access-restrictions parameters: - - *342 - - *343 - - *409 + - *344 + - *345 + - *411 responses: '200': description: Response content: application/json: - schema: *410 + schema: *412 examples: default: value: @@ -59847,9 +60014,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-access-restrictions parameters: - - *342 - - *343 - - *409 + - *344 + - *345 + - *411 responses: '204': description: Response @@ -59872,9 +60039,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-apps-with-access-to-the-protected-branch parameters: - - *342 - - *343 - - *409 + - *344 + - *345 + - *411 responses: '200': description: Response @@ -59884,7 +60051,7 @@ paths: type: array items: *5 examples: - default: &418 + default: &420 value: - id: 1 slug: octoapp @@ -59941,9 +60108,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-app-access-restrictions parameters: - - *342 - - *343 - - *409 + - *344 + - *345 + - *411 requestBody: required: true content: @@ -59977,7 +60144,7 @@ paths: type: array items: *5 examples: - default: *418 + default: *420 '422': *15 x-github: githubCloudOnly: false @@ -59998,9 +60165,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-app-access-restrictions parameters: - - *342 - - *343 - - *409 + - *344 + - *345 + - *411 requestBody: required: true content: @@ -60034,7 +60201,7 @@ paths: type: array items: *5 examples: - default: *418 + default: *420 '422': *15 x-github: githubCloudOnly: false @@ -60055,9 +60222,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-app-access-restrictions parameters: - - *342 - - *343 - - *409 + - *344 + - *345 + - *411 requestBody: required: true content: @@ -60091,7 +60258,7 @@ paths: type: array items: *5 examples: - default: *418 + default: *420 '422': *15 x-github: githubCloudOnly: false @@ -60113,9 +60280,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-teams-with-access-to-the-protected-branch parameters: - - *342 - - *343 - - *409 + - *344 + - *345 + - *411 responses: '200': description: Response @@ -60123,9 +60290,9 @@ paths: application/json: schema: type: array - items: *195 + items: *197 examples: - default: *259 + default: *261 '404': *6 x-github: githubCloudOnly: false @@ -60145,9 +60312,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-team-access-restrictions parameters: - - *342 - - *343 - - *409 + - *344 + - *345 + - *411 requestBody: required: false content: @@ -60183,9 +60350,9 @@ paths: application/json: schema: type: array - items: *195 + items: *197 examples: - default: *259 + default: *261 '422': *15 x-github: githubCloudOnly: false @@ -60206,9 +60373,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-team-access-restrictions parameters: - - *342 - - *343 - - *409 + - *344 + - *345 + - *411 requestBody: required: false content: @@ -60244,9 +60411,9 @@ paths: application/json: schema: type: array - items: *195 + items: *197 examples: - default: *259 + default: *261 '422': *15 x-github: githubCloudOnly: false @@ -60267,9 +60434,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-team-access-restrictions parameters: - - *342 - - *343 - - *409 + - *344 + - *345 + - *411 requestBody: content: application/json: @@ -60304,9 +60471,9 @@ paths: application/json: schema: type: array - items: *195 + items: *197 examples: - default: *259 + default: *261 '422': *15 x-github: githubCloudOnly: false @@ -60328,9 +60495,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-users-with-access-to-the-protected-branch parameters: - - *342 - - *343 - - *409 + - *344 + - *345 + - *411 responses: '200': description: Response @@ -60340,7 +60507,7 @@ paths: type: array items: *4 examples: - default: *71 + default: *73 '404': *6 x-github: githubCloudOnly: false @@ -60364,9 +60531,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-user-access-restrictions parameters: - - *342 - - *343 - - *409 + - *344 + - *345 + - *411 requestBody: required: true content: @@ -60399,7 +60566,7 @@ paths: type: array items: *4 examples: - default: *71 + default: *73 '422': *15 x-github: githubCloudOnly: false @@ -60424,9 +60591,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-user-access-restrictions parameters: - - *342 - - *343 - - *409 + - *344 + - *345 + - *411 requestBody: required: true content: @@ -60459,7 +60626,7 @@ paths: type: array items: *4 examples: - default: *71 + default: *73 '422': *15 x-github: githubCloudOnly: false @@ -60484,9 +60651,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-user-access-restrictions parameters: - - *342 - - *343 - - *409 + - *344 + - *345 + - *411 requestBody: required: true content: @@ -60519,7 +60686,7 @@ paths: type: array items: *4 examples: - default: *71 + default: *73 '422': *15 x-github: githubCloudOnly: false @@ -60546,9 +60713,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#rename-a-branch parameters: - - *342 - - *343 - - *409 + - *344 + - *345 + - *411 requestBody: required: true content: @@ -60570,7 +60737,7 @@ paths: description: Response content: application/json: - schema: *419 + schema: *421 examples: default: value: @@ -60686,8 +60853,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#create-a-check-run parameters: - - *342 - - *343 + - *344 + - *345 requestBody: required: true content: @@ -60966,7 +61133,7 @@ paths: description: Response content: application/json: - schema: &420 + schema: &422 title: CheckRun description: A check performed on the code of a given code change type: object @@ -61077,16 +61244,16 @@ paths: first class actors within GitHub. type: object nullable: true - properties: *81 - required: *82 + properties: *83 + required: *84 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: *91 - deployment: &745 + items: *93 + deployment: &747 title: Deployment description: A deployment created as the result of an Actions check run from a workflow that references an environment @@ -61153,8 +61320,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *81 - required: *82 + properties: *83 + required: *84 required: - id - node_id @@ -61366,9 +61533,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#get-a-check-run parameters: - - *342 - - *343 - - &421 + - *344 + - *345 + - &423 name: check_run_id description: The unique identifier of the check run. in: path @@ -61380,9 +61547,9 @@ paths: description: Response content: application/json: - schema: *420 + schema: *422 examples: - default: &422 + default: &424 value: id: 4 head_sha: ce587453ced02b1526dfb4cb910479d431683101 @@ -61482,9 +61649,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#update-a-check-run parameters: - - *342 - - *343 - - *421 + - *344 + - *345 + - *423 requestBody: required: true content: @@ -61724,9 +61891,9 @@ paths: description: Response content: application/json: - schema: *420 + schema: *422 examples: - default: *422 + default: *424 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -61746,9 +61913,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#list-check-run-annotations parameters: - - *342 - - *343 - - *421 + - *344 + - *345 + - *423 - *17 - *19 responses: @@ -61823,7 +61990,7 @@ paths: raw_details: Do you mean 'bananas' or 'banana'? blob_href: https://api.github.com/repos/github/rest-api-description/git/blobs/abc headers: - Link: *68 + Link: *70 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -61843,15 +62010,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#rerequest-a-check-run parameters: - - *342 - - *343 - - *421 + - *344 + - *345 + - *423 responses: '201': description: Response content: application/json: - schema: *168 + schema: *170 examples: default: value: @@ -61889,8 +62056,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#create-a-check-suite parameters: - - *342 - - *343 + - *344 + - *345 requestBody: required: true content: @@ -61912,7 +62079,7 @@ paths: description: Response when the suite already exists content: application/json: - schema: &425 + schema: &427 title: CheckSuite description: A suite of checks performed on the code of a given code change @@ -61976,7 +62143,7 @@ paths: nullable: true pull_requests: type: array - items: *91 + items: *93 nullable: true app: title: GitHub app @@ -61987,9 +62154,9 @@ paths: first class actors within GitHub. type: object nullable: true - properties: *81 - required: *82 - repository: *159 + properties: *83 + required: *84 + repository: *161 created_at: type: string format: date-time @@ -61998,12 +62165,12 @@ paths: type: string format: date-time nullable: true - head_commit: &773 + head_commit: &775 title: Simple Commit description: A commit. type: object - properties: *423 - required: *424 + properties: *425 + required: *426 latest_check_runs_count: type: integer check_runs_url: @@ -62031,7 +62198,7 @@ paths: - check_runs_url - pull_requests examples: - default: &426 + default: &428 value: id: 5 node_id: MDEwOkNoZWNrU3VpdGU1 @@ -62322,9 +62489,9 @@ paths: description: Response when the suite was created content: application/json: - schema: *425 + schema: *427 examples: - default: *426 + default: *428 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -62343,8 +62510,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#update-repository-preferences-for-check-suites parameters: - - *342 - - *343 + - *344 + - *345 requestBody: required: true content: @@ -62405,7 +62572,7 @@ paths: required: - app_id - setting - repository: *159 + repository: *161 examples: default: value: @@ -62653,9 +62820,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#get-a-check-suite parameters: - - *342 - - *343 - - &427 + - *344 + - *345 + - &429 name: check_suite_id description: The unique identifier of the check suite. in: path @@ -62667,9 +62834,9 @@ paths: description: Response content: application/json: - schema: *425 + schema: *427 examples: - default: *426 + default: *428 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -62692,17 +62859,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#list-check-runs-in-a-check-suite parameters: - - *342 - - *343 - - *427 - - &482 + - *344 + - *345 + - *429 + - &484 name: check_name description: Returns check runs with the specified `name`. in: query required: false schema: type: string - - &483 + - &485 name: status description: Returns check runs with the specified `status`. in: query @@ -62741,9 +62908,9 @@ paths: type: integer check_runs: type: array - items: *420 + items: *422 examples: - default: &484 + default: &486 value: total_count: 1 check_runs: @@ -62825,7 +62992,7 @@ paths: url: https://api.github.com/repos/github/hello-world name: hello-world headers: - Link: *68 + Link: *70 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -62845,15 +63012,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#rerequest-a-check-suite parameters: - - *342 - - *343 - - *427 + - *344 + - *345 + - *429 responses: '201': description: Response content: application/json: - schema: *168 + schema: *170 examples: default: value: @@ -62880,21 +63047,21 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-code-scanning-alerts-for-a-repository parameters: - - *342 - - *343 - - *428 - - *429 + - *344 + - *345 + - *430 + - *431 - *19 - *17 - - &446 + - &448 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: *430 - - &447 + schema: *432 + - &449 name: pr description: The number of the pull request for the results you want to list. in: query @@ -62919,13 +63086,13 @@ paths: be returned. in: query required: false - schema: *431 + schema: *433 - name: severity description: If specified, only code scanning alerts with this severity will be returned. in: query required: false - schema: *432 + schema: *434 - name: assignees description: | Filter alerts by assignees. Provide a comma-separated list of user handles (e.g., `octocat` or `octocat,hubot`). @@ -62944,14 +63111,14 @@ paths: items: type: object properties: - number: *177 - created_at: *178 - updated_at: *179 - url: *180 - html_url: *181 - instances_url: *433 - state: *186 - fixed_at: *182 + number: *179 + created_at: *180 + updated_at: *181 + url: *182 + html_url: *183 + instances_url: *435 + state: *188 + fixed_at: *184 dismissed_by: title: Simple User description: A GitHub user. @@ -62959,12 +63126,12 @@ paths: properties: *20 required: *21 nullable: true - dismissed_at: *183 - dismissed_reason: *434 - dismissed_comment: *435 - rule: *436 - tool: *437 - most_recent_instance: *438 + dismissed_at: *185 + dismissed_reason: *436 + dismissed_comment: *437 + rule: *438 + tool: *439 + most_recent_instance: *440 dismissal_approved_by: title: Simple User description: A GitHub user. @@ -63090,14 +63257,14 @@ paths: classifications: [] instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/3/instances '304': *37 - '403': &439 + '403': &441 description: Response if GitHub Advanced Security is not enabled for this repository content: application/json: schema: *3 '404': *6 - '503': *120 + '503': *122 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -63117,9 +63284,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-a-code-scanning-alert parameters: - - *342 - - *343 - - &440 + - *344 + - *345 + - &442 name: alert_number in: path description: The number that identifies an alert. You can find this at the @@ -63127,23 +63294,23 @@ paths: field in the response from the `GET /repos/{owner}/{repo}/code-scanning/alerts` operation. required: true - schema: *177 + schema: *179 responses: '200': description: Response content: application/json: - schema: &441 + schema: &443 type: object properties: - number: *177 - created_at: *178 - updated_at: *179 - url: *180 - html_url: *181 - instances_url: *433 - state: *186 - fixed_at: *182 + number: *179 + created_at: *180 + updated_at: *181 + url: *182 + html_url: *183 + instances_url: *435 + state: *188 + fixed_at: *184 dismissed_by: title: Simple User description: A GitHub user. @@ -63151,9 +63318,9 @@ paths: properties: *20 required: *21 nullable: true - dismissed_at: *183 - dismissed_reason: *434 - dismissed_comment: *435 + dismissed_at: *185 + dismissed_reason: *436 + dismissed_comment: *437 rule: type: object properties: @@ -63207,8 +63374,8 @@ paths: type: string description: A link to the documentation for the rule used to detect the alert. - tool: *437 - most_recent_instance: *438 + tool: *439 + most_recent_instance: *440 dismissal_approved_by: title: Simple User description: A GitHub user. @@ -63307,9 +63474,9 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '304': *37 - '403': *439 + '403': *441 '404': *6 - '503': *120 + '503': *122 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -63327,9 +63494,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#update-a-code-scanning-alert parameters: - - *342 - - *343 - - *440 + - *344 + - *345 + - *442 requestBody: required: true content: @@ -63344,8 +63511,8 @@ paths: enum: - open - dismissed - dismissed_reason: *434 - dismissed_comment: *435 + dismissed_reason: *436 + dismissed_comment: *437 create_request: type: boolean description: If `true`, attempt to create an alert dismissal request. @@ -63373,7 +63540,7 @@ paths: description: Response content: application/json: - schema: *441 + schema: *443 examples: default: value: @@ -63449,14 +63616,14 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '400': *14 - '403': &445 + '403': &447 description: Response if the repository is archived or if GitHub Advanced Security is not enabled for this repository content: application/json: schema: *3 '404': *6 - '503': *120 + '503': *122 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -63476,15 +63643,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-the-status-of-an-autofix-for-a-code-scanning-alert parameters: - - *342 - - *343 - - *440 + - *344 + - *345 + - *442 responses: '200': description: Response content: application/json: - schema: &442 + schema: &444 type: object properties: status: @@ -63510,13 +63677,13 @@ paths: - description - started_at examples: - default: &443 + default: &445 value: status: success description: This fixes an XSS vulnerability by escaping the user input. started_at: '2024-02-14T12:29:18Z' - '400': &444 + '400': &446 description: Bad Request content: application/json: @@ -63527,9 +63694,9 @@ paths: message: The alert_number is not valid documentation_url: https://docs.github.com/rest/code-scanning/code-scanning#get-the-status-of-an-autofix-for-a-code-scanning-alert status: '400' - '403': *439 + '403': *441 '404': *6 - '503': *120 + '503': *122 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -63552,29 +63719,29 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#create-an-autofix-for-a-code-scanning-alert parameters: - - *342 - - *343 - - *440 + - *344 + - *345 + - *442 responses: '200': description: OK content: application/json: - schema: *442 + schema: *444 examples: - default: *443 + default: *445 '202': description: Accepted content: application/json: - schema: *442 + schema: *444 examples: default: value: status: pending description: started_at: '2024-02-14T12:29:18Z' - '400': *444 + '400': *446 '403': description: Response if the repository is archived, if GitHub Advanced Security is not enabled for this repository or if rate limit is exceeded @@ -63584,7 +63751,7 @@ paths: '404': *6 '422': description: Unprocessable Entity - '503': *120 + '503': *122 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -63606,9 +63773,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#commit-an-autofix-for-a-code-scanning-alert parameters: - - *342 - - *343 - - *440 + - *344 + - *345 + - *442 requestBody: required: false content: @@ -63653,12 +63820,12 @@ paths: value: target_ref: refs/heads/main sha: 178f4f6090b3fccad4a65b3e83d076a622d59652 - '400': *444 - '403': *445 + '400': *446 + '403': *447 '404': *6 '422': description: Unprocessable Entity - '503': *120 + '503': *122 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -63678,13 +63845,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-instances-of-a-code-scanning-alert parameters: - - *342 - - *343 - - *440 + - *344 + - *345 + - *442 - *19 - *17 - - *446 - - *447 + - *448 + - *449 responses: '200': description: Response @@ -63695,10 +63862,10 @@ paths: items: type: object properties: - ref: *430 - analysis_key: *448 - environment: *449 - category: *450 + ref: *432 + analysis_key: *450 + environment: *451 + category: *452 state: type: string description: State of a code scanning alert instance. @@ -63713,7 +63880,7 @@ paths: properties: text: type: string - location: *451 + location: *453 html_url: type: string classifications: @@ -63721,7 +63888,7 @@ paths: description: |- Classifications that have been applied to the file that triggered the alert. For example identifying it as documentation, or a generated file. - items: *452 + items: *454 examples: default: value: @@ -63758,9 +63925,9 @@ paths: end_column: 50 classifications: - source - '403': *439 + '403': *441 '404': *6 - '503': *120 + '503': *122 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -63792,25 +63959,25 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-code-scanning-analyses-for-a-repository parameters: - - *342 - - *343 - - *428 - - *429 + - *344 + - *345 + - *430 + - *431 - *19 - *17 - - *447 + - *449 - name: ref in: query description: The Git reference for the analyses 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`. required: false - schema: *430 + schema: *432 - name: sarif_id in: query description: Filter analyses belonging to the same SARIF upload. required: false - schema: &453 + schema: &455 type: string description: An identifier for the upload. example: 6c81cd8e-b078-4ac3-a3be-1dad7dbd0b53 @@ -63831,23 +63998,23 @@ paths: application/json: schema: type: array - items: &454 + items: &456 type: object properties: - ref: *430 - commit_sha: &462 + ref: *432 + commit_sha: &464 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]+$" - analysis_key: *448 + analysis_key: *450 environment: type: string description: Identifies the variable values associated with the environment in which this analysis was performed. - category: *450 + category: *452 error: type: string example: error reading field xyz @@ -63871,8 +64038,8 @@ paths: description: The REST API URL of the analysis resource. format: uri readOnly: true - sarif_id: *453 - tool: *437 + sarif_id: *455 + tool: *439 deletable: type: boolean warning: @@ -63933,9 +64100,9 @@ paths: version: 1.2.0 deletable: true warning: '' - '403': *439 + '403': *441 '404': *6 - '503': *120 + '503': *122 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -63969,8 +64136,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-a-code-scanning-analysis-for-a-repository parameters: - - *342 - - *343 + - *344 + - *345 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -63983,7 +64150,7 @@ paths: description: Response content: application/json: - schema: *454 + schema: *456 examples: response: summary: application/json response @@ -64037,14 +64204,14 @@ paths: properties: - github/alertNumber: 2 - github/alertUrl: https://api.github.com/repos/monalisa/monalisa/code-scanning/alerts/2 - '403': *439 + '403': *441 '404': *6 '422': description: Response if analysis could not be processed content: application/json: schema: *3 - '503': *120 + '503': *122 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -64124,8 +64291,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#delete-a-code-scanning-analysis-from-a-repository parameters: - - *342 - - *343 + - *344 + - *345 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -64178,9 +64345,9 @@ paths: 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 '400': *14 - '403': *445 + '403': *447 '404': *6 - '503': *120 + '503': *122 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -64200,8 +64367,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-codeql-databases-for-a-repository parameters: - - *342 - - *343 + - *344 + - *345 responses: '200': description: Response @@ -64209,7 +64376,7 @@ paths: application/json: schema: type: array - items: &455 + items: &457 title: CodeQL Database description: A CodeQL database. type: object @@ -64320,9 +64487,9 @@ paths: updated_at: '2022-09-12T12:14:32Z' url: https://api.github.com/repos/octocat/Hello-World/code-scanning/codeql/databases/ruby commit_oid: 1927de39fefa25a9d0e64e3f540ff824a72f538c - '403': *439 + '403': *441 '404': *6 - '503': *120 + '503': *122 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -64349,8 +64516,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-a-codeql-database-for-a-repository parameters: - - *342 - - *343 + - *344 + - *345 - name: language in: path description: The language of the CodeQL database. @@ -64362,7 +64529,7 @@ paths: description: Response content: application/json: - schema: *455 + schema: *457 examples: default: value: @@ -64394,11 +64561,11 @@ paths: updated_at: '2022-09-12T12:14:32Z' url: https://api.github.com/repos/octocat/Hello-World/code-scanning/codeql/databases/java commit_oid: 1927de39fefa25a9d0e64e3f540ff824a72f538c - '302': &493 + '302': &495 description: Found - '403': *439 + '403': *441 '404': *6 - '503': *120 + '503': *122 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -64418,8 +64585,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#delete-a-codeql-database parameters: - - *342 - - *343 + - *344 + - *345 - name: language in: path description: The language of the CodeQL database. @@ -64429,9 +64596,9 @@ paths: responses: '204': description: Response - '403': *445 + '403': *447 '404': *6 - '503': *120 + '503': *122 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -64457,8 +64624,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#create-a-codeql-variant-analysis parameters: - - *342 - - *343 + - *344 + - *345 requestBody: required: true content: @@ -64467,7 +64634,7 @@ paths: type: object additionalProperties: false properties: - language: &456 + language: &458 type: string description: The language targeted by the CodeQL query enum: @@ -64547,7 +64714,7 @@ paths: description: Variant analysis submitted for processing content: application/json: - schema: &460 + schema: &462 title: Variant Analysis description: A run of a CodeQL query against one or more repositories. type: object @@ -64557,7 +64724,7 @@ paths: description: The ID of the variant analysis. controller_repo: *67 actor: *4 - query_language: *456 + query_language: *458 query_pack_url: type: string description: The download url for the query pack. @@ -64604,7 +64771,7 @@ paths: items: type: object properties: - repository: &457 + repository: &459 title: Repository Identifier description: Repository Identifier type: object @@ -64640,7 +64807,7 @@ paths: - private - stargazers_count - updated_at - analysis_status: &461 + analysis_status: &463 type: string description: The new status of the CodeQL variant analysis repository task. @@ -64672,7 +64839,7 @@ paths: from processing. This information is only available to the user that initiated the variant analysis. properties: - access_mismatch_repos: &458 + access_mismatch_repos: &460 type: object properties: repository_count: @@ -64686,7 +64853,7 @@ paths: This list may not include all repositories that were skipped. This is only available when the repository was found and the user has access to it. - items: *457 + items: *459 required: - repository_count - repositories @@ -64708,8 +64875,8 @@ paths: required: - repository_count - repository_full_names - no_codeql_db_repos: *458 - over_limit_repos: *458 + no_codeql_db_repos: *460 + over_limit_repos: *460 required: - access_mismatch_repos - not_found_repos @@ -64725,7 +64892,7 @@ paths: examples: repositories_parameter: summary: Response for a successful variant analysis submission - value: &459 + value: &461 summary: Default response value: id: 1 @@ -64871,17 +65038,17 @@ paths: private: false repository_owners: summary: Response for a successful variant analysis submission - value: *459 + value: *461 repository_lists: summary: Response for a successful variant analysis submission - value: *459 + value: *461 '404': *6 '422': description: Unable to process variant analysis submission content: application/json: schema: *3 - '503': *120 + '503': *122 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -64902,8 +65069,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-the-summary-of-a-codeql-variant-analysis parameters: - - *342 - - *343 + - *344 + - *345 - name: codeql_variant_analysis_id in: path description: The unique identifier of the variant analysis. @@ -64915,11 +65082,11 @@ paths: description: Response content: application/json: - schema: *460 + schema: *462 examples: - default: *459 + default: *461 '404': *6 - '503': *120 + '503': *122 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -64940,7 +65107,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-the-analysis-status-of-a-repository-in-a-codeql-variant-analysis parameters: - - *342 + - *344 - name: repo in: path description: The name of the controller repository. @@ -64975,7 +65142,7 @@ paths: type: object properties: repository: *67 - analysis_status: *461 + analysis_status: *463 artifact_size_in_bytes: type: integer description: The size of the artifact. This is only available @@ -65079,7 +65246,7 @@ paths: source_location_prefix: "/" artifact_url: https://example.com '404': *6 - '503': *120 + '503': *122 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -65100,8 +65267,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-a-code-scanning-default-setup-configuration parameters: - - *342 - - *343 + - *344 + - *345 responses: '200': description: Response @@ -65184,9 +65351,9 @@ paths: threat_model: remote updated_at: '2023-01-19T11:21:34Z' schedule: weekly - '403': *439 + '403': *441 '404': *6 - '503': *120 + '503': *122 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -65205,8 +65372,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#update-a-code-scanning-default-setup-configuration parameters: - - *342 - - *343 + - *344 + - *345 requestBody: required: true content: @@ -65273,7 +65440,7 @@ paths: description: Response content: application/json: - schema: *168 + schema: *170 examples: default: value: @@ -65298,7 +65465,7 @@ paths: value: run_id: 42 run_url: https://api.github.com/repos/octoorg/octocat/actions/runs/42 - '403': *445 + '403': *447 '404': *6 '409': description: Response if there is already a validation run in progress with @@ -65312,7 +65479,7 @@ paths: content: application/json: schema: *3 - '503': *120 + '503': *122 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -65369,8 +65536,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#upload-an-analysis-as-sarif-data parameters: - - *342 - - *343 + - *344 + - *345 requestBody: required: true content: @@ -65378,7 +65545,7 @@ paths: schema: type: object properties: - commit_sha: *462 + commit_sha: *464 ref: type: string description: |- @@ -65436,7 +65603,7 @@ paths: schema: type: object properties: - id: *453 + id: *455 url: type: string description: The REST API URL for checking the status of the upload. @@ -65450,11 +65617,11 @@ paths: url: https://api.github.com/repos/octocat/hello-world/code-scanning/sarifs/47177e22-5596-11eb-80a1-c1e54ef945c6 '400': description: Bad Request if the sarif field is invalid - '403': *445 + '403': *447 '404': *6 '413': description: Payload Too Large if the sarif field is too large - '503': *120 + '503': *122 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -65473,8 +65640,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-information-about-a-sarif-upload parameters: - - *342 - - *343 + - *344 + - *345 - name: sarif_id description: The SARIF ID obtained after uploading. in: path @@ -65520,10 +65687,10 @@ paths: value: processing_status: complete analyses_url: https://api.github.com/repos/octocat/hello-world/code-scanning/analyses?sarif_id=47177e22-5596-11eb-80a1-c1e54ef945c6 - '403': *439 + '403': *441 '404': description: Not Found if the sarif id does not match any upload - '503': *120 + '503': *122 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -65545,8 +65712,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#get-the-code-security-configuration-associated-with-a-repository parameters: - - *342 - - *343 + - *344 + - *345 responses: '200': description: Response @@ -65627,8 +65794,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-codeowners-errors parameters: - - *342 - - *343 + - *344 + - *345 - name: ref description: 'A branch, tag or commit name used to determine which version of the CODEOWNERS file to use. Default: the repository''s default branch @@ -65748,8 +65915,8 @@ paths: parameters: - *17 - *19 - - *342 - - *343 + - *344 + - *345 responses: '200': description: Response @@ -65765,7 +65932,7 @@ paths: type: integer codespaces: type: array - items: *247 + items: *249 examples: default: value: @@ -66063,8 +66230,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#create-a-codespace-in-a-repository parameters: - - *342 - - *343 + - *344 + - *345 requestBody: required: true content: @@ -66127,22 +66294,22 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *247 + schema: *249 examples: - default: *463 + default: *465 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *247 + schema: *249 examples: - default: *463 + default: *465 '400': *14 '401': *25 '403': *29 '404': *6 - '503': *120 + '503': *122 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -66166,8 +66333,8 @@ paths: parameters: - *17 - *19 - - *342 - - *343 + - *344 + - *345 responses: '200': description: Response @@ -66231,8 +66398,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/machines#list-available-machine-types-for-a-repository parameters: - - *342 - - *343 + - *344 + - *345 - name: location description: The location to check for available machines. Assigned by IP if not provided. @@ -66267,14 +66434,14 @@ paths: type: integer machines: type: array - items: &687 + items: &689 type: object title: Codespace machine description: A description of the machine powering a codespace. - properties: *464 - required: *465 + properties: *466 + required: *467 examples: - default: &688 + default: &690 value: total_count: 2 machines: @@ -66314,8 +66481,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#get-default-attributes-for-a-codespace parameters: - - *342 - - *343 + - *344 + - *345 - name: ref description: The branch or commit to check for a default devcontainer path. If not specified, the default branch will be checked. @@ -66399,8 +66566,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#check-if-permissions-defined-by-a-devcontainer-have-been-accepted-by-the-authenticated-user parameters: - - *342 - - *343 + - *344 + - *345 - name: ref description: The git reference that points to the location of the devcontainer configuration to use for the permission check. The value of `ref` will typically @@ -66445,7 +66612,7 @@ paths: '403': *29 '404': *6 '422': *15 - '503': *120 + '503': *122 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -66466,8 +66633,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#list-repository-secrets parameters: - - *342 - - *343 + - *344 + - *345 - *17 - *19 responses: @@ -66485,7 +66652,7 @@ paths: type: integer secrets: type: array - items: &469 + items: &471 title: Codespaces Secret description: Set repository secrets for GitHub Codespaces. type: object @@ -66505,9 +66672,9 @@ paths: - created_at - updated_at examples: - default: *466 + default: *468 headers: - Link: *68 + Link: *70 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -66528,16 +66695,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#get-a-repository-public-key parameters: - - *342 - - *343 + - *344 + - *345 responses: '200': description: Response content: application/json: - schema: *467 + schema: *469 examples: - default: *468 + default: *470 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -66557,17 +66724,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#get-a-repository-secret parameters: - - *342 - - *343 - - *167 + - *344 + - *345 + - *169 responses: '200': description: Response content: application/json: - schema: *469 + schema: *471 examples: - default: *470 + default: *472 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -66587,9 +66754,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#create-or-update-a-repository-secret parameters: - - *342 - - *343 - - *167 + - *344 + - *345 + - *169 requestBody: required: true content: @@ -66617,7 +66784,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *168 + schema: *170 examples: default: value: @@ -66641,9 +66808,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#delete-a-repository-secret parameters: - - *342 - - *343 - - *167 + - *344 + - *345 + - *169 responses: '204': description: Response @@ -66671,8 +66838,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#list-repository-collaborators parameters: - - *342 - - *343 + - *344 + - *345 - name: affiliation description: Filter collaborators returned by their affiliation. `outside` means all outside collaborators of an organization-owned repository. `direct` @@ -66714,7 +66881,7 @@ paths: title: Collaborator description: Collaborator type: object - properties: &471 + properties: &473 login: type: string example: octocat @@ -66807,7 +66974,7 @@ paths: user_view_type: type: string example: public - required: &472 + required: &474 - avatar_url - events_url - followers_url @@ -66856,7 +67023,7 @@ paths: admin: false role_name: write headers: - Link: *68 + Link: *70 '404': *6 x-github: githubCloudOnly: false @@ -66881,9 +67048,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#check-if-a-user-is-a-repository-collaborator parameters: - - *342 - - *343 - - *72 + - *344 + - *345 + - *74 responses: '204': description: Response if user is a collaborator @@ -66929,9 +67096,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#add-a-repository-collaborator parameters: - - *342 - - *343 - - *72 + - *344 + - *345 + - *74 requestBody: required: false content: @@ -66957,7 +67124,7 @@ paths: description: Response when a new invitation is created content: application/json: - schema: &544 + schema: &546 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -66968,7 +67135,7 @@ paths: example: 42 type: integer format: int64 - repository: *159 + repository: *161 invitee: title: Simple User description: A GitHub user. @@ -67146,7 +67313,7 @@ paths: - an Enterprise Managed User (EMU) account was invited to a repository in an enterprise with personal user accounts content: application/json: - schema: *128 + schema: *130 '403': *29 x-github: triggersNotification: true @@ -67186,9 +67353,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#remove-a-repository-collaborator parameters: - - *342 - - *343 - - *72 + - *344 + - *345 + - *74 responses: '204': description: No Content when collaborator was removed from the repository. @@ -67219,9 +67386,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#get-repository-permissions-for-a-user parameters: - - *342 - - *343 - - *72 + - *344 + - *345 + - *74 responses: '200': description: if user has admin permissions @@ -67241,8 +67408,8 @@ paths: title: Collaborator description: Collaborator type: object - properties: *471 - required: *472 + properties: *473 + required: *474 nullable: true required: - permission @@ -67297,8 +67464,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#list-commit-comments-for-a-repository parameters: - - *342 - - *343 + - *344 + - *345 - *17 - *19 responses: @@ -67308,7 +67475,7 @@ paths: application/json: schema: type: array - items: &473 + items: &475 title: Commit Comment description: Commit Comment type: object @@ -67349,8 +67516,8 @@ paths: updated_at: type: string format: date-time - author_association: *83 - reactions: *84 + author_association: *85 + reactions: *86 required: - url - html_url @@ -67366,7 +67533,7 @@ paths: - created_at - updated_at examples: - default: &478 + default: &480 value: - html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -67400,7 +67567,7 @@ paths: updated_at: '2011-04-14T16:00:49Z' author_association: COLLABORATOR headers: - Link: *68 + Link: *70 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -67425,17 +67592,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#get-a-commit-comment parameters: - - *342 - - *343 - - *102 + - *344 + - *345 + - *104 responses: '200': description: Response content: application/json: - schema: *473 + schema: *475 examples: - default: &479 + default: &481 value: html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -67492,9 +67659,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#update-a-commit-comment parameters: - - *342 - - *343 - - *102 + - *344 + - *345 + - *104 requestBody: required: true content: @@ -67516,7 +67683,7 @@ paths: description: Response content: application/json: - schema: *473 + schema: *475 examples: default: value: @@ -67567,9 +67734,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#delete-a-commit-comment parameters: - - *342 - - *343 - - *102 + - *344 + - *345 + - *104 responses: '204': description: Response @@ -67590,9 +67757,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-commit-comment parameters: - - *342 - - *343 - - *102 + - *344 + - *345 + - *104 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a commit comment. @@ -67618,7 +67785,7 @@ paths: application/json: schema: type: array - items: &474 + items: &476 title: Reaction description: Reactions to conversations provide a way to help people express their feelings more simply and effectively. @@ -67661,7 +67828,7 @@ paths: - content - created_at examples: - default: &548 + default: &550 value: - id: 1 node_id: MDg6UmVhY3Rpb24x @@ -67687,7 +67854,7 @@ paths: content: heart created_at: '2016-05-20T20:09:31Z' headers: - Link: *68 + Link: *70 '404': *6 x-github: githubCloudOnly: false @@ -67706,9 +67873,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-commit-comment parameters: - - *342 - - *343 - - *102 + - *344 + - *345 + - *104 requestBody: required: true content: @@ -67740,9 +67907,9 @@ paths: description: Reaction exists content: application/json: - schema: *474 + schema: *476 examples: - default: &475 + default: &477 value: id: 1 node_id: MDg6UmVhY3Rpb24x @@ -67771,9 +67938,9 @@ paths: description: Reaction created content: application/json: - schema: *474 + schema: *476 examples: - default: *475 + default: *477 '422': *15 x-github: githubCloudOnly: false @@ -67795,10 +67962,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-a-commit-comment-reaction parameters: - - *342 - - *343 - - *102 - - &549 + - *344 + - *345 + - *104 + - &551 name: reaction_id description: The unique identifier of the reaction. in: path @@ -67853,8 +68020,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#list-commits parameters: - - *342 - - *343 + - *344 + - *345 - name: sha description: 'SHA or branch to start listing commits from. Default: the repository’s default branch (usually `main`).' @@ -67910,9 +68077,9 @@ paths: application/json: schema: type: array - items: *476 + items: *478 examples: - default: &600 + default: &602 value: - url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -67982,7 +68149,7 @@ paths: - url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e headers: - Link: *68 + Link: *70 '500': *55 '400': *14 '404': *6 @@ -68006,9 +68173,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#list-branches-for-head-commit parameters: - - *342 - - *343 - - &477 + - *344 + - *345 + - &479 name: commit_sha description: The SHA of the commit. in: path @@ -68080,9 +68247,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#list-commit-comments parameters: - - *342 - - *343 - - *477 + - *344 + - *345 + - *479 - *17 - *19 responses: @@ -68092,11 +68259,11 @@ paths: application/json: schema: type: array - items: *473 + items: *475 examples: - default: *478 + default: *480 headers: - Link: *68 + Link: *70 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -68122,9 +68289,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#create-a-commit-comment parameters: - - *342 - - *343 - - *477 + - *344 + - *345 + - *479 requestBody: required: true content: @@ -68159,9 +68326,9 @@ paths: description: Response content: application/json: - schema: *473 + schema: *475 examples: - default: *479 + default: *481 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -68189,9 +68356,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#list-pull-requests-associated-with-a-commit parameters: - - *342 - - *343 - - *477 + - *344 + - *345 + - *479 - *17 - *19 responses: @@ -68201,9 +68368,9 @@ paths: application/json: schema: type: array - items: *480 + items: *482 examples: - default: &592 + default: &594 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -68682,7 +68849,7 @@ paths: auto_merge: draft: false headers: - Link: *68 + Link: *70 '409': *54 x-github: githubCloudOnly: false @@ -68740,11 +68907,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#get-a-commit parameters: - - *342 - - *343 + - *344 + - *345 - *19 - *17 - - &481 + - &483 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)" @@ -68759,9 +68926,9 @@ paths: description: Response content: application/json: - schema: *476 + schema: *478 examples: - default: &579 + default: &581 value: url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -68849,7 +69016,7 @@ paths: schema: type: string examples: - default: &490 + default: &492 value: | diff --git a/testfile b/testfile index 9bdeaeb..912c7ef 100644 @@ -68862,7 +69029,7 @@ paths: schema: type: string examples: - default: &491 + default: &493 value: | From ac3282a2725be3b1d4979169a7a311c89066af1c Mon Sep 17 00:00:00 2001 From: Mona Lisa <87831417+monalisa@users.noreply.github.com> @@ -68889,7 +69056,7 @@ paths: '422': *15 '404': *6 '500': *55 - '503': *120 + '503': *122 '409': *54 x-github: githubCloudOnly: false @@ -68915,11 +69082,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#list-check-runs-for-a-git-reference parameters: - - *342 - - *343 - - *481 - - *482 + - *344 + - *345 - *483 + - *484 + - *485 - name: filter description: Filters check runs by their `completed_at` timestamp. `latest` returns the most recent check runs. @@ -68953,11 +69120,11 @@ paths: type: integer check_runs: type: array - items: *420 + items: *422 examples: - default: *484 + default: *486 headers: - Link: *68 + Link: *70 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -68980,9 +69147,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#list-check-suites-for-a-git-reference parameters: - - *342 - - *343 - - *481 + - *344 + - *345 + - *483 - name: app_id description: Filters check suites by GitHub App `id`. in: query @@ -68990,7 +69157,7 @@ paths: schema: type: integer example: 1 - - *482 + - *484 - *17 - *19 responses: @@ -69008,7 +69175,7 @@ paths: type: integer check_suites: type: array - items: *425 + items: *427 examples: default: value: @@ -69183,7 +69350,7 @@ paths: latest_check_runs_count: 1 check_runs_url: https://api.github.com/repos/octocat/Hello-World/check-suites/5/check-runs headers: - Link: *68 + Link: *70 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -69208,9 +69375,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/statuses#get-the-combined-status-for-a-specific-reference parameters: - - *342 - - *343 - - *481 + - *344 + - *345 + - *483 - *17 - *19 responses: @@ -69277,7 +69444,7 @@ paths: type: string total_count: type: integer - repository: *159 + repository: *161 commit_url: type: string format: uri @@ -69408,9 +69575,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/statuses#list-commit-statuses-for-a-reference parameters: - - *342 - - *343 - - *481 + - *344 + - *345 + - *483 - *17 - *19 responses: @@ -69420,7 +69587,7 @@ paths: application/json: schema: type: array - items: &668 + items: &670 title: Status description: The status of a commit. type: object @@ -69500,8 +69667,8 @@ paths: type: User site_admin: false headers: - Link: *68 - '301': *346 + Link: *70 + '301': *348 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -69529,8 +69696,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/community#get-community-profile-metrics parameters: - - *342 - - *343 + - *344 + - *345 responses: '200': description: Response @@ -69559,20 +69726,20 @@ paths: title: Code Of Conduct Simple description: Code of Conduct Simple type: object - properties: *485 - required: *486 + properties: *487 + required: *488 nullable: true code_of_conduct_file: title: Community Health File type: object - properties: &487 + properties: &489 url: type: string format: uri html_url: type: string format: uri - required: &488 + required: &490 - url - html_url nullable: true @@ -69580,32 +69747,32 @@ paths: title: License Simple description: License Simple type: object - properties: *89 - required: *90 + properties: *91 + required: *92 nullable: true contributing: title: Community Health File type: object - properties: *487 - required: *488 + properties: *489 + required: *490 nullable: true readme: title: Community Health File type: object - properties: *487 - required: *488 + properties: *489 + required: *490 nullable: true issue_template: title: Community Health File type: object - properties: *487 - required: *488 + properties: *489 + required: *490 nullable: true pull_request_template: title: Community Health File type: object - properties: *487 - required: *488 + properties: *489 + required: *490 nullable: true required: - code_of_conduct @@ -69732,8 +69899,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#compare-two-commits parameters: - - *342 - - *343 + - *344 + - *345 - *19 - *17 - name: basehead @@ -69776,8 +69943,8 @@ paths: type: string format: uri example: https://github.com/octocat/Hello-World/compare/master...topic.patch - base_commit: *476 - merge_base_commit: *476 + base_commit: *478 + merge_base_commit: *478 status: type: string enum: @@ -69797,10 +69964,10 @@ paths: example: 6 commits: type: array - items: *476 + items: *478 files: type: array - items: *489 + items: *491 required: - url - html_url @@ -70046,15 +70213,15 @@ paths: schema: type: string examples: - default: *490 + default: *492 application/vnd.github.patch: schema: type: string examples: - default: *491 + default: *493 '404': *6 '500': *55 - '503': *120 + '503': *122 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -70096,8 +70263,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#get-repository-content parameters: - - *342 - - *343 + - *344 + - *345 - name: path description: path parameter in: path @@ -70257,7 +70424,7 @@ paths: - type - url examples: - response-if-content-is-a-file-github-object: &492 + response-if-content-is-a-file-github-object: &494 summary: Response if content is a file value: type: file @@ -70389,7 +70556,7 @@ paths: - size - type - url - - &605 + - &607 title: Content File description: Content File type: object @@ -70590,7 +70757,7 @@ paths: - url - submodule_git_url examples: - response-if-content-is-a-file: *492 + response-if-content-is-a-file: *494 response-if-content-is-a-directory: summary: Response if content is a directory and the application/json media type is requested @@ -70659,7 +70826,7 @@ paths: html: https://github.com/jquery/qunit/tree/6ca3721222109997540bd6d9ccd396902e0ad2f9 '404': *6 '403': *29 - '302': *493 + '302': *495 '304': *37 x-github: githubCloudOnly: false @@ -70682,8 +70849,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#create-or-update-file-contents parameters: - - *342 - - *343 + - *344 + - *345 - name: path description: path parameter in: path @@ -70776,7 +70943,7 @@ paths: description: Response content: application/json: - schema: &494 + schema: &496 title: File Commit description: File Commit type: object @@ -70928,7 +71095,7 @@ paths: description: Response content: application/json: - schema: *494 + schema: *496 examples: example-for-creating-a-file: value: @@ -70982,7 +71149,7 @@ paths: schema: oneOf: - *3 - - &526 + - &528 description: Repository rule violation was detected type: object properties: @@ -71003,7 +71170,7 @@ paths: items: type: object properties: - placeholder_id: &660 + placeholder_id: &662 description: The ID of the push protection bypass placeholder. This value is returned on any push protected routes. @@ -71035,8 +71202,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#delete-a-file parameters: - - *342 - - *343 + - *344 + - *345 - name: path description: path parameter in: path @@ -71097,7 +71264,7 @@ paths: description: Response content: application/json: - schema: *494 + schema: *496 examples: default: value: @@ -71132,7 +71299,7 @@ paths: '422': *15 '404': *6 '409': *54 - '503': *120 + '503': *122 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71152,8 +71319,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-contributors parameters: - - *342 - - *343 + - *344 + - *345 - name: anon description: Set to `1` or `true` to include anonymous contributors in results. in: query @@ -71253,7 +71420,7 @@ paths: site_admin: false contributions: 32 headers: - Link: *68 + Link: *70 '204': description: Response if repository is empty '403': *29 @@ -71276,24 +71443,24 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#list-dependabot-alerts-for-a-repository parameters: - - *342 - - *343 - - *197 - - *198 + - *344 + - *345 - *199 - *200 - *201 + - *202 + - *203 - 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 - - *202 - - *495 - - *203 - *204 + - *497 - *205 + - *206 + - *207 - *62 - *47 - *48 @@ -71305,11 +71472,11 @@ paths: application/json: schema: type: array - items: &499 + items: &501 type: object description: A Dependabot alert. properties: - number: *177 + number: *179 state: type: string description: The state of the Dependabot alert. @@ -71352,13 +71519,13 @@ paths: - direct - transitive - inconclusive - security_advisory: *496 + security_advisory: *498 security_vulnerability: *66 - url: *180 - html_url: *181 - created_at: *178 - updated_at: *179 - dismissed_at: *183 + url: *182 + html_url: *183 + created_at: *180 + updated_at: *181 + dismissed_at: *185 dismissed_by: title: Simple User description: A GitHub user. @@ -71382,9 +71549,9 @@ paths: dismissal. nullable: true maxLength: 280 - fixed_at: *182 - auto_dismissed_at: *497 - dismissal_request: *498 + fixed_at: *184 + auto_dismissed_at: *499 + dismissal_request: *500 assignees: type: array description: The users assigned to this alert. @@ -71639,9 +71806,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#get-a-dependabot-alert parameters: - - *342 - - *343 - - &500 + - *344 + - *345 + - &502 name: alert_number in: path description: |- @@ -71650,13 +71817,13 @@ paths: or in `number` fields in the response from the `GET /repos/{owner}/{repo}/dependabot/alerts` operation. required: true - schema: *177 + schema: *179 responses: '200': description: Response content: application/json: - schema: *499 + schema: *501 examples: default: value: @@ -71788,9 +71955,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#update-a-dependabot-alert parameters: - - *342 - - *343 - - *500 + - *344 + - *345 + - *502 requestBody: required: true content: @@ -71846,7 +72013,7 @@ paths: description: Response content: application/json: - schema: *499 + schema: *501 examples: default: value: @@ -71976,8 +72143,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#list-repository-secrets parameters: - - *342 - - *343 + - *344 + - *345 - *17 - *19 responses: @@ -71995,7 +72162,7 @@ paths: type: integer secrets: type: array - items: &503 + items: &505 title: Dependabot Secret description: Set secrets for Dependabot. type: object @@ -72026,7 +72193,7 @@ paths: created_at: '2020-01-10T10:59:22Z' updated_at: '2020-01-11T11:59:22Z' headers: - Link: *68 + Link: *70 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72048,16 +72215,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#get-a-repository-public-key parameters: - - *342 - - *343 + - *344 + - *345 responses: '200': description: Response content: application/json: - schema: *501 + schema: *503 examples: - default: *502 + default: *504 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72077,15 +72244,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#get-a-repository-secret parameters: - - *342 - - *343 - - *167 + - *344 + - *345 + - *169 responses: '200': description: Response content: application/json: - schema: *503 + schema: *505 examples: default: value: @@ -72111,9 +72278,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#create-or-update-a-repository-secret parameters: - - *342 - - *343 - - *167 + - *344 + - *345 + - *169 requestBody: required: true content: @@ -72141,7 +72308,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *168 + schema: *170 examples: default: value: @@ -72165,9 +72332,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#delete-a-repository-secret parameters: - - *342 - - *343 - - *167 + - *344 + - *345 + - *169 responses: '204': description: Response @@ -72189,8 +72356,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependency-graph/dependency-review#get-a-diff-of-the-dependencies-between-commits parameters: - - *342 - - *343 + - *344 + - *345 - name: basehead description: The base and head Git revisions to compare. The Git revisions will be resolved to commit SHAs. Named revisions will be resolved to their @@ -72326,7 +72493,7 @@ paths: advisory_summary: Ruby OpenID advisory_url: https://github.com/advisories/GHSA-fqfj-cmh6-hj49 headers: - Link: *68 + Link: *70 '404': *6 '403': description: Response for a private repository when GitHub Advanced Security @@ -72350,8 +72517,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependency-graph/sboms#export-a-software-bill-of-materials-sbom-for-a-repository parameters: - - *342 - - *343 + - *344 + - *345 responses: '200': description: Response @@ -72567,7 +72734,7 @@ paths: spdxElementId: SPDXRef-DOCUMENT relatedSpdxElement: SPDXRef-Repository headers: - Link: *68 + Link: *70 '404': *6 '403': *29 x-github: @@ -72589,8 +72756,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependency-graph/sboms#fetch-a-software-bill-of-materials-sbom-for-a-repository parameters: - - *342 - - *343 + - *344 + - *345 - name: sbom_uuid in: path required: true @@ -72601,7 +72768,7 @@ paths: '302': description: Redirects to a temporary download URL for the completed SBOM. headers: - Location: *504 + Location: *506 '202': description: SBOM is still being processed, no content is returned. '404': *6 @@ -72622,8 +72789,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependency-graph/sboms#request-generation-of-a-software-bill-of-materials-sbom-for-a-repository parameters: - - *342 - - *343 + - *344 + - *345 responses: '201': description: Response @@ -72661,8 +72828,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependency-graph/dependency-submission#create-a-snapshot-of-dependencies-for-a-repository parameters: - - *342 - - *343 + - *344 + - *345 requestBody: required: true content: @@ -72737,7 +72904,7 @@ paths: - version - url additionalProperties: false - metadata: &505 + metadata: &507 title: metadata description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -72770,7 +72937,7 @@ paths: the root of the Git repository. example: "/src/build/package-lock.json" additionalProperties: false - metadata: *505 + metadata: *507 resolved: type: object description: A collection of resolved package dependencies. @@ -72783,7 +72950,7 @@ paths: for more details. example: pkg:/npm/%40actions/http-client@1.0.11 pattern: "^pkg" - metadata: *505 + metadata: *507 relationship: type: string description: A notation of whether a dependency is requested @@ -72912,8 +73079,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#list-deployments parameters: - - *342 - - *343 + - *344 + - *345 - name: sha description: The SHA recorded at creation time. in: query @@ -72953,11 +73120,11 @@ paths: application/json: schema: type: array - items: *506 + items: *508 examples: - default: *507 + default: *509 headers: - Link: *68 + Link: *70 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73021,8 +73188,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#create-a-deployment parameters: - - *342 - - *343 + - *344 + - *345 requestBody: required: true content: @@ -73103,7 +73270,7 @@ paths: description: Response content: application/json: - schema: *506 + schema: *508 examples: simple-example: summary: Simple example @@ -73176,9 +73343,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#get-a-deployment parameters: - - *342 - - *343 - - &508 + - *344 + - *345 + - &510 name: deployment_id description: deployment_id parameter in: path @@ -73190,7 +73357,7 @@ paths: description: Response content: application/json: - schema: *506 + schema: *508 examples: default: value: @@ -73255,9 +73422,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#delete-a-deployment parameters: - - *342 - - *343 - - *508 + - *344 + - *345 + - *510 responses: '204': description: Response @@ -73279,9 +73446,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/statuses#list-deployment-statuses parameters: - - *342 - - *343 - - *508 + - *344 + - *345 + - *510 - *17 - *19 responses: @@ -73291,7 +73458,7 @@ paths: application/json: schema: type: array - items: &509 + items: &511 title: Deployment Status description: The status of a deployment. type: object @@ -73382,8 +73549,8 @@ paths: first class actors within GitHub. type: object nullable: true - properties: *81 - required: *82 + properties: *83 + required: *84 required: - id - node_id @@ -73432,7 +73599,7 @@ paths: environment_url: https://test-branch.lab.acme.com log_url: https://example.com/deployment/42/output headers: - Link: *68 + Link: *70 '404': *6 x-github: githubCloudOnly: false @@ -73452,9 +73619,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/statuses#create-a-deployment-status parameters: - - *342 - - *343 - - *508 + - *344 + - *345 + - *510 requestBody: required: true content: @@ -73529,9 +73696,9 @@ paths: description: Response content: application/json: - schema: *509 + schema: *511 examples: - default: &510 + default: &512 value: url: https://api.github.com/repos/octocat/example/deployments/42/statuses/1 id: 1 @@ -73587,9 +73754,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/statuses#get-a-deployment-status parameters: - - *342 - - *343 - - *508 + - *344 + - *345 + - *510 - name: status_id in: path required: true @@ -73600,9 +73767,9 @@ paths: description: Response content: application/json: - schema: *509 + schema: *511 examples: - default: *510 + default: *512 '404': *6 x-github: githubCloudOnly: false @@ -73627,8 +73794,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#create-a-repository-dispatch-event parameters: - - *342 - - *343 + - *344 + - *345 requestBody: required: true content: @@ -73685,8 +73852,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#list-environments parameters: - - *342 - - *343 + - *344 + - *345 - *17 - *19 responses: @@ -73703,7 +73870,7 @@ paths: type: integer environments: type: array - items: &512 + items: &514 title: Environment description: Details of a deployment environment type: object @@ -73755,7 +73922,7 @@ paths: type: type: string example: wait_timer - wait_timer: &514 + wait_timer: &516 type: integer example: 30 description: The amount of time to delay a job after @@ -73792,11 +73959,11 @@ paths: items: type: object properties: - type: *511 + type: *513 reviewer: anyOf: - *4 - - *195 + - *197 required: - id - node_id @@ -73816,7 +73983,7 @@ paths: - id - node_id - type - deployment_branch_policy: &515 + deployment_branch_policy: &517 type: object description: The type of deployment branch policy for this environment. To allow all branches to deploy, set to `null`. @@ -73932,9 +74099,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#get-an-environment parameters: - - *342 - - *343 - - &513 + - *344 + - *345 + - &515 name: environment_name in: path required: true @@ -73947,9 +74114,9 @@ paths: description: Response content: application/json: - schema: *512 + schema: *514 examples: - default: &516 + default: &518 value: id: 161088068 node_id: MDExOkVudmlyb25tZW50MTYxMDg4MDY4 @@ -74033,9 +74200,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#create-or-update-an-environment parameters: - - *342 - - *343 - - *513 + - *344 + - *345 + - *515 requestBody: required: false content: @@ -74044,7 +74211,7 @@ paths: type: object nullable: true properties: - wait_timer: *514 + wait_timer: *516 prevent_self_review: type: boolean example: false @@ -74061,13 +74228,13 @@ paths: items: type: object properties: - type: *511 + type: *513 id: type: integer description: The id of the user or team who can review the deployment example: 4532992 - deployment_branch_policy: *515 + deployment_branch_policy: *517 additionalProperties: false examples: default: @@ -74087,9 +74254,9 @@ paths: description: Response content: application/json: - schema: *512 + schema: *514 examples: - default: *516 + default: *518 '422': description: Validation error when the environment name is invalid or when `protected_branches` and `custom_branch_policies` in `deployment_branch_policy` @@ -74113,9 +74280,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#delete-an-environment parameters: - - *342 - - *343 - - *513 + - *344 + - *345 + - *515 responses: '204': description: Default response @@ -74140,9 +74307,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#list-deployment-branch-policies parameters: - - *342 - - *343 - - *513 + - *344 + - *345 + - *515 - *17 - *19 responses: @@ -74160,7 +74327,7 @@ paths: example: 2 branch_policies: type: array - items: &517 + items: &519 title: Deployment branch policy description: Details of a deployment branch or tag policy. type: object @@ -74217,9 +74384,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#create-a-deployment-branch-policy parameters: - - *342 - - *343 - - *513 + - *344 + - *345 + - *515 requestBody: required: true content: @@ -74265,9 +74432,9 @@ paths: description: Response content: application/json: - schema: *517 + schema: *519 examples: - example-wildcard: &518 + example-wildcard: &520 value: id: 364662 node_id: MDE2OkdhdGVCcmFuY2hQb2xpY3kzNjQ2NjI= @@ -74309,10 +74476,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#get-a-deployment-branch-policy parameters: - - *342 - - *343 - - *513 - - &519 + - *344 + - *345 + - *515 + - &521 name: branch_policy_id in: path required: true @@ -74324,9 +74491,9 @@ paths: description: Response content: application/json: - schema: *517 + schema: *519 examples: - default: *518 + default: *520 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74345,10 +74512,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#update-a-deployment-branch-policy parameters: - - *342 - - *343 - - *513 - - *519 + - *344 + - *345 + - *515 + - *521 requestBody: required: true content: @@ -74376,9 +74543,9 @@ paths: description: Response content: application/json: - schema: *517 + schema: *519 examples: - default: *518 + default: *520 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74397,10 +74564,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#delete-a-deployment-branch-policy parameters: - - *342 - - *343 - - *513 - - *519 + - *344 + - *345 + - *515 + - *521 responses: '204': description: Response @@ -74425,9 +74592,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#get-all-deployment-protection-rules-for-an-environment parameters: - - *513 - - *343 - - *342 + - *515 + - *345 + - *344 responses: '200': description: List of deployment protection rules @@ -74443,7 +74610,7 @@ paths: example: 10 custom_deployment_protection_rules: type: array - items: &520 + items: &522 title: Deployment protection rule description: Deployment protection rule type: object @@ -74462,7 +74629,7 @@ paths: example: true description: Whether the deployment protection rule is enabled for the environment. - app: &521 + app: &523 title: Custom deployment protection rule app description: A GitHub App that is providing a custom deployment protection rule. @@ -74561,9 +74728,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#create-a-custom-deployment-protection-rule-on-an-environment parameters: - - *513 - - *343 - - *342 + - *515 + - *345 + - *344 requestBody: content: application/json: @@ -74584,9 +74751,9 @@ paths: description: The enabled custom deployment protection rule content: application/json: - schema: *520 + schema: *522 examples: - default: &522 + default: &524 value: id: 3 node_id: IEH37kRlcGxveW1lbnRTdGF0ddiv @@ -74621,9 +74788,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#list-custom-deployment-rule-integrations-available-for-an-environment parameters: - - *513 - - *343 - - *342 + - *515 + - *345 + - *344 - *19 - *17 responses: @@ -74642,7 +74809,7 @@ paths: example: 35 available_custom_deployment_protection_rule_integrations: type: array - items: *521 + items: *523 examples: default: value: @@ -74677,10 +74844,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#get-a-custom-deployment-protection-rule parameters: - - *342 - - *343 - - *513 - - &523 + - *344 + - *345 + - *515 + - &525 name: protection_rule_id description: The unique identifier of the protection rule. in: path @@ -74692,9 +74859,9 @@ paths: description: Response content: application/json: - schema: *520 + schema: *522 examples: - default: *522 + default: *524 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74715,10 +74882,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#disable-a-custom-protection-rule-for-an-environment parameters: - - *513 - - *343 - - *342 - - *523 + - *515 + - *345 + - *344 + - *525 responses: '204': description: Response @@ -74744,9 +74911,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-environment-secrets parameters: - - *342 - - *343 - - *513 + - *344 + - *345 + - *515 - *17 - *19 responses: @@ -74764,11 +74931,11 @@ paths: type: integer secrets: type: array - items: *387 + items: *389 examples: - default: *388 + default: *390 headers: - Link: *68 + Link: *70 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74791,17 +74958,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-an-environment-public-key parameters: - - *342 - - *343 - - *513 + - *344 + - *345 + - *515 responses: '200': description: Response content: application/json: - schema: *389 + schema: *391 examples: - default: *390 + default: *392 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74823,18 +74990,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-an-environment-secret parameters: - - *342 - - *343 - - *513 - - *167 + - *344 + - *345 + - *515 + - *169 responses: '200': description: Response content: application/json: - schema: *387 + schema: *389 examples: - default: *524 + default: *526 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74856,10 +75023,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#create-or-update-an-environment-secret parameters: - - *342 - - *343 - - *513 - - *167 + - *344 + - *345 + - *515 + - *169 requestBody: required: true content: @@ -74890,7 +75057,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *168 + schema: *170 examples: default: value: @@ -74916,10 +75083,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#delete-an-environment-secret parameters: - - *342 - - *343 - - *513 - - *167 + - *344 + - *345 + - *515 + - *169 responses: '204': description: Default response @@ -74944,10 +75111,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-environment-variables parameters: - - *342 - - *343 - - *513 - - *358 + - *344 + - *345 + - *515 + - *360 - *19 responses: '200': @@ -74964,11 +75131,11 @@ paths: type: integer variables: type: array - items: *391 + items: *393 examples: - default: *392 + default: *394 headers: - Link: *68 + Link: *70 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74989,9 +75156,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#create-an-environment-variable parameters: - - *342 - - *343 - - *513 + - *344 + - *345 + - *515 requestBody: required: true content: @@ -75018,7 +75185,7 @@ paths: description: Response content: application/json: - schema: *168 + schema: *170 examples: default: value: @@ -75043,18 +75210,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#get-an-environment-variable parameters: - - *342 - - *343 - - *513 - - *170 + - *344 + - *345 + - *515 + - *172 responses: '200': description: Response content: application/json: - schema: *391 + schema: *393 examples: - default: *525 + default: *527 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75075,10 +75242,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#update-an-environment-variable parameters: - - *342 - - *343 - - *170 - - *513 + - *344 + - *345 + - *172 + - *515 requestBody: required: true content: @@ -75120,10 +75287,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#delete-an-environment-variable parameters: - - *342 - - *343 - - *170 - - *513 + - *344 + - *345 + - *172 + - *515 responses: '204': description: Response @@ -75145,8 +75312,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-repository-events parameters: - - *342 - - *343 + - *344 + - *345 - *17 - *19 responses: @@ -75156,7 +75323,7 @@ paths: application/json: schema: type: array - items: *112 + items: *114 examples: 200-response: value: @@ -75214,8 +75381,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/forks#list-forks parameters: - - *342 - - *343 + - *344 + - *345 - name: sort description: The sort order. `stargazers` will sort by star count. in: query @@ -75237,7 +75404,7 @@ paths: application/json: schema: type: array - items: *159 + items: *161 examples: default: value: @@ -75350,7 +75517,7 @@ paths: url: https://api.github.com/licenses/mit node_id: MDc6TGljZW5zZW1pdA== headers: - Link: *68 + Link: *70 '400': *14 x-github: githubCloudOnly: false @@ -75374,8 +75541,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/forks#create-a-fork parameters: - - *342 - - *343 + - *344 + - *345 requestBody: required: false content: @@ -75407,9 +75574,9 @@ paths: description: Response content: application/json: - schema: *345 + schema: *347 examples: - default: *347 + default: *349 '400': *14 '422': *15 '403': *29 @@ -75430,8 +75597,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/blobs#create-a-blob parameters: - - *342 - - *343 + - *344 + - *345 requestBody: required: true content: @@ -75490,8 +75657,8 @@ paths: application/json: schema: oneOf: - - *128 - - *526 + - *130 + - *528 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75516,8 +75683,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/blobs#get-a-blob parameters: - - *342 - - *343 + - *344 + - *345 - name: file_sha in: path required: true @@ -75616,8 +75783,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/commits#create-a-commit parameters: - - *342 - - *343 + - *344 + - *345 requestBody: required: true content: @@ -75726,7 +75893,7 @@ paths: description: Response content: application/json: - schema: &527 + schema: &529 title: Git Commit description: Low-level Git commit operations within a repository type: object @@ -75940,15 +76107,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/commits#get-a-commit-object parameters: - - *342 - - *343 - - *477 + - *344 + - *345 + - *479 responses: '200': description: Response content: application/json: - schema: *527 + schema: *529 examples: default: value: @@ -76004,9 +76171,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#list-matching-references parameters: - - *342 - - *343 - - &528 + - *344 + - *345 + - &530 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. @@ -76023,7 +76190,7 @@ paths: application/json: schema: type: array - items: &529 + items: &531 title: Git Reference description: Git references within a repository type: object @@ -76076,7 +76243,7 @@ paths: sha: 612077ae6dffb4d2fbd8ce0cccaa58893b07b5ac url: https://api.github.com/repos/octocat/Hello-World/git/commits/612077ae6dffb4d2fbd8ce0cccaa58893b07b5ac headers: - Link: *68 + Link: *70 '409': *54 x-github: githubCloudOnly: false @@ -76098,17 +76265,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#get-a-reference parameters: - - *342 - - *343 - - *528 + - *344 + - *345 + - *530 responses: '200': description: Response content: application/json: - schema: *529 + schema: *531 examples: - default: &530 + default: &532 value: ref: refs/heads/featureA node_id: MDM6UmVmcmVmcy9oZWFkcy9mZWF0dXJlQQ== @@ -76137,8 +76304,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#create-a-reference parameters: - - *342 - - *343 + - *344 + - *345 requestBody: required: true content: @@ -76167,9 +76334,9 @@ paths: description: Response content: application/json: - schema: *529 + schema: *531 examples: - default: *530 + default: *532 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/git/refs/heads/featureA @@ -76195,9 +76362,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#update-a-reference parameters: - - *342 - - *343 - - *528 + - *344 + - *345 + - *530 requestBody: required: true content: @@ -76226,9 +76393,9 @@ paths: description: Response content: application/json: - schema: *529 + schema: *531 examples: - default: *530 + default: *532 '422': *15 '409': *54 x-github: @@ -76246,9 +76413,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#delete-a-reference parameters: - - *342 - - *343 - - *528 + - *344 + - *345 + - *530 responses: '204': description: Response @@ -76303,8 +76470,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/tags#create-a-tag-object parameters: - - *342 - - *343 + - *344 + - *345 requestBody: required: true content: @@ -76371,7 +76538,7 @@ paths: description: Response content: application/json: - schema: &532 + schema: &534 title: Git Tag description: Metadata for a Git tag type: object @@ -76422,7 +76589,7 @@ paths: - sha - type - url - verification: *531 + verification: *533 required: - sha - url @@ -76432,7 +76599,7 @@ paths: - tag - message examples: - default: &533 + default: &535 value: node_id: MDM6VGFnOTQwYmQzMzYyNDhlZmFlMGY5ZWU1YmM3YjJkNWM5ODU4ODdiMTZhYw== tag: v0.0.1 @@ -76505,8 +76672,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/tags#get-a-tag parameters: - - *342 - - *343 + - *344 + - *345 - name: tag_sha in: path required: true @@ -76517,9 +76684,9 @@ paths: description: Response content: application/json: - schema: *532 + schema: *534 examples: - default: *533 + default: *535 '404': *6 '409': *54 x-github: @@ -76543,8 +76710,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/trees#create-a-tree parameters: - - *342 - - *343 + - *344 + - *345 requestBody: required: true content: @@ -76617,7 +76784,7 @@ paths: description: Response content: application/json: - schema: &534 + schema: &536 title: Git Tree description: The hierarchy between files in a Git repository. type: object @@ -76713,8 +76880,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/trees#get-a-tree parameters: - - *342 - - *343 + - *344 + - *345 - name: tree_sha description: The SHA1 value or ref (branch or tag) name of the tree. in: path @@ -76737,7 +76904,7 @@ paths: description: Response content: application/json: - schema: *534 + schema: *536 examples: default-response: summary: Default response @@ -76796,8 +76963,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#list-repository-webhooks parameters: - - *342 - - *343 + - *344 + - *345 - *17 - *19 responses: @@ -76807,7 +76974,7 @@ paths: application/json: schema: type: array - items: &535 + items: &537 title: Webhook description: Webhooks for repositories. type: object @@ -76861,7 +77028,7 @@ paths: type: string format: uri example: https://api.github.com/repos/octocat/Hello-World/hooks/1/deliveries - last_response: &781 + last_response: &783 title: Hook Response type: object properties: @@ -76916,7 +77083,7 @@ paths: status: unused message: headers: - Link: *68 + Link: *70 '404': *6 x-github: githubCloudOnly: false @@ -76935,8 +77102,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#create-a-repository-webhook parameters: - - *342 - - *343 + - *344 + - *345 requestBody: required: false content: @@ -76988,9 +77155,9 @@ paths: description: Response content: application/json: - schema: *535 + schema: *537 examples: - default: &536 + default: &538 value: type: Repository id: 12345678 @@ -77038,17 +77205,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#get-a-repository-webhook parameters: - - *342 - - *343 - - *215 + - *344 + - *345 + - *217 responses: '200': description: Response content: application/json: - schema: *535 + schema: *537 examples: - default: *536 + default: *538 '404': *6 x-github: githubCloudOnly: false @@ -77068,9 +77235,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#update-a-repository-webhook parameters: - - *342 - - *343 - - *215 + - *344 + - *345 + - *217 requestBody: required: true content: @@ -77115,9 +77282,9 @@ paths: description: Response content: application/json: - schema: *535 + schema: *537 examples: - default: *536 + default: *538 '422': *15 '404': *6 x-github: @@ -77138,9 +77305,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#delete-a-repository-webhook parameters: - - *342 - - *343 - - *215 + - *344 + - *345 + - *217 responses: '204': description: Response @@ -77164,9 +77331,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#get-a-webhook-configuration-for-a-repository parameters: - - *342 - - *343 - - *215 + - *344 + - *345 + - *217 responses: '200': description: Response @@ -77193,9 +77360,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#update-a-webhook-configuration-for-a-repository parameters: - - *342 - - *343 - - *215 + - *344 + - *345 + - *217 requestBody: required: false content: @@ -77239,12 +77406,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#list-deliveries-for-a-repository-webhook parameters: - - *342 - - *343 - - *215 - - *17 - - *216 + - *344 + - *345 - *217 + - *17 + - *218 + - *219 responses: '200': description: Response @@ -77252,9 +77419,9 @@ paths: application/json: schema: type: array - items: *218 + items: *220 examples: - default: *219 + default: *221 '400': *14 '422': *15 x-github: @@ -77273,18 +77440,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#get-a-delivery-for-a-repository-webhook parameters: - - *342 - - *343 - - *215 + - *344 + - *345 + - *217 - *16 responses: '200': description: Response content: application/json: - schema: *220 + schema: *222 examples: - default: *221 + default: *223 '400': *14 '422': *15 x-github: @@ -77303,9 +77470,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#redeliver-a-delivery-for-a-repository-webhook parameters: - - *342 - - *343 - - *215 + - *344 + - *345 + - *217 - *16 responses: '202': *39 @@ -77328,9 +77495,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#ping-a-repository-webhook parameters: - - *342 - - *343 - - *215 + - *344 + - *345 + - *217 responses: '204': description: Response @@ -77355,9 +77522,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#test-the-push-repository-webhook parameters: - - *342 - - *343 - - *215 + - *344 + - *345 + - *217 responses: '204': description: Response @@ -77380,8 +77547,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#check-if-immutable-releases-are-enabled-for-a-repository parameters: - - *342 - - *343 + - *344 + - *345 responses: '200': description: Response if immutable releases are enabled @@ -77427,8 +77594,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-immutable-releases parameters: - - *342 - - *343 + - *344 + - *345 responses: '204': *61 '409': *54 @@ -77448,8 +77615,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-immutable-releases parameters: - - *342 - - *343 + - *344 + - *345 responses: '204': *61 '409': *54 @@ -77506,14 +77673,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#get-an-import-status parameters: - - *342 - - *343 + - *344 + - *345 responses: '200': description: Response content: application/json: - schema: &537 + schema: &539 title: Import description: A repository import from an external source. type: object @@ -77612,7 +77779,7 @@ paths: - html_url - authors_url examples: - default: &540 + default: &542 value: vcs: subversion use_lfs: true @@ -77628,7 +77795,7 @@ paths: authors_url: https://api.github.com/repos/octocat/socm/import/authors repository_url: https://api.github.com/repos/octocat/socm '404': *6 - '503': &538 + '503': &540 description: Unavailable due to service under maintenance. content: application/json: @@ -77657,8 +77824,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#start-an-import parameters: - - *342 - - *343 + - *344 + - *345 requestBody: required: true content: @@ -77706,7 +77873,7 @@ paths: description: Response content: application/json: - schema: *537 + schema: *539 examples: default: value: @@ -77731,7 +77898,7 @@ paths: type: string '422': *15 '404': *6 - '503': *538 + '503': *540 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77759,8 +77926,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#update-an-import parameters: - - *342 - - *343 + - *344 + - *345 requestBody: required: false content: @@ -77809,7 +77976,7 @@ paths: description: Response content: application/json: - schema: *537 + schema: *539 examples: example-1: summary: Example 1 @@ -77857,7 +78024,7 @@ paths: html_url: https://import.github.com/octocat/socm/import authors_url: https://api.github.com/repos/octocat/socm/import/authors repository_url: https://api.github.com/repos/octocat/socm - '503': *538 + '503': *540 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77880,12 +78047,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#cancel-an-import parameters: - - *342 - - *343 + - *344 + - *345 responses: '204': description: Response - '503': *538 + '503': *540 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77911,9 +78078,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#get-commit-authors parameters: - - *342 - - *343 - - &710 + - *344 + - *345 + - &712 name: since description: A user ID. Only return users with an ID greater than this ID. in: query @@ -77927,7 +78094,7 @@ paths: application/json: schema: type: array - items: &539 + items: &541 title: Porter Author description: Porter Author type: object @@ -77981,7 +78148,7 @@ paths: url: https://api.github.com/repos/octocat/socm/import/authors/2268559 import_url: https://api.github.com/repos/octocat/socm/import '404': *6 - '503': *538 + '503': *540 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -78006,8 +78173,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#map-a-commit-author parameters: - - *342 - - *343 + - *344 + - *345 - name: author_id in: path required: true @@ -78037,7 +78204,7 @@ paths: description: Response content: application/json: - schema: *539 + schema: *541 examples: default: value: @@ -78050,7 +78217,7 @@ paths: import_url: https://api.github.com/repos/octocat/socm/import '422': *15 '404': *6 - '503': *538 + '503': *540 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -78074,8 +78241,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#get-large-files parameters: - - *342 - - *343 + - *344 + - *345 responses: '200': description: Response @@ -78116,7 +78283,7 @@ paths: path: foo/bar/3 oid: c20ad4d76fe97759aa27a0c99bff6710 size: 12582912 - '503': *538 + '503': *540 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -78144,8 +78311,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#update-git-lfs-preference parameters: - - *342 - - *343 + - *344 + - *345 requestBody: required: true content: @@ -78172,11 +78339,11 @@ paths: description: Response content: application/json: - schema: *537 + schema: *539 examples: - default: *540 + default: *542 '422': *15 - '503': *538 + '503': *540 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -78199,8 +78366,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/apps/apps#get-a-repository-installation-for-the-authenticated-app parameters: - - *342 - - *343 + - *344 + - *345 responses: '200': description: Response @@ -78208,8 +78375,8 @@ paths: application/json: schema: *22 examples: - default: *541 - '301': *346 + default: *543 + '301': *348 '404': *6 x-github: githubCloudOnly: false @@ -78229,8 +78396,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/repos#get-interaction-restrictions-for-a-repository parameters: - - *342 - - *343 + - *344 + - *345 responses: '200': description: Response @@ -78238,12 +78405,12 @@ paths: application/json: schema: anyOf: - - *234 + - *236 - type: object properties: {} additionalProperties: false examples: - default: &543 + default: &545 value: limit: collaborators_only origin: repository @@ -78268,13 +78435,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/repos#set-interaction-restrictions-for-a-repository parameters: - - *342 - - *343 + - *344 + - *345 requestBody: required: true content: application/json: - schema: *542 + schema: *544 examples: default: summary: Example request body @@ -78286,9 +78453,9 @@ paths: description: Response content: application/json: - schema: *234 + schema: *236 examples: - default: *543 + default: *545 '409': description: Response x-github: @@ -78310,8 +78477,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/repos#remove-interaction-restrictions-for-a-repository parameters: - - *342 - - *343 + - *344 + - *345 responses: '204': description: Response @@ -78334,8 +78501,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#list-repository-invitations parameters: - - *342 - - *343 + - *344 + - *345 - *17 - *19 responses: @@ -78345,9 +78512,9 @@ paths: application/json: schema: type: array - items: *544 + items: *546 examples: - default: &702 + default: &704 value: - id: 1 repository: @@ -78461,7 +78628,7 @@ paths: html_url: https://github.com/octocat/Hello-World/invitations node_id: MDQ6VXNlcjE= headers: - Link: *68 + Link: *70 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -78478,9 +78645,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#update-a-repository-invitation parameters: - - *342 - - *343 - - *238 + - *344 + - *345 + - *240 requestBody: required: false content: @@ -78509,7 +78676,7 @@ paths: description: Response content: application/json: - schema: *544 + schema: *546 examples: default: value: @@ -78640,9 +78807,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#delete-a-repository-invitation parameters: - - *342 - - *343 - - *238 + - *344 + - *345 + - *240 responses: '204': description: Response @@ -78673,8 +78840,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#list-repository-issues parameters: - - *342 - - *343 + - *344 + - *345 - name: milestone description: If an `integer` is passed, it should refer to a milestone by its `number` field. If the string `*` is passed, issues with any milestone @@ -78722,7 +78889,7 @@ paths: required: false schema: type: string - - *245 + - *247 - name: sort description: What to sort results by. in: query @@ -78735,7 +78902,7 @@ paths: - comments default: created - *62 - - *93 + - *95 - *17 - *19 responses: @@ -78745,9 +78912,9 @@ paths: application/json: schema: type: array - items: *86 + items: *88 examples: - default: &556 + default: &558 value: - id: 1 node_id: MDU6SXNzdWUx @@ -78895,8 +79062,8 @@ paths: author_association: COLLABORATOR state_reason: completed headers: - Link: *68 - '301': *346 + Link: *70 + '301': *348 '422': *15 '404': *6 x-github: @@ -78925,8 +79092,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#create-an-issue parameters: - - *342 - - *343 + - *344 + - *345 requestBody: required: true content: @@ -79001,9 +79168,9 @@ paths: description: Response content: application/json: - schema: *86 + schema: *88 examples: - default: &553 + default: &555 value: id: 1 node_id: MDU6SXNzdWUx @@ -79139,9 +79306,9 @@ paths: '400': *14 '403': *29 '422': *15 - '503': *120 + '503': *122 '404': *6 - '410': *545 + '410': *547 x-github: triggersNotification: true githubCloudOnly: false @@ -79169,9 +79336,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#list-issue-comments-for-a-repository parameters: - - *342 - - *343 - - *110 + - *344 + - *345 + - *112 - name: direction description: Either `asc` or `desc`. Ignored without the `sort` parameter. in: query @@ -79181,7 +79348,7 @@ paths: enum: - asc - desc - - *93 + - *95 - *17 - *19 responses: @@ -79191,9 +79358,9 @@ paths: application/json: schema: type: array - items: *546 + items: *548 examples: - default: &555 + default: &557 value: - id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -79224,7 +79391,7 @@ paths: issue_url: https://api.github.com/repos/octocat/Hello-World/issues/1347 author_association: COLLABORATOR headers: - Link: *68 + Link: *70 '422': *15 '404': *6 x-github: @@ -79251,17 +79418,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#get-an-issue-comment parameters: - - *342 - - *343 - - *102 + - *344 + - *345 + - *104 responses: '200': description: Response content: application/json: - schema: *546 + schema: *548 examples: - default: &547 + default: &549 value: id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -79316,9 +79483,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#update-an-issue-comment parameters: - - *342 - - *343 - - *102 + - *344 + - *345 + - *104 requestBody: required: true content: @@ -79340,9 +79507,9 @@ paths: description: Response content: application/json: - schema: *546 + schema: *548 examples: - default: *547 + default: *549 '422': *15 x-github: githubCloudOnly: false @@ -79360,9 +79527,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#delete-an-issue-comment parameters: - - *342 - - *343 - - *102 + - *344 + - *345 + - *104 responses: '204': description: Response @@ -79390,15 +79557,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#pin-an-issue-comment parameters: - - *342 - - *343 - - *102 + - *344 + - *345 + - *104 responses: '200': description: Response content: application/json: - schema: *546 + schema: *548 examples: default: value: @@ -79454,7 +79621,7 @@ paths: '401': *25 '403': *29 '404': *6 - '410': *545 + '410': *547 '422': *15 x-github: githubCloudOnly: false @@ -79471,17 +79638,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#unpin-an-issue-comment parameters: - - *342 - - *343 - - *102 + - *344 + - *345 + - *104 responses: '204': description: Response '401': *25 '403': *29 '404': *6 - '410': *545 - '503': *120 + '410': *547 + '503': *122 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79498,9 +79665,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-an-issue-comment parameters: - - *342 - - *343 - - *102 + - *344 + - *345 + - *104 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to an issue comment. @@ -79526,11 +79693,11 @@ paths: application/json: schema: type: array - items: *474 + items: *476 examples: - default: *548 + default: *550 headers: - Link: *68 + Link: *70 '404': *6 x-github: githubCloudOnly: false @@ -79549,9 +79716,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-an-issue-comment parameters: - - *342 - - *343 - - *102 + - *344 + - *345 + - *104 requestBody: required: true content: @@ -79583,16 +79750,16 @@ paths: description: Reaction exists content: application/json: - schema: *474 + schema: *476 examples: - default: *475 + default: *477 '201': description: Reaction created content: application/json: - schema: *474 + schema: *476 examples: - default: *475 + default: *477 '422': *15 x-github: githubCloudOnly: false @@ -79614,10 +79781,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-an-issue-comment-reaction parameters: - - *342 - - *343 - - *102 - - *549 + - *344 + - *345 + - *104 + - *551 responses: '204': description: Response @@ -79637,8 +79804,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/events#list-issue-events-for-a-repository parameters: - - *342 - - *343 + - *344 + - *345 - *17 - *19 responses: @@ -79648,7 +79815,7 @@ paths: application/json: schema: type: array - items: &552 + items: &554 title: Issue Event description: Issue Event type: object @@ -79691,8 +79858,8 @@ paths: description: Issues are a great way to keep track of tasks, enhancements, and bugs for your projects. type: object - properties: *550 - required: *551 + properties: *552 + required: *553 nullable: true label: title: Issue Event Label @@ -79736,7 +79903,7 @@ paths: properties: *20 required: *21 nullable: true - requested_team: *195 + requested_team: *197 dismissed_review: title: Issue Event Dismissed Review type: object @@ -79801,7 +79968,7 @@ paths: required: - from - to - author_association: *83 + author_association: *85 lock_reason: type: string nullable: true @@ -79814,8 +79981,8 @@ paths: first class actors within GitHub. type: object nullable: true - properties: *81 - required: *82 + properties: *83 + required: *84 required: - id - node_id @@ -79982,7 +80149,7 @@ paths: author_association: COLLABORATOR state_reason: completed headers: - Link: *68 + Link: *70 '422': *15 x-github: githubCloudOnly: false @@ -80000,8 +80167,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/events#get-an-issue-event parameters: - - *342 - - *343 + - *344 + - *345 - name: event_id in: path required: true @@ -80012,7 +80179,7 @@ paths: description: Response content: application/json: - schema: *552 + schema: *554 examples: default: value: @@ -80205,7 +80372,7 @@ paths: author_association: COLLABORATOR state_reason: completed '404': *6 - '410': *545 + '410': *547 '403': *29 x-github: githubCloudOnly: false @@ -80239,9 +80406,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#get-an-issue parameters: - - *342 - - *343 - - &554 + - *344 + - *345 + - &556 name: issue_number description: The number that identifies the issue. in: path @@ -80253,11 +80420,11 @@ paths: description: Response content: application/json: - schema: *86 + schema: *88 examples: default: summary: Issue - value: *553 + value: *555 pinned_comment: summary: Issue with pinned comment value: @@ -80437,9 +80604,9 @@ paths: site_admin: false author_association: COLLABORATOR state_reason: completed - '301': *346 + '301': *348 '404': *6 - '410': *545 + '410': *547 '304': *37 x-github: githubCloudOnly: false @@ -80464,9 +80631,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#update-an-issue parameters: - - *342 - - *343 - - *554 + - *344 + - *345 + - *556 requestBody: required: false content: @@ -80585,15 +80752,15 @@ paths: description: Response content: application/json: - schema: *86 + schema: *88 examples: - default: *553 + default: *555 '422': *15 - '503': *120 + '503': *122 '403': *29 - '301': *346 + '301': *348 '404': *6 - '410': *545 + '410': *547 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -80611,9 +80778,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#add-assignees-to-an-issue parameters: - - *342 - - *343 - - *554 + - *344 + - *345 + - *556 requestBody: required: false content: @@ -80639,9 +80806,9 @@ paths: description: Response content: application/json: - schema: *86 + schema: *88 examples: - default: *553 + default: *555 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -80657,9 +80824,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#remove-assignees-from-an-issue parameters: - - *342 - - *343 - - *554 + - *344 + - *345 + - *556 requestBody: content: application/json: @@ -80684,9 +80851,9 @@ paths: description: Response content: application/json: - schema: *86 + schema: *88 examples: - default: *553 + default: *555 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -80708,9 +80875,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#check-if-a-user-can-be-assigned-to-a-issue parameters: - - *342 - - *343 - - *554 + - *344 + - *345 + - *556 - name: assignee in: path required: true @@ -80750,10 +80917,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#list-issue-comments parameters: - - *342 - - *343 - - *554 - - *93 + - *344 + - *345 + - *556 + - *95 - *17 - *19 responses: @@ -80763,13 +80930,13 @@ paths: application/json: schema: type: array - items: *546 + items: *548 examples: - default: *555 + default: *557 headers: - Link: *68 + Link: *70 '404': *6 - '410': *545 + '410': *547 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -80798,9 +80965,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#create-an-issue-comment parameters: - - *342 - - *343 - - *554 + - *344 + - *345 + - *556 requestBody: required: true content: @@ -80822,16 +80989,16 @@ paths: description: Response content: application/json: - schema: *546 + schema: *548 examples: - default: *547 + default: *549 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1 schema: type: string '403': *29 - '410': *545 + '410': *547 '422': *15 '404': *6 x-github: @@ -80859,9 +81026,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-dependencies#list-dependencies-an-issue-is-blocked-by parameters: - - *342 - - *343 - - *554 + - *344 + - *345 + - *556 - *17 - *19 responses: @@ -80871,14 +81038,14 @@ paths: application/json: schema: type: array - items: *86 + items: *88 examples: - default: *556 + default: *558 headers: - Link: *68 - '301': *346 + Link: *70 + '301': *348 '404': *6 - '410': *545 + '410': *547 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -80906,9 +81073,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-dependencies#add-a-dependency-an-issue-is-blocked-by parameters: - - *342 - - *343 - - *554 + - *344 + - *345 + - *556 requestBody: required: true content: @@ -80930,17 +81097,17 @@ paths: description: Response content: application/json: - schema: *86 + schema: *88 examples: - default: *553 + default: *555 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/1/dependencies/blocked_by schema: type: string - '301': *346 + '301': *348 '403': *29 - '410': *545 + '410': *547 '422': *15 '404': *6 x-github: @@ -80971,9 +81138,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-dependencies#remove-dependency-an-issue-is-blocked-by parameters: - - *342 - - *343 - - *554 + - *344 + - *345 + - *556 - name: issue_id in: path description: The id of the blocking issue to remove as a dependency @@ -80985,15 +81152,15 @@ paths: description: Response content: application/json: - schema: *86 + schema: *88 examples: - default: *553 - '301': *346 + default: *555 + '301': *348 '400': *14 '401': *25 '403': *29 '404': *6 - '410': *545 + '410': *547 x-github: triggersNotification: true githubCloudOnly: false @@ -81019,9 +81186,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-dependencies#list-dependencies-an-issue-is-blocking parameters: - - *342 - - *343 - - *554 + - *344 + - *345 + - *556 - *17 - *19 responses: @@ -81031,14 +81198,14 @@ paths: application/json: schema: type: array - items: *86 + items: *88 examples: - default: *556 + default: *558 headers: - Link: *68 - '301': *346 + Link: *70 + '301': *348 '404': *6 - '410': *545 + '410': *547 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -81055,9 +81222,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/events#list-issue-events parameters: - - *342 - - *343 - - *554 + - *344 + - *345 + - *556 - *17 - *19 responses: @@ -81071,7 +81238,7 @@ paths: title: Issue Event for Issue description: Issue Event for Issue anyOf: - - &560 + - &562 title: Labeled Issue Event description: Labeled Issue Event type: object @@ -81102,8 +81269,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *81 - required: *82 + properties: *83 + required: *84 label: type: object properties: @@ -81125,7 +81292,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &561 + - &563 title: Unlabeled Issue Event description: Unlabeled Issue Event type: object @@ -81156,8 +81323,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *81 - required: *82 + properties: *83 + required: *84 label: type: object properties: @@ -81245,8 +81412,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *81 - required: *82 + properties: *83 + required: *84 assignee: *4 assigner: *4 required: @@ -81261,7 +81428,7 @@ paths: - performed_via_github_app - assignee - assigner - - &562 + - &564 title: Milestoned Issue Event description: Milestoned Issue Event type: object @@ -81292,8 +81459,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *81 - required: *82 + properties: *83 + required: *84 milestone: type: object properties: @@ -81312,7 +81479,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &563 + - &565 title: Demilestoned Issue Event description: Demilestoned Issue Event type: object @@ -81343,8 +81510,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *81 - required: *82 + properties: *83 + required: *84 milestone: type: object properties: @@ -81363,7 +81530,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &564 + - &566 title: Renamed Issue Event description: Renamed Issue Event type: object @@ -81394,8 +81561,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *81 - required: *82 + properties: *83 + required: *84 rename: type: object properties: @@ -81417,7 +81584,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &565 + - &567 title: Review Requested Issue Event description: Review Requested Issue Event type: object @@ -81448,10 +81615,10 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *81 - required: *82 + properties: *83 + required: *84 review_requester: *4 - requested_team: *195 + requested_team: *197 requested_reviewer: *4 required: - review_requester @@ -81464,7 +81631,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &566 + - &568 title: Review Request Removed Issue Event description: Review Request Removed Issue Event type: object @@ -81495,10 +81662,10 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *81 - required: *82 + properties: *83 + required: *84 review_requester: *4 - requested_team: *195 + requested_team: *197 requested_reviewer: *4 required: - review_requester @@ -81511,7 +81678,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &567 + - &569 title: Review Dismissed Issue Event description: Review Dismissed Issue Event type: object @@ -81542,8 +81709,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *81 - required: *82 + properties: *83 + required: *84 dismissed_review: type: object properties: @@ -81571,7 +81738,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &568 + - &570 title: Locked Issue Event description: Locked Issue Event type: object @@ -81602,8 +81769,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *81 - required: *82 + properties: *83 + required: *84 lock_reason: type: string example: '"off-topic"' @@ -81619,7 +81786,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &569 + - &571 title: Added to Project Issue Event description: Added to Project Issue Event type: object @@ -81650,8 +81817,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *81 - required: *82 + properties: *83 + required: *84 project_card: type: object properties: @@ -81685,7 +81852,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &570 + - &572 title: Moved Column in Project Issue Event description: Moved Column in Project Issue Event type: object @@ -81716,8 +81883,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *81 - required: *82 + properties: *83 + required: *84 project_card: type: object properties: @@ -81751,7 +81918,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &571 + - &573 title: Removed from Project Issue Event description: Removed from Project Issue Event type: object @@ -81782,8 +81949,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *81 - required: *82 + properties: *83 + required: *84 project_card: type: object properties: @@ -81817,7 +81984,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &572 + - &574 title: Converted Note to Issue Issue Event description: Converted Note to Issue Issue Event type: object @@ -81907,8 +82074,8 @@ paths: name: label color: red headers: - Link: *68 - '410': *545 + Link: *70 + '410': *547 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -81925,9 +82092,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-field-values#list-issue-field-values-for-an-issue parameters: - - *342 - - *343 - - *554 + - *344 + - *345 + - *556 - *17 - *19 responses: @@ -81937,9 +82104,9 @@ paths: application/json: schema: type: array - items: *557 + items: *559 examples: - default: &558 + default: &560 value: - issue_field_id: 1 node_id: IFT_GDKND @@ -81962,10 +82129,10 @@ paths: data_type: date value: '2025-12-25' headers: - Link: *68 - '301': *346 + Link: *70 + '301': *348 '404': *6 - '410': *545 + '410': *547 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -81994,9 +82161,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-field-values#add-issue-field-values-to-an-issue parameters: - - *342 - - *343 - - *554 + - *344 + - *345 + - *556 requestBody: required: true content: @@ -82060,14 +82227,14 @@ paths: type: array description: The current issue field values for this issue after adding the new values - items: *557 + items: *559 examples: - default: *558 + default: *560 '400': *14 '403': *29 '404': *6 '422': *15 - '503': *120 + '503': *122 x-github: triggersNotification: true githubCloudOnly: false @@ -82098,9 +82265,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-field-values#set-issue-field-values-for-an-issue parameters: - - *342 - - *343 - - *554 + - *344 + - *345 + - *556 requestBody: required: true content: @@ -82165,14 +82332,14 @@ paths: type: array description: The current issue field values for this issue after setting the new values - items: *557 + items: *559 examples: - default: *558 + default: *560 '400': *14 '403': *29 '404': *6 '422': *15 - '503': *120 + '503': *122 x-github: triggersNotification: true githubCloudOnly: false @@ -82198,17 +82365,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-field-values#delete-an-issue-field-value-from-an-issue parameters: - - *342 - - *343 - - *554 - - *241 + - *344 + - *345 + - *556 + - *243 responses: '204': description: Issue field value deleted successfully '403': *29 '404': *6 '422': *15 - '503': *120 + '503': *122 x-github: triggersNotification: true githubCloudOnly: false @@ -82226,9 +82393,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#list-labels-for-an-issue parameters: - - *342 - - *343 - - *554 + - *344 + - *345 + - *556 - *17 - *19 responses: @@ -82238,9 +82405,9 @@ paths: application/json: schema: type: array - items: *85 + items: *87 examples: - default: &559 + default: &561 value: - id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -82257,10 +82424,10 @@ paths: color: a2eeef default: false headers: - Link: *68 - '301': *346 + Link: *70 + '301': *348 '404': *6 - '410': *545 + '410': *547 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -82276,9 +82443,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#add-labels-to-an-issue parameters: - - *342 - - *343 - - *554 + - *344 + - *345 + - *556 requestBody: required: false content: @@ -82321,12 +82488,12 @@ paths: application/json: schema: type: array - items: *85 + items: *87 examples: - default: *559 - '301': *346 + default: *561 + '301': *348 '404': *6 - '410': *545 + '410': *547 '422': *15 x-github: githubCloudOnly: false @@ -82343,9 +82510,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#set-labels-for-an-issue parameters: - - *342 - - *343 - - *554 + - *344 + - *345 + - *556 requestBody: required: false content: @@ -82405,12 +82572,12 @@ paths: application/json: schema: type: array - items: *85 + items: *87 examples: - default: *559 - '301': *346 + default: *561 + '301': *348 '404': *6 - '410': *545 + '410': *547 '422': *15 x-github: githubCloudOnly: false @@ -82427,15 +82594,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#remove-all-labels-from-an-issue parameters: - - *342 - - *343 - - *554 + - *344 + - *345 + - *556 responses: '204': description: Response - '301': *346 + '301': *348 '404': *6 - '410': *545 + '410': *547 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -82454,9 +82621,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#remove-a-label-from-an-issue parameters: - - *342 - - *343 - - *554 + - *344 + - *345 + - *556 - name: name in: path required: true @@ -82469,7 +82636,7 @@ paths: application/json: schema: type: array - items: *85 + items: *87 examples: default: value: @@ -82480,9 +82647,9 @@ paths: description: Something isn't working color: f29513 default: true - '301': *346 + '301': *348 '404': *6 - '410': *545 + '410': *547 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -82502,9 +82669,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#lock-an-issue parameters: - - *342 - - *343 - - *554 + - *344 + - *345 + - *556 requestBody: required: false content: @@ -82532,7 +82699,7 @@ paths: '204': description: Response '403': *29 - '410': *545 + '410': *547 '404': *6 '422': *15 x-github: @@ -82550,9 +82717,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#unlock-an-issue parameters: - - *342 - - *343 - - *554 + - *344 + - *345 + - *556 responses: '204': description: Response @@ -82582,20 +82749,20 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#get-parent-issue parameters: - - *342 - - *343 - - *554 + - *344 + - *345 + - *556 responses: '200': description: Response content: application/json: - schema: *86 + schema: *88 examples: - default: *553 - '301': *346 + default: *555 + '301': *348 '404': *6 - '410': *545 + '410': *547 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -82612,9 +82779,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-an-issue parameters: - - *342 - - *343 - - *554 + - *344 + - *345 + - *556 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to an issue. @@ -82640,13 +82807,13 @@ paths: application/json: schema: type: array - items: *474 + items: *476 examples: - default: *548 + default: *550 headers: - Link: *68 + Link: *70 '404': *6 - '410': *545 + '410': *547 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -82664,9 +82831,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-an-issue parameters: - - *342 - - *343 - - *554 + - *344 + - *345 + - *556 requestBody: required: true content: @@ -82698,16 +82865,16 @@ paths: description: Response content: application/json: - schema: *474 + schema: *476 examples: - default: *475 + default: *477 '201': description: Response content: application/json: - schema: *474 + schema: *476 examples: - default: *475 + default: *477 '422': *15 x-github: githubCloudOnly: false @@ -82729,10 +82896,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-an-issue-reaction parameters: - - *342 - - *343 - - *554 - - *549 + - *344 + - *345 + - *556 + - *551 responses: '204': description: Response @@ -82761,9 +82928,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#remove-sub-issue parameters: - - *342 - - *343 - - *554 + - *344 + - *345 + - *556 requestBody: required: true content: @@ -82785,9 +82952,9 @@ paths: description: Response content: application/json: - schema: *86 + schema: *88 examples: - default: *553 + default: *555 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/1/sub-issue @@ -82820,9 +82987,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#list-sub-issues parameters: - - *342 - - *343 - - *554 + - *344 + - *345 + - *556 - *17 - *19 responses: @@ -82832,13 +82999,13 @@ paths: application/json: schema: type: array - items: *86 + items: *88 examples: - default: *556 + default: *558 headers: - Link: *68 + Link: *70 '404': *6 - '410': *545 + '410': *547 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -82866,9 +83033,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#add-sub-issue parameters: - - *342 - - *343 - - *554 + - *344 + - *345 + - *556 requestBody: required: true content: @@ -82895,16 +83062,16 @@ paths: description: Response content: application/json: - schema: *86 + schema: *88 examples: - default: *553 + default: *555 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/sub-issues/1 schema: type: string '403': *29 - '410': *545 + '410': *547 '422': *15 '404': *6 x-github: @@ -82924,9 +83091,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#reprioritize-sub-issue parameters: - - *342 - - *343 - - *554 + - *344 + - *345 + - *556 requestBody: required: true content: @@ -82957,13 +83124,13 @@ paths: description: Response content: application/json: - schema: *86 + schema: *88 examples: - default: *553 + default: *555 '403': *29 '404': *6 '422': *7 - '503': *120 + '503': *122 x-github: triggersNotification: true githubCloudOnly: false @@ -82981,9 +83148,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/timeline#list-timeline-events-for-an-issue parameters: - - *342 - - *343 - - *554 + - *344 + - *345 + - *556 - *17 - *19 responses: @@ -82998,8 +83165,6 @@ paths: description: Timeline Event type: object anyOf: - - *560 - - *561 - *562 - *563 - *564 @@ -83011,6 +83176,8 @@ paths: - *570 - *571 - *572 + - *573 + - *574 - title: Timeline Comment Event description: Timeline Comment Event type: object @@ -83053,7 +83220,7 @@ paths: issue_url: type: string format: uri - author_association: *83 + author_association: *85 performed_via_github_app: title: GitHub app description: GitHub apps are a new way to extend GitHub. They @@ -83063,16 +83230,16 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *81 - required: *82 - reactions: *84 + properties: *83 + required: *84 + reactions: *86 pin: title: Pinned Issue Comment description: Context around who pinned an issue comment and when it was pinned. type: object - properties: *573 - required: *574 + properties: *575 + required: *576 nullable: true required: - event @@ -83104,7 +83271,7 @@ paths: properties: type: type: string - issue: *86 + issue: *88 required: - event - created_at @@ -83304,7 +83471,7 @@ paths: type: string body_text: type: string - author_association: *83 + author_association: *85 required: - event - id @@ -83327,7 +83494,7 @@ paths: type: string comments: type: array - items: &594 + items: &596 title: Pull Request Review Comment description: Pull Request Review Comments are comments on a portion of the Pull Request's diff. @@ -83422,7 +83589,7 @@ paths: type: string format: uri example: https://api.github.com/repos/octocat/Hello-World/pulls/1 - author_association: *83 + author_association: *85 _links: type: object properties: @@ -83506,7 +83673,7 @@ paths: enum: - line - file - reactions: *84 + reactions: *86 body_html: type: string example: '"

comment body

"' @@ -83542,7 +83709,7 @@ paths: type: string comments: type: array - items: *473 + items: *475 - title: Timeline Assigned Issue Event description: Timeline Assigned Issue Event type: object @@ -83573,8 +83740,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *81 - required: *82 + properties: *83 + required: *84 assignee: *4 required: - id @@ -83617,8 +83784,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *81 - required: *82 + properties: *83 + required: *84 assignee: *4 required: - id @@ -83661,8 +83828,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *81 - required: *82 + properties: *83 + required: *84 state_reason: type: string nullable: true @@ -83829,9 +83996,9 @@ paths: type: User site_admin: true headers: - Link: *68 + Link: *70 '404': *6 - '410': *545 + '410': *547 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -83848,8 +84015,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#list-deploy-keys parameters: - - *342 - - *343 + - *344 + - *345 - *17 - *19 responses: @@ -83859,7 +84026,7 @@ paths: application/json: schema: type: array - items: &575 + items: &577 title: Deploy Key description: An SSH key granting access to a single repository. type: object @@ -83909,7 +84076,7 @@ paths: last_used: '2022-01-10T15:53:42Z' enabled: true headers: - Link: *68 + Link: *70 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -83925,8 +84092,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#create-a-deploy-key parameters: - - *342 - - *343 + - *344 + - *345 requestBody: required: true content: @@ -83962,9 +84129,9 @@ paths: description: Response content: application/json: - schema: *575 + schema: *577 examples: - default: &576 + default: &578 value: id: 1 key: ssh-rsa AAA... @@ -83998,9 +84165,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#get-a-deploy-key parameters: - - *342 - - *343 - - &577 + - *344 + - *345 + - &579 name: key_id description: The unique identifier of the key. in: path @@ -84012,9 +84179,9 @@ paths: description: Response content: application/json: - schema: *575 + schema: *577 examples: - default: *576 + default: *578 '404': *6 x-github: githubCloudOnly: false @@ -84032,9 +84199,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#delete-a-deploy-key parameters: - - *342 - - *343 - - *577 + - *344 + - *345 + - *579 responses: '204': description: Response @@ -84054,8 +84221,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#list-labels-for-a-repository parameters: - - *342 - - *343 + - *344 + - *345 - *17 - *19 responses: @@ -84065,11 +84232,11 @@ paths: application/json: schema: type: array - items: *85 + items: *87 examples: - default: *559 + default: *561 headers: - Link: *68 + Link: *70 '404': *6 x-github: githubCloudOnly: false @@ -84088,8 +84255,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#create-a-label parameters: - - *342 - - *343 + - *344 + - *345 requestBody: required: true content: @@ -84125,9 +84292,9 @@ paths: description: Response content: application/json: - schema: *85 + schema: *87 examples: - default: &578 + default: &580 value: id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -84159,8 +84326,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#get-a-label parameters: - - *342 - - *343 + - *344 + - *345 - name: name in: path required: true @@ -84171,9 +84338,9 @@ paths: description: Response content: application/json: - schema: *85 + schema: *87 examples: - default: *578 + default: *580 '404': *6 x-github: githubCloudOnly: false @@ -84190,8 +84357,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#update-a-label parameters: - - *342 - - *343 + - *344 + - *345 - name: name in: path required: true @@ -84230,7 +84397,7 @@ paths: description: Response content: application/json: - schema: *85 + schema: *87 examples: default: value: @@ -84256,8 +84423,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#delete-a-label parameters: - - *342 - - *343 + - *344 + - *345 - name: name in: path required: true @@ -84283,8 +84450,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-languages parameters: - - *342 - - *343 + - *344 + - *345 responses: '200': description: Response @@ -84323,9 +84490,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/licenses/licenses#get-the-license-for-a-repository parameters: - - *342 - - *343 - - *446 + - *344 + - *345 + - *448 responses: '200': description: Response @@ -84387,8 +84554,8 @@ paths: title: License Simple description: License Simple type: object - properties: *89 - required: *90 + properties: *91 + required: *92 nullable: true required: - _links @@ -84470,8 +84637,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#sync-a-fork-branch-with-the-upstream-repository parameters: - - *342 - - *343 + - *344 + - *345 requestBody: required: true content: @@ -84536,8 +84703,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#merge-a-branch parameters: - - *342 - - *343 + - *344 + - *345 requestBody: required: true content: @@ -84571,9 +84738,9 @@ paths: description: Successful Response (The resulting merge commit) content: application/json: - schema: *476 + schema: *478 examples: - default: *579 + default: *581 '204': description: Response when already merged '404': @@ -84598,8 +84765,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#list-milestones parameters: - - *342 - - *343 + - *344 + - *345 - name: state description: The state of the milestone. Either `open`, `closed`, or `all`. in: query @@ -84640,12 +84807,12 @@ paths: application/json: schema: type: array - items: &580 + items: &582 title: Milestone description: A collection of related issues and pull requests. type: object - properties: *279 - required: *280 + properties: *281 + required: *282 examples: default: value: @@ -84684,7 +84851,7 @@ paths: closed_at: '2013-02-12T13:22:01Z' due_on: '2012-10-09T23:39:01Z' headers: - Link: *68 + Link: *70 '404': *6 x-github: githubCloudOnly: false @@ -84701,8 +84868,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#create-a-milestone parameters: - - *342 - - *343 + - *344 + - *345 requestBody: required: true content: @@ -84742,9 +84909,9 @@ paths: description: Response content: application/json: - schema: *580 + schema: *582 examples: - default: &581 + default: &583 value: url: https://api.github.com/repos/octocat/Hello-World/milestones/1 html_url: https://github.com/octocat/Hello-World/milestones/v1.0 @@ -84803,9 +84970,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#get-a-milestone parameters: - - *342 - - *343 - - &582 + - *344 + - *345 + - &584 name: milestone_number description: The number that identifies the milestone. in: path @@ -84817,9 +84984,9 @@ paths: description: Response content: application/json: - schema: *580 + schema: *582 examples: - default: *581 + default: *583 '404': *6 x-github: githubCloudOnly: false @@ -84836,9 +85003,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#update-a-milestone parameters: - - *342 - - *343 - - *582 + - *344 + - *345 + - *584 requestBody: required: false content: @@ -84876,9 +85043,9 @@ paths: description: Response content: application/json: - schema: *580 + schema: *582 examples: - default: *581 + default: *583 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84894,9 +85061,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#delete-a-milestone parameters: - - *342 - - *343 - - *582 + - *344 + - *345 + - *584 responses: '204': description: Response @@ -84917,9 +85084,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#list-labels-for-issues-in-a-milestone parameters: - - *342 - - *343 - - *582 + - *344 + - *345 + - *584 - *17 - *19 responses: @@ -84929,11 +85096,11 @@ paths: application/json: schema: type: array - items: *85 + items: *87 examples: - default: *559 + default: *561 headers: - Link: *68 + Link: *70 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84950,12 +85117,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#list-repository-notifications-for-the-authenticated-user parameters: - - *342 - - *343 - - *583 - - *584 - - *93 + - *344 + - *345 - *585 + - *586 + - *95 + - *587 - *17 - *19 responses: @@ -84965,11 +85132,11 @@ paths: application/json: schema: type: array - items: *113 + items: *115 examples: - default: *586 + default: *588 headers: - Link: *68 + Link: *70 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -84991,8 +85158,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#mark-repository-notifications-as-read parameters: - - *342 - - *343 + - *344 + - *345 requestBody: required: false content: @@ -85050,14 +85217,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-a-apiname-pages-site parameters: - - *342 - - *343 + - *344 + - *345 responses: '200': description: Response content: application/json: - schema: &587 + schema: &589 title: GitHub Pages description: The configuration for GitHub Pages for a repository. type: object @@ -85182,7 +85349,7 @@ paths: - custom_404 - public examples: - default: &588 + default: &590 value: url: https://api.github.com/repos/github/developer.github.com/pages status: built @@ -85223,8 +85390,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#create-a-apiname-pages-site parameters: - - *342 - - *343 + - *344 + - *345 requestBody: required: true content: @@ -85278,9 +85445,9 @@ paths: description: Response content: application/json: - schema: *587 + schema: *589 examples: - default: *588 + default: *590 '422': *15 '409': *54 x-github: @@ -85303,8 +85470,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#update-information-about-a-apiname-pages-site parameters: - - *342 - - *343 + - *344 + - *345 requestBody: required: true content: @@ -85403,8 +85570,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#delete-a-apiname-pages-site parameters: - - *342 - - *343 + - *344 + - *345 responses: '204': description: Response @@ -85430,8 +85597,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#list-apiname-pages-builds parameters: - - *342 - - *343 + - *344 + - *345 - *17 - *19 responses: @@ -85441,7 +85608,7 @@ paths: application/json: schema: type: array - items: &589 + items: &591 title: Page Build description: Page Build type: object @@ -85516,7 +85683,7 @@ paths: created_at: '2014-02-10T19:00:49Z' updated_at: '2014-02-10T19:00:51Z' headers: - Link: *68 + Link: *70 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -85535,8 +85702,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#request-a-apiname-pages-build parameters: - - *342 - - *343 + - *344 + - *345 responses: '201': description: Response @@ -85581,16 +85748,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-latest-pages-build parameters: - - *342 - - *343 + - *344 + - *345 responses: '200': description: Response content: application/json: - schema: *589 + schema: *591 examples: - default: &590 + default: &592 value: url: https://api.github.com/repos/github/developer.github.com/pages/builds/5472601 status: built @@ -85638,8 +85805,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-apiname-pages-build parameters: - - *342 - - *343 + - *344 + - *345 - name: build_id in: path required: true @@ -85650,9 +85817,9 @@ paths: description: Response content: application/json: - schema: *589 + schema: *591 examples: - default: *590 + default: *592 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -85672,8 +85839,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#create-a-github-pages-deployment parameters: - - *342 - - *343 + - *344 + - *345 requestBody: required: true content: @@ -85778,9 +85945,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-the-status-of-a-github-pages-deployment parameters: - - *342 - - *343 - - &591 + - *344 + - *345 + - &593 name: pages_deployment_id description: The ID of the Pages deployment. You can also give the commit SHA of the deployment. @@ -85838,9 +86005,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#cancel-a-github-pages-deployment parameters: - - *342 - - *343 - - *591 + - *344 + - *345 + - *593 responses: '204': *61 '404': *6 @@ -85867,8 +86034,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-a-dns-health-check-for-github-pages parameters: - - *342 - - *343 + - *344 + - *345 responses: '200': description: Response @@ -86099,7 +86266,7 @@ paths: description: Empty response content: application/json: - schema: *168 + schema: *170 examples: default: value: @@ -86126,8 +86293,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#check-if-private-vulnerability-reporting-is-enabled-for-a-repository parameters: - - *342 - - *343 + - *344 + - *345 responses: '200': description: Private vulnerability reporting status @@ -86164,8 +86331,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-private-vulnerability-reporting-for-a-repository parameters: - - *342 - - *343 + - *344 + - *345 responses: '204': *61 '422': *14 @@ -86186,8 +86353,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-private-vulnerability-reporting-for-a-repository parameters: - - *342 - - *343 + - *344 + - *345 responses: '204': *61 '422': *14 @@ -86209,8 +86376,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/custom-properties#get-all-custom-property-values-for-a-repository parameters: - - *342 - - *343 + - *344 + - *345 responses: '200': description: Response @@ -86218,7 +86385,7 @@ paths: application/json: schema: type: array - items: *294 + items: *296 examples: default: value: @@ -86249,8 +86416,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/custom-properties#create-or-update-custom-property-values-for-a-repository parameters: - - *342 - - *343 + - *344 + - *345 requestBody: required: true content: @@ -86262,7 +86429,7 @@ paths: type: array description: A list of custom property names and associated values to apply to the repositories. - items: *294 + items: *296 required: - properties examples: @@ -86312,8 +86479,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#list-pull-requests parameters: - - *342 - - *343 + - *344 + - *345 - name: state description: Either `open`, `closed`, or `all` to filter by state. in: query @@ -86373,11 +86540,11 @@ paths: application/json: schema: type: array - items: *480 + items: *482 examples: - default: *592 + default: *594 headers: - Link: *68 + Link: *70 '304': *37 '422': *15 x-github: @@ -86407,8 +86574,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#create-a-pull-request parameters: - - *342 - - *343 + - *344 + - *345 requestBody: required: true content: @@ -86473,7 +86640,7 @@ paths: description: Response content: application/json: - schema: &596 + schema: &598 type: object title: Pull Request description: Pull requests let you tell others about changes you've @@ -86584,8 +86751,8 @@ paths: title: Milestone description: A collection of related issues and pull requests. type: object - properties: *279 - required: *280 + properties: *281 + required: *282 nullable: true active_lock_reason: type: string @@ -86617,7 +86784,7 @@ paths: items: *4 requested_teams: type: array - items: *331 + items: *333 head: type: object properties: @@ -86625,7 +86792,7 @@ paths: type: string ref: type: string - repo: *80 + repo: *82 sha: type: string user: *4 @@ -86642,7 +86809,7 @@ paths: type: string ref: type: string - repo: *80 + repo: *82 sha: type: string user: *4 @@ -86655,14 +86822,14 @@ paths: _links: type: object properties: - comments: *281 - commits: *281 - statuses: *281 - html: *281 - issue: *281 - review_comments: *281 - review_comment: *281 - self: *281 + comments: *283 + commits: *283 + statuses: *283 + html: *283 + issue: *283 + review_comments: *283 + review_comment: *283 + self: *283 required: - comments - commits @@ -86672,8 +86839,8 @@ paths: - review_comments - review_comment - self - author_association: *83 - auto_merge: *593 + author_association: *85 + auto_merge: *595 draft: description: Indicates whether or not the pull request is a draft. example: false @@ -86763,7 +86930,7 @@ paths: - merged_by - review_comments examples: - default: &597 + default: &599 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -87270,8 +87437,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#list-review-comments-in-a-repository parameters: - - *342 - - *343 + - *344 + - *345 - name: sort in: query required: false @@ -87290,7 +87457,7 @@ paths: enum: - asc - desc - - *93 + - *95 - *17 - *19 responses: @@ -87300,9 +87467,9 @@ paths: application/json: schema: type: array - items: *594 + items: *596 examples: - default: &599 + default: &601 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -87354,7 +87521,7 @@ paths: original_line: 2 side: RIGHT headers: - Link: *68 + Link: *70 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87379,17 +87546,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#get-a-review-comment-for-a-pull-request parameters: - - *342 - - *343 - - *102 + - *344 + - *345 + - *104 responses: '200': description: Response content: application/json: - schema: *594 + schema: *596 examples: - default: &595 + default: &597 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -87464,9 +87631,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#update-a-review-comment-for-a-pull-request parameters: - - *342 - - *343 - - *102 + - *344 + - *345 + - *104 requestBody: required: true content: @@ -87488,9 +87655,9 @@ paths: description: Response content: application/json: - schema: *594 + schema: *596 examples: - default: *595 + default: *597 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87506,9 +87673,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#delete-a-review-comment-for-a-pull-request parameters: - - *342 - - *343 - - *102 + - *344 + - *345 + - *104 responses: '204': description: Response @@ -87529,9 +87696,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-pull-request-review-comment parameters: - - *342 - - *343 - - *102 + - *344 + - *345 + - *104 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a pull request review comment. @@ -87557,11 +87724,11 @@ paths: application/json: schema: type: array - items: *474 + items: *476 examples: - default: *548 + default: *550 headers: - Link: *68 + Link: *70 '404': *6 x-github: githubCloudOnly: false @@ -87580,9 +87747,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-pull-request-review-comment parameters: - - *342 - - *343 - - *102 + - *344 + - *345 + - *104 requestBody: required: true content: @@ -87614,16 +87781,16 @@ paths: description: Reaction exists content: application/json: - schema: *474 + schema: *476 examples: - default: *475 + default: *477 '201': description: Reaction created content: application/json: - schema: *474 + schema: *476 examples: - default: *475 + default: *477 '422': *15 x-github: githubCloudOnly: false @@ -87645,10 +87812,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-a-pull-request-comment-reaction parameters: - - *342 - - *343 - - *102 - - *549 + - *344 + - *345 + - *104 + - *551 responses: '204': description: Response @@ -87691,9 +87858,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#get-a-pull-request parameters: - - *342 - - *343 - - &598 + - *344 + - *345 + - &600 name: pull_number description: The number that identifies the pull request. in: path @@ -87706,9 +87873,9 @@ paths: to fetch diff and patch formats. content: application/json: - schema: *596 + schema: *598 examples: - default: *597 + default: *599 '304': *37 '404': *6 '406': @@ -87717,7 +87884,7 @@ paths: application/json: schema: *3 '500': *55 - '503': *120 + '503': *122 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87743,9 +87910,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#update-a-pull-request parameters: - - *342 - - *343 - - *598 + - *344 + - *345 + - *600 requestBody: required: false content: @@ -87787,9 +87954,9 @@ paths: description: Response content: application/json: - schema: *596 + schema: *598 examples: - default: *597 + default: *599 '422': *15 '403': *29 x-github: @@ -87811,9 +87978,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#archive-a-pull-request parameters: - - *342 - - *343 - - *598 + - *344 + - *345 + - *600 responses: '204': description: Response @@ -87838,9 +88005,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#unarchive-a-pull-request parameters: - - *342 - - *343 - - *598 + - *344 + - *345 + - *600 responses: '204': description: Response @@ -87866,9 +88033,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#create-a-codespace-from-a-pull-request parameters: - - *342 - - *343 - - *598 + - *344 + - *345 + - *600 requestBody: required: true content: @@ -87928,21 +88095,21 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *247 + schema: *249 examples: - default: *463 + default: *465 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *247 + schema: *249 examples: - default: *463 + default: *465 '401': *25 '403': *29 '404': *6 - '503': *120 + '503': *122 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -87968,10 +88135,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#list-review-comments-on-a-pull-request parameters: - - *342 - - *343 - - *598 - - *110 + - *344 + - *345 + - *600 + - *112 - name: direction description: The direction to sort results. Ignored without `sort` parameter. in: query @@ -87981,7 +88148,7 @@ paths: enum: - asc - desc - - *93 + - *95 - *17 - *19 responses: @@ -87991,11 +88158,11 @@ paths: application/json: schema: type: array - items: *594 + items: *596 examples: - default: *599 + default: *601 headers: - Link: *68 + Link: *70 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88026,9 +88193,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#create-a-review-comment-for-a-pull-request parameters: - - *342 - - *343 - - *598 + - *344 + - *345 + - *600 requestBody: required: true content: @@ -88133,7 +88300,7 @@ paths: description: Response content: application/json: - schema: *594 + schema: *596 examples: example-for-a-multi-line-comment: value: @@ -88221,10 +88388,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#create-a-reply-for-a-review-comment parameters: - - *342 - - *343 - - *598 - - *102 + - *344 + - *345 + - *600 + - *104 requestBody: required: true content: @@ -88246,7 +88413,7 @@ paths: description: Response content: application/json: - schema: *594 + schema: *596 examples: default: value: @@ -88332,9 +88499,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#list-commits-on-a-pull-request parameters: - - *342 - - *343 - - *598 + - *344 + - *345 + - *600 - *17 - *19 responses: @@ -88344,11 +88511,11 @@ paths: application/json: schema: type: array - items: *476 + items: *478 examples: - default: *600 + default: *602 headers: - Link: *68 + Link: *70 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88376,9 +88543,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#list-pull-requests-files parameters: - - *342 - - *343 - - *598 + - *344 + - *345 + - *600 - *17 - *19 responses: @@ -88388,7 +88555,7 @@ paths: application/json: schema: type: array - items: *489 + items: *491 examples: default: value: @@ -88404,10 +88571,10 @@ paths: patch: "@@ -132,7 +132,7 @@ module Test @@ -1000,7 +1000,7 @@ module Test" headers: - Link: *68 + Link: *70 '422': *15 '500': *55 - '503': *120 + '503': *122 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88426,9 +88593,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#check-if-a-pull-request-has-been-merged parameters: - - *342 - - *343 - - *598 + - *344 + - *345 + - *600 responses: '204': description: Response if pull request has been merged @@ -88451,9 +88618,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#merge-a-pull-request parameters: - - *342 - - *343 - - *598 + - *344 + - *345 + - *600 requestBody: required: false content: @@ -88564,9 +88731,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/review-requests#get-all-requested-reviewers-for-a-pull-request parameters: - - *342 - - *343 - - *598 + - *344 + - *345 + - *600 responses: '200': description: Response @@ -88582,7 +88749,7 @@ paths: items: *4 teams: type: array - items: *195 + items: *197 required: - users - teams @@ -88623,7 +88790,7 @@ paths: repositories_url: https://api.github.com/teams/1/repos parent: headers: - Link: *68 + Link: *70 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88641,9 +88808,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/review-requests#request-reviewers-for-a-pull-request parameters: - - *342 - - *343 - - *598 + - *344 + - *345 + - *600 requestBody: required: false content: @@ -88680,7 +88847,7 @@ paths: description: Response content: application/json: - schema: *480 + schema: *482 examples: default: value: @@ -89216,9 +89383,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/review-requests#remove-requested-reviewers-from-a-pull-request parameters: - - *342 - - *343 - - *598 + - *344 + - *345 + - *600 requestBody: required: true content: @@ -89252,7 +89419,7 @@ paths: description: Response content: application/json: - schema: *480 + schema: *482 examples: default: value: @@ -89737,9 +89904,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#list-reviews-for-a-pull-request parameters: - - *342 - - *343 - - *598 + - *344 + - *345 + - *600 - *17 - *19 responses: @@ -89749,7 +89916,7 @@ paths: application/json: schema: type: array - items: &601 + items: &603 title: Pull Request Review description: Pull Request Reviews are reviews on pull requests. type: object @@ -89818,7 +89985,7 @@ paths: type: string body_text: type: string - author_association: *83 + author_association: *85 required: - id - node_id @@ -89867,7 +90034,7 @@ paths: commit_id: ecdd80bb57125d7ba9641ffaa4d7d2c19d3f3091 author_association: COLLABORATOR headers: - Link: *68 + Link: *70 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89900,9 +90067,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#create-a-review-for-a-pull-request parameters: - - *342 - - *343 - - *598 + - *344 + - *345 + - *600 requestBody: required: false content: @@ -89988,9 +90155,9 @@ paths: description: Response content: application/json: - schema: *601 + schema: *603 examples: - default: &603 + default: &605 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -90053,10 +90220,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#get-a-review-for-a-pull-request parameters: - - *342 - - *343 - - *598 - - &602 + - *344 + - *345 + - *600 + - &604 name: review_id description: The unique identifier of the review. in: path @@ -90068,9 +90235,9 @@ paths: description: Response content: application/json: - schema: *601 + schema: *603 examples: - default: &604 + default: &606 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -90129,10 +90296,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#update-a-review-for-a-pull-request parameters: - - *342 - - *343 - - *598 - - *602 + - *344 + - *345 + - *600 + - *604 requestBody: required: true content: @@ -90155,7 +90322,7 @@ paths: description: Response content: application/json: - schema: *601 + schema: *603 examples: default: value: @@ -90217,18 +90384,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#delete-a-pending-review-for-a-pull-request parameters: - - *342 - - *343 - - *598 - - *602 + - *344 + - *345 + - *600 + - *604 responses: '200': description: Response content: application/json: - schema: *601 + schema: *603 examples: - default: *603 + default: *605 '422': *7 '404': *6 x-github: @@ -90255,10 +90422,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#list-comments-for-a-pull-request-review parameters: - - *342 - - *343 - - *598 - - *602 + - *344 + - *345 + - *600 + - *604 - *17 - *19 responses: @@ -90337,13 +90504,13 @@ paths: type: string format: uri example: https://api.github.com/repos/octocat/Hello-World/pulls/1 - author_association: *83 + author_association: *85 _links: type: object properties: - self: *281 - html: *281 - pull_request: *281 + self: *283 + html: *283 + pull_request: *283 required: - self - html @@ -90352,7 +90519,7 @@ paths: type: string body_html: type: string - reactions: *84 + reactions: *86 side: description: The side of the first line of the range for a multi-line comment. @@ -90464,7 +90631,7 @@ paths: pull_request: href: https://api.github.com/repos/octocat/Hello-World/pulls/1 headers: - Link: *68 + Link: *70 '404': *6 x-github: githubCloudOnly: false @@ -90493,10 +90660,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#dismiss-a-review-for-a-pull-request parameters: - - *342 - - *343 - - *598 - - *602 + - *344 + - *345 + - *600 + - *604 requestBody: required: true content: @@ -90524,7 +90691,7 @@ paths: description: Response content: application/json: - schema: *601 + schema: *603 examples: default: value: @@ -90587,10 +90754,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#submit-a-review-for-a-pull-request parameters: - - *342 - - *343 - - *598 - - *602 + - *344 + - *345 + - *600 + - *604 requestBody: required: true content: @@ -90625,9 +90792,9 @@ paths: description: Response content: application/json: - schema: *601 + schema: *603 examples: - default: *604 + default: *606 '404': *6 '422': *7 '403': *29 @@ -90649,9 +90816,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#update-a-pull-request-branch parameters: - - *342 - - *343 - - *598 + - *344 + - *345 + - *600 requestBody: required: false content: @@ -90714,8 +90881,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#get-a-repository-readme parameters: - - *342 - - *343 + - *344 + - *345 - name: ref description: 'The name of the commit/branch/tag. Default: the repository’s default branch.' @@ -90728,9 +90895,9 @@ paths: description: Response content: application/json: - schema: *605 + schema: *607 examples: - default: &606 + default: &608 value: type: file encoding: base64 @@ -90772,8 +90939,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#get-a-repository-readme-for-a-directory parameters: - - *342 - - *343 + - *344 + - *345 - name: dir description: The alternate path to look for a README file in: path @@ -90793,9 +90960,9 @@ paths: description: Response content: application/json: - schema: *605 + schema: *607 examples: - default: *606 + default: *608 '404': *6 '422': *15 x-github: @@ -90817,8 +90984,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#list-releases parameters: - - *342 - - *343 + - *344 + - *345 - *17 - *19 responses: @@ -90828,7 +90995,7 @@ paths: application/json: schema: type: array - items: *607 + items: *609 examples: default: value: @@ -90902,7 +91069,7 @@ paths: type: User site_admin: false headers: - Link: *68 + Link: *70 '404': *6 x-github: githubCloudOnly: false @@ -90922,8 +91089,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#create-a-release parameters: - - *342 - - *343 + - *344 + - *345 requestBody: required: true content: @@ -90999,9 +91166,9 @@ paths: description: Response content: application/json: - schema: *607 + schema: *609 examples: - default: &611 + default: &613 value: url: https://api.github.com/repos/octocat/Hello-World/releases/1 html_url: https://github.com/octocat/Hello-World/releases/v1.0.0 @@ -91106,9 +91273,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#get-a-release-asset parameters: - - *342 - - *343 - - &609 + - *344 + - *345 + - &611 name: asset_id description: The unique identifier of the asset. in: path @@ -91120,9 +91287,9 @@ paths: description: Response content: application/json: - schema: *608 + schema: *610 examples: - default: &610 + default: &612 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 @@ -91157,7 +91324,7 @@ paths: type: User site_admin: false '404': *6 - '302': *493 + '302': *495 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91173,9 +91340,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#update-a-release-asset parameters: - - *342 - - *343 - - *609 + - *344 + - *345 + - *611 requestBody: required: false content: @@ -91203,9 +91370,9 @@ paths: description: Response content: application/json: - schema: *608 + schema: *610 examples: - default: *610 + default: *612 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91221,9 +91388,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#delete-a-release-asset parameters: - - *342 - - *343 - - *609 + - *344 + - *345 + - *611 responses: '204': description: Response @@ -91248,8 +91415,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#generate-release-notes-content-for-a-release parameters: - - *342 - - *343 + - *344 + - *345 requestBody: required: true content: @@ -91334,16 +91501,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#get-the-latest-release parameters: - - *342 - - *343 + - *344 + - *345 responses: '200': description: Response content: application/json: - schema: *607 + schema: *609 examples: - default: *611 + default: *613 '404': *6 x-github: githubCloudOnly: false @@ -91361,8 +91528,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#get-a-release-by-tag-name parameters: - - *342 - - *343 + - *344 + - *345 - name: tag description: tag parameter in: path @@ -91375,9 +91542,9 @@ paths: description: Response content: application/json: - schema: *607 + schema: *609 examples: - default: *611 + default: *613 '404': *6 x-github: githubCloudOnly: false @@ -91399,9 +91566,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#get-a-release parameters: - - *342 - - *343 - - &612 + - *344 + - *345 + - &614 name: release_id description: The unique identifier of the release. in: path @@ -91415,9 +91582,9 @@ paths: For more information, see "[Getting started with the REST API](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#hypermedia)."' content: application/json: - schema: *607 + schema: *609 examples: - default: *611 + default: *613 '401': description: Unauthorized x-github: @@ -91435,9 +91602,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#update-a-release parameters: - - *342 - - *343 - - *612 + - *344 + - *345 + - *614 requestBody: required: false content: @@ -91501,9 +91668,9 @@ paths: description: Response content: application/json: - schema: *607 + schema: *609 examples: - default: *611 + default: *613 '404': description: Not Found if the discussion category name is invalid content: @@ -91524,9 +91691,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#delete-a-release parameters: - - *342 - - *343 - - *612 + - *344 + - *345 + - *614 responses: '204': description: Response @@ -91547,9 +91714,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#list-release-assets parameters: - - *342 - - *343 - - *612 + - *344 + - *345 + - *614 - *17 - *19 responses: @@ -91559,7 +91726,7 @@ paths: application/json: schema: type: array - items: *608 + items: *610 examples: default: value: @@ -91596,7 +91763,7 @@ paths: type: User site_admin: false headers: - Link: *68 + Link: *70 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91640,9 +91807,9 @@ paths: description: The URL origin (protocol + host name + port) is included in `upload_url` returned in the response of the "Create a release" endpoint parameters: - - *342 - - *343 - - *612 + - *344 + - *345 + - *614 - name: name in: query required: true @@ -91668,7 +91835,7 @@ paths: description: Response for successful upload content: application/json: - schema: *608 + schema: *610 examples: response-for-successful-upload: value: @@ -91723,9 +91890,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-release parameters: - - *342 - - *343 - - *612 + - *344 + - *345 + - *614 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a release. @@ -91749,11 +91916,11 @@ paths: application/json: schema: type: array - items: *474 + items: *476 examples: - default: *548 + default: *550 headers: - Link: *68 + Link: *70 '404': *6 x-github: githubCloudOnly: false @@ -91772,9 +91939,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-release parameters: - - *342 - - *343 - - *612 + - *344 + - *345 + - *614 requestBody: required: true content: @@ -91804,16 +91971,16 @@ paths: description: Reaction exists content: application/json: - schema: *474 + schema: *476 examples: - default: *475 + default: *477 '201': description: Reaction created content: application/json: - schema: *474 + schema: *476 examples: - default: *475 + default: *477 '422': *15 x-github: githubCloudOnly: false @@ -91835,10 +92002,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-a-release-reaction parameters: - - *342 - - *343 - - *612 - - *549 + - *344 + - *345 + - *614 + - *551 responses: '204': description: Response @@ -91862,9 +92029,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rules#get-rules-for-a-branch parameters: - - *342 - - *343 - - *409 + - *344 + - *345 + - *411 - *17 - *19 responses: @@ -91880,8 +92047,8 @@ paths: description: A repository rule with ruleset details. oneOf: - allOf: - - *303 - - &613 + - *305 + - &615 title: repository ruleset data for rule description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -91900,69 +92067,69 @@ paths: ruleset_id: type: integer description: The ID of the ruleset that includes this rule. - - allOf: - - *304 - - *613 - - allOf: - - *305 - - *613 - allOf: - *306 - - *613 - - allOf: - - *614 - - *613 + - *615 - allOf: - *307 - - *613 + - *615 - allOf: - *308 - - *613 + - *615 + - allOf: + - *616 + - *615 - allOf: - *309 - - *613 + - *615 - allOf: - *310 - - *613 + - *615 - allOf: - *311 - - *613 + - *615 - allOf: - *312 - - *613 + - *615 - allOf: - *313 - - *613 + - *615 - allOf: - *314 - - *613 + - *615 - allOf: - *315 - - *613 + - *615 - allOf: - *316 - - *613 + - *615 - allOf: - *317 - - *613 + - *615 - allOf: - *318 - - *613 + - *615 - allOf: - *319 - - *613 + - *615 - allOf: - *320 - - *613 + - *615 - allOf: - *321 - - *613 + - *615 - allOf: - *322 - - *613 + - *615 - allOf: - *323 - - *613 + - *615 + - allOf: + - *324 + - *615 + - allOf: + - *325 + - *615 examples: default: value: @@ -92001,8 +92168,8 @@ paths: category: repos subcategory: rules parameters: - - *342 - - *343 + - *344 + - *345 - *17 - *19 - name: includes_parents @@ -92013,7 +92180,7 @@ paths: schema: type: boolean default: true - - *615 + - *617 responses: '200': description: Response @@ -92021,7 +92188,7 @@ paths: application/json: schema: type: array - items: *324 + items: *326 examples: default: value: @@ -92068,8 +92235,8 @@ paths: category: repos subcategory: rules parameters: - - *342 - - *343 + - *344 + - *345 requestBody: description: Request body required: true @@ -92089,16 +92256,16 @@ paths: - tag - push default: branch - enforcement: *300 + enforcement: *302 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *301 - conditions: *298 + items: *303 + conditions: *300 rules: type: array description: An array of rules within the ruleset. - items: *616 + items: *618 required: - name - enforcement @@ -92129,9 +92296,9 @@ paths: description: Response content: application/json: - schema: *324 + schema: *326 examples: - default: &626 + default: &628 value: id: 42 name: super cool ruleset @@ -92179,12 +92346,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rule-suites#list-repository-rule-suites parameters: - - *342 - - *343 - - *617 - - *618 + - *344 + - *345 - *619 - *620 + - *621 + - *622 - *17 - *19 responses: @@ -92192,9 +92359,9 @@ paths: description: Response content: application/json: - schema: *621 + schema: *623 examples: - default: *622 + default: *624 '404': *6 '500': *55 x-github: @@ -92215,17 +92382,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rule-suites#get-a-repository-rule-suite parameters: - - *342 - - *343 - - *623 + - *344 + - *345 + - *625 responses: '200': description: Response content: application/json: - schema: *624 + schema: *626 examples: - default: *625 + default: *627 '404': *6 '500': *55 x-github: @@ -92253,8 +92420,8 @@ paths: category: repos subcategory: rules parameters: - - *342 - - *343 + - *344 + - *345 - name: ruleset_id description: The ID of the ruleset. in: path @@ -92274,9 +92441,9 @@ paths: description: Response content: application/json: - schema: *324 + schema: *326 examples: - default: *626 + default: *628 '404': *6 '500': *55 put: @@ -92294,8 +92461,8 @@ paths: category: repos subcategory: rules parameters: - - *342 - - *343 + - *344 + - *345 - name: ruleset_id description: The ID of the ruleset. in: path @@ -92320,16 +92487,16 @@ paths: - branch - tag - push - enforcement: *300 + enforcement: *302 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *301 - conditions: *298 + items: *303 + conditions: *300 rules: description: An array of rules within the ruleset. type: array - items: *616 + items: *618 examples: default: value: @@ -92357,9 +92524,9 @@ paths: description: Response content: application/json: - schema: *324 + schema: *326 examples: - default: *626 + default: *628 '404': *6 '422': *15 '500': *55 @@ -92378,8 +92545,8 @@ paths: category: repos subcategory: rules parameters: - - *342 - - *343 + - *344 + - *345 - name: ruleset_id description: The ID of the ruleset. in: path @@ -92402,8 +92569,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rules#get-repository-ruleset-history parameters: - - *342 - - *343 + - *344 + - *345 - *17 - *19 - name: ruleset_id @@ -92419,9 +92586,9 @@ paths: application/json: schema: type: array - items: *327 + items: *329 examples: - default: *627 + default: *629 '404': *6 '500': *55 x-github: @@ -92440,8 +92607,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rules#get-repository-ruleset-version parameters: - - *342 - - *343 + - *344 + - *345 - name: ruleset_id description: The ID of the ruleset. in: path @@ -92459,7 +92626,7 @@ paths: description: Response content: application/json: - schema: *628 + schema: *630 examples: default: value: @@ -92514,25 +92681,25 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-a-repository parameters: - - *342 - - *343 - - *629 - - *630 + - *344 + - *345 - *631 - *632 - *633 - *634 - *635 - *636 + - *637 + - *638 - *62 - *19 - *17 - - *637 - - *638 - *639 - *640 - *641 - *642 + - *643 + - *644 responses: '200': description: Response @@ -92540,11 +92707,11 @@ paths: application/json: schema: type: array - items: &646 + items: &648 type: object properties: - number: *177 - created_at: *178 + number: *179 + created_at: *180 updated_at: type: string description: 'The time that the alert was last updated in ISO @@ -92552,15 +92719,15 @@ paths: format: date-time readOnly: true nullable: true - url: *180 - html_url: *181 + url: *182 + html_url: *183 locations_url: type: string format: uri description: The REST API URL of the code locations for this alert. - state: *643 - resolution: *644 + state: *645 + resolution: *646 resolved_at: type: string format: date-time @@ -92666,7 +92833,7 @@ paths: pull request. ' - oneOf: *645 + oneOf: *647 nullable: true has_more_locations: type: boolean @@ -92808,7 +92975,7 @@ paths: '404': description: Repository is public or secret scanning is disabled for the repository - '503': *120 + '503': *122 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -92830,16 +92997,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#get-a-secret-scanning-alert parameters: - - *342 - - *343 - - *440 - - *642 + - *344 + - *345 + - *442 + - *644 responses: '200': description: Response content: application/json: - schema: *646 + schema: *648 examples: default: value: @@ -92870,7 +93037,7 @@ paths: '404': description: Repository is public, or secret scanning is disabled for the repository, or the resource is not found - '503': *120 + '503': *122 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -92893,9 +93060,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#update-a-secret-scanning-alert parameters: - - *342 - - *343 - - *440 + - *344 + - *345 + - *442 requestBody: required: true content: @@ -92903,8 +93070,8 @@ paths: schema: type: object properties: - state: *643 - resolution: *644 + state: *645 + resolution: *646 resolution_comment: description: An optional comment when closing or reopening an alert. Cannot be updated or deleted. @@ -92940,7 +93107,7 @@ paths: description: Response content: application/json: - schema: *646 + schema: *648 examples: default: value: @@ -93013,7 +93180,7 @@ paths: '422': description: State does not match the resolution or resolution comment, or assignee does not have write access to the repository - '503': *120 + '503': *122 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -93035,9 +93202,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-locations-for-a-secret-scanning-alert parameters: - - *342 - - *343 - - *440 + - *344 + - *345 + - *442 - *19 - *17 responses: @@ -93048,7 +93215,7 @@ paths: schema: type: array description: List of locations where the secret was detected - items: &803 + items: &805 type: object properties: type: @@ -93074,8 +93241,6 @@ paths: example: commit details: oneOf: - - *647 - - *648 - *649 - *650 - *651 @@ -93087,6 +93252,8 @@ paths: - *657 - *658 - *659 + - *660 + - *661 examples: default: value: @@ -93146,11 +93313,11 @@ paths: details: pull_request_review_comment_url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/12 headers: - Link: *68 + Link: *70 '404': description: Repository is public, or secret scanning is disabled for the repository, or the resource is not found - '503': *120 + '503': *122 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -93172,8 +93339,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#create-a-push-protection-bypass parameters: - - *342 - - *343 + - *344 + - *345 requestBody: required: true content: @@ -93181,14 +93348,14 @@ paths: schema: type: object properties: - reason: &661 + reason: &663 description: The reason for bypassing push protection. type: string enum: - false_positive - used_in_tests - will_fix_later - placeholder_id: *660 + placeholder_id: *662 required: - reason - placeholder_id @@ -93205,7 +93372,7 @@ paths: schema: type: object properties: - reason: *661 + reason: *663 expire_at: type: string format: date-time @@ -93228,7 +93395,7 @@ paths: this repository. '422': description: Bad request, input data missing or incorrect. - '503': *120 + '503': *122 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -93251,13 +93418,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#get-secret-scanning-scan-history-for-a-repository parameters: - - *342 - - *343 + - *344 + - *345 responses: '404': description: Repository does not have GitHub Advanced Security or secret scanning enabled - '503': *120 + '503': *122 '200': description: Response content: @@ -93267,7 +93434,7 @@ paths: properties: incremental_scans: type: array - items: &662 + items: &664 description: Information on a single scan performed by secret scanning on the repository type: object @@ -93293,15 +93460,15 @@ paths: nullable: true pattern_update_scans: type: array - items: *662 + items: *664 backfill_scans: type: array - items: *662 + items: *664 custom_pattern_backfill_scans: type: array items: allOf: - - *662 + - *664 - type: object properties: pattern_name: @@ -93314,7 +93481,7 @@ paths: one of "repository", "organization", or "enterprise" generic_secrets_backfill_scans: type: array - items: *662 + items: *664 examples: default: value: @@ -93379,8 +93546,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#list-repository-security-advisories parameters: - - *342 - - *343 + - *344 + - *345 - *62 - name: sort description: The property to sort the results by. @@ -93424,9 +93591,9 @@ paths: application/json: schema: type: array - items: *663 + items: *665 examples: - default: *664 + default: *666 '400': *14 '404': *6 x-github: @@ -93449,8 +93616,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#create-a-repository-security-advisory parameters: - - *342 - - *343 + - *344 + - *345 requestBody: required: true content: @@ -93523,7 +93690,7 @@ paths: login: type: string description: The username of the user credited. - type: *330 + type: *332 required: - login - type @@ -93610,9 +93777,9 @@ paths: description: Response content: application/json: - schema: *663 + schema: *665 examples: - default: &666 + default: &668 value: ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -93842,8 +94009,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#privately-report-a-security-vulnerability parameters: - - *342 - - *343 + - *344 + - *345 requestBody: required: true content: @@ -93947,7 +94114,7 @@ paths: description: Response content: application/json: - schema: *663 + schema: *665 examples: default: value: @@ -94093,17 +94260,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#get-a-repository-security-advisory parameters: - - *342 - - *343 - - *665 + - *344 + - *345 + - *667 responses: '200': description: Response content: application/json: - schema: *663 + schema: *665 examples: - default: *666 + default: *668 '403': *29 '404': *6 x-github: @@ -94127,9 +94294,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#update-a-repository-security-advisory parameters: - - *342 - - *343 - - *665 + - *344 + - *345 + - *667 requestBody: required: true content: @@ -94202,7 +94369,7 @@ paths: login: type: string description: The username of the user credited. - type: *330 + type: *332 required: - login - type @@ -94288,17 +94455,17 @@ paths: description: Response content: application/json: - schema: *663 + schema: *665 examples: - default: *666 - add_credit: *666 + default: *668 + add_credit: *668 '403': *29 '404': *6 '422': description: Validation failed, or the endpoint has been spammed. content: application/json: - schema: *128 + schema: *130 examples: invalid_state_transition: value: @@ -94329,9 +94496,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#request-a-cve-for-a-repository-security-advisory parameters: - - *342 - - *343 - - *665 + - *344 + - *345 + - *667 responses: '202': *39 '400': *14 @@ -94358,17 +94525,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#create-a-temporary-private-fork parameters: - - *342 - - *343 - - *665 + - *344 + - *345 + - *667 responses: '202': description: Response content: application/json: - schema: *345 + schema: *347 examples: - default: *347 + default: *349 '400': *14 '422': *15 '403': *29 @@ -94394,8 +94561,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#list-stargazers parameters: - - *342 - - *343 + - *344 + - *345 - *17 - *19 responses: @@ -94472,7 +94639,7 @@ paths: type: User site_admin: false headers: - Link: *68 + Link: *70 '422': *15 x-github: githubCloudOnly: false @@ -94494,8 +94661,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-weekly-commit-activity parameters: - - *342 - - *343 + - *344 + - *345 responses: '200': description: Returns a weekly aggregate of the number of additions and deletions @@ -94504,7 +94671,7 @@ paths: application/json: schema: type: array - items: &667 + items: &669 title: Code Frequency Stat description: Code Frequency Stat type: array @@ -94537,8 +94704,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-last-year-of-commit-activity parameters: - - *342 - - *343 + - *344 + - *345 responses: '200': description: Response @@ -94614,8 +94781,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-all-contributor-commit-activity parameters: - - *342 - - *343 + - *344 + - *345 responses: '200': description: Response @@ -94711,8 +94878,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-weekly-commit-count parameters: - - *342 - - *343 + - *344 + - *345 responses: '200': description: The array order is oldest week (index 0) to most recent week. @@ -94866,8 +95033,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-hourly-commit-count-for-each-day parameters: - - *342 - - *343 + - *344 + - *345 responses: '200': description: For example, `[2, 14, 25]` indicates that there were 25 total @@ -94877,7 +95044,7 @@ paths: application/json: schema: type: array - items: *667 + items: *669 examples: default: value: @@ -94910,8 +95077,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/statuses#create-a-commit-status parameters: - - *342 - - *343 + - *344 + - *345 - name: sha in: path required: true @@ -94965,7 +95132,7 @@ paths: description: Response content: application/json: - schema: *668 + schema: *670 examples: default: value: @@ -95019,8 +95186,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#list-watchers parameters: - - *342 - - *343 + - *344 + - *345 - *17 - *19 responses: @@ -95032,9 +95199,9 @@ paths: type: array items: *4 examples: - default: *71 + default: *73 headers: - Link: *68 + Link: *70 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -95052,14 +95219,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#get-a-repository-subscription parameters: - - *342 - - *343 + - *344 + - *345 responses: '200': description: if you subscribe to the repository content: application/json: - schema: &669 + schema: &671 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -95127,8 +95294,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#set-a-repository-subscription parameters: - - *342 - - *343 + - *344 + - *345 requestBody: required: false content: @@ -95154,7 +95321,7 @@ paths: description: Response content: application/json: - schema: *669 + schema: *671 examples: default: value: @@ -95181,8 +95348,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#delete-a-repository-subscription parameters: - - *342 - - *343 + - *344 + - *345 responses: '204': description: Response @@ -95202,8 +95369,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-tags parameters: - - *342 - - *343 + - *344 + - *345 - *17 - *19 responses: @@ -95259,7 +95426,7 @@ paths: tarball_url: https://github.com/octocat/Hello-World/tarball/v0.1 node_id: MDQ6VXNlcjE= headers: - Link: *68 + Link: *70 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -95282,8 +95449,8 @@ paths: url: https://docs.github.com/rest/repos/contents#download-a-repository-archive-tar operationId: repos/download-tarball-archive parameters: - - *342 - - *343 + - *344 + - *345 - name: ref in: path required: true @@ -95319,8 +95486,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-teams parameters: - - *342 - - *343 + - *344 + - *345 - *17 - *19 responses: @@ -95330,11 +95497,11 @@ paths: application/json: schema: type: array - items: *195 + items: *197 examples: - default: *259 + default: *261 headers: - Link: *68 + Link: *70 '404': *6 x-github: githubCloudOnly: false @@ -95352,8 +95519,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#get-all-repository-topics parameters: - - *342 - - *343 + - *344 + - *345 - *19 - *17 responses: @@ -95361,7 +95528,7 @@ paths: description: Response content: application/json: - schema: &670 + schema: &672 title: Topic description: A topic aggregates entities that are related to a subject. type: object @@ -95373,7 +95540,7 @@ paths: required: - names examples: - default: &671 + default: &673 value: names: - octocat @@ -95396,8 +95563,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#replace-all-repository-topics parameters: - - *342 - - *343 + - *344 + - *345 requestBody: required: true content: @@ -95428,9 +95595,9 @@ paths: description: Response content: application/json: - schema: *670 + schema: *672 examples: - default: *671 + default: *673 '404': *6 '422': *7 x-github: @@ -95451,9 +95618,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-repository-clones parameters: - - *342 - - *343 - - &672 + - *344 + - *345 + - &674 name: per description: The time frame to display results for. in: query @@ -95482,7 +95649,7 @@ paths: example: 128 clones: type: array - items: &673 + items: &675 title: Traffic type: object properties: @@ -95569,8 +95736,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-top-referral-paths parameters: - - *342 - - *343 + - *344 + - *345 responses: '200': description: Response @@ -95660,8 +95827,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-top-referral-sources parameters: - - *342 - - *343 + - *344 + - *345 responses: '200': description: Response @@ -95721,9 +95888,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-page-views parameters: - - *342 - - *343 - - *672 + - *344 + - *345 + - *674 responses: '200': description: Response @@ -95742,7 +95909,7 @@ paths: example: 3782 views: type: array - items: *673 + items: *675 required: - uniques - count @@ -95819,8 +95986,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#transfer-a-repository parameters: - - *342 - - *343 + - *344 + - *345 requestBody: required: true content: @@ -95856,7 +96023,7 @@ paths: description: Response content: application/json: - schema: *159 + schema: *161 examples: default: value: @@ -96093,8 +96260,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#check-if-vulnerability-alerts-are-enabled-for-a-repository parameters: - - *342 - - *343 + - *344 + - *345 responses: '204': description: Response if repository is enabled with vulnerability alerts @@ -96117,8 +96284,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-vulnerability-alerts parameters: - - *342 - - *343 + - *344 + - *345 responses: '204': description: Response @@ -96140,8 +96307,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-vulnerability-alerts parameters: - - *342 - - *343 + - *344 + - *345 responses: '204': description: Response @@ -96167,8 +96334,8 @@ paths: url: https://docs.github.com/rest/repos/contents#download-a-repository-archive-zip operationId: repos/download-zipball-archive parameters: - - *342 - - *343 + - *344 + - *345 - name: ref in: path required: true @@ -96260,9 +96427,9 @@ paths: description: Response content: application/json: - schema: *345 + schema: *347 examples: - default: *347 + default: *349 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -96303,7 +96470,7 @@ paths: application/json: schema: type: array - items: *159 + items: *161 examples: default: value: @@ -96495,7 +96662,7 @@ paths: html_url: type: string format: uri - repository: *159 + repository: *161 score: type: number file_size: @@ -96513,7 +96680,7 @@ paths: example: - 73..77 - 77..78 - text_matches: &674 + text_matches: &676 title: Search Result Text Matches type: array items: @@ -96627,7 +96794,7 @@ paths: releases_url: http://api.github.com/repos/octocat/Hello-World/releases{/id} score: 1 '304': *37 - '503': *120 + '503': *122 '422': *15 '403': *29 x-github: @@ -96675,7 +96842,7 @@ paths: enum: - author-date - committer-date - - &675 + - &677 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 @@ -96746,7 +96913,7 @@ paths: description: Metaproperties for Git author/committer information. type: object - properties: *407 + properties: *409 nullable: true comment_count: type: integer @@ -96766,7 +96933,7 @@ paths: url: type: string format: uri - verification: *531 + verification: *533 required: - author - committer @@ -96785,7 +96952,7 @@ paths: title: Git User description: Metaproperties for Git author/committer information. type: object - properties: *407 + properties: *409 nullable: true parents: type: array @@ -96798,12 +96965,12 @@ paths: type: string sha: type: string - repository: *159 + repository: *161 score: type: number node_id: type: string - text_matches: *674 + text_matches: *676 required: - sha - node_id @@ -96995,7 +97162,7 @@ paths: - interactions - created - updated - - *675 + - *677 - *17 - *19 - name: advanced_search @@ -97109,11 +97276,11 @@ paths: description: type: string nullable: true - sub_issues_summary: *676 - issue_dependencies_summary: *677 + sub_issues_summary: *678 + issue_dependencies_summary: *679 issue_field_values: type: array - items: *557 + items: *559 state: type: string state_reason: @@ -97123,8 +97290,8 @@ paths: title: Milestone description: A collection of related issues and pull requests. type: object - properties: *279 - required: *280 + properties: *281 + required: *282 nullable: true comments: type: integer @@ -97138,7 +97305,7 @@ paths: type: string format: date-time nullable: true - text_matches: *674 + text_matches: *676 pull_request: type: object properties: @@ -97171,10 +97338,10 @@ paths: type: string score: type: number - author_association: *83 + author_association: *85 draft: type: boolean - repository: *80 + repository: *82 body_html: type: string body_text: @@ -97182,7 +97349,7 @@ paths: timeline_url: type: string format: uri - type: *242 + type: *244 performed_via_github_app: title: GitHub app description: GitHub apps are a new way to extend GitHub. @@ -97192,17 +97359,17 @@ paths: GitHub apps are first class actors within GitHub. type: object nullable: true - properties: *81 - required: *82 + properties: *83 + required: *84 pinned_comment: title: Issue Comment description: Comments provide a way for people to collaborate on an issue. type: object - properties: *87 - required: *88 + properties: *89 + required: *90 nullable: true - reactions: *84 + reactions: *86 required: - closed_at - comments @@ -97354,7 +97521,7 @@ paths: - quoted_text items: - "..." - '503': *120 + '503': *122 '422': *15 '304': *37 '403': *29 @@ -97408,7 +97575,7 @@ paths: enum: - created - updated - - *675 + - *677 - *17 - *19 responses: @@ -97452,7 +97619,7 @@ paths: nullable: true score: type: number - text_matches: *674 + text_matches: *676 required: - id - node_id @@ -97537,7 +97704,7 @@ paths: - forks - help-wanted-issues - updated - - *675 + - *677 - *17 - *19 responses: @@ -97765,8 +97932,8 @@ paths: title: License Simple description: License Simple type: object - properties: *89 - required: *90 + properties: *91 + required: *92 nullable: true permissions: type: object @@ -97785,7 +97952,7 @@ paths: - admin - pull - push - text_matches: *674 + text_matches: *676 temp_clone_token: type: string allow_merge_commit: @@ -97987,7 +98154,7 @@ paths: spdx_id: MIT node_id: MDc6TGljZW5zZW1pdA== html_url: https://api.github.com/licenses/mit - '503': *120 + '503': *122 '422': *15 '304': *37 x-github: @@ -98085,7 +98252,7 @@ paths: type: string format: uri nullable: true - text_matches: *674 + text_matches: *676 related: type: array nullable: true @@ -98276,7 +98443,7 @@ paths: - followers - repositories - joined - - *675 + - *677 - *17 - *19 responses: @@ -98380,7 +98547,7 @@ paths: hireable: type: boolean nullable: true - text_matches: *674 + text_matches: *676 blog: type: string nullable: true @@ -98439,7 +98606,7 @@ paths: events_url: https://api.github.com/users/mojombo/events{/privacy} site_admin: true '304': *37 - '503': *120 + '503': *122 '422': *15 x-github: githubCloudOnly: false @@ -98459,7 +98626,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#get-a-team-legacy parameters: - - &678 + - &680 name: team_id description: The unique identifier of the team. in: path @@ -98471,9 +98638,9 @@ paths: description: Response content: application/json: - schema: *338 + schema: *340 examples: - default: *339 + default: *341 '404': *6 x-github: githubCloudOnly: false @@ -98500,7 +98667,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#update-a-team-legacy parameters: - - *678 + - *680 requestBody: required: true content: @@ -98563,16 +98730,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *338 + schema: *340 examples: - default: *339 + default: *341 '201': description: Response content: application/json: - schema: *338 + schema: *340 examples: - default: *339 + default: *341 '404': *6 '422': *15 '403': *29 @@ -98600,7 +98767,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#delete-a-team-legacy parameters: - - *678 + - *680 responses: '204': description: Response @@ -98629,7 +98796,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#list-pending-team-invitations-legacy parameters: - - *678 + - *680 - *17 - *19 responses: @@ -98639,11 +98806,11 @@ paths: application/json: schema: type: array - items: *236 + items: *238 examples: - default: *237 + default: *239 headers: - Link: *68 + Link: *70 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -98667,7 +98834,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#list-team-members-legacy parameters: - - *678 + - *680 - name: role description: Filters members returned by their role in the team. in: query @@ -98690,9 +98857,9 @@ paths: type: array items: *4 examples: - default: *71 + default: *73 headers: - Link: *68 + Link: *70 '404': *6 x-github: githubCloudOnly: false @@ -98718,8 +98885,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#get-team-member-legacy parameters: - - *678 - - *72 + - *680 + - *74 responses: '204': description: if user is a member @@ -98755,8 +98922,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#add-team-member-legacy parameters: - - *678 - - *72 + - *680 + - *74 responses: '204': description: Response @@ -98795,8 +98962,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#remove-team-member-legacy parameters: - - *678 - - *72 + - *680 + - *74 responses: '204': description: Response @@ -98832,16 +98999,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#get-team-membership-for-a-user-legacy parameters: - - *678 - - *72 + - *680 + - *74 responses: '200': description: Response content: application/json: - schema: *341 + schema: *343 examples: - response-if-user-is-a-team-maintainer: *679 + response-if-user-is-a-team-maintainer: *681 '404': *6 x-github: githubCloudOnly: false @@ -98874,8 +99041,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#add-or-update-team-membership-for-a-user-legacy parameters: - - *678 - - *72 + - *680 + - *74 requestBody: required: false content: @@ -98900,9 +99067,9 @@ paths: description: Response content: application/json: - schema: *341 + schema: *343 examples: - response-if-users-membership-with-team-is-now-pending: *680 + response-if-users-membership-with-team-is-now-pending: *682 '403': description: Forbidden if team synchronization is set up '422': @@ -98936,8 +99103,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#remove-team-membership-for-a-user-legacy parameters: - - *678 - - *72 + - *680 + - *74 responses: '204': description: Response @@ -98964,7 +99131,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-team-repositories-legacy parameters: - - *678 + - *680 - *17 - *19 responses: @@ -98974,11 +99141,11 @@ paths: application/json: schema: type: array - items: *159 + items: *161 examples: - default: *273 + default: *275 headers: - Link: *68 + Link: *70 '404': *6 x-github: githubCloudOnly: false @@ -99006,15 +99173,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-repository-legacy parameters: - - *678 - - *342 - - *343 + - *680 + - *344 + - *345 responses: '200': description: Alternative response with extra repository information content: application/json: - schema: *681 + schema: *683 examples: alternative-response-with-extra-repository-information: value: @@ -99164,9 +99331,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#add-or-update-team-repository-permissions-legacy parameters: - - *678 - - *342 - - *343 + - *680 + - *344 + - *345 requestBody: required: false content: @@ -99216,9 +99383,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#remove-a-repository-from-a-team-legacy parameters: - - *678 - - *342 - - *343 + - *680 + - *344 + - *345 responses: '204': description: Response @@ -99243,7 +99410,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-child-teams-legacy parameters: - - *678 + - *680 - *17 - *19 responses: @@ -99253,11 +99420,11 @@ paths: application/json: schema: type: array - items: *195 + items: *197 examples: - response-if-child-teams-exist: *682 + response-if-child-teams-exist: *684 headers: - Link: *68 + Link: *70 '404': *6 '403': *29 '422': *15 @@ -99288,7 +99455,7 @@ paths: application/json: schema: oneOf: - - &683 + - &685 title: Private User description: Private User type: object @@ -99491,7 +99658,7 @@ paths: - private_gists - total_private_repos - two_factor_authentication - - &709 + - &711 title: Public User description: Public User type: object @@ -99803,7 +99970,7 @@ paths: description: Response content: application/json: - schema: *683 + schema: *685 examples: default: value: @@ -99882,7 +100049,7 @@ paths: type: array items: *4 examples: - default: *71 + default: *73 '304': *37 '404': *6 '403': *29 @@ -99905,7 +100072,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/blocking#check-if-a-user-is-blocked-by-the-authenticated-user parameters: - - *72 + - *74 responses: '204': description: If the user is blocked @@ -99933,7 +100100,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/blocking#block-a-user parameters: - - *72 + - *74 responses: '204': description: Response @@ -99957,7 +100124,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/blocking#unblock-a-user parameters: - - *72 + - *74 responses: '204': description: Response @@ -100006,9 +100173,9 @@ paths: type: integer codespaces: type: array - items: *247 + items: *249 examples: - default: *248 + default: *250 '304': *37 '500': *55 '401': *25 @@ -100147,21 +100314,21 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *247 + schema: *249 examples: - default: *463 + default: *465 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *247 + schema: *249 examples: - default: *463 + default: *465 '401': *25 '403': *29 '404': *6 - '503': *120 + '503': *122 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -100201,7 +100368,7 @@ paths: type: integer secrets: type: array - items: &684 + items: &686 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -100241,9 +100408,9 @@ paths: - visibility - selected_repositories_url examples: - default: *466 + default: *468 headers: - Link: *68 + Link: *70 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -100311,13 +100478,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/secrets#get-a-secret-for-the-authenticated-user parameters: - - *167 + - *169 responses: '200': description: Response content: application/json: - schema: *684 + schema: *686 examples: default: value: @@ -100347,7 +100514,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/secrets#create-or-update-a-secret-for-the-authenticated-user parameters: - - *167 + - *169 requestBody: required: true content: @@ -100392,7 +100559,7 @@ paths: description: Response after successfully creating a secret content: application/json: - schema: *168 + schema: *170 examples: default: value: @@ -100420,7 +100587,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/secrets#delete-a-secret-for-the-authenticated-user parameters: - - *167 + - *169 responses: '204': description: Response @@ -100445,7 +100612,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/secrets#list-selected-repositories-for-a-user-secret parameters: - - *167 + - *169 responses: '200': description: Response @@ -100461,9 +100628,9 @@ paths: type: integer repositories: type: array - items: *159 + items: *161 examples: - default: *196 + default: *198 '401': *25 '403': *29 '404': *6 @@ -100488,7 +100655,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/secrets#set-selected-repositories-for-a-user-secret parameters: - - *167 + - *169 requestBody: required: true content: @@ -100542,7 +100709,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/secrets#add-a-selected-repository-to-a-user-secret parameters: - - *167 + - *169 - name: repository_id in: path required: true @@ -100575,7 +100742,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/secrets#remove-a-selected-repository-from-a-user-secret parameters: - - *167 + - *169 - name: repository_id in: path required: true @@ -100607,15 +100774,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#get-a-codespace-for-the-authenticated-user parameters: - - *249 + - *251 responses: '200': description: Response content: application/json: - schema: *247 + schema: *249 examples: - default: *463 + default: *465 '304': *37 '500': *55 '401': *25 @@ -100641,7 +100808,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#update-a-codespace-for-the-authenticated-user parameters: - - *249 + - *251 requestBody: required: false content: @@ -100671,9 +100838,9 @@ paths: description: Response content: application/json: - schema: *247 + schema: *249 examples: - default: *463 + default: *465 '401': *25 '403': *29 '404': *6 @@ -100695,7 +100862,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#delete-a-codespace-for-the-authenticated-user parameters: - - *249 + - *251 responses: '202': *39 '304': *37 @@ -100724,13 +100891,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#export-a-codespace-for-the-authenticated-user parameters: - - *249 + - *251 responses: '202': description: Response content: application/json: - schema: &685 + schema: &687 type: object title: Fetches information about an export of a codespace. description: An export of a codespace. Also, latest export details @@ -100771,7 +100938,7 @@ paths: description: Web url for the exported branch example: https://github.com/octocat/hello-world/tree/:branch examples: - default: &686 + default: &688 value: state: succeeded completed_at: '2022-01-01T14:59:22Z' @@ -100803,7 +100970,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#get-details-about-a-codespace-export parameters: - - *249 + - *251 - name: export_id in: path required: true @@ -100816,9 +100983,9 @@ paths: description: Response content: application/json: - schema: *685 + schema: *687 examples: - default: *686 + default: *688 '404': *6 x-github: githubCloudOnly: false @@ -100839,7 +101006,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/machines#list-machine-types-for-a-codespace parameters: - - *249 + - *251 responses: '200': description: Response @@ -100855,9 +101022,9 @@ paths: type: integer machines: type: array - items: *687 + items: *689 examples: - default: *688 + default: *690 '304': *37 '500': *55 '401': *25 @@ -100886,7 +101053,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#create-a-repository-from-an-unpublished-codespace parameters: - - *249 + - *251 requestBody: required: true content: @@ -100936,13 +101103,13 @@ paths: nullable: true owner: *4 billable_owner: *4 - repository: *345 + repository: *347 machine: type: object title: Codespace machine description: A description of the machine powering a codespace. - properties: *464 - required: *465 + properties: *466 + required: *467 nullable: true devcontainer_path: description: Path to devcontainer.json from repo root used to @@ -101716,15 +101883,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#start-a-codespace-for-the-authenticated-user parameters: - - *249 + - *251 responses: '200': description: Response content: application/json: - schema: *247 + schema: *249 examples: - default: *463 + default: *465 '304': *37 '500': *55 '400': *14 @@ -101756,15 +101923,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#stop-a-codespace-for-the-authenticated-user parameters: - - *249 + - *251 responses: '200': description: Response content: application/json: - schema: *247 + schema: *249 examples: - default: *463 + default: *465 '500': *55 '401': *25 '403': *29 @@ -101794,9 +101961,9 @@ paths: application/json: schema: type: array - items: *260 + items: *262 examples: - default: &699 + default: &701 value: - id: 197 name: hello_docker @@ -101897,7 +102064,7 @@ paths: application/json: schema: type: array - items: &689 + items: &691 title: Email description: Email type: object @@ -101962,16 +102129,16 @@ paths: application/json: schema: type: array - items: *689 + items: *691 examples: - default: &701 + default: &703 value: - email: octocat@github.com verified: true primary: true visibility: public headers: - Link: *68 + Link: *70 '304': *37 '404': *6 '403': *29 @@ -102039,7 +102206,7 @@ paths: application/json: schema: type: array - items: *689 + items: *691 examples: default: value: @@ -102149,9 +102316,9 @@ paths: type: array items: *4 examples: - default: *71 + default: *73 headers: - Link: *68 + Link: *70 '304': *37 '403': *29 '401': *25 @@ -102182,9 +102349,9 @@ paths: type: array items: *4 examples: - default: *71 + default: *73 headers: - Link: *68 + Link: *70 '304': *37 '403': *29 '401': *25 @@ -102204,7 +102371,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/followers#check-if-a-person-is-followed-by-the-authenticated-user parameters: - - *72 + - *74 responses: '204': description: if the person is followed by the authenticated user @@ -102234,7 +102401,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/followers#follow-a-user parameters: - - *72 + - *74 responses: '204': description: Response @@ -102259,7 +102426,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/followers#unfollow-a-user parameters: - - *72 + - *74 responses: '204': description: Response @@ -102295,7 +102462,7 @@ paths: application/json: schema: type: array - items: &690 + items: &692 title: GPG Key description: A unique encryption key type: object @@ -102426,7 +102593,7 @@ paths: - subkeys - revoked examples: - default: &718 + default: &720 value: - id: 3 name: Octocat's GPG Key @@ -102458,7 +102625,7 @@ paths: revoked: false raw_key: string headers: - Link: *68 + Link: *70 '304': *37 '404': *6 '403': *29 @@ -102511,9 +102678,9 @@ paths: description: Response content: application/json: - schema: *690 + schema: *692 examples: - default: &691 + default: &693 value: id: 3 name: Octocat's GPG Key @@ -102570,7 +102737,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/gpg-keys#get-a-gpg-key-for-the-authenticated-user parameters: - - &692 + - &694 name: gpg_key_id description: The unique identifier of the GPG key. in: path @@ -102582,9 +102749,9 @@ paths: description: Response content: application/json: - schema: *690 + schema: *692 examples: - default: *691 + default: *693 '404': *6 '304': *37 '403': *29 @@ -102607,7 +102774,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/gpg-keys#delete-a-gpg-key-for-the-authenticated-user parameters: - - *692 + - *694 responses: '204': description: Response @@ -102750,7 +102917,7 @@ paths: suspended_at: suspended_by: headers: - Link: *68 + Link: *70 '304': *37 '403': *29 '401': *25 @@ -102798,11 +102965,11 @@ paths: type: array items: allOf: - - *80 + - *82 examples: - default: *151 + default: *153 headers: - Link: *68 + Link: *70 '404': *6 '403': *29 '304': *37 @@ -102826,7 +102993,7 @@ paths: url: https://docs.github.com/rest/apps/installations#add-a-repository-to-an-app-installation parameters: - *23 - - *148 + - *150 responses: '204': description: Response @@ -102852,7 +103019,7 @@ paths: url: https://docs.github.com/rest/apps/installations#remove-a-repository-from-an-app-installation parameters: - *23 - - *148 + - *150 responses: '204': description: Response @@ -102886,12 +103053,12 @@ paths: application/json: schema: anyOf: - - *234 + - *236 - type: object properties: {} additionalProperties: false examples: - default: *235 + default: *237 '204': description: Response when there are no restrictions x-github: @@ -102915,7 +103082,7 @@ paths: required: true content: application/json: - schema: *542 + schema: *544 examples: default: value: @@ -102926,7 +103093,7 @@ paths: description: Response content: application/json: - schema: *234 + schema: *236 examples: default: value: @@ -103007,7 +103174,7 @@ paths: - closed - all default: open - - *245 + - *247 - name: sort description: What to sort results by. in: query @@ -103020,7 +103187,7 @@ paths: - comments default: created - *62 - - *93 + - *95 - *17 - *19 responses: @@ -103030,11 +103197,11 @@ paths: application/json: schema: type: array - items: *86 + items: *88 examples: - default: *246 + default: *248 headers: - Link: *68 + Link: *70 '404': *6 '304': *37 x-github: @@ -103065,7 +103232,7 @@ paths: application/json: schema: type: array - items: &693 + items: &695 title: Key description: Key type: object @@ -103116,7 +103283,7 @@ paths: verified: false read_only: false headers: - Link: *68 + Link: *70 '304': *37 '404': *6 '403': *29 @@ -103166,9 +103333,9 @@ paths: description: Response content: application/json: - schema: *693 + schema: *695 examples: - default: &694 + default: &696 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -103201,15 +103368,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/keys#get-a-public-ssh-key-for-the-authenticated-user parameters: - - *577 + - *579 responses: '200': description: Response content: application/json: - schema: *693 + schema: *695 examples: - default: *694 + default: *696 '404': *6 '304': *37 '403': *29 @@ -103232,7 +103399,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/keys#delete-a-public-ssh-key-for-the-authenticated-user parameters: - - *577 + - *579 responses: '204': description: Response @@ -103265,7 +103432,7 @@ paths: application/json: schema: type: array - items: &695 + items: &697 title: User Marketplace Purchase description: User Marketplace Purchase type: object @@ -103322,7 +103489,7 @@ paths: - id - type - login - plan: *104 + plan: *106 required: - billing_cycle - next_billing_date @@ -103333,7 +103500,7 @@ paths: - account - plan examples: - default: &696 + default: &698 value: - billing_cycle: monthly next_billing_date: '2017-11-11T00:00:00Z' @@ -103366,7 +103533,7 @@ paths: - Up to 25 private repositories - 11 concurrent builds headers: - Link: *68 + Link: *70 '304': *37 '401': *25 '404': *6 @@ -103395,11 +103562,11 @@ paths: application/json: schema: type: array - items: *695 + items: *697 examples: - default: *696 + default: *698 headers: - Link: *68 + Link: *70 '304': *37 '401': *25 x-github: @@ -103437,7 +103604,7 @@ paths: application/json: schema: type: array - items: *251 + items: *253 examples: default: value: @@ -103520,7 +103687,7 @@ paths: type: User site_admin: false headers: - Link: *68 + Link: *70 '304': *37 '403': *29 '401': *25 @@ -103545,13 +103712,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#get-an-organization-membership-for-the-authenticated-user parameters: - - *76 + - *78 responses: '200': description: Response content: application/json: - schema: *251 + schema: *253 examples: default: value: @@ -103613,7 +103780,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#update-an-organization-membership-for-the-authenticated-user parameters: - - *76 + - *78 requestBody: required: true content: @@ -103638,7 +103805,7 @@ paths: description: Response content: application/json: - schema: *251 + schema: *253 examples: default: value: @@ -103710,7 +103877,7 @@ paths: application/json: schema: type: array - items: *253 + items: *255 examples: default: value: @@ -103863,7 +104030,7 @@ paths: updated_at: '2015-07-06T15:33:38-07:00' node_id: MDQ6VXNlcjE= headers: - Link: *68 + Link: *70 '304': *37 '403': *29 '401': *25 @@ -103963,7 +104130,7 @@ paths: description: Response content: application/json: - schema: *253 + schema: *255 examples: default: value: @@ -104143,7 +104310,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/users#get-a-user-migration-status parameters: - - *254 + - *256 - name: exclude in: query required: false @@ -104156,7 +104323,7 @@ paths: description: Response content: application/json: - schema: *253 + schema: *255 examples: default: value: @@ -104350,7 +104517,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/users#download-a-user-migration-archive parameters: - - *254 + - *256 responses: '302': description: Response @@ -104376,7 +104543,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/users#delete-a-user-migration-archive parameters: - - *254 + - *256 responses: '204': description: Response @@ -104405,8 +104572,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/users#unlock-a-user-repository parameters: - - *254 - - *697 + - *256 + - *699 responses: '204': description: Response @@ -104430,7 +104597,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/users#list-repositories-for-a-user-migration parameters: - - *254 + - *256 - *17 - *19 responses: @@ -104442,7 +104609,7 @@ paths: type: array items: *67 headers: - Link: *68 + Link: *70 '404': *6 x-github: githubCloudOnly: false @@ -104475,11 +104642,11 @@ paths: application/json: schema: type: array - items: *74 + items: *76 examples: - default: *117 + default: *119 headers: - Link: *68 + Link: *70 '304': *37 '403': *29 '401': *25 @@ -104519,7 +104686,7 @@ paths: - docker - nuget - container - - *698 + - *700 - *19 - *17 responses: @@ -104529,10 +104696,10 @@ paths: application/json: schema: type: array - items: *260 + items: *262 examples: - default: *699 - '400': *700 + default: *701 + '400': *702 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -104552,16 +104719,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-for-the-authenticated-user parameters: - - *262 - - *263 + - *264 + - *265 responses: '200': description: Response content: application/json: - schema: *260 + schema: *262 examples: - default: &719 + default: &721 value: id: 40201 name: octo-name @@ -104674,8 +104841,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-a-package-for-the-authenticated-user parameters: - - *262 - - *263 + - *264 + - *265 responses: '204': description: Response @@ -104705,8 +104872,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-a-package-for-the-authenticated-user parameters: - - *262 - - *263 + - *264 + - *265 - name: token description: package token schema: @@ -104738,8 +104905,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#list-package-versions-for-a-package-owned-by-the-authenticated-user parameters: - - *262 - - *263 + - *264 + - *265 - *19 - *17 - name: state @@ -104759,7 +104926,7 @@ paths: application/json: schema: type: array - items: *264 + items: *266 examples: default: value: @@ -104808,15 +104975,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-version-for-the-authenticated-user parameters: - - *262 - - *263 + - *264 - *265 + - *267 responses: '200': description: Response content: application/json: - schema: *264 + schema: *266 examples: default: value: @@ -104852,9 +105019,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-a-package-version-for-the-authenticated-user parameters: - - *262 - - *263 + - *264 - *265 + - *267 responses: '204': description: Response @@ -104884,9 +105051,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-a-package-version-for-the-authenticated-user parameters: - - *262 - - *263 + - *264 - *265 + - *267 responses: '204': description: Response @@ -104923,11 +105090,11 @@ paths: application/json: schema: type: array - items: *689 + items: *691 examples: - default: *701 + default: *703 headers: - Link: *68 + Link: *70 '304': *37 '404': *6 '403': *29 @@ -105036,9 +105203,9 @@ paths: application/json: schema: type: array - items: *80 + items: *82 examples: - default: &708 + default: &710 summary: Default response value: - id: 1296269 @@ -105159,7 +105326,7 @@ paths: open_issues: 1 watchers: 1 headers: - Link: *68 + Link: *70 '422': *15 '304': *37 '403': *29 @@ -105342,9 +105509,9 @@ paths: description: Response content: application/json: - schema: *345 + schema: *347 examples: - default: *347 + default: *349 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -105383,11 +105550,11 @@ paths: application/json: schema: type: array - items: *544 + items: *546 examples: - default: *702 + default: *704 headers: - Link: *68 + Link: *70 '304': *37 '404': *6 '403': *29 @@ -105408,7 +105575,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#accept-a-repository-invitation parameters: - - *238 + - *240 responses: '204': description: Response @@ -105432,7 +105599,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#decline-a-repository-invitation parameters: - - *238 + - *240 responses: '204': description: Response @@ -105465,7 +105632,7 @@ paths: application/json: schema: type: array - items: &703 + items: &705 title: Social account description: Social media account type: object @@ -105480,12 +105647,12 @@ paths: - provider - url examples: - default: &704 + default: &706 value: - provider: twitter url: https://twitter.com/github headers: - Link: *68 + Link: *70 '304': *37 '404': *6 '403': *29 @@ -105542,9 +105709,9 @@ paths: application/json: schema: type: array - items: *703 + items: *705 examples: - default: *704 + default: *706 '422': *15 '304': *37 '404': *6 @@ -105631,7 +105798,7 @@ paths: application/json: schema: type: array - items: &705 + items: &707 title: SSH Signing Key description: A public SSH key used to sign Git commits type: object @@ -105651,7 +105818,7 @@ paths: - title - created_at examples: - default: &737 + default: &739 value: - id: 2 key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -105662,7 +105829,7 @@ paths: title: ssh-rsa AAAAB3NzaC1yc2EAAB created_at: '2020-07-11T21:31:57Z' headers: - Link: *68 + Link: *70 '304': *37 '404': *6 '403': *29 @@ -105715,9 +105882,9 @@ paths: description: Response content: application/json: - schema: *705 + schema: *707 examples: - default: &706 + default: &708 value: id: 2 key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -105747,7 +105914,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/ssh-signing-keys#get-an-ssh-signing-key-for-the-authenticated-user parameters: - - &707 + - &709 name: ssh_signing_key_id description: The unique identifier of the SSH signing key. in: path @@ -105759,9 +105926,9 @@ paths: description: Response content: application/json: - schema: *705 + schema: *707 examples: - default: *706 + default: *708 '404': *6 '304': *37 '403': *29 @@ -105784,7 +105951,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/ssh-signing-keys#delete-an-ssh-signing-key-for-the-authenticated-user parameters: - - *707 + - *709 responses: '204': description: Response @@ -105813,7 +105980,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#list-repositories-starred-by-the-authenticated-user parameters: - - &738 + - &740 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 @@ -105836,13 +106003,13 @@ paths: application/json: schema: type: array - items: *80 + items: *82 examples: - default-response: *708 + default-response: *710 application/vnd.github.v3.star+json: schema: type: array - items: &739 + items: &741 title: Starred Repository description: Starred Repository type: object @@ -105850,7 +106017,7 @@ paths: starred_at: type: string format: date-time - repo: *80 + repo: *82 required: - starred_at - repo @@ -105978,7 +106145,7 @@ paths: open_issues: 1 watchers: 1 headers: - Link: *68 + Link: *70 '304': *37 '403': *29 '401': *25 @@ -105998,8 +106165,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#check-if-a-repository-is-starred-by-the-authenticated-user parameters: - - *342 - - *343 + - *344 + - *345 responses: '204': description: Response if this repository is starred by you @@ -106027,8 +106194,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#star-a-repository-for-the-authenticated-user parameters: - - *342 - - *343 + - *344 + - *345 responses: '204': description: Response @@ -106052,8 +106219,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#unstar-a-repository-for-the-authenticated-user parameters: - - *342 - - *343 + - *344 + - *345 responses: '204': description: Response @@ -106086,11 +106253,11 @@ paths: application/json: schema: type: array - items: *159 + items: *161 examples: - default: *273 + default: *275 headers: - Link: *68 + Link: *70 '304': *37 '403': *29 '401': *25 @@ -106125,7 +106292,7 @@ paths: application/json: schema: type: array - items: *338 + items: *340 examples: default: value: @@ -106176,7 +106343,7 @@ paths: updated_at: '2017-08-17T12:37:15Z' type: Organization headers: - Link: *68 + Link: *70 '304': *37 '404': *6 '403': *29 @@ -106203,7 +106370,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/users#get-a-user-using-their-id parameters: - - *106 + - *108 responses: '200': description: Response @@ -106211,10 +106378,10 @@ paths: application/json: schema: oneOf: - - *683 - - *709 + - *685 + - *711 examples: - default-response: &713 + default-response: &715 summary: Default response value: login: octocat @@ -106249,7 +106416,7 @@ paths: following: 0 created_at: '2008-01-14T04:33:35Z' updated_at: '2008-01-14T04:33:35Z' - response-with-git-hub-plan-information: &714 + response-with-git-hub-plan-information: &716 summary: Response with GitHub plan information value: login: octocat @@ -106306,14 +106473,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/drafts#create-draft-item-for-user-owned-project parameters: - - &711 + - &713 name: user_id description: The unique identifier of the user. in: path required: true schema: type: string - - *278 + - *280 requestBody: required: true description: Details of the draft item to create in the project. @@ -106347,9 +106514,9 @@ paths: description: Response content: application/json: - schema: *284 + schema: *286 examples: - draft_issue: *285 + draft_issue: *287 '304': *37 '403': *29 '401': *25 @@ -106372,7 +106539,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/users#list-users parameters: - - *710 + - *712 - *17 responses: '200': @@ -106383,7 +106550,7 @@ paths: type: array items: *4 examples: - default: *71 + default: *73 headers: Link: example: ; rel="next" @@ -106407,8 +106574,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/views#create-a-view-for-a-user-owned-project parameters: - - *711 - - *278 + - *713 + - *280 requestBody: required: true content: @@ -106479,17 +106646,17 @@ paths: description: Response for creating a view in a user-owned project. content: application/json: - schema: *712 + schema: *714 examples: table_view: summary: Response for creating a table view - value: *289 + value: *291 board_view: summary: Response for creating a board view with filter - value: *289 + value: *291 roadmap_view: summary: Response for creating a roadmap view - value: *289 + value: *291 '304': *37 '403': *29 '401': *25 @@ -106523,7 +106690,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/users#get-a-user parameters: - - *72 + - *74 responses: '200': description: Response @@ -106531,11 +106698,11 @@ paths: application/json: schema: oneOf: - - *683 - - *709 + - *685 + - *711 examples: - default-response: *713 - response-with-git-hub-plan-information: *714 + default-response: *715 + response-with-git-hub-plan-information: *716 '404': *6 x-github: githubCloudOnly: false @@ -106561,7 +106728,7 @@ paths: - *17 - *47 - *48 - - *72 + - *74 requestBody: required: true content: @@ -106585,8 +106752,8 @@ paths: required: - subject_digests examples: - default: *715 - withPredicateType: *716 + default: *717 + withPredicateType: *718 responses: '200': description: Response @@ -106625,7 +106792,7 @@ paths: description: The cursor to the previous page. description: Information about the current page. examples: - default: *717 + default: *719 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -106643,7 +106810,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/attestations#delete-attestations-in-bulk parameters: - - *72 + - *74 requestBody: required: true content: @@ -106708,7 +106875,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/attestations#delete-attestations-by-subject-digest parameters: - - *72 + - *74 - name: subject_digest description: Subject Digest in: path @@ -106739,7 +106906,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/attestations#delete-attestations-by-id parameters: - - *72 + - *74 - name: attestation_id description: Attestation ID in: path @@ -106777,7 +106944,7 @@ paths: - *17 - *47 - *48 - - *72 + - *74 - name: subject_digest description: Subject Digest in: path @@ -106814,12 +106981,12 @@ paths: initiator: type: string examples: - default: *403 + default: *405 '201': description: Response content: application/json: - schema: *168 + schema: *170 examples: default: value: @@ -106845,7 +107012,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-list-of-conflicting-packages-during-docker-migration-for-user parameters: - - *72 + - *74 responses: '200': description: Response @@ -106853,9 +107020,9 @@ paths: application/json: schema: type: array - items: *260 + items: *262 examples: - default: *699 + default: *701 '403': *29 '401': *25 x-github: @@ -106878,7 +107045,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-events-for-the-authenticated-user parameters: - - *72 + - *74 - *17 - *19 responses: @@ -106888,7 +107055,7 @@ paths: application/json: schema: type: array - items: *112 + items: *114 examples: default: value: @@ -106950,8 +107117,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-organization-events-for-the-authenticated-user parameters: - - *72 - - *76 + - *74 + - *78 - *17 - *19 responses: @@ -106961,7 +107128,7 @@ paths: application/json: schema: type: array - items: *112 + items: *114 examples: default: value: @@ -107038,7 +107205,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-public-events-for-a-user parameters: - - *72 + - *74 - *17 - *19 responses: @@ -107048,7 +107215,7 @@ paths: application/json: schema: type: array - items: *112 + items: *114 examples: default: value: @@ -107106,7 +107273,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/followers#list-followers-of-a-user parameters: - - *72 + - *74 - *17 - *19 responses: @@ -107118,9 +107285,9 @@ paths: type: array items: *4 examples: - default: *71 + default: *73 headers: - Link: *68 + Link: *70 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -107137,7 +107304,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/followers#list-the-people-a-user-follows parameters: - - *72 + - *74 - *17 - *19 responses: @@ -107149,9 +107316,9 @@ paths: type: array items: *4 examples: - default: *71 + default: *73 headers: - Link: *68 + Link: *70 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -107168,7 +107335,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/followers#check-if-a-user-follows-another-user parameters: - - *72 + - *74 - name: target_user in: path required: true @@ -107195,8 +107362,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#list-gists-for-a-user parameters: - - *72 - - *93 + - *74 + - *95 - *17 - *19 responses: @@ -107206,11 +107373,11 @@ paths: application/json: schema: type: array - items: *94 + items: *96 examples: - default: *95 + default: *97 headers: - Link: *68 + Link: *70 '422': *15 x-github: githubCloudOnly: false @@ -107229,7 +107396,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/gpg-keys#list-gpg-keys-for-a-user parameters: - - *72 + - *74 - *17 - *19 responses: @@ -107239,11 +107406,11 @@ paths: application/json: schema: type: array - items: *690 + items: *692 examples: - default: *718 + default: *720 headers: - Link: *68 + Link: *70 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -107265,7 +107432,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/users#get-contextual-information-for-a-user parameters: - - *72 + - *74 - name: subject_type description: Identifies which additional information you'd like to receive about the person's hovercard. Can be `organization`, `repository`, `issue`, @@ -107337,7 +107504,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/apps/apps#get-a-user-installation-for-the-authenticated-app parameters: - - *72 + - *74 responses: '200': description: Response @@ -107345,7 +107512,7 @@ paths: application/json: schema: *22 examples: - default: *541 + default: *543 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -107363,7 +107530,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/keys#list-public-keys-for-a-user parameters: - - *72 + - *74 - *17 - *19 responses: @@ -107398,7 +107565,7 @@ paths: - id: 1 key: ssh-rsa AAA... headers: - Link: *68 + Link: *70 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -107418,7 +107585,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#list-organizations-for-a-user parameters: - - *72 + - *74 - *17 - *19 responses: @@ -107428,11 +107595,11 @@ paths: application/json: schema: type: array - items: *74 + items: *76 examples: - default: *117 + default: *119 headers: - Link: *68 + Link: *70 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -107469,8 +107636,8 @@ paths: - docker - nuget - container - - *698 - - *72 + - *700 + - *74 - *19 - *17 responses: @@ -107480,12 +107647,12 @@ paths: application/json: schema: type: array - items: *260 + items: *262 examples: - default: *699 + default: *701 '403': *29 '401': *25 - '400': *700 + '400': *702 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -107505,17 +107672,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-for-a-user parameters: - - *262 - - *263 - - *72 + - *264 + - *265 + - *74 responses: '200': description: Response content: application/json: - schema: *260 + schema: *262 examples: - default: *719 + default: *721 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -107536,9 +107703,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-a-package-for-a-user parameters: - - *262 - - *263 - - *72 + - *264 + - *265 + - *74 responses: '204': description: Response @@ -107570,9 +107737,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-a-package-for-a-user parameters: - - *262 - - *263 - - *72 + - *264 + - *265 + - *74 - name: token description: package token schema: @@ -107604,9 +107771,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#list-package-versions-for-a-package-owned-by-a-user parameters: - - *262 - - *263 - - *72 + - *264 + - *265 + - *74 responses: '200': description: Response @@ -107614,7 +107781,7 @@ paths: application/json: schema: type: array - items: *264 + items: *266 examples: default: value: @@ -107672,16 +107839,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-version-for-a-user parameters: - - *262 - - *263 + - *264 - *265 - - *72 + - *267 + - *74 responses: '200': description: Response content: application/json: - schema: *264 + schema: *266 examples: default: value: @@ -107716,10 +107883,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-package-version-for-a-user parameters: - - *262 - - *263 - - *72 + - *264 - *265 + - *74 + - *267 responses: '204': description: Response @@ -107751,10 +107918,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-package-version-for-a-user parameters: - - *262 - - *263 - - *72 + - *264 - *265 + - *74 + - *267 responses: '204': description: Response @@ -107778,7 +107945,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/projects#list-projects-for-user parameters: - - *72 + - *74 - name: q description: Limit results to projects of the specified type. in: query @@ -107795,11 +107962,11 @@ paths: application/json: schema: type: array - items: *276 + items: *278 examples: - default: *277 + default: *279 headers: - Link: *68 + Link: *70 '304': *37 '403': *29 '401': *25 @@ -107819,18 +107986,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/projects#get-project-for-user parameters: - - *278 - - *72 + - *280 + - *74 responses: '200': description: Response content: application/json: - schema: *276 + schema: *278 examples: - default: *277 + default: *279 headers: - Link: *68 + Link: *70 '304': *37 '403': *29 '401': *25 @@ -107850,8 +108017,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/fields#list-project-fields-for-user parameters: - - *278 - - *72 + - *280 + - *74 - *17 - *47 - *48 @@ -107862,11 +108029,11 @@ paths: application/json: schema: type: array - items: *282 + items: *284 examples: - default: *720 + default: *722 headers: - Link: *68 + Link: *70 '304': *37 '403': *29 '401': *25 @@ -107885,8 +108052,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/fields#add-field-to-user-owned-project parameters: - - *72 - - *278 + - *74 + - *280 requestBody: required: true content: @@ -107924,7 +108091,7 @@ paths: description: The options available for single select fields. At least one option must be provided when creating a single select field. - items: *721 + items: *723 required: - name - data_type @@ -107940,7 +108107,7 @@ paths: description: The field's data type. enum: - iteration - iteration_configuration: *722 + iteration_configuration: *724 required: - name - data_type @@ -107962,20 +108129,20 @@ paths: value: name: Due date data_type: date - single_select_field: *723 - iteration_field: *724 + single_select_field: *725 + iteration_field: *726 responses: '201': description: Response content: application/json: - schema: *282 + schema: *284 examples: - text_field: *725 - number_field: *726 - date_field: *727 - single_select_field: *728 - iteration_field: *729 + text_field: *727 + number_field: *728 + date_field: *729 + single_select_field: *730 + iteration_field: *731 '304': *37 '403': *29 '401': *25 @@ -107996,19 +108163,19 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/fields#get-project-field-for-user parameters: - - *278 - - *730 - - *72 + - *280 + - *732 + - *74 responses: '200': description: Response content: application/json: - schema: *282 + schema: *284 examples: - default: *731 + default: *733 headers: - Link: *68 + Link: *70 '304': *37 '403': *29 '401': *25 @@ -108029,8 +108196,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#list-items-for-a-user-owned-project parameters: - - *278 - - *72 + - *280 + - *74 - *47 - *48 - *17 @@ -108062,11 +108229,11 @@ paths: application/json: schema: type: array - items: *286 + items: *288 examples: - default: *287 + default: *289 headers: - Link: *68 + Link: *70 '304': *37 '403': *29 '401': *25 @@ -108085,8 +108252,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#add-item-to-user-owned-project parameters: - - *72 - - *278 + - *74 + - *280 requestBody: required: true description: Details of the item to add to the project. You can specify either @@ -108156,22 +108323,22 @@ paths: description: Response content: application/json: - schema: *284 + schema: *286 examples: issue_with_id: summary: Response for adding an issue using its unique ID - value: *285 + value: *287 pull_request_with_id: summary: Response for adding a pull request using its unique ID - value: *285 + value: *287 issue_with_nwo: summary: Response for adding an issue using repository owner, name, and issue number - value: *285 + value: *287 pull_request_with_nwo: summary: Response for adding a pull request using repository owner, name, and PR number - value: *285 + value: *287 '304': *37 '403': *29 '401': *25 @@ -108191,9 +108358,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#get-an-item-for-a-user-owned-project parameters: - - *278 - - *72 - - *288 + - *280 + - *74 + - *290 - name: fields description: |- Limit results to specific fields, by their IDs. If not specified, the title field will be returned. @@ -108213,11 +108380,11 @@ paths: description: Response content: application/json: - schema: *286 + schema: *288 examples: - default: *287 + default: *289 headers: - Link: *68 + Link: *70 '304': *37 '403': *29 '401': *25 @@ -108236,9 +108403,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#update-project-item-for-user parameters: - - *278 - - *72 - - *288 + - *280 + - *74 + - *290 requestBody: required: true description: Field updates to apply to the project item. Only text, number, @@ -108308,13 +108475,13 @@ paths: description: Response content: application/json: - schema: *286 + schema: *288 examples: - text_field: *287 - number_field: *287 - date_field: *287 - single_select_field: *287 - iteration_field: *287 + text_field: *289 + number_field: *289 + date_field: *289 + single_select_field: *289 + iteration_field: *289 '401': *25 '403': *29 '404': *6 @@ -108334,9 +108501,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#delete-project-item-for-user parameters: - - *278 - - *72 - - *288 + - *280 + - *74 + - *290 responses: '204': description: Response @@ -108358,9 +108525,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#list-items-for-a-user-project-view parameters: - - *278 - - *72 - - *732 + - *280 + - *74 + - *734 - name: fields description: |- Limit results to specific fields, by their IDs. If not specified, the @@ -108386,11 +108553,11 @@ paths: application/json: schema: type: array - items: *286 + items: *288 examples: - default: *287 + default: *289 headers: - Link: *68 + Link: *70 '304': *37 '403': *29 '401': *25 @@ -108416,7 +108583,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-events-received-by-the-authenticated-user parameters: - - *72 + - *74 - *17 - *19 responses: @@ -108426,7 +108593,7 @@ paths: application/json: schema: type: array - items: *112 + items: *114 examples: default: value: @@ -108491,7 +108658,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-public-events-received-by-a-user parameters: - - *72 + - *74 - *17 - *19 responses: @@ -108501,7 +108668,7 @@ paths: application/json: schema: type: array - items: *112 + items: *114 examples: default: value: @@ -108564,7 +108731,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repositories-for-a-user parameters: - - *72 + - *74 - name: type description: Limit results to repositories of the specified type. in: query @@ -108607,11 +108774,11 @@ paths: application/json: schema: type: array - items: *159 + items: *161 examples: - default: *273 + default: *275 headers: - Link: *68 + Link: *70 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -108631,12 +108798,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/usage#get-billing-premium-request-usage-report-for-a-user parameters: - - *72 - - *122 + - *74 - *124 - - *123 - - *733 + - *126 - *125 + - *735 + - *127 responses: '200': description: Response when getting a billing premium request usage report @@ -108744,7 +108911,7 @@ paths: '403': *29 '404': *6 '500': *55 - '503': *120 + '503': *122 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -108764,10 +108931,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/usage#get-billing-usage-report-for-a-user parameters: - - *72 - - *122 - - *734 - - *123 + - *74 + - *124 + - *736 + - *125 responses: '200': description: Response when getting a billing usage report @@ -108838,7 +109005,7 @@ paths: '400': *14 '403': *29 '500': *55 - '503': *120 + '503': *122 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -108861,13 +109028,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/usage#get-billing-usage-summary-for-a-user parameters: - - *72 - - *122 + - *74 - *124 - - *123 - - *735 + - *126 - *125 - - *736 + - *737 + - *127 + - *738 responses: '200': description: Response when getting a billing usage summary @@ -108973,7 +109140,7 @@ paths: '403': *29 '404': *6 '500': *55 - '503': *120 + '503': *122 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -108991,7 +109158,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/social-accounts#list-social-accounts-for-a-user parameters: - - *72 + - *74 - *17 - *19 responses: @@ -109001,11 +109168,11 @@ paths: application/json: schema: type: array - items: *703 + items: *705 examples: - default: *704 + default: *706 headers: - Link: *68 + Link: *70 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -109023,7 +109190,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/ssh-signing-keys#list-ssh-signing-keys-for-a-user parameters: - - *72 + - *74 - *17 - *19 responses: @@ -109033,11 +109200,11 @@ paths: application/json: schema: type: array - items: *705 + items: *707 examples: - default: *737 + default: *739 headers: - Link: *68 + Link: *70 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -109059,8 +109226,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#list-repositories-starred-by-a-user parameters: - - *72 - - *738 + - *74 + - *740 - *62 - *17 - *19 @@ -109072,13 +109239,13 @@ paths: schema: anyOf: - type: array - items: *739 + items: *741 - type: array - items: *80 + items: *82 examples: - default-response: *708 + default-response: *710 headers: - Link: *68 + Link: *70 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -109095,7 +109262,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#list-repositories-watched-by-a-user parameters: - - *72 + - *74 - *17 - *19 responses: @@ -109105,11 +109272,11 @@ paths: application/json: schema: type: array - items: *159 + items: *161 examples: - default: *273 + default: *275 headers: - Link: *68 + Link: *70 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -109235,7 +109402,7 @@ x-webhooks: type: string enum: - disabled - enterprise: &740 + enterprise: &742 title: Enterprise description: |- An enterprise on GitHub. Webhook payloads contain the `enterprise` property when the webhook is configured @@ -109293,7 +109460,7 @@ x-webhooks: - created_at - updated_at - avatar_url - installation: &741 + installation: &743 title: Simple Installation description: |- The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured @@ -109312,7 +109479,7 @@ x-webhooks: required: - id - node_id - organization: &742 + organization: &744 title: Organization Simple description: |- A GitHub organization. Webhook payloads contain the `organization` property when the webhook is configured for an @@ -109372,13 +109539,13 @@ x-webhooks: - public_members_url - avatar_url - description - repository: &743 + repository: &745 title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: &775 + properties: &777 id: description: Unique identifier of the repository example: 42 @@ -109398,8 +109565,8 @@ x-webhooks: title: License Simple description: License Simple type: object - properties: *89 - required: *90 + properties: *91 + required: *92 nullable: true organization: title: Simple User @@ -110062,7 +110229,7 @@ x-webhooks: type: boolean description: Whether anonymous git access is enabled for this repository - required: &776 + required: &778 - archive_url - assignees_url - blobs_url @@ -110213,10 +110380,10 @@ x-webhooks: type: string enum: - enabled - enterprise: *740 - installation: *741 - organization: *742 - repository: *743 + enterprise: *742 + installation: *743 + organization: *744 + repository: *745 sender: *4 required: - action @@ -110292,11 +110459,11 @@ x-webhooks: type: string enum: - created - enterprise: *740 - installation: *741 - organization: *742 - repository: *743 - rule: &744 + enterprise: *742 + installation: *743 + organization: *744 + repository: *745 + rule: &746 title: branch protection rule description: The branch protection rule. Includes a `name` and all the [branch protection settings](https://docs.github.com/github/administering-a-repository/defining-the-mergeability-of-pull-requests/about-protected-branches#about-branch-protection-settings) @@ -110519,11 +110686,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *740 - installation: *741 - organization: *742 - repository: *743 - rule: *744 + enterprise: *742 + installation: *743 + organization: *744 + repository: *745 + rule: *746 sender: *4 required: - action @@ -110706,11 +110873,11 @@ x-webhooks: - everyone required: - from - enterprise: *740 - installation: *741 - organization: *742 - repository: *743 - rule: *744 + enterprise: *742 + installation: *743 + organization: *744 + repository: *745 + rule: *746 sender: *4 required: - action @@ -110794,7 +110961,7 @@ x-webhooks: type: string enum: - completed - check_run: &746 + check_run: &748 title: CheckRun description: A check performed on the code of a given code change type: object @@ -110847,8 +111014,8 @@ x-webhooks: type: string pull_requests: type: array - items: *91 - repository: *159 + items: *93 + repository: *161 status: example: completed type: string @@ -110885,7 +111052,7 @@ x-webhooks: - skipped - timed_out - action_required - deployment: *745 + deployment: *747 details_url: example: https://example.com type: string @@ -110935,7 +111102,7 @@ x-webhooks: - annotations_url pull_requests: type: array - items: *91 + items: *93 started_at: example: '2018-05-04T01:14:52Z' type: string @@ -110970,10 +111137,10 @@ x-webhooks: - output - app - pull_requests - installation: *741 - enterprise: *740 - organization: *742 - repository: *743 + installation: *743 + enterprise: *742 + organization: *744 + repository: *745 sender: *4 required: - check_run @@ -111364,11 +111531,11 @@ x-webhooks: type: string enum: - created - check_run: *746 - installation: *741 - enterprise: *740 - organization: *742 - repository: *743 + check_run: *748 + installation: *743 + enterprise: *742 + organization: *744 + repository: *745 sender: *4 required: - check_run @@ -111762,11 +111929,11 @@ x-webhooks: type: string enum: - requested_action - check_run: *746 - installation: *741 - enterprise: *740 - organization: *742 - repository: *743 + check_run: *748 + installation: *743 + enterprise: *742 + organization: *744 + repository: *745 requested_action: description: The action requested by the user. type: object @@ -112169,11 +112336,11 @@ x-webhooks: type: string enum: - rerequested - check_run: *746 - installation: *741 - enterprise: *740 - organization: *742 - repository: *743 + check_run: *748 + installation: *743 + enterprise: *742 + organization: *744 + repository: *745 sender: *4 required: - check_run @@ -113143,10 +113310,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *740 - installation: *741 - organization: *742 - repository: *743 + enterprise: *742 + installation: *743 + organization: *744 + repository: *745 sender: *4 required: - action @@ -113835,10 +114002,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *740 - installation: *741 - organization: *742 - repository: *743 + enterprise: *742 + installation: *743 + organization: *744 + repository: *745 sender: *4 required: - action @@ -114521,10 +114688,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *740 - installation: *741 - organization: *742 - repository: *743 + enterprise: *742 + installation: *743 + organization: *744 + repository: *745 sender: *4 required: - action @@ -114690,7 +114857,7 @@ x-webhooks: required: - login - id - dismissed_comment: *435 + dismissed_comment: *437 dismissed_reason: description: The reason for dismissing or closing the alert. type: string @@ -114835,20 +115002,20 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: &747 + commit_oid: &749 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 - enterprise: *740 - installation: *741 - organization: *742 - ref: &748 + enterprise: *742 + installation: *743 + organization: *744 + ref: &750 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 - repository: *743 + repository: *745 sender: *4 required: - action @@ -115013,7 +115180,7 @@ x-webhooks: required: - login - id - dismissed_comment: *435 + dismissed_comment: *437 dismissed_reason: description: The reason for dismissing or closing the alert. type: string @@ -115243,12 +115410,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *747 - enterprise: *740 - installation: *741 - organization: *742 - ref: *748 - repository: *743 + commit_oid: *749 + enterprise: *742 + installation: *743 + organization: *744 + ref: *750 + repository: *745 sender: *4 required: - action @@ -115343,7 +115510,7 @@ x-webhooks: nullable: true dismissed_by: nullable: true - dismissed_comment: *435 + dismissed_comment: *437 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -115514,12 +115681,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *747 - enterprise: *740 - installation: *741 - organization: *742 - ref: *748 - repository: *743 + commit_oid: *749 + enterprise: *742 + installation: *743 + organization: *744 + ref: *750 + repository: *745 sender: *4 required: - action @@ -115685,7 +115852,7 @@ x-webhooks: required: - login - id - dismissed_comment: *435 + dismissed_comment: *437 dismissed_reason: description: The reason for dismissing or closing the alert. type: string @@ -115851,12 +116018,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *747 - enterprise: *740 - installation: *741 - organization: *742 - ref: *748 - repository: *743 + commit_oid: *749 + enterprise: *742 + installation: *743 + organization: *744 + ref: *750 + repository: *745 sender: *4 required: - action @@ -115955,7 +116122,7 @@ x-webhooks: dismissed_by: type: object nullable: true - dismissed_comment: *435 + dismissed_comment: *437 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -116130,16 +116297,16 @@ x-webhooks: triggered by the `sender` and this value will be empty. type: string nullable: true - enterprise: *740 - installation: *741 - organization: *742 + enterprise: *742 + installation: *743 + organization: *744 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 nullable: true - repository: *743 + repository: *745 sender: *4 required: - action @@ -116236,7 +116403,7 @@ x-webhooks: nullable: true dismissed_by: nullable: true - dismissed_comment: *435 + dismissed_comment: *437 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -116376,12 +116543,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *747 - enterprise: *740 - installation: *741 - organization: *742 - ref: *748 - repository: *743 + commit_oid: *749 + enterprise: *742 + installation: *743 + organization: *744 + ref: *750 + repository: *745 sender: *4 required: - action @@ -116547,7 +116714,7 @@ x-webhooks: required: - login - id - dismissed_comment: *435 + dismissed_comment: *437 dismissed_reason: description: The reason for dismissing or closing the alert. type: string @@ -116692,10 +116859,10 @@ x-webhooks: - dismissed_reason - rule - tool - enterprise: *740 - installation: *741 - organization: *742 - repository: *743 + enterprise: *742 + installation: *743 + organization: *744 + repository: *745 sender: *4 required: - action @@ -116950,10 +117117,10 @@ x-webhooks: - updated_at - author_association - body - enterprise: *740 - installation: *741 - organization: *742 - repository: *743 + enterprise: *742 + installation: *743 + organization: *744 + repository: *745 sender: *4 required: - action @@ -117033,18 +117200,18 @@ x-webhooks: description: The repository's current description. type: string nullable: true - enterprise: *740 - installation: *741 + enterprise: *742 + installation: *743 master_branch: description: The name of the repository's default branch (usually `main`). type: string - organization: *742 - pusher_type: &749 + organization: *744 + pusher_type: &751 description: The pusher type for the event. Can be either `user` or a deploy key. type: string - ref: &750 + ref: &752 description: The [`git ref`](https://docs.github.com/rest/git/refs#get-a-reference) resource. type: string @@ -117054,7 +117221,7 @@ x-webhooks: enum: - tag - branch - repository: *743 + repository: *745 sender: *4 required: - ref @@ -117136,10 +117303,10 @@ x-webhooks: type: string enum: - created - definition: *290 - enterprise: *740 - installation: *741 - organization: *742 + definition: *292 + enterprise: *742 + installation: *743 + organization: *744 sender: *4 required: - action @@ -117224,9 +117391,9 @@ x-webhooks: description: The name of the property that was deleted. required: - property_name - enterprise: *740 - installation: *741 - organization: *742 + enterprise: *742 + installation: *743 + organization: *744 sender: *4 required: - action @@ -117303,10 +117470,10 @@ x-webhooks: type: string enum: - promote_to_enterprise - definition: *290 - enterprise: *740 - installation: *741 - organization: *742 + definition: *292 + enterprise: *742 + installation: *743 + organization: *744 sender: *4 required: - action @@ -117383,10 +117550,10 @@ x-webhooks: type: string enum: - updated - definition: *290 - enterprise: *740 - installation: *741 - organization: *742 + definition: *292 + enterprise: *742 + installation: *743 + organization: *744 sender: *4 required: - action @@ -117463,19 +117630,19 @@ x-webhooks: type: string enum: - updated - enterprise: *740 - installation: *741 - repository: *743 - organization: *742 + enterprise: *742 + installation: *743 + repository: *745 + organization: *744 sender: *4 new_property_values: type: array description: The new custom property values for the repository. - items: *294 + items: *296 old_property_values: type: array description: The old custom property values for the repository. - items: *294 + items: *296 required: - action - repository @@ -117551,18 +117718,18 @@ x-webhooks: title: delete event type: object properties: - enterprise: *740 - installation: *741 - organization: *742 - pusher_type: *749 - ref: *750 + enterprise: *742 + installation: *743 + organization: *744 + pusher_type: *751 + ref: *752 ref_type: description: The type of Git ref object deleted in the repository. type: string enum: - tag - branch - repository: *743 + repository: *745 sender: *4 required: - ref @@ -117642,11 +117809,11 @@ x-webhooks: type: string enum: - assignees_changed - alert: *499 - installation: *741 - organization: *742 - enterprise: *740 - repository: *743 + alert: *501 + installation: *743 + organization: *744 + enterprise: *742 + repository: *745 sender: *4 required: - action @@ -117726,11 +117893,11 @@ x-webhooks: type: string enum: - auto_dismissed - alert: *499 - installation: *741 - organization: *742 - enterprise: *740 - repository: *743 + alert: *501 + installation: *743 + organization: *744 + enterprise: *742 + repository: *745 sender: *4 required: - action @@ -117811,11 +117978,11 @@ x-webhooks: type: string enum: - auto_reopened - alert: *499 - installation: *741 - organization: *742 - enterprise: *740 - repository: *743 + alert: *501 + installation: *743 + organization: *744 + enterprise: *742 + repository: *745 sender: *4 required: - action @@ -117896,11 +118063,11 @@ x-webhooks: type: string enum: - created - alert: *499 - installation: *741 - organization: *742 - enterprise: *740 - repository: *743 + alert: *501 + installation: *743 + organization: *744 + enterprise: *742 + repository: *745 sender: *4 required: - action @@ -117979,11 +118146,11 @@ x-webhooks: type: string enum: - dismissed - alert: *499 - installation: *741 - organization: *742 - enterprise: *740 - repository: *743 + alert: *501 + installation: *743 + organization: *744 + enterprise: *742 + repository: *745 sender: *4 required: - action @@ -118062,11 +118229,11 @@ x-webhooks: type: string enum: - fixed - alert: *499 - installation: *741 - organization: *742 - enterprise: *740 - repository: *743 + alert: *501 + installation: *743 + organization: *744 + enterprise: *742 + repository: *745 sender: *4 required: - action @@ -118146,11 +118313,11 @@ x-webhooks: type: string enum: - reintroduced - alert: *499 - installation: *741 - organization: *742 - enterprise: *740 - repository: *743 + alert: *501 + installation: *743 + organization: *744 + enterprise: *742 + repository: *745 sender: *4 required: - action @@ -118229,11 +118396,11 @@ x-webhooks: type: string enum: - reopened - alert: *499 - installation: *741 - organization: *742 - enterprise: *740 - repository: *743 + alert: *501 + installation: *743 + organization: *744 + enterprise: *742 + repository: *745 sender: *4 required: - action @@ -118310,9 +118477,9 @@ x-webhooks: type: string enum: - created - enterprise: *740 - installation: *741 - key: &751 + enterprise: *742 + installation: *743 + key: &753 description: The [`deploy key`](https://docs.github.com/rest/deploy-keys/deploy-keys#get-a-deploy-key) resource. type: object @@ -118348,8 +118515,8 @@ x-webhooks: - verified - created_at - read_only - organization: *742 - repository: *743 + organization: *744 + repository: *745 sender: *4 required: - action @@ -118426,11 +118593,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *740 - installation: *741 - key: *751 - organization: *742 - repository: *743 + enterprise: *742 + installation: *743 + key: *753 + organization: *744 + repository: *745 sender: *4 required: - action @@ -118986,12 +119153,12 @@ x-webhooks: - updated_at - statuses_url - repository_url - enterprise: *740 - installation: *741 - organization: *742 - repository: *743 + enterprise: *742 + installation: *743 + organization: *744 + repository: *745 sender: *4 - workflow: &757 + workflow: &759 title: Workflow type: object nullable: true @@ -119732,15 +119899,15 @@ x-webhooks: description: A request for a specific ref(branch,sha,tag) to be deployed type: object - properties: *752 - required: *753 + properties: *754 + required: *755 nullable: true pull_requests: type: array - items: *596 - repository: *743 - organization: *742 - installation: *741 + items: *598 + repository: *745 + organization: *744 + installation: *743 sender: *4 responses: '200': @@ -119811,7 +119978,7 @@ x-webhooks: type: string enum: - approved - approver: &754 + approver: &756 type: object properties: avatar_url: @@ -119854,11 +120021,11 @@ x-webhooks: type: string comment: type: string - enterprise: *740 - installation: *741 - organization: *742 - repository: *743 - reviewers: &755 + enterprise: *742 + installation: *743 + organization: *744 + repository: *745 + reviewers: &757 type: array items: type: object @@ -119937,7 +120104,7 @@ x-webhooks: sender: *4 since: type: string - workflow_job_run: &756 + workflow_job_run: &758 type: object properties: conclusion: @@ -120668,18 +120835,18 @@ x-webhooks: type: string enum: - rejected - approver: *754 + approver: *756 comment: type: string - enterprise: *740 - installation: *741 - organization: *742 - repository: *743 - reviewers: *755 + enterprise: *742 + installation: *743 + organization: *744 + repository: *745 + reviewers: *757 sender: *4 since: type: string - workflow_job_run: *756 + workflow_job_run: *758 workflow_job_runs: type: array items: @@ -121383,13 +121550,13 @@ x-webhooks: type: string enum: - requested - enterprise: *740 + enterprise: *742 environment: type: string - installation: *741 - organization: *742 - repository: *743 - requestor: &762 + installation: *743 + organization: *744 + repository: *745 + requestor: &764 title: User type: object nullable: true @@ -123278,12 +123445,12 @@ x-webhooks: - updated_at - deployment_url - repository_url - enterprise: *740 - installation: *741 - organization: *742 - repository: *743 + enterprise: *742 + installation: *743 + organization: *744 + repository: *745 sender: *4 - workflow: *757 + workflow: *759 workflow_run: title: Deployment Workflow Run type: object @@ -123963,7 +124130,7 @@ x-webhooks: type: string enum: - answered - answer: &760 + answer: &762 type: object properties: author_association: @@ -124120,11 +124287,11 @@ x-webhooks: - created_at - updated_at - body - discussion: *758 - enterprise: *740 - installation: *741 - organization: *742 - repository: *743 + discussion: *760 + enterprise: *742 + installation: *743 + organization: *744 + repository: *745 sender: *4 required: - action @@ -124251,11 +124418,11 @@ x-webhooks: - from required: - category - discussion: *758 - enterprise: *740 - installation: *741 - organization: *742 - repository: *743 + discussion: *760 + enterprise: *742 + installation: *743 + organization: *744 + repository: *745 sender: *4 required: - action @@ -124338,11 +124505,11 @@ x-webhooks: type: string enum: - closed - discussion: *758 - enterprise: *740 - installation: *741 - organization: *742 - repository: *743 + discussion: *760 + enterprise: *742 + installation: *743 + organization: *744 + repository: *745 sender: *4 required: - action @@ -124424,7 +124591,7 @@ x-webhooks: type: string enum: - created - comment: &759 + comment: &761 type: object properties: author_association: @@ -124581,11 +124748,11 @@ x-webhooks: - updated_at - body - reactions - discussion: *758 - enterprise: *740 - installation: *741 - organization: *742 - repository: *743 + discussion: *760 + enterprise: *742 + installation: *743 + organization: *744 + repository: *745 sender: *4 required: - action @@ -124668,12 +124835,12 @@ x-webhooks: type: string enum: - deleted - comment: *759 - discussion: *758 - enterprise: *740 - installation: *741 - organization: *742 - repository: *743 + comment: *761 + discussion: *760 + enterprise: *742 + installation: *743 + organization: *744 + repository: *745 sender: *4 required: - action @@ -124768,12 +124935,12 @@ x-webhooks: - from required: - body - comment: *759 - discussion: *758 - enterprise: *740 - installation: *741 - organization: *742 - repository: *743 + comment: *761 + discussion: *760 + enterprise: *742 + installation: *743 + organization: *744 + repository: *745 sender: *4 required: - action @@ -124857,11 +125024,11 @@ x-webhooks: type: string enum: - created - discussion: *758 - enterprise: *740 - installation: *741 - organization: *742 - repository: *743 + discussion: *760 + enterprise: *742 + installation: *743 + organization: *744 + repository: *745 sender: *4 required: - action @@ -124943,11 +125110,11 @@ x-webhooks: type: string enum: - deleted - discussion: *758 - enterprise: *740 - installation: *741 - organization: *742 - repository: *743 + discussion: *760 + enterprise: *742 + installation: *743 + organization: *744 + repository: *745 sender: *4 required: - action @@ -125047,11 +125214,11 @@ x-webhooks: type: string required: - from - discussion: *758 - enterprise: *740 - installation: *741 - organization: *742 - repository: *743 + discussion: *760 + enterprise: *742 + installation: *743 + organization: *744 + repository: *745 sender: *4 required: - action @@ -125133,10 +125300,10 @@ x-webhooks: type: string enum: - labeled - discussion: *758 - enterprise: *740 - installation: *741 - label: &761 + discussion: *760 + enterprise: *742 + installation: *743 + label: &763 title: Label type: object properties: @@ -125168,8 +125335,8 @@ x-webhooks: - color - default - description - organization: *742 - repository: *743 + organization: *744 + repository: *745 sender: *4 required: - action @@ -125252,11 +125419,11 @@ x-webhooks: type: string enum: - locked - discussion: *758 - enterprise: *740 - installation: *741 - organization: *742 - repository: *743 + discussion: *760 + enterprise: *742 + installation: *743 + organization: *744 + repository: *745 sender: *4 required: - action @@ -125338,11 +125505,11 @@ x-webhooks: type: string enum: - pinned - discussion: *758 - enterprise: *740 - installation: *741 - organization: *742 - repository: *743 + discussion: *760 + enterprise: *742 + installation: *743 + organization: *744 + repository: *745 sender: *4 required: - action @@ -125424,11 +125591,11 @@ x-webhooks: type: string enum: - reopened - discussion: *758 - enterprise: *740 - installation: *741 - organization: *742 - repository: *743 + discussion: *760 + enterprise: *742 + installation: *743 + organization: *744 + repository: *745 sender: *4 required: - action @@ -125513,16 +125680,16 @@ x-webhooks: changes: type: object properties: - new_discussion: *758 - new_repository: *743 + new_discussion: *760 + new_repository: *745 required: - new_discussion - new_repository - discussion: *758 - enterprise: *740 - installation: *741 - organization: *742 - repository: *743 + discussion: *760 + enterprise: *742 + installation: *743 + organization: *744 + repository: *745 sender: *4 required: - action @@ -125605,10 +125772,10 @@ x-webhooks: type: string enum: - unanswered - discussion: *758 - old_answer: *760 - organization: *742 - repository: *743 + discussion: *760 + old_answer: *762 + organization: *744 + repository: *745 sender: *4 required: - action @@ -125690,12 +125857,12 @@ x-webhooks: type: string enum: - unlabeled - discussion: *758 - enterprise: *740 - installation: *741 - label: *761 - organization: *742 - repository: *743 + discussion: *760 + enterprise: *742 + installation: *743 + label: *763 + organization: *744 + repository: *745 sender: *4 required: - action @@ -125778,11 +125945,11 @@ x-webhooks: type: string enum: - unlocked - discussion: *758 - enterprise: *740 - installation: *741 - organization: *742 - repository: *743 + discussion: *760 + enterprise: *742 + installation: *743 + organization: *744 + repository: *745 sender: *4 required: - action @@ -125864,11 +126031,11 @@ x-webhooks: type: string enum: - unpinned - discussion: *758 - enterprise: *740 - installation: *741 - organization: *742 - repository: *743 + discussion: *760 + enterprise: *742 + installation: *743 + organization: *744 + repository: *745 sender: *4 required: - action @@ -125941,7 +126108,7 @@ x-webhooks: description: A user forks a repository. type: object properties: - enterprise: *740 + enterprise: *742 forkee: description: The created [`repository`](https://docs.github.com/rest/repos/repos#get-a-repository) resource. @@ -126601,9 +126768,9 @@ x-webhooks: type: integer watchers_count: type: integer - installation: *741 - organization: *742 - repository: *743 + installation: *743 + organization: *744 + repository: *745 sender: *4 required: - forkee @@ -126749,9 +126916,9 @@ x-webhooks: title: gollum event type: object properties: - enterprise: *740 - installation: *741 - organization: *742 + enterprise: *742 + installation: *743 + organization: *744 pages: description: The pages that were updated. type: array @@ -126788,7 +126955,7 @@ x-webhooks: - action - sha - html_url - repository: *743 + repository: *745 sender: *4 required: - pages @@ -126864,10 +127031,10 @@ x-webhooks: type: string enum: - created - enterprise: *740 + enterprise: *742 installation: *22 - organization: *742 - repositories: &763 + organization: *744 + repositories: &765 description: An array of repository objects that the installation can access. type: array @@ -126893,8 +127060,8 @@ x-webhooks: - name - full_name - private - repository: *743 - requester: *762 + repository: *745 + requester: *764 sender: *4 required: - action @@ -126969,11 +127136,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *740 + enterprise: *742 installation: *22 - organization: *742 - repositories: *763 - repository: *743 + organization: *744 + repositories: *765 + repository: *745 requester: nullable: true sender: *4 @@ -127049,11 +127216,11 @@ x-webhooks: type: string enum: - new_permissions_accepted - enterprise: *740 + enterprise: *742 installation: *22 - organization: *742 - repositories: *763 - repository: *743 + organization: *744 + repositories: *765 + repository: *745 requester: nullable: true sender: *4 @@ -127129,10 +127296,10 @@ x-webhooks: type: string enum: - added - enterprise: *740 + enterprise: *742 installation: *22 - organization: *742 - repositories_added: &764 + organization: *744 + repositories_added: &766 description: An array of repository objects, which were added to the installation. type: array @@ -127178,15 +127345,15 @@ x-webhooks: private: description: Whether the repository is private or public. type: boolean - repository: *743 - repository_selection: &765 + repository: *745 + repository_selection: &767 description: Describe whether all repositories have been selected or there's a selection involved type: string enum: - all - selected - requester: *762 + requester: *764 sender: *4 required: - action @@ -127265,10 +127432,10 @@ x-webhooks: type: string enum: - removed - enterprise: *740 + enterprise: *742 installation: *22 - organization: *742 - repositories_added: *764 + organization: *744 + repositories_added: *766 repositories_removed: description: An array of repository objects, which were removed from the installation. @@ -127295,9 +127462,9 @@ x-webhooks: - name - full_name - private - repository: *743 - repository_selection: *765 - requester: *762 + repository: *745 + repository_selection: *767 + requester: *764 sender: *4 required: - action @@ -127376,11 +127543,11 @@ x-webhooks: type: string enum: - suspend - enterprise: *740 + enterprise: *742 installation: *22 - organization: *742 - repositories: *763 - repository: *743 + organization: *744 + repositories: *765 + repository: *745 requester: nullable: true sender: *4 @@ -127558,10 +127725,10 @@ x-webhooks: type: string required: - from - enterprise: *740 - installation: *741 - organization: *742 - repository: *743 + enterprise: *742 + installation: *743 + organization: *744 + repository: *745 sender: *4 target_type: type: string @@ -127640,11 +127807,11 @@ x-webhooks: type: string enum: - unsuspend - enterprise: *740 + enterprise: *742 installation: *22 - organization: *742 - repositories: *763 - repository: *743 + organization: *744 + repositories: *765 + repository: *745 requester: nullable: true sender: *4 @@ -127768,8 +127935,8 @@ x-webhooks: first class actors within GitHub. type: object nullable: true - properties: *81 - required: *82 + properties: *83 + required: *84 reactions: title: Reactions type: object @@ -127818,8 +127985,8 @@ x-webhooks: description: Context around who pinned an issue comment and when it was pinned. type: object - properties: *573 - required: *574 + properties: *575 + required: *576 nullable: true user: title: User @@ -127904,8 +128071,8 @@ x-webhooks: - performed_via_github_app - body - reactions - enterprise: *740 - installation: *741 + enterprise: *742 + installation: *743 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -128694,8 +128861,8 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *676 - issue_dependencies_summary: *677 + sub_issues_summary: *678 + issue_dependencies_summary: *679 state: description: State of the issue; either 'open' or 'closed' type: string @@ -128711,7 +128878,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *242 + type: *244 updated_at: type: string format: date-time @@ -129044,8 +129211,8 @@ x-webhooks: - state - locked - assignee - organization: *742 - repository: *743 + organization: *744 + repository: *745 sender: *4 required: - action @@ -129125,7 +129292,7 @@ x-webhooks: type: string enum: - deleted - comment: &766 + comment: &768 title: issue comment description: The [comment](https://docs.github.com/rest/issues/comments#get-an-issue-comment) itself. @@ -129282,8 +129449,8 @@ x-webhooks: description: Context around who pinned an issue comment and when it was pinned. type: object - properties: *573 - required: *574 + properties: *575 + required: *576 nullable: true required: - url @@ -129298,8 +129465,8 @@ x-webhooks: - performed_via_github_app - body - reactions - enterprise: *740 - installation: *741 + enterprise: *742 + installation: *743 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -130084,8 +130251,8 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *676 - issue_dependencies_summary: *677 + sub_issues_summary: *678 + issue_dependencies_summary: *679 state: description: State of the issue; either 'open' or 'closed' type: string @@ -130101,7 +130268,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *242 + type: *244 updated_at: type: string format: date-time @@ -130436,8 +130603,8 @@ x-webhooks: - state - locked - assignee - organization: *742 - repository: *743 + organization: *744 + repository: *745 sender: *4 required: - action @@ -130517,7 +130684,7 @@ x-webhooks: type: string enum: - edited - changes: &795 + changes: &797 description: The changes to the comment. type: object properties: @@ -130529,9 +130696,9 @@ x-webhooks: type: string required: - from - comment: *766 - enterprise: *740 - installation: *741 + comment: *768 + enterprise: *742 + installation: *743 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -131319,8 +131486,8 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *676 - issue_dependencies_summary: *677 + sub_issues_summary: *678 + issue_dependencies_summary: *679 state: description: State of the issue; either 'open' or 'closed' type: string @@ -131336,7 +131503,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *242 + type: *244 updated_at: type: string format: date-time @@ -131669,8 +131836,8 @@ x-webhooks: - state - locked - assignee - organization: *742 - repository: *743 + organization: *744 + repository: *745 sender: *4 required: - action @@ -131751,9 +131918,9 @@ x-webhooks: type: string enum: - pinned - comment: *766 - enterprise: *740 - installation: *741 + comment: *768 + enterprise: *742 + installation: *743 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -132543,8 +132710,8 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *676 - issue_dependencies_summary: *677 + sub_issues_summary: *678 + issue_dependencies_summary: *679 state: description: State of the issue; either 'open' or 'closed' type: string @@ -132560,7 +132727,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *242 + type: *244 updated_at: type: string format: date-time @@ -132895,8 +133062,8 @@ x-webhooks: - state - locked - assignee - organization: *742 - repository: *743 + organization: *744 + repository: *745 sender: *4 required: - action @@ -132976,9 +133143,9 @@ x-webhooks: type: string enum: - unpinned - comment: *766 - enterprise: *740 - installation: *741 + comment: *768 + enterprise: *742 + installation: *743 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -133768,8 +133935,8 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *676 - issue_dependencies_summary: *677 + sub_issues_summary: *678 + issue_dependencies_summary: *679 state: description: State of the issue; either 'open' or 'closed' type: string @@ -133785,7 +133952,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *242 + type: *244 updated_at: type: string format: date-time @@ -134120,8 +134287,8 @@ x-webhooks: - state - locked - assignee - organization: *742 - repository: *743 + organization: *744 + repository: *745 sender: *4 required: - action @@ -134204,15 +134371,15 @@ x-webhooks: blocked_issue_id: description: The ID of the blocked issue. type: number - blocked_issue: *86 + blocked_issue: *88 blocking_issue_id: description: The ID of the blocking issue. type: number - blocking_issue: *86 - blocking_issue_repo: *80 - installation: *741 - organization: *742 - repository: *743 + blocking_issue: *88 + blocking_issue_repo: *82 + installation: *743 + organization: *744 + repository: *745 sender: *4 required: - action @@ -134295,15 +134462,15 @@ x-webhooks: blocked_issue_id: description: The ID of the blocked issue. type: number - blocked_issue: *86 + blocked_issue: *88 blocking_issue_id: description: The ID of the blocking issue. type: number - blocking_issue: *86 - blocking_issue_repo: *80 - installation: *741 - organization: *742 - repository: *743 + blocking_issue: *88 + blocking_issue_repo: *82 + installation: *743 + organization: *744 + repository: *745 sender: *4 required: - action @@ -134385,15 +134552,15 @@ x-webhooks: blocked_issue_id: description: The ID of the blocked issue. type: number - blocked_issue: *86 - blocked_issue_repo: *80 + blocked_issue: *88 + blocked_issue_repo: *82 blocking_issue_id: description: The ID of the blocking issue. type: number - blocking_issue: *86 - installation: *741 - organization: *742 - repository: *743 + blocking_issue: *88 + installation: *743 + organization: *744 + repository: *745 sender: *4 required: - action @@ -134476,15 +134643,15 @@ x-webhooks: blocked_issue_id: description: The ID of the blocked issue. type: number - blocked_issue: *86 - blocked_issue_repo: *80 + blocked_issue: *88 + blocked_issue_repo: *82 blocking_issue_id: description: The ID of the blocking issue. type: number - blocking_issue: *86 - installation: *741 - organization: *742 - repository: *743 + blocking_issue: *88 + installation: *743 + organization: *744 + repository: *745 sender: *4 required: - action @@ -134564,9 +134731,9 @@ x-webhooks: type: string enum: - assigned - assignee: *762 - enterprise: *740 - installation: *741 + assignee: *764 + enterprise: *742 + installation: *743 issue: &769 title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -135356,14 +135523,14 @@ x-webhooks: description: Comments provide a way for people to collaborate on an issue. type: object - properties: *87 - required: *88 + properties: *89 + required: *90 nullable: true - sub_issues_summary: *676 - issue_dependencies_summary: *677 + sub_issues_summary: *678 + issue_dependencies_summary: *679 issue_field_values: type: array - items: *557 + items: *559 state: description: State of the issue; either 'open' or 'closed' type: string @@ -135379,7 +135546,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *242 + type: *244 updated_at: type: string format: date-time @@ -135480,8 +135647,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *742 - repository: *743 + organization: *744 + repository: *745 sender: *4 required: - action @@ -135561,8 +135728,8 @@ x-webhooks: type: string enum: - closed - enterprise: *740 - installation: *741 + enterprise: *742 + installation: *743 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -136356,14 +136523,14 @@ x-webhooks: description: Comments provide a way for people to collaborate on an issue. type: object - properties: *87 - required: *88 + properties: *89 + required: *90 nullable: true - sub_issues_summary: *676 - issue_dependencies_summary: *677 + sub_issues_summary: *678 + issue_dependencies_summary: *679 issue_field_values: type: array - items: *557 + items: *559 state: description: State of the issue; either 'open' or 'closed' type: string @@ -136379,7 +136546,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *242 + type: *244 updated_at: type: string format: date-time @@ -136615,8 +136782,8 @@ x-webhooks: required: - state - closed_at - organization: *742 - repository: *743 + organization: *744 + repository: *745 sender: *4 required: - action @@ -136695,8 +136862,8 @@ x-webhooks: type: string enum: - deleted - enterprise: *740 - installation: *741 + enterprise: *742 + installation: *743 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -137481,14 +137648,14 @@ x-webhooks: description: Comments provide a way for people to collaborate on an issue. type: object - properties: *87 - required: *88 + properties: *89 + required: *90 nullable: true - sub_issues_summary: *676 - issue_dependencies_summary: *677 + sub_issues_summary: *678 + issue_dependencies_summary: *679 issue_field_values: type: array - items: *557 + items: *559 state: description: State of the issue; either 'open' or 'closed' type: string @@ -137504,7 +137671,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *242 + type: *244 updated_at: type: string format: date-time @@ -137604,8 +137771,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *742 - repository: *743 + organization: *744 + repository: *745 sender: *4 required: - action @@ -137684,8 +137851,8 @@ x-webhooks: type: string enum: - demilestoned - enterprise: *740 - installation: *741 + enterprise: *742 + installation: *743 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -138492,14 +138659,14 @@ x-webhooks: description: Comments provide a way for people to collaborate on an issue. type: object - properties: *87 - required: *88 + properties: *89 + required: *90 nullable: true - sub_issues_summary: *676 - issue_dependencies_summary: *677 + sub_issues_summary: *678 + issue_dependencies_summary: *679 issue_field_values: type: array - items: *557 + items: *559 state: description: State of the issue; either 'open' or 'closed' type: string @@ -138515,7 +138682,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *242 + type: *244 updated_at: type: string format: date-time @@ -138594,7 +138761,7 @@ x-webhooks: format: uri user_view_type: type: string - milestone: &767 + milestone: &770 title: Milestone description: A collection of related issues and pull requests. type: object @@ -138732,8 +138899,8 @@ x-webhooks: - updated_at - due_on - closed_at - organization: *742 - repository: *743 + organization: *744 + repository: *745 sender: *4 required: - action @@ -138832,8 +138999,8 @@ x-webhooks: type: string required: - from - enterprise: *740 - installation: *741 + enterprise: *742 + installation: *743 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -139622,14 +139789,14 @@ x-webhooks: description: Comments provide a way for people to collaborate on an issue. type: object - properties: *87 - required: *88 + properties: *89 + required: *90 nullable: true - sub_issues_summary: *676 - issue_dependencies_summary: *677 + sub_issues_summary: *678 + issue_dependencies_summary: *679 issue_field_values: type: array - items: *557 + items: *559 state: description: State of the issue; either 'open' or 'closed' type: string @@ -139642,7 +139809,7 @@ x-webhooks: timeline_url: type: string format: uri - type: *242 + type: *244 title: description: Title of the issue type: string @@ -139746,9 +139913,9 @@ x-webhooks: - active_lock_reason - body - reactions - label: *761 - organization: *742 - repository: *743 + label: *763 + organization: *744 + repository: *745 sender: *4 required: - action @@ -139768,6 +139935,339 @@ x-webhooks: - repository - organization - app + issues-field-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. + + For activity relating to a comment on an issue, use the `issue_comment` event. + + To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. + description: An issue field value was set or updated on an issue. + operationId: issues/field-added + 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 + - 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: + title: issues field_added event + type: object + properties: + action: + type: string + enum: + - field_added + enterprise: *742 + installation: *743 + issue: *769 + issue_field: + type: object + description: The issue field whose value was set or updated on the + issue. + properties: + id: + type: integer + description: The unique identifier of the issue field. + name: + type: string + description: The name of the issue field. + field_type: + type: string + description: The data type of the issue field. + enum: + - text + - date + - single_select + - number + required: + - id + - name + - field_type + issue_field_value: + type: object + description: The value that was set or updated for the issue field. + When updating an existing value, the previous value is available + in `changes`. + properties: + id: + type: integer + description: The unique identifier of the issue field value. + value: + description: The value of the field. Present for text, date, + and number field types. + nullable: true + anyOf: + - type: string + - type: number + - type: integer + value_id: + type: integer + description: The identifier of the selected option. Present + for single_select field types. + option: + type: object + description: The selected option details. Present for single_select + field types. + properties: + id: + type: integer + name: + type: string + color: + type: string + description: + type: string + nullable: true + required: + - id + changes: + type: object + description: The previous field value, present when an existing + value was updated. + properties: + issue_field_value: + type: object + description: The previous issue field value data. + properties: + from: + type: object + description: The previous value of the issue field before + the update. + properties: + id: + type: integer + description: The unique identifier of the issue field + value. + value: + description: The previous value. Present for text, date, + and number field types. + nullable: true + anyOf: + - type: string + - type: number + - type: integer + value_id: + type: integer + description: The identifier of the previously selected + option. Present for single_select field types. + option: + type: object + description: The previously selected option details. + Present for single_select field types. + properties: + id: + type: integer + name: + type: string + color: + type: string + description: + type: string + nullable: true + required: + - id + required: + - from + organization: *744 + repository: *745 + sender: *4 + required: + - action + - issue + - issue_field + - repository + - sender + 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-field-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. + + For activity relating to a comment on an issue, use the `issue_comment` event. + + To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. + description: An issue field value was cleared from an issue. + operationId: issues/field-removed + 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 + - 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: + title: issues field_removed event + type: object + properties: + action: + type: string + enum: + - field_removed + enterprise: *742 + installation: *743 + issue: *769 + issue_field: + type: object + description: The issue field whose value was cleared from the issue. + properties: + id: + type: integer + description: The unique identifier of the issue field. + name: + type: string + description: The name of the issue field. + field_type: + type: string + description: The data type of the issue field. + enum: + - text + - date + - single_select + - number + required: + - id + - name + - field_type + issue_field_value: + type: object + description: The value that was cleared from the issue field. + properties: + id: + type: integer + description: The unique identifier of the issue field value. + value: + description: The value of the field. Present for text, date, + and number field types. + nullable: true + anyOf: + - type: string + - type: number + - type: integer + value_id: + type: integer + description: The identifier of the selected option. Present + for single_select field types. + option: + type: object + description: The selected option details. Present for single_select + field types. + properties: + id: + type: integer + name: + type: string + color: + type: string + description: + type: string + nullable: true + required: + - id + organization: *744 + repository: *745 + sender: *4 + required: + - action + - issue + - issue_field + - repository + - sender + 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: |- @@ -139828,8 +140328,8 @@ x-webhooks: type: string enum: - labeled - enterprise: *740 - installation: *741 + enterprise: *742 + installation: *743 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -140617,14 +141117,14 @@ x-webhooks: description: Comments provide a way for people to collaborate on an issue. type: object - properties: *87 - required: *88 + properties: *89 + required: *90 nullable: true - sub_issues_summary: *676 - issue_dependencies_summary: *677 + sub_issues_summary: *678 + issue_dependencies_summary: *679 issue_field_values: type: array - items: *557 + items: *559 state: description: State of the issue; either 'open' or 'closed' type: string @@ -140637,7 +141137,7 @@ x-webhooks: timeline_url: type: string format: uri - type: *242 + type: *244 title: description: Title of the issue type: string @@ -140741,9 +141241,9 @@ x-webhooks: - active_lock_reason - body - reactions - label: *761 - organization: *742 - repository: *743 + label: *763 + organization: *744 + repository: *745 sender: *4 required: - action @@ -140823,8 +141323,8 @@ x-webhooks: type: string enum: - locked - enterprise: *740 - installation: *741 + enterprise: *742 + installation: *743 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -141636,14 +142136,14 @@ x-webhooks: description: Comments provide a way for people to collaborate on an issue. type: object - properties: *87 - required: *88 + properties: *89 + required: *90 nullable: true - sub_issues_summary: *676 - issue_dependencies_summary: *677 + sub_issues_summary: *678 + issue_dependencies_summary: *679 issue_field_values: type: array - items: *557 + items: *559 state: description: State of the issue; either 'open' or 'closed' type: string @@ -141656,7 +142156,7 @@ x-webhooks: timeline_url: type: string format: uri - type: *242 + type: *244 title: description: Title of the issue type: string @@ -141737,8 +142237,8 @@ x-webhooks: format: uri user_view_type: type: string - organization: *742 - repository: *743 + organization: *744 + repository: *745 sender: *4 required: - action @@ -141817,8 +142317,8 @@ x-webhooks: type: string enum: - milestoned - enterprise: *740 - installation: *741 + enterprise: *742 + installation: *743 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -142624,14 +143124,14 @@ x-webhooks: description: Comments provide a way for people to collaborate on an issue. type: object - properties: *87 - required: *88 + properties: *89 + required: *90 nullable: true - sub_issues_summary: *676 - issue_dependencies_summary: *677 + sub_issues_summary: *678 + issue_dependencies_summary: *679 issue_field_values: type: array - items: *557 + items: *559 state: description: State of the issue; either 'open' or 'closed' type: string @@ -142647,7 +143147,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *242 + type: *244 updated_at: type: string format: date-time @@ -142725,9 +143225,9 @@ x-webhooks: format: uri user_view_type: type: string - milestone: *767 - organization: *742 - repository: *743 + milestone: *770 + organization: *744 + repository: *745 sender: *4 required: - action @@ -143590,11 +144090,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *676 - issue_dependencies_summary: *677 + sub_issues_summary: *678 + issue_dependencies_summary: *679 issue_field_values: type: array - items: *557 + items: *559 state: description: State of the issue; either 'open' or 'closed' type: string @@ -143622,8 +144122,8 @@ x-webhooks: description: Comments provide a way for people to collaborate on an issue. type: object - properties: *87 - required: *88 + properties: *89 + required: *90 nullable: true user: title: User @@ -143695,7 +144195,7 @@ x-webhooks: required: - login - id - type: *242 + type: *244 required: - id - number @@ -144175,8 +144675,8 @@ x-webhooks: required: - old_issue - old_repository - enterprise: *740 - installation: *741 + enterprise: *742 + installation: *743 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -144960,11 +145460,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *676 - issue_dependencies_summary: *677 + sub_issues_summary: *678 + issue_dependencies_summary: *679 issue_field_values: type: array - items: *557 + items: *559 state: description: State of the issue; either 'open' or 'closed' type: string @@ -144980,7 +145480,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *242 + type: *244 updated_at: type: string format: date-time @@ -144993,8 +145493,8 @@ x-webhooks: description: Comments provide a way for people to collaborate on an issue. type: object - properties: *87 - required: *88 + properties: *89 + required: *90 nullable: true user: title: User @@ -145088,8 +145588,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *742 - repository: *743 + organization: *744 + repository: *745 sender: *4 required: - action @@ -145169,9 +145669,9 @@ x-webhooks: type: string enum: - pinned - enterprise: *740 - installation: *741 - issue: &768 + enterprise: *742 + installation: *743 + issue: &771 title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -145954,14 +146454,14 @@ x-webhooks: description: Comments provide a way for people to collaborate on an issue. type: object - properties: *87 - required: *88 + properties: *89 + required: *90 nullable: true - sub_issues_summary: *676 - issue_dependencies_summary: *677 + sub_issues_summary: *678 + issue_dependencies_summary: *679 issue_field_values: type: array - items: *557 + items: *559 state: description: State of the issue; either 'open' or 'closed' type: string @@ -145977,7 +146477,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *242 + type: *244 updated_at: type: string format: date-time @@ -146077,8 +146577,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *742 - repository: *743 + organization: *744 + repository: *745 sender: *4 required: - action @@ -146157,8 +146657,8 @@ x-webhooks: type: string enum: - reopened - enterprise: *740 - installation: *741 + enterprise: *742 + installation: *743 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -146968,14 +147468,14 @@ x-webhooks: description: Comments provide a way for people to collaborate on an issue. type: object - properties: *87 - required: *88 + properties: *89 + required: *90 nullable: true - sub_issues_summary: *676 - issue_dependencies_summary: *677 + sub_issues_summary: *678 + issue_dependencies_summary: *679 issue_field_values: type: array - items: *557 + items: *559 state: description: State of the issue; either 'open' or 'closed' type: string @@ -147069,9 +147569,9 @@ x-webhooks: format: uri user_view_type: type: string - type: *242 - organization: *742 - repository: *743 + type: *244 + organization: *744 + repository: *745 sender: *4 required: - action @@ -147937,14 +148437,14 @@ x-webhooks: description: Comments provide a way for people to collaborate on an issue. type: object - properties: *87 - required: *88 + properties: *89 + required: *90 nullable: true - sub_issues_summary: *676 - issue_dependencies_summary: *677 + sub_issues_summary: *678 + issue_dependencies_summary: *679 issue_field_values: type: array - items: *557 + items: *559 state: description: State of the issue; either 'open' or 'closed' type: string @@ -147960,7 +148460,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *242 + type: *244 updated_at: type: string format: date-time @@ -148539,11 +149039,11 @@ x-webhooks: required: - new_issue - new_repository - enterprise: *740 - installation: *741 - issue: *768 - organization: *742 - repository: *743 + enterprise: *742 + installation: *743 + issue: *771 + organization: *744 + repository: *745 sender: *4 required: - action @@ -148623,12 +149123,12 @@ x-webhooks: type: string enum: - typed - enterprise: *740 - installation: *741 + enterprise: *742 + installation: *743 issue: *769 - type: *242 - organization: *742 - repository: *743 + type: *244 + organization: *744 + repository: *745 sender: *4 required: - action @@ -148709,7 +149209,7 @@ x-webhooks: type: string enum: - unassigned - assignee: &798 + assignee: &800 title: User type: object nullable: true @@ -148779,11 +149279,11 @@ x-webhooks: required: - login - id - enterprise: *740 - installation: *741 + enterprise: *742 + installation: *743 issue: *769 - organization: *742 - repository: *743 + organization: *744 + repository: *745 sender: *4 required: - action @@ -148862,12 +149362,12 @@ x-webhooks: type: string enum: - unlabeled - enterprise: *740 - installation: *741 + enterprise: *742 + installation: *743 issue: *769 - label: *761 - organization: *742 - repository: *743 + label: *763 + organization: *744 + repository: *745 sender: *4 required: - action @@ -148947,8 +149447,8 @@ x-webhooks: type: string enum: - unlocked - enterprise: *740 - installation: *741 + enterprise: *742 + installation: *743 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -149758,14 +150258,14 @@ x-webhooks: description: Comments provide a way for people to collaborate on an issue. type: object - properties: *87 - required: *88 + properties: *89 + required: *90 nullable: true - sub_issues_summary: *676 - issue_dependencies_summary: *677 + sub_issues_summary: *678 + issue_dependencies_summary: *679 issue_field_values: type: array - items: *557 + items: *559 state: description: State of the issue; either 'open' or 'closed' type: string @@ -149781,7 +150281,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *242 + type: *244 updated_at: type: string format: date-time @@ -149859,8 +150359,8 @@ x-webhooks: format: uri user_view_type: type: string - organization: *742 - repository: *743 + organization: *744 + repository: *745 sender: *4 required: - action @@ -149940,11 +150440,11 @@ x-webhooks: type: string enum: - unpinned - enterprise: *740 - installation: *741 - issue: *768 - organization: *742 - repository: *743 + enterprise: *742 + installation: *743 + issue: *771 + organization: *744 + repository: *745 sender: *4 required: - action @@ -150023,12 +150523,12 @@ x-webhooks: type: string enum: - untyped - enterprise: *740 - installation: *741 + enterprise: *742 + installation: *743 issue: *769 - type: *242 - organization: *742 - repository: *743 + type: *244 + organization: *744 + repository: *745 sender: *4 required: - action @@ -150108,11 +150608,11 @@ x-webhooks: type: string enum: - created - enterprise: *740 - installation: *741 - label: *761 - organization: *742 - repository: *743 + enterprise: *742 + installation: *743 + label: *763 + organization: *744 + repository: *745 sender: *4 required: - action @@ -150190,11 +150690,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *740 - installation: *741 - label: *761 - organization: *742 - repository: *743 + enterprise: *742 + installation: *743 + label: *763 + organization: *744 + repository: *745 sender: *4 required: - action @@ -150304,11 +150804,11 @@ x-webhooks: type: string required: - from - enterprise: *740 - installation: *741 - label: *761 - organization: *742 - repository: *743 + enterprise: *742 + installation: *743 + label: *763 + organization: *744 + repository: *745 sender: *4 required: - action @@ -150390,9 +150890,9 @@ x-webhooks: - cancelled effective_date: type: string - enterprise: *740 - installation: *741 - marketplace_purchase: &770 + enterprise: *742 + installation: *743 + marketplace_purchase: &772 title: Marketplace Purchase type: object required: @@ -150475,8 +150975,8 @@ x-webhooks: type: integer unit_count: type: integer - organization: *742 - previous_marketplace_purchase: &771 + organization: *744 + previous_marketplace_purchase: &773 title: Marketplace Purchase type: object properties: @@ -150556,7 +151056,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *743 + repository: *745 sender: *4 required: - action @@ -150636,10 +151136,10 @@ x-webhooks: - changed effective_date: type: string - enterprise: *740 - installation: *741 - marketplace_purchase: *770 - organization: *742 + enterprise: *742 + installation: *743 + marketplace_purchase: *772 + organization: *744 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -150722,7 +151222,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *743 + repository: *745 sender: *4 required: - action @@ -150804,10 +151304,10 @@ x-webhooks: - pending_change effective_date: type: string - enterprise: *740 - installation: *741 - marketplace_purchase: *770 - organization: *742 + enterprise: *742 + installation: *743 + marketplace_purchase: *772 + organization: *744 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -150889,7 +151389,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *743 + repository: *745 sender: *4 required: - action @@ -150970,8 +151470,8 @@ x-webhooks: - pending_change_cancelled effective_date: type: string - enterprise: *740 - installation: *741 + enterprise: *742 + installation: *743 marketplace_purchase: title: Marketplace Purchase type: object @@ -151053,9 +151553,9 @@ x-webhooks: type: integer unit_count: type: integer - organization: *742 - previous_marketplace_purchase: *771 - repository: *743 + organization: *744 + previous_marketplace_purchase: *773 + repository: *745 sender: *4 required: - action @@ -151135,12 +151635,12 @@ x-webhooks: - purchased effective_date: type: string - enterprise: *740 - installation: *741 - marketplace_purchase: *770 - organization: *742 - previous_marketplace_purchase: *771 - repository: *743 + enterprise: *742 + installation: *743 + marketplace_purchase: *772 + organization: *744 + previous_marketplace_purchase: *773 + repository: *745 sender: *4 required: - action @@ -151242,11 +151742,11 @@ x-webhooks: type: string required: - to - enterprise: *740 - installation: *741 - member: *762 - organization: *742 - repository: *743 + enterprise: *742 + installation: *743 + member: *764 + organization: *744 + repository: *745 sender: *4 required: - action @@ -151346,11 +151846,11 @@ x-webhooks: to: type: string nullable: true - enterprise: *740 - installation: *741 - member: *762 - organization: *742 - repository: *743 + enterprise: *742 + installation: *743 + member: *764 + organization: *744 + repository: *745 sender: *4 required: - action @@ -151429,11 +151929,11 @@ x-webhooks: type: string enum: - removed - enterprise: *740 - installation: *741 - member: *762 - organization: *742 - repository: *743 + enterprise: *742 + installation: *743 + member: *764 + organization: *744 + repository: *745 sender: *4 required: - action @@ -151511,11 +152011,11 @@ x-webhooks: type: string enum: - added - enterprise: *740 - installation: *741 - member: *762 - organization: *742 - repository: *743 + enterprise: *742 + installation: *743 + member: *764 + organization: *744 + repository: *745 scope: description: The scope of the membership. Currently, can only be `team`. @@ -151591,7 +152091,7 @@ x-webhooks: required: - login - id - team: &772 + team: &774 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -151814,11 +152314,11 @@ x-webhooks: type: string enum: - removed - enterprise: *740 - installation: *741 - member: *762 - organization: *742 - repository: *743 + enterprise: *742 + installation: *743 + member: *764 + organization: *744 + repository: *745 scope: description: The scope of the membership. Currently, can only be `team`. @@ -151895,7 +152395,7 @@ x-webhooks: required: - login - id - team: *772 + team: *774 required: - action - scope @@ -151977,8 +152477,8 @@ x-webhooks: type: string enum: - checks_requested - installation: *741 - merge_group: &774 + installation: *743 + merge_group: &776 type: object title: Merge Group description: A group of pull requests that the merge queue has grouped @@ -151997,15 +152497,15 @@ x-webhooks: description: The full ref of the branch the merge group will be merged into. type: string - head_commit: *773 + head_commit: *775 required: - head_sha - head_ref - base_sha - base_ref - head_commit - organization: *742 - repository: *743 + organization: *744 + repository: *745 sender: *4 required: - action @@ -152091,10 +152591,10 @@ x-webhooks: - merged - invalidated - dequeued - installation: *741 - merge_group: *774 - organization: *742 - repository: *743 + installation: *743 + merge_group: *776 + organization: *744 + repository: *745 sender: *4 required: - action @@ -152167,7 +152667,7 @@ x-webhooks: type: string enum: - deleted - enterprise: *740 + enterprise: *742 hook: description: 'The deleted webhook. This will contain different keys based on the type of webhook it is: repository, organization, @@ -152276,16 +152776,16 @@ x-webhooks: hook_id: description: The id of the modified webhook. type: integer - installation: *741 - organization: *742 + installation: *743 + organization: *744 repository: title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *775 - required: *776 + properties: *777 + required: *778 nullable: true sender: *4 required: @@ -152366,11 +152866,11 @@ x-webhooks: type: string enum: - closed - enterprise: *740 - installation: *741 - milestone: *767 - organization: *742 - repository: *743 + enterprise: *742 + installation: *743 + milestone: *770 + organization: *744 + repository: *745 sender: *4 required: - action @@ -152449,9 +152949,9 @@ x-webhooks: type: string enum: - created - enterprise: *740 - installation: *741 - milestone: &777 + enterprise: *742 + installation: *743 + milestone: &779 title: Milestone description: A collection of related issues and pull requests. type: object @@ -152588,8 +153088,8 @@ x-webhooks: - updated_at - due_on - closed_at - organization: *742 - repository: *743 + organization: *744 + repository: *745 sender: *4 required: - action @@ -152668,11 +153168,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *740 - installation: *741 - milestone: *767 - organization: *742 - repository: *743 + enterprise: *742 + installation: *743 + milestone: *770 + organization: *744 + repository: *745 sender: *4 required: - action @@ -152782,11 +153282,11 @@ x-webhooks: type: string required: - from - enterprise: *740 - installation: *741 - milestone: *767 - organization: *742 - repository: *743 + enterprise: *742 + installation: *743 + milestone: *770 + organization: *744 + repository: *745 sender: *4 required: - action @@ -152866,11 +153366,11 @@ x-webhooks: type: string enum: - opened - enterprise: *740 - installation: *741 - milestone: *777 - organization: *742 - repository: *743 + enterprise: *742 + installation: *743 + milestone: *779 + organization: *744 + repository: *745 sender: *4 required: - action @@ -152949,11 +153449,11 @@ x-webhooks: type: string enum: - blocked - blocked_user: *762 - enterprise: *740 - installation: *741 - organization: *742 - repository: *743 + blocked_user: *764 + enterprise: *742 + installation: *743 + organization: *744 + repository: *745 sender: *4 required: - action @@ -153032,11 +153532,11 @@ x-webhooks: type: string enum: - unblocked - blocked_user: *762 - enterprise: *740 - installation: *741 - organization: *742 - repository: *743 + blocked_user: *764 + enterprise: *742 + installation: *743 + organization: *744 + repository: *745 sender: *4 required: - action @@ -153115,9 +153615,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *740 - installation: *741 - membership: &778 + enterprise: *742 + installation: *743 + membership: &780 title: Membership description: The membership between the user and the organization. Not present when the action is `member_invited`. @@ -153224,8 +153724,8 @@ x-webhooks: - role - organization_url - user - organization: *742 - repository: *743 + organization: *744 + repository: *745 sender: *4 required: - action @@ -153303,11 +153803,11 @@ x-webhooks: type: string enum: - member_added - enterprise: *740 - installation: *741 - membership: *778 - organization: *742 - repository: *743 + enterprise: *742 + installation: *743 + membership: *780 + organization: *744 + repository: *745 sender: *4 required: - action @@ -153386,8 +153886,8 @@ x-webhooks: type: string enum: - member_invited - enterprise: *740 - installation: *741 + enterprise: *742 + installation: *743 invitation: description: The invitation for the user or email if the action is `member_invited`. @@ -153503,10 +154003,10 @@ x-webhooks: - inviter - team_count - invitation_teams_url - organization: *742 - repository: *743 + organization: *744 + repository: *745 sender: *4 - user: *762 + user: *764 required: - action - invitation @@ -153584,11 +154084,11 @@ x-webhooks: type: string enum: - member_removed - enterprise: *740 - installation: *741 - membership: *778 - organization: *742 - repository: *743 + enterprise: *742 + installation: *743 + membership: *780 + organization: *744 + repository: *745 sender: *4 required: - action @@ -153675,11 +154175,11 @@ x-webhooks: properties: from: type: string - enterprise: *740 - installation: *741 - membership: *778 - organization: *742 - repository: *743 + enterprise: *742 + installation: *743 + membership: *780 + organization: *744 + repository: *745 sender: *4 required: - action @@ -153756,9 +154256,9 @@ x-webhooks: type: string enum: - published - enterprise: *740 - installation: *741 - organization: *742 + enterprise: *742 + installation: *743 + organization: *744 package: description: Information about the package. type: object @@ -154257,7 +154757,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: &779 + items: &781 title: Ruby Gems metadata type: object properties: @@ -154352,7 +154852,7 @@ x-webhooks: - owner - package_version - registry - repository: *743 + repository: *745 sender: *4 required: - action @@ -154428,9 +154928,9 @@ x-webhooks: type: string enum: - updated - enterprise: *740 - installation: *741 - organization: *742 + enterprise: *742 + installation: *743 + organization: *744 package: description: Information about the package. type: object @@ -154783,7 +155283,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: *779 + items: *781 source_url: type: string format: uri @@ -154853,7 +155353,7 @@ x-webhooks: - owner - package_version - registry - repository: *743 + repository: *745 sender: *4 required: - action @@ -155029,12 +155529,12 @@ x-webhooks: - duration - created_at - updated_at - enterprise: *740 + enterprise: *742 id: type: integer - installation: *741 - organization: *742 - repository: *743 + installation: *743 + organization: *744 + repository: *745 sender: *4 required: - id @@ -155111,7 +155611,7 @@ x-webhooks: type: string enum: - approved - personal_access_token_request: &780 + personal_access_token_request: &782 title: Personal Access Token Request description: Details of a Personal Access Token Request. type: object @@ -155257,10 +155757,10 @@ x-webhooks: - token_expired - token_expires_at - token_last_used_at - enterprise: *740 - organization: *742 + enterprise: *742 + organization: *744 sender: *4 - installation: *741 + installation: *743 required: - action - personal_access_token_request @@ -155337,11 +155837,11 @@ x-webhooks: type: string enum: - cancelled - personal_access_token_request: *780 - enterprise: *740 - organization: *742 + personal_access_token_request: *782 + enterprise: *742 + organization: *744 sender: *4 - installation: *741 + installation: *743 required: - action - personal_access_token_request @@ -155417,11 +155917,11 @@ x-webhooks: type: string enum: - created - personal_access_token_request: *780 - enterprise: *740 - organization: *742 + personal_access_token_request: *782 + enterprise: *742 + organization: *744 sender: *4 - installation: *741 + installation: *743 required: - action - personal_access_token_request @@ -155496,11 +155996,11 @@ x-webhooks: type: string enum: - denied - personal_access_token_request: *780 - organization: *742 - enterprise: *740 + personal_access_token_request: *782 + organization: *744 + enterprise: *742 sender: *4 - installation: *741 + installation: *743 required: - action - personal_access_token_request @@ -155605,7 +156105,7 @@ x-webhooks: id: description: Unique identifier of the webhook. type: integer - last_response: *781 + last_response: *783 name: description: The type of webhook. The only valid value is 'web'. type: string @@ -155637,8 +156137,8 @@ x-webhooks: hook_id: description: The ID of the webhook that triggered the ping. type: integer - organization: *742 - repository: *743 + organization: *744 + repository: *745 sender: *4 zen: description: Random string of GitHub zen. @@ -155883,10 +156383,10 @@ x-webhooks: - from required: - note - enterprise: *740 - installation: *741 - organization: *742 - project_card: &782 + enterprise: *742 + installation: *743 + organization: *744 + project_card: &784 title: Project Card type: object properties: @@ -156005,7 +156505,7 @@ x-webhooks: - creator - created_at - updated_at - repository: *743 + repository: *745 sender: *4 required: - action @@ -156086,11 +156586,11 @@ x-webhooks: type: string enum: - created - enterprise: *740 - installation: *741 - organization: *742 - project_card: *782 - repository: *743 + enterprise: *742 + installation: *743 + organization: *744 + project_card: *784 + repository: *745 sender: *4 required: - action @@ -156170,9 +156670,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *740 - installation: *741 - organization: *742 + enterprise: *742 + installation: *743 + organization: *744 project_card: title: Project Card type: object @@ -156300,8 +156800,8 @@ x-webhooks: The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *775 - required: *776 + properties: *777 + required: *778 nullable: true sender: *4 required: @@ -156395,11 +156895,11 @@ x-webhooks: - from required: - note - enterprise: *740 - installation: *741 - organization: *742 - project_card: *782 - repository: *743 + enterprise: *742 + installation: *743 + organization: *744 + project_card: *784 + repository: *745 sender: *4 required: - action @@ -156493,9 +156993,9 @@ x-webhooks: - from required: - column_id - enterprise: *740 - installation: *741 - organization: *742 + enterprise: *742 + installation: *743 + organization: *744 project_card: allOf: - title: Project Card @@ -156685,7 +157185,7 @@ x-webhooks: type: string required: - after_id - repository: *743 + repository: *745 sender: *4 required: - action @@ -156765,10 +157265,10 @@ x-webhooks: type: string enum: - closed - enterprise: *740 - installation: *741 - organization: *742 - project: &784 + enterprise: *742 + installation: *743 + organization: *744 + project: &786 title: Project type: object properties: @@ -156892,7 +157392,7 @@ x-webhooks: - creator - created_at - updated_at - repository: *743 + repository: *745 sender: *4 required: - action @@ -156972,10 +157472,10 @@ x-webhooks: type: string enum: - created - enterprise: *740 - installation: *741 - organization: *742 - project_column: &783 + enterprise: *742 + installation: *743 + organization: *744 + project_column: &785 title: Project Column type: object properties: @@ -157014,7 +157514,7 @@ x-webhooks: - name - created_at - updated_at - repository: *743 + repository: *745 sender: *4 required: - action @@ -157093,18 +157593,18 @@ x-webhooks: type: string enum: - deleted - enterprise: *740 - installation: *741 - organization: *742 - project_column: *783 + enterprise: *742 + installation: *743 + organization: *744 + project_column: *785 repository: title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *775 - required: *776 + properties: *777 + required: *778 nullable: true sender: *4 required: @@ -157194,11 +157694,11 @@ x-webhooks: type: string required: - from - enterprise: *740 - installation: *741 - organization: *742 - project_column: *783 - repository: *743 + enterprise: *742 + installation: *743 + organization: *744 + project_column: *785 + repository: *745 sender: *4 required: - action @@ -157278,11 +157778,11 @@ x-webhooks: type: string enum: - moved - enterprise: *740 - installation: *741 - organization: *742 - project_column: *783 - repository: *743 + enterprise: *742 + installation: *743 + organization: *744 + project_column: *785 + repository: *745 sender: *4 required: - action @@ -157362,11 +157862,11 @@ x-webhooks: type: string enum: - created - enterprise: *740 - installation: *741 - organization: *742 - project: *784 - repository: *743 + enterprise: *742 + installation: *743 + organization: *744 + project: *786 + repository: *745 sender: *4 required: - action @@ -157446,18 +157946,18 @@ x-webhooks: type: string enum: - deleted - enterprise: *740 - installation: *741 - organization: *742 - project: *784 + enterprise: *742 + installation: *743 + organization: *744 + project: *786 repository: title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *775 - required: *776 + properties: *777 + required: *778 nullable: true sender: *4 required: @@ -157559,11 +158059,11 @@ x-webhooks: type: string required: - from - enterprise: *740 - installation: *741 - organization: *742 - project: *784 - repository: *743 + enterprise: *742 + installation: *743 + organization: *744 + project: *786 + repository: *745 sender: *4 required: - action @@ -157642,11 +158142,11 @@ x-webhooks: type: string enum: - reopened - enterprise: *740 - installation: *741 - organization: *742 - project: *784 - repository: *743 + enterprise: *742 + installation: *743 + organization: *744 + project: *786 + repository: *745 sender: *4 required: - action @@ -157727,9 +158227,9 @@ x-webhooks: type: string enum: - closed - installation: *741 - organization: *742 - projects_v2: *276 + installation: *743 + organization: *744 + projects_v2: *278 sender: *4 required: - action @@ -157810,9 +158310,9 @@ x-webhooks: type: string enum: - created - installation: *741 - organization: *742 - projects_v2: *276 + installation: *743 + organization: *744 + projects_v2: *278 sender: *4 required: - action @@ -157893,9 +158393,9 @@ x-webhooks: type: string enum: - deleted - installation: *741 - organization: *742 - projects_v2: *276 + installation: *743 + organization: *744 + projects_v2: *278 sender: *4 required: - action @@ -158012,9 +158512,9 @@ x-webhooks: type: string to: type: string - installation: *741 - organization: *742 - projects_v2: *276 + installation: *743 + organization: *744 + projects_v2: *278 sender: *4 required: - action @@ -158097,7 +158597,7 @@ x-webhooks: type: string enum: - archived - changes: &788 + changes: &790 type: object properties: archived_at: @@ -158111,9 +158611,9 @@ x-webhooks: type: string nullable: true format: date-time - installation: *741 - organization: *742 - projects_v2_item: &785 + installation: *743 + organization: *744 + projects_v2_item: &787 title: Projects v2 Item description: An item belonging to a project type: object @@ -158131,7 +158631,7 @@ x-webhooks: type: string description: The node ID of the content represented by this item. - content_type: *283 + content_type: *285 creator: *4 created_at: type: string @@ -158248,9 +158748,9 @@ x-webhooks: nullable: true to: type: string - installation: *741 - organization: *742 - projects_v2_item: *785 + installation: *743 + organization: *744 + projects_v2_item: *787 sender: *4 required: - action @@ -158332,9 +158832,9 @@ x-webhooks: type: string enum: - created - installation: *741 - organization: *742 - projects_v2_item: *785 + installation: *743 + organization: *744 + projects_v2_item: *787 sender: *4 required: - action @@ -158415,9 +158915,9 @@ x-webhooks: type: string enum: - deleted - installation: *741 - organization: *742 - projects_v2_item: *785 + installation: *743 + organization: *744 + projects_v2_item: *787 sender: *4 required: - action @@ -158523,7 +159023,7 @@ x-webhooks: oneOf: - type: string - type: integer - - &786 + - &788 title: Projects v2 Single Select Option description: An option for a single select field type: object @@ -158545,7 +159045,7 @@ x-webhooks: required: - id - name - - &787 + - &789 title: Projects v2 Iteration Setting description: An iteration setting for an iteration field type: object @@ -158579,8 +159079,8 @@ x-webhooks: oneOf: - type: string - type: integer - - *786 - - *787 + - *788 + - *789 required: - field_value - type: object @@ -158596,9 +159096,9 @@ x-webhooks: nullable: true required: - body - installation: *741 - organization: *742 - projects_v2_item: *785 + installation: *743 + organization: *744 + projects_v2_item: *787 sender: *4 required: - action @@ -158693,9 +159193,9 @@ x-webhooks: to: type: string nullable: true - installation: *741 - organization: *742 - projects_v2_item: *785 + installation: *743 + organization: *744 + projects_v2_item: *787 sender: *4 required: - action @@ -158778,10 +159278,10 @@ x-webhooks: type: string enum: - restored - changes: *788 - installation: *741 - organization: *742 - projects_v2_item: *785 + changes: *790 + installation: *743 + organization: *744 + projects_v2_item: *787 sender: *4 required: - action @@ -158863,9 +159363,9 @@ x-webhooks: type: string enum: - reopened - installation: *741 - organization: *742 - projects_v2: *276 + installation: *743 + organization: *744 + projects_v2: *278 sender: *4 required: - action @@ -158946,14 +159446,14 @@ x-webhooks: type: string enum: - created - installation: *741 - organization: *742 - projects_v2_status_update: &791 + installation: *743 + organization: *744 + projects_v2_status_update: &793 title: Projects v2 Status Update description: An status update belonging to a project type: object - properties: *789 - required: *790 + properties: *791 + required: *792 sender: *4 required: - action @@ -159034,9 +159534,9 @@ x-webhooks: type: string enum: - deleted - installation: *741 - organization: *742 - projects_v2_status_update: *791 + installation: *743 + organization: *744 + projects_v2_status_update: *793 sender: *4 required: - action @@ -159172,9 +159672,9 @@ x-webhooks: type: string format: date nullable: true - installation: *741 - organization: *742 - projects_v2_status_update: *791 + installation: *743 + organization: *744 + projects_v2_status_update: *793 sender: *4 required: - action @@ -159245,10 +159745,10 @@ x-webhooks: title: public event type: object properties: - enterprise: *740 - installation: *741 - organization: *742 - repository: *743 + enterprise: *742 + installation: *743 + organization: *744 + repository: *745 sender: *4 required: - repository @@ -159325,13 +159825,13 @@ x-webhooks: type: string enum: - assigned - assignee: *762 - enterprise: *740 - installation: *741 - number: &792 + assignee: *764 + enterprise: *742 + installation: *743 + number: &794 description: The pull request number. type: integer - organization: *742 + organization: *744 pull_request: title: Pull Request type: object @@ -161618,7 +162118,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *743 + repository: *745 sender: *4 required: - action @@ -161700,11 +162200,11 @@ x-webhooks: type: string enum: - auto_merge_disabled - enterprise: *740 - installation: *741 + enterprise: *742 + installation: *743 number: type: integer - organization: *742 + organization: *744 pull_request: title: Pull Request type: object @@ -163986,7 +164486,7 @@ x-webhooks: - draft reason: type: string - repository: *743 + repository: *745 sender: *4 required: - action @@ -164068,11 +164568,11 @@ x-webhooks: type: string enum: - auto_merge_enabled - enterprise: *740 - installation: *741 + enterprise: *742 + installation: *743 number: type: integer - organization: *742 + organization: *744 pull_request: title: Pull Request type: object @@ -166354,7 +166854,7 @@ x-webhooks: - draft reason: type: string - repository: *743 + repository: *745 sender: *4 required: - action @@ -166436,13 +166936,13 @@ x-webhooks: type: string enum: - closed - enterprise: *740 - installation: *741 - number: *792 - organization: *742 - pull_request: &793 + enterprise: *742 + installation: *743 + number: *794 + organization: *744 + pull_request: &795 allOf: - - *596 + - *598 - type: object properties: allow_auto_merge: @@ -166504,7 +167004,7 @@ x-webhooks: Please use `squash_merge_commit_title` instead.** type: boolean default: false - repository: *743 + repository: *745 sender: *4 required: - action @@ -166585,12 +167085,12 @@ x-webhooks: type: string enum: - converted_to_draft - enterprise: *740 - installation: *741 - number: *792 - organization: *742 - pull_request: *793 - repository: *743 + enterprise: *742 + installation: *743 + number: *794 + organization: *744 + pull_request: *795 + repository: *745 sender: *4 required: - action @@ -166670,11 +167170,11 @@ x-webhooks: type: string enum: - demilestoned - enterprise: *740 - milestone: *580 - number: *792 - organization: *742 - pull_request: &794 + enterprise: *742 + milestone: *582 + number: *794 + organization: *744 + pull_request: &796 title: Pull Request type: object properties: @@ -168955,7 +169455,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *743 + repository: *745 sender: *4 required: - action @@ -169034,11 +169534,11 @@ x-webhooks: type: string enum: - dequeued - enterprise: *740 - installation: *741 + enterprise: *742 + installation: *743 number: type: integer - organization: *742 + organization: *744 pull_request: title: Pull Request type: object @@ -171338,7 +171838,7 @@ x-webhooks: - BRANCH_PROTECTIONS - GIT_TREE_INVALID - INVALID_MERGE_COMMIT - repository: *743 + repository: *745 sender: *4 required: - action @@ -171462,12 +171962,12 @@ x-webhooks: type: string required: - from - enterprise: *740 - installation: *741 - number: *792 - organization: *742 - pull_request: *793 - repository: *743 + enterprise: *742 + installation: *743 + number: *794 + organization: *744 + pull_request: *795 + repository: *745 sender: *4 required: - action @@ -171547,11 +172047,11 @@ x-webhooks: type: string enum: - enqueued - enterprise: *740 - installation: *741 + enterprise: *742 + installation: *743 number: type: integer - organization: *742 + organization: *744 pull_request: title: Pull Request type: object @@ -173836,7 +174336,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *743 + repository: *745 sender: *4 required: - action @@ -173916,11 +174416,11 @@ x-webhooks: type: string enum: - labeled - enterprise: *740 - installation: *741 - label: *761 - number: *792 - organization: *742 + enterprise: *742 + installation: *743 + label: *763 + number: *794 + organization: *744 pull_request: title: Pull Request type: object @@ -176206,7 +176706,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *743 + repository: *745 sender: *4 required: - action @@ -176287,10 +176787,10 @@ x-webhooks: type: string enum: - locked - enterprise: *740 - installation: *741 - number: *792 - organization: *742 + enterprise: *742 + installation: *743 + number: *794 + organization: *744 pull_request: title: Pull Request type: object @@ -178574,7 +179074,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *743 + repository: *745 sender: *4 required: - action @@ -178654,12 +179154,12 @@ x-webhooks: type: string enum: - milestoned - enterprise: *740 - milestone: *580 - number: *792 - organization: *742 - pull_request: *794 - repository: *743 + enterprise: *742 + milestone: *582 + number: *794 + organization: *744 + pull_request: *796 + repository: *745 sender: *4 required: - action @@ -178738,12 +179238,12 @@ x-webhooks: type: string enum: - opened - enterprise: *740 - installation: *741 - number: *792 - organization: *742 - pull_request: *793 - repository: *743 + enterprise: *742 + installation: *743 + number: *794 + organization: *744 + pull_request: *795 + repository: *745 sender: *4 required: - action @@ -178824,12 +179324,12 @@ x-webhooks: type: string enum: - ready_for_review - enterprise: *740 - installation: *741 - number: *792 - organization: *742 - pull_request: *793 - repository: *743 + enterprise: *742 + installation: *743 + number: *794 + organization: *744 + pull_request: *795 + repository: *745 sender: *4 required: - action @@ -178909,12 +179409,12 @@ x-webhooks: type: string enum: - reopened - enterprise: *740 - installation: *741 - number: *792 - organization: *742 - pull_request: *793 - repository: *743 + enterprise: *742 + installation: *743 + number: *794 + organization: *744 + pull_request: *795 + repository: *745 sender: *4 required: - action @@ -179280,9 +179780,9 @@ x-webhooks: - start_side - side - reactions - enterprise: *740 - installation: *741 - organization: *742 + enterprise: *742 + installation: *743 + organization: *744 pull_request: type: object properties: @@ -181456,7 +181956,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *743 + repository: *745 sender: *4 required: - action @@ -181536,7 +182036,7 @@ x-webhooks: type: string enum: - deleted - comment: &796 + comment: &798 title: Pull Request Review Comment description: The [comment](https://docs.github.com/rest/pulls/comments#get-a-review-comment-for-a-pull-request) itself. @@ -181821,9 +182321,9 @@ x-webhooks: - start_side - side - reactions - enterprise: *740 - installation: *741 - organization: *742 + enterprise: *742 + installation: *743 + organization: *744 pull_request: type: object properties: @@ -183985,7 +184485,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *743 + repository: *745 sender: *4 required: - action @@ -184065,11 +184565,11 @@ x-webhooks: type: string enum: - edited - changes: *795 - comment: *796 - enterprise: *740 - installation: *741 - organization: *742 + changes: *797 + comment: *798 + enterprise: *742 + installation: *743 + organization: *744 pull_request: type: object properties: @@ -186234,7 +186734,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *743 + repository: *745 sender: *4 required: - action @@ -186315,9 +186815,9 @@ x-webhooks: type: string enum: - dismissed - enterprise: *740 - installation: *741 - organization: *742 + enterprise: *742 + installation: *743 + organization: *744 pull_request: title: Simple Pull Request type: object @@ -188494,7 +188994,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *743 + repository: *745 review: description: The review that was affected. type: object @@ -188741,9 +189241,9 @@ x-webhooks: type: string required: - from - enterprise: *740 - installation: *741 - organization: *742 + enterprise: *742 + installation: *743 + organization: *744 pull_request: title: Simple Pull Request type: object @@ -190793,8 +191293,8 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *743 - review: &797 + repository: *745 + review: &799 description: The review that was affected. type: object properties: @@ -191027,12 +191527,12 @@ x-webhooks: type: string enum: - review_request_removed - enterprise: *740 - installation: *741 + enterprise: *742 + installation: *743 number: description: The pull request number. type: integer - organization: *742 + organization: *744 pull_request: title: Pull Request type: object @@ -193319,7 +193819,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *743 + repository: *745 requested_reviewer: title: User type: object @@ -193403,12 +193903,12 @@ x-webhooks: type: string enum: - review_request_removed - enterprise: *740 - installation: *741 + enterprise: *742 + installation: *743 number: description: The pull request number. type: integer - organization: *742 + organization: *744 pull_request: title: Pull Request type: object @@ -195702,7 +196202,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *743 + repository: *745 requested_team: title: Team description: Groups of organization members that gives permissions @@ -195894,12 +196394,12 @@ x-webhooks: type: string enum: - review_requested - enterprise: *740 - installation: *741 + enterprise: *742 + installation: *743 number: description: The pull request number. type: integer - organization: *742 + organization: *744 pull_request: title: Pull Request type: object @@ -198188,7 +198688,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *743 + repository: *745 requested_reviewer: title: User type: object @@ -198273,12 +198773,12 @@ x-webhooks: type: string enum: - review_requested - enterprise: *740 - installation: *741 + enterprise: *742 + installation: *743 number: description: The pull request number. type: integer - organization: *742 + organization: *744 pull_request: title: Pull Request type: object @@ -200558,7 +201058,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *743 + repository: *745 requested_team: title: Team description: Groups of organization members that gives permissions @@ -200739,9 +201239,9 @@ x-webhooks: type: string enum: - submitted - enterprise: *740 - installation: *741 - organization: *742 + enterprise: *742 + installation: *743 + organization: *744 pull_request: title: Simple Pull Request type: object @@ -202920,8 +203420,8 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *743 - review: *797 + repository: *745 + review: *799 sender: *4 required: - action @@ -203001,9 +203501,9 @@ x-webhooks: type: string enum: - resolved - enterprise: *740 - installation: *741 - organization: *742 + enterprise: *742 + installation: *743 + organization: *744 pull_request: title: Simple Pull Request type: object @@ -205091,7 +205591,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *743 + repository: *745 sender: *4 thread: type: object @@ -205478,9 +205978,9 @@ x-webhooks: type: string enum: - unresolved - enterprise: *740 - installation: *741 - organization: *742 + enterprise: *742 + installation: *743 + organization: *744 pull_request: title: Simple Pull Request type: object @@ -207554,7 +208054,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *743 + repository: *745 sender: *4 thread: type: object @@ -207944,10 +208444,10 @@ x-webhooks: type: string before: type: string - enterprise: *740 - installation: *741 - number: *792 - organization: *742 + enterprise: *742 + installation: *743 + number: *794 + organization: *744 pull_request: title: Pull Request type: object @@ -210222,7 +210722,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *743 + repository: *745 sender: *4 required: - action @@ -210304,11 +210804,11 @@ x-webhooks: type: string enum: - unassigned - assignee: *798 - enterprise: *740 - installation: *741 - number: *792 - organization: *742 + assignee: *800 + enterprise: *742 + installation: *743 + number: *794 + organization: *744 pull_request: title: Pull Request type: object @@ -212595,7 +213095,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *743 + repository: *745 sender: *4 required: - action @@ -212674,11 +213174,11 @@ x-webhooks: type: string enum: - unlabeled - enterprise: *740 - installation: *741 - label: *761 - number: *792 - organization: *742 + enterprise: *742 + installation: *743 + label: *763 + number: *794 + organization: *744 pull_request: title: Pull Request type: object @@ -214955,7 +215455,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *743 + repository: *745 sender: *4 required: - action @@ -215036,10 +215536,10 @@ x-webhooks: type: string enum: - unlocked - enterprise: *740 - installation: *741 - number: *792 - organization: *742 + enterprise: *742 + installation: *743 + number: *794 + organization: *744 pull_request: title: Pull Request type: object @@ -217308,7 +217808,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *743 + repository: *745 sender: *4 required: - action @@ -217508,7 +218008,7 @@ x-webhooks: deleted: description: Whether this push deleted the `ref`. type: boolean - enterprise: *740 + enterprise: *742 forced: description: Whether this push was a force push of the `ref`. type: boolean @@ -217600,8 +218100,8 @@ x-webhooks: - url - author - committer - installation: *741 - organization: *742 + installation: *743 + organization: *744 pusher: title: Committer description: Metaproperties for Git author/committer information. @@ -218187,9 +218687,9 @@ x-webhooks: type: string enum: - published - enterprise: *740 - installation: *741 - organization: *742 + enterprise: *742 + installation: *743 + organization: *744 registry_package: type: object properties: @@ -218635,7 +219135,7 @@ x-webhooks: type: string rubygems_metadata: type: array - items: *779 + items: *781 summary: type: string tag_name: @@ -218689,7 +219189,7 @@ x-webhooks: - owner - package_version - registry - repository: *743 + repository: *745 sender: *4 required: - action @@ -218767,9 +219267,9 @@ x-webhooks: type: string enum: - updated - enterprise: *740 - installation: *741 - organization: *742 + enterprise: *742 + installation: *743 + organization: *744 registry_package: type: object properties: @@ -219077,7 +219577,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: *779 + items: *781 summary: type: string tag_name: @@ -219126,7 +219626,7 @@ x-webhooks: - owner - package_version - registry - repository: *743 + repository: *745 sender: *4 required: - action @@ -219203,10 +219703,10 @@ x-webhooks: type: string enum: - created - enterprise: *740 - installation: *741 - organization: *742 - release: &799 + enterprise: *742 + installation: *743 + organization: *744 + release: &801 title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) object. @@ -219524,7 +220024,7 @@ x-webhooks: - updated_at - zipball_url - body - repository: *743 + repository: *745 sender: *4 required: - action @@ -219601,11 +220101,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *740 - installation: *741 - organization: *742 - release: *799 - repository: *743 + enterprise: *742 + installation: *743 + organization: *744 + release: *801 + repository: *745 sender: *4 required: - action @@ -219722,11 +220222,11 @@ x-webhooks: type: boolean required: - to - enterprise: *740 - installation: *741 - organization: *742 - release: *799 - repository: *743 + enterprise: *742 + installation: *743 + organization: *744 + release: *801 + repository: *745 sender: *4 required: - action @@ -219804,9 +220304,9 @@ x-webhooks: type: string enum: - prereleased - enterprise: *740 - installation: *741 - organization: *742 + enterprise: *742 + installation: *743 + organization: *744 release: title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) @@ -220128,7 +220628,7 @@ x-webhooks: type: string nullable: true format: uri - repository: *743 + repository: *745 sender: *4 required: - action @@ -220204,10 +220704,10 @@ x-webhooks: type: string enum: - published - enterprise: *740 - installation: *741 - organization: *742 - release: &800 + enterprise: *742 + installation: *743 + organization: *744 + release: &802 title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) object. @@ -220526,7 +221026,7 @@ x-webhooks: type: string nullable: true format: uri - repository: *743 + repository: *745 sender: *4 required: - action @@ -220602,11 +221102,11 @@ x-webhooks: type: string enum: - released - enterprise: *740 - installation: *741 - organization: *742 - release: *799 - repository: *743 + enterprise: *742 + installation: *743 + organization: *744 + release: *801 + repository: *745 sender: *4 required: - action @@ -220682,11 +221182,11 @@ x-webhooks: type: string enum: - unpublished - enterprise: *740 - installation: *741 - organization: *742 - release: *800 - repository: *743 + enterprise: *742 + installation: *743 + organization: *744 + release: *802 + repository: *745 sender: *4 required: - action @@ -220762,11 +221262,11 @@ x-webhooks: type: string enum: - published - enterprise: *740 - installation: *741 - organization: *742 - repository: *743 - repository_advisory: *663 + enterprise: *742 + installation: *743 + organization: *744 + repository: *745 + repository_advisory: *665 sender: *4 required: - action @@ -220842,11 +221342,11 @@ x-webhooks: type: string enum: - reported - enterprise: *740 - installation: *741 - organization: *742 - repository: *743 - repository_advisory: *663 + enterprise: *742 + installation: *743 + organization: *744 + repository: *745 + repository_advisory: *665 sender: *4 required: - action @@ -220922,10 +221422,10 @@ x-webhooks: type: string enum: - archived - enterprise: *740 - installation: *741 - organization: *742 - repository: *743 + enterprise: *742 + installation: *743 + organization: *744 + repository: *745 sender: *4 required: - action @@ -221002,10 +221502,10 @@ x-webhooks: type: string enum: - created - enterprise: *740 - installation: *741 - organization: *742 - repository: *743 + enterprise: *742 + installation: *743 + organization: *744 + repository: *745 sender: *4 required: - action @@ -221083,10 +221583,10 @@ x-webhooks: type: string enum: - deleted - enterprise: *740 - installation: *741 - organization: *742 - repository: *743 + enterprise: *742 + installation: *743 + organization: *744 + repository: *745 sender: *4 required: - action @@ -221170,10 +221670,10 @@ x-webhooks: additionalProperties: true description: The `client_payload` that was specified in the `POST /repos/{owner}/{repo}/dispatches` request body. - enterprise: *740 - installation: *741 - organization: *742 - repository: *743 + enterprise: *742 + installation: *743 + organization: *744 + repository: *745 sender: *4 required: - action @@ -221285,10 +221785,10 @@ x-webhooks: nullable: true items: type: string - enterprise: *740 - installation: *741 - organization: *742 - repository: *743 + enterprise: *742 + installation: *743 + organization: *744 + repository: *745 sender: *4 required: - action @@ -221360,10 +221860,10 @@ x-webhooks: title: repository_import event type: object properties: - enterprise: *740 - installation: *741 - organization: *742 - repository: *743 + enterprise: *742 + installation: *743 + organization: *744 + repository: *745 sender: *4 status: type: string @@ -221444,10 +221944,10 @@ x-webhooks: type: string enum: - privatized - enterprise: *740 - installation: *741 - organization: *742 - repository: *743 + enterprise: *742 + installation: *743 + organization: *744 + repository: *745 sender: *4 required: - action @@ -221524,10 +222024,10 @@ x-webhooks: type: string enum: - publicized - enterprise: *740 - installation: *741 - organization: *742 - repository: *743 + enterprise: *742 + installation: *743 + organization: *744 + repository: *745 sender: *4 required: - action @@ -221621,10 +222121,10 @@ x-webhooks: - name required: - repository - enterprise: *740 - installation: *741 - organization: *742 - repository: *743 + enterprise: *742 + installation: *743 + organization: *744 + repository: *745 sender: *4 required: - action @@ -221704,11 +222204,11 @@ x-webhooks: type: string enum: - created - enterprise: *740 - installation: *741 - organization: *742 - repository: *743 - repository_ruleset: *324 + enterprise: *742 + installation: *743 + organization: *744 + repository: *745 + repository_ruleset: *326 sender: *4 required: - action @@ -221786,11 +222286,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *740 - installation: *741 - organization: *742 - repository: *743 - repository_ruleset: *324 + enterprise: *742 + installation: *743 + organization: *744 + repository: *745 + repository_ruleset: *326 sender: *4 required: - action @@ -221868,11 +222368,11 @@ x-webhooks: type: string enum: - edited - enterprise: *740 - installation: *741 - organization: *742 - repository: *743 - repository_ruleset: *324 + enterprise: *742 + installation: *743 + organization: *744 + repository: *745 + repository_ruleset: *326 changes: type: object properties: @@ -221891,16 +222391,16 @@ x-webhooks: properties: added: type: array - items: *298 + items: *300 deleted: type: array - items: *298 + items: *300 updated: type: array items: type: object properties: - condition: *298 + condition: *300 changes: type: object properties: @@ -221933,16 +222433,16 @@ x-webhooks: properties: added: type: array - items: *616 + items: *618 deleted: type: array - items: *616 + items: *618 updated: type: array items: type: object properties: - rule: *616 + rule: *618 changes: type: object properties: @@ -222176,10 +222676,10 @@ x-webhooks: - from required: - owner - enterprise: *740 - installation: *741 - organization: *742 - repository: *743 + enterprise: *742 + installation: *743 + organization: *744 + repository: *745 sender: *4 required: - action @@ -222257,10 +222757,10 @@ x-webhooks: type: string enum: - unarchived - enterprise: *740 - installation: *741 - organization: *742 - repository: *743 + enterprise: *742 + installation: *743 + organization: *744 + repository: *745 sender: *4 required: - action @@ -222338,7 +222838,7 @@ x-webhooks: type: string enum: - create - alert: &801 + alert: &803 title: Repository Vulnerability Alert Alert description: The security alert of the vulnerable dependency. type: object @@ -222460,10 +222960,10 @@ x-webhooks: enum: - auto_dismissed - open - enterprise: *740 - installation: *741 - organization: *742 - repository: *743 + enterprise: *742 + installation: *743 + organization: *744 + repository: *745 sender: *4 required: - action @@ -222669,10 +223169,10 @@ x-webhooks: type: string enum: - dismissed - enterprise: *740 - installation: *741 - organization: *742 - repository: *743 + enterprise: *742 + installation: *743 + organization: *744 + repository: *745 sender: *4 required: - action @@ -222750,11 +223250,11 @@ x-webhooks: type: string enum: - reopen - alert: *801 - enterprise: *740 - installation: *741 - organization: *742 - repository: *743 + alert: *803 + enterprise: *742 + installation: *743 + organization: *744 + repository: *745 sender: *4 required: - action @@ -222953,10 +223453,10 @@ x-webhooks: enum: - fixed - open - enterprise: *740 - installation: *741 - organization: *742 - repository: *743 + enterprise: *742 + installation: *743 + organization: *744 + repository: *745 sender: *4 required: - action @@ -223034,11 +223534,11 @@ x-webhooks: type: string enum: - assigned - alert: &802 + alert: &804 type: object properties: - number: *177 - created_at: *178 + number: *179 + created_at: *180 updated_at: type: string description: 'The time that the alert was last updated in ISO @@ -223046,8 +223546,8 @@ x-webhooks: format: date-time readOnly: true nullable: true - url: *180 - html_url: *181 + url: *182 + html_url: *183 locations_url: type: string format: uri @@ -223177,10 +223677,10 @@ x-webhooks: required: *21 nullable: true assignee: *4 - enterprise: *740 - installation: *741 - organization: *742 - repository: *743 + enterprise: *742 + installation: *743 + organization: *744 + repository: *745 sender: *4 required: - action @@ -223258,11 +223758,11 @@ x-webhooks: type: string enum: - created - alert: *802 - enterprise: *740 - installation: *741 - organization: *742 - repository: *743 + alert: *804 + enterprise: *742 + installation: *743 + organization: *744 + repository: *745 sender: *4 required: - action @@ -223343,11 +223843,11 @@ x-webhooks: type: string enum: - created - alert: *802 - installation: *741 - location: *803 - organization: *742 - repository: *743 + alert: *804 + installation: *743 + location: *805 + organization: *744 + repository: *745 sender: *4 required: - location @@ -223585,11 +224085,11 @@ x-webhooks: type: string enum: - publicly_leaked - alert: *802 - enterprise: *740 - installation: *741 - organization: *742 - repository: *743 + alert: *804 + enterprise: *742 + installation: *743 + organization: *744 + repository: *745 sender: *4 required: - action @@ -223667,11 +224167,11 @@ x-webhooks: type: string enum: - reopened - alert: *802 - enterprise: *740 - installation: *741 - organization: *742 - repository: *743 + alert: *804 + enterprise: *742 + installation: *743 + organization: *744 + repository: *745 sender: *4 required: - action @@ -223749,11 +224249,11 @@ x-webhooks: type: string enum: - resolved - alert: *802 - enterprise: *740 - installation: *741 - organization: *742 - repository: *743 + alert: *804 + enterprise: *742 + installation: *743 + organization: *744 + repository: *745 sender: *4 required: - action @@ -223831,12 +224331,12 @@ x-webhooks: type: string enum: - unassigned - alert: *802 + alert: *804 assignee: *4 - enterprise: *740 - installation: *741 - organization: *742 - repository: *743 + enterprise: *742 + installation: *743 + organization: *744 + repository: *745 sender: *4 required: - action @@ -223914,11 +224414,11 @@ x-webhooks: type: string enum: - validated - alert: *802 - enterprise: *740 - installation: *741 - organization: *742 - repository: *743 + alert: *804 + enterprise: *742 + installation: *743 + organization: *744 + repository: *745 sender: *4 required: - action @@ -224044,10 +224544,10 @@ x-webhooks: - organization - enterprise nullable: true - repository: *743 - enterprise: *740 - installation: *741 - organization: *742 + repository: *745 + enterprise: *742 + installation: *743 + organization: *744 sender: *4 required: - action @@ -224125,11 +224625,11 @@ x-webhooks: type: string enum: - published - enterprise: *740 - installation: *741 - organization: *742 - repository: *743 - security_advisory: &804 + enterprise: *742 + installation: *743 + organization: *744 + repository: *745 + security_advisory: &806 description: The details of the security advisory, including summary, description, and severity. type: object @@ -224300,11 +224800,11 @@ x-webhooks: type: string enum: - updated - enterprise: *740 - installation: *741 - organization: *742 - repository: *743 - security_advisory: *804 + enterprise: *742 + installation: *743 + organization: *744 + repository: *745 + security_advisory: *806 sender: *4 required: - action @@ -224377,10 +224877,10 @@ x-webhooks: type: string enum: - withdrawn - enterprise: *740 - installation: *741 - organization: *742 - repository: *743 + enterprise: *742 + installation: *743 + organization: *744 + repository: *745 security_advisory: description: The details of the security advisory, including summary, description, and severity. @@ -224552,11 +225052,11 @@ x-webhooks: from: type: object properties: - security_and_analysis: *297 - enterprise: *740 - installation: *741 - organization: *742 - repository: *345 + security_and_analysis: *299 + enterprise: *742 + installation: *743 + organization: *744 + repository: *347 sender: *4 required: - changes @@ -224634,12 +225134,12 @@ x-webhooks: type: string enum: - cancelled - enterprise: *740 - installation: *741 - organization: *742 - repository: *743 + enterprise: *742 + installation: *743 + organization: *744 + repository: *745 sender: *4 - sponsorship: &805 + sponsorship: &807 type: object properties: created_at: @@ -224940,12 +225440,12 @@ x-webhooks: type: string enum: - created - enterprise: *740 - installation: *741 - organization: *742 - repository: *743 + enterprise: *742 + installation: *743 + organization: *744 + repository: *745 sender: *4 - sponsorship: *805 + sponsorship: *807 required: - action - sponsorship @@ -225033,12 +225533,12 @@ x-webhooks: type: string required: - from - enterprise: *740 - installation: *741 - organization: *742 - repository: *743 + enterprise: *742 + installation: *743 + organization: *744 + repository: *745 sender: *4 - sponsorship: *805 + sponsorship: *807 required: - action - changes @@ -225115,17 +225615,17 @@ x-webhooks: type: string enum: - pending_cancellation - effective_date: &806 + effective_date: &808 description: The `pending_cancellation` and `pending_tier_change` event types will include the date the cancellation or tier change will take effect. type: string - enterprise: *740 - installation: *741 - organization: *742 - repository: *743 + enterprise: *742 + installation: *743 + organization: *744 + repository: *745 sender: *4 - sponsorship: *805 + sponsorship: *807 required: - action - sponsorship @@ -225199,7 +225699,7 @@ x-webhooks: type: string enum: - pending_tier_change - changes: &807 + changes: &809 type: object properties: tier: @@ -225243,13 +225743,13 @@ x-webhooks: - from required: - tier - effective_date: *806 - enterprise: *740 - installation: *741 - organization: *742 - repository: *743 + effective_date: *808 + enterprise: *742 + installation: *743 + organization: *744 + repository: *745 sender: *4 - sponsorship: *805 + sponsorship: *807 required: - action - changes @@ -225326,13 +225826,13 @@ x-webhooks: type: string enum: - tier_changed - changes: *807 - enterprise: *740 - installation: *741 - organization: *742 - repository: *743 + changes: *809 + enterprise: *742 + installation: *743 + organization: *744 + repository: *745 sender: *4 - sponsorship: *805 + sponsorship: *807 required: - action - changes @@ -225406,10 +225906,10 @@ x-webhooks: type: string enum: - created - enterprise: *740 - installation: *741 - organization: *742 - repository: *743 + enterprise: *742 + installation: *743 + organization: *744 + repository: *745 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -225492,10 +225992,10 @@ x-webhooks: type: string enum: - deleted - enterprise: *740 - installation: *741 - organization: *742 - repository: *743 + enterprise: *742 + installation: *743 + organization: *744 + repository: *745 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -225915,15 +226415,15 @@ x-webhooks: status. type: string nullable: true - enterprise: *740 + enterprise: *742 id: description: The unique identifier of the status. type: integer - installation: *741 + installation: *743 name: type: string - organization: *742 - repository: *743 + organization: *744 + repository: *745 sender: *4 sha: description: The Commit SHA. @@ -226032,15 +226532,15 @@ x-webhooks: parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *86 - parent_issue_repo: *80 + parent_issue: *88 + parent_issue_repo: *82 sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *86 - installation: *741 - organization: *742 - repository: *743 + sub_issue: *88 + installation: *743 + organization: *744 + repository: *745 sender: *4 required: - action @@ -226124,15 +226624,15 @@ x-webhooks: parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *86 - parent_issue_repo: *80 + parent_issue: *88 + parent_issue_repo: *82 sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *86 - installation: *741 - organization: *742 - repository: *743 + sub_issue: *88 + installation: *743 + organization: *744 + repository: *745 sender: *4 required: - action @@ -226216,15 +226716,15 @@ x-webhooks: sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *86 - sub_issue_repo: *80 + sub_issue: *88 + sub_issue_repo: *82 parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *86 - installation: *741 - organization: *742 - repository: *743 + parent_issue: *88 + installation: *743 + organization: *744 + repository: *745 sender: *4 required: - action @@ -226308,15 +226808,15 @@ x-webhooks: sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *86 - sub_issue_repo: *80 + sub_issue: *88 + sub_issue_repo: *82 parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *86 - installation: *741 - organization: *742 - repository: *743 + parent_issue: *88 + installation: *743 + organization: *744 + repository: *745 sender: *4 required: - action @@ -226393,12 +226893,12 @@ x-webhooks: title: team_add event type: object properties: - enterprise: *740 - installation: *741 - organization: *742 - repository: *743 + enterprise: *742 + installation: *743 + organization: *744 + repository: *745 sender: *4 - team: &808 + team: &810 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -226621,9 +227121,9 @@ x-webhooks: type: string enum: - added_to_repository - enterprise: *740 - installation: *741 - organization: *742 + enterprise: *742 + installation: *743 + organization: *744 repository: title: Repository description: A git repository @@ -227081,7 +227581,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *808 + team: *810 required: - action - team @@ -227157,9 +227657,9 @@ x-webhooks: type: string enum: - created - enterprise: *740 - installation: *741 - organization: *742 + enterprise: *742 + installation: *743 + organization: *744 repository: title: Repository description: A git repository @@ -227617,7 +228117,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *808 + team: *810 required: - action - team @@ -227694,9 +228194,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *740 - installation: *741 - organization: *742 + enterprise: *742 + installation: *743 + organization: *744 repository: title: Repository description: A git repository @@ -228154,7 +228654,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *808 + team: *810 required: - action - team @@ -228298,9 +228798,9 @@ x-webhooks: - from required: - permissions - enterprise: *740 - installation: *741 - organization: *742 + enterprise: *742 + installation: *743 + organization: *744 repository: title: Repository description: A git repository @@ -228758,7 +229258,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *808 + team: *810 required: - action - changes @@ -228836,9 +229336,9 @@ x-webhooks: type: string enum: - removed_from_repository - enterprise: *740 - installation: *741 - organization: *742 + enterprise: *742 + installation: *743 + organization: *744 repository: title: Repository description: A git repository @@ -229296,7 +229796,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *808 + team: *810 required: - action - team @@ -229372,10 +229872,10 @@ x-webhooks: type: string enum: - started - enterprise: *740 - installation: *741 - organization: *742 - repository: *743 + enterprise: *742 + installation: *743 + organization: *744 + repository: *745 sender: *4 required: - action @@ -229448,16 +229948,16 @@ x-webhooks: title: workflow_dispatch event type: object properties: - enterprise: *740 + enterprise: *742 inputs: type: object nullable: true additionalProperties: true - installation: *741 - organization: *742 + installation: *743 + organization: *744 ref: type: string - repository: *743 + repository: *745 sender: *4 workflow: type: string @@ -229539,10 +230039,10 @@ x-webhooks: type: string enum: - completed - enterprise: *740 - installation: *741 - organization: *742 - repository: *743 + enterprise: *742 + installation: *743 + organization: *744 + repository: *745 sender: *4 workflow_job: allOf: @@ -229779,7 +230279,7 @@ x-webhooks: type: string required: - conclusion - deployment: *506 + deployment: *508 required: - action - repository @@ -229858,10 +230358,10 @@ x-webhooks: type: string enum: - in_progress - enterprise: *740 - installation: *741 - organization: *742 - repository: *743 + enterprise: *742 + installation: *743 + organization: *744 + repository: *745 sender: *4 workflow_job: allOf: @@ -230121,7 +230621,7 @@ x-webhooks: required: - status - steps - deployment: *506 + deployment: *508 required: - action - repository @@ -230200,10 +230700,10 @@ x-webhooks: type: string enum: - queued - enterprise: *740 - installation: *741 - organization: *742 - repository: *743 + enterprise: *742 + installation: *743 + organization: *744 + repository: *745 sender: *4 workflow_job: type: object @@ -230338,7 +230838,7 @@ x-webhooks: - workflow_name - head_branch - created_at - deployment: *506 + deployment: *508 required: - action - repository @@ -230417,10 +230917,10 @@ x-webhooks: type: string enum: - waiting - enterprise: *740 - installation: *741 - organization: *742 - repository: *743 + enterprise: *742 + installation: *743 + organization: *744 + repository: *745 sender: *4 workflow_job: type: object @@ -230556,7 +231056,7 @@ x-webhooks: - workflow_name - head_branch - created_at - deployment: *506 + deployment: *508 required: - action - repository @@ -230636,12 +231136,12 @@ x-webhooks: type: string enum: - completed - enterprise: *740 - installation: *741 - organization: *742 - repository: *743 + enterprise: *742 + installation: *743 + organization: *744 + repository: *745 sender: *4 - workflow: *757 + workflow: *759 workflow_run: title: Workflow Run type: object @@ -231640,12 +232140,12 @@ x-webhooks: type: string enum: - in_progress - enterprise: *740 - installation: *741 - organization: *742 - repository: *743 + enterprise: *742 + installation: *743 + organization: *744 + repository: *745 sender: *4 - workflow: *757 + workflow: *759 workflow_run: title: Workflow Run type: object @@ -232629,12 +233129,12 @@ x-webhooks: type: string enum: - requested - enterprise: *740 - installation: *741 - organization: *742 - repository: *743 + enterprise: *742 + installation: *743 + organization: *744 + repository: *745 sender: *4 - workflow: *757 + workflow: *759 workflow_run: title: Workflow Run type: object diff --git a/descriptions/api.github.com/dereferenced/api.github.com.deref.json b/descriptions/api.github.com/dereferenced/api.github.com.deref.json index 738780d88f..7ec8f6e421 100644 --- a/descriptions/api.github.com/dereferenced/api.github.com.deref.json +++ b/descriptions/api.github.com/dereferenced/api.github.com.deref.json @@ -25222,6 +25222,905 @@ } } }, + "/enterprises/{enterprise}/dependabot/repository-access": { + "get": { + "summary": "Lists the repositories Dependabot can access in an enterprise", + "description": "Lists repositories that enterprise admins have allowed Dependabot to access when updating dependencies across organizations in the enterprise.\n\nThe authenticated user must be an enterprise owner to use this endpoint.", + "tags": [ + "dependabot" + ], + "operationId": "dependabot/repository-access-for-enterprise", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/dependabot/repository-access#lists-the-repositories-dependabot-can-access-in-an-enterprise" + }, + "parameters": [ + { + "name": "enterprise", + "description": "The slug version of the enterprise name.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "page", + "in": "query", + "description": "The page number of results to fetch.", + "required": false, + "schema": { + "type": "integer", + "minimum": 1, + "default": 1 + } + }, + { + "name": "per_page", + "in": "query", + "description": "Number of results per page.", + "required": false, + "schema": { + "type": "integer", + "minimum": 1, + "maximum": 100, + "default": 30 + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "title": "Dependabot Repository Access Details", + "description": "Information about repositories that Dependabot is able to access in an organization", + "type": "object", + "properties": { + "default_level": { + "type": "string", + "description": "The default repository access level for Dependabot updates.", + "enum": [ + "public", + "internal" + ], + "example": "internal", + "nullable": true + }, + "accessible_repositories": { + "type": "array", + "items": { + "title": "Simple Repository", + "description": "A GitHub repository.", + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "example": 1296269, + "description": "A unique identifier of the repository." + }, + "node_id": { + "type": "string", + "example": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5", + "description": "The GraphQL identifier of the repository." + }, + "name": { + "type": "string", + "example": "Hello-World", + "description": "The name of the repository." + }, + "full_name": { + "type": "string", + "example": "octocat/Hello-World", + "description": "The full, globally unique, name of the repository." + }, + "owner": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "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" + ] + }, + "private": { + "type": "boolean", + "description": "Whether the repository is private." + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat/Hello-World", + "description": "The URL to view the repository on GitHub.com." + }, + "description": { + "type": "string", + "example": "This your first repo!", + "nullable": true, + "description": "The repository description." + }, + "fork": { + "type": "boolean", + "description": "Whether the repository is a fork." + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octocat/Hello-World", + "description": "The URL to get more information about the repository from the GitHub API." + }, + "archive_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}", + "description": "A template for the API URL to download the repository as an archive." + }, + "assignees_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/assignees{/user}", + "description": "A template for the API URL to list the available assignees for issues in the repository." + }, + "blobs_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}", + "description": "A template for the API URL to create or retrieve a raw Git blob in the repository." + }, + "branches_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/branches{/branch}", + "description": "A template for the API URL to get information about branches in the repository." + }, + "collaborators_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}", + "description": "A template for the API URL to get information about collaborators of the repository." + }, + "comments_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/comments{/number}", + "description": "A template for the API URL to get information about comments on the repository." + }, + "commits_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/commits{/sha}", + "description": "A template for the API URL to get information about commits on the repository." + }, + "compare_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}", + "description": "A template for the API URL to compare two commits or refs." + }, + "contents_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/contents/{+path}", + "description": "A template for the API URL to get the contents of the repository." + }, + "contributors_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octocat/Hello-World/contributors", + "description": "A template for the API URL to list the contributors to the repository." + }, + "deployments_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octocat/Hello-World/deployments", + "description": "The API URL to list the deployments of the repository." + }, + "downloads_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octocat/Hello-World/downloads", + "description": "The API URL to list the downloads on the repository." + }, + "events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octocat/Hello-World/events", + "description": "The API URL to list the events of the repository." + }, + "forks_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octocat/Hello-World/forks", + "description": "The API URL to list the forks of the repository." + }, + "git_commits_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/git/commits{/sha}", + "description": "A template for the API URL to get information about Git commits of the repository." + }, + "git_refs_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/git/refs{/sha}", + "description": "A template for the API URL to get information about Git refs of the repository." + }, + "git_tags_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/git/tags{/sha}", + "description": "A template for the API URL to get information about Git tags of the repository." + }, + "issue_comment_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/issues/comments{/number}", + "description": "A template for the API URL to get information about issue comments on the repository." + }, + "issue_events_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/issues/events{/number}", + "description": "A template for the API URL to get information about issue events on the repository." + }, + "issues_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/issues{/number}", + "description": "A template for the API URL to get information about issues on the repository." + }, + "keys_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/keys{/key_id}", + "description": "A template for the API URL to get information about deploy keys on the repository." + }, + "labels_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/labels{/name}", + "description": "A template for the API URL to get information about labels of the repository." + }, + "languages_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octocat/Hello-World/languages", + "description": "The API URL to get information about the languages of the repository." + }, + "merges_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octocat/Hello-World/merges", + "description": "The API URL to merge branches in the repository." + }, + "milestones_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/milestones{/number}", + "description": "A template for the API URL to get information about milestones of the repository." + }, + "notifications_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}", + "description": "A template for the API URL to get information about notifications on the repository." + }, + "pulls_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/pulls{/number}", + "description": "A template for the API URL to get information about pull requests on the repository." + }, + "releases_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/releases{/id}", + "description": "A template for the API URL to get information about releases on the repository." + }, + "stargazers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octocat/Hello-World/stargazers", + "description": "The API URL to list the stargazers on the repository." + }, + "statuses_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/statuses/{sha}", + "description": "A template for the API URL to get information about statuses of a commit." + }, + "subscribers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octocat/Hello-World/subscribers", + "description": "The API URL to list the subscribers on the repository." + }, + "subscription_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octocat/Hello-World/subscription", + "description": "The API URL to subscribe to notifications for this repository." + }, + "tags_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octocat/Hello-World/tags", + "description": "The API URL to get information about tags on the repository." + }, + "teams_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octocat/Hello-World/teams", + "description": "The API URL to list the teams on the repository." + }, + "trees_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/git/trees{/sha}", + "description": "A template for the API URL to create or retrieve a raw Git tree of the repository." + }, + "hooks_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octocat/Hello-World/hooks", + "description": "The API URL to list the hooks on the 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" + ], + "nullable": true + } + } + }, + "additionalProperties": false + }, + "examples": { + "default": { + "value": { + "default_level": "public", + "accessible_repositories": [ + { + "id": 123456, + "node_id": "MDEwOlJlcG9zaXRvcnkxMjM0NTY=", + "name": "example-repo", + "full_name": "octocat/example-repo", + "owner": { + "name": "octocat", + "email": "octo@github.com", + "login": "octocat", + "id": 1, + "node_id": "MDQ6VXNlcjE=", + "avatar_url": "https://avatars.githubusercontent.com/u/1?v=4", + "gravatar_id": 1, + "url": "https://api.github.com/users/octocat", + "html_url": "https://github.com/octocat/example-repo", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "starred_url": "https://api.github.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, + "starred_at": "\"2020-07-09T00:17:55Z\"", + "user_view_type": "default" + }, + "private": false, + "html_url": "https://github.com/octocat/example-repo", + "description": "This is an example repository.", + "fork": false, + "url": "https://api.github.com/repos/octocat/example-repo", + "archive_url": "https://api.github.com/repos/octocat/example-repo/{archive_format}{/ref}", + "assignees_url": "https://api.github.com/repos/octocat/example-repo/assignees{/user}", + "blobs_url": "https://api.github.com/repos/octocat/example-repo/git/blobs{/sha}", + "branches_url": "https://api.github.com/repos/octocat/example-repo/branches{/branch}", + "collaborators_url": "https://api.github.com/repos/octocat/example-repo/collaborators{/collaborator}", + "comments_url": "https://api.github.com/repos/octocat/example-repo/comments{/number}", + "commits_url": "https://api.github.com/repos/octocat/example-repo/commits{/sha}", + "compare_url": "https://api.github.com/repos/octocat/example-repo/compare/{base}...{head}", + "contents_url": "https://api.github.com/repos/octocat/example-repo/contents/{+path}", + "contributors_url": "https://api.github.com/repos/octocat/example-repo/contributors", + "deployments_url": "https://api.github.com/repos/octocat/example-repo/deployments", + "downloads_url": "https://api.github.com/repos/octocat/example-repo/downloads", + "events_url": "https://api.github.com/repos/octocat/example-repo/events", + "forks_url": "https://api.github.com/repos/octocat/example-repo/forks", + "git_commits_url": "https://api.github.com/repos/octocat/example-repo/git/commits{/sha}", + "git_refs_url": "https://api.github.com/repos/octocat/example-repo/git/refs{/sha}", + "git_tags_url": "https://api.github.com/repos/octocat/example-repo/git/tags{/sha}", + "issue_comment_url": "https://api.github.com/repos/octocat/example-repo/issues/comments{/number}", + "issue_events_url": "https://api.github.com/repos/octocat/example-repo/issues/events{/number}", + "issues_url": "https://api.github.com/repos/octocat/example-repo/issues{/number}", + "keys_url": "https://api.github.com/repos/octocat/example-repo/keys{/key_id}", + "labels_url": "https://api.github.com/repos/octocat/example-repo/labels{/name}", + "languages_url": "https://api.github.com/repos/octocat/example-repo/languages", + "merges_url": "https://api.github.com/repos/octocat/example-repo/merges", + "milestones_url": "https://api.github.com/repos/octocat/example-repo/milestones{/number}", + "notifications_url": "https://api.github.com/repos/octocat/example-repo/notifications{?since,all,participating}", + "pulls_url": "https://api.github.com/repos/octocat/example-repo/pulls{/number}", + "releases_url": "https://api.github.com/repos/octocat/example-repo/releases{/id}", + "stargazers_url": "https://api.github.com/repos/octocat/example-repo/stargazers", + "statuses_url": "https://api.github.com/repos/octocat/example-repo/statuses/{sha}", + "subscribers_url": "https://api.github.com/repos/octocat/example-repo/subscribers", + "subscription_url": "https://api.github.com/repos/octocat/example-repo/subscription", + "tags_url": "https://api.github.com/repos/octocat/example-repo/tags", + "teams_url": "https://api.github.com/repos/octocat/example-repo/teams", + "trees_url": "https://api.github.com/repos/octocat/example-repo/git/trees{/sha}", + "hooks_url": "https://api.github.com/repos/octocat/example-repo/hooks" + } + ] + } + } + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "404": { + "description": "Resource not found", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": false, + "category": "dependabot", + "subcategory": "repository-access" + } + }, + "patch": { + "summary": "Updates Dependabot's repository access list for an enterprise", + "description": "Updates repositories according to the list of repositories that enterprise admins have given Dependabot access to when they've updated dependencies across organizations in the enterprise.\n\nThe authenticated user must be an enterprise owner to use this endpoint.\n\n**Example request body:**\n```json\n{\n \"repository_ids_to_add\": [123, 456],\n \"repository_ids_to_remove\": [789]\n}\n```", + "tags": [ + "dependabot" + ], + "operationId": "dependabot/update-repository-access-for-enterprise", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/dependabot/repository-access#updates-dependabots-repository-access-list-for-an-enterprise" + }, + "parameters": [ + { + "name": "enterprise", + "description": "The slug version of the enterprise name.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "repository_ids_to_add": { + "type": "array", + "items": { + "type": "integer" + }, + "description": "List of repository IDs to add." + }, + "repository_ids_to_remove": { + "type": "array", + "items": { + "type": "integer" + }, + "description": "List of repository IDs to remove." + } + }, + "example": { + "repository_ids_to_add": [ + 123, + 456 + ], + "repository_ids_to_remove": [ + 789 + ] + } + }, + "examples": { + "204": { + "summary": "Example with a 'succeeded' status." + }, + "add-example": { + "summary": "Add repositories", + "value": { + "repository_ids_to_add": [ + 123, + 456 + ] + } + }, + "remove-example": { + "summary": "Remove repositories", + "value": { + "repository_ids_to_remove": [ + 789 + ] + } + } + } + } + } + }, + "responses": { + "204": { + "description": "Response" + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "404": { + "description": "Resource not found", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": false, + "category": "dependabot", + "subcategory": "repository-access" + } + } + }, + "/enterprises/{enterprise}/dependabot/repository-access/default-level": { + "put": { + "summary": "Set the default repository access level for Dependabot in an enterprise", + "description": "Sets the default level of repository access Dependabot will have while performing an update across organizations in the enterprise. Available values are:\n- 'public' - Dependabot will only have access to public repositories, unless access is explicitly granted to non-public repositories.\n- 'internal' - Dependabot will only have access to public and internal repositories, unless access is explicitly granted to private repositories.\n\nThe authenticated user must be an enterprise owner to use this endpoint.", + "tags": [ + "dependabot" + ], + "operationId": "dependabot/set-repository-access-default-level-for-enterprise", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/dependabot/repository-access#set-the-default-repository-access-level-for-dependabot-in-an-enterprise" + }, + "parameters": [ + { + "name": "enterprise", + "description": "The slug version of the enterprise name.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "default_level": { + "type": "string", + "description": "The default repository access level for Dependabot updates.", + "enum": [ + "public", + "internal" + ], + "example": "internal" + } + }, + "required": [ + "default_level" + ] + }, + "examples": { + "204": { + "summary": "Example with a 'succeeded' status.", + "value": { + "default_level": "public" + } + } + } + } + } + }, + "responses": { + "204": { + "description": "Response" + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "404": { + "description": "Resource not found", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": false, + "category": "dependabot", + "subcategory": "repository-access" + } + } + }, "/enterprises/{enterprise}/teams": { "get": { "summary": "List enterprise teams", @@ -102315,6 +103214,9 @@ "schema": { "type": "object", "additionalProperties": false, + "required": [ + "selected_repository_ids" + ], "properties": { "selected_repository_ids": { "type": "array", @@ -966277,567 +967179,8191 @@ "subscriptions_url", "type", "url" - ], - "nullable": true + ], + "nullable": true + } + }, + "required": [ + "pinned_at", + "pinned_by" + ], + "nullable": true + } + }, + "required": [ + "id", + "node_id", + "html_url", + "issue_url", + "user", + "url", + "created_at", + "updated_at" + ], + "nullable": true + }, + "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_field_values": { + "type": "array", + "items": { + "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", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "IFT_GDKND" + }, + "data_type": { + "description": "The data type of the issue field", + "type": "string", + "enum": [ + "text", + "single_select", + "number", + "date" + ], + "example": "text" + }, + "value": { + "description": "The value of the issue field", + "anyOf": [ + { + "type": "string", + "example": "Sample text" + }, + { + "type": "number", + "example": 42.5 + }, + { + "type": "integer", + "example": 1 + } + ], + "nullable": true + }, + "single_select_option": { + "description": "Details about the selected option (only present for single_select fields)", + "type": "object", + "properties": { + "id": { + "description": "Unique identifier for the option.", + "type": "integer", + "format": "int64", + "example": 1 + }, + "name": { + "description": "The name of the option", + "type": "string", + "example": "High" + }, + "color": { + "description": "The color of the option", + "type": "string", + "example": "red" + } + }, + "required": [ + "id", + "name", + "color" + ], + "nullable": true + } + }, + "required": [ + "issue_field_id", + "node_id", + "data_type", + "value" + ] + } + }, + "state": { + "description": "State of the issue; either 'open' or 'closed'", + "type": "string", + "enum": [ + "open", + "closed" + ] + }, + "state_reason": { + "type": "string", + "nullable": true + }, + "timeline_url": { + "type": "string", + "format": "uri" + }, + "title": { + "description": "Title of the issue", + "type": "string" + }, + "type": { + "title": "Issue Type", + "description": "The type of issue.", + "type": "object", + "nullable": true, + "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", + "description": "The description of the issue type.", + "nullable": true + }, + "color": { + "type": "string", + "description": "The color of the issue type.", + "enum": [ + "gray", + "blue", + "green", + "yellow", + "orange", + "red", + "pink", + "purple" + ], + "nullable": true + }, + "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" + ] + }, + "updated_at": { + "type": "string", + "format": "date-time" + }, + "url": { + "description": "URL for the issue", + "type": "string", + "format": "uri" + }, + "user": { + "title": "User", + "type": "object", + "nullable": true, + "properties": { + "avatar_url": { + "type": "string", + "format": "uri" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "type": "string", + "nullable": true + }, + "events_url": { + "type": "string", + "format": "uri-template" + }, + "followers_url": { + "type": "string", + "format": "uri" + }, + "following_url": { + "type": "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", + "nullable": true + }, + "assignee": { + "type": "object", + "nullable": true + }, + "assignees": { + "type": "array", + "items": { + "type": "object", + "nullable": true + } + }, + "author_association": { + "type": "string" + }, + "body": { + "type": "string", + "nullable": true + }, + "closed_at": { + "type": "string", + "nullable": true + }, + "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", + "nullable": true + } + }, + "labels_url": { + "type": "string" + }, + "locked": { + "type": "boolean" + }, + "milestone": { + "type": "object", + "nullable": true + }, + "node_id": { + "type": "string" + }, + "number": { + "type": "integer" + }, + "performed_via_github_app": { + "type": "object", + "nullable": true + }, + "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": { + "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", + "example": "github" + }, + "id": { + "type": "integer", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDEyOk9yZ2FuaXphdGlvbjE=" + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/orgs/github" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/orgs/github/repos" + }, + "events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/orgs/github/events" + }, + "hooks_url": { + "type": "string", + "example": "https://api.github.com/orgs/github/hooks" + }, + "issues_url": { + "type": "string", + "example": "https://api.github.com/orgs/github/issues" + }, + "members_url": { + "type": "string", + "example": "https://api.github.com/orgs/github/members{/member}" + }, + "public_members_url": { + "type": "string", + "example": "https://api.github.com/orgs/github/public_members{/member}" + }, + "avatar_url": { + "type": "string", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "description": { + "type": "string", + "example": "A great organization", + "nullable": true + } + }, + "required": [ + "login", + "url", + "id", + "node_id", + "repos_url", + "events_url", + "hooks_url", + "issues_url", + "members_url", + "public_members_url", + "avatar_url", + "description" + ] + }, + "repository": { + "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", + "example": 42, + "type": "integer", + "format": "int64" + }, + "node_id": { + "type": "string", + "example": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" + }, + "name": { + "description": "The name of the repository.", + "type": "string", + "example": "Team Environment" + }, + "full_name": { + "type": "string", + "example": "octocat/Hello-World" + }, + "license": { + "title": "License Simple", + "description": "License Simple", + "type": "object", + "properties": { + "key": { + "type": "string", + "example": "mit" + }, + "name": { + "type": "string", + "example": "MIT License" + }, + "url": { + "type": "string", + "nullable": true, + "format": "uri", + "example": "https://api.github.com/licenses/mit" + }, + "spdx_id": { + "type": "string", + "nullable": true, + "example": "MIT" + }, + "node_id": { + "type": "string", + "example": "MDc6TGljZW5zZW1pdA==" + }, + "html_url": { + "type": "string", + "format": "uri" + } + }, + "required": [ + "key", + "name", + "url", + "spdx_id", + "node_id" + ], + "nullable": true + }, + "organization": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "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" + ], + "nullable": true + }, + "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": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "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" + ] + }, + "private": { + "description": "Whether the repository is private or public.", + "default": false, + "type": "boolean" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat/Hello-World" + }, + "description": { + "type": "string", + "example": "This your first repo!", + "nullable": true + }, + "fork": { + "type": "boolean" + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octocat/Hello-World" + }, + "archive_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}" + }, + "assignees_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/assignees{/user}" + }, + "blobs_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}" + }, + "branches_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/branches{/branch}" + }, + "collaborators_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}" + }, + "comments_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/comments{/number}" + }, + "commits_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/commits{/sha}" + }, + "compare_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}" + }, + "contents_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/contents/{+path}" + }, + "contributors_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/contributors" + }, + "deployments_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/deployments" + }, + "downloads_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/downloads" + }, + "events_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/events" + }, + "forks_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/forks" + }, + "git_commits_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}" + }, + "git_refs_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}" + }, + "git_tags_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}" + }, + "git_url": { + "type": "string", + "example": "git:github.com/octocat/Hello-World.git" + }, + "issue_comment_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}" + }, + "issue_events_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/issues/events{/number}" + }, + "issues_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/issues{/number}" + }, + "keys_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/keys{/key_id}" + }, + "labels_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/labels{/name}" + }, + "languages_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/languages" + }, + "merges_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/merges" + }, + "milestones_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/milestones{/number}" + }, + "notifications_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}" + }, + "pulls_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/pulls{/number}" + }, + "releases_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/releases{/id}" + }, + "ssh_url": { + "type": "string", + "example": "git@github.com:octocat/Hello-World.git" + }, + "stargazers_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/stargazers" + }, + "statuses_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/statuses/{sha}" + }, + "subscribers_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/subscribers" + }, + "subscription_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/subscription" + }, + "tags_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/tags" + }, + "teams_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/teams" + }, + "trees_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}" + }, + "clone_url": { + "type": "string", + "example": "https://github.com/octocat/Hello-World.git" + }, + "mirror_url": { + "type": "string", + "format": "uri", + "example": "git:git.example.com/octocat/Hello-World", + "nullable": true + }, + "hooks_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/hooks" + }, + "svn_url": { + "type": "string", + "format": "uri", + "example": "https://svn.github.com/octocat/Hello-World" + }, + "homepage": { + "type": "string", + "format": "uri", + "example": "https://github.com", + "nullable": true + }, + "language": { + "type": "string", + "nullable": true + }, + "forks_count": { + "type": "integer", + "example": 9 + }, + "stargazers_count": { + "type": "integer", + "example": 80 + }, + "watchers_count": { + "type": "integer", + "example": 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", + "example": 108 + }, + "default_branch": { + "description": "The default branch of the repository.", + "type": "string", + "example": "master" + }, + "open_issues_count": { + "type": "integer", + "example": 0 + }, + "is_template": { + "description": "Whether this repository acts as a template that can be used to generate new repositories.", + "default": false, + "type": "boolean", + "example": 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", + "example": true + }, + "has_projects": { + "description": "Whether projects are enabled.", + "default": true, + "type": "boolean", + "example": true + }, + "has_wiki": { + "description": "Whether the wiki is enabled.", + "default": true, + "type": "boolean", + "example": true + }, + "has_pages": { + "type": "boolean" + }, + "has_downloads": { + "description": "Whether downloads are enabled.", + "default": true, + "type": "boolean", + "example": true + }, + "has_discussions": { + "description": "Whether discussions are enabled.", + "default": false, + "type": "boolean", + "example": true + }, + "has_pull_requests": { + "description": "Whether pull requests are enabled.", + "default": true, + "type": "boolean", + "example": true + }, + "pull_request_creation_policy": { + "description": "The policy controlling who can create pull requests: all or collaborators_only.", + "type": "string", + "enum": [ + "all", + "collaborators_only" + ] + }, + "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", + "format": "date-time", + "example": "2011-01-26T19:06:43Z", + "nullable": true + }, + "created_at": { + "type": "string", + "format": "date-time", + "example": "2011-01-26T19:01:12Z", + "nullable": true + }, + "updated_at": { + "type": "string", + "format": "date-time", + "example": "2011-01-26T19:14:43Z", + "nullable": true + }, + "allow_rebase_merge": { + "description": "Whether to allow rebase merges for pull requests.", + "default": true, + "type": "boolean", + "example": true + }, + "template_repository": { + "nullable": true, + "type": "object", + "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", + "example": true + }, + "allow_auto_merge": { + "description": "Whether to allow Auto-merge to be used on pull requests.", + "default": false, + "type": "boolean", + "example": false + }, + "delete_branch_on_merge": { + "description": "Whether to delete head branches when pull requests are merged", + "default": false, + "type": "boolean", + "example": 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", + "example": 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", + "example": 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", + "example": "\"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" + ], + "x-github-breaking-changes": [ + { + "changeset": "remove_use_squash_pr_title_as_default", + "patch": { + "properties": { + "use_squash_pr_title_as_default": null, + "template_repository": { + "properties": { + "use_squash_pr_title_as_default": null + } + } + } + }, + "version": "2026-03-10" + }, + { + "changeset": "deprecate_beta_media_type", + "patch": { + "properties": { + "master_branch": null + } + }, + "version": "2026-03-10" + } + ] + }, + "sender": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "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" + ] + } + }, + "required": [ + "action", + "issue", + "repository", + "sender" + ] + } + } + } + }, + "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/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", + "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" + } + }, + { + "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": { + "title": "issues deleted event", + "type": "object", + "properties": { + "action": { + "type": "string", + "enum": [ + "deleted" + ] + }, + "enterprise": { + "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/admin/overview/about-enterprise-accounts).\"", + "type": "object", + "properties": { + "description": { + "description": "A short description of the enterprise.", + "type": "string", + "nullable": true + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/enterprises/octo-business" + }, + "website_url": { + "description": "The enterprise's website URL.", + "type": "string", + "nullable": true, + "format": "uri" + }, + "id": { + "description": "Unique identifier of the enterprise", + "example": 42, + "type": "integer" + }, + "node_id": { + "type": "string", + "example": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" + }, + "name": { + "description": "The name of the enterprise.", + "type": "string", + "example": "Octo Business" + }, + "slug": { + "description": "The slug url identifier for the enterprise.", + "type": "string", + "example": "octo-business" + }, + "created_at": { + "type": "string", + "nullable": true, + "format": "date-time", + "example": "2019-01-26T19:01:12Z" + }, + "updated_at": { + "type": "string", + "nullable": true, + "format": "date-time", + "example": "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" + ] + }, + "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/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", + "example": 1 + }, + "node_id": { + "description": "The global node ID of the installation.", + "type": "string", + "example": "MDQ6VXNlcjU4MzIzMQ==" + } + }, + "required": [ + "id", + "node_id" + ] + }, + "issue": { + "title": "Issue", + "description": "The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself.", + "type": "object", + "properties": { + "active_lock_reason": { + "type": "string", + "nullable": true, + "enum": [ + "resolved", + "off-topic", + "too heated", + "spam", + null + ] + }, + "assignee": { + "title": "User", + "type": "object", + "nullable": true, + "properties": { + "avatar_url": { + "type": "string", + "format": "uri" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "type": "string", + "nullable": true + }, + "events_url": { + "type": "string", + "format": "uri-template" + }, + "followers_url": { + "type": "string", + "format": "uri" + }, + "following_url": { + "type": "string", + "format": "uri-template" + }, + "gists_url": { + "type": "string", + "format": "uri-template" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "type": "string", + "format": "uri" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "type": "string", + "format": "uri" + }, + "received_events_url": { + "type": "string", + "format": "uri" + }, + "repos_url": { + "type": "string", + "format": "uri" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "type": "string", + "format": "uri-template" + }, + "subscriptions_url": { + "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", + "nullable": true, + "properties": { + "avatar_url": { + "type": "string", + "format": "uri" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "type": "string", + "nullable": true + }, + "events_url": { + "type": "string", + "format": "uri-template" + }, + "followers_url": { + "type": "string", + "format": "uri" + }, + "following_url": { + "type": "string", + "format": "uri-template" + }, + "gists_url": { + "type": "string", + "format": "uri-template" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "type": "string", + "format": "uri" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "type": "string", + "format": "uri" + }, + "received_events_url": { + "type": "string", + "format": "uri" + }, + "repos_url": { + "type": "string", + "format": "uri" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "type": "string", + "format": "uri-template" + }, + "subscriptions_url": { + "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", + "nullable": true + }, + "closed_at": { + "type": "string", + "nullable": true, + "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", + "nullable": true + }, + "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", + "nullable": true, + "properties": { + "closed_at": { + "type": "string", + "nullable": true, + "format": "date-time" + }, + "closed_issues": { + "type": "integer" + }, + "created_at": { + "type": "string", + "format": "date-time" + }, + "creator": { + "title": "User", + "type": "object", + "nullable": true, + "properties": { + "avatar_url": { + "type": "string", + "format": "uri" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "type": "string", + "nullable": true + }, + "events_url": { + "type": "string", + "format": "uri-template" + }, + "followers_url": { + "type": "string", + "format": "uri" + }, + "following_url": { + "type": "string", + "format": "uri-template" + }, + "gists_url": { + "type": "string", + "format": "uri-template" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "type": "string", + "format": "uri" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "type": "string", + "format": "uri" + }, + "received_events_url": { + "type": "string", + "format": "uri" + }, + "repos_url": { + "type": "string", + "format": "uri" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "type": "string", + "format": "uri-template" + }, + "subscriptions_url": { + "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", + "nullable": true + }, + "due_on": { + "type": "string", + "nullable": true, + "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", + "nullable": true, + "properties": { + "created_at": { + "type": "string", + "nullable": true, + "format": "date-time" + }, + "description": { + "type": "string", + "nullable": true + }, + "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", + "nullable": true, + "format": "uri" + }, + "html_url": { + "type": "string", + "format": "uri" + }, + "id": { + "description": "Unique identifier of the GitHub app", + "type": "integer", + "nullable": true + }, + "name": { + "description": "The name of the GitHub app", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "owner": { + "title": "User", + "type": "object", + "nullable": true, + "properties": { + "avatar_url": { + "type": "string", + "format": "uri" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "type": "string", + "nullable": true + }, + "events_url": { + "type": "string", + "format": "uri-template" + }, + "followers_url": { + "type": "string", + "format": "uri" + }, + "following_url": { + "type": "string", + "format": "uri-template" + }, + "gists_url": { + "type": "string", + "format": "uri-template" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "type": "string", + "format": "uri" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "type": "string", + "format": "uri" + }, + "received_events_url": { + "type": "string", + "format": "uri" + }, + "repos_url": { + "type": "string", + "format": "uri" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "type": "string", + "format": "uri-template" + }, + "subscriptions_url": { + "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" + ] + }, + "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", + "nullable": true, + "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", + "nullable": true, + "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" + }, + "pinned_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", + "example": 42, + "type": "integer", + "format": "int64" + }, + "node_id": { + "type": "string" + }, + "url": { + "description": "URL for the issue comment", + "example": "https://api.github.com/repositories/42/issues/comments/1", + "type": "string", + "format": "uri" + }, + "body": { + "description": "Contents of the issue comment", + "example": "What version of Safari were you using when you observed this bug?", + "type": "string" + }, + "body_text": { + "type": "string" + }, + "body_html": { + "type": "string" + }, + "html_url": { + "type": "string", + "format": "uri" + }, + "user": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "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" + ], + "nullable": true + }, + "created_at": { + "type": "string", + "format": "date-time", + "example": "2011-04-14T16:00:49Z" + }, + "updated_at": { + "type": "string", + "format": "date-time", + "example": "2011-04-14T16:00:49Z" + }, + "issue_url": { + "type": "string", + "format": "uri" + }, + "author_association": { + "title": "author_association", + "type": "string", + "example": "OWNER", + "description": "How the author is associated with the repository.", + "enum": [ + "COLLABORATOR", + "CONTRIBUTOR", + "FIRST_TIMER", + "FIRST_TIME_CONTRIBUTOR", + "MANNEQUIN", + "MEMBER", + "NONE", + "OWNER" + ] + }, + "performed_via_github_app": { + "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", + "nullable": true, + "properties": { + "id": { + "description": "Unique identifier of the GitHub app", + "example": 37, + "type": "integer" + }, + "slug": { + "description": "The slug name of the GitHub app", + "example": "probot-owners", + "type": "string" + }, + "node_id": { + "type": "string", + "example": "MDExOkludGVncmF0aW9uMQ==" + }, + "client_id": { + "type": "string", + "example": "\"Iv1.25b5d1e65ffc4022\"" + }, + "owner": { + "oneOf": [ + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "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" + ] + }, + { + "title": "Enterprise", + "description": "An enterprise on GitHub.", + "type": "object", + "properties": { + "description": { + "description": "A short description of the enterprise.", + "type": "string", + "nullable": true + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/enterprises/octo-business" + }, + "website_url": { + "description": "The enterprise's website URL.", + "type": "string", + "nullable": true, + "format": "uri" + }, + "id": { + "description": "Unique identifier of the enterprise", + "example": 42, + "type": "integer" + }, + "node_id": { + "type": "string", + "example": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" + }, + "name": { + "description": "The name of the enterprise.", + "type": "string", + "example": "Octo Business" + }, + "slug": { + "description": "The slug url identifier for the enterprise.", + "type": "string", + "example": "octo-business" + }, + "created_at": { + "type": "string", + "nullable": true, + "format": "date-time", + "example": "2019-01-26T19:01:12Z" + }, + "updated_at": { + "type": "string", + "nullable": true, + "format": "date-time", + "example": "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" + ] + } + ] + }, + "name": { + "description": "The name of the GitHub app", + "example": "Probot Owners", + "type": "string" + }, + "description": { + "type": "string", + "example": "The description of the app.", + "nullable": true + }, + "external_url": { + "type": "string", + "format": "uri", + "example": "https://example.com" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/apps/super-ci" + }, + "created_at": { + "type": "string", + "format": "date-time", + "example": "2017-07-08T16:18:44-04:00" + }, + "updated_at": { + "type": "string", + "format": "date-time", + "example": "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.", + "example": [ + "label", + "deployment" + ], + "type": "array", + "items": { + "type": "string" + } + }, + "installations_count": { + "description": "The number of installations associated with the GitHub app. Only returned when the integration is requesting details about itself.", + "example": 5, + "type": "integer" + } + }, + "required": [ + "id", + "node_id", + "owner", + "name", + "description", + "external_url", + "html_url", + "created_at", + "updated_at", + "permissions", + "events" + ] + }, + "reactions": { + "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" + ] + }, + "pin": { + "title": "Pinned Issue Comment", + "description": "Context around who pinned an issue comment and when it was pinned.", + "type": "object", + "properties": { + "pinned_at": { + "type": "string", + "format": "date-time", + "example": "2011-04-14T16:00:49Z" + }, + "pinned_by": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "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" + ], + "nullable": true + } + }, + "required": [ + "pinned_at", + "pinned_by" + ], + "nullable": true + } + }, + "required": [ + "id", + "node_id", + "html_url", + "issue_url", + "user", + "url", + "created_at", + "updated_at" + ], + "nullable": true + }, + "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_field_values": { + "type": "array", + "items": { + "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", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "IFT_GDKND" + }, + "data_type": { + "description": "The data type of the issue field", + "type": "string", + "enum": [ + "text", + "single_select", + "number", + "date" + ], + "example": "text" + }, + "value": { + "description": "The value of the issue field", + "anyOf": [ + { + "type": "string", + "example": "Sample text" + }, + { + "type": "number", + "example": 42.5 + }, + { + "type": "integer", + "example": 1 + } + ], + "nullable": true + }, + "single_select_option": { + "description": "Details about the selected option (only present for single_select fields)", + "type": "object", + "properties": { + "id": { + "description": "Unique identifier for the option.", + "type": "integer", + "format": "int64", + "example": 1 + }, + "name": { + "description": "The name of the option", + "type": "string", + "example": "High" + }, + "color": { + "description": "The color of the option", + "type": "string", + "example": "red" + } + }, + "required": [ + "id", + "name", + "color" + ], + "nullable": true + } + }, + "required": [ + "issue_field_id", + "node_id", + "data_type", + "value" + ] + } + }, + "state": { + "description": "State of the issue; either 'open' or 'closed'", + "type": "string", + "enum": [ + "open", + "closed" + ] + }, + "state_reason": { + "type": "string", + "nullable": true + }, + "timeline_url": { + "type": "string", + "format": "uri" + }, + "title": { + "description": "Title of the issue", + "type": "string" + }, + "type": { + "title": "Issue Type", + "description": "The type of issue.", + "type": "object", + "nullable": true, + "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", + "description": "The description of the issue type.", + "nullable": true + }, + "color": { + "type": "string", + "description": "The color of the issue type.", + "enum": [ + "gray", + "blue", + "green", + "yellow", + "orange", + "red", + "pink", + "purple" + ], + "nullable": true + }, + "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" + ] + }, + "updated_at": { + "type": "string", + "format": "date-time" + }, + "url": { + "description": "URL for the issue", + "type": "string", + "format": "uri" + }, + "user": { + "title": "User", + "type": "object", + "nullable": true, + "properties": { + "avatar_url": { + "type": "string", + "format": "uri" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "type": "string", + "nullable": true + }, + "events_url": { + "type": "string", + "format": "uri-template" + }, + "followers_url": { + "type": "string", + "format": "uri" + }, + "following_url": { + "type": "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": { + "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", + "example": "github" + }, + "id": { + "type": "integer", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDEyOk9yZ2FuaXphdGlvbjE=" + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/orgs/github" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/orgs/github/repos" + }, + "events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/orgs/github/events" + }, + "hooks_url": { + "type": "string", + "example": "https://api.github.com/orgs/github/hooks" + }, + "issues_url": { + "type": "string", + "example": "https://api.github.com/orgs/github/issues" + }, + "members_url": { + "type": "string", + "example": "https://api.github.com/orgs/github/members{/member}" + }, + "public_members_url": { + "type": "string", + "example": "https://api.github.com/orgs/github/public_members{/member}" + }, + "avatar_url": { + "type": "string", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "description": { + "type": "string", + "example": "A great organization", + "nullable": true + } + }, + "required": [ + "login", + "url", + "id", + "node_id", + "repos_url", + "events_url", + "hooks_url", + "issues_url", + "members_url", + "public_members_url", + "avatar_url", + "description" + ] + }, + "repository": { + "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", + "example": 42, + "type": "integer", + "format": "int64" + }, + "node_id": { + "type": "string", + "example": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" + }, + "name": { + "description": "The name of the repository.", + "type": "string", + "example": "Team Environment" + }, + "full_name": { + "type": "string", + "example": "octocat/Hello-World" + }, + "license": { + "title": "License Simple", + "description": "License Simple", + "type": "object", + "properties": { + "key": { + "type": "string", + "example": "mit" + }, + "name": { + "type": "string", + "example": "MIT License" + }, + "url": { + "type": "string", + "nullable": true, + "format": "uri", + "example": "https://api.github.com/licenses/mit" + }, + "spdx_id": { + "type": "string", + "nullable": true, + "example": "MIT" + }, + "node_id": { + "type": "string", + "example": "MDc6TGljZW5zZW1pdA==" + }, + "html_url": { + "type": "string", + "format": "uri" + } + }, + "required": [ + "key", + "name", + "url", + "spdx_id", + "node_id" + ], + "nullable": true + }, + "organization": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "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" + ], + "nullable": true + }, + "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": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "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" + ] + }, + "private": { + "description": "Whether the repository is private or public.", + "default": false, + "type": "boolean" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat/Hello-World" + }, + "description": { + "type": "string", + "example": "This your first repo!", + "nullable": true + }, + "fork": { + "type": "boolean" + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octocat/Hello-World" + }, + "archive_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}" + }, + "assignees_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/assignees{/user}" + }, + "blobs_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}" + }, + "branches_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/branches{/branch}" + }, + "collaborators_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}" + }, + "comments_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/comments{/number}" + }, + "commits_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/commits{/sha}" + }, + "compare_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}" + }, + "contents_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/contents/{+path}" + }, + "contributors_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/contributors" + }, + "deployments_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/deployments" + }, + "downloads_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/downloads" + }, + "events_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/events" + }, + "forks_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/forks" + }, + "git_commits_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}" + }, + "git_refs_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}" + }, + "git_tags_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}" + }, + "git_url": { + "type": "string", + "example": "git:github.com/octocat/Hello-World.git" + }, + "issue_comment_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}" + }, + "issue_events_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/issues/events{/number}" + }, + "issues_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/issues{/number}" + }, + "keys_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/keys{/key_id}" + }, + "labels_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/labels{/name}" + }, + "languages_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/languages" + }, + "merges_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/merges" + }, + "milestones_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/milestones{/number}" + }, + "notifications_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}" + }, + "pulls_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/pulls{/number}" + }, + "releases_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/releases{/id}" + }, + "ssh_url": { + "type": "string", + "example": "git@github.com:octocat/Hello-World.git" + }, + "stargazers_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/stargazers" + }, + "statuses_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/statuses/{sha}" + }, + "subscribers_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/subscribers" + }, + "subscription_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/subscription" + }, + "tags_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/tags" + }, + "teams_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/teams" + }, + "trees_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}" + }, + "clone_url": { + "type": "string", + "example": "https://github.com/octocat/Hello-World.git" + }, + "mirror_url": { + "type": "string", + "format": "uri", + "example": "git:git.example.com/octocat/Hello-World", + "nullable": true + }, + "hooks_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/hooks" + }, + "svn_url": { + "type": "string", + "format": "uri", + "example": "https://svn.github.com/octocat/Hello-World" + }, + "homepage": { + "type": "string", + "format": "uri", + "example": "https://github.com", + "nullable": true + }, + "language": { + "type": "string", + "nullable": true + }, + "forks_count": { + "type": "integer", + "example": 9 + }, + "stargazers_count": { + "type": "integer", + "example": 80 + }, + "watchers_count": { + "type": "integer", + "example": 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", + "example": 108 + }, + "default_branch": { + "description": "The default branch of the repository.", + "type": "string", + "example": "master" + }, + "open_issues_count": { + "type": "integer", + "example": 0 + }, + "is_template": { + "description": "Whether this repository acts as a template that can be used to generate new repositories.", + "default": false, + "type": "boolean", + "example": 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", + "example": true + }, + "has_projects": { + "description": "Whether projects are enabled.", + "default": true, + "type": "boolean", + "example": true + }, + "has_wiki": { + "description": "Whether the wiki is enabled.", + "default": true, + "type": "boolean", + "example": true + }, + "has_pages": { + "type": "boolean" + }, + "has_downloads": { + "description": "Whether downloads are enabled.", + "default": true, + "type": "boolean", + "example": true + }, + "has_discussions": { + "description": "Whether discussions are enabled.", + "default": false, + "type": "boolean", + "example": true + }, + "has_pull_requests": { + "description": "Whether pull requests are enabled.", + "default": true, + "type": "boolean", + "example": true + }, + "pull_request_creation_policy": { + "description": "The policy controlling who can create pull requests: all or collaborators_only.", + "type": "string", + "enum": [ + "all", + "collaborators_only" + ] + }, + "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", + "format": "date-time", + "example": "2011-01-26T19:06:43Z", + "nullable": true + }, + "created_at": { + "type": "string", + "format": "date-time", + "example": "2011-01-26T19:01:12Z", + "nullable": true + }, + "updated_at": { + "type": "string", + "format": "date-time", + "example": "2011-01-26T19:14:43Z", + "nullable": true + }, + "allow_rebase_merge": { + "description": "Whether to allow rebase merges for pull requests.", + "default": true, + "type": "boolean", + "example": true + }, + "template_repository": { + "nullable": true, + "type": "object", + "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", + "example": true + }, + "allow_auto_merge": { + "description": "Whether to allow Auto-merge to be used on pull requests.", + "default": false, + "type": "boolean", + "example": false + }, + "delete_branch_on_merge": { + "description": "Whether to delete head branches when pull requests are merged", + "default": false, + "type": "boolean", + "example": 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", + "example": 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", + "example": 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", + "example": "\"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" + ], + "x-github-breaking-changes": [ + { + "changeset": "remove_use_squash_pr_title_as_default", + "patch": { + "properties": { + "use_squash_pr_title_as_default": null, + "template_repository": { + "properties": { + "use_squash_pr_title_as_default": null + } + } + } + }, + "version": "2026-03-10" + }, + { + "changeset": "deprecate_beta_media_type", + "patch": { + "properties": { + "master_branch": null + } + }, + "version": "2026-03-10" + } + ] + }, + "sender": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "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" + ] + } + }, + "required": [ + "action", + "issue", + "repository", + "sender" + ] + } + } + } + }, + "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/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", + "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" + } + }, + { + "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": { + "title": "issues demilestoned event", + "type": "object", + "properties": { + "action": { + "type": "string", + "enum": [ + "demilestoned" + ] + }, + "enterprise": { + "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/admin/overview/about-enterprise-accounts).\"", + "type": "object", + "properties": { + "description": { + "description": "A short description of the enterprise.", + "type": "string", + "nullable": true + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/enterprises/octo-business" + }, + "website_url": { + "description": "The enterprise's website URL.", + "type": "string", + "nullable": true, + "format": "uri" + }, + "id": { + "description": "Unique identifier of the enterprise", + "example": 42, + "type": "integer" + }, + "node_id": { + "type": "string", + "example": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" + }, + "name": { + "description": "The name of the enterprise.", + "type": "string", + "example": "Octo Business" + }, + "slug": { + "description": "The slug url identifier for the enterprise.", + "type": "string", + "example": "octo-business" + }, + "created_at": { + "type": "string", + "nullable": true, + "format": "date-time", + "example": "2019-01-26T19:01:12Z" + }, + "updated_at": { + "type": "string", + "nullable": true, + "format": "date-time", + "example": "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" + ] + }, + "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/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", + "example": 1 + }, + "node_id": { + "description": "The global node ID of the installation.", + "type": "string", + "example": "MDQ6VXNlcjU4MzIzMQ==" + } + }, + "required": [ + "id", + "node_id" + ] + }, + "issue": { + "title": "Issue", + "description": "The [issue](https://docs.github.com/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", + "nullable": true, + "enum": [ + "resolved", + "off-topic", + "too heated", + "spam", + null + ] + }, + "assignee": { + "title": "User", + "type": "object", + "nullable": true, + "required": [ + "login", + "id" + ], + "properties": { + "avatar_url": { + "type": "string", + "format": "uri" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "type": "string", + "nullable": true + }, + "events_url": { + "type": "string", + "format": "uri-template" + }, + "followers_url": { + "type": "string", + "format": "uri" + }, + "following_url": { + "type": "string", + "format": "uri-template" + }, + "gists_url": { + "type": "string", + "format": "uri-template" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "type": "string", + "format": "uri" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "type": "string", + "format": "uri" + }, + "received_events_url": { + "type": "string", + "format": "uri" + }, + "repos_url": { + "type": "string", + "format": "uri" + }, + "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", + "nullable": true, + "required": [ + "login", + "id" + ], + "properties": { + "avatar_url": { + "type": "string", + "format": "uri" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "type": "string", + "nullable": true + }, + "events_url": { + "type": "string", + "format": "uri-template" + }, + "followers_url": { + "type": "string", + "format": "uri" + }, + "following_url": { + "type": "string", + "format": "uri-template" + }, + "gists_url": { + "type": "string", + "format": "uri-template" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "type": "string", + "format": "uri" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "type": "string", + "format": "uri" + }, + "received_events_url": { + "type": "string", + "format": "uri" + }, + "repos_url": { + "type": "string", + "format": "uri" + }, + "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", + "nullable": true + }, + "closed_at": { + "type": "string", + "nullable": true, + "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", + "required": [ + "id", + "node_id", + "url", + "name", + "color", + "default", + "description" + ], + "nullable": true, + "properties": { + "color": { + "description": "6-character hex code, without the leading #, identifying the color", + "type": "string" + }, + "default": { + "type": "boolean" + }, + "description": { + "type": "string", + "nullable": true + }, + "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", + "nullable": true, + "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", + "nullable": true, + "format": "date-time" + }, + "closed_issues": { + "type": "integer" + }, + "created_at": { + "type": "string", + "format": "date-time" + }, + "creator": { + "title": "User", + "type": "object", + "nullable": true, + "required": [ + "login", + "id" + ], + "properties": { + "avatar_url": { + "type": "string", + "format": "uri" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "type": "string", + "nullable": true + }, + "events_url": { + "type": "string", + "format": "uri-template" + }, + "followers_url": { + "type": "string", + "format": "uri" + }, + "following_url": { + "type": "string", + "format": "uri-template" + }, + "gists_url": { + "type": "string", + "format": "uri-template" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "type": "string", + "format": "uri" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "type": "string", + "format": "uri" + }, + "received_events_url": { + "type": "string", + "format": "uri" + }, + "repos_url": { + "type": "string", + "format": "uri" + }, + "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", + "nullable": true + }, + "due_on": { + "type": "string", + "nullable": true, + "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", + "nullable": true, + "required": [ + "id", + "node_id", + "owner", + "name", + "description", + "external_url", + "html_url", + "created_at", + "updated_at" + ], + "properties": { + "created_at": { + "type": "string", + "nullable": true, + "format": "date-time" + }, + "description": { + "type": "string", + "nullable": true + }, + "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", + "nullable": true, + "format": "uri" + }, + "html_url": { + "type": "string", + "format": "uri" + }, + "id": { + "description": "Unique identifier of the GitHub app", + "type": "integer", + "nullable": true + }, + "name": { + "description": "The name of the GitHub app", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "owner": { + "title": "User", + "type": "object", + "nullable": true, + "required": [ + "login", + "id" + ], + "properties": { + "avatar_url": { + "type": "string", + "format": "uri" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "type": "string", + "nullable": true + }, + "events_url": { + "type": "string", + "format": "uri-template" + }, + "followers_url": { + "type": "string", + "format": "uri" + }, + "following_url": { + "type": "string", + "format": "uri-template" + }, + "gists_url": { + "type": "string", + "format": "uri-template" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "type": "string", + "format": "uri" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "type": "string", + "format": "uri" + }, + "received_events_url": { + "type": "string", + "format": "uri" + }, + "repos_url": { + "type": "string", + "format": "uri" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "type": "string", + "format": "uri-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" + ] + }, + "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", + "nullable": true, + "format": "date-time" + } + } + }, + "pull_request": { + "type": "object", + "properties": { + "diff_url": { + "type": "string", + "format": "uri" + }, + "html_url": { + "type": "string", + "format": "uri" + }, + "merged_at": { + "type": "string", + "nullable": true, + "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" + }, + "pinned_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", + "example": 42, + "type": "integer", + "format": "int64" + }, + "node_id": { + "type": "string" + }, + "url": { + "description": "URL for the issue comment", + "example": "https://api.github.com/repositories/42/issues/comments/1", + "type": "string", + "format": "uri" + }, + "body": { + "description": "Contents of the issue comment", + "example": "What version of Safari were you using when you observed this bug?", + "type": "string" + }, + "body_text": { + "type": "string" + }, + "body_html": { + "type": "string" + }, + "html_url": { + "type": "string", + "format": "uri" + }, + "user": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "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" + ], + "nullable": true + }, + "created_at": { + "type": "string", + "format": "date-time", + "example": "2011-04-14T16:00:49Z" + }, + "updated_at": { + "type": "string", + "format": "date-time", + "example": "2011-04-14T16:00:49Z" + }, + "issue_url": { + "type": "string", + "format": "uri" + }, + "author_association": { + "title": "author_association", + "type": "string", + "example": "OWNER", + "description": "How the author is associated with the repository.", + "enum": [ + "COLLABORATOR", + "CONTRIBUTOR", + "FIRST_TIMER", + "FIRST_TIME_CONTRIBUTOR", + "MANNEQUIN", + "MEMBER", + "NONE", + "OWNER" + ] + }, + "performed_via_github_app": { + "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", + "nullable": true, + "properties": { + "id": { + "description": "Unique identifier of the GitHub app", + "example": 37, + "type": "integer" + }, + "slug": { + "description": "The slug name of the GitHub app", + "example": "probot-owners", + "type": "string" + }, + "node_id": { + "type": "string", + "example": "MDExOkludGVncmF0aW9uMQ==" + }, + "client_id": { + "type": "string", + "example": "\"Iv1.25b5d1e65ffc4022\"" + }, + "owner": { + "oneOf": [ + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "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" + ] + }, + { + "title": "Enterprise", + "description": "An enterprise on GitHub.", + "type": "object", + "properties": { + "description": { + "description": "A short description of the enterprise.", + "type": "string", + "nullable": true + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/enterprises/octo-business" + }, + "website_url": { + "description": "The enterprise's website URL.", + "type": "string", + "nullable": true, + "format": "uri" + }, + "id": { + "description": "Unique identifier of the enterprise", + "example": 42, + "type": "integer" + }, + "node_id": { + "type": "string", + "example": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" + }, + "name": { + "description": "The name of the enterprise.", + "type": "string", + "example": "Octo Business" + }, + "slug": { + "description": "The slug url identifier for the enterprise.", + "type": "string", + "example": "octo-business" + }, + "created_at": { + "type": "string", + "nullable": true, + "format": "date-time", + "example": "2019-01-26T19:01:12Z" + }, + "updated_at": { + "type": "string", + "nullable": true, + "format": "date-time", + "example": "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" + ] + } + ] + }, + "name": { + "description": "The name of the GitHub app", + "example": "Probot Owners", + "type": "string" + }, + "description": { + "type": "string", + "example": "The description of the app.", + "nullable": true + }, + "external_url": { + "type": "string", + "format": "uri", + "example": "https://example.com" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/apps/super-ci" + }, + "created_at": { + "type": "string", + "format": "date-time", + "example": "2017-07-08T16:18:44-04:00" + }, + "updated_at": { + "type": "string", + "format": "date-time", + "example": "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" } }, - "required": [ - "pinned_at", - "pinned_by" + "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.", + "example": [ + "label", + "deployment" ], - "nullable": true + "type": "array", + "items": { + "type": "string" + } + }, + "installations_count": { + "description": "The number of installations associated with the GitHub app. Only returned when the integration is requesting details about itself.", + "example": 5, + "type": "integer" } }, "required": [ "id", "node_id", + "owner", + "name", + "description", + "external_url", "html_url", - "issue_url", - "user", - "url", "created_at", - "updated_at" - ], - "nullable": true + "updated_at", + "permissions", + "events" + ] }, - "sub_issues_summary": { - "title": "Sub-issues Summary", + "reactions": { + "title": "Reaction Rollup", "type": "object", "properties": { - "total": { + "url": { + "type": "string", + "format": "uri" + }, + "total_count": { "type": "integer" }, - "completed": { + "+1": { "type": "integer" }, - "percent_completed": { + "-1": { "type": "integer" - } - }, - "required": [ - "total", - "completed", - "percent_completed" - ] - }, - "issue_dependencies_summary": { - "title": "Issue Dependencies Summary", - "type": "object", - "properties": { - "blocked_by": { + }, + "laugh": { "type": "integer" }, - "blocking": { + "confused": { "type": "integer" }, - "total_blocked_by": { + "heart": { "type": "integer" }, - "total_blocking": { + "hooray": { + "type": "integer" + }, + "eyes": { + "type": "integer" + }, + "rocket": { "type": "integer" } }, "required": [ - "blocked_by", - "blocking", - "total_blocked_by", - "total_blocking" + "url", + "total_count", + "+1", + "-1", + "laugh", + "confused", + "heart", + "hooray", + "eyes", + "rocket" ] }, - "issue_field_values": { - "type": "array", - "items": { - "title": "Issue Field Value", - "description": "A value assigned to an issue field", + "pin": { + "title": "Pinned Issue Comment", + "description": "Context around who pinned an issue comment and when it was pinned.", + "type": "object", + "properties": { + "pinned_at": { + "type": "string", + "format": "date-time", + "example": "2011-04-14T16:00:49Z" + }, + "pinned_by": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "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" + ], + "nullable": true + } + }, + "required": [ + "pinned_at", + "pinned_by" + ], + "nullable": true + } + }, + "required": [ + "id", + "node_id", + "html_url", + "issue_url", + "user", + "url", + "created_at", + "updated_at" + ], + "nullable": true + }, + "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_field_values": { + "type": "array", + "items": { + "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", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "IFT_GDKND" + }, + "data_type": { + "description": "The data type of the issue field", + "type": "string", + "enum": [ + "text", + "single_select", + "number", + "date" + ], + "example": "text" + }, + "value": { + "description": "The value of the issue field", + "anyOf": [ + { + "type": "string", + "example": "Sample text" + }, + { + "type": "number", + "example": 42.5 + }, + { + "type": "integer", + "example": 1 + } + ], + "nullable": true + }, + "single_select_option": { + "description": "Details about the selected option (only present for single_select fields)", "type": "object", "properties": { - "issue_field_id": { - "description": "Unique identifier for the issue field.", + "id": { + "description": "Unique identifier for the option.", "type": "integer", "format": "int64", "example": 1 }, - "node_id": { + "name": { + "description": "The name of the option", "type": "string", - "example": "IFT_GDKND" + "example": "High" }, - "data_type": { - "description": "The data type of the issue field", + "color": { + "description": "The color of the option", "type": "string", - "enum": [ - "text", - "single_select", - "number", - "date" - ], - "example": "text" - }, - "value": { - "description": "The value of the issue field", - "anyOf": [ - { - "type": "string", - "example": "Sample text" - }, - { - "type": "number", - "example": 42.5 - }, - { - "type": "integer", - "example": 1 - } - ], - "nullable": true - }, - "single_select_option": { - "description": "Details about the selected option (only present for single_select fields)", - "type": "object", - "properties": { - "id": { - "description": "Unique identifier for the option.", - "type": "integer", - "format": "int64", - "example": 1 - }, - "name": { - "description": "The name of the option", - "type": "string", - "example": "High" - }, - "color": { - "description": "The color of the option", - "type": "string", - "example": "red" - } - }, - "required": [ - "id", - "name", - "color" - ], - "nullable": true + "example": "red" } }, "required": [ - "issue_field_id", - "node_id", - "data_type", - "value" - ] + "id", + "name", + "color" + ], + "nullable": true } }, - "state": { - "description": "State of the issue; either 'open' or 'closed'", - "type": "string", - "enum": [ - "open", - "closed" - ] + "required": [ + "issue_field_id", + "node_id", + "data_type", + "value" + ] + } + }, + "state": { + "description": "State of the issue; either 'open' or 'closed'", + "type": "string", + "enum": [ + "open", + "closed" + ] + }, + "state_reason": { + "type": "string", + "nullable": true + }, + "timeline_url": { + "type": "string", + "format": "uri" + }, + "title": { + "description": "Title of the issue", + "type": "string" + }, + "type": { + "title": "Issue Type", + "description": "The type of issue.", + "type": "object", + "nullable": true, + "properties": { + "id": { + "type": "integer", + "description": "The unique identifier of the issue type." }, - "state_reason": { + "node_id": { "type": "string", - "nullable": true + "description": "The node identifier of the issue type." }, - "timeline_url": { + "name": { "type": "string", - "format": "uri" + "description": "The name of the issue type." }, - "title": { - "description": "Title of the issue", - "type": "string" + "description": { + "type": "string", + "description": "The description of the issue type.", + "nullable": true }, - "type": { - "title": "Issue Type", - "description": "The type of issue.", - "type": "object", - "nullable": true, - "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", - "description": "The description of the issue type.", - "nullable": true - }, - "color": { - "type": "string", - "description": "The color of the issue type.", - "enum": [ - "gray", - "blue", - "green", - "yellow", - "orange", - "red", - "pink", - "purple" - ], - "nullable": true - }, - "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" - ] + "color": { + "type": "string", + "description": "The color of the issue type.", + "enum": [ + "gray", + "blue", + "green", + "yellow", + "orange", + "red", + "pink", + "purple" + ], + "nullable": true }, - "updated_at": { + "created_at": { "type": "string", + "description": "The time the issue type created.", "format": "date-time" }, - "url": { - "description": "URL for the issue", + "updated_at": { "type": "string", - "format": "uri" + "description": "The time the issue type last updated.", + "format": "date-time" }, - "user": { - "title": "User", - "type": "object", - "nullable": true, - "properties": { - "avatar_url": { - "type": "string", - "format": "uri" - }, - "deleted": { - "type": "boolean" - }, - "email": { - "type": "string", - "nullable": true - }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { - "type": "string", - "format": "uri" - }, - "following_url": { - "type": "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" - ] + "is_enabled": { + "type": "boolean", + "description": "The enabled state of the issue type." } }, "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" + "name", + "description" ] }, - { + "updated_at": { + "type": "string", + "format": "date-time" + }, + "url": { + "description": "URL for the issue", + "type": "string", + "format": "uri" + }, + "user": { + "title": "User", "type": "object", + "nullable": true, + "required": [ + "login", + "id" + ], "properties": { - "active_lock_reason": { + "avatar_url": { "type": "string", - "nullable": true + "format": "uri" }, - "assignee": { - "type": "object", - "nullable": true + "deleted": { + "type": "boolean" }, - "assignees": { - "type": "array", - "items": { - "type": "object", - "nullable": true - } + "email": { + "type": "string", + "nullable": true }, - "author_association": { - "type": "string" + "events_url": { + "type": "string", + "format": "uri-template" }, - "body": { + "followers_url": { "type": "string", - "nullable": true + "format": "uri" }, - "closed_at": { + "following_url": { "type": "string", - "nullable": true + "format": "uri-template" }, - "comments": { - "type": "integer" + "gists_url": { + "type": "string", + "format": "uri-template" }, - "comments_url": { + "gravatar_id": { "type": "string" }, - "created_at": { + "html_url": { + "type": "string", + "format": "uri" + }, + "id": { + "type": "integer", + "format": "int64" + }, + "login": { "type": "string" }, - "events_url": { + "name": { "type": "string" }, - "html_url": { + "node_id": { "type": "string" }, - "id": { - "type": "integer" + "organizations_url": { + "type": "string", + "format": "uri" }, - "labels": { - "type": "array", - "items": { - "type": "object", - "nullable": true - } + "received_events_url": { + "type": "string", + "format": "uri" }, - "labels_url": { - "type": "string" + "repos_url": { + "type": "string", + "format": "uri" }, - "locked": { + "site_admin": { "type": "boolean" }, - "milestone": { - "type": "object", - "nullable": true + "starred_url": { + "type": "string", + "format": "uri-template" }, - "node_id": { + "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": { + "title": "Milestone", + "description": "A collection of related issues and pull requests.", + "type": "object", + "properties": { + "closed_at": { + "type": "string", + "nullable": true, + "format": "date-time" + }, + "closed_issues": { + "type": "integer" + }, + "created_at": { + "type": "string", + "format": "date-time" + }, + "creator": { + "title": "User", + "type": "object", + "nullable": true, + "properties": { + "avatar_url": { + "type": "string", + "format": "uri" }, - "number": { - "type": "integer" + "deleted": { + "type": "boolean" }, - "performed_via_github_app": { - "type": "object", + "email": { + "type": "string", "nullable": true }, - "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" - } - } + "events_url": { + "type": "string", + "format": "uri-template" }, - "repository_url": { + "followers_url": { + "type": "string", + "format": "uri" + }, + "following_url": { + "type": "string", + "format": "uri-template" + }, + "gists_url": { + "type": "string", + "format": "uri-template" + }, + "gravatar_id": { "type": "string" }, - "state": { + "html_url": { "type": "string", - "enum": [ - "closed", - "open" - ] + "format": "uri" }, - "timeline_url": { + "id": { + "type": "integer" + }, + "login": { "type": "string" }, - "title": { + "name": { "type": "string" }, - "updated_at": { + "node_id": { "type": "string" }, + "organizations_url": { + "type": "string", + "format": "uri" + }, + "received_events_url": { + "type": "string", + "format": "uri" + }, + "repos_url": { + "type": "string", + "format": "uri" + }, + "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" + "type": "string", + "format": "uri" }, - "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" - } - } + "user_view_type": { + "type": "string" } }, "required": [ - "state", - "closed_at" + "login", + "id" + ] + }, + "description": { + "type": "string", + "nullable": true + }, + "due_on": { + "type": "string", + "nullable": true, + "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" ] }, "organization": { @@ -968321,11 +976847,11 @@ } } }, - "issues-deleted": { + "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 deleted.", - "operationId": "issues/deleted", + "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" }, @@ -968392,15 +976918,45 @@ "content": { "application/json": { "schema": { - "title": "issues deleted event", + "title": "issues edited event", "type": "object", "properties": { "action": { "type": "string", "enum": [ - "deleted" + "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": { "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/admin/overview/about-enterprise-accounts).\"", @@ -968585,7 +977141,8 @@ "enum": [ "Bot", "User", - "Organization" + "Organization", + "Mannequin" ] }, "url": { @@ -968682,15 +977239,13 @@ "enum": [ "Bot", "User", - "Organization" + "Organization", + "Mannequin" ] }, "url": { "type": "string", "format": "uri" - }, - "user_view_type": { - "type": "string" } }, "required": [ @@ -968898,7 +977453,8 @@ "enum": [ "Bot", "User", - "Organization" + "Organization", + "Mannequin" ] }, "url": { @@ -969056,6 +977612,8 @@ "watch", "workflow_dispatch", "workflow_run", + "security_and_analysis", + "pull_request_review_thread", "reminder" ] } @@ -969303,7 +977861,8 @@ "type": "string", "enum": [ "read", - "write" + "write", + "admin" ] }, "organization_secrets": { @@ -970367,10 +978926,6 @@ "type": "string", "format": "uri" }, - "title": { - "description": "Title of the issue", - "type": "string" - }, "type": { "title": "Issue Type", "description": "The type of issue.", @@ -970431,6 +978986,10 @@ "description" ] }, + "title": { + "description": "Title of the issue", + "type": "string" + }, "updated_at": { "type": "string", "format": "date-time" @@ -970520,7 +979079,8 @@ "enum": [ "Bot", "User", - "Organization" + "Organization", + "Mannequin" ] }, "url": { @@ -970561,6 +979121,47 @@ "reactions" ] }, + "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", + "nullable": true + }, + "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" + ] + }, "organization": { "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.", @@ -972017,6 +980618,7 @@ }, "required": [ "action", + "changes", "issue", "repository", "sender" @@ -972042,11 +980644,11 @@ } } }, - "issues-demilestoned": { + "issues-field-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 removed from a milestone.", - "operationId": "issues/demilestoned", + "description": "An issue field value was set or updated on an issue.", + "operationId": "issues/field-added", "externalDocs": { "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#issues" }, @@ -972113,13 +980715,13 @@ "content": { "application/json": { "schema": { - "title": "issues demilestoned event", + "title": "issues field_added event", "type": "object", "properties": { "action": { "type": "string", "enum": [ - "demilestoned" + "field_added" ] }, "enterprise": { @@ -972215,29 +980817,6 @@ "title": "Issue", "description": "The [issue](https://docs.github.com/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", @@ -972254,10 +980833,6 @@ "title": "User", "type": "object", "nullable": true, - "required": [ - "login", - "id" - ], "properties": { "avatar_url": { "type": "string", @@ -972340,8 +980915,15 @@ "url": { "type": "string", "format": "uri" + }, + "user_view_type": { + "type": "string" } - } + }, + "required": [ + "login", + "id" + ] }, "assignees": { "type": "array", @@ -972349,10 +980931,6 @@ "title": "User", "type": "object", "nullable": true, - "required": [ - "login", - "id" - ], "properties": { "avatar_url": { "type": "string", @@ -972435,8 +981013,15 @@ "url": { "type": "string", "format": "uri" + }, + "user_view_type": { + "type": "string" } - } + }, + "required": [ + "login", + "id" + ] } }, "author_association": { @@ -972495,16 +981080,6 @@ "items": { "title": "Label", "type": "object", - "required": [ - "id", - "node_id", - "url", - "name", - "color", - "default", - "description" - ], - "nullable": true, "properties": { "color": { "description": "6-character hex code, without the leading #, identifying the color", @@ -972532,7 +981107,16 @@ "type": "string", "format": "uri" } - } + }, + "required": [ + "id", + "node_id", + "url", + "name", + "color", + "default", + "description" + ] } }, "labels_url": { @@ -972547,24 +981131,6 @@ "description": "A collection of related issues and pull requests.", "type": "object", "nullable": true, - "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", @@ -972582,10 +981148,6 @@ "title": "User", "type": "object", "nullable": true, - "required": [ - "login", - "id" - ], "properties": { "avatar_url": { "type": "string", @@ -972672,7 +981234,11 @@ "user_view_type": { "type": "string" } - } + }, + "required": [ + "login", + "id" + ] }, "description": { "type": "string", @@ -972724,7 +981290,25 @@ "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" @@ -972737,17 +981321,6 @@ "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", "nullable": true, - "required": [ - "id", - "node_id", - "owner", - "name", - "description", - "external_url", - "html_url", - "created_at", - "updated_at" - ], "properties": { "created_at": { "type": "string", @@ -972808,7 +981381,9 @@ "team_add", "watch", "workflow_dispatch", - "workflow_run" + "workflow_run", + "reminder", + "pull_request_review_thread" ] } }, @@ -972837,10 +981412,6 @@ "title": "User", "type": "object", "nullable": true, - "required": [ - "login", - "id" - ], "properties": { "avatar_url": { "type": "string", @@ -972926,7 +981497,11 @@ "user_view_type": { "type": "string" } - } + }, + "required": [ + "login", + "id" + ] }, "permissions": { "description": "The set of permissions for the GitHub app", @@ -973182,7 +981757,18 @@ "nullable": true, "format": "date-time" } - } + }, + "required": [ + "id", + "node_id", + "owner", + "name", + "description", + "external_url", + "html_url", + "created_at", + "updated_at" + ] }, "pull_request": { "type": "object", @@ -973213,18 +981799,6 @@ "reactions": { "title": "Reactions", "type": "object", - "required": [ - "url", - "total_count", - "+1", - "-1", - "laugh", - "confused", - "heart", - "hooray", - "eyes", - "rocket" - ], "properties": { "+1": { "type": "integer" @@ -973257,7 +981831,19 @@ "type": "string", "format": "uri" } - } + }, + "required": [ + "url", + "total_count", + "+1", + "-1", + "laugh", + "confused", + "heart", + "hooray", + "eyes", + "rocket" + ] }, "repository_url": { "type": "string", @@ -974186,10 +982772,6 @@ "title": "User", "type": "object", "nullable": true, - "required": [ - "login", - "id" - ], "properties": { "avatar_url": { "type": "string", @@ -974277,193 +982859,183 @@ "user_view_type": { "type": "string" } - } - } - } - }, - "milestone": { - "title": "Milestone", - "description": "A collection of related issues and pull requests.", - "type": "object", - "properties": { - "closed_at": { - "type": "string", - "nullable": true, - "format": "date-time" - }, - "closed_issues": { - "type": "integer" - }, - "created_at": { - "type": "string", - "format": "date-time" - }, - "creator": { - "title": "User", - "type": "object", - "nullable": true, - "properties": { - "avatar_url": { - "type": "string", - "format": "uri" - }, - "deleted": { - "type": "boolean" - }, - "email": { - "type": "string", - "nullable": true - }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { - "type": "string", - "format": "uri" - }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { - "type": "string" - }, - "html_url": { - "type": "string", - "format": "uri" - }, - "id": { - "type": "integer" - }, - "login": { - "type": "string" - }, - "name": { - "type": "string" - }, - "node_id": { - "type": "string" - }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { - "type": "string", - "format": "uri" - }, - "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", - "nullable": true - }, - "due_on": { - "type": "string", - "nullable": true, - "format": "date-time" - }, - "html_url": { - "type": "string", - "format": "uri" - }, + } + }, + "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" + ] + }, + "issue_field": { + "type": "object", + "description": "The issue field whose value was set or updated on the issue.", + "properties": { "id": { - "type": "integer" + "type": "integer", + "description": "The unique identifier of the issue field." }, - "labels_url": { + "name": { "type": "string", - "format": "uri" - }, - "node_id": { - "type": "string" - }, - "number": { - "description": "The number of the milestone.", - "type": "integer" - }, - "open_issues": { - "type": "integer" + "description": "The name of the issue field." }, - "state": { - "description": "The state of the milestone.", + "field_type": { "type": "string", + "description": "The data type of the issue field.", "enum": [ - "open", - "closed" + "text", + "date", + "single_select", + "number" ] + } + }, + "required": [ + "id", + "name", + "field_type" + ] + }, + "issue_field_value": { + "type": "object", + "description": "The value that was set or updated for the issue field. When updating an existing value, the previous value is available in `changes`.", + "properties": { + "id": { + "type": "integer", + "description": "The unique identifier of the issue field value." }, - "title": { - "description": "The title of the milestone.", - "type": "string" + "value": { + "description": "The value of the field. Present for text, date, and number field types.", + "nullable": true, + "anyOf": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "integer" + } + ] }, - "updated_at": { - "type": "string", - "format": "date-time" + "value_id": { + "type": "integer", + "description": "The identifier of the selected option. Present for single_select field types." }, - "url": { - "type": "string", - "format": "uri" + "option": { + "type": "object", + "description": "The selected option details. Present for single_select field types.", + "properties": { + "id": { + "type": "integer" + }, + "name": { + "type": "string" + }, + "color": { + "type": "string" + }, + "description": { + "type": "string", + "nullable": true + } + } } }, "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" + "id" ] }, + "changes": { + "type": "object", + "description": "The previous field value, present when an existing value was updated.", + "properties": { + "issue_field_value": { + "type": "object", + "description": "The previous issue field value data.", + "properties": { + "from": { + "type": "object", + "description": "The previous value of the issue field before the update.", + "properties": { + "id": { + "type": "integer", + "description": "The unique identifier of the issue field value." + }, + "value": { + "description": "The previous value. Present for text, date, and number field types.", + "nullable": true, + "anyOf": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "integer" + } + ] + }, + "value_id": { + "type": "integer", + "description": "The identifier of the previously selected option. Present for single_select field types." + }, + "option": { + "type": "object", + "description": "The previously selected option details. Present for single_select field types.", + "properties": { + "id": { + "type": "integer" + }, + "name": { + "type": "string" + }, + "color": { + "type": "string" + }, + "description": { + "type": "string", + "nullable": true + } + } + } + }, + "required": [ + "id" + ] + } + }, + "required": [ + "from" + ] + } + } + }, "organization": { "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.", @@ -975921,6 +984493,7 @@ "required": [ "action", "issue", + "issue_field", "repository", "sender" ] @@ -975945,11 +984518,11 @@ } } }, - "issues-edited": { + "issues-field-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": "The title or body on an issue was edited.", - "operationId": "issues/edited", + "description": "An issue field value was cleared from an issue.", + "operationId": "issues/field-removed", "externalDocs": { "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#issues" }, @@ -976016,45 +984589,15 @@ "content": { "application/json": { "schema": { - "title": "issues edited event", + "title": "issues field_removed event", "type": "object", "properties": { "action": { "type": "string", "enum": [ - "edited" + "field_removed" ] }, - "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": { "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/admin/overview/about-enterprise-accounts).\"", @@ -976344,6 +984887,9 @@ "url": { "type": "string", "format": "uri" + }, + "user_view_type": { + "type": "string" } }, "required": [ @@ -976710,9 +985256,8 @@ "watch", "workflow_dispatch", "workflow_run", - "security_and_analysis", - "pull_request_review_thread", - "reminder" + "reminder", + "pull_request_review_thread" ] } }, @@ -978024,6 +986569,10 @@ "type": "string", "format": "uri" }, + "title": { + "description": "Title of the issue", + "type": "string" + }, "type": { "title": "Issue Type", "description": "The type of issue.", @@ -978084,10 +986633,6 @@ "description" ] }, - "title": { - "description": "Title of the issue", - "type": "string" - }, "updated_at": { "type": "string", "format": "date-time" @@ -978219,45 +986764,84 @@ "reactions" ] }, - "label": { - "title": "Label", + "issue_field": { "type": "object", + "description": "The issue field whose value was cleared from the issue.", "properties": { - "color": { - "description": "6-character hex code, without the leading #, identifying the color", - "type": "string" - }, - "default": { - "type": "boolean" - }, - "description": { - "type": "string", - "nullable": true - }, "id": { - "type": "integer" + "type": "integer", + "description": "The unique identifier of the issue field." }, "name": { - "description": "The name of the label.", - "type": "string" - }, - "node_id": { - "type": "string" + "type": "string", + "description": "The name of the issue field." }, - "url": { - "description": "URL for the label", + "field_type": { "type": "string", - "format": "uri" + "description": "The data type of the issue field.", + "enum": [ + "text", + "date", + "single_select", + "number" + ] } }, "required": [ "id", - "node_id", - "url", "name", - "color", - "default", - "description" + "field_type" + ] + }, + "issue_field_value": { + "type": "object", + "description": "The value that was cleared from the issue field.", + "properties": { + "id": { + "type": "integer", + "description": "The unique identifier of the issue field value." + }, + "value": { + "description": "The value of the field. Present for text, date, and number field types.", + "nullable": true, + "anyOf": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "integer" + } + ] + }, + "value_id": { + "type": "integer", + "description": "The identifier of the selected option. Present for single_select field types." + }, + "option": { + "type": "object", + "description": "The selected option details. Present for single_select field types.", + "properties": { + "id": { + "type": "integer" + }, + "name": { + "type": "string" + }, + "color": { + "type": "string" + }, + "description": { + "type": "string", + "nullable": true + } + } + } + }, + "required": [ + "id" ] }, "organization": { @@ -979716,8 +988300,8 @@ }, "required": [ "action", - "changes", "issue", + "issue_field", "repository", "sender" ] diff --git a/descriptions/api.github.com/dereferenced/api.github.com.deref.yaml b/descriptions/api.github.com/dereferenced/api.github.com.deref.yaml index ecd1020040..f9cdb0afec 100644 --- a/descriptions/api.github.com/dereferenced/api.github.com.deref.yaml +++ b/descriptions/api.github.com/dereferenced/api.github.com.deref.yaml @@ -881,7 +881,7 @@ paths: - subscriptions_url - type - url - type: &332 + type: &334 type: string description: The type of credit the user is receiving. enum: @@ -1041,7 +1041,7 @@ paths: description: Validation failed, or the endpoint has been spammed. content: application/json: - schema: &129 + schema: &131 title: Validation Error Simple description: Validation Error Simple type: object @@ -1074,7 +1074,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/global-advisories#get-a-global-security-advisory parameters: - - &668 + - &670 name: ghsa_id description: The GHSA (GitHub Security Advisory) identifier of the advisory. in: path @@ -1198,7 +1198,7 @@ paths: GitHub. type: object nullable: true - properties: &81 + properties: &83 id: description: Unique identifier of the GitHub app example: 37 @@ -1331,7 +1331,7 @@ paths: about itself. example: 5 type: integer - required: &82 + required: &84 - id - node_id - owner @@ -1636,7 +1636,7 @@ paths: schema: type: integer default: 30 - - &217 + - &219 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 @@ -1645,7 +1645,7 @@ paths: required: false schema: type: string - - &218 + - &220 name: status description: Returns webhook deliveries filtered by delivery outcome classification based on `status_code` range. A `status` of `success` returns deliveries @@ -1665,7 +1665,7 @@ paths: application/json: schema: type: array - items: &219 + items: &221 title: Simple webhook delivery description: Delivery made by a webhook, without request and response information. @@ -1745,7 +1745,7 @@ paths: - installation_id - repository_id examples: - default: &220 + default: &222 value: - id: 12345678 guid: 0b989ba4-242f-11e5-81e1-c7b6966d2516 @@ -1804,7 +1804,7 @@ paths: description: Validation failed, or the endpoint has been spammed. content: application/json: - schema: &128 + schema: &130 title: Validation Error description: Validation Error type: object @@ -1873,7 +1873,7 @@ paths: description: Response content: application/json: - schema: &221 + schema: &223 title: Webhook delivery description: Delivery made by a webhook. type: object @@ -1987,7 +1987,7 @@ paths: - request - response examples: - default: &222 + default: &224 value: id: 12345678 guid: 0b989ba4-242f-11e5-81e1-c7b6966d2516 @@ -2188,7 +2188,7 @@ paths: parameters: - *17 - *19 - - &93 + - &95 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) @@ -2771,7 +2771,7 @@ paths: suspended_at: suspended_by: headers: - Link: &68 + Link: &70 example: ; rel="next", ; rel="last" schema: @@ -2968,11 +2968,11 @@ paths: - selected repositories: type: array - items: &80 + items: &82 title: Repository description: A repository on GitHub. type: object - properties: &296 + properties: &298 id: description: Unique identifier of the repository example: 42 @@ -2992,7 +2992,7 @@ paths: title: License Simple description: License Simple type: object - properties: &89 + properties: &91 key: type: string example: mit @@ -3014,7 +3014,7 @@ paths: html_url: type: string format: uri - required: &90 + required: &92 - key - name - url @@ -3423,7 +3423,7 @@ paths: type: boolean lexical_commit_sha: type: string - required: &297 + required: &299 - archive_url - assignees_url - blobs_url @@ -3497,7 +3497,7 @@ paths: - watchers_count - created_at - updated_at - x-github-breaking-changes: &298 + x-github-breaking-changes: &300 - changeset: remove_use_squash_pr_title_as_default patch: properties: @@ -7453,7 +7453,7 @@ paths: required: true content: application/json: - schema: &141 + schema: &143 title: Actions OIDC Custom Property Inclusion Input description: Input for creating an OIDC custom property inclusion type: object @@ -8153,7 +8153,7 @@ paths: description: Response content: application/json: - schema: &188 + schema: &190 type: array description: A list of default code security configurations items: @@ -8169,7 +8169,7 @@ paths: default configuration: *49 examples: - default: &189 + default: &191 value: - default_for_new_repos: public configuration: @@ -8631,7 +8631,7 @@ paths: default: value: default_for_new_repos: all - configuration: &187 + configuration: &189 value: id: 1325 target_type: organization @@ -8721,7 +8721,7 @@ paths: application/json: schema: type: array - items: &190 + items: &192 type: object description: Repositories associated with a code security configuration and attachment status @@ -8743,7 +8743,7 @@ paths: title: Simple Repository description: A GitHub repository. type: object - properties: &208 + properties: &68 id: type: integer format: int64 @@ -8970,7 +8970,7 @@ paths: format: uri example: https://api.github.com/repos/octocat/Hello-World/hooks description: The API URL to list the hooks on the repository. - required: &209 + required: &69 - archive_url - assignees_url - blobs_url @@ -9022,7 +9022,7 @@ paths: summary: Example of code security configuration repositories value: - status: attached - repository: &191 + repository: &193 value: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -9527,7 +9527,7 @@ paths: url: https://docs.github.com/rest/dependabot/alerts#list-dependabot-alerts-for-an-enterprise parameters: - *40 - - &197 + - &199 name: classification in: query description: |- @@ -9536,7 +9536,7 @@ paths: Can be: `malware`, `general` schema: type: string - - &198 + - &200 name: state in: query description: |- @@ -9545,7 +9545,7 @@ paths: Can be: `auto_dismissed`, `dismissed`, `fixed`, `open` schema: type: string - - &199 + - &201 name: severity in: query description: |- @@ -9554,7 +9554,7 @@ paths: Can be: `low`, `medium`, `high`, `critical` schema: type: string - - &200 + - &202 name: ecosystem in: query description: |- @@ -9563,14 +9563,14 @@ paths: Can be: `composer`, `go`, `maven`, `npm`, `nuget`, `pip`, `pub`, `rubygems`, `rust` schema: type: string - - &201 + - &203 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 - - &202 + - &204 name: epss_percentage in: query description: |- @@ -9582,7 +9582,7 @@ paths: Filters the list of alerts based on EPSS percentages. If specified, only alerts with the provided EPSS percentages will be returned. schema: type: string - - &497 + - &499 name: has in: query description: |- @@ -9596,7 +9596,7 @@ paths: type: string enum: - patch - - &203 + - &205 name: assignee in: query description: |- @@ -9605,7 +9605,7 @@ paths: Use `*` to list alerts with at least one assignee or `none` to list alerts with no assignees. schema: type: string - - &204 + - &206 name: scope in: query description: The scope of the vulnerable dependency. If specified, only alerts @@ -9615,7 +9615,7 @@ paths: enum: - development - runtime - - &205 + - &207 name: sort in: query description: |- @@ -9641,11 +9641,11 @@ paths: application/json: schema: type: array - items: &206 + items: &208 type: object description: A Dependabot alert. properties: - number: &177 + number: &179 type: integer description: The security alert number. readOnly: true @@ -9708,7 +9708,7 @@ paths: - direct - transitive - inconclusive - security_advisory: &498 + security_advisory: &500 type: object description: Details for the GitHub Security Advisory. readOnly: true @@ -9937,29 +9937,29 @@ paths: - withdrawn_at version: '2026-03-10' security_vulnerability: *66 - url: &180 + url: &182 type: string description: The REST API URL of the alert resource. format: uri readOnly: true - html_url: &181 + html_url: &183 type: string description: The GitHub URL of the alert resource. format: uri readOnly: true - created_at: &178 + created_at: &180 type: string description: 'The time that the alert was created in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' format: date-time readOnly: true - updated_at: &179 + updated_at: &181 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 - dismissed_at: &183 + dismissed_at: &185 type: string description: 'The time that the alert was dismissed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' @@ -9989,21 +9989,21 @@ paths: dismissal. nullable: true maxLength: 280 - fixed_at: &182 + fixed_at: &184 type: string 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 nullable: true - auto_dismissed_at: &499 + auto_dismissed_at: &501 type: string description: 'The time that the alert was auto-dismissed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' format: date-time readOnly: true nullable: true - dismissal_request: &500 + dismissal_request: &502 title: Dependabot alert dismissal request description: Information about an active dismissal request for this Dependabot alert. @@ -10065,7 +10065,7 @@ paths: - repository additionalProperties: false examples: - default: &207 + default: &209 value: - number: 2 state: dismissed @@ -10413,6 +10413,266 @@ paths: previews: [] category: dependabot subcategory: alerts + "/enterprises/{enterprise}/dependabot/repository-access": + get: + summary: Lists the repositories Dependabot can access in an enterprise + description: |- + Lists repositories that enterprise admins have allowed Dependabot to access when updating dependencies across organizations in the enterprise. + + The authenticated user must be an enterprise owner to use this endpoint. + tags: + - dependabot + operationId: dependabot/repository-access-for-enterprise + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/dependabot/repository-access#lists-the-repositories-dependabot-can-access-in-an-enterprise + parameters: + - *40 + - name: page + in: query + description: The page number of results to fetch. + required: false + schema: + type: integer + minimum: 1 + default: 1 + - name: per_page + in: query + description: Number of results per page. + required: false + schema: + type: integer + minimum: 1 + maximum: 100 + default: 30 + responses: + '200': + description: Response + content: + application/json: + schema: &210 + title: Dependabot Repository Access Details + description: Information about repositories that Dependabot is able + to access in an organization + type: object + properties: + default_level: + type: string + description: The default repository access level for Dependabot + updates. + enum: + - public + - internal + example: internal + nullable: true + accessible_repositories: + type: array + items: + title: Simple Repository + description: A GitHub repository. + type: object + properties: *68 + required: *69 + nullable: true + additionalProperties: false + examples: + default: &211 + value: + default_level: public + accessible_repositories: + - id: 123456 + node_id: MDEwOlJlcG9zaXRvcnkxMjM0NTY= + name: example-repo + full_name: octocat/example-repo + owner: + name: octocat + email: octo@github.com + login: octocat + id: 1 + node_id: MDQ6VXNlcjE= + avatar_url: https://avatars.githubusercontent.com/u/1?v=4 + gravatar_id: 1 + url: https://api.github.com/users/octocat + html_url: https://github.com/octocat/example-repo + followers_url: https://api.github.com/users/octocat/followers + following_url: https://api.github.com/users/octocat/following{/other_user} + gists_url: https://api.github.com/users/octocat/gists{/gist_id} + starred_url: https://api.github.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 + starred_at: '"2020-07-09T00:17:55Z"' + user_view_type: default + private: false + html_url: https://github.com/octocat/example-repo + description: This is an example repository. + fork: false + url: https://api.github.com/repos/octocat/example-repo + archive_url: https://api.github.com/repos/octocat/example-repo/{archive_format}{/ref} + assignees_url: https://api.github.com/repos/octocat/example-repo/assignees{/user} + blobs_url: https://api.github.com/repos/octocat/example-repo/git/blobs{/sha} + branches_url: https://api.github.com/repos/octocat/example-repo/branches{/branch} + collaborators_url: https://api.github.com/repos/octocat/example-repo/collaborators{/collaborator} + comments_url: https://api.github.com/repos/octocat/example-repo/comments{/number} + commits_url: https://api.github.com/repos/octocat/example-repo/commits{/sha} + compare_url: https://api.github.com/repos/octocat/example-repo/compare/{base}...{head} + contents_url: https://api.github.com/repos/octocat/example-repo/contents/{+path} + contributors_url: https://api.github.com/repos/octocat/example-repo/contributors + deployments_url: https://api.github.com/repos/octocat/example-repo/deployments + downloads_url: https://api.github.com/repos/octocat/example-repo/downloads + events_url: https://api.github.com/repos/octocat/example-repo/events + forks_url: https://api.github.com/repos/octocat/example-repo/forks + git_commits_url: https://api.github.com/repos/octocat/example-repo/git/commits{/sha} + git_refs_url: https://api.github.com/repos/octocat/example-repo/git/refs{/sha} + git_tags_url: https://api.github.com/repos/octocat/example-repo/git/tags{/sha} + issue_comment_url: https://api.github.com/repos/octocat/example-repo/issues/comments{/number} + issue_events_url: https://api.github.com/repos/octocat/example-repo/issues/events{/number} + issues_url: https://api.github.com/repos/octocat/example-repo/issues{/number} + keys_url: https://api.github.com/repos/octocat/example-repo/keys{/key_id} + labels_url: https://api.github.com/repos/octocat/example-repo/labels{/name} + languages_url: https://api.github.com/repos/octocat/example-repo/languages + merges_url: https://api.github.com/repos/octocat/example-repo/merges + milestones_url: https://api.github.com/repos/octocat/example-repo/milestones{/number} + notifications_url: https://api.github.com/repos/octocat/example-repo/notifications{?since,all,participating} + pulls_url: https://api.github.com/repos/octocat/example-repo/pulls{/number} + releases_url: https://api.github.com/repos/octocat/example-repo/releases{/id} + stargazers_url: https://api.github.com/repos/octocat/example-repo/stargazers + statuses_url: https://api.github.com/repos/octocat/example-repo/statuses/{sha} + subscribers_url: https://api.github.com/repos/octocat/example-repo/subscribers + subscription_url: https://api.github.com/repos/octocat/example-repo/subscription + tags_url: https://api.github.com/repos/octocat/example-repo/tags + teams_url: https://api.github.com/repos/octocat/example-repo/teams + trees_url: https://api.github.com/repos/octocat/example-repo/git/trees{/sha} + hooks_url: https://api.github.com/repos/octocat/example-repo/hooks + '403': *29 + '404': *6 + x-github: + githubCloudOnly: false + enabledForGitHubApps: false + category: dependabot + subcategory: repository-access + patch: + summary: Updates Dependabot's repository access list for an enterprise + description: |- + Updates repositories according to the list of repositories that enterprise admins have given Dependabot access to when they've updated dependencies across organizations in the enterprise. + + The authenticated user must be an enterprise owner to use this endpoint. + + **Example request body:** + ```json + { + "repository_ids_to_add": [123, 456], + "repository_ids_to_remove": [789] + } + ``` + tags: + - dependabot + operationId: dependabot/update-repository-access-for-enterprise + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/dependabot/repository-access#updates-dependabots-repository-access-list-for-an-enterprise + parameters: + - *40 + requestBody: + required: true + content: + application/json: + schema: + type: object + properties: + repository_ids_to_add: + type: array + items: + type: integer + description: List of repository IDs to add. + repository_ids_to_remove: + type: array + items: + type: integer + description: List of repository IDs to remove. + example: + repository_ids_to_add: + - 123 + - 456 + repository_ids_to_remove: + - 789 + examples: + '204': + summary: Example with a 'succeeded' status. + add-example: + summary: Add repositories + value: + repository_ids_to_add: + - 123 + - 456 + remove-example: + summary: Remove repositories + value: + repository_ids_to_remove: + - 789 + responses: + '204': + description: Response + '403': *29 + '404': *6 + x-github: + githubCloudOnly: false + enabledForGitHubApps: false + category: dependabot + subcategory: repository-access + "/enterprises/{enterprise}/dependabot/repository-access/default-level": + put: + summary: Set the default repository access level for Dependabot in an enterprise + description: |- + Sets the default level of repository access Dependabot will have while performing an update across organizations in the enterprise. Available values are: + - 'public' - Dependabot will only have access to public repositories, unless access is explicitly granted to non-public repositories. + - 'internal' - Dependabot will only have access to public and internal repositories, unless access is explicitly granted to private repositories. + + The authenticated user must be an enterprise owner to use this endpoint. + tags: + - dependabot + operationId: dependabot/set-repository-access-default-level-for-enterprise + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/dependabot/repository-access#set-the-default-repository-access-level-for-dependabot-in-an-enterprise + parameters: + - *40 + requestBody: + required: true + content: + application/json: + schema: + type: object + properties: + default_level: + type: string + description: The default repository access level for Dependabot + updates. + enum: + - public + - internal + example: internal + required: + - default_level + examples: + '204': + summary: Example with a 'succeeded' status. + value: + default_level: public + responses: + '204': + description: Response + '403': *29 + '404': *6 + x-github: + githubCloudOnly: false + enabledForGitHubApps: false + category: dependabot + subcategory: repository-access "/enterprises/{enterprise}/teams": get: summary: List enterprise teams @@ -10434,7 +10694,7 @@ paths: application/json: schema: type: array - items: &69 + items: &71 title: Enterprise Team description: Group of enterprise owners and/or members type: object @@ -10505,7 +10765,7 @@ paths: created_at: '2019-01-26T19:01:12Z' updated_at: '2019-01-26T19:14:43Z' headers: - Link: *68 + Link: *70 '403': *29 x-github: githubCloudOnly: false @@ -10578,9 +10838,9 @@ paths: description: Response content: application/json: - schema: *69 + schema: *71 examples: - default: &77 + default: &79 value: id: 1 name: Justice League @@ -10609,7 +10869,7 @@ paths: url: https://docs.github.com/rest/enterprise-teams/enterprise-team-members#list-members-in-an-enterprise-team parameters: - *40 - - &70 + - &72 name: enterprise-team description: The slug version of the enterprise team name. You can also substitute this value with the enterprise team id. @@ -10628,7 +10888,7 @@ paths: type: array items: *4 examples: - default: &71 + default: &73 value: - login: octocat id: 1 @@ -10649,7 +10909,7 @@ paths: type: User site_admin: false headers: - Link: *68 + Link: *70 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -10667,7 +10927,7 @@ paths: url: https://docs.github.com/rest/enterprise-teams/enterprise-team-members#bulk-add-team-members parameters: - *40 - - *70 + - *72 requestBody: required: true content: @@ -10698,7 +10958,7 @@ paths: type: array items: *4 examples: - default: *71 + default: *73 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -10716,7 +10976,7 @@ paths: url: https://docs.github.com/rest/enterprise-teams/enterprise-team-members#bulk-remove-team-members parameters: - *40 - - *70 + - *72 requestBody: required: true content: @@ -10747,7 +11007,7 @@ paths: type: array items: *4 examples: - default: *71 + default: *73 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -10765,8 +11025,8 @@ paths: url: https://docs.github.com/rest/enterprise-teams/enterprise-team-members#get-enterprise-team-membership parameters: - *40 - - *70 - - &72 + - *72 + - &74 name: username description: The handle for the GitHub user account. in: path @@ -10780,7 +11040,7 @@ paths: application/json: schema: *4 examples: - exampleKey1: &73 + exampleKey1: &75 value: login: octocat id: 1 @@ -10816,8 +11076,8 @@ paths: url: https://docs.github.com/rest/enterprise-teams/enterprise-team-members#add-team-member parameters: - *40 - - *70 - *72 + - *74 responses: '201': description: Successfully added team member @@ -10825,7 +11085,7 @@ paths: application/json: schema: *4 examples: - exampleKey1: *73 + exampleKey1: *75 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -10843,8 +11103,8 @@ paths: url: https://docs.github.com/rest/enterprise-teams/enterprise-team-members#remove-team-membership parameters: - *40 - - *70 - *72 + - *74 responses: '204': description: Response @@ -10866,7 +11126,7 @@ paths: url: https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#get-organization-assignments parameters: - *40 - - *70 + - *72 - *17 - *19 responses: @@ -10876,11 +11136,11 @@ paths: application/json: schema: type: array - items: &74 + items: &76 title: Organization Simple description: A GitHub organization. type: object - properties: &193 + properties: &195 login: type: string example: github @@ -10921,7 +11181,7 @@ paths: type: string example: A great organization nullable: true - required: &194 + required: &196 - login - url - id @@ -10935,7 +11195,7 @@ paths: - avatar_url - description examples: - default: &75 + default: &77 value: login: github id: 1 @@ -10966,7 +11226,7 @@ paths: url: https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#add-organization-assignments parameters: - *40 - - *70 + - *72 requestBody: required: true content: @@ -10994,9 +11254,9 @@ paths: application/json: schema: type: array - items: *74 + items: *76 examples: - default: &117 + default: &119 value: - login: github id: 1 @@ -11027,7 +11287,7 @@ paths: url: https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#remove-organization-assignments parameters: - *40 - - *70 + - *72 requestBody: required: true content: @@ -11068,8 +11328,8 @@ paths: url: https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#get-organization-assignment parameters: - *40 - - *70 - - &76 + - *72 + - &78 name: org description: The organization name. The name is not case sensitive. in: path @@ -11081,9 +11341,9 @@ paths: description: The team is assigned to the organization content: application/json: - schema: *74 + schema: *76 examples: - default: *75 + default: *77 '404': description: The team is not assigned to the organization x-github: @@ -11102,16 +11362,16 @@ paths: url: https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#add-an-organization-assignment parameters: - *40 - - *70 - - *76 + - *72 + - *78 responses: '201': description: Successfully assigned the enterprise team to the organization. content: application/json: - schema: *74 + schema: *76 examples: - default: *75 + default: *77 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -11128,8 +11388,8 @@ paths: url: https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#delete-an-organization-assignment parameters: - *40 - - *70 - - *76 + - *72 + - *78 responses: '204': description: Successfully unassigned the enterprise team from the organization. @@ -11153,7 +11413,7 @@ paths: url: https://docs.github.com/rest/enterprise-teams/enterprise-teams#get-an-enterprise-team parameters: - *40 - - &78 + - &80 name: team_slug description: The slug of the team name. in: path @@ -11165,11 +11425,11 @@ paths: description: Response content: application/json: - schema: *69 + schema: *71 examples: - default: *77 + default: *79 headers: - Link: *68 + Link: *70 '403': *29 x-github: githubCloudOnly: false @@ -11187,7 +11447,7 @@ paths: url: https://docs.github.com/rest/enterprise-teams/enterprise-teams#update-an-enterprise-team parameters: - *40 - - *78 + - *80 requestBody: required: true content: @@ -11242,11 +11502,11 @@ paths: description: Response content: application/json: - schema: *69 + schema: *71 examples: - default: *77 + default: *79 headers: - Link: *68 + Link: *70 '403': *29 x-github: githubCloudOnly: false @@ -11267,7 +11527,7 @@ paths: url: https://docs.github.com/rest/enterprise-teams/enterprise-teams#delete-an-enterprise-team parameters: - *40 - - *78 + - *80 responses: '204': description: Response @@ -11305,7 +11565,7 @@ paths: application/json: schema: type: array - items: &112 + items: &114 title: Event description: Event type: object @@ -11315,7 +11575,7 @@ paths: type: type: string nullable: true - actor: &79 + actor: &81 title: Actor description: Actor type: object @@ -11355,7 +11615,7 @@ paths: - id - name - url - org: *79 + org: *81 payload: oneOf: - title: CreateEvent @@ -11401,7 +11661,7 @@ paths: properties: action: type: string - discussion: &761 + discussion: &763 title: Discussion description: A Discussion in a repository. type: object @@ -11688,7 +11948,7 @@ paths: - id labels: type: array - items: &85 + items: &87 title: Label description: Color-coded labels help you categorize and filter your issues (just like labels in Gmail). @@ -11763,12 +12023,12 @@ paths: properties: action: type: string - issue: &86 + issue: &88 title: Issue description: Issues are a great way to keep track of tasks, enhancements, and bugs for your projects. type: object - properties: &552 + properties: &554 id: type: integer format: int64 @@ -11881,7 +12141,7 @@ paths: description: A collection of related issues and pull requests. type: object - properties: &280 + properties: &282 url: type: string format: uri @@ -11951,7 +12211,7 @@ paths: format: date-time example: '2012-10-09T23:39:01Z' nullable: true - required: &281 + required: &283 - closed_issues - creator - description @@ -12030,7 +12290,7 @@ paths: timeline_url: type: string format: uri - type: &243 + type: &245 title: Issue Type description: The type of issue. type: object @@ -12080,7 +12340,7 @@ paths: - node_id - name - description - repository: *80 + repository: *82 performed_via_github_app: title: GitHub app description: GitHub apps are a new way to extend GitHub. @@ -12091,9 +12351,9 @@ paths: actors within GitHub. type: object nullable: true - properties: *81 - required: *82 - author_association: &83 + properties: *83 + required: *84 + author_association: &85 title: author_association type: string example: OWNER @@ -12108,7 +12368,7 @@ paths: - MEMBER - NONE - OWNER - reactions: &84 + reactions: &86 title: Reaction Rollup type: object properties: @@ -12144,7 +12404,7 @@ paths: - hooray - eyes - rocket - sub_issues_summary: &679 + sub_issues_summary: &681 title: Sub-issues Summary type: object properties: @@ -12169,7 +12429,7 @@ paths: description: Comments provide a way for people to collaborate on an issue. type: object - properties: &87 + properties: &89 id: description: Unique identifier of the issue comment example: 42 @@ -12212,7 +12472,7 @@ paths: issue_url: type: string format: uri - author_association: *83 + author_association: *85 performed_via_github_app: title: GitHub app description: GitHub apps are a new way to extend @@ -12223,15 +12483,15 @@ paths: class actors within GitHub. type: object nullable: true - properties: *81 - required: *82 - reactions: *84 + properties: *83 + required: *84 + reactions: *86 pin: title: Pinned Issue Comment description: Context around who pinned an issue comment and when it was pinned. type: object - properties: &576 + properties: &578 pinned_at: type: string format: date-time @@ -12243,11 +12503,11 @@ paths: properties: *20 required: *21 nullable: true - required: &577 + required: &579 - pinned_at - pinned_by nullable: true - required: &88 + required: &90 - id - node_id - html_url @@ -12257,7 +12517,7 @@ paths: - created_at - updated_at nullable: true - issue_dependencies_summary: &680 + issue_dependencies_summary: &682 title: Issue Dependencies Summary type: object properties: @@ -12276,7 +12536,7 @@ paths: - total_blocking issue_field_values: type: array - items: &560 + items: &562 title: Issue Field Value description: A value assigned to an issue field type: object @@ -12337,7 +12597,7 @@ paths: - node_id - data_type - value - required: &553 + required: &555 - assignee - closed_at - comments @@ -12358,7 +12618,7 @@ paths: - user - created_at - updated_at - x-github-breaking-changes: &554 + x-github-breaking-changes: &556 - changeset: deprecate_beta_media_type patch: properties: @@ -12405,10 +12665,10 @@ paths: assignees: type: array items: *4 - label: *85 + label: *87 labels: type: array - items: *85 + items: *87 required: - action - issue @@ -12417,14 +12677,14 @@ paths: properties: action: type: string - issue: *86 - comment: &548 + issue: *88 + comment: &550 title: Issue Comment description: Comments provide a way for people to collaborate on an issue. type: object - properties: *87 - required: *88 + properties: *89 + required: *90 required: - action - issue @@ -12597,8 +12857,8 @@ paths: title: License Simple description: License Simple type: object - properties: *89 - required: *90 + properties: *91 + required: *92 nullable: true allow_forking: type: boolean @@ -12687,7 +12947,7 @@ paths: type: string number: type: integer - pull_request: &91 + pull_request: &93 title: Pull Request Minimal type: object properties: @@ -12758,10 +13018,10 @@ paths: assignees: type: array items: *4 - label: *85 + label: *87 labels: type: array - items: *85 + items: *87 required: - action - number @@ -12771,7 +13031,7 @@ paths: properties: action: type: string - pull_request: *91 + pull_request: *93 comment: type: object properties: @@ -13022,7 +13282,7 @@ paths: - pull_request updated_at: type: string - pull_request: *91 + pull_request: *93 required: - action - review @@ -13071,7 +13331,7 @@ paths: updated_at: type: string format: date-time - reactions: *84 + reactions: *86 required: - action - comment @@ -13082,7 +13342,7 @@ paths: type: string release: allOf: - - &610 + - &612 title: Release description: A release. type: object @@ -13153,7 +13413,7 @@ paths: author: *4 assets: type: array - items: &611 + items: &613 title: Release Asset description: Data related to a release. type: object @@ -13228,7 +13488,7 @@ paths: description: The URL of the release discussion. type: string format: uri - reactions: *84 + reactions: *86 required: - assets_url - upload_url @@ -13320,7 +13580,7 @@ paths: created_at: '2022-06-07T07:50:26Z' '304': *37 '403': *29 - '503': &120 + '503': &122 description: Service unavailable content: application/json: @@ -13413,7 +13673,7 @@ paths: _links: type: object properties: - timeline: &92 + timeline: &94 title: Link With Type description: Hypermedia Link with Type type: object @@ -13425,17 +13685,17 @@ paths: required: - href - type - user: *92 - security_advisories: *92 - current_user: *92 - current_user_public: *92 - current_user_actor: *92 - current_user_organization: *92 + user: *94 + security_advisories: *94 + current_user: *94 + current_user_public: *94 + current_user_actor: *94 + current_user_organization: *94 current_user_organizations: type: array - items: *92 - repository_discussions: *92 - repository_discussions_category: *92 + items: *94 + repository_discussions: *94 + repository_discussions_category: *94 required: - timeline - user @@ -13497,7 +13757,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#list-gists-for-the-authenticated-user parameters: - - *93 + - *95 - *17 - *19 responses: @@ -13507,7 +13767,7 @@ paths: application/json: schema: type: array - items: &94 + items: &96 title: Base Gist description: Base Gist type: object @@ -13635,7 +13895,7 @@ paths: path: "/properties/history" version: '2026-03-10' examples: - default: &95 + default: &97 value: - url: https://api.github.com/gists/aa5a315d61ae9438b18d forks_url: https://api.github.com/gists/aa5a315d61ae9438b18d/forks @@ -13680,7 +13940,7 @@ paths: site_admin: false truncated: false headers: - Link: *68 + Link: *70 '304': *37 '403': *29 x-github: @@ -13756,7 +14016,7 @@ paths: description: Response content: application/json: - schema: &96 + schema: &98 title: Gist Simple description: Gist Simple type: object @@ -13773,7 +14033,7 @@ paths: url: type: string format: uri - user: &686 + user: &688 title: Public User description: Public User type: object @@ -14143,7 +14403,7 @@ paths: path: "/properties/history" version: '2026-03-10' examples: - default: &97 + default: &99 value: url: https://api.github.com/gists/2decf6c462d9b4418f2 forks_url: https://api.github.com/gists/2decf6c462d9b4418f2/forks @@ -14247,7 +14507,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#list-public-gists parameters: - - *93 + - *95 - *17 - *19 responses: @@ -14257,11 +14517,11 @@ paths: application/json: schema: type: array - items: *94 + items: *96 examples: - default: *95 + default: *97 headers: - Link: *68 + Link: *70 '422': *15 '304': *37 '403': *29 @@ -14281,7 +14541,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#list-starred-gists parameters: - - *93 + - *95 - *17 - *19 responses: @@ -14291,11 +14551,11 @@ paths: application/json: schema: type: array - items: *94 + items: *96 examples: - default: *95 + default: *97 headers: - Link: *68 + Link: *70 '401': *25 '304': *37 '403': *29 @@ -14320,7 +14580,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#get-a-gist parameters: - - &98 + - &100 name: gist_id description: The unique identifier of the gist. in: path @@ -14332,10 +14592,10 @@ paths: description: Response content: application/json: - schema: *96 + schema: *98 examples: - default: *97 - '403': &101 + default: *99 + '403': &103 description: Forbidden Gist content: application/json: @@ -14382,7 +14642,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#update-a-gist parameters: - - *98 + - *100 requestBody: required: true content: @@ -14442,9 +14702,9 @@ paths: description: Response content: application/json: - schema: *96 + schema: *98 examples: - updateGist: *97 + updateGist: *99 deleteFile: value: url: https://api.github.com/gists/2decf6c462d9b4418f2 @@ -14602,7 +14862,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#delete-a-gist parameters: - - *98 + - *100 responses: '204': description: Response @@ -14630,7 +14890,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/comments#list-gist-comments parameters: - - *98 + - *100 - *17 - *19 responses: @@ -14640,7 +14900,7 @@ paths: application/json: schema: type: array - items: &99 + items: &101 title: Gist Comment description: A comment made to a gist. type: object @@ -14675,7 +14935,7 @@ paths: type: string format: date-time example: '2011-04-18T23:23:56Z' - author_association: *83 + author_association: *85 required: - url - id @@ -14715,7 +14975,7 @@ paths: updated_at: '2011-04-18T23:23:56Z' author_association: COLLABORATOR headers: - Link: *68 + Link: *70 '304': *37 '404': *6 '403': *29 @@ -14739,7 +14999,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/comments#create-a-gist-comment parameters: - - *98 + - *100 requestBody: required: true content: @@ -14764,9 +15024,9 @@ paths: description: Response content: application/json: - schema: *99 + schema: *101 examples: - default: &100 + default: &102 value: id: 1 node_id: MDExOkdpc3RDb21tZW50MQ== @@ -14823,8 +15083,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/comments#get-a-gist-comment parameters: - - *98 - - &102 + - *100 + - &104 name: comment_id description: The unique identifier of the comment. in: path @@ -14837,12 +15097,12 @@ paths: description: Response content: application/json: - schema: *99 + schema: *101 examples: - default: *100 + default: *102 '304': *37 '404': *6 - '403': *101 + '403': *103 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -14863,8 +15123,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/comments#update-a-gist-comment parameters: - - *98 - - *102 + - *100 + - *104 requestBody: required: true content: @@ -14889,9 +15149,9 @@ paths: description: Response content: application/json: - schema: *99 + schema: *101 examples: - default: *100 + default: *102 '404': *6 x-github: githubCloudOnly: false @@ -14908,8 +15168,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/comments#delete-a-gist-comment parameters: - - *98 - - *102 + - *100 + - *104 responses: '204': description: Response @@ -14932,7 +15192,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#list-gist-commits parameters: - - *98 + - *100 - *17 - *19 responses: @@ -15033,7 +15293,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#list-gist-forks parameters: - - *98 + - *100 - *17 - *19 responses: @@ -15043,7 +15303,7 @@ paths: application/json: schema: type: array - items: *96 + items: *98 examples: default: value: @@ -15089,7 +15349,7 @@ paths: type: User site_admin: false headers: - Link: *68 + Link: *70 '404': *6 '304': *37 '403': *29 @@ -15108,13 +15368,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#fork-a-gist parameters: - - *98 + - *100 responses: '201': description: Response content: application/json: - schema: *94 + schema: *96 examples: default: value: @@ -15191,7 +15451,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#check-if-a-gist-is-starred parameters: - - *98 + - *100 responses: '204': description: Response if gist is starred @@ -15221,7 +15481,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#star-a-gist parameters: - - *98 + - *100 responses: '204': description: Response @@ -15243,7 +15503,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#unstar-a-gist parameters: - - *98 + - *100 responses: '204': description: Response @@ -15271,7 +15531,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#get-a-gist-revision parameters: - - *98 + - *100 - name: sha in: path required: true @@ -15282,9 +15542,9 @@ paths: description: Response content: application/json: - schema: *96 + schema: *98 examples: - default: *97 + default: *99 '422': *15 '404': *6 '403': *29 @@ -15445,7 +15705,7 @@ paths: type: array items: allOf: - - *80 + - *82 repository_selection: type: string example: selected @@ -15568,7 +15828,7 @@ paths: open_issues: 1 watchers: 1 headers: - Link: *68 + Link: *70 '403': *29 '304': *37 '401': *25 @@ -15652,7 +15912,7 @@ paths: - closed - all default: open - - &246 + - &248 name: labels description: 'A list of comma separated label names. Example: `bug,ui,@high`' in: query @@ -15671,7 +15931,7 @@ paths: - comments default: created - *62 - - *93 + - *95 - name: collab in: query required: false @@ -15701,9 +15961,9 @@ paths: application/json: schema: type: array - items: *86 + items: *88 examples: - default: &247 + default: &249 value: - id: 1 node_id: MDU6SXNzdWUx @@ -15948,7 +16208,7 @@ paths: watchers: 1 author_association: COLLABORATOR headers: - Link: *68 + Link: *70 '422': *15 '304': *37 '404': *6 @@ -15987,8 +16247,8 @@ paths: title: License Simple description: License Simple type: object - properties: *89 - required: *90 + properties: *91 + required: *92 examples: default: value: @@ -16273,7 +16533,7 @@ paths: example: '279' schema: type: string - X-CommonMarker-Version: &103 + X-CommonMarker-Version: &105 example: 0.17.4 schema: type: string @@ -16328,7 +16588,7 @@ paths: '200': description: Response headers: - X-CommonMarker-Version: *103 + X-CommonMarker-Version: *105 content: text/html: schema: @@ -16357,7 +16617,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/apps/marketplace#get-a-subscription-plan-for-an-account parameters: - - &106 + - &108 name: account_id description: account_id parameter in: path @@ -16369,7 +16629,7 @@ paths: description: Response content: application/json: - schema: &105 + schema: &107 title: Marketplace Purchase description: Marketplace Purchase type: object @@ -16399,7 +16659,7 @@ paths: nullable: true id: type: integer - plan: &104 + plan: &106 title: Marketplace Listing Plan description: Marketplace Listing Plan type: object @@ -16488,7 +16748,7 @@ paths: nullable: true updated_at: type: string - plan: *104 + plan: *106 required: - url - id @@ -16496,7 +16756,7 @@ paths: - login - marketplace_purchase examples: - default: &107 + default: &109 value: url: https://api.github.com/orgs/github type: Organization @@ -16581,9 +16841,9 @@ paths: application/json: schema: type: array - items: *104 + items: *106 examples: - default: &108 + default: &110 value: - url: https://api.github.com/marketplace_listing/plans/1313 accounts_url: https://api.github.com/marketplace_listing/plans/1313/accounts @@ -16601,7 +16861,7 @@ paths: - Up to 25 private repositories - 11 concurrent builds headers: - Link: *68 + Link: *70 '404': *6 '401': *25 x-github: @@ -16623,14 +16883,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/apps/marketplace#list-accounts-for-a-plan parameters: - - &109 + - &111 name: plan_id description: The unique identifier of the plan. in: path required: true schema: type: integer - - &110 + - &112 name: sort description: The property to sort the results by. in: query @@ -16660,9 +16920,9 @@ paths: application/json: schema: type: array - items: *105 + items: *107 examples: - default: &111 + default: &113 value: - url: https://api.github.com/orgs/github type: Organization @@ -16713,7 +16973,7 @@ paths: - Up to 25 private repositories - 11 concurrent builds headers: - Link: *68 + Link: *70 '404': *6 '422': *15 '401': *25 @@ -16736,15 +16996,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/apps/marketplace#get-a-subscription-plan-for-an-account-stubbed parameters: - - *106 + - *108 responses: '200': description: Response content: application/json: - schema: *105 + schema: *107 examples: - default: *107 + default: *109 '404': description: Not Found when the account has not purchased the listing '401': *25 @@ -16776,11 +17036,11 @@ paths: application/json: schema: type: array - items: *104 + items: *106 examples: - default: *108 + default: *110 headers: - Link: *68 + Link: *70 '401': *25 x-github: githubCloudOnly: false @@ -16801,8 +17061,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/apps/marketplace#list-accounts-for-a-plan-stubbed parameters: - - *109 - - *110 + - *111 + - *112 - name: direction description: To return the oldest accounts first, set to `asc`. Ignored without the `sort` parameter. @@ -16822,11 +17082,11 @@ paths: application/json: schema: type: array - items: *105 + items: *107 examples: - default: *111 + default: *113 headers: - Link: *68 + Link: *70 '401': *25 x-github: githubCloudOnly: false @@ -17088,14 +17348,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-public-events-for-a-network-of-repositories parameters: - - &344 + - &346 name: owner description: The account owner of the repository. The name is not case sensitive. in: path required: true schema: type: string - - &345 + - &347 name: repo description: The name of the repository without the `.git` extension. The name is not case sensitive. @@ -17112,7 +17372,7 @@ paths: application/json: schema: type: array - items: *112 + items: *114 examples: default: value: @@ -17157,7 +17417,7 @@ paths: '404': *6 '403': *29 '304': *37 - '301': &348 + '301': &350 description: Moved permanently content: application/json: @@ -17179,7 +17439,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#list-notifications-for-the-authenticated-user parameters: - - &586 + - &588 name: all description: If `true`, show notifications marked as read. in: query @@ -17187,7 +17447,7 @@ paths: schema: type: boolean default: false - - &587 + - &589 name: participating description: If `true`, only shows notifications in which the user is directly participating or mentioned. @@ -17196,8 +17456,8 @@ paths: schema: type: boolean default: false - - *93 - - &588 + - *95 + - &590 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: @@ -17222,18 +17482,18 @@ paths: application/json: schema: type: array - items: &113 + items: &115 title: Thread description: Thread type: object properties: id: type: string - repository: &159 + repository: &161 title: Minimal Repository description: Minimal Repository type: object - properties: &211 + properties: &213 id: type: integer format: int64 @@ -17519,7 +17779,7 @@ paths: web_commit_signoff_required: type: boolean example: false - security_and_analysis: &299 + security_and_analysis: &301 nullable: true type: object properties: @@ -17639,7 +17899,7 @@ paths: the repository. The keys are the custom property names, and the values are the corresponding custom property values. additionalProperties: true - required: &212 + required: &214 - archive_url - assignees_url - blobs_url @@ -17686,7 +17946,7 @@ paths: - teams_url - trees_url - url - x-github-breaking-changes: &213 + x-github-breaking-changes: &215 - changeset: remove_has_downloads patch: properties: @@ -17733,7 +17993,7 @@ paths: - url - subscription_url examples: - default: &589 + default: &591 value: - id: '1' repository: @@ -17815,7 +18075,7 @@ paths: url: https://api.github.com/notifications/threads/1 subscription_url: https://api.github.com/notifications/threads/1/subscription headers: - Link: *68 + Link: *70 '304': *37 '403': *29 '401': *25 @@ -17899,7 +18159,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#get-a-thread parameters: - - &114 + - &116 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 @@ -17913,7 +18173,7 @@ paths: description: Response content: application/json: - schema: *113 + schema: *115 examples: default: value: @@ -18015,7 +18275,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#mark-a-thread-as-read parameters: - - *114 + - *116 responses: '205': description: Reset Content @@ -18037,7 +18297,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#mark-a-thread-as-done parameters: - - *114 + - *116 responses: '204': description: No content @@ -18060,13 +18320,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#get-a-thread-subscription-for-the-authenticated-user parameters: - - *114 + - *116 responses: '200': description: Response content: application/json: - schema: &115 + schema: &117 title: Thread Subscription description: Thread Subscription type: object @@ -18103,7 +18363,7 @@ paths: - url - subscribed examples: - default: &116 + default: &118 value: subscribed: true ignored: false @@ -18134,7 +18394,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#set-a-thread-subscription parameters: - - *114 + - *116 requestBody: required: false content: @@ -18155,9 +18415,9 @@ paths: description: Response content: application/json: - schema: *115 + schema: *117 examples: - default: *116 + default: *118 '304': *37 '403': *29 '401': *25 @@ -18180,7 +18440,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#delete-a-thread-subscription parameters: - - *114 + - *116 responses: '204': description: Response @@ -18275,9 +18535,9 @@ paths: application/json: schema: type: array - items: *74 + items: *76 examples: - default: *117 + default: *119 headers: Link: example: ; rel="next" @@ -18304,13 +18564,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#get-github-actions-cache-retention-limit-for-an-organization parameters: - - *76 + - *78 responses: '200': description: Response content: application/json: - schema: &118 + schema: &120 title: Actions cache retention limit for an organization description: GitHub Actions cache retention policy for an organization. type: object @@ -18343,12 +18603,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#set-github-actions-cache-retention-limit-for-an-organization parameters: - - *76 + - *78 requestBody: required: true content: application/json: - schema: *118 + schema: *120 examples: selected_actions: *42 responses: @@ -18377,13 +18637,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#get-github-actions-cache-storage-limit-for-an-organization parameters: - - *76 + - *78 responses: '200': description: Response content: application/json: - schema: &119 + schema: &121 title: Actions cache storage limit for an organization description: GitHub Actions cache storage policy for an organization. type: object @@ -18416,12 +18676,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#set-github-actions-cache-storage-limit-for-an-organization parameters: - - *76 + - *78 requestBody: required: true content: application/json: - schema: *119 + schema: *121 examples: selected_actions: *44 responses: @@ -18451,7 +18711,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/budgets#get-all-budgets-for-an-organization parameters: - - *76 + - *78 - name: page description: The page number of the results to fetch. in: query @@ -18623,8 +18883,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/budgets#get-a-budget-by-id-for-an-organization parameters: - - *76 - - &121 + - *78 + - &123 name: budget_id description: The ID corresponding to the budget. in: path @@ -18721,7 +18981,7 @@ paths: '404': *6 '403': *29 '500': *55 - '503': *120 + '503': *122 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -18741,8 +19001,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/budgets#update-a-budget-for-an-organization parameters: - - *76 - - *121 + - *78 + - *123 requestBody: required: true content: @@ -18933,8 +19193,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/budgets#delete-a-budget-for-an-organization parameters: - - *76 - - *121 + - *78 + - *123 responses: '200': description: Response when deleting a budget @@ -18961,7 +19221,7 @@ paths: '404': *6 '403': *29 '500': *55 - '503': *120 + '503': *122 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -18981,8 +19241,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/usage#get-billing-premium-request-usage-report-for-an-organization parameters: - - *76 - - &122 + - *78 + - &124 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, @@ -18991,7 +19251,7 @@ paths: required: false schema: type: integer - - &124 + - &126 name: month description: If specified, only return results for a single month. The value of `month` is an integer between `1` and `12`. Default value is the current @@ -19000,7 +19260,7 @@ paths: required: false schema: type: integer - - &123 + - &125 name: day description: If specified, only return results for a single day. The value of `day` is an integer between `1` and `31`. If no `year` or `month` is @@ -19015,14 +19275,14 @@ paths: required: false schema: type: string - - &736 + - &738 name: model description: The model name to query usage for. The name is not case sensitive. in: query required: false schema: type: string - - &125 + - &127 name: product description: The product name to query usage for. The name is not case sensitive. in: query @@ -19139,7 +19399,7 @@ paths: '403': *29 '404': *6 '500': *55 - '503': *120 + '503': *122 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -19159,9 +19419,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/usage#get-billing-usage-report-for-an-organization parameters: - - *76 - - *122 - - &737 + - *78 + - *124 + - &739 name: month description: If specified, only return results for a single month. The value of `month` is an integer between `1` and `12`. If no year is specified the @@ -19170,7 +19430,7 @@ paths: required: false schema: type: integer - - *123 + - *125 responses: '200': description: Billing usage report response for an organization @@ -19246,7 +19506,7 @@ paths: '400': *14 '403': *29 '500': *55 - '503': *120 + '503': *122 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -19269,19 +19529,19 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/usage#get-billing-usage-summary-for-an-organization parameters: - - *76 - - *122 + - *78 - *124 - - *123 - - &738 + - *126 + - *125 + - &740 name: repository description: The repository name to query for usage in the format owner/repository. in: query required: false schema: type: string - - *125 - - &739 + - *127 + - &741 name: sku description: The SKU to query for usage. in: query @@ -19392,7 +19652,7 @@ paths: '400': *14 '403': *29 '500': *55 - '503': *120 + '503': *122 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -19418,13 +19678,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#get-an-organization parameters: - - *76 + - *78 responses: '200': description: Response content: application/json: - schema: &126 + schema: &128 title: Organization Full description: Organization Full type: object @@ -19749,7 +20009,7 @@ paths: path: "/properties/secret_scanning_push_protection_custom_link_enabled" version: '2026-03-10' examples: - default-response: &127 + default-response: &129 value: login: github id: 1 @@ -19855,7 +20115,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#update-an-organization parameters: - - *76 + - *78 requestBody: required: false content: @@ -20071,17 +20331,17 @@ paths: description: Response content: application/json: - schema: *126 + schema: *128 examples: - default: *127 + default: *129 '422': description: Validation failed content: application/json: schema: oneOf: - - *128 - - *129 + - *130 + - *131 '409': *54 x-github: githubCloudOnly: false @@ -20115,7 +20375,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#delete-an-organization parameters: - - *76 + - *78 responses: '202': *39 '404': *6 @@ -20146,7 +20406,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#get-github-actions-cache-usage-for-an-organization parameters: - - *76 + - *78 responses: '200': description: Response @@ -20172,7 +20432,7 @@ paths: total_active_caches_size_in_bytes: 3344284 total_active_caches_count: 5 headers: - Link: *68 + Link: *70 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -20193,7 +20453,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#list-repositories-with-github-actions-cache-usage-for-an-organization parameters: - - *76 + - *78 - *17 - *19 responses: @@ -20211,7 +20471,7 @@ paths: type: integer repository_cache_usages: type: array - items: &355 + items: &357 title: Actions Cache Usage by repository description: GitHub Actions Cache Usage by repository. type: object @@ -20246,7 +20506,7 @@ paths: active_caches_size_in_bytes: 1022142 active_caches_count: 2 headers: - Link: *68 + Link: *70 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -20266,7 +20526,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#list-github-hosted-runners-for-an-organization parameters: - - *76 + - *78 - *17 - *19 responses: @@ -20284,7 +20544,7 @@ paths: type: integer runners: type: array - items: &130 + items: &132 title: GitHub-hosted hosted runner description: A Github-hosted hosted runner. type: object @@ -20338,7 +20598,7 @@ paths: - display_name - source nullable: true - machine_size_details: &138 + machine_size_details: &140 title: Github-owned VM details. description: Provides details of a particular machine spec. type: object @@ -20434,7 +20694,7 @@ paths: - public_ip_enabled - platform examples: - default: &158 + default: &160 value: total_count: 2 runners: @@ -20476,7 +20736,7 @@ paths: public_ips: [] last_active_on: '2023-04-26T15:23:37Z' headers: - Link: *68 + Link: *70 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -20494,7 +20754,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#create-a-github-hosted-runner-for-an-organization parameters: - - *76 + - *78 requestBody: required: true content: @@ -20571,9 +20831,9 @@ paths: description: Response content: application/json: - schema: *130 + schema: *132 examples: - default: &139 + default: &141 value: id: 5 name: My hosted ubuntu runner @@ -20614,7 +20874,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#list-custom-images-for-an-organization parameters: - - *76 + - *78 responses: '200': description: Response @@ -20630,7 +20890,7 @@ paths: type: integer images: type: array - items: &131 + items: &133 title: GitHub-hosted runner custom image details description: Provides details of a custom runner image type: object @@ -20681,7 +20941,7 @@ paths: - latest_version - state examples: - default: &133 + default: &135 value: total_count: 2 image_versions: @@ -20712,8 +20972,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#get-a-custom-image-definition-for-github-actions-hosted-runners parameters: - - *76 - - &132 + - *78 + - &134 name: image_definition_id description: Image definition ID of custom image in: path @@ -20725,7 +20985,7 @@ paths: description: Response content: application/json: - schema: *131 + schema: *133 examples: default: value: @@ -20755,8 +21015,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#delete-a-custom-image-from-the-organization parameters: - - *76 - - *132 + - *78 + - *134 responses: '204': description: Response @@ -20779,8 +21039,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#list-image-versions-of-a-custom-image-for-an-organization parameters: - - *132 - - *76 + - *134 + - *78 responses: '200': description: Response @@ -20796,7 +21056,7 @@ paths: type: integer image_versions: type: array - items: &134 + items: &136 title: GitHub-hosted runner custom image version details. description: Provides details of a hosted runner custom image version @@ -20829,7 +21089,7 @@ paths: - created_on - state_details examples: - default: *133 + default: *135 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -20849,9 +21109,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#get-an-image-version-of-a-custom-image-for-github-actions-hosted-runners parameters: - - *76 - - *132 - - &135 + - *78 + - *134 + - &137 name: version description: Version of a custom image in: path @@ -20864,7 +21124,7 @@ paths: description: Response content: application/json: - schema: *134 + schema: *136 examples: default: value: @@ -20890,9 +21150,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#delete-an-image-version-of-custom-image-from-the-organization parameters: - - *76 - - *132 - - *135 + - *78 + - *134 + - *137 responses: '204': description: Response @@ -20913,7 +21173,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#get-github-owned-images-for-github-hosted-runners-in-an-organization parameters: - - *76 + - *78 responses: '200': description: Response @@ -20929,7 +21189,7 @@ paths: type: integer images: type: array - items: &136 + items: &138 title: GitHub-hosted runner image details. description: Provides details of a hosted runner image type: object @@ -20965,7 +21225,7 @@ paths: - display_name - source examples: - default: &137 + default: &139 value: id: ubuntu-20.04 platform: linux-x64 @@ -20989,7 +21249,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#get-partner-images-for-github-hosted-runners-in-an-organization parameters: - - *76 + - *78 responses: '200': description: Response @@ -21005,9 +21265,9 @@ paths: type: integer images: type: array - items: *136 + items: *138 examples: - default: *137 + default: *139 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -21024,7 +21284,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#get-limits-on-github-hosted-runners-for-an-organization parameters: - - *76 + - *78 responses: '200': description: Response @@ -21077,7 +21337,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#get-github-hosted-runners-machine-specs-for-an-organization parameters: - - *76 + - *78 responses: '200': description: Response @@ -21093,7 +21353,7 @@ paths: type: integer machine_specs: type: array - items: *138 + items: *140 examples: default: value: @@ -21118,7 +21378,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#get-platforms-for-github-hosted-runners-in-an-organization parameters: - - *76 + - *78 responses: '200': description: Response @@ -21162,8 +21422,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#get-a-github-hosted-runner-for-an-organization parameters: - - *76 - - &140 + - *78 + - &142 name: hosted_runner_id description: Unique identifier of the GitHub-hosted runner. in: path @@ -21175,11 +21435,11 @@ paths: description: Response content: application/json: - schema: *130 + schema: *132 examples: - default: *139 + default: *141 headers: - Link: *68 + Link: *70 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -21197,8 +21457,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#update-a-github-hosted-runner-for-an-organization parameters: - - *76 - - *140 + - *78 + - *142 requestBody: required: true content: @@ -21264,9 +21524,9 @@ paths: description: Response content: application/json: - schema: *130 + schema: *132 examples: - default: *139 + default: *141 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -21282,16 +21542,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#delete-a-github-hosted-runner-for-an-organization parameters: - - *76 - - *140 + - *78 + - *142 responses: '202': description: Response content: application/json: - schema: *130 + schema: *132 examples: - default: *139 + default: *141 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -21311,7 +21571,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/oidc#list-oidc-custom-property-inclusions-for-an-organization parameters: - - *76 + - *78 responses: '200': description: A JSON array of OIDC custom property inclusions @@ -21344,12 +21604,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/oidc#create-an-oidc-custom-property-inclusion-for-an-organization parameters: - - *76 + - *78 requestBody: required: true content: application/json: - schema: *141 + schema: *143 examples: default: *46 responses: @@ -21383,7 +21643,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/oidc#delete-an-oidc-custom-property-inclusion-for-an-organization parameters: - - *76 + - *78 - name: custom_property_name in: path required: true @@ -21416,7 +21676,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/oidc#get-the-customization-template-for-an-oidc-subject-claim-for-an-organization parameters: - - *76 + - *78 responses: '200': description: A JSON serialized template for OIDC subject claim customization @@ -21436,7 +21696,7 @@ paths: required: - include_claim_keys examples: - default: &142 + default: &144 value: include_claim_keys: - repo @@ -21458,7 +21718,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/oidc#set-the-customization-template-for-an-oidc-subject-claim-for-an-organization parameters: - - *76 + - *78 requestBody: required: true content: @@ -21475,13 +21735,13 @@ paths: items: type: string examples: - default: *142 + default: *144 responses: '201': description: Empty response content: application/json: - schema: &168 + schema: &170 title: Empty Object description: An object without any properties. type: object @@ -21511,7 +21771,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-github-actions-permissions-for-an-organization parameters: - - *76 + - *78 responses: '200': description: Response @@ -21520,7 +21780,7 @@ paths: schema: type: object properties: - enabled_repositories: &143 + enabled_repositories: &145 type: string description: The policy that controls the repositories in the organization that are allowed to run GitHub Actions. @@ -21533,7 +21793,7 @@ paths: 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: &144 + allowed_actions: &146 type: string description: The permissions policy that controls the actions and reusable workflows that are allowed to run. @@ -21541,12 +21801,12 @@ paths: - all - local_only - selected - selected_actions_url: &361 + selected_actions_url: &363 type: string description: The API URL to use to get or set the actions and reusable workflows that are allowed to run, when `allowed_actions` is set to `selected`. - sha_pinning_required: &145 + sha_pinning_required: &147 type: boolean description: Whether actions must be pinned to a full-length commit SHA. @@ -21577,7 +21837,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-github-actions-permissions-for-an-organization parameters: - - *76 + - *78 responses: '204': description: Response @@ -21588,9 +21848,9 @@ paths: schema: type: object properties: - enabled_repositories: *143 - allowed_actions: *144 - sha_pinning_required: *145 + enabled_repositories: *145 + allowed_actions: *146 + sha_pinning_required: *147 required: - enabled_repositories examples: @@ -21618,13 +21878,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-artifact-and-log-retention-settings-for-an-organization parameters: - - *76 + - *78 responses: '200': description: Response content: application/json: - schema: &365 + schema: &367 type: object properties: days: @@ -21661,12 +21921,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-artifact-and-log-retention-settings-for-an-organization parameters: - - *76 + - *78 requestBody: required: true content: application/json: - schema: &366 + schema: &368 type: object properties: days: @@ -21703,13 +21963,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-fork-pr-contributor-approval-permissions-for-an-organization parameters: - - *76 + - *78 responses: '200': description: Response content: application/json: - schema: &146 + schema: &148 type: object properties: approval_policy: @@ -21723,7 +21983,7 @@ paths: required: - approval_policy examples: - default: &367 + default: &369 value: approval_policy: first_time_contributors '404': *6 @@ -21744,7 +22004,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-fork-pr-contributor-approval-permissions-for-an-organization parameters: - - *76 + - *78 responses: '204': description: Response @@ -21754,7 +22014,7 @@ paths: required: true content: application/json: - schema: *146 + schema: *148 examples: default: summary: Set approval policy to first time contributors @@ -21776,13 +22036,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-private-repo-fork-pr-workflow-settings-for-an-organization parameters: - - *76 + - *78 responses: '200': description: Response content: application/json: - schema: &368 + schema: &370 type: object required: - run_workflows_from_fork_pull_requests @@ -21808,7 +22068,7 @@ paths: description: Whether workflows triggered by pull requests from forks require approval from a repository administrator to run. examples: - default: &147 + default: &149 value: run_workflows_from_fork_pull_requests: true send_write_tokens_to_workflows: false @@ -21831,12 +22091,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-private-repo-fork-pr-workflow-settings-for-an-organization parameters: - - *76 + - *78 requestBody: required: true content: application/json: - schema: &369 + schema: &371 type: object required: - run_workflows_from_fork_pull_requests @@ -21859,7 +22119,7 @@ paths: description: Whether workflows triggered by pull requests from forks require approval from a repository administrator to run. examples: - default: *147 + default: *149 responses: '204': description: Empty response for successful settings update @@ -21889,7 +22149,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#list-selected-repositories-enabled-for-github-actions-in-an-organization parameters: - - *76 + - *78 - *17 - *19 responses: @@ -21907,9 +22167,9 @@ paths: type: number repositories: type: array - items: *80 + items: *82 examples: - default: &151 + default: &153 value: total_count: 1 repositories: @@ -22049,7 +22309,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-selected-repositories-enabled-for-github-actions-in-an-organization parameters: - - *76 + - *78 responses: '204': description: Response @@ -22093,8 +22353,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#enable-a-selected-repository-for-github-actions-in-an-organization parameters: - - *76 - - &148 + - *78 + - &150 name: repository_id description: The unique identifier of the repository. in: path @@ -22122,8 +22382,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#disable-a-selected-repository-for-github-actions-in-an-organization parameters: - - *76 - - *148 + - *78 + - *150 responses: '204': description: Response @@ -22146,13 +22406,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-allowed-actions-and-reusable-workflows-for-an-organization parameters: - - *76 + - *78 responses: '200': description: Response content: application/json: - schema: &149 + schema: &151 type: object properties: github_owned_allowed: @@ -22174,7 +22434,7 @@ paths: items: type: string examples: - default: &150 + default: &152 value: github_owned_allowed: true verified_allowed: false @@ -22199,7 +22459,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-allowed-actions-and-reusable-workflows-for-an-organization parameters: - - *76 + - *78 responses: '204': description: Response @@ -22207,9 +22467,9 @@ paths: required: false content: application/json: - schema: *149 + schema: *151 examples: - selected_actions: *150 + selected_actions: *152 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -22229,7 +22489,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-self-hosted-runners-settings-for-an-organization parameters: - - *76 + - *78 responses: '200': description: Response @@ -22277,7 +22537,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-self-hosted-runners-settings-for-an-organization parameters: - - *76 + - *78 requestBody: required: true content: @@ -22324,7 +22584,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#list-repositories-allowed-to-use-self-hosted-runners-in-an-organization parameters: - - *76 + - *78 - *17 - *19 responses: @@ -22339,9 +22599,9 @@ paths: type: integer repositories: type: array - items: *80 + items: *82 examples: - default: *151 + default: *153 '403': *29 '404': *6 x-github: @@ -22361,7 +22621,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-repositories-allowed-to-use-self-hosted-runners-in-an-organization parameters: - - *76 + - *78 requestBody: required: true content: @@ -22409,8 +22669,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#add-a-repository-to-the-list-of-repositories-allowed-to-use-self-hosted-runners-in-an-organization parameters: - - *76 - - *148 + - *78 + - *150 responses: '204': description: No content @@ -22436,8 +22696,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#remove-a-repository-from-the-list-of-repositories-allowed-to-use-self-hosted-runners-in-an-organization parameters: - - *76 - - *148 + - *78 + - *150 responses: '204': description: No content @@ -22465,23 +22725,23 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-default-workflow-permissions-for-an-organization parameters: - - *76 + - *78 responses: '200': description: Response content: application/json: - schema: &370 + schema: &372 type: object properties: - default_workflow_permissions: &152 + default_workflow_permissions: &154 type: string description: The default workflow permissions granted to the GITHUB_TOKEN when running workflows. enum: - read - write - can_approve_pull_request_reviews: &153 + can_approve_pull_request_reviews: &155 type: boolean description: Whether GitHub Actions can approve pull requests. Enabling this can be a security risk. @@ -22489,7 +22749,7 @@ paths: - default_workflow_permissions - can_approve_pull_request_reviews examples: - default: &154 + default: &156 summary: Give read-only permission, and allow approving PRs. value: default_workflow_permissions: read @@ -22514,7 +22774,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-default-workflow-permissions-for-an-organization parameters: - - *76 + - *78 responses: '204': description: Success response @@ -22522,13 +22782,13 @@ paths: required: false content: application/json: - schema: &371 + schema: &373 type: object properties: - default_workflow_permissions: *152 - can_approve_pull_request_reviews: *153 + default_workflow_permissions: *154 + can_approve_pull_request_reviews: *155 examples: - default: *154 + default: *156 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -22548,7 +22808,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runner-groups#list-self-hosted-runner-groups-for-an-organization parameters: - - *76 + - *78 - *17 - *19 - name: visible_to_repository @@ -22573,7 +22833,7 @@ paths: type: number runner_groups: type: array - items: &155 + items: &157 type: object properties: id: @@ -22689,7 +22949,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runner-groups#create-a-self-hosted-runner-group-for-an-organization parameters: - - *76 + - *78 requestBody: required: true content: @@ -22761,9 +23021,9 @@ paths: description: Response content: application/json: - schema: *155 + schema: *157 examples: - default: &157 + default: &159 value: id: 2 name: octo-runner-group @@ -22798,8 +23058,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runner-groups#get-a-self-hosted-runner-group-for-an-organization parameters: - - *76 - - &156 + - *78 + - &158 name: runner_group_id description: Unique identifier of the self-hosted runner group. in: path @@ -22811,7 +23071,7 @@ paths: description: Response content: application/json: - schema: *155 + schema: *157 examples: default: value: @@ -22847,8 +23107,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runner-groups#update-a-self-hosted-runner-group-for-an-organization parameters: - - *76 - - *156 + - *78 + - *158 requestBody: required: true content: @@ -22902,9 +23162,9 @@ paths: description: Response content: application/json: - schema: *155 + schema: *157 examples: - default: *157 + default: *159 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -22923,8 +23183,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runner-groups#delete-a-self-hosted-runner-group-from-an-organization parameters: - - *76 - - *156 + - *78 + - *158 responses: '204': description: Response @@ -22947,8 +23207,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runner-groups#list-github-hosted-runners-in-a-group-for-an-organization parameters: - - *76 - - *156 + - *78 + - *158 - *17 - *19 responses: @@ -22966,11 +23226,11 @@ paths: type: number runners: type: array - items: *130 + items: *132 examples: - default: *158 + default: *160 headers: - Link: *68 + Link: *70 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -22990,8 +23250,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runner-groups#list-repository-access-to-a-self-hosted-runner-group-in-an-organization parameters: - - *76 - - *156 + - *78 + - *158 - *19 - *17 responses: @@ -23009,9 +23269,9 @@ paths: type: number repositories: type: array - items: *159 + items: *161 examples: - default: &196 + default: &198 value: total_count: 1 repositories: @@ -23263,8 +23523,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runner-groups#set-repository-access-for-a-self-hosted-runner-group-in-an-organization parameters: - - *76 - - *156 + - *78 + - *158 requestBody: required: true content: @@ -23308,9 +23568,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runner-groups#add-repository-access-to-a-self-hosted-runner-group-in-an-organization parameters: - - *76 - - *156 - - *148 + - *78 + - *158 + - *150 responses: '204': description: Response @@ -23332,9 +23592,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runner-groups#remove-repository-access-to-a-self-hosted-runner-group-in-an-organization parameters: - - *76 - - *156 - - *148 + - *78 + - *158 + - *150 responses: '204': description: Response @@ -23357,8 +23617,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runner-groups#list-self-hosted-runners-in-a-group-for-an-organization parameters: - - *76 - - *156 + - *78 + - *158 - *17 - *19 responses: @@ -23376,7 +23636,7 @@ paths: type: number runners: type: array - items: &161 + items: &163 title: Self hosted runners description: A self hosted runner type: object @@ -23405,7 +23665,7 @@ paths: type: boolean labels: type: array - items: &164 + items: &166 title: Self hosted runner label description: A label for a self hosted runner type: object @@ -23435,7 +23695,7 @@ paths: - busy - labels examples: - default: &162 + default: &164 value: total_count: 2 runners: @@ -23475,7 +23735,7 @@ paths: name: no-gpu type: custom headers: - Link: *68 + Link: *70 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -23494,8 +23754,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runner-groups#set-self-hosted-runners-in-a-group-for-an-organization parameters: - - *76 - - *156 + - *78 + - *158 requestBody: required: true content: @@ -23539,9 +23799,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runner-groups#add-a-self-hosted-runner-to-a-group-for-an-organization parameters: - - *76 - - *156 - - &160 + - *78 + - *158 + - &162 name: runner_id description: Unique identifier of the self-hosted runner. in: path @@ -23569,9 +23829,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runner-groups#remove-a-self-hosted-runner-from-a-group-for-an-organization parameters: - - *76 - - *156 - - *160 + - *78 + - *158 + - *162 responses: '204': description: Response @@ -23601,7 +23861,7 @@ paths: in: query schema: type: string - - *76 + - *78 - *17 - *19 responses: @@ -23619,11 +23879,11 @@ paths: type: integer runners: type: array - items: *161 + items: *163 examples: - default: *162 + default: *164 headers: - Link: *68 + Link: *70 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -23645,7 +23905,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#list-runner-applications-for-an-organization parameters: - - *76 + - *78 responses: '200': description: Response @@ -23653,7 +23913,7 @@ paths: application/json: schema: type: array - items: &372 + items: &374 title: Runner Application description: Runner Application type: object @@ -23678,7 +23938,7 @@ paths: - download_url - filename examples: - default: &373 + default: &375 value: - os: osx architecture: x64 @@ -23721,7 +23981,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#create-configuration-for-a-just-in-time-runner-for-an-organization parameters: - - *76 + - *78 requestBody: required: true content: @@ -23764,7 +24024,7 @@ paths: - no-gpu work_folder: _work responses: - '201': &374 + '201': &376 description: Response content: application/json: @@ -23774,7 +24034,7 @@ paths: - runner - encoded_jit_config properties: - runner: *161 + runner: *163 encoded_jit_config: type: string description: The base64 encoded runner configuration. @@ -23831,13 +24091,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#create-a-registration-token-for-an-organization parameters: - - *76 + - *78 responses: '201': description: Response content: application/json: - schema: &163 + schema: &165 title: Authentication Token description: Authentication Token type: object @@ -23859,7 +24119,7 @@ paths: repositories: description: The repositories this token has access to type: array - items: *80 + items: *82 single_file: type: string example: config.yaml @@ -23875,7 +24135,7 @@ paths: - token - expires_at examples: - default: &375 + default: &377 value: token: LLBF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-22T12:13:35.123-08:00' @@ -23906,15 +24166,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#create-a-remove-token-for-an-organization parameters: - - *76 + - *78 responses: '201': description: Response content: application/json: - schema: *163 + schema: *165 examples: - default: &376 + default: &378 value: token: AABF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-29T12:13:35.123-08:00' @@ -23939,16 +24199,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#get-a-self-hosted-runner-for-an-organization parameters: - - *76 - - *160 + - *78 + - *162 responses: '200': description: Response content: application/json: - schema: *161 + schema: *163 examples: - default: &377 + default: &379 value: id: 23 name: MBP @@ -23989,8 +24249,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#delete-a-self-hosted-runner-from-an-organization parameters: - - *76 - - *160 + - *78 + - *162 responses: '204': description: Response @@ -24016,10 +24276,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#list-labels-for-a-self-hosted-runner-for-an-organization parameters: - - *76 - - *160 + - *78 + - *162 responses: - '200': &165 + '200': &167 description: Response content: application/json: @@ -24033,7 +24293,7 @@ paths: type: integer labels: type: array - items: *164 + items: *166 examples: default: value: @@ -24072,8 +24332,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#add-custom-labels-to-a-self-hosted-runner-for-an-organization parameters: - - *76 - - *160 + - *78 + - *162 requestBody: required: true content: @@ -24097,7 +24357,7 @@ paths: - gpu - accelerated responses: - '200': *165 + '200': *167 '404': *6 '422': *7 x-github: @@ -24121,8 +24381,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#set-custom-labels-for-a-self-hosted-runner-for-an-organization parameters: - - *76 - - *160 + - *78 + - *162 requestBody: required: true content: @@ -24147,7 +24407,7 @@ paths: - gpu - accelerated responses: - '200': *165 + '200': *167 '404': *6 '422': *7 x-github: @@ -24171,10 +24431,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#remove-all-custom-labels-from-a-self-hosted-runner-for-an-organization parameters: - - *76 - - *160 + - *78 + - *162 responses: - '200': &378 + '200': &380 description: Response content: application/json: @@ -24188,7 +24448,7 @@ paths: type: integer labels: type: array - items: *164 + items: *166 examples: default: value: @@ -24229,9 +24489,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#remove-a-custom-label-from-a-self-hosted-runner-for-an-organization parameters: - - *76 - - *160 - - &379 + - *78 + - *162 + - &381 name: name description: The name of a self-hosted runner's custom label. in: path @@ -24239,7 +24499,7 @@ paths: schema: type: string responses: - '200': *165 + '200': *167 '404': *6 '422': *7 x-github: @@ -24264,7 +24524,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-organization-secrets parameters: - - *76 + - *78 - *17 - *19 responses: @@ -24282,7 +24542,7 @@ paths: type: integer secrets: type: array - items: &166 + items: &168 title: Actions Secret for an Organization description: Secrets for GitHub Actions for an organization. type: object @@ -24332,7 +24592,7 @@ paths: visibility: selected selected_repositories_url: https://api.github.com/orgs/octo-org/actions/secrets/SUPER_SECRET/repositories headers: - Link: *68 + Link: *70 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -24355,13 +24615,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-an-organization-public-key parameters: - - *76 + - *78 responses: '200': description: Response content: application/json: - schema: &391 + schema: &393 title: ActionsPublicKey description: The public key used for setting Actions Secrets. type: object @@ -24390,7 +24650,7 @@ paths: - key_id - key examples: - default: &392 + default: &394 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -24415,8 +24675,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-an-organization-secret parameters: - - *76 - - &167 + - *78 + - &169 name: secret_name description: The name of the secret. in: path @@ -24428,7 +24688,7 @@ paths: description: Response content: application/json: - schema: *166 + schema: *168 examples: default: value: @@ -24458,8 +24718,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#create-or-update-an-organization-secret parameters: - - *76 - - *167 + - *78 + - *169 requestBody: required: true content: @@ -24516,7 +24776,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *168 + schema: *170 examples: default: value: @@ -24542,8 +24802,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#delete-an-organization-secret parameters: - - *76 - - *167 + - *78 + - *169 responses: '204': description: Response @@ -24569,8 +24829,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-selected-repositories-for-an-organization-secret parameters: - - *76 - - *167 + - *78 + - *169 - *19 - *17 responses: @@ -24588,9 +24848,9 @@ paths: type: integer repositories: type: array - items: *159 + items: *161 examples: - default: &171 + default: &173 value: total_count: 1 repositories: @@ -24682,8 +24942,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#set-selected-repositories-for-an-organization-secret parameters: - - *76 - - *167 + - *78 + - *169 requestBody: required: true content: @@ -24735,8 +24995,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#add-selected-repository-to-an-organization-secret parameters: - - *76 - - *167 + - *78 + - *169 - name: repository_id in: path required: true @@ -24769,8 +25029,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#remove-selected-repository-from-an-organization-secret parameters: - - *76 - - *167 + - *78 + - *169 - name: repository_id in: path required: true @@ -24802,8 +25062,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-organization-variables parameters: - - *76 - - &360 + - *78 + - &362 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/rest/using-the-rest-api/using-pagination-in-the-rest-api)." @@ -24827,7 +25087,7 @@ paths: type: integer variables: type: array - items: &169 + items: &171 title: Actions Variable for an Organization description: Organization variable for GitHub Actions. type: object @@ -24891,7 +25151,7 @@ paths: visibility: selected selected_repositories_url: https://api.github.com/orgs/octo-org/actions/variables/ADMIN_EMAIL/repositories headers: - Link: *68 + Link: *70 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -24912,7 +25172,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#create-an-organization-variable parameters: - - *76 + - *78 requestBody: required: true content: @@ -24960,7 +25220,7 @@ paths: description: Response when creating a variable content: application/json: - schema: *168 + schema: *170 examples: default: value: @@ -24985,8 +25245,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#get-an-organization-variable parameters: - - *76 - - &170 + - *78 + - &172 name: name description: The name of the variable. in: path @@ -24998,7 +25258,7 @@ paths: description: Response content: application/json: - schema: *169 + schema: *171 examples: default: value: @@ -25028,8 +25288,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#update-an-organization-variable parameters: - - *76 - - *170 + - *78 + - *172 requestBody: required: true content: @@ -25091,8 +25351,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#delete-an-organization-variable parameters: - - *76 - - *170 + - *78 + - *172 responses: '204': description: Response @@ -25118,8 +25378,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-selected-repositories-for-an-organization-variable parameters: - - *76 - - *170 + - *78 + - *172 - *19 - *17 responses: @@ -25137,9 +25397,9 @@ paths: type: integer repositories: type: array - items: *159 + items: *161 examples: - default: *171 + default: *173 '409': description: Response when the visibility of the variable is not set to `selected` @@ -25165,8 +25425,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#set-selected-repositories-for-an-organization-variable parameters: - - *76 - - *170 + - *78 + - *172 requestBody: required: true content: @@ -25215,8 +25475,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#add-selected-repository-to-an-organization-variable parameters: - - *76 - - *170 + - *78 + - *172 - name: repository_id in: path required: true @@ -25250,8 +25510,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#remove-selected-repository-from-an-organization-variable parameters: - - *76 - - *170 + - *78 + - *172 - name: repository_id in: path required: true @@ -25292,7 +25552,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/artifact-metadata#create-an-artifact-deployment-record parameters: - - *76 + - *78 requestBody: required: true content: @@ -25415,7 +25675,7 @@ paths: type: integer deployment_records: type: array - items: &172 + items: &174 title: Artifact Deployment Record description: Artifact Metadata Deployment Record type: object @@ -25461,7 +25721,7 @@ paths: required: - total_count examples: - default: &173 + default: &175 value: total_count: 1 deployment_records: @@ -25498,7 +25758,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/artifact-metadata#set-cluster-deployment-records parameters: - - *76 + - *78 - name: cluster in: path description: The cluster name. @@ -25641,11 +25901,11 @@ paths: type: integer deployment_records: type: array - items: *172 + items: *174 required: - total_count examples: - default: *173 + default: *175 '403': description: Forbidden content: @@ -25692,7 +25952,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/artifact-metadata#create-artifact-metadata-storage-record parameters: - - *76 + - *78 requestBody: required: true content: @@ -25855,7 +26115,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/artifact-metadata#list-artifact-deployment-records parameters: - - *76 + - *78 - name: subject_digest description: The SHA256 digest of the artifact, in the form `sha256:HEX_DIGEST`. in: path @@ -25880,9 +26140,9 @@ paths: type: integer deployment_records: type: array - items: *172 + items: *174 examples: - default: *173 + default: *175 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -25902,7 +26162,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/artifact-metadata#list-artifact-storage-records parameters: - - *76 + - *78 - name: subject_digest description: The parameter should be set to the attestation's subject's SHA256 digest, in the form `sha256:HEX_DIGEST`. @@ -25987,7 +26247,7 @@ paths: - *17 - *47 - *48 - - *76 + - *78 requestBody: required: true content: @@ -26011,12 +26271,12 @@ paths: required: - subject_digests examples: - default: &718 + default: &720 value: subject_digests: - sha256:abc123 - sha512:def456 - withPredicateType: &719 + withPredicateType: &721 value: subject_digests: - sha256:abc123 @@ -26074,7 +26334,7 @@ paths: description: The cursor to the previous page. description: Information about the current page. examples: - default: &720 + default: &722 value: attestations_subject_digests: - sha256:abc: @@ -26198,7 +26458,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/attestations#delete-attestations-in-bulk parameters: - - *76 + - *78 requestBody: required: true content: @@ -26263,7 +26523,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/attestations#delete-attestations-by-subject-digest parameters: - - *76 + - *78 - name: subject_digest description: Subject Digest in: path @@ -26298,7 +26558,7 @@ paths: - *17 - *47 - *48 - - *76 + - *78 - name: predicate_type description: |- Optional filter for fetching attestations with a given predicate type. @@ -26346,7 +26606,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/attestations#delete-attestations-by-id parameters: - - *76 + - *78 - name: attestation_id description: Attestation ID in: path @@ -26384,7 +26644,7 @@ paths: - *17 - *47 - *48 - - *76 + - *78 - name: subject_digest description: The parameter should be set to the attestation's subject's SHA256 digest, in the form `sha256:HEX_DIGEST`. @@ -26439,7 +26699,7 @@ paths: initiator: type: string examples: - default: &405 + default: &407 value: attestations: - bundle: @@ -26560,7 +26820,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/blocking#list-users-blocked-by-an-organization parameters: - - *76 + - *78 - *17 - *19 responses: @@ -26572,7 +26832,7 @@ paths: type: array items: *4 examples: - default: *71 + default: *73 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -26591,8 +26851,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/blocking#check-if-a-user-is-blocked-by-an-organization parameters: - - *76 - - *72 + - *78 + - *74 responses: '204': description: If the user is blocked @@ -26617,8 +26877,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/blocking#block-a-user-from-an-organization parameters: - - *76 - - *72 + - *78 + - *74 responses: '204': description: Response @@ -26638,8 +26898,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/blocking#unblock-a-user-from-an-organization parameters: - - *76 - - *72 + - *78 + - *74 responses: '204': description: Response @@ -26664,7 +26924,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/campaigns/campaigns#list-campaigns-for-an-organization parameters: - - *76 + - *78 - *19 - *17 - *62 @@ -26672,7 +26932,7 @@ paths: description: If specified, only campaigns with this state will be returned. in: query required: false - schema: &174 + schema: &176 title: Campaign state description: Indicates whether a campaign is open or closed type: string @@ -26698,7 +26958,7 @@ paths: application/json: schema: type: array - items: &175 + items: &177 title: Campaign summary description: The campaign metadata and alert stats. type: object @@ -26729,7 +26989,7 @@ paths: team_managers: description: The campaign team managers type: array - items: &195 + items: &197 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -26804,7 +27064,7 @@ paths: description: Groups of organization members that gives permissions on specified repositories. type: object - properties: &258 + properties: &260 id: description: Unique identifier of the team type: integer @@ -26876,7 +27136,7 @@ paths: description: Unique identifier of the enterprise to which this team belongs example: 42 - required: &259 + required: &261 - id - node_id - url @@ -26919,7 +27179,7 @@ paths: type: string format: date-time nullable: true - state: *174 + state: *176 contact_link: description: The contact link of the campaign. type: string @@ -27014,9 +27274,9 @@ paths: closed_at: state: open headers: - Link: *68 + Link: *70 '404': *6 - '503': *120 + '503': *122 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -27040,7 +27300,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/campaigns/campaigns#create-a-campaign-for-an-organization parameters: - - *76 + - *78 requestBody: required: true content: @@ -27139,9 +27399,9 @@ paths: description: Response content: application/json: - schema: *175 + schema: *177 examples: - default: &176 + default: &178 value: number: 3 created_at: '2024-02-14T12:29:18Z' @@ -27190,7 +27450,7 @@ paths: schema: *3 '429': description: Too Many Requests - '503': *120 + '503': *122 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -27212,7 +27472,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/campaigns/campaigns#get-a-campaign-for-an-organization parameters: - - *76 + - *78 - name: campaign_number description: The campaign number. in: path @@ -27224,16 +27484,16 @@ paths: description: Response content: application/json: - schema: *175 + schema: *177 examples: - default: *176 + default: *178 '404': *6 '422': description: Unprocessable Entity content: application/json: schema: *3 - '503': *120 + '503': *122 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -27254,7 +27514,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/campaigns/campaigns#update-a-campaign parameters: - - *76 + - *78 - name: campaign_number description: The campaign number. in: path @@ -27303,7 +27563,7 @@ paths: type: string format: uri nullable: true - state: *174 + state: *176 examples: default: value: @@ -27313,9 +27573,9 @@ paths: description: Response content: application/json: - schema: *175 + schema: *177 examples: - default: *176 + default: *178 '400': description: Bad Request content: @@ -27327,7 +27587,7 @@ paths: content: application/json: schema: *3 - '503': *120 + '503': *122 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -27348,7 +27608,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/campaigns/campaigns#delete-a-campaign-for-an-organization parameters: - - *76 + - *78 - name: campaign_number description: The campaign number. in: path @@ -27359,7 +27619,7 @@ paths: '204': description: Deletion successful '404': *6 - '503': *120 + '503': *122 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -27381,18 +27641,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-code-scanning-alerts-for-an-organization parameters: - - *76 - - &430 + - *78 + - &432 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: &184 + schema: &186 type: string description: The name of the tool used to generate the code scanning analysis. - - &431 + - &433 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 @@ -27400,7 +27660,7 @@ paths: or `tool_name`, but not both. in: query required: false - schema: &185 + schema: &187 nullable: true type: string description: The GUID of the tool used to generate the code scanning analysis, @@ -27415,7 +27675,7 @@ paths: be returned. in: query required: false - schema: &433 + schema: &435 type: string description: State of a code scanning alert. enum: @@ -27438,7 +27698,7 @@ paths: be returned. in: query required: false - schema: &434 + schema: &436 type: string description: Severity of a code scanning alert. enum: @@ -27467,18 +27727,18 @@ paths: items: type: object properties: - number: *177 - created_at: *178 - updated_at: *179 - url: *180 - html_url: *181 - instances_url: &435 + number: *179 + created_at: *180 + updated_at: *181 + url: *182 + html_url: *183 + instances_url: &437 type: string description: The REST API URL for fetching the list of instances for an alert. format: uri readOnly: true - state: &186 + state: &188 type: string description: State of a code scanning alert. nullable: true @@ -27486,7 +27746,7 @@ paths: - open - dismissed - fixed - fixed_at: *182 + fixed_at: *184 dismissed_by: title: Simple User description: A GitHub user. @@ -27494,8 +27754,8 @@ paths: properties: *20 required: *21 nullable: true - dismissed_at: *183 - dismissed_reason: &436 + dismissed_at: *185 + dismissed_reason: &438 type: string description: "**Required when the state is dismissed.** The reason for dismissing or closing the alert." @@ -27504,13 +27764,13 @@ paths: - false positive - won't fix - used in tests - dismissed_comment: &437 + dismissed_comment: &439 type: string description: The dismissal comment associated with the dismissal of the alert. nullable: true maxLength: 280 - rule: &438 + rule: &440 type: object properties: id: @@ -27563,42 +27823,42 @@ paths: type: string description: A link to the documentation for the rule used to detect the alert. - tool: &439 + tool: &441 type: object properties: - name: *184 + name: *186 version: nullable: true type: string description: The version of the tool used to generate the code scanning analysis. - guid: *185 - most_recent_instance: &440 + guid: *187 + most_recent_instance: &442 type: object properties: - ref: &432 + ref: &434 type: string description: |- The Git reference, formatted as `refs/pull//merge`, `refs/pull//head`, `refs/heads/` or simply ``. - analysis_key: &450 + analysis_key: &452 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. - environment: &451 + environment: &453 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. - category: &452 + category: &454 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. - state: *186 + state: *188 commit_sha: type: string message: @@ -27612,7 +27872,7 @@ paths: with placeholder links for related locations replaced by links to the relevant code. Only populated when related locations are available for the alert instance. - location: &453 + location: &455 type: object description: Describe a region within a file for the alert. properties: @@ -27633,7 +27893,7 @@ paths: description: |- Classifications that have been applied to the file that triggered the alert. For example identifying it as documentation, or a generated file. - items: &454 + items: &456 type: string description: A classification of the file. For example to identify it as generated. @@ -27898,9 +28158,9 @@ paths: trees_url: https://api.github.com/repos/octocat/Hello-World/git/trees{/sha} hooks_url: https://api.github.com/repos/octocat/Hello-World/hooks headers: - Link: *68 + Link: *70 '404': *6 - '503': *120 + '503': *122 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -27922,7 +28182,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#get-code-security-configurations-for-an-organization parameters: - - *76 + - *78 - name: target_type in: query description: The target type of the code security configuration @@ -28028,7 +28288,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#create-a-code-security-configuration parameters: - - *76 + - *78 requestBody: required: true content: @@ -28272,7 +28532,7 @@ paths: application/json: schema: *49 examples: - default: *187 + default: *189 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -28294,15 +28554,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#get-default-code-security-configurations parameters: - - *76 + - *78 responses: '200': description: Response content: application/json: - schema: *188 + schema: *190 examples: - default: *189 + default: *191 '304': *37 '403': *29 '404': *6 @@ -28328,7 +28588,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#detach-configurations-from-repositories parameters: - - *76 + - *78 requestBody: required: true content: @@ -28336,6 +28596,8 @@ paths: schema: type: object additionalProperties: false + required: + - selected_repository_ids properties: selected_repository_ids: type: array @@ -28380,7 +28642,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#get-a-code-security-configuration parameters: - - *76 + - *78 - *51 responses: '200': @@ -28389,7 +28651,7 @@ paths: application/json: schema: *49 examples: - default: *187 + default: *189 '304': *37 '403': *29 '404': *6 @@ -28413,7 +28675,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#update-a-code-security-configuration parameters: - - *76 + - *78 - *51 requestBody: required: true @@ -28693,7 +28955,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#delete-a-code-security-configuration parameters: - - *76 + - *78 - *51 responses: '204': *61 @@ -28724,7 +28986,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#attach-a-configuration-to-repositories parameters: - - *76 + - *78 - *51 requestBody: required: true @@ -28788,7 +29050,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#set-a-code-security-configuration-as-a-default-for-an-organization parameters: - - *76 + - *78 - *51 requestBody: required: true @@ -28834,7 +29096,7 @@ paths: default: value: default_for_new_repos: all - configuration: *187 + configuration: *189 '403': *29 '404': *6 x-github: @@ -28858,7 +29120,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#get-repositories-associated-with-a-code-security-configuration parameters: - - *76 + - *78 - *51 - name: per_page description: The number of results per page (max 100). For more information, @@ -28887,13 +29149,13 @@ paths: application/json: schema: type: array - items: *190 + items: *192 examples: default: summary: Example of code security configuration repositories value: - status: attached - repository: *191 + repository: *193 '403': *29 '404': *6 x-github: @@ -28917,7 +29179,7 @@ paths: parameters: - *17 - *19 - - *76 + - *78 responses: '200': description: Response @@ -28933,7 +29195,7 @@ paths: type: integer codespaces: type: array - items: &248 + items: &250 type: object title: Codespace description: A codespace. @@ -28958,12 +29220,12 @@ paths: nullable: true owner: *4 billable_owner: *4 - repository: *159 + repository: *161 machine: type: object title: Codespace machine description: A description of the machine powering a codespace. - properties: &466 + properties: &468 name: type: string description: The name of the machine. @@ -29005,7 +29267,7 @@ paths: - ready - in_progress nullable: true - required: &467 + required: &469 - name - display_name - operating_system @@ -29210,7 +29472,7 @@ paths: - pulls_url - recent_folders examples: - default: &249 + default: &251 value: total_count: 3 codespaces: @@ -29642,7 +29904,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organizations#manage-access-control-for-organization-codespaces parameters: - - *76 + - *78 deprecated: true requestBody: required: true @@ -29709,7 +29971,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organizations#add-users-to-codespaces-access-for-an-organization parameters: - - *76 + - *78 deprecated: true requestBody: required: true @@ -29764,7 +30026,7 @@ paths: url: https://docs.github.com/rest/codespaces/organizations#remove-users-from-codespaces-access-for-an-organization deprecated: true parameters: - - *76 + - *78 requestBody: required: true content: @@ -29816,7 +30078,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organization-secrets#list-organization-secrets parameters: - - *76 + - *78 - *17 - *19 responses: @@ -29834,7 +30096,7 @@ paths: type: integer secrets: type: array - items: &192 + items: &194 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -29873,7 +30135,7 @@ paths: - updated_at - visibility examples: - default: &468 + default: &470 value: total_count: 2 secrets: @@ -29886,7 +30148,7 @@ paths: updated_at: '2020-01-11T11:59:22Z' visibility: all headers: - Link: *68 + Link: *70 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -29905,13 +30167,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organization-secrets#get-an-organization-public-key parameters: - - *76 + - *78 responses: '200': description: Response content: application/json: - schema: &469 + schema: &471 title: CodespacesPublicKey description: The public key used for setting Codespaces secrets. type: object @@ -29940,7 +30202,7 @@ paths: - key_id - key examples: - default: &470 + default: &472 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -29963,23 +30225,23 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organization-secrets#get-an-organization-secret parameters: - - *76 - - *167 + - *78 + - *169 responses: '200': description: Response content: application/json: - schema: *192 + schema: *194 examples: - default: &472 + default: &474 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' updated_at: '2020-01-10T14:59:22Z' visibility: all headers: - Link: *68 + Link: *70 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -29999,8 +30261,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organization-secrets#create-or-update-an-organization-secret parameters: - - *76 - - *167 + - *78 + - *169 requestBody: required: true content: @@ -30055,7 +30317,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *168 + schema: *170 examples: default: value: @@ -30081,8 +30343,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organization-secrets#delete-an-organization-secret parameters: - - *76 - - *167 + - *78 + - *169 responses: '204': description: Response @@ -30107,8 +30369,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organization-secrets#list-selected-repositories-for-an-organization-secret parameters: - - *76 - - *167 + - *78 + - *169 - *19 - *17 responses: @@ -30126,9 +30388,9 @@ paths: type: integer repositories: type: array - items: *159 + items: *161 examples: - default: *171 + default: *173 '404': *6 x-github: githubCloudOnly: false @@ -30150,8 +30412,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organization-secrets#set-selected-repositories-for-an-organization-secret parameters: - - *76 - - *167 + - *78 + - *169 requestBody: required: true content: @@ -30201,8 +30463,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organization-secrets#add-selected-repository-to-an-organization-secret parameters: - - *76 - - *167 + - *78 + - *169 - name: repository_id in: path required: true @@ -30235,8 +30497,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organization-secrets#remove-selected-repository-from-an-organization-secret parameters: - - *76 - - *167 + - *78 + - *169 - name: repository_id in: path required: true @@ -30275,7 +30537,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-user-management#get-copilot-seat-information-and-settings-for-an-organization parameters: - - *76 + - *78 responses: '200': description: OK @@ -30416,7 +30678,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-user-management#list-all-copilot-seat-assignments-for-an-organization parameters: - - *76 + - *78 - *19 - name: per_page description: The number of results per page (max 100). For more information, @@ -30439,7 +30701,7 @@ paths: currently being billed. seats: type: array - items: &251 + items: &253 title: Copilot Business Seat Detail description: Information about a Copilot Business seat assignment for a user, team, or organization. @@ -30456,15 +30718,15 @@ paths: title: Organization Simple description: A GitHub organization. type: object - properties: *193 - required: *194 + properties: *195 + required: *196 nullable: true assigning_team: description: The team through which the assignee is granted access to GitHub Copilot, if applicable. oneOf: - - *195 - - *69 + - *197 + - *71 nullable: true pending_cancellation_date: type: string @@ -30588,7 +30850,7 @@ paths: type: User site_admin: false headers: - Link: *68 + Link: *70 '500': *55 '401': *25 '403': *29 @@ -30622,7 +30884,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-user-management#add-teams-to-the-copilot-subscription-for-an-organization parameters: - - *76 + - *78 requestBody: content: application/json: @@ -30700,7 +30962,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-user-management#remove-teams-from-the-copilot-subscription-for-an-organization parameters: - - *76 + - *78 requestBody: content: application/json: @@ -30780,7 +31042,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-user-management#add-users-to-the-copilot-subscription-for-an-organization parameters: - - *76 + - *78 requestBody: content: application/json: @@ -30857,7 +31119,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-user-management#remove-users-from-the-copilot-subscription-for-an-organization parameters: - - *76 + - *78 requestBody: content: application/json: @@ -30935,7 +31197,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-coding-agent-management#get-copilot-coding-agent-permissions-for-an-organization parameters: - - *76 + - *78 responses: '200': description: Response @@ -31000,7 +31262,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-coding-agent-management#set-copilot-coding-agent-permissions-for-an-organization parameters: - - *76 + - *78 requestBody: required: true content: @@ -31055,7 +31317,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-coding-agent-management#list-repositories-enabled-for-copilot-coding-agent-in-an-organization parameters: - - *76 + - *78 - *17 - *19 responses: @@ -31070,12 +31332,12 @@ paths: type: integer repositories: type: array - items: *159 + items: *161 required: - total_count - repositories examples: - default: *196 + default: *198 '500': *55 '401': *25 '403': *29 @@ -31104,7 +31366,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-coding-agent-management#set-selected-repositories-for-copilot-coding-agent-in-an-organization parameters: - - *76 + - *78 requestBody: required: true content: @@ -31160,8 +31422,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-coding-agent-management#enable-a-repository-for-copilot-coding-agent-in-an-organization parameters: - - *76 - - *148 + - *78 + - *150 responses: '204': description: No Content @@ -31194,8 +31456,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-coding-agent-management#disable-a-repository-for-copilot-coding-agent-in-an-organization parameters: - - *76 - - *148 + - *78 + - *150 responses: '204': description: No Content @@ -31234,7 +31496,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-content-exclusion-management#get-copilot-content-exclusion-rules-for-an-organization parameters: - - *76 + - *78 responses: '200': description: OK @@ -31287,7 +31549,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-content-exclusion-management#set-copilot-content-exclusion-rules-for-an-organization parameters: - - *76 + - *78 requestBody: description: The content exclusion rules to set required: true @@ -31378,7 +31640,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-metrics#get-copilot-metrics-for-an-organization parameters: - - *76 + - *78 - name: since description: Show usage metrics since this date. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format (`YYYY-MM-DDTHH:MM:SSZ`). @@ -31410,7 +31672,7 @@ paths: application/json: schema: type: array - items: &337 + items: &339 title: Copilot Usage Metrics description: Copilot usage metrics for a given day. type: object @@ -31717,7 +31979,7 @@ paths: - date additionalProperties: true examples: - default: &338 + default: &340 value: - date: '2024-06-24' total_active_users: 24 @@ -31819,7 +32081,7 @@ paths: '500': *55 '403': *29 '404': *6 - '422': &339 + '422': &341 description: Copilot Usage Metrics API setting is disabled at the organization or enterprise level. content: @@ -31850,7 +32112,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-usage-metrics#get-copilot-organization-usage-metrics-for-a-specific-day parameters: - - *76 + - *78 - *56 responses: '200': @@ -31889,7 +32151,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-usage-metrics#get-copilot-organization-usage-metrics parameters: - - *76 + - *78 responses: '200': description: Response @@ -31926,7 +32188,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-usage-metrics#get-copilot-organization-users-usage-metrics-for-a-specific-day parameters: - - *76 + - *78 - *56 responses: '200': @@ -31965,7 +32227,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-usage-metrics#get-copilot-organization-users-usage-metrics parameters: - - *76 + - *78 responses: '200': description: Response @@ -31998,13 +32260,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#list-dependabot-alerts-for-an-organization parameters: - - *76 - - *197 - - *198 + - *78 - *199 - *200 - *201 - *202 + - *203 + - *204 - name: artifact_registry_url in: query description: A comma-separated list of artifact registry URLs. If specified, @@ -32034,7 +32296,7 @@ paths: enum: - patch - deployment - - *203 + - *205 - name: runtime_risk in: query description: |- @@ -32043,8 +32305,8 @@ paths: Can be: `critical-resource`, `internet-exposed`, `sensitive-data`, `lateral-movement` schema: type: string - - *204 - - *205 + - *206 + - *207 - *62 - *47 - *48 @@ -32056,9 +32318,9 @@ paths: application/json: schema: type: array - items: *206 + items: *208 examples: - default: *207 + default: *209 '304': *37 '400': *14 '403': *29 @@ -32084,7 +32346,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/repository-access#lists-the-repositories-dependabot-can-access-in-an-organization parameters: - - *76 + - *78 - name: page in: query description: The page number of results to fetch. @@ -32107,104 +32369,9 @@ paths: description: Response content: application/json: - schema: - title: Dependabot Repository Access Details - description: Information about repositories that Dependabot is able - to access in an organization - type: object - properties: - default_level: - type: string - description: The default repository access level for Dependabot - updates. - enum: - - public - - internal - example: internal - nullable: true - accessible_repositories: - type: array - items: - title: Simple Repository - description: A GitHub repository. - type: object - properties: *208 - required: *209 - nullable: true - additionalProperties: false + schema: *210 examples: - default: - value: - default_level: public - accessible_repositories: - - id: 123456 - node_id: MDEwOlJlcG9zaXRvcnkxMjM0NTY= - name: example-repo - full_name: octocat/example-repo - owner: - name: octocat - email: octo@github.com - login: octocat - id: 1 - node_id: MDQ6VXNlcjE= - avatar_url: https://avatars.githubusercontent.com/u/1?v=4 - gravatar_id: 1 - url: https://api.github.com/users/octocat - html_url: https://github.com/octocat/example-repo - followers_url: https://api.github.com/users/octocat/followers - following_url: https://api.github.com/users/octocat/following{/other_user} - gists_url: https://api.github.com/users/octocat/gists{/gist_id} - starred_url: https://api.github.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 - starred_at: '"2020-07-09T00:17:55Z"' - user_view_type: default - private: false - html_url: https://github.com/octocat/example-repo - description: This is an example repository. - fork: false - url: https://api.github.com/repos/octocat/example-repo - archive_url: https://api.github.com/repos/octocat/example-repo/{archive_format}{/ref} - assignees_url: https://api.github.com/repos/octocat/example-repo/assignees{/user} - blobs_url: https://api.github.com/repos/octocat/example-repo/git/blobs{/sha} - branches_url: https://api.github.com/repos/octocat/example-repo/branches{/branch} - collaborators_url: https://api.github.com/repos/octocat/example-repo/collaborators{/collaborator} - comments_url: https://api.github.com/repos/octocat/example-repo/comments{/number} - commits_url: https://api.github.com/repos/octocat/example-repo/commits{/sha} - compare_url: https://api.github.com/repos/octocat/example-repo/compare/{base}...{head} - contents_url: https://api.github.com/repos/octocat/example-repo/contents/{+path} - contributors_url: https://api.github.com/repos/octocat/example-repo/contributors - deployments_url: https://api.github.com/repos/octocat/example-repo/deployments - downloads_url: https://api.github.com/repos/octocat/example-repo/downloads - events_url: https://api.github.com/repos/octocat/example-repo/events - forks_url: https://api.github.com/repos/octocat/example-repo/forks - git_commits_url: https://api.github.com/repos/octocat/example-repo/git/commits{/sha} - git_refs_url: https://api.github.com/repos/octocat/example-repo/git/refs{/sha} - git_tags_url: https://api.github.com/repos/octocat/example-repo/git/tags{/sha} - issue_comment_url: https://api.github.com/repos/octocat/example-repo/issues/comments{/number} - issue_events_url: https://api.github.com/repos/octocat/example-repo/issues/events{/number} - issues_url: https://api.github.com/repos/octocat/example-repo/issues{/number} - keys_url: https://api.github.com/repos/octocat/example-repo/keys{/key_id} - labels_url: https://api.github.com/repos/octocat/example-repo/labels{/name} - languages_url: https://api.github.com/repos/octocat/example-repo/languages - merges_url: https://api.github.com/repos/octocat/example-repo/merges - milestones_url: https://api.github.com/repos/octocat/example-repo/milestones{/number} - notifications_url: https://api.github.com/repos/octocat/example-repo/notifications{?since,all,participating} - pulls_url: https://api.github.com/repos/octocat/example-repo/pulls{/number} - releases_url: https://api.github.com/repos/octocat/example-repo/releases{/id} - stargazers_url: https://api.github.com/repos/octocat/example-repo/stargazers - statuses_url: https://api.github.com/repos/octocat/example-repo/statuses/{sha} - subscribers_url: https://api.github.com/repos/octocat/example-repo/subscribers - subscription_url: https://api.github.com/repos/octocat/example-repo/subscription - tags_url: https://api.github.com/repos/octocat/example-repo/tags - teams_url: https://api.github.com/repos/octocat/example-repo/teams - trees_url: https://api.github.com/repos/octocat/example-repo/git/trees{/sha} - hooks_url: https://api.github.com/repos/octocat/example-repo/hooks + default: *211 '403': *29 '404': *6 x-github: @@ -32235,7 +32402,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/repository-access#updates-dependabots-repository-access-list-for-an-organization parameters: - - *76 + - *78 requestBody: required: true content: @@ -32301,7 +32468,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/repository-access#set-the-default-repository-access-level-for-dependabot parameters: - - *76 + - *78 requestBody: required: true content: @@ -32349,7 +32516,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#list-organization-secrets parameters: - - *76 + - *78 - *17 - *19 responses: @@ -32367,7 +32534,7 @@ paths: type: integer secrets: type: array - items: &210 + items: &212 title: Dependabot Secret for an Organization description: Secrets for GitHub Dependabot for an organization. type: object @@ -32417,7 +32584,7 @@ paths: visibility: selected selected_repositories_url: https://api.github.com/orgs/octo-org/dependabot/secrets/SUPER_SECRET/repositories headers: - Link: *68 + Link: *70 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -32438,13 +32605,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#get-an-organization-public-key parameters: - - *76 + - *78 responses: '200': description: Response content: application/json: - schema: &503 + schema: &505 title: DependabotPublicKey description: The public key used for setting Dependabot Secrets. type: object @@ -32461,7 +32628,7 @@ paths: - key_id - key examples: - default: &504 + default: &506 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -32484,14 +32651,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#get-an-organization-secret parameters: - - *76 - - *167 + - *78 + - *169 responses: '200': description: Response content: application/json: - schema: *210 + schema: *212 examples: default: value: @@ -32519,8 +32686,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#create-or-update-an-organization-secret parameters: - - *76 - - *167 + - *78 + - *169 requestBody: required: true content: @@ -32577,7 +32744,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *168 + schema: *170 examples: default: value: @@ -32609,8 +32776,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#delete-an-organization-secret parameters: - - *76 - - *167 + - *78 + - *169 responses: '204': description: Response @@ -32634,8 +32801,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#list-selected-repositories-for-an-organization-secret parameters: - - *76 - - *167 + - *78 + - *169 - *19 - *17 responses: @@ -32653,9 +32820,9 @@ paths: type: integer repositories: type: array - items: *159 + items: *161 examples: - default: *171 + default: *173 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -32676,8 +32843,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#set-selected-repositories-for-an-organization-secret parameters: - - *76 - - *167 + - *78 + - *169 requestBody: required: true content: @@ -32727,8 +32894,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#add-selected-repository-to-an-organization-secret parameters: - - *76 - - *167 + - *78 + - *169 - name: repository_id in: path required: true @@ -32759,8 +32926,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#remove-selected-repository-from-an-organization-secret parameters: - - *76 - - *167 + - *78 + - *169 - name: repository_id in: path required: true @@ -32790,7 +32957,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-list-of-conflicting-packages-during-docker-migration-for-organization parameters: - - *76 + - *78 responses: '200': description: Response @@ -32798,7 +32965,7 @@ paths: application/json: schema: type: array - items: &261 + items: &263 title: Package description: A software package type: object @@ -32848,9 +33015,9 @@ paths: title: Minimal Repository description: Minimal Repository type: object - properties: *211 - required: *212 - x-github-breaking-changes: *213 + properties: *213 + required: *214 + x-github-breaking-changes: *215 nullable: true created_at: type: string @@ -32869,7 +33036,7 @@ paths: - created_at - updated_at examples: - default: &262 + default: &264 value: - id: 197 name: hello_docker @@ -32947,7 +33114,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-public-organization-events parameters: - - *76 + - *78 - *17 - *19 responses: @@ -32957,7 +33124,7 @@ paths: application/json: schema: type: array - items: *112 + items: *114 examples: 200-response: value: @@ -33029,7 +33196,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#list-failed-organization-invitations parameters: - - *76 + - *78 - *17 - *19 responses: @@ -33039,7 +33206,7 @@ paths: application/json: schema: type: array - items: &237 + items: &239 title: Organization Invitation description: Organization Invitation type: object @@ -33086,7 +33253,7 @@ paths: - invitation_teams_url - node_id examples: - default: &238 + default: &240 value: - id: 1 login: monalisa @@ -33119,7 +33286,7 @@ paths: invitation_teams_url: https://api.github.com/organizations/2/invitations/1/teams invitation_source: member headers: - Link: *68 + Link: *70 '404': *6 x-github: githubCloudOnly: false @@ -33143,7 +33310,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#list-organization-webhooks parameters: - - *76 + - *78 - *17 - *19 responses: @@ -33153,7 +33320,7 @@ paths: application/json: schema: type: array - items: &214 + items: &216 title: Org Hook description: Org Hook type: object @@ -33241,7 +33408,7 @@ paths: created_at: '2011-09-06T17:26:27Z' type: Organization headers: - Link: *68 + Link: *70 '404': *6 x-github: githubCloudOnly: false @@ -33264,7 +33431,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#create-an-organization-webhook parameters: - - *76 + - *78 requestBody: required: true content: @@ -33324,9 +33491,9 @@ paths: description: Response content: application/json: - schema: *214 + schema: *216 examples: - default: &215 + default: &217 value: id: 1 url: https://api.github.com/orgs/octocat/hooks/1 @@ -33373,8 +33540,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#get-an-organization-webhook parameters: - - *76 - - &216 + - *78 + - &218 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. @@ -33387,9 +33554,9 @@ paths: description: Response content: application/json: - schema: *214 + schema: *216 examples: - default: *215 + default: *217 '404': *6 x-github: githubCloudOnly: false @@ -33416,8 +33583,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#update-an-organization-webhook parameters: - - *76 - - *216 + - *78 + - *218 requestBody: required: false content: @@ -33462,7 +33629,7 @@ paths: description: Response content: application/json: - schema: *214 + schema: *216 examples: default: value: @@ -33503,8 +33670,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#delete-an-organization-webhook parameters: - - *76 - - *216 + - *78 + - *218 responses: '204': description: Response @@ -33531,8 +33698,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#get-a-webhook-configuration-for-an-organization parameters: - - *76 - - *216 + - *78 + - *218 responses: '200': description: Response @@ -33562,8 +33729,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#update-a-webhook-configuration-for-an-organization parameters: - - *76 - - *216 + - *78 + - *218 requestBody: required: false content: @@ -33613,11 +33780,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#list-deliveries-for-an-organization-webhook parameters: - - *76 - - *216 - - *17 - - *217 + - *78 - *218 + - *17 + - *219 + - *220 responses: '200': description: Response @@ -33625,9 +33792,9 @@ paths: application/json: schema: type: array - items: *219 + items: *221 examples: - default: *220 + default: *222 '400': *14 '422': *15 x-github: @@ -33652,17 +33819,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#get-a-webhook-delivery-for-an-organization-webhook parameters: - - *76 - - *216 + - *78 + - *218 - *16 responses: '200': description: Response content: application/json: - schema: *221 + schema: *223 examples: - default: *222 + default: *224 '400': *14 '422': *15 x-github: @@ -33687,8 +33854,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#redeliver-a-delivery-for-an-organization-webhook parameters: - - *76 - - *216 + - *78 + - *218 - *16 responses: '202': *39 @@ -33717,8 +33884,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#ping-an-organization-webhook parameters: - - *76 - - *216 + - *78 + - *218 responses: '204': description: Response @@ -33740,8 +33907,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/api-insights#get-route-stats-by-actor parameters: - - *76 - - &227 + - *78 + - &229 name: actor_type in: path description: The type of the actor @@ -33754,14 +33921,14 @@ paths: - fine_grained_pat - oauth_app - github_app_user_to_server - - &228 + - &230 name: actor_id in: path description: The ID of the actor required: true schema: type: integer - - &223 + - &225 name: min_timestamp description: 'The minimum timestamp to query for stats. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`.' @@ -33769,7 +33936,7 @@ paths: required: true schema: type: string - - &224 + - &226 name: max_timestamp description: 'The maximum timestamp to query for stats. Defaults to the time 30 days ago. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) @@ -33862,13 +34029,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/api-insights#get-subject-stats parameters: - - *76 - - *223 - - *224 + - *78 + - *225 + - *226 - *19 - *17 - *62 - - &233 + - &235 name: sort description: The property to sort the results by. in: query @@ -33945,15 +34112,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/api-insights#get-summary-stats parameters: - - *76 - - *223 - - *224 + - *78 + - *225 + - *226 responses: '200': description: Response content: application/json: - schema: &225 + schema: &227 title: Summary Stats description: API Insights usage summary stats for an organization type: object @@ -33969,7 +34136,7 @@ paths: type: integer format: int64 examples: - default: &226 + default: &228 value: total_request_count: 34225 rate_limited_request_count: 23 @@ -33989,24 +34156,24 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/api-insights#get-summary-stats-by-user parameters: - - *76 - - &229 + - *78 + - &231 name: user_id in: path description: The ID of the user to query for stats required: true schema: type: string - - *223 - - *224 + - *225 + - *226 responses: '200': description: Response content: application/json: - schema: *225 + schema: *227 examples: - default: *226 + default: *228 x-github: enabledForGitHubApps: true category: orgs @@ -34024,19 +34191,19 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/api-insights#get-summary-stats-by-actor parameters: - - *76 - - *223 - - *224 - - *227 - - *228 + - *78 + - *225 + - *226 + - *229 + - *230 responses: '200': description: Response content: application/json: - schema: *225 + schema: *227 examples: - default: *226 + default: *228 x-github: enabledForGitHubApps: true category: orgs @@ -34053,10 +34220,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/api-insights#get-time-stats parameters: - - *76 - - *223 - - *224 - - &230 + - *78 + - *225 + - *226 + - &232 name: timestamp_increment description: The increment of time used to breakdown the query results (5m, 10m, 1h, etc.) @@ -34069,7 +34236,7 @@ paths: description: Response content: application/json: - schema: &231 + schema: &233 title: Time Stats description: API Insights usage time stats for an organization type: array @@ -34085,7 +34252,7 @@ paths: type: integer format: int64 examples: - default: &232 + default: &234 value: - timestamp: '2024-09-11T15:00:00Z' total_request_count: 34225 @@ -34121,19 +34288,19 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/api-insights#get-time-stats-by-user parameters: - - *76 - - *229 - - *223 - - *224 - - *230 + - *78 + - *231 + - *225 + - *226 + - *232 responses: '200': description: Response content: application/json: - schema: *231 + schema: *233 examples: - default: *232 + default: *234 x-github: enabledForGitHubApps: true category: orgs @@ -34150,20 +34317,20 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/api-insights#get-time-stats-by-actor parameters: - - *76 - - *227 - - *228 - - *223 - - *224 + - *78 + - *229 - *230 + - *225 + - *226 + - *232 responses: '200': description: Response content: application/json: - schema: *231 + schema: *233 examples: - default: *232 + default: *234 x-github: enabledForGitHubApps: true category: orgs @@ -34180,14 +34347,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/api-insights#get-user-stats parameters: - - *76 - - *229 - - *223 - - *224 + - *78 + - *231 + - *225 + - *226 - *19 - *17 - *62 - - *233 + - *235 - name: actor_name_substring in: query description: Providing a substring will filter results where the actor name @@ -34260,7 +34427,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/apps/apps#get-an-organization-installation-for-the-authenticated-app parameters: - - *76 + - *78 responses: '200': description: Response @@ -34268,7 +34435,7 @@ paths: application/json: schema: *22 examples: - default: &543 + default: &545 value: id: 1 account: @@ -34337,7 +34504,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#list-app-installations-for-an-organization parameters: - - *76 + - *78 - *17 - *19 responses: @@ -34407,7 +34574,7 @@ paths: suspended_at: suspended_by: headers: - Link: *68 + Link: *70 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -34426,7 +34593,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/orgs#get-interaction-restrictions-for-an-organization parameters: - - *76 + - *78 responses: '200': description: Response @@ -34434,12 +34601,12 @@ paths: application/json: schema: anyOf: - - &235 + - &237 title: Interaction Limits description: Interaction limit settings. type: object properties: - limit: &234 + limit: &236 type: string description: The type of GitHub user that can comment, open issues, or create pull requests while the interaction limit @@ -34464,7 +34631,7 @@ paths: properties: {} additionalProperties: false examples: - default: &236 + default: &238 value: limit: collaborators_only origin: organization @@ -34488,18 +34655,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/orgs#set-interaction-restrictions-for-an-organization parameters: - - *76 + - *78 requestBody: required: true content: application/json: - schema: &544 + schema: &546 title: Interaction Restrictions description: Limit interactions to a specific type of user for a specified duration type: object properties: - limit: *234 + limit: *236 expiry: type: string description: 'The duration of the interaction restriction. Default: @@ -34523,9 +34690,9 @@ paths: description: Response content: application/json: - schema: *235 + schema: *237 examples: - default: *236 + default: *238 '422': *15 x-github: githubCloudOnly: false @@ -34543,7 +34710,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/orgs#remove-interaction-restrictions-for-an-organization parameters: - - *76 + - *78 responses: '204': description: Response @@ -34567,7 +34734,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#list-pending-organization-invitations parameters: - - *76 + - *78 - *17 - *19 - name: role @@ -34601,11 +34768,11 @@ paths: application/json: schema: type: array - items: *237 + items: *239 examples: - default: *238 + default: *240 headers: - Link: *68 + Link: *70 '404': *6 x-github: githubCloudOnly: false @@ -34626,7 +34793,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#create-an-organization-invitation parameters: - - *76 + - *78 requestBody: required: false content: @@ -34680,7 +34847,7 @@ paths: description: Response content: application/json: - schema: *237 + schema: *239 examples: default: value: @@ -34734,8 +34901,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#cancel-an-organization-invitation parameters: - - *76 - - &239 + - *78 + - &241 name: invitation_id description: The unique identifier of the invitation. in: path @@ -34765,8 +34932,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#list-organization-invitation-teams parameters: - - *76 - - *239 + - *78 + - *241 - *17 - *19 responses: @@ -34776,9 +34943,9 @@ paths: application/json: schema: type: array - items: *195 + items: *197 examples: - default: &260 + default: &262 value: - id: 1 node_id: MDQ6VGVhbTE= @@ -34794,7 +34961,7 @@ paths: repositories_url: https://api.github.com/teams/1/repos parent: headers: - Link: *68 + Link: *70 '404': *6 x-github: githubCloudOnly: false @@ -34813,7 +34980,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/issue-fields#list-issue-fields-for-an-organization parameters: - - *76 + - *78 responses: '200': description: Response @@ -34821,7 +34988,7 @@ paths: application/json: schema: type: array - items: &240 + items: &242 title: Issue Field description: A custom attribute defined at the organization level for attaching structured data to issues. @@ -34964,7 +35131,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/issue-fields#create-issue-field-for-an-organization parameters: - - *76 + - *78 requestBody: required: true content: @@ -35054,9 +35221,9 @@ paths: description: Response content: application/json: - schema: *240 + schema: *242 examples: - default: &241 + default: &243 value: id: 512 node_id: IF_kwDNAd3NAZr @@ -35111,8 +35278,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/issue-fields#update-issue-field-for-an-organization parameters: - - *76 - - &242 + - *78 + - &244 name: issue_field_id description: The unique identifier of the issue field. in: path @@ -35220,9 +35387,9 @@ paths: description: Response content: application/json: - schema: *240 + schema: *242 examples: - default: *241 + default: *243 '404': *6 '422': *7 x-github: @@ -35246,8 +35413,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/issue-fields#delete-issue-field-for-an-organization parameters: - - *76 - - *242 + - *78 + - *244 responses: '204': *61 '404': *6 @@ -35269,7 +35436,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/issue-types#list-issue-types-for-an-organization parameters: - - *76 + - *78 responses: '200': description: Response @@ -35277,7 +35444,7 @@ paths: application/json: schema: type: array - items: *243 + items: *245 examples: default: value: @@ -35315,7 +35482,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/issue-types#create-issue-type-for-an-organization parameters: - - *76 + - *78 requestBody: required: true content: @@ -35362,9 +35529,9 @@ paths: description: Response content: application/json: - schema: *243 + schema: *245 examples: - default: &244 + default: &246 value: id: 410 node_id: IT_kwDNAd3NAZo @@ -35396,8 +35563,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/issue-types#update-issue-type-for-an-organization parameters: - - *76 - - &245 + - *78 + - &247 name: issue_type_id description: The unique identifier of the issue type. in: path @@ -35450,9 +35617,9 @@ paths: description: Response content: application/json: - schema: *243 + schema: *245 examples: - default: *244 + default: *246 '404': *6 '422': *7 x-github: @@ -35476,8 +35643,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/issue-types#delete-issue-type-for-an-organization parameters: - - *76 - - *245 + - *78 + - *247 responses: '204': description: Response @@ -35510,7 +35677,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#list-organization-issues-assigned-to-the-authenticated-user parameters: - - *76 + - *78 - name: filter description: Indicates which sorts of issues to return. `assigned` means issues assigned to you. `created` means issues created by you. `mentioned` means @@ -35540,7 +35707,7 @@ paths: - closed - all default: open - - *246 + - *248 - name: type description: Can be the name of an issue type. in: query @@ -35559,7 +35726,7 @@ paths: - comments default: created - *62 - - *93 + - *95 - *17 - *19 responses: @@ -35569,11 +35736,11 @@ paths: application/json: schema: type: array - items: *86 + items: *88 examples: - default: *247 + default: *249 headers: - Link: *68 + Link: *70 '404': *6 x-github: githubCloudOnly: false @@ -35593,7 +35760,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#list-organization-members parameters: - - *76 + - *78 - name: filter description: Filter members returned in the list. `2fa_disabled` means that only members without [two-factor authentication](https://github.com/blog/1614-two-factor-authentication) @@ -35631,9 +35798,9 @@ paths: type: array items: *4 examples: - default: *71 + default: *73 headers: - Link: *68 + Link: *70 '422': *15 x-github: githubCloudOnly: false @@ -35651,8 +35818,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#check-organization-membership-for-a-user parameters: - - *76 - - *72 + - *78 + - *74 responses: '204': description: Response if requester is an organization member and user is @@ -35686,8 +35853,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#remove-an-organization-member parameters: - - *76 - - *72 + - *78 + - *74 responses: '204': description: Response @@ -35719,8 +35886,8 @@ paths: parameters: - *17 - *19 - - *76 - - *72 + - *78 + - *74 responses: '200': description: Response @@ -35736,9 +35903,9 @@ paths: type: integer codespaces: type: array - items: *248 + items: *250 examples: - default: *249 + default: *251 '304': *37 '500': *55 '401': *25 @@ -35763,9 +35930,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organizations#delete-a-codespace-from-the-organization parameters: - - *76 - - *72 - - &250 + - *78 + - *74 + - &252 name: codespace_name in: path required: true @@ -35798,17 +35965,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organizations#stop-a-codespace-for-an-organization-user parameters: - - *76 - - *72 - - *250 + - *78 + - *74 + - *252 responses: '200': description: Response content: application/json: - schema: *248 + schema: *250 examples: - default: &465 + default: &467 value: id: 1 name: monalisa-octocat-hello-world-g4wpq6h95q @@ -35981,14 +36148,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-user-management#get-copilot-seat-assignment-details-for-a-user parameters: - - *76 - - *72 + - *78 + - *74 responses: '200': description: The user's GitHub Copilot seat details, including usage. content: application/json: - schema: *251 + schema: *253 examples: default: value: @@ -36057,14 +36224,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#get-organization-membership-for-a-user parameters: - - *76 - - *72 + - *78 + - *74 responses: '200': description: Response content: application/json: - schema: &252 + schema: &254 title: Org Membership description: Org Membership type: object @@ -36108,7 +36275,7 @@ paths: type: string format: uri example: https://api.github.com/orgs/octocat - organization: *74 + organization: *76 user: title: Simple User description: A GitHub user. @@ -36131,7 +36298,7 @@ paths: - organization - user examples: - response-if-user-has-an-active-admin-membership-with-organization: &253 + response-if-user-has-an-active-admin-membership-with-organization: &255 summary: Response if user has an active admin membership with organization value: url: https://api.github.com/orgs/octocat/memberships/defunkt @@ -36203,8 +36370,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#set-organization-membership-for-a-user parameters: - - *76 - - *72 + - *78 + - *74 requestBody: required: false content: @@ -36232,9 +36399,9 @@ paths: description: Response content: application/json: - schema: *252 + schema: *254 examples: - response-if-user-already-had-membership-with-organization: *253 + response-if-user-already-had-membership-with-organization: *255 '422': *15 '403': *29 x-github: @@ -36264,8 +36431,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#remove-organization-membership-for-a-user parameters: - - *76 - - *72 + - *78 + - *74 responses: '204': description: Response @@ -36290,7 +36457,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/orgs#list-organization-migrations parameters: - - *76 + - *78 - *17 - *19 - name: exclude @@ -36311,7 +36478,7 @@ paths: application/json: schema: type: array - items: &254 + items: &256 title: Migration description: A migration. type: object @@ -36352,7 +36519,7 @@ paths: type: array description: The repositories included in the migration. Only returned for export migrations. - items: *80 + items: *82 url: type: string format: uri @@ -36559,7 +36726,7 @@ paths: updated_at: '2015-07-06T15:33:38-07:00' node_id: MDQ6VXNlcjE= headers: - Link: *68 + Link: *70 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -36575,7 +36742,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/orgs#start-an-organization-migration parameters: - - *76 + - *78 requestBody: required: true content: @@ -36651,7 +36818,7 @@ paths: description: Response content: application/json: - schema: *254 + schema: *256 examples: default: value: @@ -36829,8 +36996,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/orgs#get-an-organization-migration-status parameters: - - *76 - - &255 + - *78 + - &257 name: migration_id description: The unique identifier of the migration. in: path @@ -36857,7 +37024,7 @@ paths: * `failed`, which means the migration failed. content: application/json: - schema: *254 + schema: *256 examples: default: value: @@ -37026,8 +37193,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/orgs#download-an-organization-migration-archive parameters: - - *76 - - *255 + - *78 + - *257 responses: '302': description: Response @@ -37048,8 +37215,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/orgs#delete-an-organization-migration-archive parameters: - - *76 - - *255 + - *78 + - *257 responses: '204': description: Response @@ -37072,9 +37239,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/orgs#unlock-an-organization-repository parameters: - - *76 - - *255 - - &701 + - *78 + - *257 + - &703 name: repo_name description: repo_name parameter in: path @@ -37101,8 +37268,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/orgs#list-repositories-in-an-organization-migration parameters: - - *76 - - *255 + - *78 + - *257 - *17 - *19 responses: @@ -37112,9 +37279,9 @@ paths: application/json: schema: type: array - items: *159 + items: *161 examples: - default: &267 + default: &269 value: - id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -37227,7 +37394,7 @@ paths: secret_scanning_delegated_alert_dismissal: status: disabled headers: - Link: *68 + Link: *70 '404': *6 x-github: githubCloudOnly: false @@ -37271,7 +37438,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#get-all-organization-roles-for-an-organization parameters: - - *76 + - *78 responses: '200': description: Response - list of organization roles @@ -37287,7 +37454,7 @@ paths: roles: type: array description: The list of organization roles available to the organization. - items: &257 + items: &259 title: Organization Role description: Organization roles type: object @@ -37434,8 +37601,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#remove-all-organization-roles-for-a-team parameters: - - *76 - *78 + - *80 responses: '204': description: Response @@ -37460,9 +37627,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#assign-an-organization-role-to-a-team parameters: - - *76 - *78 - - &256 + - *80 + - &258 name: role_id description: The unique identifier of the role. in: path @@ -37497,9 +37664,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#remove-an-organization-role-from-a-team parameters: - - *76 - *78 - - *256 + - *80 + - *258 responses: '204': description: Response @@ -37524,8 +37691,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#remove-all-organization-roles-for-a-user parameters: - - *76 - - *72 + - *78 + - *74 responses: '204': description: Response @@ -37550,9 +37717,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#assign-an-organization-role-to-a-user parameters: - - *76 - - *72 - - *256 + - *78 + - *74 + - *258 responses: '204': description: Response @@ -37582,9 +37749,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#remove-an-organization-role-from-a-user parameters: - - *76 - - *72 - - *256 + - *78 + - *74 + - *258 responses: '204': description: Response @@ -37612,14 +37779,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#get-an-organization-role parameters: - - *76 - - *256 + - *78 + - *258 responses: '200': description: Response content: application/json: - schema: *257 + schema: *259 examples: default: value: @@ -37669,8 +37836,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#list-teams-that-are-assigned-to-an-organization-role parameters: - - *76 - - *256 + - *78 + - *258 - *17 - *19 responses: @@ -37748,8 +37915,8 @@ paths: description: Groups of organization members that gives permissions on specified repositories. type: object - properties: *258 - required: *259 + properties: *260 + required: *261 nullable: true type: description: The ownership type of the team @@ -37781,9 +37948,9 @@ paths: - type - parent examples: - default: *260 + default: *262 headers: - Link: *68 + Link: *70 '404': description: Response if the organization or role does not exist. '422': @@ -37810,8 +37977,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#list-users-that-are-assigned-to-an-organization-role parameters: - - *76 - - *256 + - *78 + - *258 - *17 - *19 responses: @@ -37839,13 +38006,13 @@ paths: inherited_from: description: Team the user has gotten the role through type: array - items: &333 + items: &335 title: Team Simple description: Groups of organization members that gives permissions on specified repositories. type: object - properties: *258 - required: *259 + properties: *260 + required: *261 name: nullable: true type: string @@ -37940,9 +38107,9 @@ paths: - type - url examples: - default: *71 + default: *73 headers: - Link: *68 + Link: *70 '404': description: Response if the organization or role does not exist. '422': @@ -37964,7 +38131,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/outside-collaborators#list-outside-collaborators-for-an-organization parameters: - - *76 + - *78 - name: filter description: Filter the list of outside collaborators. `2fa_disabled` means that only outside collaborators without [two-factor authentication](https://github.com/blog/1614-two-factor-authentication) @@ -37991,9 +38158,9 @@ paths: type: array items: *4 examples: - default: *71 + default: *73 headers: - Link: *68 + Link: *70 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -38016,8 +38183,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/outside-collaborators#convert-an-organization-member-to-outside-collaborator parameters: - - *76 - - *72 + - *78 + - *74 requestBody: required: false content: @@ -38074,8 +38241,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/outside-collaborators#remove-outside-collaborator-from-an-organization parameters: - - *76 - - *72 + - *78 + - *74 responses: '204': description: Response @@ -38132,8 +38299,8 @@ paths: - docker - nuget - container - - *76 - - &702 + - *78 + - &704 name: visibility description: |- The selected visibility of the packages. This parameter is optional and only filters an existing result set. @@ -38169,12 +38336,12 @@ paths: application/json: schema: type: array - items: *261 + items: *263 examples: - default: *262 + default: *264 '403': *29 '401': *25 - '400': &704 + '400': &706 description: The value of `per_page` multiplied by `page` cannot be greater than 10000. x-github: @@ -38196,7 +38363,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-for-an-organization parameters: - - &263 + - &265 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 @@ -38214,20 +38381,20 @@ paths: - docker - nuget - container - - &264 + - &266 name: package_name description: The name of the package. in: path required: true schema: type: string - - *76 + - *78 responses: '200': description: Response content: application/json: - schema: *261 + schema: *263 examples: default: value: @@ -38279,9 +38446,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-a-package-for-an-organization parameters: - - *263 - - *264 - - *76 + - *265 + - *266 + - *78 responses: '204': description: Response @@ -38313,9 +38480,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-a-package-for-an-organization parameters: - - *263 - - *264 - - *76 + - *265 + - *266 + - *78 - name: token description: package token schema: @@ -38347,9 +38514,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#list-package-versions-for-a-package-owned-by-an-organization parameters: - - *263 - - *264 - - *76 + - *265 + - *266 + - *78 - *19 - *17 - name: state @@ -38369,7 +38536,7 @@ paths: application/json: schema: type: array - items: &265 + items: &267 title: Package Version description: A version of a software package type: object @@ -38494,10 +38661,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-version-for-an-organization parameters: - - *263 - - *264 - - *76 - - &266 + - *265 + - *266 + - *78 + - &268 name: package_version_id description: Unique identifier of the package version. in: path @@ -38509,7 +38676,7 @@ paths: description: Response content: application/json: - schema: *265 + schema: *267 examples: default: value: @@ -38545,10 +38712,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-package-version-for-an-organization parameters: - - *263 - - *264 - - *76 + - *265 - *266 + - *78 + - *268 responses: '204': description: Response @@ -38580,10 +38747,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-package-version-for-an-organization parameters: - - *263 - - *264 - - *76 + - *265 - *266 + - *78 + - *268 responses: '204': description: Response @@ -38610,10 +38777,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/personal-access-tokens#list-requests-to-access-organization-resources-with-fine-grained-personal-access-tokens parameters: - - *76 + - *78 - *17 - *19 - - &268 + - &270 name: sort description: The property by which to sort the results. in: query @@ -38624,7 +38791,7 @@ paths: - created_at default: created_at - *62 - - &269 + - &271 name: owner description: A list of owner usernames to use to filter the results. in: query @@ -38635,7 +38802,7 @@ paths: items: type: string example: owner[]=octocat1,owner[]=octocat2 - - &270 + - &272 name: repository description: The name of the repository to use to filter the results. in: query @@ -38643,7 +38810,7 @@ paths: schema: type: string example: Hello-World - - &271 + - &273 name: permission description: The permission to use to filter the results. in: query @@ -38651,7 +38818,7 @@ paths: schema: type: string example: issues_read - - &272 + - &274 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) @@ -38661,7 +38828,7 @@ paths: schema: type: string format: date-time - - &273 + - &275 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) @@ -38671,7 +38838,7 @@ paths: schema: type: string format: date-time - - &274 + - &276 name: token_id description: The ID of the token in: query @@ -38815,7 +38982,7 @@ paths: token_expires_at: '2023-11-16T08:47:09.000-07:00' token_last_used_at: headers: - Link: *68 + Link: *70 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -38835,7 +39002,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/personal-access-tokens#review-requests-to-access-organization-resources-with-fine-grained-personal-access-tokens parameters: - - *76 + - *78 requestBody: required: true content: @@ -38901,7 +39068,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/personal-access-tokens#review-a-request-to-access-organization-resources-with-a-fine-grained-personal-access-token parameters: - - *76 + - *78 - name: pat_request_id in: path description: Unique identifier of the request for access via fine-grained @@ -38962,7 +39129,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/personal-access-tokens#list-repositories-requested-to-be-accessed-by-a-fine-grained-personal-access-token parameters: - - *76 + - *78 - name: pat_request_id in: path description: Unique identifier of the request for access via fine-grained @@ -38982,11 +39149,11 @@ paths: application/json: schema: type: array - items: *159 + items: *161 examples: - default: *267 + default: *269 headers: - Link: *68 + Link: *70 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -39007,17 +39174,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/personal-access-tokens#list-fine-grained-personal-access-tokens-with-access-to-organization-resources parameters: - - *76 + - *78 - *17 - *19 - - *268 - - *62 - - *269 - *270 + - *62 - *271 - *272 - *273 - *274 + - *275 + - *276 responses: '500': *55 '422': *15 @@ -39146,7 +39313,7 @@ paths: token_expires_at: '2023-11-16T08:47:09.000-07:00' token_last_used_at: headers: - Link: *68 + Link: *70 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -39166,7 +39333,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/personal-access-tokens#update-the-access-to-organization-resources-via-fine-grained-personal-access-tokens parameters: - - *76 + - *78 requestBody: required: true content: @@ -39226,7 +39393,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/personal-access-tokens#update-the-access-a-fine-grained-personal-access-token-has-to-organization-resources parameters: - - *76 + - *78 - name: pat_id description: The unique identifier of the fine-grained personal access token. in: path @@ -39278,7 +39445,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/personal-access-tokens#list-repositories-a-fine-grained-personal-access-token-has-access-to parameters: - - *76 + - *78 - name: pat_id in: path description: Unique identifier of the fine-grained personal access token. @@ -39297,11 +39464,11 @@ paths: application/json: schema: type: array - items: *159 + items: *161 examples: - default: *267 + default: *269 headers: - Link: *68 + Link: *70 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -39323,7 +39490,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/private-registries/organization-configurations#list-private-registries-for-an-organization parameters: - - *76 + - *78 - *17 - *19 responses: @@ -39341,7 +39508,7 @@ paths: type: integer configurations: type: array - items: &275 + items: &277 title: Organization private registry description: Private registry configuration for an organization type: object @@ -39470,7 +39637,7 @@ paths: updated_at: '2020-01-10T14:59:22Z' visibility: selected headers: - Link: *68 + Link: *70 '400': *14 '404': *6 x-github: @@ -39493,7 +39660,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/private-registries/organization-configurations#create-a-private-registry-for-an-organization parameters: - - *76 + - *78 requestBody: required: true content: @@ -39812,7 +39979,7 @@ paths: - created_at - updated_at examples: - org-private-registry-with-selected-visibility: &276 + org-private-registry-with-selected-visibility: &278 value: name: MAVEN_REPOSITORY_SECRET registry_type: maven_repository @@ -39853,7 +40020,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/private-registries/organization-configurations#get-private-registries-public-key-for-an-organization parameters: - - *76 + - *78 responses: '200': description: Response @@ -39879,7 +40046,7 @@ paths: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 headers: - Link: *68 + Link: *70 '404': *6 x-github: githubCloudOnly: false @@ -39901,16 +40068,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/private-registries/organization-configurations#get-a-private-registry-for-an-organization parameters: - - *76 - - *167 + - *78 + - *169 responses: '200': description: The specified private registry configuration for the organization content: application/json: - schema: *275 + schema: *277 examples: - default: *276 + default: *278 '404': *6 x-github: githubCloudOnly: false @@ -39932,8 +40099,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/private-registries/organization-configurations#update-a-private-registry-for-an-organization parameters: - - *76 - - *167 + - *78 + - *169 requestBody: required: true content: @@ -40109,8 +40276,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/private-registries/organization-configurations#delete-a-private-registry-for-an-organization parameters: - - *76 - - *167 + - *78 + - *169 responses: '204': description: Response @@ -40133,7 +40300,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/projects#list-projects-for-organization parameters: - - *76 + - *78 - name: q description: Limit results to projects of the specified type. in: query @@ -40150,7 +40317,7 @@ paths: application/json: schema: type: array - items: &277 + items: &279 title: Projects v2 Project description: A projects v2 project type: object @@ -40220,7 +40387,7 @@ paths: title: Projects v2 Status Update description: An status update belonging to a project type: object - properties: &793 + properties: &795 id: type: number description: The unique identifier of the status update. @@ -40268,7 +40435,7 @@ paths: example: The project is off to a great start! type: string nullable: true - required: &794 + required: &796 - id - node_id - created_at @@ -40293,7 +40460,7 @@ paths: - deleted_at - deleted_by examples: - default: &278 + default: &280 value: id: 2 node_id: MDc6UHJvamVjdDEwMDI2MDM= @@ -40376,7 +40543,7 @@ paths: updated_at: '2025-07-11T16:19:28Z' is_template: true headers: - Link: *68 + Link: *70 '304': *37 '403': *29 '401': *25 @@ -40396,24 +40563,24 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/projects#get-project-for-organization parameters: - - &279 + - &281 name: project_number description: The project's number. in: path required: true schema: type: integer - - *76 + - *78 responses: '200': description: Response content: application/json: - schema: *277 + schema: *279 examples: - default: *278 + default: *280 headers: - Link: *68 + Link: *70 '304': *37 '403': *29 '401': *25 @@ -40433,8 +40600,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/drafts#create-draft-item-for-organization-owned-project parameters: - - *76 - - *279 + - *78 + - *281 requestBody: required: true description: Details of the draft item to create in the project. @@ -40468,7 +40635,7 @@ paths: description: Response content: application/json: - schema: &285 + schema: &287 title: Projects v2 Item description: An item belonging to a project type: object @@ -40481,8 +40648,8 @@ paths: description: The node ID of the project item. content: oneOf: - - *86 - - &482 + - *88 + - &484 title: Pull Request Simple description: Pull Request Simple type: object @@ -40588,8 +40755,8 @@ paths: title: Milestone description: A collection of related issues and pull requests. type: object - properties: *280 - required: *281 + properties: *282 + required: *283 nullable: true active_lock_reason: type: string @@ -40632,7 +40799,7 @@ paths: items: *4 requested_teams: type: array - items: *195 + items: *197 head: type: object properties: @@ -40640,7 +40807,7 @@ paths: type: string ref: type: string - repo: *80 + repo: *82 sha: type: string user: @@ -40663,7 +40830,7 @@ paths: type: string ref: type: string - repo: *80 + repo: *82 sha: type: string user: @@ -40682,7 +40849,7 @@ paths: _links: type: object properties: - comments: &282 + comments: &284 title: Link description: Hypermedia Link type: object @@ -40691,13 +40858,13 @@ paths: type: string required: - href - commits: *282 - statuses: *282 - html: *282 - issue: *282 - review_comments: *282 - review_comment: *282 - self: *282 + commits: *284 + statuses: *284 + html: *284 + issue: *284 + review_comments: *284 + review_comment: *284 + self: *284 required: - comments - commits @@ -40707,8 +40874,8 @@ paths: - review_comments - review_comment - self - author_association: *83 - auto_merge: &596 + author_association: *85 + auto_merge: &598 title: Auto merge description: The status of auto merging a pull request. type: object @@ -40882,7 +41049,7 @@ paths: - created_at - updated_at description: The content represented by the item. - content_type: &284 + content_type: &286 title: Projects v2 Item Content Type description: The type of content tracked in a project item type: string @@ -40922,7 +41089,7 @@ paths: - updated_at - archived_at examples: - draft_issue: &286 + draft_issue: &288 value: id: 17 node_id: PVTI_lADOANN5s84ACbL0zgBueEI @@ -40996,8 +41163,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/fields#list-project-fields-for-organization parameters: - - *279 - - *76 + - *281 + - *78 - *17 - *47 - *48 @@ -41008,7 +41175,7 @@ paths: application/json: schema: type: array - items: &283 + items: &285 title: Projects v2 Field description: A field inside a projects v2 project type: object @@ -41158,7 +41325,7 @@ paths: - updated_at - project_url examples: - default: &723 + default: &725 value: - id: 12345 node_id: PVTF_lADOABCD1234567890 @@ -41269,7 +41436,7 @@ paths: created_at: '2022-06-20T16:45:00Z' updated_at: '2022-06-20T16:45:00Z' headers: - Link: *68 + Link: *70 '304': *37 '403': *29 '401': *25 @@ -41288,8 +41455,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/fields#add-a-field-to-an-organization-owned-project parameters: - - *279 - - *76 + - *281 + - *78 requestBody: required: true content: @@ -41335,7 +41502,7 @@ paths: description: The options available for single select fields. At least one option must be provided when creating a single select field. - items: &724 + items: &726 type: object properties: name: @@ -41372,7 +41539,7 @@ paths: description: The field's data type. enum: - iteration - iteration_configuration: &725 + iteration_configuration: &727 type: object description: The configuration for iteration fields. properties: @@ -41422,7 +41589,7 @@ paths: value: name: Due date data_type: date - single_select_field: &726 + single_select_field: &728 summary: Create a single select field value: name: Priority @@ -41449,7 +41616,7 @@ paths: description: raw: High priority items html: High priority items - iteration_field: &727 + iteration_field: &729 summary: Create an iteration field value: name: Sprint @@ -41473,9 +41640,9 @@ paths: description: Response for adding a field to an organization-owned project. content: application/json: - schema: *283 + schema: *285 examples: - text_field: &728 + text_field: &730 value: id: 24680 node_id: PVTF_lADOABCD2468024680 @@ -41484,7 +41651,7 @@ paths: project_url: https://api.github.com/projects/67890 created_at: '2022-05-15T08:00:00Z' updated_at: '2022-05-15T08:00:00Z' - number_field: &729 + number_field: &731 value: id: 13579 node_id: PVTF_lADOABCD1357913579 @@ -41493,7 +41660,7 @@ paths: project_url: https://api.github.com/projects/67890 created_at: '2022-06-01T14:30:00Z' updated_at: '2022-06-01T14:30:00Z' - date_field: &730 + date_field: &732 value: id: 98765 node_id: PVTF_lADOABCD9876598765 @@ -41502,7 +41669,7 @@ paths: project_url: https://api.github.com/projects/67890 created_at: '2022-06-10T09:15:00Z' updated_at: '2022-06-10T09:15:00Z' - single_select_field: &731 + single_select_field: &733 value: id: 12345 node_id: PVTF_lADOABCD1234567890 @@ -41536,7 +41703,7 @@ paths: raw: High priority items created_at: '2022-04-28T12:00:00Z' updated_at: '2022-04-28T12:00:00Z' - iteration_field: &732 + iteration_field: &734 value: id: 11223 node_id: PVTF_lADOABCD1122311223 @@ -41581,23 +41748,23 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/fields#get-project-field-for-organization parameters: - - *279 - - &733 + - *281 + - &735 name: field_id description: The unique identifier of the field. in: path required: true schema: type: integer - - *76 + - *78 responses: '200': description: Response content: application/json: - schema: *283 + schema: *285 examples: - default: &734 + default: &736 value: id: 12345 node_id: PVTF_lADOABCD1234567890 @@ -41632,7 +41799,7 @@ paths: created_at: '2022-04-28T12:00:00Z' updated_at: '2022-04-28T12:00:00Z' headers: - Link: *68 + Link: *70 '304': *37 '403': *29 '401': *25 @@ -41653,8 +41820,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#list-items-for-an-organization-owned-project parameters: - - *279 - - *76 + - *281 + - *78 - name: q description: Search query to filter items, see [Filtering projects](https://docs.github.com/issues/planning-and-tracking-with-projects/customizing-views-in-your-project/filtering-projects) for more information. @@ -41686,7 +41853,7 @@ paths: application/json: schema: type: array - items: &287 + items: &289 title: Projects v2 Item description: An item belonging to a project type: object @@ -41702,7 +41869,7 @@ paths: format: uri example: https://api.github.com/users/monalisa/2/projectsV2/3 description: The API URL of the project that contains this item. - content_type: *284 + content_type: *286 content: type: object additionalProperties: true @@ -41745,7 +41912,7 @@ paths: - updated_at - archived_at examples: - default: &288 + default: &290 value: id: 13 node_id: PVTI_lAAFAQ0 @@ -42422,7 +42589,7 @@ paths: data_type: sub_issues_progress value: headers: - Link: *68 + Link: *70 '304': *37 '403': *29 '401': *25 @@ -42442,8 +42609,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#add-item-to-organization-owned-project parameters: - - *76 - - *279 + - *78 + - *281 requestBody: required: true description: Details of the item to add to the project. You can specify either @@ -42513,22 +42680,22 @@ paths: description: Response content: application/json: - schema: *285 + schema: *287 examples: issue_with_id: summary: Response for adding an issue using its unique ID - value: *286 + value: *288 pull_request_with_id: summary: Response for adding a pull request using its unique ID - value: *286 + value: *288 issue_with_nwo: summary: Response for adding an issue using repository owner, name, and issue number - value: *286 + value: *288 pull_request_with_nwo: summary: Response for adding a pull request using repository owner, name, and PR number - value: *286 + value: *288 '304': *37 '403': *29 '401': *25 @@ -42548,9 +42715,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#get-an-item-for-an-organization-owned-project parameters: - - *279 - - *76 - - &289 + - *281 + - *78 + - &291 name: item_id description: The unique identifier of the project item. in: path @@ -42576,11 +42743,11 @@ paths: description: Response content: application/json: - schema: *287 + schema: *289 examples: - default: *288 + default: *290 headers: - Link: *68 + Link: *70 '304': *37 '403': *29 '401': *25 @@ -42599,9 +42766,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#update-project-item-for-organization parameters: - - *279 - - *76 - - *289 + - *281 + - *78 + - *291 requestBody: required: true description: Field updates to apply to the project item. Only text, number, @@ -42671,13 +42838,13 @@ paths: description: Response content: application/json: - schema: *287 + schema: *289 examples: - text_field: *288 - number_field: *288 - date_field: *288 - single_select_field: *288 - iteration_field: *288 + text_field: *290 + number_field: *290 + date_field: *290 + single_select_field: *290 + iteration_field: *290 '401': *25 '403': *29 '404': *6 @@ -42697,9 +42864,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#delete-project-item-for-organization parameters: - - *279 - - *76 - - *289 + - *281 + - *78 + - *291 responses: '204': description: Response @@ -42722,8 +42889,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/views#create-a-view-for-an-organization-owned-project parameters: - - *76 - - *279 + - *78 + - *281 requestBody: required: true content: @@ -42794,7 +42961,7 @@ paths: description: Response for creating a view in an organization-owned project. content: application/json: - schema: &715 + schema: &717 title: Projects v2 View description: A view inside a projects v2 project type: object @@ -42892,7 +43059,7 @@ paths: examples: table_view: summary: Response for creating a table view - value: &290 + value: &292 value: id: 1 number: 1 @@ -42938,10 +43105,10 @@ paths: - 456 board_view: summary: Response for creating a board view with filter - value: *290 + value: *292 roadmap_view: summary: Response for creating a roadmap view - value: *290 + value: *292 '304': *37 '403': *29 '401': *25 @@ -42969,9 +43136,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#list-items-for-an-organization-project-view parameters: - - *279 - - *76 - - &735 + - *281 + - *78 + - &737 name: view_number description: The number that identifies the project view. in: path @@ -43003,11 +43170,11 @@ paths: application/json: schema: type: array - items: *287 + items: *289 examples: - default: *288 + default: *290 headers: - Link: *68 + Link: *70 '304': *37 '403': *29 '401': *25 @@ -43030,7 +43197,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/custom-properties#get-all-custom-properties-for-an-organization parameters: - - *76 + - *78 responses: '200': description: Response @@ -43038,7 +43205,7 @@ paths: application/json: schema: type: array - items: &291 + items: &293 title: Organization Custom Property description: Custom property defined on an organization type: object @@ -43106,7 +43273,7 @@ paths: - property_name - value_type examples: - default: &292 + default: &294 value: - property_name: environment url: https://api.github.com/orgs/github/properties/schema/environment @@ -43155,7 +43322,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/custom-properties#create-or-update-custom-properties-for-an-organization parameters: - - *76 + - *78 requestBody: required: true content: @@ -43166,7 +43333,7 @@ paths: properties: type: array description: The array of custom properties to create or update. - items: *291 + items: *293 minItems: 1 maxItems: 100 required: @@ -43196,9 +43363,9 @@ paths: application/json: schema: type: array - items: *291 + items: *293 examples: - default: *292 + default: *294 '403': *29 '404': *6 x-github: @@ -43219,8 +43386,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/custom-properties#get-a-custom-property-for-an-organization parameters: - - *76 - - &293 + - *78 + - &295 name: custom_property_name description: The custom property name in: path @@ -43232,9 +43399,9 @@ paths: description: Response content: application/json: - schema: *291 + schema: *293 examples: - default: &294 + default: &296 value: property_name: environment url: https://api.github.com/orgs/github/properties/schema/environment @@ -43268,8 +43435,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/custom-properties#create-or-update-a-custom-property-for-an-organization parameters: - - *76 - - *293 + - *78 + - *295 requestBody: required: true content: @@ -43340,9 +43507,9 @@ paths: description: Response content: application/json: - schema: *291 + schema: *293 examples: - default: *294 + default: *296 '403': *29 '404': *6 x-github: @@ -43365,8 +43532,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/custom-properties#remove-a-custom-property-for-an-organization parameters: - - *76 - - *293 + - *78 + - *295 responses: '204': *61 '403': *29 @@ -43389,7 +43556,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/custom-properties#list-custom-property-values-for-organization-repositories parameters: - - *76 + - *78 - *17 - *19 - name: repository_query @@ -43427,7 +43594,7 @@ paths: example: octocat/Hello-World properties: type: array - items: &295 + items: &297 title: Custom Property Value description: Custom property name and associated value type: object @@ -43466,7 +43633,7 @@ paths: - property_name: team value: octocat headers: - Link: *68 + Link: *70 '403': *29 '404': *6 x-github: @@ -43494,7 +43661,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/custom-properties#create-or-update-custom-property-values-for-organization-repositories parameters: - - *76 + - *78 requestBody: required: true content: @@ -43514,7 +43681,7 @@ paths: type: array description: List of custom property names and associated values to apply to the repositories. - items: *295 + items: *297 required: - repository_names - properties @@ -43555,7 +43722,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#list-public-organization-members parameters: - - *76 + - *78 - *17 - *19 responses: @@ -43567,9 +43734,9 @@ paths: type: array items: *4 examples: - default: *71 + default: *73 headers: - Link: *68 + Link: *70 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -43586,8 +43753,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#check-public-organization-membership-for-a-user parameters: - - *76 - - *72 + - *78 + - *74 responses: '204': description: Response if user is a public member @@ -43611,8 +43778,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#set-public-organization-membership-for-the-authenticated-user parameters: - - *76 - - *72 + - *78 + - *74 responses: '204': description: Response @@ -43633,8 +43800,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#remove-public-organization-membership-for-the-authenticated-user parameters: - - *76 - - *72 + - *78 + - *74 responses: '204': description: Response @@ -43658,7 +43825,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-organization-repositories parameters: - - *76 + - *78 - name: type description: Specifies the types of repositories you want returned. in: query @@ -43704,11 +43871,11 @@ paths: application/json: schema: type: array - items: *159 + items: *161 examples: - default: *267 + default: *269 headers: - Link: *68 + Link: *70 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -43727,7 +43894,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#create-an-organization-repository parameters: - - *76 + - *78 requestBody: required: true content: @@ -43908,7 +44075,7 @@ paths: description: Response content: application/json: - schema: &347 + schema: &349 title: Full Repository description: Full Repository type: object @@ -44196,9 +44363,9 @@ paths: title: Repository description: A repository on GitHub. type: object - properties: *296 - required: *297 - x-github-breaking-changes: *298 + properties: *298 + required: *299 + x-github-breaking-changes: *300 nullable: true temp_clone_token: type: string @@ -44285,8 +44452,8 @@ paths: title: License Simple description: License Simple type: object - properties: *89 - required: *90 + properties: *91 + required: *92 nullable: true organization: title: Simple User @@ -44295,8 +44462,8 @@ paths: properties: *20 required: *21 nullable: true - parent: *80 - source: *80 + parent: *82 + source: *82 forks: type: integer master_branch: @@ -44313,7 +44480,7 @@ paths: title: Code Of Conduct Simple description: Code of Conduct Simple type: object - properties: &487 + properties: &489 url: type: string format: uri @@ -44329,12 +44496,12 @@ paths: nullable: true format: uri example: https://github.com/github/docs/blob/main/CODE_OF_CONDUCT.md - required: &488 + required: &490 - url - key - name - html_url - security_and_analysis: *299 + security_and_analysis: *301 custom_properties: type: object description: The custom properties that were defined for the repository. @@ -44429,7 +44596,7 @@ paths: has_downloads: version: '2026-03-10' examples: - default: &349 + default: &351 value: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -44959,10 +45126,10 @@ paths: category: orgs subcategory: rules parameters: - - *76 + - *78 - *17 - *19 - - &618 + - &620 name: targets description: | A comma-separated list of rule targets to filter by. @@ -44980,7 +45147,7 @@ paths: application/json: schema: type: array - items: &326 + items: &328 title: Repository ruleset type: object description: A set of rules to apply when specified conditions are @@ -45015,7 +45182,7 @@ paths: source: type: string description: The name of the source - enforcement: &302 + enforcement: &304 type: string description: The enforcement level of the ruleset. `evaluate` allows admins to test rules before enforcing them. Admins @@ -45028,7 +45195,7 @@ paths: bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: &303 + items: &305 title: Repository Ruleset Bypass Actor type: object description: An actor that can bypass rules in a ruleset @@ -45098,7 +45265,7 @@ paths: conditions: nullable: true anyOf: - - &300 + - &302 title: Repository ruleset conditions for ref names type: object description: Parameters for a repository ruleset ref name @@ -45122,7 +45289,7 @@ paths: match. items: type: string - - &304 + - &306 title: Organization ruleset conditions type: object description: |- @@ -45136,7 +45303,7 @@ paths: description: Conditions to target repositories by name and refs by name allOf: - - *300 + - *302 - title: Repository ruleset conditions for repository names type: object description: Parameters for a repository name condition @@ -45170,7 +45337,7 @@ paths: description: Conditions to target repositories by id and refs by name allOf: - - *300 + - *302 - title: Repository ruleset conditions for repository IDs type: object description: Parameters for a repository ID condition @@ -45192,7 +45359,7 @@ paths: description: Conditions to target repositories by property and refs by name allOf: - - *300 + - *302 - title: Repository ruleset conditions for repository properties type: object description: Parameters for a repository property condition @@ -45205,7 +45372,7 @@ paths: description: The repository properties and values to include. All of these properties must match for the condition to pass. - items: &301 + items: &303 title: Repository ruleset property targeting definition type: object @@ -45238,17 +45405,17 @@ paths: description: The repository properties and values to exclude. The condition will not pass if any of these properties match. - items: *301 + items: *303 required: - repository_property rules: type: array - items: &619 + items: &621 title: Repository Rule type: object description: A repository rule. oneOf: - - &305 + - &307 title: creation description: Only allow users with bypass permission to create matching refs. @@ -45260,7 +45427,7 @@ paths: type: string enum: - creation - - &306 + - &308 title: update description: Only allow users with bypass permission to update matching refs. @@ -45281,7 +45448,7 @@ paths: repository required: - update_allows_fetch_and_merge - - &307 + - &309 title: deletion description: Only allow users with bypass permissions to delete matching refs. @@ -45293,7 +45460,7 @@ paths: type: string enum: - deletion - - &308 + - &310 title: required_linear_history description: Prevent merge commits from being pushed to matching refs. @@ -45305,7 +45472,7 @@ paths: type: string enum: - required_linear_history - - &617 + - &619 title: merge_queue description: Merges must be performed via a merge queue. type: object @@ -45383,7 +45550,7 @@ paths: - merge_method - min_entries_to_merge - min_entries_to_merge_wait_minutes - - &309 + - &311 title: required_deployments description: Choose which environments must be successfully deployed to before refs can be pushed into a ref that @@ -45407,7 +45574,7 @@ paths: type: string required: - required_deployment_environments - - &310 + - &312 title: required_signatures description: Commits pushed to matching refs must have verified signatures. @@ -45419,7 +45586,7 @@ paths: type: string enum: - required_signatures - - &311 + - &313 title: pull_request description: Require all commits be made to a non-target branch and submitted via a pull request before they can @@ -45525,7 +45692,7 @@ paths: - require_last_push_approval - required_approving_review_count - required_review_thread_resolution - - &312 + - &314 title: required_status_checks description: Choose which status checks must pass before the ref is updated. When enabled, commits must first be @@ -45573,7 +45740,7 @@ paths: required: - required_status_checks - strict_required_status_checks_policy - - &313 + - &315 title: non_fast_forward description: Prevent users with push access from force pushing to refs. @@ -45585,7 +45752,7 @@ paths: type: string enum: - non_fast_forward - - &314 + - &316 title: commit_message_pattern description: Parameters to be used for the commit_message_pattern rule @@ -45622,7 +45789,7 @@ paths: required: - operator - pattern - - &315 + - &317 title: commit_author_email_pattern description: Parameters to be used for the commit_author_email_pattern rule @@ -45659,7 +45826,7 @@ paths: required: - operator - pattern - - &316 + - &318 title: committer_email_pattern description: Parameters to be used for the committer_email_pattern rule @@ -45696,7 +45863,7 @@ paths: required: - operator - pattern - - &317 + - &319 title: branch_name_pattern description: Parameters to be used for the branch_name_pattern rule @@ -45733,7 +45900,7 @@ paths: required: - operator - pattern - - &318 + - &320 title: tag_name_pattern description: Parameters to be used for the tag_name_pattern rule @@ -45770,7 +45937,7 @@ paths: required: - operator - pattern - - &319 + - &321 title: file_path_restriction description: Prevent commits that include changes in specified file and folder paths from being pushed to the commit @@ -45795,7 +45962,7 @@ paths: type: string required: - restricted_file_paths - - &320 + - &322 title: max_file_path_length description: Prevent commits that include file paths that exceed the specified character limit from being pushed @@ -45819,7 +45986,7 @@ paths: maximum: 32767 required: - max_file_path_length - - &321 + - &323 title: file_extension_restriction description: Prevent commits that include files with specified file extensions from being pushed to the commit graph. @@ -45842,7 +46009,7 @@ paths: type: string required: - restricted_file_extensions - - &322 + - &324 title: max_file_size description: Prevent commits with individual files that exceed the specified limit from being pushed to the commit @@ -45867,7 +46034,7 @@ paths: maximum: 100 required: - max_file_size - - &323 + - &325 title: workflows description: Require all changes made to a targeted branch to pass the specified workflows before they can be merged. @@ -45917,7 +46084,7 @@ paths: - repository_id required: - workflows - - &324 + - &326 title: code_scanning description: Choose which tools must provide code scanning results before the reference is updated. When configured, @@ -45978,7 +46145,7 @@ paths: - tool required: - code_scanning_tools - - &325 + - &327 title: copilot_code_review description: Request Copilot code review for new pull requests automatically if the author has access to Copilot code @@ -46056,7 +46223,7 @@ paths: category: orgs subcategory: rules parameters: - - *76 + - *78 requestBody: description: Request body required: true @@ -46077,22 +46244,20 @@ paths: - push - repository default: branch - enforcement: *302 + enforcement: *304 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *303 - conditions: *304 + items: *305 + conditions: *306 rules: type: array description: An array of rules within the ruleset. - items: &328 + items: &330 title: Repository Rule type: object description: A repository rule. oneOf: - - *305 - - *306 - *307 - *308 - *309 @@ -46112,6 +46277,8 @@ paths: - *323 - *324 - *325 + - *326 + - *327 required: - name - enforcement @@ -46149,9 +46316,9 @@ paths: description: Response content: application/json: - schema: *326 + schema: *328 examples: - default: &327 + default: &329 value: id: 21 name: super cool ruleset @@ -46206,8 +46373,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/rule-suites#list-organization-rule-suites parameters: - - *76 - - &620 + - *78 + - &622 name: ref description: The name of the ref. Cannot contain wildcard characters. Optionally prefix with `refs/heads/` to limit to branches or `refs/tags/` to limit @@ -46222,7 +46389,7 @@ paths: in: query schema: type: string - - &621 + - &623 name: time_period description: |- The time period to filter by. @@ -46238,14 +46405,14 @@ paths: - week - month default: day - - &622 + - &624 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 - - &623 + - &625 name: rule_suite_result description: The rule suite results to filter on. When specified, only suites with this result will be returned. @@ -46265,7 +46432,7 @@ paths: description: Response content: application/json: - schema: &624 + schema: &626 title: Rule Suites description: Response type: array @@ -46320,7 +46487,7 @@ paths: whether rules would pass or fail if all rules in the rule suite were `active`. examples: - default: &625 + default: &627 value: - id: 21 actor_id: 12 @@ -46363,8 +46530,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/rule-suites#get-an-organization-rule-suite parameters: - - *76 - - &626 + - *78 + - &628 name: rule_suite_id description: |- The unique identifier of the rule suite result. @@ -46380,7 +46547,7 @@ paths: description: Response content: application/json: - schema: &627 + schema: &629 title: Rule Suite description: Response type: object @@ -46479,7 +46646,7 @@ paths: description: The detailed failure message for the rule. Null if the rule passed. examples: - default: &628 + default: &630 value: id: 21 actor_id: 12 @@ -46540,7 +46707,7 @@ paths: category: orgs subcategory: rules parameters: - - *76 + - *78 - name: ruleset_id description: The ID of the ruleset. in: path @@ -46552,9 +46719,9 @@ paths: description: Response content: application/json: - schema: *326 + schema: *328 examples: - default: *327 + default: *329 '404': *6 '500': *55 put: @@ -46572,7 +46739,7 @@ paths: category: orgs subcategory: rules parameters: - - *76 + - *78 - name: ruleset_id description: The ID of the ruleset. in: path @@ -46598,16 +46765,16 @@ paths: - tag - push - repository - enforcement: *302 + enforcement: *304 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *303 - conditions: *304 + items: *305 + conditions: *306 rules: description: An array of rules within the ruleset. type: array - items: *328 + items: *330 examples: default: value: @@ -46642,9 +46809,9 @@ paths: description: Response content: application/json: - schema: *326 + schema: *328 examples: - default: *327 + default: *329 '404': *6 '422': *15 '500': *55 @@ -46663,7 +46830,7 @@ paths: category: orgs subcategory: rules parameters: - - *76 + - *78 - name: ruleset_id description: The ID of the ruleset. in: path @@ -46686,7 +46853,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/rules#get-organization-ruleset-history parameters: - - *76 + - *78 - *17 - *19 - name: ruleset_id @@ -46702,7 +46869,7 @@ paths: application/json: schema: type: array - items: &329 + items: &331 title: Ruleset version type: object description: The historical version of a ruleset @@ -46726,7 +46893,7 @@ paths: type: string format: date-time examples: - default: &630 + default: &632 value: - version_id: 3 actor: @@ -46761,7 +46928,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/rules#get-organization-ruleset-version parameters: - - *76 + - *78 - name: ruleset_id description: The ID of the ruleset. in: path @@ -46779,9 +46946,9 @@ paths: description: Response content: application/json: - schema: &631 + schema: &633 allOf: - - *329 + - *331 - type: object required: - state @@ -46850,8 +47017,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-organization parameters: - - *76 - - &632 + - *78 + - &634 name: state in: query description: Set to `open` or `resolved` to only list secret scanning alerts @@ -46862,7 +47029,7 @@ paths: enum: - open - resolved - - &633 + - &635 name: secret_type in: query description: A comma-separated list of secret types to return. All default @@ -46872,7 +47039,7 @@ paths: required: false schema: type: string - - &634 + - &636 name: exclude_secret_types in: query description: A comma-separated list of secret types to exclude from the results. @@ -46883,7 +47050,7 @@ paths: required: false schema: type: string - - &635 + - &637 name: exclude_providers in: query description: |- @@ -46894,7 +47061,7 @@ paths: required: false schema: type: string - - &636 + - &638 name: providers in: query description: |- @@ -46905,7 +47072,7 @@ paths: required: false schema: type: string - - &637 + - &639 name: resolution in: query description: A comma-separated list of resolutions. Only secret scanning alerts @@ -46914,7 +47081,7 @@ paths: required: false schema: type: string - - &638 + - &640 name: assignee in: query description: Filters alerts by assignee. Use `*` to get all assigned alerts, @@ -46933,7 +47100,7 @@ paths: all-unassigned: value: none summary: Filter for all unassigned alerts - - &639 + - &641 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. @@ -46948,7 +47115,7 @@ paths: - *62 - *19 - *17 - - &640 + - &642 name: before description: A cursor, as given in the [Link header](https://docs.github.com/rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for events before this cursor. To @@ -46958,7 +47125,7 @@ paths: required: false schema: type: string - - &641 + - &643 name: after description: A cursor, as given in the [Link header](https://docs.github.com/rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for events after this cursor. To @@ -46968,7 +47135,7 @@ paths: required: false schema: type: string - - &642 + - &644 name: validity in: query description: A comma-separated list of validities that, when present, will @@ -46977,7 +47144,7 @@ paths: required: false schema: type: string - - &643 + - &645 name: is_publicly_leaked in: query description: A boolean value representing whether or not to filter alerts @@ -46986,7 +47153,7 @@ paths: schema: type: boolean default: false - - &644 + - &646 name: is_multi_repo in: query description: A boolean value representing whether or not to filter alerts @@ -46995,7 +47162,7 @@ paths: schema: type: boolean default: false - - &645 + - &647 name: hide_secret in: query description: A boolean value representing whether or not to hide literal secrets @@ -47014,8 +47181,8 @@ paths: items: type: object properties: - number: *177 - created_at: *178 + number: *179 + created_at: *180 updated_at: type: string description: 'The time that the alert was last updated in ISO @@ -47023,21 +47190,21 @@ paths: format: date-time readOnly: true nullable: true - url: *180 - html_url: *181 + url: *182 + html_url: *183 locations_url: type: string format: uri description: The REST API URL of the code locations for this alert. - state: &646 + state: &648 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 - resolution: &647 + resolution: &649 type: string description: "**Required when the `state` is `resolved`.** The reason for resolving the alert." @@ -47154,8 +47321,8 @@ paths: pull request. ' - oneOf: &648 - - &650 + oneOf: &650 + - &652 description: Represents a 'commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository. @@ -47213,7 +47380,7 @@ paths: - blob_url - commit_sha - commit_url - - &651 + - &653 description: Represents a 'wiki_commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository wiki. @@ -47268,7 +47435,7 @@ paths: - page_url - commit_sha - commit_url - - &652 + - &654 description: Represents an 'issue_title' secret scanning location type. This location type shows that a secret was detected in the title of an issue. @@ -47288,7 +47455,7 @@ paths: example: https://github.com/octocat/Hello-World/issues/1 required: - issue_title_url - - &653 + - &655 description: Represents an 'issue_body' secret scanning location type. This location type shows that a secret was detected in the body of an issue. @@ -47308,7 +47475,7 @@ paths: example: https://github.com/octocat/Hello-World/issues/1 required: - issue_body_url - - &654 + - &656 description: Represents an 'issue_comment' secret scanning location type. This location type shows that a secret was detected in a comment on an issue. @@ -47328,7 +47495,7 @@ paths: example: https://github.com/octocat/Hello-World/issues/1#issuecomment-1081119451 required: - issue_comment_url - - &655 + - &657 description: Represents a 'discussion_title' secret scanning location type. This location type shows that a secret was detected in the title of a discussion. @@ -47342,7 +47509,7 @@ paths: example: https://github.com/community/community/discussions/39082 required: - discussion_title_url - - &656 + - &658 description: Represents a 'discussion_body' secret scanning location type. This location type shows that a secret was detected in the body of a discussion. @@ -47356,7 +47523,7 @@ paths: example: https://github.com/community/community/discussions/39082#discussion-4566270 required: - discussion_body_url - - &657 + - &659 description: Represents a 'discussion_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a discussion. @@ -47370,7 +47537,7 @@ paths: example: https://github.com/community/community/discussions/39082#discussioncomment-4158232 required: - discussion_comment_url - - &658 + - &660 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. @@ -47390,7 +47557,7 @@ paths: example: https://github.com/octocat/Hello-World/pull/2846 required: - pull_request_title_url - - &659 + - &661 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. @@ -47410,7 +47577,7 @@ paths: example: https://github.com/octocat/Hello-World/pull/2846 required: - pull_request_body_url - - &660 + - &662 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. @@ -47430,7 +47597,7 @@ paths: example: https://github.com/octocat/Hello-World/pull/2846#issuecomment-1081119451 required: - pull_request_comment_url - - &661 + - &663 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. @@ -47450,7 +47617,7 @@ paths: example: https://github.com/octocat/Hello-World/pull/2846#pullrequestreview-80 required: - pull_request_review_url - - &662 + - &664 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. @@ -47674,9 +47841,9 @@ paths: type: User site_admin: false headers: - Link: *68 + Link: *70 '404': *6 - '503': *120 + '503': *122 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -47701,7 +47868,7 @@ paths: category: secret-scanning subcategory: push-protection parameters: - - *76 + - *78 responses: '200': description: Response @@ -47713,7 +47880,7 @@ paths: related to push protection. type: object properties: - pattern_config_version: &331 + pattern_config_version: &333 type: string description: The version of the entity. This is used to confirm you're updating the current version of the entity and mitigate @@ -47722,7 +47889,7 @@ paths: provider_pattern_overrides: type: array description: Overrides for partner patterns. - items: &330 + items: &332 type: object properties: token_type: @@ -47788,7 +47955,7 @@ paths: custom_pattern_overrides: type: array description: Overrides for custom patterns defined by the organization. - items: *330 + items: *332 examples: default: value: @@ -47837,7 +48004,7 @@ paths: category: secret-scanning subcategory: push-protection parameters: - - *76 + - *78 requestBody: required: true content: @@ -47845,7 +48012,7 @@ paths: schema: type: object properties: - pattern_config_version: *331 + pattern_config_version: *333 provider_pattern_settings: type: array description: Pattern settings for provider patterns. @@ -47871,7 +48038,7 @@ paths: token_type: type: string description: The ID of the pattern to configure. - custom_pattern_version: *331 + custom_pattern_version: *333 push_protection_setting: type: string description: Push protection setting to set for the pattern. @@ -47925,7 +48092,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#list-repository-security-advisories-for-an-organization parameters: - - *76 + - *78 - *62 - name: sort description: The property to sort the results by. @@ -47969,7 +48136,7 @@ paths: application/json: schema: type: array - items: &666 + items: &668 description: A repository security advisory. type: object properties: @@ -48189,7 +48356,7 @@ paths: login: type: string description: The username of the user credited. - type: *332 + type: *334 credits_detailed: type: array nullable: true @@ -48199,7 +48366,7 @@ paths: type: object properties: user: *4 - type: *332 + type: *334 state: type: string description: The state of the user's acceptance of the @@ -48223,7 +48390,7 @@ paths: type: array description: A list of teams that collaborate on the advisory. nullable: true - items: *195 + items: *197 private_fork: readOnly: true nullable: true @@ -48292,7 +48459,7 @@ paths: - private_fork version: '2026-03-10' examples: - default: &667 + default: &669 value: - ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -48671,7 +48838,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/security-managers#list-security-manager-teams parameters: - - *76 + - *78 responses: '200': description: Response @@ -48679,7 +48846,7 @@ paths: application/json: schema: type: array - items: *333 + items: *335 examples: default: value: @@ -48719,8 +48886,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/security-managers#add-a-security-manager-team parameters: - - *76 - *78 + - *80 responses: '204': description: Response @@ -48745,8 +48912,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/security-managers#remove-a-security-manager-team parameters: - - *76 - *78 + - *80 responses: '204': description: Response @@ -48773,7 +48940,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#get-immutable-releases-settings-for-an-organization parameters: - - *76 + - *78 responses: '200': description: Immutable releases settings response @@ -48822,7 +48989,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#set-immutable-releases-settings-for-an-organization parameters: - - *76 + - *78 responses: '204': description: Response @@ -48879,7 +49046,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#list-selected-repositories-for-immutable-releases-enforcement parameters: - - *76 + - *78 - *19 - *17 responses: @@ -48897,9 +49064,9 @@ paths: type: integer repositories: type: array - items: *159 + items: *161 examples: - default: *171 + default: *173 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -48918,7 +49085,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#set-selected-repositories-for-immutable-releases-enforcement parameters: - - *76 + - *78 requestBody: required: true content: @@ -48967,8 +49134,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#enable-a-selected-repository-for-immutable-releases-in-an-organization parameters: - - *76 - - *148 + - *78 + - *150 responses: '204': description: Response @@ -48990,8 +49157,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#disable-a-selected-repository-for-immutable-releases-in-an-organization parameters: - - *76 - - *148 + - *78 + - *150 responses: '204': description: Response @@ -49014,7 +49181,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/network-configurations#list-hosted-compute-network-configurations-for-an-organization parameters: - - *76 + - *78 - *17 - *19 responses: @@ -49032,7 +49199,7 @@ paths: type: integer network_configurations: type: array - items: &334 + items: &336 title: Hosted compute network configuration description: A hosted compute network configuration. type: object @@ -49103,7 +49270,7 @@ paths: - 6789ABDCEF12345 created_on: '2023-04-26T15:23:37Z' headers: - Link: *68 + Link: *70 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -49122,7 +49289,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/network-configurations#create-a-hosted-compute-network-configuration-for-an-organization parameters: - - *76 + - *78 requestBody: required: true content: @@ -49178,9 +49345,9 @@ paths: description: Response content: application/json: - schema: *334 + schema: *336 examples: - default: &335 + default: &337 value: id: 123456789ABCDEF name: My network configuration @@ -49208,8 +49375,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/network-configurations#get-a-hosted-compute-network-configuration-for-an-organization parameters: - - *76 - - &336 + - *78 + - &338 name: network_configuration_id description: Unique identifier of the hosted compute network configuration. in: path @@ -49221,11 +49388,11 @@ paths: description: Response content: application/json: - schema: *334 + schema: *336 examples: - default: *335 + default: *337 headers: - Link: *68 + Link: *70 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -49244,8 +49411,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/network-configurations#update-a-hosted-compute-network-configuration-for-an-organization parameters: - - *76 - - *336 + - *78 + - *338 requestBody: required: true content: @@ -49298,9 +49465,9 @@ paths: description: Response content: application/json: - schema: *334 + schema: *336 examples: - default: *335 + default: *337 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -49319,8 +49486,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/network-configurations#delete-a-hosted-compute-network-configuration-from-an-organization parameters: - - *76 - - *336 + - *78 + - *338 responses: '204': description: Response @@ -49343,7 +49510,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/network-configurations#get-a-hosted-compute-network-settings-resource-for-an-organization parameters: - - *76 + - *78 - name: network_settings_id description: Unique identifier of the hosted compute network settings. in: path @@ -49397,7 +49564,7 @@ paths: subnet_id: "/subscriptions/14839728-3ad9-43ab-bd2b-fa6ad0f75e2a/resourceGroups/my-rg/providers/Microsoft.Network/virtualNetworks/my-vnet/subnets/my-subnet" region: eastus headers: - Link: *68 + Link: *70 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -49427,8 +49594,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-metrics#get-copilot-metrics-for-a-team parameters: - - *76 - *78 + - *80 - name: since description: Show usage metrics since this date. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format (`YYYY-MM-DDTHH:MM:SSZ`). @@ -49460,13 +49627,13 @@ paths: application/json: schema: type: array - items: *337 + items: *339 examples: - default: *338 + default: *340 '500': *55 '403': *29 '404': *6 - '422': *339 + '422': *341 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -49484,7 +49651,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-teams parameters: - - *76 + - *78 - *17 - *19 - name: team_type @@ -49506,11 +49673,11 @@ paths: application/json: schema: type: array - items: *195 + items: *197 examples: - default: *260 + default: *262 headers: - Link: *68 + Link: *70 '403': *29 x-github: githubCloudOnly: false @@ -49530,7 +49697,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#create-a-team parameters: - - *76 + - *78 requestBody: required: true content: @@ -49602,7 +49769,7 @@ paths: description: Response content: application/json: - schema: &340 + schema: &342 title: Full Team description: Groups of organization members that gives permissions on specified repositories. @@ -49665,8 +49832,8 @@ paths: description: Groups of organization members that gives permissions on specified repositories. type: object - properties: *258 - required: *259 + properties: *260 + required: *261 nullable: true members_count: type: integer @@ -49929,7 +50096,7 @@ paths: - repos_count - organization examples: - default: &341 + default: &343 value: id: 1 node_id: MDQ6VGVhbTE= @@ -50010,16 +50177,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#get-a-team-by-name parameters: - - *76 - *78 + - *80 responses: '200': description: Response content: application/json: - schema: *340 + schema: *342 examples: - default: *341 + default: *343 '404': *6 x-github: githubCloudOnly: false @@ -50040,8 +50207,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#update-a-team parameters: - - *76 - *78 + - *80 requestBody: required: false content: @@ -50103,16 +50270,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *340 + schema: *342 examples: - default: *341 + default: *343 '201': description: Response content: application/json: - schema: *340 + schema: *342 examples: - default: *341 + default: *343 '404': *6 '422': *15 '403': *29 @@ -50137,12 +50304,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#delete-a-team parameters: - - *76 - *78 + - *80 responses: '204': description: Response - '422': &342 + '422': &344 description: Unprocessable entity if you attempt to modify an enterprise team at the organization level. x-github: @@ -50165,8 +50332,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#list-pending-team-invitations parameters: - - *76 - *78 + - *80 - *17 - *19 responses: @@ -50176,12 +50343,12 @@ paths: application/json: schema: type: array - items: *237 + items: *239 examples: - default: *238 + default: *240 headers: - Link: *68 - '422': *342 + Link: *70 + '422': *344 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -50201,8 +50368,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#list-team-members parameters: - - *76 - *78 + - *80 - name: role description: Filters members returned by their role in the team. in: query @@ -50225,9 +50392,9 @@ paths: type: array items: *4 examples: - default: *71 + default: *73 headers: - Link: *68 + Link: *70 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -50255,15 +50422,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#get-team-membership-for-a-user parameters: - - *76 - *78 - - *72 + - *80 + - *74 responses: '200': description: Response content: application/json: - schema: &343 + schema: &345 title: Team Membership description: Team Membership type: object @@ -50290,7 +50457,7 @@ paths: - state - url examples: - response-if-user-is-a-team-maintainer: &682 + response-if-user-is-a-team-maintainer: &684 summary: Response if user is a team maintainer value: url: https://api.github.com/teams/1/memberships/octocat @@ -50326,9 +50493,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#add-or-update-team-membership-for-a-user parameters: - - *76 - *78 - - *72 + - *80 + - *74 requestBody: required: false content: @@ -50353,9 +50520,9 @@ paths: description: Response content: application/json: - schema: *343 + schema: *345 examples: - response-if-users-membership-with-team-is-now-pending: &683 + response-if-users-membership-with-team-is-now-pending: &685 summary: Response if user's membership with team is now pending value: url: https://api.github.com/teams/1/memberships/octocat @@ -50390,9 +50557,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#remove-team-membership-for-a-user parameters: - - *76 - *78 - - *72 + - *80 + - *74 responses: '204': description: Response @@ -50418,8 +50585,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-team-repositories parameters: - - *76 - *78 + - *80 - *17 - *19 responses: @@ -50429,11 +50596,11 @@ paths: application/json: schema: type: array - items: *159 + items: *161 examples: - default: *267 + default: *269 headers: - Link: *68 + Link: *70 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -50460,16 +50627,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-repository parameters: - - *76 - *78 - - *344 - - *345 + - *80 + - *346 + - *347 responses: '200': description: Alternative response with repository permissions content: application/json: - schema: &684 + schema: &686 title: Team Repository description: A team's access to a repository. type: object @@ -50492,8 +50659,8 @@ paths: title: License Simple description: License Simple type: object - properties: *89 - required: *90 + properties: *91 + required: *92 nullable: true forks: type: integer @@ -51123,10 +51290,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#add-or-update-team-repository-permissions parameters: - - *76 - *78 - - *344 - - *345 + - *80 + - *346 + - *347 requestBody: required: false content: @@ -51171,10 +51338,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#remove-a-repository-from-a-team parameters: - - *76 - *78 - - *344 - - *345 + - *80 + - *346 + - *347 responses: '204': description: Response @@ -51198,8 +51365,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-child-teams parameters: - - *76 - *78 + - *80 - *17 - *19 responses: @@ -51209,9 +51376,9 @@ paths: application/json: schema: type: array - items: *195 + items: *197 examples: - response-if-child-teams-exist: &685 + response-if-child-teams-exist: &687 value: - id: 2 node_id: MDQ6VGVhbTI= @@ -51239,7 +51406,7 @@ paths: repositories_url: https://api.github.com/teams/1/repos html_url: https://github.com/orgs/rails/teams/core headers: - Link: *68 + Link: *70 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -51264,7 +51431,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#enable-or-disable-a-security-feature-for-an-organization parameters: - - *76 + - *78 - name: security_product in: path description: The security feature to enable or disable. @@ -51365,7 +51532,7 @@ paths: resources: type: object properties: - core: &346 + core: &348 title: Rate Limit type: object properties: @@ -51382,21 +51549,21 @@ paths: - remaining - reset - used - graphql: *346 - search: *346 - code_search: *346 - source_import: *346 - integration_manifest: *346 - code_scanning_upload: *346 - actions_runner_registration: *346 - scim: *346 - dependency_snapshots: *346 - dependency_sbom: *346 - code_scanning_autofix: *346 + graphql: *348 + search: *348 + code_search: *348 + source_import: *348 + integration_manifest: *348 + code_scanning_upload: *348 + actions_runner_registration: *348 + scim: *348 + dependency_snapshots: *348 + dependency_sbom: *348 + code_scanning_autofix: *348 required: - core - search - rate: *346 + rate: *348 required: - rate - resources @@ -51515,14 +51682,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#get-a-repository parameters: - - *344 - - *345 + - *346 + - *347 responses: '200': description: Response content: application/json: - schema: *347 + schema: *349 examples: default-response: summary: Default response @@ -52033,7 +52200,7 @@ paths: version: '2026-03-10' '403': *29 '404': *6 - '301': *348 + '301': *350 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -52051,8 +52218,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#update-a-repository parameters: - - *344 - - *345 + - *346 + - *347 requestBody: required: false content: @@ -52350,10 +52517,10 @@ paths: description: Response content: application/json: - schema: *347 + schema: *349 examples: - default: *349 - '307': &350 + default: *351 + '307': &352 description: Temporary Redirect content: application/json: @@ -52382,8 +52549,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#delete-a-repository parameters: - - *344 - - *345 + - *346 + - *347 responses: '204': description: Response @@ -52405,7 +52572,7 @@ paths: value: message: Organization members cannot delete repositories. documentation_url: https://docs.github.com/rest/repos/repos#delete-a-repository - '307': *350 + '307': *352 '404': *6 '409': *54 x-github: @@ -52429,11 +52596,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#list-artifacts-for-a-repository parameters: - - *344 - - *345 + - *346 + - *347 - *17 - *19 - - &383 + - &385 name: name description: The name field of an artifact. When specified, only artifacts with this name will be returned. @@ -52456,7 +52623,7 @@ paths: type: integer artifacts: type: array - items: &351 + items: &353 title: Artifact description: An artifact type: object @@ -52534,7 +52701,7 @@ paths: - expires_at - updated_at examples: - default: &384 + default: &386 value: total_count: 2 artifacts: @@ -52573,7 +52740,7 @@ paths: head_branch: main head_sha: 178f4f6090b3fccad4a65b3e83d076a622d59652 headers: - Link: *68 + Link: *70 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -52595,9 +52762,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#get-an-artifact parameters: - - *344 - - *345 - - &352 + - *346 + - *347 + - &354 name: artifact_id description: The unique identifier of the artifact. in: path @@ -52609,7 +52776,7 @@ paths: description: Response content: application/json: - schema: *351 + schema: *353 examples: default: value: @@ -52647,9 +52814,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#delete-an-artifact parameters: - - *344 - - *345 - - *352 + - *346 + - *347 + - *354 responses: '204': description: Response @@ -52673,9 +52840,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#download-an-artifact parameters: - - *344 - - *345 - - *352 + - *346 + - *347 + - *354 - name: archive_format in: path required: true @@ -52685,11 +52852,11 @@ paths: '302': description: Response headers: - Location: &506 + Location: &508 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 - '410': &547 + '410': &549 description: Gone content: application/json: @@ -52714,14 +52881,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#get-github-actions-cache-retention-limit-for-a-repository parameters: - - *344 - - *345 + - *346 + - *347 responses: '200': description: Response content: application/json: - schema: &353 + schema: &355 title: Actions cache retention limit for a repository description: GitHub Actions cache retention policy for a repository. type: object @@ -52754,13 +52921,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#set-github-actions-cache-retention-limit-for-a-repository parameters: - - *344 - - *345 + - *346 + - *347 requestBody: required: true content: application/json: - schema: *353 + schema: *355 examples: selected_actions: *42 responses: @@ -52789,14 +52956,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#get-github-actions-cache-storage-limit-for-a-repository parameters: - - *344 - - *345 + - *346 + - *347 responses: '200': description: Response content: application/json: - schema: &354 + schema: &356 title: Actions cache storage limit for a repository description: GitHub Actions cache storage policy for a repository. type: object @@ -52829,13 +52996,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#set-github-actions-cache-storage-limit-for-a-repository parameters: - - *344 - - *345 + - *346 + - *347 requestBody: required: true content: application/json: - schema: *354 + schema: *356 examples: selected_actions: *44 responses: @@ -52866,14 +53033,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#get-github-actions-cache-usage-for-a-repository parameters: - - *344 - - *345 + - *346 + - *347 responses: '200': description: Response content: application/json: - schema: *355 + schema: *357 examples: default: value: @@ -52899,11 +53066,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#list-github-actions-caches-for-a-repository parameters: - - *344 - - *345 + - *346 + - *347 - *17 - *19 - - &356 + - &358 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 @@ -52937,7 +53104,7 @@ paths: description: Response content: application/json: - schema: &357 + schema: &359 title: Repository actions caches description: Repository actions caches type: object @@ -52979,7 +53146,7 @@ paths: - total_count - actions_caches examples: - default: &358 + default: &360 value: total_count: 1 actions_caches: @@ -52991,7 +53158,7 @@ paths: created_at: '2019-01-24T22:45:36.000Z' size_in_bytes: 1024 headers: - Link: *68 + Link: *70 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -53011,23 +53178,23 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#delete-github-actions-caches-for-a-repository-using-a-cache-key parameters: - - *344 - - *345 + - *346 + - *347 - name: key description: A key for identifying the cache. in: query required: true schema: type: string - - *356 + - *358 responses: '200': description: Response content: application/json: - schema: *357 + schema: *359 examples: - default: *358 + default: *360 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -53047,8 +53214,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#delete-a-github-actions-cache-for-a-repository-using-a-cache-id parameters: - - *344 - - *345 + - *346 + - *347 - name: cache_id description: The unique identifier of the GitHub Actions cache. in: path @@ -53079,9 +53246,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#get-a-job-for-a-workflow-run parameters: - - *344 - - *345 - - &359 + - *346 + - *347 + - &361 name: job_id description: The unique identifier of the job. in: path @@ -53093,7 +53260,7 @@ paths: description: Response content: application/json: - schema: &387 + schema: &389 title: Job description: Information of a job execution in a workflow run type: object @@ -53400,9 +53567,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#download-job-logs-for-a-workflow-run parameters: - - *344 - - *345 - - *359 + - *346 + - *347 + - *361 responses: '302': description: Response @@ -53430,9 +53597,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#re-run-a-job-from-a-workflow-run parameters: - - *344 - - *345 - - *359 + - *346 + - *347 + - *361 requestBody: required: false content: @@ -53453,7 +53620,7 @@ paths: description: Response content: application/json: - schema: *168 + schema: *170 examples: default: value: @@ -53477,8 +53644,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/oidc#get-the-customization-template-for-an-oidc-subject-claim-for-a-repository parameters: - - *344 - - *345 + - *346 + - *347 responses: '200': description: Status response @@ -53528,8 +53695,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/oidc#set-the-customization-template-for-an-oidc-subject-claim-for-a-repository parameters: - - *344 - - *345 + - *346 + - *347 requestBody: required: true content: @@ -53563,7 +53730,7 @@ paths: description: Empty response content: application/json: - schema: *168 + schema: *170 examples: default: value: @@ -53592,8 +53759,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-repository-organization-secrets parameters: - - *344 - - *345 + - *346 + - *347 - *17 - *19 responses: @@ -53611,7 +53778,7 @@ paths: type: integer secrets: type: array - items: &389 + items: &391 title: Actions Secret description: Set secrets for GitHub Actions. type: object @@ -53631,7 +53798,7 @@ paths: - created_at - updated_at examples: - default: &390 + default: &392 value: total_count: 2 secrets: @@ -53642,7 +53809,7 @@ paths: created_at: '2020-01-10T10:59:22Z' updated_at: '2020-01-11T11:59:22Z' headers: - Link: *68 + Link: *70 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -53664,9 +53831,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-repository-organization-variables parameters: - - *344 - - *345 - - *360 + - *346 + - *347 + - *362 - *19 responses: '200': @@ -53683,7 +53850,7 @@ paths: type: integer variables: type: array - items: &393 + items: &395 title: Actions Variable type: object properties: @@ -53713,7 +53880,7 @@ paths: - created_at - updated_at examples: - default: &394 + default: &396 value: total_count: 2 variables: @@ -53726,7 +53893,7 @@ paths: created_at: '2020-01-10T10:59:22Z' updated_at: '2020-01-11T11:59:22Z' headers: - Link: *68 + Link: *70 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -53746,8 +53913,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-github-actions-permissions-for-a-repository parameters: - - *344 - - *345 + - *346 + - *347 responses: '200': description: Response @@ -53756,12 +53923,12 @@ paths: schema: type: object properties: - enabled: &362 + enabled: &364 type: boolean description: Whether GitHub Actions is enabled on the repository. - allowed_actions: *144 - selected_actions_url: *361 - sha_pinning_required: *145 + allowed_actions: *146 + selected_actions_url: *363 + sha_pinning_required: *147 required: - enabled examples: @@ -53789,8 +53956,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-github-actions-permissions-for-a-repository parameters: - - *344 - - *345 + - *346 + - *347 responses: '204': description: Response @@ -53801,9 +53968,9 @@ paths: schema: type: object properties: - enabled: *362 - allowed_actions: *144 - sha_pinning_required: *145 + enabled: *364 + allowed_actions: *146 + sha_pinning_required: *147 required: - enabled examples: @@ -53833,14 +54000,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-the-level-of-access-for-workflows-outside-of-the-repository parameters: - - *344 - - *345 + - *346 + - *347 responses: '200': description: Response content: application/json: - schema: &363 + schema: &365 type: object properties: access_level: @@ -53857,7 +54024,7 @@ paths: required: - access_level examples: - default: &364 + default: &366 value: access_level: organization x-github: @@ -53881,15 +54048,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-the-level-of-access-for-workflows-outside-of-the-repository parameters: - - *344 - - *345 + - *346 + - *347 requestBody: required: true content: application/json: - schema: *363 + schema: *365 examples: - default: *364 + default: *366 responses: '204': description: Response @@ -53913,14 +54080,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-artifact-and-log-retention-settings-for-a-repository parameters: - - *344 - - *345 + - *346 + - *347 responses: '200': description: Response content: application/json: - schema: *365 + schema: *367 examples: default: value: @@ -53944,8 +54111,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-artifact-and-log-retention-settings-for-a-repository parameters: - - *344 - - *345 + - *346 + - *347 responses: '204': description: Empty response for successful settings update @@ -53955,7 +54122,7 @@ paths: required: true content: application/json: - schema: *366 + schema: *368 examples: default: summary: Set retention days @@ -53979,16 +54146,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-fork-pr-contributor-approval-permissions-for-a-repository parameters: - - *344 - - *345 + - *346 + - *347 responses: '200': description: Response content: application/json: - schema: *146 + schema: *148 examples: - default: *367 + default: *369 '404': *6 x-github: enabledForGitHubApps: true @@ -54007,8 +54174,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-fork-pr-contributor-approval-permissions-for-a-repository parameters: - - *344 - - *345 + - *346 + - *347 responses: '204': description: Response @@ -54018,7 +54185,7 @@ paths: required: true content: application/json: - schema: *146 + schema: *148 examples: default: summary: Set approval policy to first time contributors @@ -54042,16 +54209,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-private-repo-fork-pr-workflow-settings-for-a-repository parameters: - - *344 - - *345 + - *346 + - *347 responses: '200': description: Response content: application/json: - schema: *368 + schema: *370 examples: - default: *147 + default: *149 '403': *29 '404': *6 x-github: @@ -54071,15 +54238,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-private-repo-fork-pr-workflow-settings-for-a-repository parameters: - - *344 - - *345 + - *346 + - *347 requestBody: required: true content: application/json: - schema: *369 + schema: *371 examples: - default: *147 + default: *149 responses: '204': description: Empty response for successful settings update @@ -54103,16 +54270,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-allowed-actions-and-reusable-workflows-for-a-repository parameters: - - *344 - - *345 + - *346 + - *347 responses: '200': description: Response content: application/json: - schema: *149 + schema: *151 examples: - default: *150 + default: *152 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -54131,8 +54298,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-allowed-actions-and-reusable-workflows-for-a-repository parameters: - - *344 - - *345 + - *346 + - *347 responses: '204': description: Response @@ -54140,9 +54307,9 @@ paths: required: false content: application/json: - schema: *149 + schema: *151 examples: - selected_actions: *150 + selected_actions: *152 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -54164,16 +54331,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-default-workflow-permissions-for-a-repository parameters: - - *344 - - *345 + - *346 + - *347 responses: '200': description: Response content: application/json: - schema: *370 + schema: *372 examples: - default: *154 + default: *156 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -54194,8 +54361,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-default-workflow-permissions-for-a-repository parameters: - - *344 - - *345 + - *346 + - *347 responses: '204': description: Success response @@ -54206,9 +54373,9 @@ paths: required: true content: application/json: - schema: *371 + schema: *373 examples: - default: *154 + default: *156 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -54235,8 +54402,8 @@ paths: in: query schema: type: string - - *344 - - *345 + - *346 + - *347 - *17 - *19 responses: @@ -54254,11 +54421,11 @@ paths: type: integer runners: type: array - items: *161 + items: *163 examples: - default: *162 + default: *164 headers: - Link: *68 + Link: *70 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -54280,8 +54447,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#list-runner-applications-for-a-repository parameters: - - *344 - - *345 + - *346 + - *347 responses: '200': description: Response @@ -54289,9 +54456,9 @@ paths: application/json: schema: type: array - items: *372 + items: *374 examples: - default: *373 + default: *375 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -54313,8 +54480,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#create-configuration-for-a-just-in-time-runner-for-a-repository parameters: - - *344 - - *345 + - *346 + - *347 requestBody: required: true content: @@ -54357,7 +54524,7 @@ paths: - no-gpu work_folder: _work responses: - '201': *374 + '201': *376 '404': *6 '422': *7 '409': *54 @@ -54388,16 +54555,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#create-a-registration-token-for-a-repository parameters: - - *344 - - *345 + - *346 + - *347 responses: '201': description: Response content: application/json: - schema: *163 + schema: *165 examples: - default: *375 + default: *377 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -54425,16 +54592,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#create-a-remove-token-for-a-repository parameters: - - *344 - - *345 + - *346 + - *347 responses: '201': description: Response content: application/json: - schema: *163 + schema: *165 examples: - default: *376 + default: *378 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -54456,17 +54623,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#get-a-self-hosted-runner-for-a-repository parameters: - - *344 - - *345 - - *160 + - *346 + - *347 + - *162 responses: '200': description: Response content: application/json: - schema: *161 + schema: *163 examples: - default: *377 + default: *379 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -54487,9 +54654,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#delete-a-self-hosted-runner-from-a-repository parameters: - - *344 - - *345 - - *160 + - *346 + - *347 + - *162 responses: '204': description: Response @@ -54515,11 +54682,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#list-labels-for-a-self-hosted-runner-for-a-repository parameters: - - *344 - - *345 - - *160 + - *346 + - *347 + - *162 responses: - '200': *165 + '200': *167 '404': *6 x-github: githubCloudOnly: false @@ -54541,9 +54708,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#add-custom-labels-to-a-self-hosted-runner-for-a-repository parameters: - - *344 - - *345 - - *160 + - *346 + - *347 + - *162 requestBody: required: true content: @@ -54567,7 +54734,7 @@ paths: - gpu - accelerated responses: - '200': *165 + '200': *167 '404': *6 '422': *7 x-github: @@ -54591,9 +54758,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#set-custom-labels-for-a-self-hosted-runner-for-a-repository parameters: - - *344 - - *345 - - *160 + - *346 + - *347 + - *162 requestBody: required: true content: @@ -54618,7 +54785,7 @@ paths: - gpu - accelerated responses: - '200': *165 + '200': *167 '404': *6 '422': *7 x-github: @@ -54642,11 +54809,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#remove-all-custom-labels-from-a-self-hosted-runner-for-a-repository parameters: - - *344 - - *345 - - *160 + - *346 + - *347 + - *162 responses: - '200': *378 + '200': *380 '404': *6 x-github: githubCloudOnly: false @@ -54673,12 +54840,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#remove-a-custom-label-from-a-self-hosted-runner-for-a-repository parameters: - - *344 - - *345 - - *160 - - *379 + - *346 + - *347 + - *162 + - *381 responses: - '200': *165 + '200': *167 '404': *6 '422': *7 x-github: @@ -54704,9 +54871,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#list-workflow-runs-for-a-repository parameters: - - *344 - - *345 - - &397 + - *346 + - *347 + - &399 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. @@ -54714,7 +54881,7 @@ paths: required: false schema: type: string - - &398 + - &400 name: branch description: Returns workflow runs associated with a branch. Use the name of the branch of the `push`. @@ -54722,7 +54889,7 @@ paths: required: false schema: type: string - - &399 + - &401 name: event description: Returns workflow run triggered by the event you specify. For example, `push`, `pull_request` or `issue`. For more information, see "[Events @@ -54731,7 +54898,7 @@ paths: required: false schema: type: string - - &400 + - &402 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 @@ -54758,7 +54925,7 @@ paths: - pending - *17 - *19 - - &401 + - &403 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/search-github/getting-started-with-searching-on-github/understanding-the-search-syntax#query-for-dates)." @@ -54767,7 +54934,7 @@ paths: schema: type: string format: date-time - - &380 + - &382 name: exclude_pull_requests description: If `true` pull requests are omitted from the response (empty array). @@ -54776,13 +54943,13 @@ paths: schema: type: boolean default: false - - &402 + - &404 name: check_suite_id description: Returns workflow runs with the `check_suite_id` that you specify. in: query schema: type: integer - - &403 + - &405 name: head_sha description: Only returns workflow runs that are associated with the specified `head_sha`. @@ -54805,7 +54972,7 @@ paths: type: integer workflow_runs: type: array - items: &381 + items: &383 title: Workflow Run description: An invocation of a workflow type: object @@ -54900,7 +55067,7 @@ paths: that triggered the run. type: array nullable: true - items: *91 + items: *93 created_at: type: string format: date-time @@ -54953,7 +55120,7 @@ paths: title: Simple Commit description: A commit. type: object - properties: &425 + properties: &427 id: type: string description: SHA for the commit @@ -55004,7 +55171,7 @@ paths: - name - email nullable: true - required: &426 + required: &428 - id - tree_id - message @@ -55012,8 +55179,8 @@ paths: - author - committer nullable: true - repository: *159 - head_repository: *159 + repository: *161 + head_repository: *161 head_repository_id: type: integer example: 5 @@ -55051,7 +55218,7 @@ paths: - workflow_url - pull_requests examples: - default: &404 + default: &406 value: total_count: 1 workflow_runs: @@ -55265,7 +55432,7 @@ paths: 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 headers: - Link: *68 + Link: *70 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -55287,24 +55454,24 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-a-workflow-run parameters: - - *344 - - *345 - - &382 + - *346 + - *347 + - &384 name: run_id description: The unique identifier of the workflow run. in: path required: true schema: type: integer - - *380 + - *382 responses: '200': description: Response content: application/json: - schema: *381 + schema: *383 examples: - default: &385 + default: &387 value: id: 30433642 name: Build @@ -55545,9 +55712,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#delete-a-workflow-run parameters: - - *344 - - *345 - - *382 + - *346 + - *347 + - *384 responses: '204': description: Response @@ -55570,9 +55737,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-the-review-history-for-a-workflow-run parameters: - - *344 - - *345 - - *382 + - *346 + - *347 + - *384 responses: '200': description: Response @@ -55691,15 +55858,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#approve-a-workflow-run-for-a-fork-pull-request parameters: - - *344 - - *345 - - *382 + - *346 + - *347 + - *384 responses: '201': description: Response content: application/json: - schema: *168 + schema: *170 examples: default: value: @@ -55726,12 +55893,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#list-workflow-run-artifacts parameters: - - *344 - - *345 - - *382 + - *346 + - *347 + - *384 - *17 - *19 - - *383 + - *385 - *62 responses: '200': @@ -55748,11 +55915,11 @@ paths: type: integer artifacts: type: array - items: *351 + items: *353 examples: - default: *384 + default: *386 headers: - Link: *68 + Link: *70 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -55774,25 +55941,25 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-a-workflow-run-attempt parameters: - - *344 - - *345 - - *382 - - &386 + - *346 + - *347 + - *384 + - &388 name: attempt_number description: The attempt number of the workflow run. in: path required: true schema: type: integer - - *380 + - *382 responses: '200': description: Response content: application/json: - schema: *381 + schema: *383 examples: - default: *385 + default: *387 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -55815,10 +55982,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#list-jobs-for-a-workflow-run-attempt parameters: - - *344 - - *345 - - *382 - - *386 + - *346 + - *347 + - *384 + - *388 - *17 - *19 responses: @@ -55836,9 +56003,9 @@ paths: type: integer jobs: type: array - items: *387 + items: *389 examples: - default: &388 + default: &390 value: total_count: 1 jobs: @@ -55927,7 +56094,7 @@ paths: workflow_name: CI head_branch: main headers: - Link: *68 + Link: *70 '404': *6 x-github: githubCloudOnly: false @@ -55951,10 +56118,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#download-workflow-run-attempt-logs parameters: - - *344 - - *345 - - *382 - - *386 + - *346 + - *347 + - *384 + - *388 responses: '302': description: Response @@ -55982,15 +56149,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#cancel-a-workflow-run parameters: - - *344 - - *345 - - *382 + - *346 + - *347 + - *384 responses: '202': description: Response content: application/json: - schema: *168 + schema: *170 examples: default: value: @@ -56017,9 +56184,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#review-custom-deployment-protection-rules-for-a-workflow-run parameters: - - *344 - - *345 - - *382 + - *346 + - *347 + - *384 requestBody: required: true content: @@ -56086,15 +56253,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#force-cancel-a-workflow-run parameters: - - *344 - - *345 - - *382 + - *346 + - *347 + - *384 responses: '202': description: Response content: application/json: - schema: *168 + schema: *170 examples: default: value: @@ -56121,9 +56288,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#list-jobs-for-a-workflow-run parameters: - - *344 - - *345 - - *382 + - *346 + - *347 + - *384 - name: filter description: Filters jobs by their `completed_at` timestamp. `latest` returns jobs from the most recent execution of the workflow run. `all` returns all @@ -56153,11 +56320,11 @@ paths: type: integer jobs: type: array - items: *387 + items: *389 examples: - default: *388 + default: *390 headers: - Link: *68 + Link: *70 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -56180,9 +56347,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#download-workflow-run-logs parameters: - - *344 - - *345 - - *382 + - *346 + - *347 + - *384 responses: '302': description: Response @@ -56209,9 +56376,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#delete-workflow-run-logs parameters: - - *344 - - *345 - - *382 + - *346 + - *347 + - *384 responses: '204': description: Response @@ -56238,9 +56405,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-pending-deployments-for-a-workflow-run parameters: - - *344 - - *345 - - *382 + - *346 + - *347 + - *384 responses: '200': description: Response @@ -56300,7 +56467,7 @@ paths: items: type: object properties: - type: &513 + type: &515 type: string description: The type of reviewer. enum: @@ -56310,7 +56477,7 @@ paths: reviewer: anyOf: - *4 - - *195 + - *197 required: - environment - wait_timer @@ -56385,9 +56552,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#review-pending-deployments-for-a-workflow-run parameters: - - *344 - - *345 - - *382 + - *346 + - *347 + - *384 requestBody: required: true content: @@ -56434,12 +56601,12 @@ paths: application/json: schema: type: array - items: &508 + items: &510 title: Deployment description: A request for a specific ref(branch,sha,tag) to be deployed type: object - properties: &755 + properties: &757 url: type: string format: uri @@ -56522,9 +56689,9 @@ paths: first class actors within GitHub. type: object nullable: true - properties: *81 - required: *82 - required: &756 + properties: *83 + required: *84 + required: &758 - id - node_id - sha @@ -56540,7 +56707,7 @@ paths: - created_at - updated_at examples: - default: &509 + default: &511 value: - url: https://api.github.com/repos/octocat/example/deployments/1 id: 1 @@ -56596,9 +56763,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#re-run-a-workflow parameters: - - *344 - - *345 - - *382 + - *346 + - *347 + - *384 requestBody: required: false content: @@ -56619,7 +56786,7 @@ paths: description: Response content: application/json: - schema: *168 + schema: *170 examples: default: value: @@ -56642,9 +56809,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#re-run-failed-jobs-from-a-workflow-run parameters: - - *344 - - *345 - - *382 + - *346 + - *347 + - *384 requestBody: required: false content: @@ -56665,7 +56832,7 @@ paths: description: Response content: application/json: - schema: *168 + schema: *170 examples: default: value: @@ -56697,9 +56864,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-workflow-run-usage parameters: - - *344 - - *345 - - *382 + - *346 + - *347 + - *384 responses: '200': description: Response @@ -56836,8 +57003,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-repository-secrets parameters: - - *344 - - *345 + - *346 + - *347 - *17 - *19 responses: @@ -56855,11 +57022,11 @@ paths: type: integer secrets: type: array - items: *389 + items: *391 examples: - default: *390 + default: *392 headers: - Link: *68 + Link: *70 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -56882,16 +57049,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-a-repository-public-key parameters: - - *344 - - *345 + - *346 + - *347 responses: '200': description: Response content: application/json: - schema: *391 + schema: *393 examples: - default: *392 + default: *394 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -56913,17 +57080,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-a-repository-secret parameters: - - *344 - - *345 - - *167 + - *346 + - *347 + - *169 responses: '200': description: Response content: application/json: - schema: *389 + schema: *391 examples: - default: &526 + default: &528 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -56949,9 +57116,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#create-or-update-a-repository-secret parameters: - - *344 - - *345 - - *167 + - *346 + - *347 + - *169 requestBody: required: true content: @@ -56982,7 +57149,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *168 + schema: *170 examples: default: value: @@ -57008,9 +57175,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#delete-a-repository-secret parameters: - - *344 - - *345 - - *167 + - *346 + - *347 + - *169 responses: '204': description: Response @@ -57035,9 +57202,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-repository-variables parameters: - - *344 - - *345 - - *360 + - *346 + - *347 + - *362 - *19 responses: '200': @@ -57054,11 +57221,11 @@ paths: type: integer variables: type: array - items: *393 + items: *395 examples: - default: *394 + default: *396 headers: - Link: *68 + Link: *70 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -57079,8 +57246,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#create-a-repository-variable parameters: - - *344 - - *345 + - *346 + - *347 requestBody: required: true content: @@ -57107,7 +57274,7 @@ paths: description: Response content: application/json: - schema: *168 + schema: *170 examples: default: value: @@ -57132,17 +57299,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#get-a-repository-variable parameters: - - *344 - - *345 - - *170 + - *346 + - *347 + - *172 responses: '200': description: Response content: application/json: - schema: *393 + schema: *395 examples: - default: &527 + default: &529 value: name: USERNAME value: octocat @@ -57168,9 +57335,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#update-a-repository-variable parameters: - - *344 - - *345 - - *170 + - *346 + - *347 + - *172 requestBody: required: true content: @@ -57212,9 +57379,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#delete-a-repository-variable parameters: - - *344 - - *345 - - *170 + - *346 + - *347 + - *172 responses: '204': description: Response @@ -57239,8 +57406,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#list-repository-workflows parameters: - - *344 - - *345 + - *346 + - *347 - *17 - *19 responses: @@ -57258,7 +57425,7 @@ paths: type: integer workflows: type: array - items: &395 + items: &397 title: Workflow description: A GitHub Actions workflow type: object @@ -57342,7 +57509,7 @@ paths: 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 headers: - Link: *68 + Link: *70 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -57365,9 +57532,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#get-a-workflow parameters: - - *344 - - *345 - - &396 + - *346 + - *347 + - &398 name: workflow_id in: path description: The ID of the workflow. You can also pass the workflow file name @@ -57382,7 +57549,7 @@ paths: description: Response content: application/json: - schema: *395 + schema: *397 examples: default: value: @@ -57415,9 +57582,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#disable-a-workflow parameters: - - *344 - - *345 - - *396 + - *346 + - *347 + - *398 responses: '204': description: Response @@ -57442,9 +57609,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#create-a-workflow-dispatch-event parameters: - - *344 - - *345 - - *396 + - *346 + - *347 + - *398 responses: '204': description: Empty response when `return_run_details` parameter is `false`. @@ -57539,9 +57706,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#enable-a-workflow parameters: - - *344 - - *345 - - *396 + - *346 + - *347 + - *398 responses: '204': description: Response @@ -57568,19 +57735,19 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#list-workflow-runs-for-a-workflow parameters: - - *344 - - *345 - - *396 - - *397 + - *346 + - *347 - *398 - *399 - *400 - - *17 - - *19 - *401 - - *380 - *402 + - *17 + - *19 - *403 + - *382 + - *404 + - *405 responses: '200': description: Response @@ -57596,11 +57763,11 @@ paths: type: integer workflow_runs: type: array - items: *381 + items: *383 examples: - default: *404 + default: *406 headers: - Link: *68 + Link: *70 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -57630,9 +57797,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#get-workflow-usage parameters: - - *344 - - *345 - - *396 + - *346 + - *347 + - *398 responses: '200': description: Response @@ -57693,8 +57860,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-activities parameters: - - *344 - - *345 + - *346 + - *347 - *62 - *17 - *47 @@ -57839,7 +58006,7 @@ paths: type: User site_admin: false headers: - Link: *68 + Link: *70 '422': *7 x-github: githubCloudOnly: false @@ -57858,8 +58025,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#list-assignees parameters: - - *344 - - *345 + - *346 + - *347 - *17 - *19 responses: @@ -57871,9 +58038,9 @@ paths: type: array items: *4 examples: - default: *71 + default: *73 headers: - Link: *68 + Link: *70 '404': *6 x-github: githubCloudOnly: false @@ -57896,8 +58063,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#check-if-a-user-can-be-assigned parameters: - - *344 - - *345 + - *346 + - *347 - name: assignee in: path required: true @@ -57933,8 +58100,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/attestations#create-an-attestation parameters: - - *344 - - *345 + - *346 + - *347 requestBody: required: true content: @@ -58044,8 +58211,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/attestations#list-attestations parameters: - - *344 - - *345 + - *346 + - *347 - *17 - *47 - *48 @@ -58102,7 +58269,7 @@ paths: initiator: type: string examples: - default: *405 + default: *407 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -58136,8 +58303,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#get-all-autolinks-of-a-repository parameters: - - *344 - - *345 + - *346 + - *347 responses: '200': description: Response @@ -58145,7 +58312,7 @@ paths: application/json: schema: type: array - items: &406 + items: &408 title: Autolink reference description: An autolink reference. type: object @@ -58199,8 +58366,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#create-an-autolink-reference-for-a-repository parameters: - - *344 - - *345 + - *346 + - *347 requestBody: required: true content: @@ -58239,9 +58406,9 @@ paths: description: response content: application/json: - schema: *406 + schema: *408 examples: - default: &407 + default: &409 value: id: 1 key_prefix: TICKET- @@ -58272,9 +58439,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#get-an-autolink-reference-of-a-repository parameters: - - *344 - - *345 - - &408 + - *346 + - *347 + - &410 name: autolink_id description: The unique identifier of the autolink. in: path @@ -58286,9 +58453,9 @@ paths: description: Response content: application/json: - schema: *406 + schema: *408 examples: - default: *407 + default: *409 '404': *6 x-github: githubCloudOnly: false @@ -58308,9 +58475,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#delete-an-autolink-reference-from-a-repository parameters: - - *344 - - *345 - - *408 + - *346 + - *347 + - *410 responses: '204': description: Response @@ -58334,8 +58501,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#check-if-dependabot-security-updates-are-enabled-for-a-repository parameters: - - *344 - - *345 + - *346 + - *347 responses: '200': description: Response if Dependabot is enabled @@ -58383,8 +58550,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-dependabot-security-updates parameters: - - *344 - - *345 + - *346 + - *347 responses: '204': description: Response @@ -58405,8 +58572,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-dependabot-security-updates parameters: - - *344 - - *345 + - *346 + - *347 responses: '204': description: Response @@ -58426,8 +58593,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#list-branches parameters: - - *344 - - *345 + - *346 + - *347 - name: protected description: Setting to `true` returns only branches protected by branch protections or rulesets. When set to `false`, only unprotected branches are returned. @@ -58465,7 +58632,7 @@ paths: - url protected: type: boolean - protection: &410 + protection: &412 title: Branch Protection description: Branch Protection type: object @@ -58507,7 +58674,7 @@ paths: required: - contexts - checks - enforce_admins: &413 + enforce_admins: &415 title: Protected Branch Admin Enforced description: Protected Branch Admin Enforced type: object @@ -58522,7 +58689,7 @@ paths: required: - url - enabled - required_pull_request_reviews: &415 + required_pull_request_reviews: &417 title: Protected Branch Pull Request Review description: Protected Branch Pull Request Review type: object @@ -58543,7 +58710,7 @@ paths: description: The list of teams with review dismissal access. type: array - items: *195 + items: *197 apps: description: The list of apps with review dismissal access. @@ -58572,7 +58739,7 @@ paths: description: The list of teams allowed to bypass pull request requirements. type: array - items: *195 + items: *197 apps: description: The list of apps allowed to bypass pull request requirements. @@ -58598,7 +58765,7 @@ paths: required: - dismiss_stale_reviews - require_code_owner_reviews - restrictions: &412 + restrictions: &414 title: Branch Restriction Policy description: Branch Restriction Policy type: object @@ -58661,7 +58828,7 @@ paths: type: string teams: type: array - items: *195 + items: *197 apps: type: array items: @@ -58857,7 +59024,7 @@ paths: - linter protection_url: https://api.github.com/repos/octocat/hello-world/branches/master/protection headers: - Link: *68 + Link: *70 '404': *6 x-github: githubCloudOnly: false @@ -58875,9 +59042,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#get-a-branch parameters: - - *344 - - *345 - - &411 + - *346 + - *347 + - &413 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/graphql). @@ -58891,14 +59058,14 @@ paths: description: Response content: application/json: - schema: &421 + schema: &423 title: Branch With Protection description: Branch With Protection type: object properties: name: type: string - commit: &478 + commit: &480 title: Commit description: Commit type: object @@ -58932,7 +59099,7 @@ paths: title: Git User description: Metaproperties for Git author/committer information. type: object - properties: &409 + properties: &411 name: type: string example: '"Chris Wanstrath"' @@ -58948,7 +59115,7 @@ paths: title: Git User description: Metaproperties for Git author/committer information. type: object - properties: *409 + properties: *411 nullable: true message: type: string @@ -58969,7 +59136,7 @@ paths: required: - sha - url - verification: &533 + verification: &535 title: Verification type: object properties: @@ -59003,12 +59170,12 @@ paths: nullable: true oneOf: - *4 - - *168 + - *170 committer: nullable: true oneOf: - *4 - - *168 + - *170 parents: type: array items: @@ -59039,7 +59206,7 @@ paths: type: integer files: type: array - items: &491 + items: &493 title: Diff Entry description: Diff Entry type: object @@ -59123,7 +59290,7 @@ paths: - self protected: type: boolean - protection: *410 + protection: *412 protection_url: type: string format: uri @@ -59230,7 +59397,7 @@ paths: contexts: [] checks: [] protection_url: https://api.github.com/repos/octocat/Hello-World/branches/main/protection - '301': *348 + '301': *350 '404': *6 x-github: githubCloudOnly: false @@ -59252,15 +59419,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-branch-protection parameters: - - *344 - - *345 - - *411 + - *346 + - *347 + - *413 responses: '200': description: Response content: application/json: - schema: *410 + schema: *412 examples: default: value: @@ -59454,9 +59621,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#update-branch-protection parameters: - - *344 - - *345 - - *411 + - *346 + - *347 + - *413 requestBody: required: true content: @@ -59711,7 +59878,7 @@ paths: url: type: string format: uri - required_status_checks: &418 + required_status_checks: &420 title: Status Check Policy description: Status Check Policy type: object @@ -59787,7 +59954,7 @@ paths: items: *4 teams: type: array - items: *195 + items: *197 apps: type: array items: *5 @@ -59805,7 +59972,7 @@ paths: items: *4 teams: type: array - items: *195 + items: *197 apps: type: array items: *5 @@ -59863,7 +60030,7 @@ paths: additionalProperties: false required: - enabled - restrictions: *412 + restrictions: *414 required_conversation_resolution: type: object properties: @@ -59975,9 +60142,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-branch-protection parameters: - - *344 - - *345 - - *411 + - *346 + - *347 + - *413 responses: '204': description: Response @@ -60002,17 +60169,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-admin-branch-protection parameters: - - *344 - - *345 - - *411 + - *346 + - *347 + - *413 responses: '200': description: Response content: application/json: - schema: *413 + schema: *415 examples: - default: &414 + default: &416 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/enforce_admins enabled: true @@ -60034,17 +60201,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-admin-branch-protection parameters: - - *344 - - *345 - - *411 + - *346 + - *347 + - *413 responses: '200': description: Response content: application/json: - schema: *413 + schema: *415 examples: - default: *414 + default: *416 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -60063,9 +60230,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-admin-branch-protection parameters: - - *344 - - *345 - - *411 + - *346 + - *347 + - *413 responses: '204': description: Response @@ -60090,17 +60257,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-pull-request-review-protection parameters: - - *344 - - *345 - - *411 + - *346 + - *347 + - *413 responses: '200': description: Response content: application/json: - schema: *415 + schema: *417 examples: - default: &416 + default: &418 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_pull_request_reviews dismissal_restrictions: @@ -60196,9 +60363,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#update-pull-request-review-protection parameters: - - *344 - - *345 - - *411 + - *346 + - *347 + - *413 requestBody: required: false content: @@ -60296,9 +60463,9 @@ paths: description: Response content: application/json: - schema: *415 + schema: *417 examples: - default: *416 + default: *418 '422': *15 x-github: githubCloudOnly: false @@ -60319,9 +60486,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-pull-request-review-protection parameters: - - *344 - - *345 - - *411 + - *346 + - *347 + - *413 responses: '204': description: Response @@ -60348,17 +60515,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-commit-signature-protection parameters: - - *344 - - *345 - - *411 + - *346 + - *347 + - *413 responses: '200': description: Response content: application/json: - schema: *413 + schema: *415 examples: - default: &417 + default: &419 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_signatures enabled: true @@ -60381,17 +60548,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#create-commit-signature-protection parameters: - - *344 - - *345 - - *411 + - *346 + - *347 + - *413 responses: '200': description: Response content: application/json: - schema: *413 + schema: *415 examples: - default: *417 + default: *419 '404': *6 x-github: githubCloudOnly: false @@ -60411,9 +60578,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-commit-signature-protection parameters: - - *344 - - *345 - - *411 + - *346 + - *347 + - *413 responses: '204': description: Response @@ -60438,17 +60605,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-status-checks-protection parameters: - - *344 - - *345 - - *411 + - *346 + - *347 + - *413 responses: '200': description: Response content: application/json: - schema: *418 + schema: *420 examples: - default: &419 + default: &421 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_status_checks strict: true @@ -60474,9 +60641,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#update-status-check-protection parameters: - - *344 - - *345 - - *411 + - *346 + - *347 + - *413 requestBody: required: false content: @@ -60528,9 +60695,9 @@ paths: description: Response content: application/json: - schema: *418 + schema: *420 examples: - default: *419 + default: *421 '404': *6 '422': *15 x-github: @@ -60552,9 +60719,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-status-check-protection parameters: - - *344 - - *345 - - *411 + - *346 + - *347 + - *413 responses: '204': description: Response @@ -60578,9 +60745,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-all-status-check-contexts parameters: - - *344 - - *345 - - *411 + - *346 + - *347 + - *413 responses: '200': description: Response @@ -60614,9 +60781,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-status-check-contexts parameters: - - *344 - - *345 - - *411 + - *346 + - *347 + - *413 requestBody: required: false content: @@ -60683,9 +60850,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-status-check-contexts parameters: - - *344 - - *345 - - *411 + - *346 + - *347 + - *413 requestBody: required: false content: @@ -60749,9 +60916,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-status-check-contexts parameters: - - *344 - - *345 - - *411 + - *346 + - *347 + - *413 requestBody: content: application/json: @@ -60817,15 +60984,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-access-restrictions parameters: - - *344 - - *345 - - *411 + - *346 + - *347 + - *413 responses: '200': description: Response content: application/json: - schema: *412 + schema: *414 examples: default: value: @@ -60916,9 +61083,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-access-restrictions parameters: - - *344 - - *345 - - *411 + - *346 + - *347 + - *413 responses: '204': description: Response @@ -60941,9 +61108,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-apps-with-access-to-the-protected-branch parameters: - - *344 - - *345 - - *411 + - *346 + - *347 + - *413 responses: '200': description: Response @@ -60953,7 +61120,7 @@ paths: type: array items: *5 examples: - default: &420 + default: &422 value: - id: 1 slug: octoapp @@ -61010,9 +61177,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-app-access-restrictions parameters: - - *344 - - *345 - - *411 + - *346 + - *347 + - *413 requestBody: required: true content: @@ -61046,7 +61213,7 @@ paths: type: array items: *5 examples: - default: *420 + default: *422 '422': *15 x-github: githubCloudOnly: false @@ -61067,9 +61234,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-app-access-restrictions parameters: - - *344 - - *345 - - *411 + - *346 + - *347 + - *413 requestBody: required: true content: @@ -61103,7 +61270,7 @@ paths: type: array items: *5 examples: - default: *420 + default: *422 '422': *15 x-github: githubCloudOnly: false @@ -61124,9 +61291,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-app-access-restrictions parameters: - - *344 - - *345 - - *411 + - *346 + - *347 + - *413 requestBody: required: true content: @@ -61160,7 +61327,7 @@ paths: type: array items: *5 examples: - default: *420 + default: *422 '422': *15 x-github: githubCloudOnly: false @@ -61182,9 +61349,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-teams-with-access-to-the-protected-branch parameters: - - *344 - - *345 - - *411 + - *346 + - *347 + - *413 responses: '200': description: Response @@ -61192,9 +61359,9 @@ paths: application/json: schema: type: array - items: *195 + items: *197 examples: - default: *260 + default: *262 '404': *6 x-github: githubCloudOnly: false @@ -61214,9 +61381,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-team-access-restrictions parameters: - - *344 - - *345 - - *411 + - *346 + - *347 + - *413 requestBody: required: false content: @@ -61252,9 +61419,9 @@ paths: application/json: schema: type: array - items: *195 + items: *197 examples: - default: *260 + default: *262 '422': *15 x-github: githubCloudOnly: false @@ -61275,9 +61442,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-team-access-restrictions parameters: - - *344 - - *345 - - *411 + - *346 + - *347 + - *413 requestBody: required: false content: @@ -61313,9 +61480,9 @@ paths: application/json: schema: type: array - items: *195 + items: *197 examples: - default: *260 + default: *262 '422': *15 x-github: githubCloudOnly: false @@ -61336,9 +61503,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-team-access-restrictions parameters: - - *344 - - *345 - - *411 + - *346 + - *347 + - *413 requestBody: content: application/json: @@ -61373,9 +61540,9 @@ paths: application/json: schema: type: array - items: *195 + items: *197 examples: - default: *260 + default: *262 '422': *15 x-github: githubCloudOnly: false @@ -61397,9 +61564,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-users-with-access-to-the-protected-branch parameters: - - *344 - - *345 - - *411 + - *346 + - *347 + - *413 responses: '200': description: Response @@ -61409,7 +61576,7 @@ paths: type: array items: *4 examples: - default: *71 + default: *73 '404': *6 x-github: githubCloudOnly: false @@ -61433,9 +61600,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-user-access-restrictions parameters: - - *344 - - *345 - - *411 + - *346 + - *347 + - *413 requestBody: required: true content: @@ -61468,7 +61635,7 @@ paths: type: array items: *4 examples: - default: *71 + default: *73 '422': *15 x-github: githubCloudOnly: false @@ -61493,9 +61660,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-user-access-restrictions parameters: - - *344 - - *345 - - *411 + - *346 + - *347 + - *413 requestBody: required: true content: @@ -61528,7 +61695,7 @@ paths: type: array items: *4 examples: - default: *71 + default: *73 '422': *15 x-github: githubCloudOnly: false @@ -61553,9 +61720,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-user-access-restrictions parameters: - - *344 - - *345 - - *411 + - *346 + - *347 + - *413 requestBody: required: true content: @@ -61588,7 +61755,7 @@ paths: type: array items: *4 examples: - default: *71 + default: *73 '422': *15 x-github: githubCloudOnly: false @@ -61615,9 +61782,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#rename-a-branch parameters: - - *344 - - *345 - - *411 + - *346 + - *347 + - *413 requestBody: required: true content: @@ -61639,7 +61806,7 @@ paths: description: Response content: application/json: - schema: *421 + schema: *423 examples: default: value: @@ -61755,8 +61922,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#create-a-check-run parameters: - - *344 - - *345 + - *346 + - *347 requestBody: required: true content: @@ -62035,7 +62202,7 @@ paths: description: Response content: application/json: - schema: &422 + schema: &424 title: CheckRun description: A check performed on the code of a given code change type: object @@ -62146,16 +62313,16 @@ paths: first class actors within GitHub. type: object nullable: true - properties: *81 - required: *82 + properties: *83 + required: *84 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: *91 - deployment: &748 + items: *93 + deployment: &750 title: Deployment description: A deployment created as the result of an Actions check run from a workflow that references an environment @@ -62222,8 +62389,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *81 - required: *82 + properties: *83 + required: *84 required: - id - node_id @@ -62435,9 +62602,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#get-a-check-run parameters: - - *344 - - *345 - - &423 + - *346 + - *347 + - &425 name: check_run_id description: The unique identifier of the check run. in: path @@ -62449,9 +62616,9 @@ paths: description: Response content: application/json: - schema: *422 + schema: *424 examples: - default: &424 + default: &426 value: id: 4 head_sha: ce587453ced02b1526dfb4cb910479d431683101 @@ -62551,9 +62718,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#update-a-check-run parameters: - - *344 - - *345 - - *423 + - *346 + - *347 + - *425 requestBody: required: true content: @@ -62793,9 +62960,9 @@ paths: description: Response content: application/json: - schema: *422 + schema: *424 examples: - default: *424 + default: *426 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -62815,9 +62982,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#list-check-run-annotations parameters: - - *344 - - *345 - - *423 + - *346 + - *347 + - *425 - *17 - *19 responses: @@ -62892,7 +63059,7 @@ paths: raw_details: Do you mean 'bananas' or 'banana'? blob_href: https://api.github.com/repos/github/rest-api-description/git/blobs/abc headers: - Link: *68 + Link: *70 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -62912,15 +63079,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#rerequest-a-check-run parameters: - - *344 - - *345 - - *423 + - *346 + - *347 + - *425 responses: '201': description: Response content: application/json: - schema: *168 + schema: *170 examples: default: value: @@ -62958,8 +63125,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#create-a-check-suite parameters: - - *344 - - *345 + - *346 + - *347 requestBody: required: true content: @@ -62981,7 +63148,7 @@ paths: description: Response when the suite already exists content: application/json: - schema: &427 + schema: &429 title: CheckSuite description: A suite of checks performed on the code of a given code change @@ -63045,7 +63212,7 @@ paths: nullable: true pull_requests: type: array - items: *91 + items: *93 nullable: true app: title: GitHub app @@ -63056,9 +63223,9 @@ paths: first class actors within GitHub. type: object nullable: true - properties: *81 - required: *82 - repository: *159 + properties: *83 + required: *84 + repository: *161 created_at: type: string format: date-time @@ -63067,12 +63234,12 @@ paths: type: string format: date-time nullable: true - head_commit: &776 + head_commit: &778 title: Simple Commit description: A commit. type: object - properties: *425 - required: *426 + properties: *427 + required: *428 latest_check_runs_count: type: integer check_runs_url: @@ -63100,7 +63267,7 @@ paths: - check_runs_url - pull_requests examples: - default: &428 + default: &430 value: id: 5 node_id: MDEwOkNoZWNrU3VpdGU1 @@ -63391,9 +63558,9 @@ paths: description: Response when the suite was created content: application/json: - schema: *427 + schema: *429 examples: - default: *428 + default: *430 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -63412,8 +63579,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#update-repository-preferences-for-check-suites parameters: - - *344 - - *345 + - *346 + - *347 requestBody: required: true content: @@ -63474,7 +63641,7 @@ paths: required: - app_id - setting - repository: *159 + repository: *161 examples: default: value: @@ -63722,9 +63889,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#get-a-check-suite parameters: - - *344 - - *345 - - &429 + - *346 + - *347 + - &431 name: check_suite_id description: The unique identifier of the check suite. in: path @@ -63736,9 +63903,9 @@ paths: description: Response content: application/json: - schema: *427 + schema: *429 examples: - default: *428 + default: *430 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -63761,17 +63928,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#list-check-runs-in-a-check-suite parameters: - - *344 - - *345 - - *429 - - &484 + - *346 + - *347 + - *431 + - &486 name: check_name description: Returns check runs with the specified `name`. in: query required: false schema: type: string - - &485 + - &487 name: status description: Returns check runs with the specified `status`. in: query @@ -63810,9 +63977,9 @@ paths: type: integer check_runs: type: array - items: *422 + items: *424 examples: - default: &486 + default: &488 value: total_count: 1 check_runs: @@ -63894,7 +64061,7 @@ paths: url: https://api.github.com/repos/github/hello-world name: hello-world headers: - Link: *68 + Link: *70 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -63914,15 +64081,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#rerequest-a-check-suite parameters: - - *344 - - *345 - - *429 + - *346 + - *347 + - *431 responses: '201': description: Response content: application/json: - schema: *168 + schema: *170 examples: default: value: @@ -63949,21 +64116,21 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-code-scanning-alerts-for-a-repository parameters: - - *344 - - *345 - - *430 - - *431 + - *346 + - *347 + - *432 + - *433 - *19 - *17 - - &448 + - &450 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: *432 - - &449 + schema: *434 + - &451 name: pr description: The number of the pull request for the results you want to list. in: query @@ -63988,13 +64155,13 @@ paths: be returned. in: query required: false - schema: *433 + schema: *435 - name: severity description: If specified, only code scanning alerts with this severity will be returned. in: query required: false - schema: *434 + schema: *436 - name: assignees description: | Filter alerts by assignees. Provide a comma-separated list of user handles (e.g., `octocat` or `octocat,hubot`). @@ -64013,14 +64180,14 @@ paths: items: type: object properties: - number: *177 - created_at: *178 - updated_at: *179 - url: *180 - html_url: *181 - instances_url: *435 - state: *186 - fixed_at: *182 + number: *179 + created_at: *180 + updated_at: *181 + url: *182 + html_url: *183 + instances_url: *437 + state: *188 + fixed_at: *184 dismissed_by: title: Simple User description: A GitHub user. @@ -64028,12 +64195,12 @@ paths: properties: *20 required: *21 nullable: true - dismissed_at: *183 - dismissed_reason: *436 - dismissed_comment: *437 - rule: *438 - tool: *439 - most_recent_instance: *440 + dismissed_at: *185 + dismissed_reason: *438 + dismissed_comment: *439 + rule: *440 + tool: *441 + most_recent_instance: *442 dismissal_approved_by: title: Simple User description: A GitHub user. @@ -64159,14 +64326,14 @@ paths: classifications: [] instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/3/instances '304': *37 - '403': &441 + '403': &443 description: Response if GitHub Advanced Security is not enabled for this repository content: application/json: schema: *3 '404': *6 - '503': *120 + '503': *122 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -64186,9 +64353,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-a-code-scanning-alert parameters: - - *344 - - *345 - - &442 + - *346 + - *347 + - &444 name: alert_number in: path description: The number that identifies an alert. You can find this at the @@ -64196,23 +64363,23 @@ paths: field in the response from the `GET /repos/{owner}/{repo}/code-scanning/alerts` operation. required: true - schema: *177 + schema: *179 responses: '200': description: Response content: application/json: - schema: &443 + schema: &445 type: object properties: - number: *177 - created_at: *178 - updated_at: *179 - url: *180 - html_url: *181 - instances_url: *435 - state: *186 - fixed_at: *182 + number: *179 + created_at: *180 + updated_at: *181 + url: *182 + html_url: *183 + instances_url: *437 + state: *188 + fixed_at: *184 dismissed_by: title: Simple User description: A GitHub user. @@ -64220,9 +64387,9 @@ paths: properties: *20 required: *21 nullable: true - dismissed_at: *183 - dismissed_reason: *436 - dismissed_comment: *437 + dismissed_at: *185 + dismissed_reason: *438 + dismissed_comment: *439 rule: type: object properties: @@ -64276,8 +64443,8 @@ paths: type: string description: A link to the documentation for the rule used to detect the alert. - tool: *439 - most_recent_instance: *440 + tool: *441 + most_recent_instance: *442 dismissal_approved_by: title: Simple User description: A GitHub user. @@ -64376,9 +64543,9 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '304': *37 - '403': *441 + '403': *443 '404': *6 - '503': *120 + '503': *122 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -64396,9 +64563,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#update-a-code-scanning-alert parameters: - - *344 - - *345 - - *442 + - *346 + - *347 + - *444 requestBody: required: true content: @@ -64413,8 +64580,8 @@ paths: enum: - open - dismissed - dismissed_reason: *436 - dismissed_comment: *437 + dismissed_reason: *438 + dismissed_comment: *439 create_request: type: boolean description: If `true`, attempt to create an alert dismissal request. @@ -64442,7 +64609,7 @@ paths: description: Response content: application/json: - schema: *443 + schema: *445 examples: default: value: @@ -64518,14 +64685,14 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '400': *14 - '403': &447 + '403': &449 description: Response if the repository is archived or if GitHub Advanced Security is not enabled for this repository content: application/json: schema: *3 '404': *6 - '503': *120 + '503': *122 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -64545,15 +64712,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-the-status-of-an-autofix-for-a-code-scanning-alert parameters: - - *344 - - *345 - - *442 + - *346 + - *347 + - *444 responses: '200': description: Response content: application/json: - schema: &444 + schema: &446 type: object properties: status: @@ -64579,13 +64746,13 @@ paths: - description - started_at examples: - default: &445 + default: &447 value: status: success description: This fixes an XSS vulnerability by escaping the user input. started_at: '2024-02-14T12:29:18Z' - '400': &446 + '400': &448 description: Bad Request content: application/json: @@ -64596,9 +64763,9 @@ paths: message: The alert_number is not valid documentation_url: https://docs.github.com/rest/code-scanning/code-scanning#get-the-status-of-an-autofix-for-a-code-scanning-alert status: '400' - '403': *441 + '403': *443 '404': *6 - '503': *120 + '503': *122 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -64621,29 +64788,29 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#create-an-autofix-for-a-code-scanning-alert parameters: - - *344 - - *345 - - *442 + - *346 + - *347 + - *444 responses: '200': description: OK content: application/json: - schema: *444 + schema: *446 examples: - default: *445 + default: *447 '202': description: Accepted content: application/json: - schema: *444 + schema: *446 examples: default: value: status: pending description: started_at: '2024-02-14T12:29:18Z' - '400': *446 + '400': *448 '403': description: Response if the repository is archived, if GitHub Advanced Security is not enabled for this repository or if rate limit is exceeded @@ -64653,7 +64820,7 @@ paths: '404': *6 '422': description: Unprocessable Entity - '503': *120 + '503': *122 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -64675,9 +64842,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#commit-an-autofix-for-a-code-scanning-alert parameters: - - *344 - - *345 - - *442 + - *346 + - *347 + - *444 requestBody: required: false content: @@ -64722,12 +64889,12 @@ paths: value: target_ref: refs/heads/main sha: 178f4f6090b3fccad4a65b3e83d076a622d59652 - '400': *446 - '403': *447 + '400': *448 + '403': *449 '404': *6 '422': description: Unprocessable Entity - '503': *120 + '503': *122 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -64747,13 +64914,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-instances-of-a-code-scanning-alert parameters: - - *344 - - *345 - - *442 + - *346 + - *347 + - *444 - *19 - *17 - - *448 - - *449 + - *450 + - *451 responses: '200': description: Response @@ -64764,10 +64931,10 @@ paths: items: type: object properties: - ref: *432 - analysis_key: *450 - environment: *451 - category: *452 + ref: *434 + analysis_key: *452 + environment: *453 + category: *454 state: type: string description: State of a code scanning alert instance. @@ -64782,7 +64949,7 @@ paths: properties: text: type: string - location: *453 + location: *455 html_url: type: string classifications: @@ -64790,7 +64957,7 @@ paths: description: |- Classifications that have been applied to the file that triggered the alert. For example identifying it as documentation, or a generated file. - items: *454 + items: *456 examples: default: value: @@ -64827,9 +64994,9 @@ paths: end_column: 50 classifications: - source - '403': *441 + '403': *443 '404': *6 - '503': *120 + '503': *122 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -64861,25 +65028,25 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-code-scanning-analyses-for-a-repository parameters: - - *344 - - *345 - - *430 - - *431 + - *346 + - *347 + - *432 + - *433 - *19 - *17 - - *449 + - *451 - name: ref in: query description: The Git reference for the analyses 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`. required: false - schema: *432 + schema: *434 - name: sarif_id in: query description: Filter analyses belonging to the same SARIF upload. required: false - schema: &455 + schema: &457 type: string description: An identifier for the upload. example: 6c81cd8e-b078-4ac3-a3be-1dad7dbd0b53 @@ -64900,23 +65067,23 @@ paths: application/json: schema: type: array - items: &456 + items: &458 type: object properties: - ref: *432 - commit_sha: &464 + ref: *434 + commit_sha: &466 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]+$" - analysis_key: *450 + analysis_key: *452 environment: type: string description: Identifies the variable values associated with the environment in which this analysis was performed. - category: *452 + category: *454 error: type: string example: error reading field xyz @@ -64940,8 +65107,8 @@ paths: description: The REST API URL of the analysis resource. format: uri readOnly: true - sarif_id: *455 - tool: *439 + sarif_id: *457 + tool: *441 deletable: type: boolean warning: @@ -65002,9 +65169,9 @@ paths: version: 1.2.0 deletable: true warning: '' - '403': *441 + '403': *443 '404': *6 - '503': *120 + '503': *122 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -65038,8 +65205,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-a-code-scanning-analysis-for-a-repository parameters: - - *344 - - *345 + - *346 + - *347 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -65052,7 +65219,7 @@ paths: description: Response content: application/json: - schema: *456 + schema: *458 examples: response: summary: application/json response @@ -65106,14 +65273,14 @@ paths: properties: - github/alertNumber: 2 - github/alertUrl: https://api.github.com/repos/monalisa/monalisa/code-scanning/alerts/2 - '403': *441 + '403': *443 '404': *6 '422': description: Response if analysis could not be processed content: application/json: schema: *3 - '503': *120 + '503': *122 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -65193,8 +65360,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#delete-a-code-scanning-analysis-from-a-repository parameters: - - *344 - - *345 + - *346 + - *347 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -65247,9 +65414,9 @@ paths: 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 '400': *14 - '403': *447 + '403': *449 '404': *6 - '503': *120 + '503': *122 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -65269,8 +65436,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-codeql-databases-for-a-repository parameters: - - *344 - - *345 + - *346 + - *347 responses: '200': description: Response @@ -65278,7 +65445,7 @@ paths: application/json: schema: type: array - items: &457 + items: &459 title: CodeQL Database description: A CodeQL database. type: object @@ -65389,9 +65556,9 @@ paths: updated_at: '2022-09-12T12:14:32Z' url: https://api.github.com/repos/octocat/Hello-World/code-scanning/codeql/databases/ruby commit_oid: 1927de39fefa25a9d0e64e3f540ff824a72f538c - '403': *441 + '403': *443 '404': *6 - '503': *120 + '503': *122 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -65418,8 +65585,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-a-codeql-database-for-a-repository parameters: - - *344 - - *345 + - *346 + - *347 - name: language in: path description: The language of the CodeQL database. @@ -65431,7 +65598,7 @@ paths: description: Response content: application/json: - schema: *457 + schema: *459 examples: default: value: @@ -65463,11 +65630,11 @@ paths: updated_at: '2022-09-12T12:14:32Z' url: https://api.github.com/repos/octocat/Hello-World/code-scanning/codeql/databases/java commit_oid: 1927de39fefa25a9d0e64e3f540ff824a72f538c - '302': &495 + '302': &497 description: Found - '403': *441 + '403': *443 '404': *6 - '503': *120 + '503': *122 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -65487,8 +65654,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#delete-a-codeql-database parameters: - - *344 - - *345 + - *346 + - *347 - name: language in: path description: The language of the CodeQL database. @@ -65498,9 +65665,9 @@ paths: responses: '204': description: Response - '403': *447 + '403': *449 '404': *6 - '503': *120 + '503': *122 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -65526,8 +65693,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#create-a-codeql-variant-analysis parameters: - - *344 - - *345 + - *346 + - *347 requestBody: required: true content: @@ -65536,7 +65703,7 @@ paths: type: object additionalProperties: false properties: - language: &458 + language: &460 type: string description: The language targeted by the CodeQL query enum: @@ -65616,7 +65783,7 @@ paths: description: Variant analysis submitted for processing content: application/json: - schema: &462 + schema: &464 title: Variant Analysis description: A run of a CodeQL query against one or more repositories. type: object @@ -65626,7 +65793,7 @@ paths: description: The ID of the variant analysis. controller_repo: *67 actor: *4 - query_language: *458 + query_language: *460 query_pack_url: type: string description: The download url for the query pack. @@ -65673,7 +65840,7 @@ paths: items: type: object properties: - repository: &459 + repository: &461 title: Repository Identifier description: Repository Identifier type: object @@ -65709,7 +65876,7 @@ paths: - private - stargazers_count - updated_at - analysis_status: &463 + analysis_status: &465 type: string description: The new status of the CodeQL variant analysis repository task. @@ -65741,7 +65908,7 @@ paths: from processing. This information is only available to the user that initiated the variant analysis. properties: - access_mismatch_repos: &460 + access_mismatch_repos: &462 type: object properties: repository_count: @@ -65755,7 +65922,7 @@ paths: This list may not include all repositories that were skipped. This is only available when the repository was found and the user has access to it. - items: *459 + items: *461 required: - repository_count - repositories @@ -65777,8 +65944,8 @@ paths: required: - repository_count - repository_full_names - no_codeql_db_repos: *460 - over_limit_repos: *460 + no_codeql_db_repos: *462 + over_limit_repos: *462 required: - access_mismatch_repos - not_found_repos @@ -65794,7 +65961,7 @@ paths: examples: repositories_parameter: summary: Response for a successful variant analysis submission - value: &461 + value: &463 summary: Default response value: id: 1 @@ -65940,17 +66107,17 @@ paths: private: false repository_owners: summary: Response for a successful variant analysis submission - value: *461 + value: *463 repository_lists: summary: Response for a successful variant analysis submission - value: *461 + value: *463 '404': *6 '422': description: Unable to process variant analysis submission content: application/json: schema: *3 - '503': *120 + '503': *122 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -65971,8 +66138,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-the-summary-of-a-codeql-variant-analysis parameters: - - *344 - - *345 + - *346 + - *347 - name: codeql_variant_analysis_id in: path description: The unique identifier of the variant analysis. @@ -65984,11 +66151,11 @@ paths: description: Response content: application/json: - schema: *462 + schema: *464 examples: - default: *461 + default: *463 '404': *6 - '503': *120 + '503': *122 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -66009,7 +66176,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-the-analysis-status-of-a-repository-in-a-codeql-variant-analysis parameters: - - *344 + - *346 - name: repo in: path description: The name of the controller repository. @@ -66044,7 +66211,7 @@ paths: type: object properties: repository: *67 - analysis_status: *463 + analysis_status: *465 artifact_size_in_bytes: type: integer description: The size of the artifact. This is only available @@ -66148,7 +66315,7 @@ paths: source_location_prefix: "/" artifact_url: https://example.com '404': *6 - '503': *120 + '503': *122 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -66169,8 +66336,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-a-code-scanning-default-setup-configuration parameters: - - *344 - - *345 + - *346 + - *347 responses: '200': description: Response @@ -66272,9 +66439,9 @@ paths: threat_model: remote updated_at: '2023-01-19T11:21:34Z' schedule: weekly - '403': *441 + '403': *443 '404': *6 - '503': *120 + '503': *122 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -66293,8 +66460,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#update-a-code-scanning-default-setup-configuration parameters: - - *344 - - *345 + - *346 + - *347 requestBody: required: true content: @@ -66361,7 +66528,7 @@ paths: description: Response content: application/json: - schema: *168 + schema: *170 examples: default: value: @@ -66386,7 +66553,7 @@ paths: value: run_id: 42 run_url: https://api.github.com/repos/octoorg/octocat/actions/runs/42 - '403': *447 + '403': *449 '404': *6 '409': description: Response if there is already a validation run in progress with @@ -66400,7 +66567,7 @@ paths: content: application/json: schema: *3 - '503': *120 + '503': *122 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -66457,8 +66624,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#upload-an-analysis-as-sarif-data parameters: - - *344 - - *345 + - *346 + - *347 requestBody: required: true content: @@ -66466,7 +66633,7 @@ paths: schema: type: object properties: - commit_sha: *464 + commit_sha: *466 ref: type: string description: |- @@ -66524,7 +66691,7 @@ paths: schema: type: object properties: - id: *455 + id: *457 url: type: string description: The REST API URL for checking the status of the upload. @@ -66538,11 +66705,11 @@ paths: url: https://api.github.com/repos/octocat/hello-world/code-scanning/sarifs/47177e22-5596-11eb-80a1-c1e54ef945c6 '400': description: Bad Request if the sarif field is invalid - '403': *447 + '403': *449 '404': *6 '413': description: Payload Too Large if the sarif field is too large - '503': *120 + '503': *122 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -66561,8 +66728,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-information-about-a-sarif-upload parameters: - - *344 - - *345 + - *346 + - *347 - name: sarif_id description: The SARIF ID obtained after uploading. in: path @@ -66608,10 +66775,10 @@ paths: value: processing_status: complete analyses_url: https://api.github.com/repos/octocat/hello-world/code-scanning/analyses?sarif_id=47177e22-5596-11eb-80a1-c1e54ef945c6 - '403': *441 + '403': *443 '404': description: Not Found if the sarif id does not match any upload - '503': *120 + '503': *122 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -66633,8 +66800,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#get-the-code-security-configuration-associated-with-a-repository parameters: - - *344 - - *345 + - *346 + - *347 responses: '200': description: Response @@ -66715,8 +66882,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-codeowners-errors parameters: - - *344 - - *345 + - *346 + - *347 - name: ref description: 'A branch, tag or commit name used to determine which version of the CODEOWNERS file to use. Default: the repository''s default branch @@ -66836,8 +67003,8 @@ paths: parameters: - *17 - *19 - - *344 - - *345 + - *346 + - *347 responses: '200': description: Response @@ -66853,7 +67020,7 @@ paths: type: integer codespaces: type: array - items: *248 + items: *250 examples: default: value: @@ -67151,8 +67318,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#create-a-codespace-in-a-repository parameters: - - *344 - - *345 + - *346 + - *347 requestBody: required: true content: @@ -67215,22 +67382,22 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *248 + schema: *250 examples: - default: *465 + default: *467 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *248 + schema: *250 examples: - default: *465 + default: *467 '400': *14 '401': *25 '403': *29 '404': *6 - '503': *120 + '503': *122 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -67254,8 +67421,8 @@ paths: parameters: - *17 - *19 - - *344 - - *345 + - *346 + - *347 responses: '200': description: Response @@ -67319,8 +67486,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/machines#list-available-machine-types-for-a-repository parameters: - - *344 - - *345 + - *346 + - *347 - name: location description: The location to check for available machines. Assigned by IP if not provided. @@ -67355,14 +67522,14 @@ paths: type: integer machines: type: array - items: &691 + items: &693 type: object title: Codespace machine description: A description of the machine powering a codespace. - properties: *466 - required: *467 + properties: *468 + required: *469 examples: - default: &692 + default: &694 value: total_count: 2 machines: @@ -67402,8 +67569,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#get-default-attributes-for-a-codespace parameters: - - *344 - - *345 + - *346 + - *347 - name: ref description: The branch or commit to check for a default devcontainer path. If not specified, the default branch will be checked. @@ -67487,8 +67654,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#check-if-permissions-defined-by-a-devcontainer-have-been-accepted-by-the-authenticated-user parameters: - - *344 - - *345 + - *346 + - *347 - name: ref description: The git reference that points to the location of the devcontainer configuration to use for the permission check. The value of `ref` will typically @@ -67533,7 +67700,7 @@ paths: '403': *29 '404': *6 '422': *15 - '503': *120 + '503': *122 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -67554,8 +67721,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#list-repository-secrets parameters: - - *344 - - *345 + - *346 + - *347 - *17 - *19 responses: @@ -67573,7 +67740,7 @@ paths: type: integer secrets: type: array - items: &471 + items: &473 title: Codespaces Secret description: Set repository secrets for GitHub Codespaces. type: object @@ -67593,9 +67760,9 @@ paths: - created_at - updated_at examples: - default: *468 + default: *470 headers: - Link: *68 + Link: *70 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -67616,16 +67783,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#get-a-repository-public-key parameters: - - *344 - - *345 + - *346 + - *347 responses: '200': description: Response content: application/json: - schema: *469 + schema: *471 examples: - default: *470 + default: *472 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -67645,17 +67812,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#get-a-repository-secret parameters: - - *344 - - *345 - - *167 + - *346 + - *347 + - *169 responses: '200': description: Response content: application/json: - schema: *471 + schema: *473 examples: - default: *472 + default: *474 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -67675,9 +67842,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#create-or-update-a-repository-secret parameters: - - *344 - - *345 - - *167 + - *346 + - *347 + - *169 requestBody: required: true content: @@ -67705,7 +67872,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *168 + schema: *170 examples: default: value: @@ -67729,9 +67896,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#delete-a-repository-secret parameters: - - *344 - - *345 - - *167 + - *346 + - *347 + - *169 responses: '204': description: Response @@ -67759,8 +67926,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#list-repository-collaborators parameters: - - *344 - - *345 + - *346 + - *347 - name: affiliation description: Filter collaborators returned by their affiliation. `outside` means all outside collaborators of an organization-owned repository. `direct` @@ -67802,7 +67969,7 @@ paths: title: Collaborator description: Collaborator type: object - properties: &473 + properties: &475 login: type: string example: octocat @@ -67895,7 +68062,7 @@ paths: user_view_type: type: string example: public - required: &474 + required: &476 - avatar_url - events_url - followers_url @@ -67944,7 +68111,7 @@ paths: admin: false role_name: write headers: - Link: *68 + Link: *70 '404': *6 x-github: githubCloudOnly: false @@ -67969,9 +68136,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#check-if-a-user-is-a-repository-collaborator parameters: - - *344 - - *345 - - *72 + - *346 + - *347 + - *74 responses: '204': description: Response if user is a collaborator @@ -68017,9 +68184,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#add-a-repository-collaborator parameters: - - *344 - - *345 - - *72 + - *346 + - *347 + - *74 requestBody: required: false content: @@ -68045,7 +68212,7 @@ paths: description: Response when a new invitation is created content: application/json: - schema: &546 + schema: &548 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -68056,7 +68223,7 @@ paths: example: 42 type: integer format: int64 - repository: *159 + repository: *161 invitee: title: Simple User description: A GitHub user. @@ -68234,7 +68401,7 @@ paths: - an Enterprise Managed User (EMU) account was invited to a repository in an enterprise with personal user accounts content: application/json: - schema: *128 + schema: *130 '403': *29 x-github: triggersNotification: true @@ -68274,9 +68441,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#remove-a-repository-collaborator parameters: - - *344 - - *345 - - *72 + - *346 + - *347 + - *74 responses: '204': description: No Content when collaborator was removed from the repository. @@ -68307,9 +68474,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#get-repository-permissions-for-a-user parameters: - - *344 - - *345 - - *72 + - *346 + - *347 + - *74 responses: '200': description: if user has admin permissions @@ -68329,8 +68496,8 @@ paths: title: Collaborator description: Collaborator type: object - properties: *473 - required: *474 + properties: *475 + required: *476 nullable: true required: - permission @@ -68385,8 +68552,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#list-commit-comments-for-a-repository parameters: - - *344 - - *345 + - *346 + - *347 - *17 - *19 responses: @@ -68396,7 +68563,7 @@ paths: application/json: schema: type: array - items: &475 + items: &477 title: Commit Comment description: Commit Comment type: object @@ -68437,8 +68604,8 @@ paths: updated_at: type: string format: date-time - author_association: *83 - reactions: *84 + author_association: *85 + reactions: *86 required: - url - html_url @@ -68454,7 +68621,7 @@ paths: - created_at - updated_at examples: - default: &480 + default: &482 value: - html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -68488,7 +68655,7 @@ paths: updated_at: '2011-04-14T16:00:49Z' author_association: COLLABORATOR headers: - Link: *68 + Link: *70 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -68513,17 +68680,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#get-a-commit-comment parameters: - - *344 - - *345 - - *102 + - *346 + - *347 + - *104 responses: '200': description: Response content: application/json: - schema: *475 + schema: *477 examples: - default: &481 + default: &483 value: html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -68580,9 +68747,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#update-a-commit-comment parameters: - - *344 - - *345 - - *102 + - *346 + - *347 + - *104 requestBody: required: true content: @@ -68604,7 +68771,7 @@ paths: description: Response content: application/json: - schema: *475 + schema: *477 examples: default: value: @@ -68655,9 +68822,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#delete-a-commit-comment parameters: - - *344 - - *345 - - *102 + - *346 + - *347 + - *104 responses: '204': description: Response @@ -68678,9 +68845,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-commit-comment parameters: - - *344 - - *345 - - *102 + - *346 + - *347 + - *104 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a commit comment. @@ -68706,7 +68873,7 @@ paths: application/json: schema: type: array - items: &476 + items: &478 title: Reaction description: Reactions to conversations provide a way to help people express their feelings more simply and effectively. @@ -68749,7 +68916,7 @@ paths: - content - created_at examples: - default: &550 + default: &552 value: - id: 1 node_id: MDg6UmVhY3Rpb24x @@ -68775,7 +68942,7 @@ paths: content: heart created_at: '2016-05-20T20:09:31Z' headers: - Link: *68 + Link: *70 '404': *6 x-github: githubCloudOnly: false @@ -68794,9 +68961,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-commit-comment parameters: - - *344 - - *345 - - *102 + - *346 + - *347 + - *104 requestBody: required: true content: @@ -68828,9 +68995,9 @@ paths: description: Reaction exists content: application/json: - schema: *476 + schema: *478 examples: - default: &477 + default: &479 value: id: 1 node_id: MDg6UmVhY3Rpb24x @@ -68859,9 +69026,9 @@ paths: description: Reaction created content: application/json: - schema: *476 + schema: *478 examples: - default: *477 + default: *479 '422': *15 x-github: githubCloudOnly: false @@ -68883,10 +69050,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-a-commit-comment-reaction parameters: - - *344 - - *345 - - *102 - - &551 + - *346 + - *347 + - *104 + - &553 name: reaction_id description: The unique identifier of the reaction. in: path @@ -68941,8 +69108,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#list-commits parameters: - - *344 - - *345 + - *346 + - *347 - name: sha description: 'SHA or branch to start listing commits from. Default: the repository’s default branch (usually `main`).' @@ -68998,9 +69165,9 @@ paths: application/json: schema: type: array - items: *478 + items: *480 examples: - default: &603 + default: &605 value: - url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -69070,7 +69237,7 @@ paths: - url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e headers: - Link: *68 + Link: *70 '500': *55 '400': *14 '404': *6 @@ -69094,9 +69261,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#list-branches-for-head-commit parameters: - - *344 - - *345 - - &479 + - *346 + - *347 + - &481 name: commit_sha description: The SHA of the commit. in: path @@ -69168,9 +69335,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#list-commit-comments parameters: - - *344 - - *345 - - *479 + - *346 + - *347 + - *481 - *17 - *19 responses: @@ -69180,11 +69347,11 @@ paths: application/json: schema: type: array - items: *475 + items: *477 examples: - default: *480 + default: *482 headers: - Link: *68 + Link: *70 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -69210,9 +69377,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#create-a-commit-comment parameters: - - *344 - - *345 - - *479 + - *346 + - *347 + - *481 requestBody: required: true content: @@ -69247,9 +69414,9 @@ paths: description: Response content: application/json: - schema: *475 + schema: *477 examples: - default: *481 + default: *483 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -69277,9 +69444,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#list-pull-requests-associated-with-a-commit parameters: - - *344 - - *345 - - *479 + - *346 + - *347 + - *481 - *17 - *19 responses: @@ -69289,9 +69456,9 @@ paths: application/json: schema: type: array - items: *482 + items: *484 examples: - default: &595 + default: &597 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -69770,7 +69937,7 @@ paths: auto_merge: draft: false headers: - Link: *68 + Link: *70 '409': *54 x-github: githubCloudOnly: false @@ -69828,11 +69995,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#get-a-commit parameters: - - *344 - - *345 + - *346 + - *347 - *19 - *17 - - &483 + - &485 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)" @@ -69847,9 +70014,9 @@ paths: description: Response content: application/json: - schema: *478 + schema: *480 examples: - default: &582 + default: &584 value: url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -69937,7 +70104,7 @@ paths: schema: type: string examples: - default: &492 + default: &494 value: | diff --git a/testfile b/testfile index 9bdeaeb..912c7ef 100644 @@ -69950,7 +70117,7 @@ paths: schema: type: string examples: - default: &493 + default: &495 value: | From ac3282a2725be3b1d4979169a7a311c89066af1c Mon Sep 17 00:00:00 2001 From: Mona Lisa <87831417+monalisa@users.noreply.github.com> @@ -69977,7 +70144,7 @@ paths: '422': *15 '404': *6 '500': *55 - '503': *120 + '503': *122 '409': *54 x-github: githubCloudOnly: false @@ -70003,11 +70170,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#list-check-runs-for-a-git-reference parameters: - - *344 - - *345 - - *483 - - *484 + - *346 + - *347 - *485 + - *486 + - *487 - name: filter description: Filters check runs by their `completed_at` timestamp. `latest` returns the most recent check runs. @@ -70041,11 +70208,11 @@ paths: type: integer check_runs: type: array - items: *422 + items: *424 examples: - default: *486 + default: *488 headers: - Link: *68 + Link: *70 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -70068,9 +70235,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#list-check-suites-for-a-git-reference parameters: - - *344 - - *345 - - *483 + - *346 + - *347 + - *485 - name: app_id description: Filters check suites by GitHub App `id`. in: query @@ -70078,7 +70245,7 @@ paths: schema: type: integer example: 1 - - *484 + - *486 - *17 - *19 responses: @@ -70096,7 +70263,7 @@ paths: type: integer check_suites: type: array - items: *427 + items: *429 examples: default: value: @@ -70271,7 +70438,7 @@ paths: latest_check_runs_count: 1 check_runs_url: https://api.github.com/repos/octocat/Hello-World/check-suites/5/check-runs headers: - Link: *68 + Link: *70 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -70296,9 +70463,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/statuses#get-the-combined-status-for-a-specific-reference parameters: - - *344 - - *345 - - *483 + - *346 + - *347 + - *485 - *17 - *19 responses: @@ -70365,7 +70532,7 @@ paths: type: string total_count: type: integer - repository: *159 + repository: *161 commit_url: type: string format: uri @@ -70496,9 +70663,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/statuses#list-commit-statuses-for-a-reference parameters: - - *344 - - *345 - - *483 + - *346 + - *347 + - *485 - *17 - *19 responses: @@ -70508,7 +70675,7 @@ paths: application/json: schema: type: array - items: &671 + items: &673 title: Status description: The status of a commit. type: object @@ -70588,8 +70755,8 @@ paths: type: User site_admin: false headers: - Link: *68 - '301': *348 + Link: *70 + '301': *350 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -70617,8 +70784,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/community#get-community-profile-metrics parameters: - - *344 - - *345 + - *346 + - *347 responses: '200': description: Response @@ -70647,20 +70814,20 @@ paths: title: Code Of Conduct Simple description: Code of Conduct Simple type: object - properties: *487 - required: *488 + properties: *489 + required: *490 nullable: true code_of_conduct_file: title: Community Health File type: object - properties: &489 + properties: &491 url: type: string format: uri html_url: type: string format: uri - required: &490 + required: &492 - url - html_url nullable: true @@ -70668,32 +70835,32 @@ paths: title: License Simple description: License Simple type: object - properties: *89 - required: *90 + properties: *91 + required: *92 nullable: true contributing: title: Community Health File type: object - properties: *489 - required: *490 + properties: *491 + required: *492 nullable: true readme: title: Community Health File type: object - properties: *489 - required: *490 + properties: *491 + required: *492 nullable: true issue_template: title: Community Health File type: object - properties: *489 - required: *490 + properties: *491 + required: *492 nullable: true pull_request_template: title: Community Health File type: object - properties: *489 - required: *490 + properties: *491 + required: *492 nullable: true required: - code_of_conduct @@ -70820,8 +70987,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#compare-two-commits parameters: - - *344 - - *345 + - *346 + - *347 - *19 - *17 - name: basehead @@ -70864,8 +71031,8 @@ paths: type: string format: uri example: https://github.com/octocat/Hello-World/compare/master...topic.patch - base_commit: *478 - merge_base_commit: *478 + base_commit: *480 + merge_base_commit: *480 status: type: string enum: @@ -70885,10 +71052,10 @@ paths: example: 6 commits: type: array - items: *478 + items: *480 files: type: array - items: *491 + items: *493 required: - url - html_url @@ -71134,15 +71301,15 @@ paths: schema: type: string examples: - default: *492 + default: *494 application/vnd.github.patch: schema: type: string examples: - default: *493 + default: *495 '404': *6 '500': *55 - '503': *120 + '503': *122 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71184,8 +71351,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#get-repository-content parameters: - - *344 - - *345 + - *346 + - *347 - name: path description: path parameter in: path @@ -71345,7 +71512,7 @@ paths: - type - url examples: - response-if-content-is-a-file-github-object: &494 + response-if-content-is-a-file-github-object: &496 summary: Response if content is a file value: type: file @@ -71477,7 +71644,7 @@ paths: - size - type - url - - &608 + - &610 title: Content File description: Content File type: object @@ -71678,7 +71845,7 @@ paths: - url - submodule_git_url examples: - response-if-content-is-a-file: *494 + response-if-content-is-a-file: *496 response-if-content-is-a-directory: summary: Response if content is a directory and the application/json media type is requested @@ -71747,7 +71914,7 @@ paths: html: https://github.com/jquery/qunit/tree/6ca3721222109997540bd6d9ccd396902e0ad2f9 '404': *6 '403': *29 - '302': *495 + '302': *497 '304': *37 x-github: githubCloudOnly: false @@ -71800,8 +71967,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#create-or-update-file-contents parameters: - - *344 - - *345 + - *346 + - *347 - name: path description: path parameter in: path @@ -71894,7 +72061,7 @@ paths: description: Response content: application/json: - schema: &496 + schema: &498 title: File Commit description: File Commit type: object @@ -72046,7 +72213,7 @@ paths: description: Response content: application/json: - schema: *496 + schema: *498 examples: example-for-creating-a-file: value: @@ -72100,7 +72267,7 @@ paths: schema: oneOf: - *3 - - &528 + - &530 description: Repository rule violation was detected type: object properties: @@ -72121,7 +72288,7 @@ paths: items: type: object properties: - placeholder_id: &663 + placeholder_id: &665 description: The ID of the push protection bypass placeholder. This value is returned on any push protected routes. @@ -72153,8 +72320,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#delete-a-file parameters: - - *344 - - *345 + - *346 + - *347 - name: path description: path parameter in: path @@ -72215,7 +72382,7 @@ paths: description: Response content: application/json: - schema: *496 + schema: *498 examples: default: value: @@ -72250,7 +72417,7 @@ paths: '422': *15 '404': *6 '409': *54 - '503': *120 + '503': *122 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72270,8 +72437,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-contributors parameters: - - *344 - - *345 + - *346 + - *347 - name: anon description: Set to `1` or `true` to include anonymous contributors in results. in: query @@ -72371,7 +72538,7 @@ paths: site_admin: false contributions: 32 headers: - Link: *68 + Link: *70 '204': description: Response if repository is empty '403': *29 @@ -72394,24 +72561,24 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#list-dependabot-alerts-for-a-repository parameters: - - *344 - - *345 - - *197 - - *198 + - *346 + - *347 - *199 - *200 - *201 + - *202 + - *203 - 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 - - *202 - - *497 - - *203 - *204 + - *499 - *205 + - *206 + - *207 - *62 - *47 - *48 @@ -72423,11 +72590,11 @@ paths: application/json: schema: type: array - items: &501 + items: &503 type: object description: A Dependabot alert. properties: - number: *177 + number: *179 state: type: string description: The state of the Dependabot alert. @@ -72470,13 +72637,13 @@ paths: - direct - transitive - inconclusive - security_advisory: *498 + security_advisory: *500 security_vulnerability: *66 - url: *180 - html_url: *181 - created_at: *178 - updated_at: *179 - dismissed_at: *183 + url: *182 + html_url: *183 + created_at: *180 + updated_at: *181 + dismissed_at: *185 dismissed_by: title: Simple User description: A GitHub user. @@ -72500,9 +72667,9 @@ paths: dismissal. nullable: true maxLength: 280 - fixed_at: *182 - auto_dismissed_at: *499 - dismissal_request: *500 + fixed_at: *184 + auto_dismissed_at: *501 + dismissal_request: *502 assignees: type: array description: The users assigned to this alert. @@ -72757,9 +72924,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#get-a-dependabot-alert parameters: - - *344 - - *345 - - &502 + - *346 + - *347 + - &504 name: alert_number in: path description: |- @@ -72768,13 +72935,13 @@ paths: or in `number` fields in the response from the `GET /repos/{owner}/{repo}/dependabot/alerts` operation. required: true - schema: *177 + schema: *179 responses: '200': description: Response content: application/json: - schema: *501 + schema: *503 examples: default: value: @@ -72906,9 +73073,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#update-a-dependabot-alert parameters: - - *344 - - *345 - - *502 + - *346 + - *347 + - *504 requestBody: required: true content: @@ -72964,7 +73131,7 @@ paths: description: Response content: application/json: - schema: *501 + schema: *503 examples: default: value: @@ -73094,8 +73261,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#list-repository-secrets parameters: - - *344 - - *345 + - *346 + - *347 - *17 - *19 responses: @@ -73113,7 +73280,7 @@ paths: type: integer secrets: type: array - items: &505 + items: &507 title: Dependabot Secret description: Set secrets for Dependabot. type: object @@ -73144,7 +73311,7 @@ paths: created_at: '2020-01-10T10:59:22Z' updated_at: '2020-01-11T11:59:22Z' headers: - Link: *68 + Link: *70 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73166,16 +73333,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#get-a-repository-public-key parameters: - - *344 - - *345 + - *346 + - *347 responses: '200': description: Response content: application/json: - schema: *503 + schema: *505 examples: - default: *504 + default: *506 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73195,15 +73362,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#get-a-repository-secret parameters: - - *344 - - *345 - - *167 + - *346 + - *347 + - *169 responses: '200': description: Response content: application/json: - schema: *505 + schema: *507 examples: default: value: @@ -73229,9 +73396,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#create-or-update-a-repository-secret parameters: - - *344 - - *345 - - *167 + - *346 + - *347 + - *169 requestBody: required: true content: @@ -73259,7 +73426,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *168 + schema: *170 examples: default: value: @@ -73283,9 +73450,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#delete-a-repository-secret parameters: - - *344 - - *345 - - *167 + - *346 + - *347 + - *169 responses: '204': description: Response @@ -73307,8 +73474,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependency-graph/dependency-review#get-a-diff-of-the-dependencies-between-commits parameters: - - *344 - - *345 + - *346 + - *347 - name: basehead description: The base and head Git revisions to compare. The Git revisions will be resolved to commit SHAs. Named revisions will be resolved to their @@ -73444,7 +73611,7 @@ paths: advisory_summary: Ruby OpenID advisory_url: https://github.com/advisories/GHSA-fqfj-cmh6-hj49 headers: - Link: *68 + Link: *70 '404': *6 '403': description: Response for a private repository when GitHub Advanced Security @@ -73468,8 +73635,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependency-graph/sboms#export-a-software-bill-of-materials-sbom-for-a-repository parameters: - - *344 - - *345 + - *346 + - *347 responses: '200': description: Response @@ -73685,7 +73852,7 @@ paths: spdxElementId: SPDXRef-DOCUMENT relatedSpdxElement: SPDXRef-Repository headers: - Link: *68 + Link: *70 '404': *6 '403': *29 x-github: @@ -73707,8 +73874,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependency-graph/sboms#fetch-a-software-bill-of-materials-sbom-for-a-repository parameters: - - *344 - - *345 + - *346 + - *347 - name: sbom_uuid in: path required: true @@ -73719,7 +73886,7 @@ paths: '302': description: Redirects to a temporary download URL for the completed SBOM. headers: - Location: *506 + Location: *508 '202': description: SBOM is still being processed, no content is returned. '404': *6 @@ -73740,8 +73907,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependency-graph/sboms#request-generation-of-a-software-bill-of-materials-sbom-for-a-repository parameters: - - *344 - - *345 + - *346 + - *347 responses: '201': description: Response @@ -73779,8 +73946,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependency-graph/dependency-submission#create-a-snapshot-of-dependencies-for-a-repository parameters: - - *344 - - *345 + - *346 + - *347 requestBody: required: true content: @@ -73855,7 +74022,7 @@ paths: - version - url additionalProperties: false - metadata: &507 + metadata: &509 title: metadata description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -73888,7 +74055,7 @@ paths: the root of the Git repository. example: "/src/build/package-lock.json" additionalProperties: false - metadata: *507 + metadata: *509 resolved: type: object description: A collection of resolved package dependencies. @@ -73901,7 +74068,7 @@ paths: for more details. example: pkg:/npm/%40actions/http-client@1.0.11 pattern: "^pkg" - metadata: *507 + metadata: *509 relationship: type: string description: A notation of whether a dependency is requested @@ -74030,8 +74197,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#list-deployments parameters: - - *344 - - *345 + - *346 + - *347 - name: sha description: The SHA recorded at creation time. in: query @@ -74071,11 +74238,11 @@ paths: application/json: schema: type: array - items: *508 + items: *510 examples: - default: *509 + default: *511 headers: - Link: *68 + Link: *70 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74139,8 +74306,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#create-a-deployment parameters: - - *344 - - *345 + - *346 + - *347 requestBody: required: true content: @@ -74221,7 +74388,7 @@ paths: description: Response content: application/json: - schema: *508 + schema: *510 examples: simple-example: summary: Simple example @@ -74294,9 +74461,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#get-a-deployment parameters: - - *344 - - *345 - - &510 + - *346 + - *347 + - &512 name: deployment_id description: deployment_id parameter in: path @@ -74308,7 +74475,7 @@ paths: description: Response content: application/json: - schema: *508 + schema: *510 examples: default: value: @@ -74373,9 +74540,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#delete-a-deployment parameters: - - *344 - - *345 - - *510 + - *346 + - *347 + - *512 responses: '204': description: Response @@ -74397,9 +74564,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/statuses#list-deployment-statuses parameters: - - *344 - - *345 - - *510 + - *346 + - *347 + - *512 - *17 - *19 responses: @@ -74409,7 +74576,7 @@ paths: application/json: schema: type: array - items: &511 + items: &513 title: Deployment Status description: The status of a deployment. type: object @@ -74500,8 +74667,8 @@ paths: first class actors within GitHub. type: object nullable: true - properties: *81 - required: *82 + properties: *83 + required: *84 required: - id - node_id @@ -74550,7 +74717,7 @@ paths: environment_url: https://test-branch.lab.acme.com log_url: https://example.com/deployment/42/output headers: - Link: *68 + Link: *70 '404': *6 x-github: githubCloudOnly: false @@ -74570,9 +74737,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/statuses#create-a-deployment-status parameters: - - *344 - - *345 - - *510 + - *346 + - *347 + - *512 requestBody: required: true content: @@ -74647,9 +74814,9 @@ paths: description: Response content: application/json: - schema: *511 + schema: *513 examples: - default: &512 + default: &514 value: url: https://api.github.com/repos/octocat/example/deployments/42/statuses/1 id: 1 @@ -74705,9 +74872,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/statuses#get-a-deployment-status parameters: - - *344 - - *345 - - *510 + - *346 + - *347 + - *512 - name: status_id in: path required: true @@ -74718,9 +74885,9 @@ paths: description: Response content: application/json: - schema: *511 + schema: *513 examples: - default: *512 + default: *514 '404': *6 x-github: githubCloudOnly: false @@ -74745,8 +74912,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#create-a-repository-dispatch-event parameters: - - *344 - - *345 + - *346 + - *347 requestBody: required: true content: @@ -74803,8 +74970,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#list-environments parameters: - - *344 - - *345 + - *346 + - *347 - *17 - *19 responses: @@ -74821,7 +74988,7 @@ paths: type: integer environments: type: array - items: &514 + items: &516 title: Environment description: Details of a deployment environment type: object @@ -74873,7 +75040,7 @@ paths: type: type: string example: wait_timer - wait_timer: &516 + wait_timer: &518 type: integer example: 30 description: The amount of time to delay a job after @@ -74910,11 +75077,11 @@ paths: items: type: object properties: - type: *513 + type: *515 reviewer: anyOf: - *4 - - *195 + - *197 required: - id - node_id @@ -74934,7 +75101,7 @@ paths: - id - node_id - type - deployment_branch_policy: &517 + deployment_branch_policy: &519 type: object description: The type of deployment branch policy for this environment. To allow all branches to deploy, set to `null`. @@ -75050,9 +75217,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#get-an-environment parameters: - - *344 - - *345 - - &515 + - *346 + - *347 + - &517 name: environment_name in: path required: true @@ -75065,9 +75232,9 @@ paths: description: Response content: application/json: - schema: *514 + schema: *516 examples: - default: &518 + default: &520 value: id: 161088068 node_id: MDExOkVudmlyb25tZW50MTYxMDg4MDY4 @@ -75151,9 +75318,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#create-or-update-an-environment parameters: - - *344 - - *345 - - *515 + - *346 + - *347 + - *517 requestBody: required: false content: @@ -75162,7 +75329,7 @@ paths: type: object nullable: true properties: - wait_timer: *516 + wait_timer: *518 prevent_self_review: type: boolean example: false @@ -75179,13 +75346,13 @@ paths: items: type: object properties: - type: *513 + type: *515 id: type: integer description: The id of the user or team who can review the deployment example: 4532992 - deployment_branch_policy: *517 + deployment_branch_policy: *519 additionalProperties: false examples: default: @@ -75205,9 +75372,9 @@ paths: description: Response content: application/json: - schema: *514 + schema: *516 examples: - default: *518 + default: *520 '422': description: Validation error when the environment name is invalid or when `protected_branches` and `custom_branch_policies` in `deployment_branch_policy` @@ -75231,9 +75398,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#delete-an-environment parameters: - - *344 - - *345 - - *515 + - *346 + - *347 + - *517 responses: '204': description: Default response @@ -75258,9 +75425,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#list-deployment-branch-policies parameters: - - *344 - - *345 - - *515 + - *346 + - *347 + - *517 - *17 - *19 responses: @@ -75278,7 +75445,7 @@ paths: example: 2 branch_policies: type: array - items: &519 + items: &521 title: Deployment branch policy description: Details of a deployment branch or tag policy. type: object @@ -75335,9 +75502,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#create-a-deployment-branch-policy parameters: - - *344 - - *345 - - *515 + - *346 + - *347 + - *517 requestBody: required: true content: @@ -75383,9 +75550,9 @@ paths: description: Response content: application/json: - schema: *519 + schema: *521 examples: - example-wildcard: &520 + example-wildcard: &522 value: id: 364662 node_id: MDE2OkdhdGVCcmFuY2hQb2xpY3kzNjQ2NjI= @@ -75427,10 +75594,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#get-a-deployment-branch-policy parameters: - - *344 - - *345 - - *515 - - &521 + - *346 + - *347 + - *517 + - &523 name: branch_policy_id in: path required: true @@ -75442,9 +75609,9 @@ paths: description: Response content: application/json: - schema: *519 + schema: *521 examples: - default: *520 + default: *522 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75463,10 +75630,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#update-a-deployment-branch-policy parameters: - - *344 - - *345 - - *515 - - *521 + - *346 + - *347 + - *517 + - *523 requestBody: required: true content: @@ -75494,9 +75661,9 @@ paths: description: Response content: application/json: - schema: *519 + schema: *521 examples: - default: *520 + default: *522 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75515,10 +75682,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#delete-a-deployment-branch-policy parameters: - - *344 - - *345 - - *515 - - *521 + - *346 + - *347 + - *517 + - *523 responses: '204': description: Response @@ -75543,9 +75710,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#get-all-deployment-protection-rules-for-an-environment parameters: - - *515 - - *345 - - *344 + - *517 + - *347 + - *346 responses: '200': description: List of deployment protection rules @@ -75561,7 +75728,7 @@ paths: example: 10 custom_deployment_protection_rules: type: array - items: &522 + items: &524 title: Deployment protection rule description: Deployment protection rule type: object @@ -75580,7 +75747,7 @@ paths: example: true description: Whether the deployment protection rule is enabled for the environment. - app: &523 + app: &525 title: Custom deployment protection rule app description: A GitHub App that is providing a custom deployment protection rule. @@ -75679,9 +75846,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#create-a-custom-deployment-protection-rule-on-an-environment parameters: - - *515 - - *345 - - *344 + - *517 + - *347 + - *346 requestBody: content: application/json: @@ -75702,9 +75869,9 @@ paths: description: The enabled custom deployment protection rule content: application/json: - schema: *522 + schema: *524 examples: - default: &524 + default: &526 value: id: 3 node_id: IEH37kRlcGxveW1lbnRTdGF0ddiv @@ -75739,9 +75906,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#list-custom-deployment-rule-integrations-available-for-an-environment parameters: - - *515 - - *345 - - *344 + - *517 + - *347 + - *346 - *19 - *17 responses: @@ -75760,7 +75927,7 @@ paths: example: 35 available_custom_deployment_protection_rule_integrations: type: array - items: *523 + items: *525 examples: default: value: @@ -75795,10 +75962,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#get-a-custom-deployment-protection-rule parameters: - - *344 - - *345 - - *515 - - &525 + - *346 + - *347 + - *517 + - &527 name: protection_rule_id description: The unique identifier of the protection rule. in: path @@ -75810,9 +75977,9 @@ paths: description: Response content: application/json: - schema: *522 + schema: *524 examples: - default: *524 + default: *526 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75833,10 +76000,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#disable-a-custom-protection-rule-for-an-environment parameters: - - *515 - - *345 - - *344 - - *525 + - *517 + - *347 + - *346 + - *527 responses: '204': description: Response @@ -75862,9 +76029,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-environment-secrets parameters: - - *344 - - *345 - - *515 + - *346 + - *347 + - *517 - *17 - *19 responses: @@ -75882,11 +76049,11 @@ paths: type: integer secrets: type: array - items: *389 + items: *391 examples: - default: *390 + default: *392 headers: - Link: *68 + Link: *70 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75909,17 +76076,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-an-environment-public-key parameters: - - *344 - - *345 - - *515 + - *346 + - *347 + - *517 responses: '200': description: Response content: application/json: - schema: *391 + schema: *393 examples: - default: *392 + default: *394 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75941,18 +76108,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-an-environment-secret parameters: - - *344 - - *345 - - *515 - - *167 + - *346 + - *347 + - *517 + - *169 responses: '200': description: Response content: application/json: - schema: *389 + schema: *391 examples: - default: *526 + default: *528 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75974,10 +76141,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#create-or-update-an-environment-secret parameters: - - *344 - - *345 - - *515 - - *167 + - *346 + - *347 + - *517 + - *169 requestBody: required: true content: @@ -76008,7 +76175,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *168 + schema: *170 examples: default: value: @@ -76034,10 +76201,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#delete-an-environment-secret parameters: - - *344 - - *345 - - *515 - - *167 + - *346 + - *347 + - *517 + - *169 responses: '204': description: Default response @@ -76062,10 +76229,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-environment-variables parameters: - - *344 - - *345 - - *515 - - *360 + - *346 + - *347 + - *517 + - *362 - *19 responses: '200': @@ -76082,11 +76249,11 @@ paths: type: integer variables: type: array - items: *393 + items: *395 examples: - default: *394 + default: *396 headers: - Link: *68 + Link: *70 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -76107,9 +76274,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#create-an-environment-variable parameters: - - *344 - - *345 - - *515 + - *346 + - *347 + - *517 requestBody: required: true content: @@ -76136,7 +76303,7 @@ paths: description: Response content: application/json: - schema: *168 + schema: *170 examples: default: value: @@ -76161,18 +76328,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#get-an-environment-variable parameters: - - *344 - - *345 - - *515 - - *170 + - *346 + - *347 + - *517 + - *172 responses: '200': description: Response content: application/json: - schema: *393 + schema: *395 examples: - default: *527 + default: *529 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -76193,10 +76360,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#update-an-environment-variable parameters: - - *344 - - *345 - - *170 - - *515 + - *346 + - *347 + - *172 + - *517 requestBody: required: true content: @@ -76238,10 +76405,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#delete-an-environment-variable parameters: - - *344 - - *345 - - *170 - - *515 + - *346 + - *347 + - *172 + - *517 responses: '204': description: Response @@ -76263,8 +76430,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-repository-events parameters: - - *344 - - *345 + - *346 + - *347 - *17 - *19 responses: @@ -76274,7 +76441,7 @@ paths: application/json: schema: type: array - items: *112 + items: *114 examples: 200-response: value: @@ -76332,8 +76499,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/forks#list-forks parameters: - - *344 - - *345 + - *346 + - *347 - name: sort description: The sort order. `stargazers` will sort by star count. in: query @@ -76355,7 +76522,7 @@ paths: application/json: schema: type: array - items: *159 + items: *161 examples: default: value: @@ -76468,7 +76635,7 @@ paths: url: https://api.github.com/licenses/mit node_id: MDc6TGljZW5zZW1pdA== headers: - Link: *68 + Link: *70 '400': *14 x-github: githubCloudOnly: false @@ -76492,8 +76659,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/forks#create-a-fork parameters: - - *344 - - *345 + - *346 + - *347 requestBody: required: false content: @@ -76525,9 +76692,9 @@ paths: description: Response content: application/json: - schema: *347 + schema: *349 examples: - default: *349 + default: *351 '400': *14 '422': *15 '403': *29 @@ -76548,8 +76715,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/blobs#create-a-blob parameters: - - *344 - - *345 + - *346 + - *347 requestBody: required: true content: @@ -76608,8 +76775,8 @@ paths: application/json: schema: oneOf: - - *128 - - *528 + - *130 + - *530 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -76634,8 +76801,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/blobs#get-a-blob parameters: - - *344 - - *345 + - *346 + - *347 - name: file_sha in: path required: true @@ -76734,8 +76901,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/commits#create-a-commit parameters: - - *344 - - *345 + - *346 + - *347 requestBody: required: true content: @@ -76844,7 +77011,7 @@ paths: description: Response content: application/json: - schema: &529 + schema: &531 title: Git Commit description: Low-level Git commit operations within a repository type: object @@ -77058,15 +77225,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/commits#get-a-commit-object parameters: - - *344 - - *345 - - *479 + - *346 + - *347 + - *481 responses: '200': description: Response content: application/json: - schema: *529 + schema: *531 examples: default: value: @@ -77122,9 +77289,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#list-matching-references parameters: - - *344 - - *345 - - &530 + - *346 + - *347 + - &532 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. @@ -77141,7 +77308,7 @@ paths: application/json: schema: type: array - items: &531 + items: &533 title: Git Reference description: Git references within a repository type: object @@ -77194,7 +77361,7 @@ paths: sha: 612077ae6dffb4d2fbd8ce0cccaa58893b07b5ac url: https://api.github.com/repos/octocat/Hello-World/git/commits/612077ae6dffb4d2fbd8ce0cccaa58893b07b5ac headers: - Link: *68 + Link: *70 '409': *54 x-github: githubCloudOnly: false @@ -77216,17 +77383,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#get-a-reference parameters: - - *344 - - *345 - - *530 + - *346 + - *347 + - *532 responses: '200': description: Response content: application/json: - schema: *531 + schema: *533 examples: - default: &532 + default: &534 value: ref: refs/heads/featureA node_id: MDM6UmVmcmVmcy9oZWFkcy9mZWF0dXJlQQ== @@ -77255,8 +77422,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#create-a-reference parameters: - - *344 - - *345 + - *346 + - *347 requestBody: required: true content: @@ -77285,9 +77452,9 @@ paths: description: Response content: application/json: - schema: *531 + schema: *533 examples: - default: *532 + default: *534 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/git/refs/heads/featureA @@ -77313,9 +77480,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#update-a-reference parameters: - - *344 - - *345 - - *530 + - *346 + - *347 + - *532 requestBody: required: true content: @@ -77344,9 +77511,9 @@ paths: description: Response content: application/json: - schema: *531 + schema: *533 examples: - default: *532 + default: *534 '422': *15 '409': *54 x-github: @@ -77364,9 +77531,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#delete-a-reference parameters: - - *344 - - *345 - - *530 + - *346 + - *347 + - *532 responses: '204': description: Response @@ -77421,8 +77588,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/tags#create-a-tag-object parameters: - - *344 - - *345 + - *346 + - *347 requestBody: required: true content: @@ -77489,7 +77656,7 @@ paths: description: Response content: application/json: - schema: &534 + schema: &536 title: Git Tag description: Metadata for a Git tag type: object @@ -77540,7 +77707,7 @@ paths: - sha - type - url - verification: *533 + verification: *535 required: - sha - url @@ -77550,7 +77717,7 @@ paths: - tag - message examples: - default: &535 + default: &537 value: node_id: MDM6VGFnOTQwYmQzMzYyNDhlZmFlMGY5ZWU1YmM3YjJkNWM5ODU4ODdiMTZhYw== tag: v0.0.1 @@ -77623,8 +77790,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/tags#get-a-tag parameters: - - *344 - - *345 + - *346 + - *347 - name: tag_sha in: path required: true @@ -77635,9 +77802,9 @@ paths: description: Response content: application/json: - schema: *534 + schema: *536 examples: - default: *535 + default: *537 '404': *6 '409': *54 x-github: @@ -77661,8 +77828,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/trees#create-a-tree parameters: - - *344 - - *345 + - *346 + - *347 requestBody: required: true content: @@ -77735,7 +77902,7 @@ paths: description: Response content: application/json: - schema: &536 + schema: &538 title: Git Tree description: The hierarchy between files in a Git repository. type: object @@ -77831,8 +77998,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/trees#get-a-tree parameters: - - *344 - - *345 + - *346 + - *347 - name: tree_sha description: The SHA1 value or ref (branch or tag) name of the tree. in: path @@ -77855,7 +78022,7 @@ paths: description: Response content: application/json: - schema: *536 + schema: *538 examples: default-response: summary: Default response @@ -77914,8 +78081,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#list-repository-webhooks parameters: - - *344 - - *345 + - *346 + - *347 - *17 - *19 responses: @@ -77925,7 +78092,7 @@ paths: application/json: schema: type: array - items: &537 + items: &539 title: Webhook description: Webhooks for repositories. type: object @@ -77979,7 +78146,7 @@ paths: type: string format: uri example: https://api.github.com/repos/octocat/Hello-World/hooks/1/deliveries - last_response: &785 + last_response: &787 title: Hook Response type: object properties: @@ -78034,7 +78201,7 @@ paths: status: unused message: headers: - Link: *68 + Link: *70 '404': *6 x-github: githubCloudOnly: false @@ -78053,8 +78220,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#create-a-repository-webhook parameters: - - *344 - - *345 + - *346 + - *347 requestBody: required: false content: @@ -78106,9 +78273,9 @@ paths: description: Response content: application/json: - schema: *537 + schema: *539 examples: - default: &538 + default: &540 value: type: Repository id: 12345678 @@ -78156,17 +78323,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#get-a-repository-webhook parameters: - - *344 - - *345 - - *216 + - *346 + - *347 + - *218 responses: '200': description: Response content: application/json: - schema: *537 + schema: *539 examples: - default: *538 + default: *540 '404': *6 x-github: githubCloudOnly: false @@ -78186,9 +78353,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#update-a-repository-webhook parameters: - - *344 - - *345 - - *216 + - *346 + - *347 + - *218 requestBody: required: true content: @@ -78233,9 +78400,9 @@ paths: description: Response content: application/json: - schema: *537 + schema: *539 examples: - default: *538 + default: *540 '422': *15 '404': *6 x-github: @@ -78256,9 +78423,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#delete-a-repository-webhook parameters: - - *344 - - *345 - - *216 + - *346 + - *347 + - *218 responses: '204': description: Response @@ -78282,9 +78449,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#get-a-webhook-configuration-for-a-repository parameters: - - *344 - - *345 - - *216 + - *346 + - *347 + - *218 responses: '200': description: Response @@ -78311,9 +78478,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#update-a-webhook-configuration-for-a-repository parameters: - - *344 - - *345 - - *216 + - *346 + - *347 + - *218 requestBody: required: false content: @@ -78357,12 +78524,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#list-deliveries-for-a-repository-webhook parameters: - - *344 - - *345 - - *216 - - *17 - - *217 + - *346 + - *347 - *218 + - *17 + - *219 + - *220 responses: '200': description: Response @@ -78370,9 +78537,9 @@ paths: application/json: schema: type: array - items: *219 + items: *221 examples: - default: *220 + default: *222 '400': *14 '422': *15 x-github: @@ -78391,18 +78558,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#get-a-delivery-for-a-repository-webhook parameters: - - *344 - - *345 - - *216 + - *346 + - *347 + - *218 - *16 responses: '200': description: Response content: application/json: - schema: *221 + schema: *223 examples: - default: *222 + default: *224 '400': *14 '422': *15 x-github: @@ -78421,9 +78588,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#redeliver-a-delivery-for-a-repository-webhook parameters: - - *344 - - *345 - - *216 + - *346 + - *347 + - *218 - *16 responses: '202': *39 @@ -78446,9 +78613,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#ping-a-repository-webhook parameters: - - *344 - - *345 - - *216 + - *346 + - *347 + - *218 responses: '204': description: Response @@ -78473,9 +78640,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#test-the-push-repository-webhook parameters: - - *344 - - *345 - - *216 + - *346 + - *347 + - *218 responses: '204': description: Response @@ -78498,8 +78665,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#check-if-immutable-releases-are-enabled-for-a-repository parameters: - - *344 - - *345 + - *346 + - *347 responses: '200': description: Response if immutable releases are enabled @@ -78545,8 +78712,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-immutable-releases parameters: - - *344 - - *345 + - *346 + - *347 responses: '204': *61 '409': *54 @@ -78566,8 +78733,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-immutable-releases parameters: - - *344 - - *345 + - *346 + - *347 responses: '204': *61 '409': *54 @@ -78624,14 +78791,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#get-an-import-status parameters: - - *344 - - *345 + - *346 + - *347 responses: '200': description: Response content: application/json: - schema: &539 + schema: &541 title: Import description: A repository import from an external source. type: object @@ -78730,7 +78897,7 @@ paths: - html_url - authors_url examples: - default: &542 + default: &544 value: vcs: subversion use_lfs: true @@ -78746,7 +78913,7 @@ paths: authors_url: https://api.github.com/repos/octocat/socm/import/authors repository_url: https://api.github.com/repos/octocat/socm '404': *6 - '503': &540 + '503': &542 description: Unavailable due to service under maintenance. content: application/json: @@ -78775,8 +78942,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#start-an-import parameters: - - *344 - - *345 + - *346 + - *347 requestBody: required: true content: @@ -78824,7 +78991,7 @@ paths: description: Response content: application/json: - schema: *539 + schema: *541 examples: default: value: @@ -78849,7 +79016,7 @@ paths: type: string '422': *15 '404': *6 - '503': *540 + '503': *542 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -78877,8 +79044,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#update-an-import parameters: - - *344 - - *345 + - *346 + - *347 requestBody: required: false content: @@ -78927,7 +79094,7 @@ paths: description: Response content: application/json: - schema: *539 + schema: *541 examples: example-1: summary: Example 1 @@ -78975,7 +79142,7 @@ paths: html_url: https://import.github.com/octocat/socm/import authors_url: https://api.github.com/repos/octocat/socm/import/authors repository_url: https://api.github.com/repos/octocat/socm - '503': *540 + '503': *542 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -78998,12 +79165,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#cancel-an-import parameters: - - *344 - - *345 + - *346 + - *347 responses: '204': description: Response - '503': *540 + '503': *542 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79029,9 +79196,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#get-commit-authors parameters: - - *344 - - *345 - - &713 + - *346 + - *347 + - &715 name: since description: A user ID. Only return users with an ID greater than this ID. in: query @@ -79045,7 +79212,7 @@ paths: application/json: schema: type: array - items: &541 + items: &543 title: Porter Author description: Porter Author type: object @@ -79099,7 +79266,7 @@ paths: url: https://api.github.com/repos/octocat/socm/import/authors/2268559 import_url: https://api.github.com/repos/octocat/socm/import '404': *6 - '503': *540 + '503': *542 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79124,8 +79291,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#map-a-commit-author parameters: - - *344 - - *345 + - *346 + - *347 - name: author_id in: path required: true @@ -79155,7 +79322,7 @@ paths: description: Response content: application/json: - schema: *541 + schema: *543 examples: default: value: @@ -79168,7 +79335,7 @@ paths: import_url: https://api.github.com/repos/octocat/socm/import '422': *15 '404': *6 - '503': *540 + '503': *542 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79192,8 +79359,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#get-large-files parameters: - - *344 - - *345 + - *346 + - *347 responses: '200': description: Response @@ -79234,7 +79401,7 @@ paths: path: foo/bar/3 oid: c20ad4d76fe97759aa27a0c99bff6710 size: 12582912 - '503': *540 + '503': *542 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79262,8 +79429,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#update-git-lfs-preference parameters: - - *344 - - *345 + - *346 + - *347 requestBody: required: true content: @@ -79290,11 +79457,11 @@ paths: description: Response content: application/json: - schema: *539 + schema: *541 examples: - default: *542 + default: *544 '422': *15 - '503': *540 + '503': *542 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79317,8 +79484,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/apps/apps#get-a-repository-installation-for-the-authenticated-app parameters: - - *344 - - *345 + - *346 + - *347 responses: '200': description: Response @@ -79326,8 +79493,8 @@ paths: application/json: schema: *22 examples: - default: *543 - '301': *348 + default: *545 + '301': *350 '404': *6 x-github: githubCloudOnly: false @@ -79347,8 +79514,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/repos#get-interaction-restrictions-for-a-repository parameters: - - *344 - - *345 + - *346 + - *347 responses: '200': description: Response @@ -79356,12 +79523,12 @@ paths: application/json: schema: anyOf: - - *235 + - *237 - type: object properties: {} additionalProperties: false examples: - default: &545 + default: &547 value: limit: collaborators_only origin: repository @@ -79386,13 +79553,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/repos#set-interaction-restrictions-for-a-repository parameters: - - *344 - - *345 + - *346 + - *347 requestBody: required: true content: application/json: - schema: *544 + schema: *546 examples: default: summary: Example request body @@ -79404,9 +79571,9 @@ paths: description: Response content: application/json: - schema: *235 + schema: *237 examples: - default: *545 + default: *547 '409': description: Response x-github: @@ -79428,8 +79595,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/repos#remove-interaction-restrictions-for-a-repository parameters: - - *344 - - *345 + - *346 + - *347 responses: '204': description: Response @@ -79452,8 +79619,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#list-repository-invitations parameters: - - *344 - - *345 + - *346 + - *347 - *17 - *19 responses: @@ -79463,9 +79630,9 @@ paths: application/json: schema: type: array - items: *546 + items: *548 examples: - default: &706 + default: &708 value: - id: 1 repository: @@ -79579,7 +79746,7 @@ paths: html_url: https://github.com/octocat/Hello-World/invitations node_id: MDQ6VXNlcjE= headers: - Link: *68 + Link: *70 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79596,9 +79763,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#update-a-repository-invitation parameters: - - *344 - - *345 - - *239 + - *346 + - *347 + - *241 requestBody: required: false content: @@ -79627,7 +79794,7 @@ paths: description: Response content: application/json: - schema: *546 + schema: *548 examples: default: value: @@ -79758,9 +79925,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#delete-a-repository-invitation parameters: - - *344 - - *345 - - *239 + - *346 + - *347 + - *241 responses: '204': description: Response @@ -79791,8 +79958,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#list-repository-issues parameters: - - *344 - - *345 + - *346 + - *347 - name: milestone description: If an `integer` is passed, it should refer to a milestone by its `number` field. If the string `*` is passed, issues with any milestone @@ -79840,7 +80007,7 @@ paths: required: false schema: type: string - - *246 + - *248 - name: sort description: What to sort results by. in: query @@ -79853,7 +80020,7 @@ paths: - comments default: created - *62 - - *93 + - *95 - *17 - *19 responses: @@ -79863,9 +80030,9 @@ paths: application/json: schema: type: array - items: *86 + items: *88 examples: - default: &559 + default: &561 value: - id: 1 node_id: MDU6SXNzdWUx @@ -80013,8 +80180,8 @@ paths: author_association: COLLABORATOR state_reason: completed headers: - Link: *68 - '301': *348 + Link: *70 + '301': *350 '422': *15 '404': *6 x-github: @@ -80043,8 +80210,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#create-an-issue parameters: - - *344 - - *345 + - *346 + - *347 requestBody: required: true content: @@ -80126,9 +80293,9 @@ paths: description: Response content: application/json: - schema: *86 + schema: *88 examples: - default: &556 + default: &558 value: id: 1 node_id: MDU6SXNzdWUx @@ -80289,9 +80456,9 @@ paths: '400': *14 '403': *29 '422': *15 - '503': *120 + '503': *122 '404': *6 - '410': *547 + '410': *549 x-github: triggersNotification: true githubCloudOnly: false @@ -80329,9 +80496,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#list-issue-comments-for-a-repository parameters: - - *344 - - *345 - - *110 + - *346 + - *347 + - *112 - name: direction description: Either `asc` or `desc`. Ignored without the `sort` parameter. in: query @@ -80341,7 +80508,7 @@ paths: enum: - asc - desc - - *93 + - *95 - *17 - *19 responses: @@ -80351,9 +80518,9 @@ paths: application/json: schema: type: array - items: *548 + items: *550 examples: - default: &558 + default: &560 value: - id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -80384,7 +80551,7 @@ paths: issue_url: https://api.github.com/repos/octocat/Hello-World/issues/1347 author_association: COLLABORATOR headers: - Link: *68 + Link: *70 '422': *15 '404': *6 x-github: @@ -80411,17 +80578,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#get-an-issue-comment parameters: - - *344 - - *345 - - *102 + - *346 + - *347 + - *104 responses: '200': description: Response content: application/json: - schema: *548 + schema: *550 examples: - default: &549 + default: &551 value: id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -80476,9 +80643,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#update-an-issue-comment parameters: - - *344 - - *345 - - *102 + - *346 + - *347 + - *104 requestBody: required: true content: @@ -80500,9 +80667,9 @@ paths: description: Response content: application/json: - schema: *548 + schema: *550 examples: - default: *549 + default: *551 '422': *15 x-github: githubCloudOnly: false @@ -80520,9 +80687,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#delete-an-issue-comment parameters: - - *344 - - *345 - - *102 + - *346 + - *347 + - *104 responses: '204': description: Response @@ -80550,15 +80717,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#pin-an-issue-comment parameters: - - *344 - - *345 - - *102 + - *346 + - *347 + - *104 responses: '200': description: Response content: application/json: - schema: *548 + schema: *550 examples: default: value: @@ -80614,7 +80781,7 @@ paths: '401': *25 '403': *29 '404': *6 - '410': *547 + '410': *549 '422': *15 x-github: githubCloudOnly: false @@ -80631,17 +80798,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#unpin-an-issue-comment parameters: - - *344 - - *345 - - *102 + - *346 + - *347 + - *104 responses: '204': description: Response '401': *25 '403': *29 '404': *6 - '410': *547 - '503': *120 + '410': *549 + '503': *122 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -80658,9 +80825,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-an-issue-comment parameters: - - *344 - - *345 - - *102 + - *346 + - *347 + - *104 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to an issue comment. @@ -80686,11 +80853,11 @@ paths: application/json: schema: type: array - items: *476 + items: *478 examples: - default: *550 + default: *552 headers: - Link: *68 + Link: *70 '404': *6 x-github: githubCloudOnly: false @@ -80709,9 +80876,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-an-issue-comment parameters: - - *344 - - *345 - - *102 + - *346 + - *347 + - *104 requestBody: required: true content: @@ -80743,16 +80910,16 @@ paths: description: Reaction exists content: application/json: - schema: *476 + schema: *478 examples: - default: *477 + default: *479 '201': description: Reaction created content: application/json: - schema: *476 + schema: *478 examples: - default: *477 + default: *479 '422': *15 x-github: githubCloudOnly: false @@ -80774,10 +80941,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-an-issue-comment-reaction parameters: - - *344 - - *345 - - *102 - - *551 + - *346 + - *347 + - *104 + - *553 responses: '204': description: Response @@ -80797,8 +80964,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/events#list-issue-events-for-a-repository parameters: - - *344 - - *345 + - *346 + - *347 - *17 - *19 responses: @@ -80808,7 +80975,7 @@ paths: application/json: schema: type: array - items: &555 + items: &557 title: Issue Event description: Issue Event type: object @@ -80851,9 +81018,9 @@ paths: description: Issues are a great way to keep track of tasks, enhancements, and bugs for your projects. type: object - properties: *552 - required: *553 - x-github-breaking-changes: *554 + properties: *554 + required: *555 + x-github-breaking-changes: *556 nullable: true label: title: Issue Event Label @@ -80897,7 +81064,7 @@ paths: properties: *20 required: *21 nullable: true - requested_team: *195 + requested_team: *197 dismissed_review: title: Issue Event Dismissed Review type: object @@ -80962,7 +81129,7 @@ paths: required: - from - to - author_association: *83 + author_association: *85 lock_reason: type: string nullable: true @@ -80975,8 +81142,8 @@ paths: first class actors within GitHub. type: object nullable: true - properties: *81 - required: *82 + properties: *83 + required: *84 required: - id - node_id @@ -81143,7 +81310,7 @@ paths: author_association: COLLABORATOR state_reason: completed headers: - Link: *68 + Link: *70 '422': *15 x-github: githubCloudOnly: false @@ -81161,8 +81328,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/events#get-an-issue-event parameters: - - *344 - - *345 + - *346 + - *347 - name: event_id in: path required: true @@ -81173,7 +81340,7 @@ paths: description: Response content: application/json: - schema: *555 + schema: *557 examples: default: value: @@ -81366,7 +81533,7 @@ paths: author_association: COLLABORATOR state_reason: completed '404': *6 - '410': *547 + '410': *549 '403': *29 x-github: githubCloudOnly: false @@ -81400,9 +81567,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#get-an-issue parameters: - - *344 - - *345 - - &557 + - *346 + - *347 + - &559 name: issue_number description: The number that identifies the issue. in: path @@ -81414,11 +81581,11 @@ paths: description: Response content: application/json: - schema: *86 + schema: *88 examples: default: summary: Issue - value: *556 + value: *558 pinned_comment: summary: Issue with pinned comment value: @@ -81623,9 +81790,9 @@ paths: - op: remove path: "/value/assignee" version: '2026-03-10' - '301': *348 + '301': *350 '404': *6 - '410': *547 + '410': *549 '304': *37 x-github: githubCloudOnly: false @@ -81650,9 +81817,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#update-an-issue parameters: - - *344 - - *345 - - *557 + - *346 + - *347 + - *559 requestBody: required: false content: @@ -81776,15 +81943,15 @@ paths: description: Response content: application/json: - schema: *86 + schema: *88 examples: - default: *556 + default: *558 '422': *15 - '503': *120 + '503': *122 '403': *29 - '301': *348 + '301': *350 '404': *6 - '410': *547 + '410': *549 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -81812,9 +81979,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#add-assignees-to-an-issue parameters: - - *344 - - *345 - - *557 + - *346 + - *347 + - *559 requestBody: required: false content: @@ -81840,9 +82007,9 @@ paths: description: Response content: application/json: - schema: *86 + schema: *88 examples: - default: *556 + default: *558 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -81858,9 +82025,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#remove-assignees-from-an-issue parameters: - - *344 - - *345 - - *557 + - *346 + - *347 + - *559 requestBody: content: application/json: @@ -81885,9 +82052,9 @@ paths: description: Response content: application/json: - schema: *86 + schema: *88 examples: - default: *556 + default: *558 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -81909,9 +82076,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#check-if-a-user-can-be-assigned-to-a-issue parameters: - - *344 - - *345 - - *557 + - *346 + - *347 + - *559 - name: assignee in: path required: true @@ -81951,10 +82118,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#list-issue-comments parameters: - - *344 - - *345 - - *557 - - *93 + - *346 + - *347 + - *559 + - *95 - *17 - *19 responses: @@ -81964,13 +82131,13 @@ paths: application/json: schema: type: array - items: *548 + items: *550 examples: - default: *558 + default: *560 headers: - Link: *68 + Link: *70 '404': *6 - '410': *547 + '410': *549 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -81999,9 +82166,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#create-an-issue-comment parameters: - - *344 - - *345 - - *557 + - *346 + - *347 + - *559 requestBody: required: true content: @@ -82023,16 +82190,16 @@ paths: description: Response content: application/json: - schema: *548 + schema: *550 examples: - default: *549 + default: *551 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1 schema: type: string '403': *29 - '410': *547 + '410': *549 '422': *15 '404': *6 x-github: @@ -82060,9 +82227,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-dependencies#list-dependencies-an-issue-is-blocked-by parameters: - - *344 - - *345 - - *557 + - *346 + - *347 + - *559 - *17 - *19 responses: @@ -82072,14 +82239,14 @@ paths: application/json: schema: type: array - items: *86 + items: *88 examples: - default: *559 + default: *561 headers: - Link: *68 - '301': *348 + Link: *70 + '301': *350 '404': *6 - '410': *547 + '410': *549 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -82107,9 +82274,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-dependencies#add-a-dependency-an-issue-is-blocked-by parameters: - - *344 - - *345 - - *557 + - *346 + - *347 + - *559 requestBody: required: true content: @@ -82131,17 +82298,17 @@ paths: description: Response content: application/json: - schema: *86 + schema: *88 examples: - default: *556 + default: *558 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/1/dependencies/blocked_by schema: type: string - '301': *348 + '301': *350 '403': *29 - '410': *547 + '410': *549 '422': *15 '404': *6 x-github: @@ -82172,9 +82339,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-dependencies#remove-dependency-an-issue-is-blocked-by parameters: - - *344 - - *345 - - *557 + - *346 + - *347 + - *559 - name: issue_id in: path description: The id of the blocking issue to remove as a dependency @@ -82186,15 +82353,15 @@ paths: description: Response content: application/json: - schema: *86 + schema: *88 examples: - default: *556 - '301': *348 + default: *558 + '301': *350 '400': *14 '401': *25 '403': *29 '404': *6 - '410': *547 + '410': *549 x-github: triggersNotification: true githubCloudOnly: false @@ -82220,9 +82387,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-dependencies#list-dependencies-an-issue-is-blocking parameters: - - *344 - - *345 - - *557 + - *346 + - *347 + - *559 - *17 - *19 responses: @@ -82232,14 +82399,14 @@ paths: application/json: schema: type: array - items: *86 + items: *88 examples: - default: *559 + default: *561 headers: - Link: *68 - '301': *348 + Link: *70 + '301': *350 '404': *6 - '410': *547 + '410': *549 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -82256,9 +82423,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/events#list-issue-events parameters: - - *344 - - *345 - - *557 + - *346 + - *347 + - *559 - *17 - *19 responses: @@ -82272,7 +82439,7 @@ paths: title: Issue Event for Issue description: Issue Event for Issue anyOf: - - &563 + - &565 title: Labeled Issue Event description: Labeled Issue Event type: object @@ -82303,8 +82470,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *81 - required: *82 + properties: *83 + required: *84 label: type: object properties: @@ -82326,7 +82493,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &564 + - &566 title: Unlabeled Issue Event description: Unlabeled Issue Event type: object @@ -82357,8 +82524,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *81 - required: *82 + properties: *83 + required: *84 label: type: object properties: @@ -82446,8 +82613,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *81 - required: *82 + properties: *83 + required: *84 assignee: *4 assigner: *4 required: @@ -82462,7 +82629,7 @@ paths: - performed_via_github_app - assignee - assigner - - &565 + - &567 title: Milestoned Issue Event description: Milestoned Issue Event type: object @@ -82493,8 +82660,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *81 - required: *82 + properties: *83 + required: *84 milestone: type: object properties: @@ -82513,7 +82680,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &566 + - &568 title: Demilestoned Issue Event description: Demilestoned Issue Event type: object @@ -82544,8 +82711,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *81 - required: *82 + properties: *83 + required: *84 milestone: type: object properties: @@ -82564,7 +82731,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &567 + - &569 title: Renamed Issue Event description: Renamed Issue Event type: object @@ -82595,8 +82762,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *81 - required: *82 + properties: *83 + required: *84 rename: type: object properties: @@ -82618,7 +82785,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &568 + - &570 title: Review Requested Issue Event description: Review Requested Issue Event type: object @@ -82649,10 +82816,10 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *81 - required: *82 + properties: *83 + required: *84 review_requester: *4 - requested_team: *195 + requested_team: *197 requested_reviewer: *4 required: - review_requester @@ -82665,7 +82832,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &569 + - &571 title: Review Request Removed Issue Event description: Review Request Removed Issue Event type: object @@ -82696,10 +82863,10 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *81 - required: *82 + properties: *83 + required: *84 review_requester: *4 - requested_team: *195 + requested_team: *197 requested_reviewer: *4 required: - review_requester @@ -82712,7 +82879,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &570 + - &572 title: Review Dismissed Issue Event description: Review Dismissed Issue Event type: object @@ -82743,8 +82910,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *81 - required: *82 + properties: *83 + required: *84 dismissed_review: type: object properties: @@ -82772,7 +82939,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &571 + - &573 title: Locked Issue Event description: Locked Issue Event type: object @@ -82803,8 +82970,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *81 - required: *82 + properties: *83 + required: *84 lock_reason: type: string example: '"off-topic"' @@ -82820,7 +82987,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &572 + - &574 title: Added to Project Issue Event description: Added to Project Issue Event type: object @@ -82851,8 +83018,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *81 - required: *82 + properties: *83 + required: *84 project_card: type: object properties: @@ -82886,7 +83053,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &573 + - &575 title: Moved Column in Project Issue Event description: Moved Column in Project Issue Event type: object @@ -82917,8 +83084,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *81 - required: *82 + properties: *83 + required: *84 project_card: type: object properties: @@ -82952,7 +83119,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &574 + - &576 title: Removed from Project Issue Event description: Removed from Project Issue Event type: object @@ -82983,8 +83150,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *81 - required: *82 + properties: *83 + required: *84 project_card: type: object properties: @@ -83018,7 +83185,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &575 + - &577 title: Converted Note to Issue Issue Event description: Converted Note to Issue Issue Event type: object @@ -83108,8 +83275,8 @@ paths: name: label color: red headers: - Link: *68 - '410': *547 + Link: *70 + '410': *549 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -83126,9 +83293,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-field-values#list-issue-field-values-for-an-issue parameters: - - *344 - - *345 - - *557 + - *346 + - *347 + - *559 - *17 - *19 responses: @@ -83138,9 +83305,9 @@ paths: application/json: schema: type: array - items: *560 + items: *562 examples: - default: &561 + default: &563 value: - issue_field_id: 1 node_id: IFT_GDKND @@ -83163,10 +83330,10 @@ paths: data_type: date value: '2025-12-25' headers: - Link: *68 - '301': *348 + Link: *70 + '301': *350 '404': *6 - '410': *547 + '410': *549 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -83195,9 +83362,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-field-values#add-issue-field-values-to-an-issue parameters: - - *344 - - *345 - - *557 + - *346 + - *347 + - *559 requestBody: required: true content: @@ -83261,14 +83428,14 @@ paths: type: array description: The current issue field values for this issue after adding the new values - items: *560 + items: *562 examples: - default: *561 + default: *563 '400': *14 '403': *29 '404': *6 '422': *15 - '503': *120 + '503': *122 x-github: triggersNotification: true githubCloudOnly: false @@ -83299,9 +83466,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-field-values#set-issue-field-values-for-an-issue parameters: - - *344 - - *345 - - *557 + - *346 + - *347 + - *559 requestBody: required: true content: @@ -83366,14 +83533,14 @@ paths: type: array description: The current issue field values for this issue after setting the new values - items: *560 + items: *562 examples: - default: *561 + default: *563 '400': *14 '403': *29 '404': *6 '422': *15 - '503': *120 + '503': *122 x-github: triggersNotification: true githubCloudOnly: false @@ -83399,17 +83566,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-field-values#delete-an-issue-field-value-from-an-issue parameters: - - *344 - - *345 - - *557 - - *242 + - *346 + - *347 + - *559 + - *244 responses: '204': description: Issue field value deleted successfully '403': *29 '404': *6 '422': *15 - '503': *120 + '503': *122 x-github: triggersNotification: true githubCloudOnly: false @@ -83427,9 +83594,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#list-labels-for-an-issue parameters: - - *344 - - *345 - - *557 + - *346 + - *347 + - *559 - *17 - *19 responses: @@ -83439,9 +83606,9 @@ paths: application/json: schema: type: array - items: *85 + items: *87 examples: - default: &562 + default: &564 value: - id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -83458,10 +83625,10 @@ paths: color: a2eeef default: false headers: - Link: *68 - '301': *348 + Link: *70 + '301': *350 '404': *6 - '410': *547 + '410': *549 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -83477,9 +83644,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#add-labels-to-an-issue parameters: - - *344 - - *345 - - *557 + - *346 + - *347 + - *559 requestBody: required: false content: @@ -83522,12 +83689,12 @@ paths: application/json: schema: type: array - items: *85 + items: *87 examples: - default: *562 - '301': *348 + default: *564 + '301': *350 '404': *6 - '410': *547 + '410': *549 '422': *15 x-github: githubCloudOnly: false @@ -83544,9 +83711,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#set-labels-for-an-issue parameters: - - *344 - - *345 - - *557 + - *346 + - *347 + - *559 requestBody: required: false content: @@ -83606,12 +83773,12 @@ paths: application/json: schema: type: array - items: *85 + items: *87 examples: - default: *562 - '301': *348 + default: *564 + '301': *350 '404': *6 - '410': *547 + '410': *549 '422': *15 x-github: githubCloudOnly: false @@ -83628,15 +83795,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#remove-all-labels-from-an-issue parameters: - - *344 - - *345 - - *557 + - *346 + - *347 + - *559 responses: '204': description: Response - '301': *348 + '301': *350 '404': *6 - '410': *547 + '410': *549 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -83655,9 +83822,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#remove-a-label-from-an-issue parameters: - - *344 - - *345 - - *557 + - *346 + - *347 + - *559 - name: name in: path required: true @@ -83670,7 +83837,7 @@ paths: application/json: schema: type: array - items: *85 + items: *87 examples: default: value: @@ -83681,9 +83848,9 @@ paths: description: Something isn't working color: f29513 default: true - '301': *348 + '301': *350 '404': *6 - '410': *547 + '410': *549 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -83703,9 +83870,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#lock-an-issue parameters: - - *344 - - *345 - - *557 + - *346 + - *347 + - *559 requestBody: required: false content: @@ -83733,7 +83900,7 @@ paths: '204': description: Response '403': *29 - '410': *547 + '410': *549 '404': *6 '422': *15 x-github: @@ -83751,9 +83918,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#unlock-an-issue parameters: - - *344 - - *345 - - *557 + - *346 + - *347 + - *559 responses: '204': description: Response @@ -83783,20 +83950,20 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#get-parent-issue parameters: - - *344 - - *345 - - *557 + - *346 + - *347 + - *559 responses: '200': description: Response content: application/json: - schema: *86 + schema: *88 examples: - default: *556 - '301': *348 + default: *558 + '301': *350 '404': *6 - '410': *547 + '410': *549 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -83813,9 +83980,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-an-issue parameters: - - *344 - - *345 - - *557 + - *346 + - *347 + - *559 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to an issue. @@ -83841,13 +84008,13 @@ paths: application/json: schema: type: array - items: *476 + items: *478 examples: - default: *550 + default: *552 headers: - Link: *68 + Link: *70 '404': *6 - '410': *547 + '410': *549 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -83865,9 +84032,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-an-issue parameters: - - *344 - - *345 - - *557 + - *346 + - *347 + - *559 requestBody: required: true content: @@ -83899,16 +84066,16 @@ paths: description: Response content: application/json: - schema: *476 + schema: *478 examples: - default: *477 + default: *479 '201': description: Response content: application/json: - schema: *476 + schema: *478 examples: - default: *477 + default: *479 '422': *15 x-github: githubCloudOnly: false @@ -83930,10 +84097,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-an-issue-reaction parameters: - - *344 - - *345 - - *557 - - *551 + - *346 + - *347 + - *559 + - *553 responses: '204': description: Response @@ -83962,9 +84129,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#remove-sub-issue parameters: - - *344 - - *345 - - *557 + - *346 + - *347 + - *559 requestBody: required: true content: @@ -83986,9 +84153,9 @@ paths: description: Response content: application/json: - schema: *86 + schema: *88 examples: - default: *556 + default: *558 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/1/sub-issue @@ -84021,9 +84188,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#list-sub-issues parameters: - - *344 - - *345 - - *557 + - *346 + - *347 + - *559 - *17 - *19 responses: @@ -84033,13 +84200,13 @@ paths: application/json: schema: type: array - items: *86 + items: *88 examples: - default: *559 + default: *561 headers: - Link: *68 + Link: *70 '404': *6 - '410': *547 + '410': *549 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84067,9 +84234,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#add-sub-issue parameters: - - *344 - - *345 - - *557 + - *346 + - *347 + - *559 requestBody: required: true content: @@ -84096,16 +84263,16 @@ paths: description: Response content: application/json: - schema: *86 + schema: *88 examples: - default: *556 + default: *558 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/sub-issues/1 schema: type: string '403': *29 - '410': *547 + '410': *549 '422': *15 '404': *6 x-github: @@ -84125,9 +84292,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#reprioritize-sub-issue parameters: - - *344 - - *345 - - *557 + - *346 + - *347 + - *559 requestBody: required: true content: @@ -84158,13 +84325,13 @@ paths: description: Response content: application/json: - schema: *86 + schema: *88 examples: - default: *556 + default: *558 '403': *29 '404': *6 '422': *7 - '503': *120 + '503': *122 x-github: triggersNotification: true githubCloudOnly: false @@ -84182,9 +84349,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/timeline#list-timeline-events-for-an-issue parameters: - - *344 - - *345 - - *557 + - *346 + - *347 + - *559 - *17 - *19 responses: @@ -84199,8 +84366,6 @@ paths: description: Timeline Event type: object anyOf: - - *563 - - *564 - *565 - *566 - *567 @@ -84212,6 +84377,8 @@ paths: - *573 - *574 - *575 + - *576 + - *577 - title: Timeline Comment Event description: Timeline Comment Event type: object @@ -84254,7 +84421,7 @@ paths: issue_url: type: string format: uri - author_association: *83 + author_association: *85 performed_via_github_app: title: GitHub app description: GitHub apps are a new way to extend GitHub. They @@ -84264,16 +84431,16 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *81 - required: *82 - reactions: *84 + properties: *83 + required: *84 + reactions: *86 pin: title: Pinned Issue Comment description: Context around who pinned an issue comment and when it was pinned. type: object - properties: *576 - required: *577 + properties: *578 + required: *579 nullable: true required: - event @@ -84305,7 +84472,7 @@ paths: properties: type: type: string - issue: *86 + issue: *88 required: - event - created_at @@ -84505,7 +84672,7 @@ paths: type: string body_text: type: string - author_association: *83 + author_association: *85 required: - event - id @@ -84528,7 +84695,7 @@ paths: type: string comments: type: array - items: &597 + items: &599 title: Pull Request Review Comment description: Pull Request Review Comments are comments on a portion of the Pull Request's diff. @@ -84623,7 +84790,7 @@ paths: type: string format: uri example: https://api.github.com/repos/octocat/Hello-World/pulls/1 - author_association: *83 + author_association: *85 _links: type: object properties: @@ -84707,7 +84874,7 @@ paths: enum: - line - file - reactions: *84 + reactions: *86 body_html: type: string example: '"

comment body

"' @@ -84743,7 +84910,7 @@ paths: type: string comments: type: array - items: *475 + items: *477 - title: Timeline Assigned Issue Event description: Timeline Assigned Issue Event type: object @@ -84774,8 +84941,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *81 - required: *82 + properties: *83 + required: *84 assignee: *4 required: - id @@ -84818,8 +84985,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *81 - required: *82 + properties: *83 + required: *84 assignee: *4 required: - id @@ -84862,8 +85029,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *81 - required: *82 + properties: *83 + required: *84 state_reason: type: string nullable: true @@ -85030,9 +85197,9 @@ paths: type: User site_admin: true headers: - Link: *68 + Link: *70 '404': *6 - '410': *547 + '410': *549 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -85049,8 +85216,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#list-deploy-keys parameters: - - *344 - - *345 + - *346 + - *347 - *17 - *19 responses: @@ -85060,7 +85227,7 @@ paths: application/json: schema: type: array - items: &578 + items: &580 title: Deploy Key description: An SSH key granting access to a single repository. type: object @@ -85110,7 +85277,7 @@ paths: last_used: '2022-01-10T15:53:42Z' enabled: true headers: - Link: *68 + Link: *70 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -85126,8 +85293,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#create-a-deploy-key parameters: - - *344 - - *345 + - *346 + - *347 requestBody: required: true content: @@ -85163,9 +85330,9 @@ paths: description: Response content: application/json: - schema: *578 + schema: *580 examples: - default: &579 + default: &581 value: id: 1 key: ssh-rsa AAA... @@ -85199,9 +85366,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#get-a-deploy-key parameters: - - *344 - - *345 - - &580 + - *346 + - *347 + - &582 name: key_id description: The unique identifier of the key. in: path @@ -85213,9 +85380,9 @@ paths: description: Response content: application/json: - schema: *578 + schema: *580 examples: - default: *579 + default: *581 '404': *6 x-github: githubCloudOnly: false @@ -85233,9 +85400,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#delete-a-deploy-key parameters: - - *344 - - *345 - - *580 + - *346 + - *347 + - *582 responses: '204': description: Response @@ -85255,8 +85422,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#list-labels-for-a-repository parameters: - - *344 - - *345 + - *346 + - *347 - *17 - *19 responses: @@ -85266,11 +85433,11 @@ paths: application/json: schema: type: array - items: *85 + items: *87 examples: - default: *562 + default: *564 headers: - Link: *68 + Link: *70 '404': *6 x-github: githubCloudOnly: false @@ -85289,8 +85456,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#create-a-label parameters: - - *344 - - *345 + - *346 + - *347 requestBody: required: true content: @@ -85326,9 +85493,9 @@ paths: description: Response content: application/json: - schema: *85 + schema: *87 examples: - default: &581 + default: &583 value: id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -85360,8 +85527,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#get-a-label parameters: - - *344 - - *345 + - *346 + - *347 - name: name in: path required: true @@ -85372,9 +85539,9 @@ paths: description: Response content: application/json: - schema: *85 + schema: *87 examples: - default: *581 + default: *583 '404': *6 x-github: githubCloudOnly: false @@ -85391,8 +85558,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#update-a-label parameters: - - *344 - - *345 + - *346 + - *347 - name: name in: path required: true @@ -85431,7 +85598,7 @@ paths: description: Response content: application/json: - schema: *85 + schema: *87 examples: default: value: @@ -85457,8 +85624,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#delete-a-label parameters: - - *344 - - *345 + - *346 + - *347 - name: name in: path required: true @@ -85484,8 +85651,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-languages parameters: - - *344 - - *345 + - *346 + - *347 responses: '200': description: Response @@ -85524,9 +85691,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/licenses/licenses#get-the-license-for-a-repository parameters: - - *344 - - *345 - - *448 + - *346 + - *347 + - *450 responses: '200': description: Response @@ -85588,8 +85755,8 @@ paths: title: License Simple description: License Simple type: object - properties: *89 - required: *90 + properties: *91 + required: *92 nullable: true required: - _links @@ -85671,8 +85838,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#sync-a-fork-branch-with-the-upstream-repository parameters: - - *344 - - *345 + - *346 + - *347 requestBody: required: true content: @@ -85737,8 +85904,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#merge-a-branch parameters: - - *344 - - *345 + - *346 + - *347 requestBody: required: true content: @@ -85772,9 +85939,9 @@ paths: description: Successful Response (The resulting merge commit) content: application/json: - schema: *478 + schema: *480 examples: - default: *582 + default: *584 '204': description: Response when already merged '404': @@ -85799,8 +85966,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#list-milestones parameters: - - *344 - - *345 + - *346 + - *347 - name: state description: The state of the milestone. Either `open`, `closed`, or `all`. in: query @@ -85841,12 +86008,12 @@ paths: application/json: schema: type: array - items: &583 + items: &585 title: Milestone description: A collection of related issues and pull requests. type: object - properties: *280 - required: *281 + properties: *282 + required: *283 examples: default: value: @@ -85885,7 +86052,7 @@ paths: closed_at: '2013-02-12T13:22:01Z' due_on: '2012-10-09T23:39:01Z' headers: - Link: *68 + Link: *70 '404': *6 x-github: githubCloudOnly: false @@ -85902,8 +86069,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#create-a-milestone parameters: - - *344 - - *345 + - *346 + - *347 requestBody: required: true content: @@ -85943,9 +86110,9 @@ paths: description: Response content: application/json: - schema: *583 + schema: *585 examples: - default: &584 + default: &586 value: url: https://api.github.com/repos/octocat/Hello-World/milestones/1 html_url: https://github.com/octocat/Hello-World/milestones/v1.0 @@ -86004,9 +86171,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#get-a-milestone parameters: - - *344 - - *345 - - &585 + - *346 + - *347 + - &587 name: milestone_number description: The number that identifies the milestone. in: path @@ -86018,9 +86185,9 @@ paths: description: Response content: application/json: - schema: *583 + schema: *585 examples: - default: *584 + default: *586 '404': *6 x-github: githubCloudOnly: false @@ -86037,9 +86204,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#update-a-milestone parameters: - - *344 - - *345 - - *585 + - *346 + - *347 + - *587 requestBody: required: false content: @@ -86077,9 +86244,9 @@ paths: description: Response content: application/json: - schema: *583 + schema: *585 examples: - default: *584 + default: *586 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86095,9 +86262,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#delete-a-milestone parameters: - - *344 - - *345 - - *585 + - *346 + - *347 + - *587 responses: '204': description: Response @@ -86118,9 +86285,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#list-labels-for-issues-in-a-milestone parameters: - - *344 - - *345 - - *585 + - *346 + - *347 + - *587 - *17 - *19 responses: @@ -86130,11 +86297,11 @@ paths: application/json: schema: type: array - items: *85 + items: *87 examples: - default: *562 + default: *564 headers: - Link: *68 + Link: *70 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86151,12 +86318,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#list-repository-notifications-for-the-authenticated-user parameters: - - *344 - - *345 - - *586 - - *587 - - *93 + - *346 + - *347 - *588 + - *589 + - *95 + - *590 - *17 - *19 responses: @@ -86166,11 +86333,11 @@ paths: application/json: schema: type: array - items: *113 + items: *115 examples: - default: *589 + default: *591 headers: - Link: *68 + Link: *70 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -86192,8 +86359,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#mark-repository-notifications-as-read parameters: - - *344 - - *345 + - *346 + - *347 requestBody: required: false content: @@ -86251,14 +86418,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-a-apiname-pages-site parameters: - - *344 - - *345 + - *346 + - *347 responses: '200': description: Response content: application/json: - schema: &590 + schema: &592 title: GitHub Pages description: The configuration for GitHub Pages for a repository. type: object @@ -86383,7 +86550,7 @@ paths: - custom_404 - public examples: - default: &591 + default: &593 value: url: https://api.github.com/repos/github/developer.github.com/pages status: built @@ -86424,8 +86591,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#create-a-apiname-pages-site parameters: - - *344 - - *345 + - *346 + - *347 requestBody: required: true content: @@ -86479,9 +86646,9 @@ paths: description: Response content: application/json: - schema: *590 + schema: *592 examples: - default: *591 + default: *593 '422': *15 '409': *54 x-github: @@ -86504,8 +86671,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#update-information-about-a-apiname-pages-site parameters: - - *344 - - *345 + - *346 + - *347 requestBody: required: true content: @@ -86604,8 +86771,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#delete-a-apiname-pages-site parameters: - - *344 - - *345 + - *346 + - *347 responses: '204': description: Response @@ -86631,8 +86798,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#list-apiname-pages-builds parameters: - - *344 - - *345 + - *346 + - *347 - *17 - *19 responses: @@ -86642,7 +86809,7 @@ paths: application/json: schema: type: array - items: &592 + items: &594 title: Page Build description: Page Build type: object @@ -86717,7 +86884,7 @@ paths: created_at: '2014-02-10T19:00:49Z' updated_at: '2014-02-10T19:00:51Z' headers: - Link: *68 + Link: *70 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86736,8 +86903,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#request-a-apiname-pages-build parameters: - - *344 - - *345 + - *346 + - *347 responses: '201': description: Response @@ -86782,16 +86949,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-latest-pages-build parameters: - - *344 - - *345 + - *346 + - *347 responses: '200': description: Response content: application/json: - schema: *592 + schema: *594 examples: - default: &593 + default: &595 value: url: https://api.github.com/repos/github/developer.github.com/pages/builds/5472601 status: built @@ -86839,8 +87006,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-apiname-pages-build parameters: - - *344 - - *345 + - *346 + - *347 - name: build_id in: path required: true @@ -86851,9 +87018,9 @@ paths: description: Response content: application/json: - schema: *592 + schema: *594 examples: - default: *593 + default: *595 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86873,8 +87040,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#create-a-github-pages-deployment parameters: - - *344 - - *345 + - *346 + - *347 requestBody: required: true content: @@ -86979,9 +87146,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-the-status-of-a-github-pages-deployment parameters: - - *344 - - *345 - - &594 + - *346 + - *347 + - &596 name: pages_deployment_id description: The ID of the Pages deployment. You can also give the commit SHA of the deployment. @@ -87039,9 +87206,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#cancel-a-github-pages-deployment parameters: - - *344 - - *345 - - *594 + - *346 + - *347 + - *596 responses: '204': *61 '404': *6 @@ -87068,8 +87235,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-a-dns-health-check-for-github-pages parameters: - - *344 - - *345 + - *346 + - *347 responses: '200': description: Response @@ -87300,7 +87467,7 @@ paths: description: Empty response content: application/json: - schema: *168 + schema: *170 examples: default: value: @@ -87327,8 +87494,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#check-if-private-vulnerability-reporting-is-enabled-for-a-repository parameters: - - *344 - - *345 + - *346 + - *347 responses: '200': description: Private vulnerability reporting status @@ -87365,8 +87532,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-private-vulnerability-reporting-for-a-repository parameters: - - *344 - - *345 + - *346 + - *347 responses: '204': *61 '422': *14 @@ -87387,8 +87554,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-private-vulnerability-reporting-for-a-repository parameters: - - *344 - - *345 + - *346 + - *347 responses: '204': *61 '422': *14 @@ -87410,8 +87577,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/custom-properties#get-all-custom-property-values-for-a-repository parameters: - - *344 - - *345 + - *346 + - *347 responses: '200': description: Response @@ -87419,7 +87586,7 @@ paths: application/json: schema: type: array - items: *295 + items: *297 examples: default: value: @@ -87450,8 +87617,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/custom-properties#create-or-update-custom-property-values-for-a-repository parameters: - - *344 - - *345 + - *346 + - *347 requestBody: required: true content: @@ -87463,7 +87630,7 @@ paths: type: array description: A list of custom property names and associated values to apply to the repositories. - items: *295 + items: *297 required: - properties examples: @@ -87513,8 +87680,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#list-pull-requests parameters: - - *344 - - *345 + - *346 + - *347 - name: state description: Either `open`, `closed`, or `all` to filter by state. in: query @@ -87574,11 +87741,11 @@ paths: application/json: schema: type: array - items: *482 + items: *484 examples: - default: *595 + default: *597 headers: - Link: *68 + Link: *70 '304': *37 '422': *15 x-github: @@ -87608,8 +87775,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#create-a-pull-request parameters: - - *344 - - *345 + - *346 + - *347 requestBody: required: true content: @@ -87674,7 +87841,7 @@ paths: description: Response content: application/json: - schema: &599 + schema: &601 type: object title: Pull Request description: Pull requests let you tell others about changes you've @@ -87785,8 +87952,8 @@ paths: title: Milestone description: A collection of related issues and pull requests. type: object - properties: *280 - required: *281 + properties: *282 + required: *283 nullable: true active_lock_reason: type: string @@ -87829,7 +87996,7 @@ paths: items: *4 requested_teams: type: array - items: *333 + items: *335 head: type: object properties: @@ -87837,7 +88004,7 @@ paths: type: string ref: type: string - repo: *80 + repo: *82 sha: type: string user: *4 @@ -87854,7 +88021,7 @@ paths: type: string ref: type: string - repo: *80 + repo: *82 sha: type: string user: *4 @@ -87867,14 +88034,14 @@ paths: _links: type: object properties: - comments: *282 - commits: *282 - statuses: *282 - html: *282 - issue: *282 - review_comments: *282 - review_comment: *282 - self: *282 + comments: *284 + commits: *284 + statuses: *284 + html: *284 + issue: *284 + review_comments: *284 + review_comment: *284 + self: *284 required: - comments - commits @@ -87884,8 +88051,8 @@ paths: - review_comments - review_comment - self - author_association: *83 - auto_merge: *596 + author_association: *85 + auto_merge: *598 draft: description: Indicates whether or not the pull request is a draft. example: false @@ -88071,7 +88238,7 @@ paths: - review_comments version: '2026-03-10' examples: - default: &600 + default: &602 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -88609,8 +88776,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#list-review-comments-in-a-repository parameters: - - *344 - - *345 + - *346 + - *347 - name: sort in: query required: false @@ -88629,7 +88796,7 @@ paths: enum: - asc - desc - - *93 + - *95 - *17 - *19 responses: @@ -88639,9 +88806,9 @@ paths: application/json: schema: type: array - items: *597 + items: *599 examples: - default: &602 + default: &604 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -88693,7 +88860,7 @@ paths: original_line: 2 side: RIGHT headers: - Link: *68 + Link: *70 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88718,17 +88885,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#get-a-review-comment-for-a-pull-request parameters: - - *344 - - *345 - - *102 + - *346 + - *347 + - *104 responses: '200': description: Response content: application/json: - schema: *597 + schema: *599 examples: - default: &598 + default: &600 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -88803,9 +88970,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#update-a-review-comment-for-a-pull-request parameters: - - *344 - - *345 - - *102 + - *346 + - *347 + - *104 requestBody: required: true content: @@ -88827,9 +88994,9 @@ paths: description: Response content: application/json: - schema: *597 + schema: *599 examples: - default: *598 + default: *600 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88845,9 +89012,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#delete-a-review-comment-for-a-pull-request parameters: - - *344 - - *345 - - *102 + - *346 + - *347 + - *104 responses: '204': description: Response @@ -88868,9 +89035,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-pull-request-review-comment parameters: - - *344 - - *345 - - *102 + - *346 + - *347 + - *104 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a pull request review comment. @@ -88896,11 +89063,11 @@ paths: application/json: schema: type: array - items: *476 + items: *478 examples: - default: *550 + default: *552 headers: - Link: *68 + Link: *70 '404': *6 x-github: githubCloudOnly: false @@ -88919,9 +89086,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-pull-request-review-comment parameters: - - *344 - - *345 - - *102 + - *346 + - *347 + - *104 requestBody: required: true content: @@ -88953,16 +89120,16 @@ paths: description: Reaction exists content: application/json: - schema: *476 + schema: *478 examples: - default: *477 + default: *479 '201': description: Reaction created content: application/json: - schema: *476 + schema: *478 examples: - default: *477 + default: *479 '422': *15 x-github: githubCloudOnly: false @@ -88984,10 +89151,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-a-pull-request-comment-reaction parameters: - - *344 - - *345 - - *102 - - *551 + - *346 + - *347 + - *104 + - *553 responses: '204': description: Response @@ -89030,9 +89197,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#get-a-pull-request parameters: - - *344 - - *345 - - &601 + - *346 + - *347 + - &603 name: pull_number description: The number that identifies the pull request. in: path @@ -89045,9 +89212,9 @@ paths: to fetch diff and patch formats. content: application/json: - schema: *599 + schema: *601 examples: - default: *600 + default: *602 '304': *37 '404': *6 '406': @@ -89056,7 +89223,7 @@ paths: application/json: schema: *3 '500': *55 - '503': *120 + '503': *122 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89082,9 +89249,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#update-a-pull-request parameters: - - *344 - - *345 - - *601 + - *346 + - *347 + - *603 requestBody: required: false content: @@ -89126,9 +89293,9 @@ paths: description: Response content: application/json: - schema: *599 + schema: *601 examples: - default: *600 + default: *602 '422': *15 '403': *29 x-github: @@ -89150,9 +89317,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#archive-a-pull-request parameters: - - *344 - - *345 - - *601 + - *346 + - *347 + - *603 responses: '204': description: Response @@ -89177,9 +89344,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#unarchive-a-pull-request parameters: - - *344 - - *345 - - *601 + - *346 + - *347 + - *603 responses: '204': description: Response @@ -89205,9 +89372,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#create-a-codespace-from-a-pull-request parameters: - - *344 - - *345 - - *601 + - *346 + - *347 + - *603 requestBody: required: true content: @@ -89267,21 +89434,21 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *248 + schema: *250 examples: - default: *465 + default: *467 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *248 + schema: *250 examples: - default: *465 + default: *467 '401': *25 '403': *29 '404': *6 - '503': *120 + '503': *122 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -89307,10 +89474,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#list-review-comments-on-a-pull-request parameters: - - *344 - - *345 - - *601 - - *110 + - *346 + - *347 + - *603 + - *112 - name: direction description: The direction to sort results. Ignored without `sort` parameter. in: query @@ -89320,7 +89487,7 @@ paths: enum: - asc - desc - - *93 + - *95 - *17 - *19 responses: @@ -89330,11 +89497,11 @@ paths: application/json: schema: type: array - items: *597 + items: *599 examples: - default: *602 + default: *604 headers: - Link: *68 + Link: *70 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89365,9 +89532,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#create-a-review-comment-for-a-pull-request parameters: - - *344 - - *345 - - *601 + - *346 + - *347 + - *603 requestBody: required: true content: @@ -89472,7 +89639,7 @@ paths: description: Response content: application/json: - schema: *597 + schema: *599 examples: example-for-a-multi-line-comment: value: @@ -89560,10 +89727,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#create-a-reply-for-a-review-comment parameters: - - *344 - - *345 - - *601 - - *102 + - *346 + - *347 + - *603 + - *104 requestBody: required: true content: @@ -89585,7 +89752,7 @@ paths: description: Response content: application/json: - schema: *597 + schema: *599 examples: default: value: @@ -89671,9 +89838,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#list-commits-on-a-pull-request parameters: - - *344 - - *345 - - *601 + - *346 + - *347 + - *603 - *17 - *19 responses: @@ -89683,11 +89850,11 @@ paths: application/json: schema: type: array - items: *478 + items: *480 examples: - default: *603 + default: *605 headers: - Link: *68 + Link: *70 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89715,9 +89882,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#list-pull-requests-files parameters: - - *344 - - *345 - - *601 + - *346 + - *347 + - *603 - *17 - *19 responses: @@ -89727,7 +89894,7 @@ paths: application/json: schema: type: array - items: *491 + items: *493 examples: default: value: @@ -89743,10 +89910,10 @@ paths: patch: "@@ -132,7 +132,7 @@ module Test @@ -1000,7 +1000,7 @@ module Test" headers: - Link: *68 + Link: *70 '422': *15 '500': *55 - '503': *120 + '503': *122 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89765,9 +89932,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#check-if-a-pull-request-has-been-merged parameters: - - *344 - - *345 - - *601 + - *346 + - *347 + - *603 responses: '204': description: Response if pull request has been merged @@ -89790,9 +89957,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#merge-a-pull-request parameters: - - *344 - - *345 - - *601 + - *346 + - *347 + - *603 requestBody: required: false content: @@ -89903,9 +90070,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/review-requests#get-all-requested-reviewers-for-a-pull-request parameters: - - *344 - - *345 - - *601 + - *346 + - *347 + - *603 responses: '200': description: Response @@ -89921,7 +90088,7 @@ paths: items: *4 teams: type: array - items: *195 + items: *197 required: - users - teams @@ -89962,7 +90129,7 @@ paths: repositories_url: https://api.github.com/teams/1/repos parent: headers: - Link: *68 + Link: *70 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89980,9 +90147,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/review-requests#request-reviewers-for-a-pull-request parameters: - - *344 - - *345 - - *601 + - *346 + - *347 + - *603 requestBody: required: false content: @@ -90019,7 +90186,7 @@ paths: description: Response content: application/json: - schema: *482 + schema: *484 examples: default: value: @@ -90555,9 +90722,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/review-requests#remove-requested-reviewers-from-a-pull-request parameters: - - *344 - - *345 - - *601 + - *346 + - *347 + - *603 requestBody: required: true content: @@ -90591,7 +90758,7 @@ paths: description: Response content: application/json: - schema: *482 + schema: *484 examples: default: value: @@ -91107,9 +91274,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#list-reviews-for-a-pull-request parameters: - - *344 - - *345 - - *601 + - *346 + - *347 + - *603 - *17 - *19 responses: @@ -91119,7 +91286,7 @@ paths: application/json: schema: type: array - items: &604 + items: &606 title: Pull Request Review description: Pull Request Reviews are reviews on pull requests. type: object @@ -91188,7 +91355,7 @@ paths: type: string body_text: type: string - author_association: *83 + author_association: *85 required: - id - node_id @@ -91237,7 +91404,7 @@ paths: commit_id: ecdd80bb57125d7ba9641ffaa4d7d2c19d3f3091 author_association: COLLABORATOR headers: - Link: *68 + Link: *70 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91270,9 +91437,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#create-a-review-for-a-pull-request parameters: - - *344 - - *345 - - *601 + - *346 + - *347 + - *603 requestBody: required: false content: @@ -91358,9 +91525,9 @@ paths: description: Response content: application/json: - schema: *604 + schema: *606 examples: - default: &606 + default: &608 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -91423,10 +91590,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#get-a-review-for-a-pull-request parameters: - - *344 - - *345 - - *601 - - &605 + - *346 + - *347 + - *603 + - &607 name: review_id description: The unique identifier of the review. in: path @@ -91438,9 +91605,9 @@ paths: description: Response content: application/json: - schema: *604 + schema: *606 examples: - default: &607 + default: &609 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -91499,10 +91666,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#update-a-review-for-a-pull-request parameters: - - *344 - - *345 - - *601 - - *605 + - *346 + - *347 + - *603 + - *607 requestBody: required: true content: @@ -91525,7 +91692,7 @@ paths: description: Response content: application/json: - schema: *604 + schema: *606 examples: default: value: @@ -91587,18 +91754,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#delete-a-pending-review-for-a-pull-request parameters: - - *344 - - *345 - - *601 - - *605 + - *346 + - *347 + - *603 + - *607 responses: '200': description: Response content: application/json: - schema: *604 + schema: *606 examples: - default: *606 + default: *608 '422': *7 '404': *6 x-github: @@ -91625,10 +91792,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#list-comments-for-a-pull-request-review parameters: - - *344 - - *345 - - *601 - - *605 + - *346 + - *347 + - *603 + - *607 - *17 - *19 responses: @@ -91707,13 +91874,13 @@ paths: type: string format: uri example: https://api.github.com/repos/octocat/Hello-World/pulls/1 - author_association: *83 + author_association: *85 _links: type: object properties: - self: *282 - html: *282 - pull_request: *282 + self: *284 + html: *284 + pull_request: *284 required: - self - html @@ -91722,7 +91889,7 @@ paths: type: string body_html: type: string - reactions: *84 + reactions: *86 side: description: The side of the first line of the range for a multi-line comment. @@ -91834,7 +92001,7 @@ paths: pull_request: href: https://api.github.com/repos/octocat/Hello-World/pulls/1 headers: - Link: *68 + Link: *70 '404': *6 x-github: githubCloudOnly: false @@ -91863,10 +92030,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#dismiss-a-review-for-a-pull-request parameters: - - *344 - - *345 - - *601 - - *605 + - *346 + - *347 + - *603 + - *607 requestBody: required: true content: @@ -91894,7 +92061,7 @@ paths: description: Response content: application/json: - schema: *604 + schema: *606 examples: default: value: @@ -91957,10 +92124,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#submit-a-review-for-a-pull-request parameters: - - *344 - - *345 - - *601 - - *605 + - *346 + - *347 + - *603 + - *607 requestBody: required: true content: @@ -91995,9 +92162,9 @@ paths: description: Response content: application/json: - schema: *604 + schema: *606 examples: - default: *607 + default: *609 '404': *6 '422': *7 '403': *29 @@ -92019,9 +92186,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#update-a-pull-request-branch parameters: - - *344 - - *345 - - *601 + - *346 + - *347 + - *603 requestBody: required: false content: @@ -92084,8 +92251,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#get-a-repository-readme parameters: - - *344 - - *345 + - *346 + - *347 - name: ref description: 'The name of the commit/branch/tag. Default: the repository’s default branch.' @@ -92098,9 +92265,9 @@ paths: description: Response content: application/json: - schema: *608 + schema: *610 examples: - default: &609 + default: &611 value: type: file encoding: base64 @@ -92142,8 +92309,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#get-a-repository-readme-for-a-directory parameters: - - *344 - - *345 + - *346 + - *347 - name: dir description: The alternate path to look for a README file in: path @@ -92163,9 +92330,9 @@ paths: description: Response content: application/json: - schema: *608 + schema: *610 examples: - default: *609 + default: *611 '404': *6 '422': *15 x-github: @@ -92187,8 +92354,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#list-releases parameters: - - *344 - - *345 + - *346 + - *347 - *17 - *19 responses: @@ -92198,7 +92365,7 @@ paths: application/json: schema: type: array - items: *610 + items: *612 examples: default: value: @@ -92272,7 +92439,7 @@ paths: type: User site_admin: false headers: - Link: *68 + Link: *70 '404': *6 x-github: githubCloudOnly: false @@ -92292,8 +92459,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#create-a-release parameters: - - *344 - - *345 + - *346 + - *347 requestBody: required: true content: @@ -92369,9 +92536,9 @@ paths: description: Response content: application/json: - schema: *610 + schema: *612 examples: - default: &614 + default: &616 value: url: https://api.github.com/repos/octocat/Hello-World/releases/1 html_url: https://github.com/octocat/Hello-World/releases/v1.0.0 @@ -92476,9 +92643,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#get-a-release-asset parameters: - - *344 - - *345 - - &612 + - *346 + - *347 + - &614 name: asset_id description: The unique identifier of the asset. in: path @@ -92490,9 +92657,9 @@ paths: description: Response content: application/json: - schema: *611 + schema: *613 examples: - default: &613 + default: &615 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 @@ -92527,7 +92694,7 @@ paths: type: User site_admin: false '404': *6 - '302': *495 + '302': *497 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -92543,9 +92710,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#update-a-release-asset parameters: - - *344 - - *345 - - *612 + - *346 + - *347 + - *614 requestBody: required: false content: @@ -92573,9 +92740,9 @@ paths: description: Response content: application/json: - schema: *611 + schema: *613 examples: - default: *613 + default: *615 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -92591,9 +92758,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#delete-a-release-asset parameters: - - *344 - - *345 - - *612 + - *346 + - *347 + - *614 responses: '204': description: Response @@ -92618,8 +92785,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#generate-release-notes-content-for-a-release parameters: - - *344 - - *345 + - *346 + - *347 requestBody: required: true content: @@ -92704,16 +92871,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#get-the-latest-release parameters: - - *344 - - *345 + - *346 + - *347 responses: '200': description: Response content: application/json: - schema: *610 + schema: *612 examples: - default: *614 + default: *616 '404': *6 x-github: githubCloudOnly: false @@ -92731,8 +92898,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#get-a-release-by-tag-name parameters: - - *344 - - *345 + - *346 + - *347 - name: tag description: tag parameter in: path @@ -92745,9 +92912,9 @@ paths: description: Response content: application/json: - schema: *610 + schema: *612 examples: - default: *614 + default: *616 '404': *6 x-github: githubCloudOnly: false @@ -92769,9 +92936,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#get-a-release parameters: - - *344 - - *345 - - &615 + - *346 + - *347 + - &617 name: release_id description: The unique identifier of the release. in: path @@ -92785,9 +92952,9 @@ paths: For more information, see "[Getting started with the REST API](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#hypermedia)."' content: application/json: - schema: *610 + schema: *612 examples: - default: *614 + default: *616 '401': description: Unauthorized x-github: @@ -92805,9 +92972,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#update-a-release parameters: - - *344 - - *345 - - *615 + - *346 + - *347 + - *617 requestBody: required: false content: @@ -92871,9 +93038,9 @@ paths: description: Response content: application/json: - schema: *610 + schema: *612 examples: - default: *614 + default: *616 '404': description: Not Found if the discussion category name is invalid content: @@ -92894,9 +93061,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#delete-a-release parameters: - - *344 - - *345 - - *615 + - *346 + - *347 + - *617 responses: '204': description: Response @@ -92917,9 +93084,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#list-release-assets parameters: - - *344 - - *345 - - *615 + - *346 + - *347 + - *617 - *17 - *19 responses: @@ -92929,7 +93096,7 @@ paths: application/json: schema: type: array - items: *611 + items: *613 examples: default: value: @@ -92966,7 +93133,7 @@ paths: type: User site_admin: false headers: - Link: *68 + Link: *70 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -93010,9 +93177,9 @@ paths: description: The URL origin (protocol + host name + port) is included in `upload_url` returned in the response of the "Create a release" endpoint parameters: - - *344 - - *345 - - *615 + - *346 + - *347 + - *617 - name: name in: query required: true @@ -93038,7 +93205,7 @@ paths: description: Response for successful upload content: application/json: - schema: *611 + schema: *613 examples: response-for-successful-upload: value: @@ -93093,9 +93260,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-release parameters: - - *344 - - *345 - - *615 + - *346 + - *347 + - *617 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a release. @@ -93119,11 +93286,11 @@ paths: application/json: schema: type: array - items: *476 + items: *478 examples: - default: *550 + default: *552 headers: - Link: *68 + Link: *70 '404': *6 x-github: githubCloudOnly: false @@ -93142,9 +93309,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-release parameters: - - *344 - - *345 - - *615 + - *346 + - *347 + - *617 requestBody: required: true content: @@ -93174,16 +93341,16 @@ paths: description: Reaction exists content: application/json: - schema: *476 + schema: *478 examples: - default: *477 + default: *479 '201': description: Reaction created content: application/json: - schema: *476 + schema: *478 examples: - default: *477 + default: *479 '422': *15 x-github: githubCloudOnly: false @@ -93205,10 +93372,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-a-release-reaction parameters: - - *344 - - *345 - - *615 - - *551 + - *346 + - *347 + - *617 + - *553 responses: '204': description: Response @@ -93232,9 +93399,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rules#get-rules-for-a-branch parameters: - - *344 - - *345 - - *411 + - *346 + - *347 + - *413 - *17 - *19 responses: @@ -93250,8 +93417,8 @@ paths: description: A repository rule with ruleset details. oneOf: - allOf: - - *305 - - &616 + - *307 + - &618 title: repository ruleset data for rule description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -93270,69 +93437,69 @@ paths: ruleset_id: type: integer description: The ID of the ruleset that includes this rule. - - allOf: - - *306 - - *616 - - allOf: - - *307 - - *616 - allOf: - *308 - - *616 - - allOf: - - *617 - - *616 + - *618 - allOf: - *309 - - *616 + - *618 - allOf: - *310 - - *616 + - *618 + - allOf: + - *619 + - *618 - allOf: - *311 - - *616 + - *618 - allOf: - *312 - - *616 + - *618 - allOf: - *313 - - *616 + - *618 - allOf: - *314 - - *616 + - *618 - allOf: - *315 - - *616 + - *618 - allOf: - *316 - - *616 + - *618 - allOf: - *317 - - *616 + - *618 - allOf: - *318 - - *616 + - *618 - allOf: - *319 - - *616 + - *618 - allOf: - *320 - - *616 + - *618 - allOf: - *321 - - *616 + - *618 - allOf: - *322 - - *616 + - *618 - allOf: - *323 - - *616 + - *618 - allOf: - *324 - - *616 + - *618 - allOf: - *325 - - *616 + - *618 + - allOf: + - *326 + - *618 + - allOf: + - *327 + - *618 examples: default: value: @@ -93371,8 +93538,8 @@ paths: category: repos subcategory: rules parameters: - - *344 - - *345 + - *346 + - *347 - *17 - *19 - name: includes_parents @@ -93383,7 +93550,7 @@ paths: schema: type: boolean default: true - - *618 + - *620 responses: '200': description: Response @@ -93391,7 +93558,7 @@ paths: application/json: schema: type: array - items: *326 + items: *328 examples: default: value: @@ -93438,8 +93605,8 @@ paths: category: repos subcategory: rules parameters: - - *344 - - *345 + - *346 + - *347 requestBody: description: Request body required: true @@ -93459,16 +93626,16 @@ paths: - tag - push default: branch - enforcement: *302 + enforcement: *304 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *303 - conditions: *300 + items: *305 + conditions: *302 rules: type: array description: An array of rules within the ruleset. - items: *619 + items: *621 required: - name - enforcement @@ -93499,9 +93666,9 @@ paths: description: Response content: application/json: - schema: *326 + schema: *328 examples: - default: &629 + default: &631 value: id: 42 name: super cool ruleset @@ -93549,12 +93716,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rule-suites#list-repository-rule-suites parameters: - - *344 - - *345 - - *620 - - *621 + - *346 + - *347 - *622 - *623 + - *624 + - *625 - *17 - *19 responses: @@ -93562,9 +93729,9 @@ paths: description: Response content: application/json: - schema: *624 + schema: *626 examples: - default: *625 + default: *627 '404': *6 '500': *55 x-github: @@ -93585,17 +93752,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rule-suites#get-a-repository-rule-suite parameters: - - *344 - - *345 - - *626 + - *346 + - *347 + - *628 responses: '200': description: Response content: application/json: - schema: *627 + schema: *629 examples: - default: *628 + default: *630 '404': *6 '500': *55 x-github: @@ -93623,8 +93790,8 @@ paths: category: repos subcategory: rules parameters: - - *344 - - *345 + - *346 + - *347 - name: ruleset_id description: The ID of the ruleset. in: path @@ -93644,9 +93811,9 @@ paths: description: Response content: application/json: - schema: *326 + schema: *328 examples: - default: *629 + default: *631 '404': *6 '500': *55 put: @@ -93664,8 +93831,8 @@ paths: category: repos subcategory: rules parameters: - - *344 - - *345 + - *346 + - *347 - name: ruleset_id description: The ID of the ruleset. in: path @@ -93690,16 +93857,16 @@ paths: - branch - tag - push - enforcement: *302 + enforcement: *304 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *303 - conditions: *300 + items: *305 + conditions: *302 rules: description: An array of rules within the ruleset. type: array - items: *619 + items: *621 examples: default: value: @@ -93727,9 +93894,9 @@ paths: description: Response content: application/json: - schema: *326 + schema: *328 examples: - default: *629 + default: *631 '404': *6 '422': *15 '500': *55 @@ -93748,8 +93915,8 @@ paths: category: repos subcategory: rules parameters: - - *344 - - *345 + - *346 + - *347 - name: ruleset_id description: The ID of the ruleset. in: path @@ -93772,8 +93939,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rules#get-repository-ruleset-history parameters: - - *344 - - *345 + - *346 + - *347 - *17 - *19 - name: ruleset_id @@ -93789,9 +93956,9 @@ paths: application/json: schema: type: array - items: *329 + items: *331 examples: - default: *630 + default: *632 '404': *6 '500': *55 x-github: @@ -93810,8 +93977,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rules#get-repository-ruleset-version parameters: - - *344 - - *345 + - *346 + - *347 - name: ruleset_id description: The ID of the ruleset. in: path @@ -93829,7 +93996,7 @@ paths: description: Response content: application/json: - schema: *631 + schema: *633 examples: default: value: @@ -93884,25 +94051,25 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-a-repository parameters: - - *344 - - *345 - - *632 - - *633 + - *346 + - *347 - *634 - *635 - *636 - *637 - *638 - *639 + - *640 + - *641 - *62 - *19 - *17 - - *640 - - *641 - *642 - *643 - *644 - *645 + - *646 + - *647 responses: '200': description: Response @@ -93910,11 +94077,11 @@ paths: application/json: schema: type: array - items: &649 + items: &651 type: object properties: - number: *177 - created_at: *178 + number: *179 + created_at: *180 updated_at: type: string description: 'The time that the alert was last updated in ISO @@ -93922,15 +94089,15 @@ paths: format: date-time readOnly: true nullable: true - url: *180 - html_url: *181 + url: *182 + html_url: *183 locations_url: type: string format: uri description: The REST API URL of the code locations for this alert. - state: *646 - resolution: *647 + state: *648 + resolution: *649 resolved_at: type: string format: date-time @@ -94036,7 +94203,7 @@ paths: pull request. ' - oneOf: *648 + oneOf: *650 nullable: true has_more_locations: type: boolean @@ -94178,7 +94345,7 @@ paths: '404': description: Repository is public or secret scanning is disabled for the repository - '503': *120 + '503': *122 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -94200,16 +94367,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#get-a-secret-scanning-alert parameters: - - *344 - - *345 - - *442 - - *645 + - *346 + - *347 + - *444 + - *647 responses: '200': description: Response content: application/json: - schema: *649 + schema: *651 examples: default: value: @@ -94240,7 +94407,7 @@ paths: '404': description: Repository is public, or secret scanning is disabled for the repository, or the resource is not found - '503': *120 + '503': *122 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -94263,9 +94430,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#update-a-secret-scanning-alert parameters: - - *344 - - *345 - - *442 + - *346 + - *347 + - *444 requestBody: required: true content: @@ -94273,8 +94440,8 @@ paths: schema: type: object properties: - state: *646 - resolution: *647 + state: *648 + resolution: *649 resolution_comment: description: An optional comment when closing or reopening an alert. Cannot be updated or deleted. @@ -94310,7 +94477,7 @@ paths: description: Response content: application/json: - schema: *649 + schema: *651 examples: default: value: @@ -94383,7 +94550,7 @@ paths: '422': description: State does not match the resolution or resolution comment, or assignee does not have write access to the repository - '503': *120 + '503': *122 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -94405,9 +94572,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-locations-for-a-secret-scanning-alert parameters: - - *344 - - *345 - - *442 + - *346 + - *347 + - *444 - *19 - *17 responses: @@ -94418,7 +94585,7 @@ paths: schema: type: array description: List of locations where the secret was detected - items: &807 + items: &809 type: object properties: type: @@ -94444,8 +94611,6 @@ paths: example: commit details: oneOf: - - *650 - - *651 - *652 - *653 - *654 @@ -94457,6 +94622,8 @@ paths: - *660 - *661 - *662 + - *663 + - *664 examples: default: value: @@ -94516,11 +94683,11 @@ paths: details: pull_request_review_comment_url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/12 headers: - Link: *68 + Link: *70 '404': description: Repository is public, or secret scanning is disabled for the repository, or the resource is not found - '503': *120 + '503': *122 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -94542,8 +94709,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#create-a-push-protection-bypass parameters: - - *344 - - *345 + - *346 + - *347 requestBody: required: true content: @@ -94551,14 +94718,14 @@ paths: schema: type: object properties: - reason: &664 + reason: &666 description: The reason for bypassing push protection. type: string enum: - false_positive - used_in_tests - will_fix_later - placeholder_id: *663 + placeholder_id: *665 required: - reason - placeholder_id @@ -94575,7 +94742,7 @@ paths: schema: type: object properties: - reason: *664 + reason: *666 expire_at: type: string format: date-time @@ -94598,7 +94765,7 @@ paths: this repository. '422': description: Bad request, input data missing or incorrect. - '503': *120 + '503': *122 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -94621,13 +94788,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#get-secret-scanning-scan-history-for-a-repository parameters: - - *344 - - *345 + - *346 + - *347 responses: '404': description: Repository does not have GitHub Advanced Security or secret scanning enabled - '503': *120 + '503': *122 '200': description: Response content: @@ -94637,7 +94804,7 @@ paths: properties: incremental_scans: type: array - items: &665 + items: &667 description: Information on a single scan performed by secret scanning on the repository type: object @@ -94663,15 +94830,15 @@ paths: nullable: true pattern_update_scans: type: array - items: *665 + items: *667 backfill_scans: type: array - items: *665 + items: *667 custom_pattern_backfill_scans: type: array items: allOf: - - *665 + - *667 - type: object properties: pattern_name: @@ -94684,7 +94851,7 @@ paths: one of "repository", "organization", or "enterprise" generic_secrets_backfill_scans: type: array - items: *665 + items: *667 examples: default: value: @@ -94749,8 +94916,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#list-repository-security-advisories parameters: - - *344 - - *345 + - *346 + - *347 - *62 - name: sort description: The property to sort the results by. @@ -94794,9 +94961,9 @@ paths: application/json: schema: type: array - items: *666 + items: *668 examples: - default: *667 + default: *669 '400': *14 '404': *6 x-github: @@ -94819,8 +94986,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#create-a-repository-security-advisory parameters: - - *344 - - *345 + - *346 + - *347 requestBody: required: true content: @@ -94893,7 +95060,7 @@ paths: login: type: string description: The username of the user credited. - type: *332 + type: *334 required: - login - type @@ -94980,9 +95147,9 @@ paths: description: Response content: application/json: - schema: *666 + schema: *668 examples: - default: &669 + default: &671 value: ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -95221,8 +95388,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#privately-report-a-security-vulnerability parameters: - - *344 - - *345 + - *346 + - *347 requestBody: required: true content: @@ -95326,7 +95493,7 @@ paths: description: Response content: application/json: - schema: *666 + schema: *668 examples: default: value: @@ -95479,17 +95646,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#get-a-repository-security-advisory parameters: - - *344 - - *345 - - *668 + - *346 + - *347 + - *670 responses: '200': description: Response content: application/json: - schema: *666 + schema: *668 examples: - default: *669 + default: *671 '403': *29 '404': *6 x-github: @@ -95513,9 +95680,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#update-a-repository-security-advisory parameters: - - *344 - - *345 - - *668 + - *346 + - *347 + - *670 requestBody: required: true content: @@ -95588,7 +95755,7 @@ paths: login: type: string description: The username of the user credited. - type: *332 + type: *334 required: - login - type @@ -95674,17 +95841,17 @@ paths: description: Response content: application/json: - schema: *666 + schema: *668 examples: - default: *669 - add_credit: *669 + default: *671 + add_credit: *671 '403': *29 '404': *6 '422': description: Validation failed, or the endpoint has been spammed. content: application/json: - schema: *128 + schema: *130 examples: invalid_state_transition: value: @@ -95715,9 +95882,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#request-a-cve-for-a-repository-security-advisory parameters: - - *344 - - *345 - - *668 + - *346 + - *347 + - *670 responses: '202': *39 '400': *14 @@ -95744,17 +95911,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#create-a-temporary-private-fork parameters: - - *344 - - *345 - - *668 + - *346 + - *347 + - *670 responses: '202': description: Response content: application/json: - schema: *347 + schema: *349 examples: - default: *349 + default: *351 '400': *14 '422': *15 '403': *29 @@ -95780,8 +95947,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#list-stargazers parameters: - - *344 - - *345 + - *346 + - *347 - *17 - *19 responses: @@ -95858,7 +96025,7 @@ paths: type: User site_admin: false headers: - Link: *68 + Link: *70 '422': *15 x-github: githubCloudOnly: false @@ -95880,8 +96047,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-weekly-commit-activity parameters: - - *344 - - *345 + - *346 + - *347 responses: '200': description: Returns a weekly aggregate of the number of additions and deletions @@ -95890,7 +96057,7 @@ paths: application/json: schema: type: array - items: &670 + items: &672 title: Code Frequency Stat description: Code Frequency Stat type: array @@ -95923,8 +96090,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-last-year-of-commit-activity parameters: - - *344 - - *345 + - *346 + - *347 responses: '200': description: Response @@ -96000,8 +96167,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-all-contributor-commit-activity parameters: - - *344 - - *345 + - *346 + - *347 responses: '200': description: Response @@ -96097,8 +96264,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-weekly-commit-count parameters: - - *344 - - *345 + - *346 + - *347 responses: '200': description: The array order is oldest week (index 0) to most recent week. @@ -96252,8 +96419,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-hourly-commit-count-for-each-day parameters: - - *344 - - *345 + - *346 + - *347 responses: '200': description: For example, `[2, 14, 25]` indicates that there were 25 total @@ -96263,7 +96430,7 @@ paths: application/json: schema: type: array - items: *670 + items: *672 examples: default: value: @@ -96296,8 +96463,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/statuses#create-a-commit-status parameters: - - *344 - - *345 + - *346 + - *347 - name: sha in: path required: true @@ -96351,7 +96518,7 @@ paths: description: Response content: application/json: - schema: *671 + schema: *673 examples: default: value: @@ -96405,8 +96572,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#list-watchers parameters: - - *344 - - *345 + - *346 + - *347 - *17 - *19 responses: @@ -96418,9 +96585,9 @@ paths: type: array items: *4 examples: - default: *71 + default: *73 headers: - Link: *68 + Link: *70 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -96438,14 +96605,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#get-a-repository-subscription parameters: - - *344 - - *345 + - *346 + - *347 responses: '200': description: if you subscribe to the repository content: application/json: - schema: &672 + schema: &674 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -96513,8 +96680,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#set-a-repository-subscription parameters: - - *344 - - *345 + - *346 + - *347 requestBody: required: false content: @@ -96540,7 +96707,7 @@ paths: description: Response content: application/json: - schema: *672 + schema: *674 examples: default: value: @@ -96567,8 +96734,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#delete-a-repository-subscription parameters: - - *344 - - *345 + - *346 + - *347 responses: '204': description: Response @@ -96588,8 +96755,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-tags parameters: - - *344 - - *345 + - *346 + - *347 - *17 - *19 responses: @@ -96645,7 +96812,7 @@ paths: tarball_url: https://github.com/octocat/Hello-World/tarball/v0.1 node_id: MDQ6VXNlcjE= headers: - Link: *68 + Link: *70 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -96668,8 +96835,8 @@ paths: url: https://docs.github.com/rest/repos/contents#download-a-repository-archive-tar operationId: repos/download-tarball-archive parameters: - - *344 - - *345 + - *346 + - *347 - name: ref in: path required: true @@ -96705,8 +96872,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-teams parameters: - - *344 - - *345 + - *346 + - *347 - *17 - *19 responses: @@ -96716,11 +96883,11 @@ paths: application/json: schema: type: array - items: *195 + items: *197 examples: - default: *260 + default: *262 headers: - Link: *68 + Link: *70 '404': *6 x-github: githubCloudOnly: false @@ -96738,8 +96905,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#get-all-repository-topics parameters: - - *344 - - *345 + - *346 + - *347 - *19 - *17 responses: @@ -96747,7 +96914,7 @@ paths: description: Response content: application/json: - schema: &673 + schema: &675 title: Topic description: A topic aggregates entities that are related to a subject. type: object @@ -96759,7 +96926,7 @@ paths: required: - names examples: - default: &674 + default: &676 value: names: - octocat @@ -96782,8 +96949,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#replace-all-repository-topics parameters: - - *344 - - *345 + - *346 + - *347 requestBody: required: true content: @@ -96814,9 +96981,9 @@ paths: description: Response content: application/json: - schema: *673 + schema: *675 examples: - default: *674 + default: *676 '404': *6 '422': *7 x-github: @@ -96837,9 +97004,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-repository-clones parameters: - - *344 - - *345 - - &675 + - *346 + - *347 + - &677 name: per description: The time frame to display results for. in: query @@ -96868,7 +97035,7 @@ paths: example: 128 clones: type: array - items: &676 + items: &678 title: Traffic type: object properties: @@ -96955,8 +97122,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-top-referral-paths parameters: - - *344 - - *345 + - *346 + - *347 responses: '200': description: Response @@ -97046,8 +97213,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-top-referral-sources parameters: - - *344 - - *345 + - *346 + - *347 responses: '200': description: Response @@ -97107,9 +97274,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-page-views parameters: - - *344 - - *345 - - *675 + - *346 + - *347 + - *677 responses: '200': description: Response @@ -97128,7 +97295,7 @@ paths: example: 3782 views: type: array - items: *676 + items: *678 required: - uniques - count @@ -97205,8 +97372,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#transfer-a-repository parameters: - - *344 - - *345 + - *346 + - *347 requestBody: required: true content: @@ -97242,7 +97409,7 @@ paths: description: Response content: application/json: - schema: *159 + schema: *161 examples: default: value: @@ -97486,8 +97653,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#check-if-vulnerability-alerts-are-enabled-for-a-repository parameters: - - *344 - - *345 + - *346 + - *347 responses: '204': description: Response if repository is enabled with vulnerability alerts @@ -97510,8 +97677,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-vulnerability-alerts parameters: - - *344 - - *345 + - *346 + - *347 responses: '204': description: Response @@ -97533,8 +97700,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-vulnerability-alerts parameters: - - *344 - - *345 + - *346 + - *347 responses: '204': description: Response @@ -97560,8 +97727,8 @@ paths: url: https://docs.github.com/rest/repos/contents#download-a-repository-archive-zip operationId: repos/download-zipball-archive parameters: - - *344 - - *345 + - *346 + - *347 - name: ref in: path required: true @@ -97653,9 +97820,9 @@ paths: description: Response content: application/json: - schema: *347 + schema: *349 examples: - default: *349 + default: *351 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -97696,7 +97863,7 @@ paths: application/json: schema: type: array - items: *159 + items: *161 examples: default: value: @@ -97888,7 +98055,7 @@ paths: html_url: type: string format: uri - repository: *159 + repository: *161 score: type: number file_size: @@ -97906,7 +98073,7 @@ paths: example: - 73..77 - 77..78 - text_matches: &677 + text_matches: &679 title: Search Result Text Matches type: array items: @@ -98020,7 +98187,7 @@ paths: releases_url: http://api.github.com/repos/octocat/Hello-World/releases{/id} score: 1 '304': *37 - '503': *120 + '503': *122 '422': *15 '403': *29 x-github: @@ -98068,7 +98235,7 @@ paths: enum: - author-date - committer-date - - &678 + - &680 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 @@ -98139,7 +98306,7 @@ paths: description: Metaproperties for Git author/committer information. type: object - properties: *409 + properties: *411 nullable: true comment_count: type: integer @@ -98159,7 +98326,7 @@ paths: url: type: string format: uri - verification: *533 + verification: *535 required: - author - committer @@ -98178,7 +98345,7 @@ paths: title: Git User description: Metaproperties for Git author/committer information. type: object - properties: *409 + properties: *411 nullable: true parents: type: array @@ -98191,12 +98358,12 @@ paths: type: string sha: type: string - repository: *159 + repository: *161 score: type: number node_id: type: string - text_matches: *677 + text_matches: *679 required: - sha - node_id @@ -98388,7 +98555,7 @@ paths: - interactions - created - updated - - *678 + - *680 - *17 - *19 - name: advanced_search @@ -98502,11 +98669,11 @@ paths: description: type: string nullable: true - sub_issues_summary: *679 - issue_dependencies_summary: *680 + sub_issues_summary: *681 + issue_dependencies_summary: *682 issue_field_values: type: array - items: *560 + items: *562 state: type: string state_reason: @@ -98523,8 +98690,8 @@ paths: title: Milestone description: A collection of related issues and pull requests. type: object - properties: *280 - required: *281 + properties: *282 + required: *283 nullable: true comments: type: integer @@ -98538,7 +98705,7 @@ paths: type: string format: date-time nullable: true - text_matches: *677 + text_matches: *679 pull_request: type: object properties: @@ -98571,10 +98738,10 @@ paths: type: string score: type: number - author_association: *83 + author_association: *85 draft: type: boolean - repository: *80 + repository: *82 body_html: type: string body_text: @@ -98582,7 +98749,7 @@ paths: timeline_url: type: string format: uri - type: *243 + type: *245 performed_via_github_app: title: GitHub app description: GitHub apps are a new way to extend GitHub. @@ -98592,17 +98759,17 @@ paths: GitHub apps are first class actors within GitHub. type: object nullable: true - properties: *81 - required: *82 + properties: *83 + required: *84 pinned_comment: title: Issue Comment description: Comments provide a way for people to collaborate on an issue. type: object - properties: *87 - required: *88 + properties: *89 + required: *90 nullable: true - reactions: *84 + reactions: *86 required: - assignee - closed_at @@ -98790,7 +98957,7 @@ paths: - quoted_text items: - "..." - '503': *120 + '503': *122 '422': *15 '304': *37 '403': *29 @@ -98844,7 +99011,7 @@ paths: enum: - created - updated - - *678 + - *680 - *17 - *19 responses: @@ -98888,7 +99055,7 @@ paths: nullable: true score: type: number - text_matches: *677 + text_matches: *679 required: - id - node_id @@ -98973,7 +99140,7 @@ paths: - forks - help-wanted-issues - updated - - *678 + - *680 - *17 - *19 responses: @@ -99201,8 +99368,8 @@ paths: title: License Simple description: License Simple type: object - properties: *89 - required: *90 + properties: *91 + required: *92 nullable: true permissions: type: object @@ -99221,7 +99388,7 @@ paths: - admin - pull - push - text_matches: *677 + text_matches: *679 temp_clone_token: type: string allow_merge_commit: @@ -99423,7 +99590,7 @@ paths: spdx_id: MIT node_id: MDc6TGljZW5zZW1pdA== html_url: https://api.github.com/licenses/mit - '503': *120 + '503': *122 '422': *15 '304': *37 x-github: @@ -99521,7 +99688,7 @@ paths: type: string format: uri nullable: true - text_matches: *677 + text_matches: *679 related: type: array nullable: true @@ -99712,7 +99879,7 @@ paths: - followers - repositories - joined - - *678 + - *680 - *17 - *19 responses: @@ -99816,7 +99983,7 @@ paths: hireable: type: boolean nullable: true - text_matches: *677 + text_matches: *679 blog: type: string nullable: true @@ -99875,7 +100042,7 @@ paths: events_url: https://api.github.com/users/mojombo/events{/privacy} site_admin: true '304': *37 - '503': *120 + '503': *122 '422': *15 x-github: githubCloudOnly: false @@ -99895,7 +100062,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#get-a-team-legacy parameters: - - &681 + - &683 name: team_id description: The unique identifier of the team. in: path @@ -99907,9 +100074,9 @@ paths: description: Response content: application/json: - schema: *340 + schema: *342 examples: - default: *341 + default: *343 '404': *6 x-github: githubCloudOnly: false @@ -99936,7 +100103,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#update-a-team-legacy parameters: - - *681 + - *683 requestBody: required: true content: @@ -99999,16 +100166,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *340 + schema: *342 examples: - default: *341 + default: *343 '201': description: Response content: application/json: - schema: *340 + schema: *342 examples: - default: *341 + default: *343 '404': *6 '422': *15 '403': *29 @@ -100036,7 +100203,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#delete-a-team-legacy parameters: - - *681 + - *683 responses: '204': description: Response @@ -100065,7 +100232,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#list-pending-team-invitations-legacy parameters: - - *681 + - *683 - *17 - *19 responses: @@ -100075,11 +100242,11 @@ paths: application/json: schema: type: array - items: *237 + items: *239 examples: - default: *238 + default: *240 headers: - Link: *68 + Link: *70 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -100103,7 +100270,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#list-team-members-legacy parameters: - - *681 + - *683 - name: role description: Filters members returned by their role in the team. in: query @@ -100126,9 +100293,9 @@ paths: type: array items: *4 examples: - default: *71 + default: *73 headers: - Link: *68 + Link: *70 '404': *6 x-github: githubCloudOnly: false @@ -100154,8 +100321,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#get-team-member-legacy parameters: - - *681 - - *72 + - *683 + - *74 responses: '204': description: if user is a member @@ -100191,8 +100358,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#add-team-member-legacy parameters: - - *681 - - *72 + - *683 + - *74 responses: '204': description: Response @@ -100231,8 +100398,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#remove-team-member-legacy parameters: - - *681 - - *72 + - *683 + - *74 responses: '204': description: Response @@ -100268,16 +100435,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#get-team-membership-for-a-user-legacy parameters: - - *681 - - *72 + - *683 + - *74 responses: '200': description: Response content: application/json: - schema: *343 + schema: *345 examples: - response-if-user-is-a-team-maintainer: *682 + response-if-user-is-a-team-maintainer: *684 '404': *6 x-github: githubCloudOnly: false @@ -100310,8 +100477,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#add-or-update-team-membership-for-a-user-legacy parameters: - - *681 - - *72 + - *683 + - *74 requestBody: required: false content: @@ -100336,9 +100503,9 @@ paths: description: Response content: application/json: - schema: *343 + schema: *345 examples: - response-if-users-membership-with-team-is-now-pending: *683 + response-if-users-membership-with-team-is-now-pending: *685 '403': description: Forbidden if team synchronization is set up '422': @@ -100372,8 +100539,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#remove-team-membership-for-a-user-legacy parameters: - - *681 - - *72 + - *683 + - *74 responses: '204': description: Response @@ -100400,7 +100567,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-team-repositories-legacy parameters: - - *681 + - *683 - *17 - *19 responses: @@ -100410,11 +100577,11 @@ paths: application/json: schema: type: array - items: *159 + items: *161 examples: - default: *267 + default: *269 headers: - Link: *68 + Link: *70 '404': *6 x-github: githubCloudOnly: false @@ -100442,15 +100609,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-repository-legacy parameters: - - *681 - - *344 - - *345 + - *683 + - *346 + - *347 responses: '200': description: Alternative response with extra repository information content: application/json: - schema: *684 + schema: *686 examples: alternative-response-with-extra-repository-information: value: @@ -100607,9 +100774,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#add-or-update-team-repository-permissions-legacy parameters: - - *681 - - *344 - - *345 + - *683 + - *346 + - *347 requestBody: required: false content: @@ -100659,9 +100826,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#remove-a-repository-from-a-team-legacy parameters: - - *681 - - *344 - - *345 + - *683 + - *346 + - *347 responses: '204': description: Response @@ -100686,7 +100853,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-child-teams-legacy parameters: - - *681 + - *683 - *17 - *19 responses: @@ -100696,11 +100863,11 @@ paths: application/json: schema: type: array - items: *195 + items: *197 examples: - response-if-child-teams-exist: *685 + response-if-child-teams-exist: *687 headers: - Link: *68 + Link: *70 '404': *6 '403': *29 '422': *15 @@ -100731,7 +100898,7 @@ paths: application/json: schema: oneOf: - - &687 + - &689 title: Private User description: Private User type: object @@ -100934,7 +101101,7 @@ paths: - private_gists - total_private_repos - two_factor_authentication - - *686 + - *688 examples: response-with-public-and-private-profile-information: summary: Response with public and private profile information @@ -101087,7 +101254,7 @@ paths: description: Response content: application/json: - schema: *687 + schema: *689 examples: default: value: @@ -101166,7 +101333,7 @@ paths: type: array items: *4 examples: - default: *71 + default: *73 '304': *37 '404': *6 '403': *29 @@ -101189,7 +101356,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/blocking#check-if-a-user-is-blocked-by-the-authenticated-user parameters: - - *72 + - *74 responses: '204': description: If the user is blocked @@ -101217,7 +101384,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/blocking#block-a-user parameters: - - *72 + - *74 responses: '204': description: Response @@ -101241,7 +101408,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/blocking#unblock-a-user parameters: - - *72 + - *74 responses: '204': description: Response @@ -101290,9 +101457,9 @@ paths: type: integer codespaces: type: array - items: *248 + items: *250 examples: - default: *249 + default: *251 '304': *37 '500': *55 '401': *25 @@ -101431,21 +101598,21 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *248 + schema: *250 examples: - default: *465 + default: *467 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *248 + schema: *250 examples: - default: *465 + default: *467 '401': *25 '403': *29 '404': *6 - '503': *120 + '503': *122 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -101485,7 +101652,7 @@ paths: type: integer secrets: type: array - items: &688 + items: &690 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -101525,9 +101692,9 @@ paths: - visibility - selected_repositories_url examples: - default: *468 + default: *470 headers: - Link: *68 + Link: *70 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -101595,13 +101762,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/secrets#get-a-secret-for-the-authenticated-user parameters: - - *167 + - *169 responses: '200': description: Response content: application/json: - schema: *688 + schema: *690 examples: default: value: @@ -101631,7 +101798,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/secrets#create-or-update-a-secret-for-the-authenticated-user parameters: - - *167 + - *169 requestBody: required: true content: @@ -101676,7 +101843,7 @@ paths: description: Response after successfully creating a secret content: application/json: - schema: *168 + schema: *170 examples: default: value: @@ -101704,7 +101871,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/secrets#delete-a-secret-for-the-authenticated-user parameters: - - *167 + - *169 responses: '204': description: Response @@ -101729,7 +101896,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/secrets#list-selected-repositories-for-a-user-secret parameters: - - *167 + - *169 responses: '200': description: Response @@ -101745,9 +101912,9 @@ paths: type: integer repositories: type: array - items: *159 + items: *161 examples: - default: *196 + default: *198 '401': *25 '403': *29 '404': *6 @@ -101772,7 +101939,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/secrets#set-selected-repositories-for-a-user-secret parameters: - - *167 + - *169 requestBody: required: true content: @@ -101826,7 +101993,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/secrets#add-a-selected-repository-to-a-user-secret parameters: - - *167 + - *169 - name: repository_id in: path required: true @@ -101859,7 +102026,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/secrets#remove-a-selected-repository-from-a-user-secret parameters: - - *167 + - *169 - name: repository_id in: path required: true @@ -101891,15 +102058,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#get-a-codespace-for-the-authenticated-user parameters: - - *250 + - *252 responses: '200': description: Response content: application/json: - schema: *248 + schema: *250 examples: - default: *465 + default: *467 '304': *37 '500': *55 '401': *25 @@ -101925,7 +102092,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#update-a-codespace-for-the-authenticated-user parameters: - - *250 + - *252 requestBody: required: false content: @@ -101955,9 +102122,9 @@ paths: description: Response content: application/json: - schema: *248 + schema: *250 examples: - default: *465 + default: *467 '401': *25 '403': *29 '404': *6 @@ -101979,7 +102146,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#delete-a-codespace-for-the-authenticated-user parameters: - - *250 + - *252 responses: '202': *39 '304': *37 @@ -102008,13 +102175,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#export-a-codespace-for-the-authenticated-user parameters: - - *250 + - *252 responses: '202': description: Response content: application/json: - schema: &689 + schema: &691 type: object title: Fetches information about an export of a codespace. description: An export of a codespace. Also, latest export details @@ -102055,7 +102222,7 @@ paths: description: Web url for the exported branch example: https://github.com/octocat/hello-world/tree/:branch examples: - default: &690 + default: &692 value: state: succeeded completed_at: '2022-01-01T14:59:22Z' @@ -102087,7 +102254,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#get-details-about-a-codespace-export parameters: - - *250 + - *252 - name: export_id in: path required: true @@ -102100,9 +102267,9 @@ paths: description: Response content: application/json: - schema: *689 + schema: *691 examples: - default: *690 + default: *692 '404': *6 x-github: githubCloudOnly: false @@ -102123,7 +102290,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/machines#list-machine-types-for-a-codespace parameters: - - *250 + - *252 responses: '200': description: Response @@ -102139,9 +102306,9 @@ paths: type: integer machines: type: array - items: *691 + items: *693 examples: - default: *692 + default: *694 '304': *37 '500': *55 '401': *25 @@ -102170,7 +102337,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#create-a-repository-from-an-unpublished-codespace parameters: - - *250 + - *252 requestBody: required: true content: @@ -102220,13 +102387,13 @@ paths: nullable: true owner: *4 billable_owner: *4 - repository: *347 + repository: *349 machine: type: object title: Codespace machine description: A description of the machine powering a codespace. - properties: *466 - required: *467 + properties: *468 + required: *469 nullable: true devcontainer_path: description: Path to devcontainer.json from repo root used to @@ -103000,15 +103167,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#start-a-codespace-for-the-authenticated-user parameters: - - *250 + - *252 responses: '200': description: Response content: application/json: - schema: *248 + schema: *250 examples: - default: *465 + default: *467 '304': *37 '500': *55 '400': *14 @@ -103040,15 +103207,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#stop-a-codespace-for-the-authenticated-user parameters: - - *250 + - *252 responses: '200': description: Response content: application/json: - schema: *248 + schema: *250 examples: - default: *465 + default: *467 '500': *55 '401': *25 '403': *29 @@ -103078,9 +103245,9 @@ paths: application/json: schema: type: array - items: *261 + items: *263 examples: - default: &703 + default: &705 value: - id: 197 name: hello_docker @@ -103181,7 +103348,7 @@ paths: application/json: schema: type: array - items: &693 + items: &695 title: Email description: Email type: object @@ -103246,16 +103413,16 @@ paths: application/json: schema: type: array - items: *693 + items: *695 examples: - default: &705 + default: &707 value: - email: octocat@github.com verified: true primary: true visibility: public headers: - Link: *68 + Link: *70 '304': *37 '404': *6 '403': *29 @@ -103323,7 +103490,7 @@ paths: application/json: schema: type: array - items: *693 + items: *695 examples: default: value: @@ -103433,9 +103600,9 @@ paths: type: array items: *4 examples: - default: *71 + default: *73 headers: - Link: *68 + Link: *70 '304': *37 '403': *29 '401': *25 @@ -103466,9 +103633,9 @@ paths: type: array items: *4 examples: - default: *71 + default: *73 headers: - Link: *68 + Link: *70 '304': *37 '403': *29 '401': *25 @@ -103488,7 +103655,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/followers#check-if-a-person-is-followed-by-the-authenticated-user parameters: - - *72 + - *74 responses: '204': description: if the person is followed by the authenticated user @@ -103518,7 +103685,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/followers#follow-a-user parameters: - - *72 + - *74 responses: '204': description: Response @@ -103543,7 +103710,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/followers#unfollow-a-user parameters: - - *72 + - *74 responses: '204': description: Response @@ -103579,7 +103746,7 @@ paths: application/json: schema: type: array - items: &694 + items: &696 title: GPG Key description: A unique encryption key type: object @@ -103710,7 +103877,7 @@ paths: - subkeys - revoked examples: - default: &721 + default: &723 value: - id: 3 name: Octocat's GPG Key @@ -103742,7 +103909,7 @@ paths: revoked: false raw_key: string headers: - Link: *68 + Link: *70 '304': *37 '404': *6 '403': *29 @@ -103795,9 +103962,9 @@ paths: description: Response content: application/json: - schema: *694 + schema: *696 examples: - default: &695 + default: &697 value: id: 3 name: Octocat's GPG Key @@ -103854,7 +104021,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/gpg-keys#get-a-gpg-key-for-the-authenticated-user parameters: - - &696 + - &698 name: gpg_key_id description: The unique identifier of the GPG key. in: path @@ -103866,9 +104033,9 @@ paths: description: Response content: application/json: - schema: *694 + schema: *696 examples: - default: *695 + default: *697 '404': *6 '304': *37 '403': *29 @@ -103891,7 +104058,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/gpg-keys#delete-a-gpg-key-for-the-authenticated-user parameters: - - *696 + - *698 responses: '204': description: Response @@ -104034,7 +104201,7 @@ paths: suspended_at: suspended_by: headers: - Link: *68 + Link: *70 '304': *37 '403': *29 '401': *25 @@ -104082,11 +104249,11 @@ paths: type: array items: allOf: - - *80 + - *82 examples: - default: *151 + default: *153 headers: - Link: *68 + Link: *70 '404': *6 '403': *29 '304': *37 @@ -104110,7 +104277,7 @@ paths: url: https://docs.github.com/rest/apps/installations#add-a-repository-to-an-app-installation parameters: - *23 - - *148 + - *150 responses: '204': description: Response @@ -104136,7 +104303,7 @@ paths: url: https://docs.github.com/rest/apps/installations#remove-a-repository-from-an-app-installation parameters: - *23 - - *148 + - *150 responses: '204': description: Response @@ -104170,12 +104337,12 @@ paths: application/json: schema: anyOf: - - *235 + - *237 - type: object properties: {} additionalProperties: false examples: - default: *236 + default: *238 '204': description: Response when there are no restrictions x-github: @@ -104199,7 +104366,7 @@ paths: required: true content: application/json: - schema: *544 + schema: *546 examples: default: value: @@ -104210,7 +104377,7 @@ paths: description: Response content: application/json: - schema: *235 + schema: *237 examples: default: value: @@ -104291,7 +104458,7 @@ paths: - closed - all default: open - - *246 + - *248 - name: sort description: What to sort results by. in: query @@ -104304,7 +104471,7 @@ paths: - comments default: created - *62 - - *93 + - *95 - *17 - *19 responses: @@ -104314,11 +104481,11 @@ paths: application/json: schema: type: array - items: *86 + items: *88 examples: - default: *247 + default: *249 headers: - Link: *68 + Link: *70 '404': *6 '304': *37 x-github: @@ -104349,7 +104516,7 @@ paths: application/json: schema: type: array - items: &697 + items: &699 title: Key description: Key type: object @@ -104400,7 +104567,7 @@ paths: verified: false read_only: false headers: - Link: *68 + Link: *70 '304': *37 '404': *6 '403': *29 @@ -104450,9 +104617,9 @@ paths: description: Response content: application/json: - schema: *697 + schema: *699 examples: - default: &698 + default: &700 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -104485,15 +104652,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/keys#get-a-public-ssh-key-for-the-authenticated-user parameters: - - *580 + - *582 responses: '200': description: Response content: application/json: - schema: *697 + schema: *699 examples: - default: *698 + default: *700 '404': *6 '304': *37 '403': *29 @@ -104516,7 +104683,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/keys#delete-a-public-ssh-key-for-the-authenticated-user parameters: - - *580 + - *582 responses: '204': description: Response @@ -104549,7 +104716,7 @@ paths: application/json: schema: type: array - items: &699 + items: &701 title: User Marketplace Purchase description: User Marketplace Purchase type: object @@ -104606,7 +104773,7 @@ paths: - id - type - login - plan: *104 + plan: *106 required: - billing_cycle - next_billing_date @@ -104617,7 +104784,7 @@ paths: - account - plan examples: - default: &700 + default: &702 value: - billing_cycle: monthly next_billing_date: '2017-11-11T00:00:00Z' @@ -104650,7 +104817,7 @@ paths: - Up to 25 private repositories - 11 concurrent builds headers: - Link: *68 + Link: *70 '304': *37 '401': *25 '404': *6 @@ -104679,11 +104846,11 @@ paths: application/json: schema: type: array - items: *699 + items: *701 examples: - default: *700 + default: *702 headers: - Link: *68 + Link: *70 '304': *37 '401': *25 x-github: @@ -104721,7 +104888,7 @@ paths: application/json: schema: type: array - items: *252 + items: *254 examples: default: value: @@ -104804,7 +104971,7 @@ paths: type: User site_admin: false headers: - Link: *68 + Link: *70 '304': *37 '403': *29 '401': *25 @@ -104829,13 +104996,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#get-an-organization-membership-for-the-authenticated-user parameters: - - *76 + - *78 responses: '200': description: Response content: application/json: - schema: *252 + schema: *254 examples: default: value: @@ -104897,7 +105064,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#update-an-organization-membership-for-the-authenticated-user parameters: - - *76 + - *78 requestBody: required: true content: @@ -104922,7 +105089,7 @@ paths: description: Response content: application/json: - schema: *252 + schema: *254 examples: default: value: @@ -104994,7 +105161,7 @@ paths: application/json: schema: type: array - items: *254 + items: *256 examples: default: value: @@ -105147,7 +105314,7 @@ paths: updated_at: '2015-07-06T15:33:38-07:00' node_id: MDQ6VXNlcjE= headers: - Link: *68 + Link: *70 '304': *37 '403': *29 '401': *25 @@ -105247,7 +105414,7 @@ paths: description: Response content: application/json: - schema: *254 + schema: *256 examples: default: value: @@ -105427,7 +105594,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/users#get-a-user-migration-status parameters: - - *255 + - *257 - name: exclude in: query required: false @@ -105440,7 +105607,7 @@ paths: description: Response content: application/json: - schema: *254 + schema: *256 examples: default: value: @@ -105634,7 +105801,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/users#download-a-user-migration-archive parameters: - - *255 + - *257 responses: '302': description: Response @@ -105660,7 +105827,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/users#delete-a-user-migration-archive parameters: - - *255 + - *257 responses: '204': description: Response @@ -105689,8 +105856,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/users#unlock-a-user-repository parameters: - - *255 - - *701 + - *257 + - *703 responses: '204': description: Response @@ -105714,7 +105881,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/users#list-repositories-for-a-user-migration parameters: - - *255 + - *257 - *17 - *19 responses: @@ -105724,11 +105891,11 @@ paths: application/json: schema: type: array - items: *159 + items: *161 examples: - default: *267 + default: *269 headers: - Link: *68 + Link: *70 '404': *6 x-github: githubCloudOnly: false @@ -105779,11 +105946,11 @@ paths: application/json: schema: type: array - items: *74 + items: *76 examples: - default: *117 + default: *119 headers: - Link: *68 + Link: *70 '304': *37 '403': *29 '401': *25 @@ -105823,7 +105990,7 @@ paths: - docker - nuget - container - - *702 + - *704 - *19 - *17 responses: @@ -105833,10 +106000,10 @@ paths: application/json: schema: type: array - items: *261 + items: *263 examples: - default: *703 - '400': *704 + default: *705 + '400': *706 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -105856,16 +106023,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-for-the-authenticated-user parameters: - - *263 - - *264 + - *265 + - *266 responses: '200': description: Response content: application/json: - schema: *261 + schema: *263 examples: - default: &722 + default: &724 value: id: 40201 name: octo-name @@ -105978,8 +106145,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-a-package-for-the-authenticated-user parameters: - - *263 - - *264 + - *265 + - *266 responses: '204': description: Response @@ -106009,8 +106176,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-a-package-for-the-authenticated-user parameters: - - *263 - - *264 + - *265 + - *266 - name: token description: package token schema: @@ -106042,8 +106209,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#list-package-versions-for-a-package-owned-by-the-authenticated-user parameters: - - *263 - - *264 + - *265 + - *266 - *19 - *17 - name: state @@ -106063,7 +106230,7 @@ paths: application/json: schema: type: array - items: *265 + items: *267 examples: default: value: @@ -106112,15 +106279,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-version-for-the-authenticated-user parameters: - - *263 - - *264 + - *265 - *266 + - *268 responses: '200': description: Response content: application/json: - schema: *265 + schema: *267 examples: default: value: @@ -106156,9 +106323,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-a-package-version-for-the-authenticated-user parameters: - - *263 - - *264 + - *265 - *266 + - *268 responses: '204': description: Response @@ -106188,9 +106355,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-a-package-version-for-the-authenticated-user parameters: - - *263 - - *264 + - *265 - *266 + - *268 responses: '204': description: Response @@ -106227,11 +106394,11 @@ paths: application/json: schema: type: array - items: *693 + items: *695 examples: - default: *705 + default: *707 headers: - Link: *68 + Link: *70 '304': *37 '404': *6 '403': *29 @@ -106340,9 +106507,9 @@ paths: application/json: schema: type: array - items: *80 + items: *82 examples: - default: &712 + default: &714 summary: Default response value: - id: 1296269 @@ -106463,7 +106630,7 @@ paths: open_issues: 1 watchers: 1 headers: - Link: *68 + Link: *70 '422': *15 '304': *37 '403': *29 @@ -106646,9 +106813,9 @@ paths: description: Response content: application/json: - schema: *347 + schema: *349 examples: - default: *349 + default: *351 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -106692,11 +106859,11 @@ paths: application/json: schema: type: array - items: *546 + items: *548 examples: - default: *706 + default: *708 headers: - Link: *68 + Link: *70 '304': *37 '404': *6 '403': *29 @@ -106717,7 +106884,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#accept-a-repository-invitation parameters: - - *239 + - *241 responses: '204': description: Response @@ -106746,7 +106913,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#decline-a-repository-invitation parameters: - - *239 + - *241 responses: '204': description: Response @@ -106779,7 +106946,7 @@ paths: application/json: schema: type: array - items: &707 + items: &709 title: Social account description: Social media account type: object @@ -106794,12 +106961,12 @@ paths: - provider - url examples: - default: &708 + default: &710 value: - provider: twitter url: https://twitter.com/github headers: - Link: *68 + Link: *70 '304': *37 '404': *6 '403': *29 @@ -106856,9 +107023,9 @@ paths: application/json: schema: type: array - items: *707 + items: *709 examples: - default: *708 + default: *710 '422': *15 '304': *37 '404': *6 @@ -106945,7 +107112,7 @@ paths: application/json: schema: type: array - items: &709 + items: &711 title: SSH Signing Key description: A public SSH key used to sign Git commits type: object @@ -106965,7 +107132,7 @@ paths: - title - created_at examples: - default: &740 + default: &742 value: - id: 2 key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -106976,7 +107143,7 @@ paths: title: ssh-rsa AAAAB3NzaC1yc2EAAB created_at: '2020-07-11T21:31:57Z' headers: - Link: *68 + Link: *70 '304': *37 '404': *6 '403': *29 @@ -107029,9 +107196,9 @@ paths: description: Response content: application/json: - schema: *709 + schema: *711 examples: - default: &710 + default: &712 value: id: 2 key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -107061,7 +107228,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/ssh-signing-keys#get-an-ssh-signing-key-for-the-authenticated-user parameters: - - &711 + - &713 name: ssh_signing_key_id description: The unique identifier of the SSH signing key. in: path @@ -107073,9 +107240,9 @@ paths: description: Response content: application/json: - schema: *709 + schema: *711 examples: - default: *710 + default: *712 '404': *6 '304': *37 '403': *29 @@ -107098,7 +107265,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/ssh-signing-keys#delete-an-ssh-signing-key-for-the-authenticated-user parameters: - - *711 + - *713 responses: '204': description: Response @@ -107127,7 +107294,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#list-repositories-starred-by-the-authenticated-user parameters: - - &741 + - &743 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 @@ -107150,13 +107317,13 @@ paths: application/json: schema: type: array - items: *80 + items: *82 examples: - default-response: *712 + default-response: *714 application/vnd.github.v3.star+json: schema: type: array - items: &742 + items: &744 title: Starred Repository description: Starred Repository type: object @@ -107164,7 +107331,7 @@ paths: starred_at: type: string format: date-time - repo: *80 + repo: *82 required: - starred_at - repo @@ -107292,7 +107459,7 @@ paths: open_issues: 1 watchers: 1 headers: - Link: *68 + Link: *70 '304': *37 '403': *29 '401': *25 @@ -107312,8 +107479,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#check-if-a-repository-is-starred-by-the-authenticated-user parameters: - - *344 - - *345 + - *346 + - *347 responses: '204': description: Response if this repository is starred by you @@ -107341,8 +107508,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#star-a-repository-for-the-authenticated-user parameters: - - *344 - - *345 + - *346 + - *347 responses: '204': description: Response @@ -107366,8 +107533,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#unstar-a-repository-for-the-authenticated-user parameters: - - *344 - - *345 + - *346 + - *347 responses: '204': description: Response @@ -107400,11 +107567,11 @@ paths: application/json: schema: type: array - items: *159 + items: *161 examples: - default: *267 + default: *269 headers: - Link: *68 + Link: *70 '304': *37 '403': *29 '401': *25 @@ -107439,7 +107606,7 @@ paths: application/json: schema: type: array - items: *340 + items: *342 examples: default: value: @@ -107490,7 +107657,7 @@ paths: updated_at: '2017-08-17T12:37:15Z' type: Organization headers: - Link: *68 + Link: *70 '304': *37 '404': *6 '403': *29 @@ -107517,7 +107684,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/users#get-a-user-using-their-id parameters: - - *106 + - *108 responses: '200': description: Response @@ -107525,10 +107692,10 @@ paths: application/json: schema: oneOf: - - *687 - - *686 + - *689 + - *688 examples: - default-response: &716 + default-response: &718 summary: Default response value: login: octocat @@ -107563,7 +107730,7 @@ paths: following: 0 created_at: '2008-01-14T04:33:35Z' updated_at: '2008-01-14T04:33:35Z' - response-with-git-hub-plan-information: &717 + response-with-git-hub-plan-information: &719 summary: Response with GitHub plan information value: login: octocat @@ -107620,14 +107787,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/drafts#create-draft-item-for-user-owned-project parameters: - - &714 + - &716 name: user_id description: The unique identifier of the user. in: path required: true schema: type: string - - *279 + - *281 requestBody: required: true description: Details of the draft item to create in the project. @@ -107661,9 +107828,9 @@ paths: description: Response content: application/json: - schema: *285 + schema: *287 examples: - draft_issue: *286 + draft_issue: *288 '304': *37 '403': *29 '401': *25 @@ -107686,7 +107853,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/users#list-users parameters: - - *713 + - *715 - *17 responses: '200': @@ -107697,7 +107864,7 @@ paths: type: array items: *4 examples: - default: *71 + default: *73 headers: Link: example: ; rel="next" @@ -107721,8 +107888,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/views#create-a-view-for-a-user-owned-project parameters: - - *714 - - *279 + - *716 + - *281 requestBody: required: true content: @@ -107793,17 +107960,17 @@ paths: description: Response for creating a view in a user-owned project. content: application/json: - schema: *715 + schema: *717 examples: table_view: summary: Response for creating a table view - value: *290 + value: *292 board_view: summary: Response for creating a board view with filter - value: *290 + value: *292 roadmap_view: summary: Response for creating a roadmap view - value: *290 + value: *292 '304': *37 '403': *29 '401': *25 @@ -107837,7 +108004,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/users#get-a-user parameters: - - *72 + - *74 responses: '200': description: Response @@ -107845,11 +108012,11 @@ paths: application/json: schema: oneOf: - - *687 - - *686 + - *689 + - *688 examples: - default-response: *716 - response-with-git-hub-plan-information: *717 + default-response: *718 + response-with-git-hub-plan-information: *719 '404': *6 x-github: githubCloudOnly: false @@ -107875,7 +108042,7 @@ paths: - *17 - *47 - *48 - - *72 + - *74 requestBody: required: true content: @@ -107899,8 +108066,8 @@ paths: required: - subject_digests examples: - default: *718 - withPredicateType: *719 + default: *720 + withPredicateType: *721 responses: '200': description: Response @@ -107953,7 +108120,7 @@ paths: description: The cursor to the previous page. description: Information about the current page. examples: - default: *720 + default: *722 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -107986,7 +108153,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/attestations#delete-attestations-in-bulk parameters: - - *72 + - *74 requestBody: required: true content: @@ -108051,7 +108218,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/attestations#delete-attestations-by-subject-digest parameters: - - *72 + - *74 - name: subject_digest description: Subject Digest in: path @@ -108082,7 +108249,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/attestations#delete-attestations-by-id parameters: - - *72 + - *74 - name: attestation_id description: Attestation ID in: path @@ -108120,7 +108287,7 @@ paths: - *17 - *47 - *48 - - *72 + - *74 - name: subject_digest description: Subject Digest in: path @@ -108173,12 +108340,12 @@ paths: initiator: type: string examples: - default: *405 + default: *407 '201': description: Response content: application/json: - schema: *168 + schema: *170 examples: default: value: @@ -108218,7 +108385,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-list-of-conflicting-packages-during-docker-migration-for-user parameters: - - *72 + - *74 responses: '200': description: Response @@ -108226,9 +108393,9 @@ paths: application/json: schema: type: array - items: *261 + items: *263 examples: - default: *703 + default: *705 '403': *29 '401': *25 x-github: @@ -108251,7 +108418,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-events-for-the-authenticated-user parameters: - - *72 + - *74 - *17 - *19 responses: @@ -108261,7 +108428,7 @@ paths: application/json: schema: type: array - items: *112 + items: *114 examples: default: value: @@ -108323,8 +108490,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-organization-events-for-the-authenticated-user parameters: - - *72 - - *76 + - *74 + - *78 - *17 - *19 responses: @@ -108334,7 +108501,7 @@ paths: application/json: schema: type: array - items: *112 + items: *114 examples: default: value: @@ -108411,7 +108578,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-public-events-for-a-user parameters: - - *72 + - *74 - *17 - *19 responses: @@ -108421,7 +108588,7 @@ paths: application/json: schema: type: array - items: *112 + items: *114 examples: default: value: @@ -108479,7 +108646,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/followers#list-followers-of-a-user parameters: - - *72 + - *74 - *17 - *19 responses: @@ -108491,9 +108658,9 @@ paths: type: array items: *4 examples: - default: *71 + default: *73 headers: - Link: *68 + Link: *70 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -108510,7 +108677,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/followers#list-the-people-a-user-follows parameters: - - *72 + - *74 - *17 - *19 responses: @@ -108522,9 +108689,9 @@ paths: type: array items: *4 examples: - default: *71 + default: *73 headers: - Link: *68 + Link: *70 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -108541,7 +108708,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/followers#check-if-a-user-follows-another-user parameters: - - *72 + - *74 - name: target_user in: path required: true @@ -108568,8 +108735,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#list-gists-for-a-user parameters: - - *72 - - *93 + - *74 + - *95 - *17 - *19 responses: @@ -108579,11 +108746,11 @@ paths: application/json: schema: type: array - items: *94 + items: *96 examples: - default: *95 + default: *97 headers: - Link: *68 + Link: *70 '422': *15 x-github: githubCloudOnly: false @@ -108602,7 +108769,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/gpg-keys#list-gpg-keys-for-a-user parameters: - - *72 + - *74 - *17 - *19 responses: @@ -108612,11 +108779,11 @@ paths: application/json: schema: type: array - items: *694 + items: *696 examples: - default: *721 + default: *723 headers: - Link: *68 + Link: *70 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -108638,7 +108805,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/users#get-contextual-information-for-a-user parameters: - - *72 + - *74 - name: subject_type description: Identifies which additional information you'd like to receive about the person's hovercard. Can be `organization`, `repository`, `issue`, @@ -108710,7 +108877,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/apps/apps#get-a-user-installation-for-the-authenticated-app parameters: - - *72 + - *74 responses: '200': description: Response @@ -108718,7 +108885,7 @@ paths: application/json: schema: *22 examples: - default: *543 + default: *545 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -108736,7 +108903,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/keys#list-public-keys-for-a-user parameters: - - *72 + - *74 - *17 - *19 responses: @@ -108771,7 +108938,7 @@ paths: - id: 1 key: ssh-rsa AAA... headers: - Link: *68 + Link: *70 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -108791,7 +108958,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#list-organizations-for-a-user parameters: - - *72 + - *74 - *17 - *19 responses: @@ -108801,11 +108968,11 @@ paths: application/json: schema: type: array - items: *74 + items: *76 examples: - default: *117 + default: *119 headers: - Link: *68 + Link: *70 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -108842,8 +109009,8 @@ paths: - docker - nuget - container - - *702 - - *72 + - *704 + - *74 - *19 - *17 responses: @@ -108853,12 +109020,12 @@ paths: application/json: schema: type: array - items: *261 + items: *263 examples: - default: *703 + default: *705 '403': *29 '401': *25 - '400': *704 + '400': *706 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -108878,17 +109045,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-for-a-user parameters: - - *263 - - *264 - - *72 + - *265 + - *266 + - *74 responses: '200': description: Response content: application/json: - schema: *261 + schema: *263 examples: - default: *722 + default: *724 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -108909,9 +109076,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-a-package-for-a-user parameters: - - *263 - - *264 - - *72 + - *265 + - *266 + - *74 responses: '204': description: Response @@ -108943,9 +109110,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-a-package-for-a-user parameters: - - *263 - - *264 - - *72 + - *265 + - *266 + - *74 - name: token description: package token schema: @@ -108977,9 +109144,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#list-package-versions-for-a-package-owned-by-a-user parameters: - - *263 - - *264 - - *72 + - *265 + - *266 + - *74 responses: '200': description: Response @@ -108987,7 +109154,7 @@ paths: application/json: schema: type: array - items: *265 + items: *267 examples: default: value: @@ -109045,16 +109212,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-version-for-a-user parameters: - - *263 - - *264 + - *265 - *266 - - *72 + - *268 + - *74 responses: '200': description: Response content: application/json: - schema: *265 + schema: *267 examples: default: value: @@ -109089,10 +109256,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-package-version-for-a-user parameters: - - *263 - - *264 - - *72 + - *265 - *266 + - *74 + - *268 responses: '204': description: Response @@ -109124,10 +109291,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-package-version-for-a-user parameters: - - *263 - - *264 - - *72 + - *265 - *266 + - *74 + - *268 responses: '204': description: Response @@ -109151,7 +109318,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/projects#list-projects-for-user parameters: - - *72 + - *74 - name: q description: Limit results to projects of the specified type. in: query @@ -109168,11 +109335,11 @@ paths: application/json: schema: type: array - items: *277 + items: *279 examples: - default: *278 + default: *280 headers: - Link: *68 + Link: *70 '304': *37 '403': *29 '401': *25 @@ -109192,18 +109359,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/projects#get-project-for-user parameters: - - *279 - - *72 + - *281 + - *74 responses: '200': description: Response content: application/json: - schema: *277 + schema: *279 examples: - default: *278 + default: *280 headers: - Link: *68 + Link: *70 '304': *37 '403': *29 '401': *25 @@ -109223,8 +109390,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/fields#list-project-fields-for-user parameters: - - *279 - - *72 + - *281 + - *74 - *17 - *47 - *48 @@ -109235,11 +109402,11 @@ paths: application/json: schema: type: array - items: *283 + items: *285 examples: - default: *723 + default: *725 headers: - Link: *68 + Link: *70 '304': *37 '403': *29 '401': *25 @@ -109258,8 +109425,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/fields#add-field-to-user-owned-project parameters: - - *72 - - *279 + - *74 + - *281 requestBody: required: true content: @@ -109297,7 +109464,7 @@ paths: description: The options available for single select fields. At least one option must be provided when creating a single select field. - items: *724 + items: *726 required: - name - data_type @@ -109313,7 +109480,7 @@ paths: description: The field's data type. enum: - iteration - iteration_configuration: *725 + iteration_configuration: *727 required: - name - data_type @@ -109335,20 +109502,20 @@ paths: value: name: Due date data_type: date - single_select_field: *726 - iteration_field: *727 + single_select_field: *728 + iteration_field: *729 responses: '201': description: Response content: application/json: - schema: *283 + schema: *285 examples: - text_field: *728 - number_field: *729 - date_field: *730 - single_select_field: *731 - iteration_field: *732 + text_field: *730 + number_field: *731 + date_field: *732 + single_select_field: *733 + iteration_field: *734 '304': *37 '403': *29 '401': *25 @@ -109369,19 +109536,19 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/fields#get-project-field-for-user parameters: - - *279 - - *733 - - *72 + - *281 + - *735 + - *74 responses: '200': description: Response content: application/json: - schema: *283 + schema: *285 examples: - default: *734 + default: *736 headers: - Link: *68 + Link: *70 '304': *37 '403': *29 '401': *25 @@ -109402,8 +109569,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#list-items-for-a-user-owned-project parameters: - - *279 - - *72 + - *281 + - *74 - *47 - *48 - *17 @@ -109435,11 +109602,11 @@ paths: application/json: schema: type: array - items: *287 + items: *289 examples: - default: *288 + default: *290 headers: - Link: *68 + Link: *70 '304': *37 '403': *29 '401': *25 @@ -109458,8 +109625,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#add-item-to-user-owned-project parameters: - - *72 - - *279 + - *74 + - *281 requestBody: required: true description: Details of the item to add to the project. You can specify either @@ -109529,22 +109696,22 @@ paths: description: Response content: application/json: - schema: *285 + schema: *287 examples: issue_with_id: summary: Response for adding an issue using its unique ID - value: *286 + value: *288 pull_request_with_id: summary: Response for adding a pull request using its unique ID - value: *286 + value: *288 issue_with_nwo: summary: Response for adding an issue using repository owner, name, and issue number - value: *286 + value: *288 pull_request_with_nwo: summary: Response for adding a pull request using repository owner, name, and PR number - value: *286 + value: *288 '304': *37 '403': *29 '401': *25 @@ -109564,9 +109731,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#get-an-item-for-a-user-owned-project parameters: - - *279 - - *72 - - *289 + - *281 + - *74 + - *291 - name: fields description: |- Limit results to specific fields, by their IDs. If not specified, the title field will be returned. @@ -109586,11 +109753,11 @@ paths: description: Response content: application/json: - schema: *287 + schema: *289 examples: - default: *288 + default: *290 headers: - Link: *68 + Link: *70 '304': *37 '403': *29 '401': *25 @@ -109609,9 +109776,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#update-project-item-for-user parameters: - - *279 - - *72 - - *289 + - *281 + - *74 + - *291 requestBody: required: true description: Field updates to apply to the project item. Only text, number, @@ -109681,13 +109848,13 @@ paths: description: Response content: application/json: - schema: *287 + schema: *289 examples: - text_field: *288 - number_field: *288 - date_field: *288 - single_select_field: *288 - iteration_field: *288 + text_field: *290 + number_field: *290 + date_field: *290 + single_select_field: *290 + iteration_field: *290 '401': *25 '403': *29 '404': *6 @@ -109707,9 +109874,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#delete-project-item-for-user parameters: - - *279 - - *72 - - *289 + - *281 + - *74 + - *291 responses: '204': description: Response @@ -109731,9 +109898,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#list-items-for-a-user-project-view parameters: - - *279 - - *72 - - *735 + - *281 + - *74 + - *737 - name: fields description: |- Limit results to specific fields, by their IDs. If not specified, the @@ -109759,11 +109926,11 @@ paths: application/json: schema: type: array - items: *287 + items: *289 examples: - default: *288 + default: *290 headers: - Link: *68 + Link: *70 '304': *37 '403': *29 '401': *25 @@ -109789,7 +109956,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-events-received-by-the-authenticated-user parameters: - - *72 + - *74 - *17 - *19 responses: @@ -109799,7 +109966,7 @@ paths: application/json: schema: type: array - items: *112 + items: *114 examples: default: value: @@ -109864,7 +110031,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-public-events-received-by-a-user parameters: - - *72 + - *74 - *17 - *19 responses: @@ -109874,7 +110041,7 @@ paths: application/json: schema: type: array - items: *112 + items: *114 examples: default: value: @@ -109937,7 +110104,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repositories-for-a-user parameters: - - *72 + - *74 - name: type description: Limit results to repositories of the specified type. in: query @@ -109980,11 +110147,11 @@ paths: application/json: schema: type: array - items: *159 + items: *161 examples: - default: *267 + default: *269 headers: - Link: *68 + Link: *70 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -110004,12 +110171,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/usage#get-billing-premium-request-usage-report-for-a-user parameters: - - *72 - - *122 + - *74 - *124 - - *123 - - *736 + - *126 - *125 + - *738 + - *127 responses: '200': description: Response when getting a billing premium request usage report @@ -110117,7 +110284,7 @@ paths: '403': *29 '404': *6 '500': *55 - '503': *120 + '503': *122 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -110137,10 +110304,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/usage#get-billing-usage-report-for-a-user parameters: - - *72 - - *122 - - *737 - - *123 + - *74 + - *124 + - *739 + - *125 responses: '200': description: Response when getting a billing usage report @@ -110211,7 +110378,7 @@ paths: '400': *14 '403': *29 '500': *55 - '503': *120 + '503': *122 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -110234,13 +110401,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/usage#get-billing-usage-summary-for-a-user parameters: - - *72 - - *122 + - *74 - *124 - - *123 - - *738 + - *126 - *125 - - *739 + - *740 + - *127 + - *741 responses: '200': description: Response when getting a billing usage summary @@ -110346,7 +110513,7 @@ paths: '403': *29 '404': *6 '500': *55 - '503': *120 + '503': *122 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -110364,7 +110531,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/social-accounts#list-social-accounts-for-a-user parameters: - - *72 + - *74 - *17 - *19 responses: @@ -110374,11 +110541,11 @@ paths: application/json: schema: type: array - items: *707 + items: *709 examples: - default: *708 + default: *710 headers: - Link: *68 + Link: *70 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -110396,7 +110563,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/ssh-signing-keys#list-ssh-signing-keys-for-a-user parameters: - - *72 + - *74 - *17 - *19 responses: @@ -110406,11 +110573,11 @@ paths: application/json: schema: type: array - items: *709 + items: *711 examples: - default: *740 + default: *742 headers: - Link: *68 + Link: *70 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -110432,8 +110599,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#list-repositories-starred-by-a-user parameters: - - *72 - - *741 + - *74 + - *743 - *62 - *17 - *19 @@ -110445,13 +110612,13 @@ paths: schema: anyOf: - type: array - items: *742 + items: *744 - type: array - items: *80 + items: *82 examples: - default-response: *712 + default-response: *714 headers: - Link: *68 + Link: *70 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -110468,7 +110635,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#list-repositories-watched-by-a-user parameters: - - *72 + - *74 - *17 - *19 responses: @@ -110478,11 +110645,11 @@ paths: application/json: schema: type: array - items: *159 + items: *161 examples: - default: *267 + default: *269 headers: - Link: *68 + Link: *70 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -110608,7 +110775,7 @@ x-webhooks: type: string enum: - disabled - enterprise: &743 + enterprise: &745 title: Enterprise description: |- An enterprise on GitHub. Webhook payloads contain the `enterprise` property when the webhook is configured @@ -110666,7 +110833,7 @@ x-webhooks: - created_at - updated_at - avatar_url - installation: &744 + installation: &746 title: Simple Installation description: |- The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured @@ -110685,7 +110852,7 @@ x-webhooks: required: - id - node_id - organization: &745 + organization: &747 title: Organization Simple description: |- A GitHub organization. Webhook payloads contain the `organization` property when the webhook is configured for an @@ -110745,13 +110912,13 @@ x-webhooks: - public_members_url - avatar_url - description - repository: &746 + repository: &748 title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: &778 + properties: &780 id: description: Unique identifier of the repository example: 42 @@ -110771,8 +110938,8 @@ x-webhooks: title: License Simple description: License Simple type: object - properties: *89 - required: *90 + properties: *91 + required: *92 nullable: true organization: title: Simple User @@ -111446,7 +111613,7 @@ x-webhooks: type: boolean description: Whether anonymous git access is enabled for this repository - required: &779 + required: &781 - archive_url - assignees_url - blobs_url @@ -111520,7 +111687,7 @@ x-webhooks: - watchers_count - created_at - updated_at - x-github-breaking-changes: &780 + x-github-breaking-changes: &782 - changeset: remove_use_squash_pr_title_as_default patch: properties: @@ -111611,10 +111778,10 @@ x-webhooks: type: string enum: - enabled - enterprise: *743 - installation: *744 - organization: *745 - repository: *746 + enterprise: *745 + installation: *746 + organization: *747 + repository: *748 sender: *4 required: - action @@ -111690,11 +111857,11 @@ x-webhooks: type: string enum: - created - enterprise: *743 - installation: *744 - organization: *745 - repository: *746 - rule: &747 + enterprise: *745 + installation: *746 + organization: *747 + repository: *748 + rule: &749 title: branch protection rule description: The branch protection rule. Includes a `name` and all the [branch protection settings](https://docs.github.com/github/administering-a-repository/defining-the-mergeability-of-pull-requests/about-protected-branches#about-branch-protection-settings) @@ -111917,11 +112084,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *743 - installation: *744 - organization: *745 - repository: *746 - rule: *747 + enterprise: *745 + installation: *746 + organization: *747 + repository: *748 + rule: *749 sender: *4 required: - action @@ -112104,11 +112271,11 @@ x-webhooks: - everyone required: - from - enterprise: *743 - installation: *744 - organization: *745 - repository: *746 - rule: *747 + enterprise: *745 + installation: *746 + organization: *747 + repository: *748 + rule: *749 sender: *4 required: - action @@ -112192,7 +112359,7 @@ x-webhooks: type: string enum: - completed - check_run: &749 + check_run: &751 title: CheckRun description: A check performed on the code of a given code change type: object @@ -112245,8 +112412,8 @@ x-webhooks: type: string pull_requests: type: array - items: *91 - repository: *159 + items: *93 + repository: *161 status: example: completed type: string @@ -112283,7 +112450,7 @@ x-webhooks: - skipped - timed_out - action_required - deployment: *748 + deployment: *750 details_url: example: https://example.com type: string @@ -112333,7 +112500,7 @@ x-webhooks: - annotations_url pull_requests: type: array - items: *91 + items: *93 started_at: example: '2018-05-04T01:14:52Z' type: string @@ -112368,10 +112535,10 @@ x-webhooks: - output - app - pull_requests - installation: *744 - enterprise: *743 - organization: *745 - repository: *746 + installation: *746 + enterprise: *745 + organization: *747 + repository: *748 sender: *4 required: - check_run @@ -112762,11 +112929,11 @@ x-webhooks: type: string enum: - created - check_run: *749 - installation: *744 - enterprise: *743 - organization: *745 - repository: *746 + check_run: *751 + installation: *746 + enterprise: *745 + organization: *747 + repository: *748 sender: *4 required: - check_run @@ -113160,11 +113327,11 @@ x-webhooks: type: string enum: - requested_action - check_run: *749 - installation: *744 - enterprise: *743 - organization: *745 - repository: *746 + check_run: *751 + installation: *746 + enterprise: *745 + organization: *747 + repository: *748 requested_action: description: The action requested by the user. type: object @@ -113567,11 +113734,11 @@ x-webhooks: type: string enum: - rerequested - check_run: *749 - installation: *744 - enterprise: *743 - organization: *745 - repository: *746 + check_run: *751 + installation: *746 + enterprise: *745 + organization: *747 + repository: *748 sender: *4 required: - check_run @@ -114541,10 +114708,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *743 - installation: *744 - organization: *745 - repository: *746 + enterprise: *745 + installation: *746 + organization: *747 + repository: *748 sender: *4 required: - action @@ -115233,10 +115400,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *743 - installation: *744 - organization: *745 - repository: *746 + enterprise: *745 + installation: *746 + organization: *747 + repository: *748 sender: *4 required: - action @@ -115919,10 +116086,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *743 - installation: *744 - organization: *745 - repository: *746 + enterprise: *745 + installation: *746 + organization: *747 + repository: *748 sender: *4 required: - action @@ -116088,7 +116255,7 @@ x-webhooks: required: - login - id - dismissed_comment: *437 + dismissed_comment: *439 dismissed_reason: description: The reason for dismissing or closing the alert. type: string @@ -116233,20 +116400,20 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: &750 + commit_oid: &752 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 - enterprise: *743 - installation: *744 - organization: *745 - ref: &751 + enterprise: *745 + installation: *746 + organization: *747 + ref: &753 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 - repository: *746 + repository: *748 sender: *4 required: - action @@ -116411,7 +116578,7 @@ x-webhooks: required: - login - id - dismissed_comment: *437 + dismissed_comment: *439 dismissed_reason: description: The reason for dismissing or closing the alert. type: string @@ -116641,12 +116808,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *750 - enterprise: *743 - installation: *744 - organization: *745 - ref: *751 - repository: *746 + commit_oid: *752 + enterprise: *745 + installation: *746 + organization: *747 + ref: *753 + repository: *748 sender: *4 required: - action @@ -116741,7 +116908,7 @@ x-webhooks: nullable: true dismissed_by: nullable: true - dismissed_comment: *437 + dismissed_comment: *439 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -116912,12 +117079,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *750 - enterprise: *743 - installation: *744 - organization: *745 - ref: *751 - repository: *746 + commit_oid: *752 + enterprise: *745 + installation: *746 + organization: *747 + ref: *753 + repository: *748 sender: *4 required: - action @@ -117083,7 +117250,7 @@ x-webhooks: required: - login - id - dismissed_comment: *437 + dismissed_comment: *439 dismissed_reason: description: The reason for dismissing or closing the alert. type: string @@ -117249,12 +117416,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *750 - enterprise: *743 - installation: *744 - organization: *745 - ref: *751 - repository: *746 + commit_oid: *752 + enterprise: *745 + installation: *746 + organization: *747 + ref: *753 + repository: *748 sender: *4 required: - action @@ -117353,7 +117520,7 @@ x-webhooks: dismissed_by: type: object nullable: true - dismissed_comment: *437 + dismissed_comment: *439 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -117528,16 +117695,16 @@ x-webhooks: triggered by the `sender` and this value will be empty. type: string nullable: true - enterprise: *743 - installation: *744 - organization: *745 + enterprise: *745 + installation: *746 + organization: *747 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 nullable: true - repository: *746 + repository: *748 sender: *4 required: - action @@ -117634,7 +117801,7 @@ x-webhooks: nullable: true dismissed_by: nullable: true - dismissed_comment: *437 + dismissed_comment: *439 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -117774,12 +117941,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *750 - enterprise: *743 - installation: *744 - organization: *745 - ref: *751 - repository: *746 + commit_oid: *752 + enterprise: *745 + installation: *746 + organization: *747 + ref: *753 + repository: *748 sender: *4 required: - action @@ -117945,7 +118112,7 @@ x-webhooks: required: - login - id - dismissed_comment: *437 + dismissed_comment: *439 dismissed_reason: description: The reason for dismissing or closing the alert. type: string @@ -118090,10 +118257,10 @@ x-webhooks: - dismissed_reason - rule - tool - enterprise: *743 - installation: *744 - organization: *745 - repository: *746 + enterprise: *745 + installation: *746 + organization: *747 + repository: *748 sender: *4 required: - action @@ -118348,10 +118515,10 @@ x-webhooks: - updated_at - author_association - body - enterprise: *743 - installation: *744 - organization: *745 - repository: *746 + enterprise: *745 + installation: *746 + organization: *747 + repository: *748 sender: *4 required: - action @@ -118431,18 +118598,18 @@ x-webhooks: description: The repository's current description. type: string nullable: true - enterprise: *743 - installation: *744 + enterprise: *745 + installation: *746 master_branch: description: The name of the repository's default branch (usually `main`). type: string - organization: *745 - pusher_type: &752 + organization: *747 + pusher_type: &754 description: The pusher type for the event. Can be either `user` or a deploy key. type: string - ref: &753 + ref: &755 description: The [`git ref`](https://docs.github.com/rest/git/refs#get-a-reference) resource. type: string @@ -118452,7 +118619,7 @@ x-webhooks: enum: - tag - branch - repository: *746 + repository: *748 sender: *4 required: - ref @@ -118534,10 +118701,10 @@ x-webhooks: type: string enum: - created - definition: *291 - enterprise: *743 - installation: *744 - organization: *745 + definition: *293 + enterprise: *745 + installation: *746 + organization: *747 sender: *4 required: - action @@ -118622,9 +118789,9 @@ x-webhooks: description: The name of the property that was deleted. required: - property_name - enterprise: *743 - installation: *744 - organization: *745 + enterprise: *745 + installation: *746 + organization: *747 sender: *4 required: - action @@ -118701,10 +118868,10 @@ x-webhooks: type: string enum: - promote_to_enterprise - definition: *291 - enterprise: *743 - installation: *744 - organization: *745 + definition: *293 + enterprise: *745 + installation: *746 + organization: *747 sender: *4 required: - action @@ -118781,10 +118948,10 @@ x-webhooks: type: string enum: - updated - definition: *291 - enterprise: *743 - installation: *744 - organization: *745 + definition: *293 + enterprise: *745 + installation: *746 + organization: *747 sender: *4 required: - action @@ -118861,19 +119028,19 @@ x-webhooks: type: string enum: - updated - enterprise: *743 - installation: *744 - repository: *746 - organization: *745 + enterprise: *745 + installation: *746 + repository: *748 + organization: *747 sender: *4 new_property_values: type: array description: The new custom property values for the repository. - items: *295 + items: *297 old_property_values: type: array description: The old custom property values for the repository. - items: *295 + items: *297 required: - action - repository @@ -118949,18 +119116,18 @@ x-webhooks: title: delete event type: object properties: - enterprise: *743 - installation: *744 - organization: *745 - pusher_type: *752 - ref: *753 + enterprise: *745 + installation: *746 + organization: *747 + pusher_type: *754 + ref: *755 ref_type: description: The type of Git ref object deleted in the repository. type: string enum: - tag - branch - repository: *746 + repository: *748 sender: *4 required: - ref @@ -119040,11 +119207,11 @@ x-webhooks: type: string enum: - assignees_changed - alert: *501 - installation: *744 - organization: *745 - enterprise: *743 - repository: *746 + alert: *503 + installation: *746 + organization: *747 + enterprise: *745 + repository: *748 sender: *4 required: - action @@ -119124,11 +119291,11 @@ x-webhooks: type: string enum: - auto_dismissed - alert: *501 - installation: *744 - organization: *745 - enterprise: *743 - repository: *746 + alert: *503 + installation: *746 + organization: *747 + enterprise: *745 + repository: *748 sender: *4 required: - action @@ -119209,11 +119376,11 @@ x-webhooks: type: string enum: - auto_reopened - alert: *501 - installation: *744 - organization: *745 - enterprise: *743 - repository: *746 + alert: *503 + installation: *746 + organization: *747 + enterprise: *745 + repository: *748 sender: *4 required: - action @@ -119294,11 +119461,11 @@ x-webhooks: type: string enum: - created - alert: *501 - installation: *744 - organization: *745 - enterprise: *743 - repository: *746 + alert: *503 + installation: *746 + organization: *747 + enterprise: *745 + repository: *748 sender: *4 required: - action @@ -119377,11 +119544,11 @@ x-webhooks: type: string enum: - dismissed - alert: *501 - installation: *744 - organization: *745 - enterprise: *743 - repository: *746 + alert: *503 + installation: *746 + organization: *747 + enterprise: *745 + repository: *748 sender: *4 required: - action @@ -119460,11 +119627,11 @@ x-webhooks: type: string enum: - fixed - alert: *501 - installation: *744 - organization: *745 - enterprise: *743 - repository: *746 + alert: *503 + installation: *746 + organization: *747 + enterprise: *745 + repository: *748 sender: *4 required: - action @@ -119544,11 +119711,11 @@ x-webhooks: type: string enum: - reintroduced - alert: *501 - installation: *744 - organization: *745 - enterprise: *743 - repository: *746 + alert: *503 + installation: *746 + organization: *747 + enterprise: *745 + repository: *748 sender: *4 required: - action @@ -119627,11 +119794,11 @@ x-webhooks: type: string enum: - reopened - alert: *501 - installation: *744 - organization: *745 - enterprise: *743 - repository: *746 + alert: *503 + installation: *746 + organization: *747 + enterprise: *745 + repository: *748 sender: *4 required: - action @@ -119708,9 +119875,9 @@ x-webhooks: type: string enum: - created - enterprise: *743 - installation: *744 - key: &754 + enterprise: *745 + installation: *746 + key: &756 description: The [`deploy key`](https://docs.github.com/rest/deploy-keys/deploy-keys#get-a-deploy-key) resource. type: object @@ -119746,8 +119913,8 @@ x-webhooks: - verified - created_at - read_only - organization: *745 - repository: *746 + organization: *747 + repository: *748 sender: *4 required: - action @@ -119824,11 +119991,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *743 - installation: *744 - key: *754 - organization: *745 - repository: *746 + enterprise: *745 + installation: *746 + key: *756 + organization: *747 + repository: *748 sender: *4 required: - action @@ -120384,12 +120551,12 @@ x-webhooks: - updated_at - statuses_url - repository_url - enterprise: *743 - installation: *744 - organization: *745 - repository: *746 + enterprise: *745 + installation: *746 + organization: *747 + repository: *748 sender: *4 - workflow: &760 + workflow: &762 title: Workflow type: object nullable: true @@ -121130,15 +121297,15 @@ x-webhooks: description: A request for a specific ref(branch,sha,tag) to be deployed type: object - properties: *755 - required: *756 + properties: *757 + required: *758 nullable: true pull_requests: type: array - items: *599 - repository: *746 - organization: *745 - installation: *744 + items: *601 + repository: *748 + organization: *747 + installation: *746 sender: *4 responses: '200': @@ -121209,7 +121376,7 @@ x-webhooks: type: string enum: - approved - approver: &757 + approver: &759 type: object properties: avatar_url: @@ -121252,11 +121419,11 @@ x-webhooks: type: string comment: type: string - enterprise: *743 - installation: *744 - organization: *745 - repository: *746 - reviewers: &758 + enterprise: *745 + installation: *746 + organization: *747 + repository: *748 + reviewers: &760 type: array items: type: object @@ -121335,7 +121502,7 @@ x-webhooks: sender: *4 since: type: string - workflow_job_run: &759 + workflow_job_run: &761 type: object properties: conclusion: @@ -122066,18 +122233,18 @@ x-webhooks: type: string enum: - rejected - approver: *757 + approver: *759 comment: type: string - enterprise: *743 - installation: *744 - organization: *745 - repository: *746 - reviewers: *758 + enterprise: *745 + installation: *746 + organization: *747 + repository: *748 + reviewers: *760 sender: *4 since: type: string - workflow_job_run: *759 + workflow_job_run: *761 workflow_job_runs: type: array items: @@ -122781,13 +122948,13 @@ x-webhooks: type: string enum: - requested - enterprise: *743 + enterprise: *745 environment: type: string - installation: *744 - organization: *745 - repository: *746 - requestor: &765 + installation: *746 + organization: *747 + repository: *748 + requestor: &767 title: User type: object nullable: true @@ -124676,12 +124843,12 @@ x-webhooks: - updated_at - deployment_url - repository_url - enterprise: *743 - installation: *744 - organization: *745 - repository: *746 + enterprise: *745 + installation: *746 + organization: *747 + repository: *748 sender: *4 - workflow: *760 + workflow: *762 workflow_run: title: Deployment Workflow Run type: object @@ -125361,7 +125528,7 @@ x-webhooks: type: string enum: - answered - answer: &763 + answer: &765 type: object properties: author_association: @@ -125518,11 +125685,11 @@ x-webhooks: - created_at - updated_at - body - discussion: *761 - enterprise: *743 - installation: *744 - organization: *745 - repository: *746 + discussion: *763 + enterprise: *745 + installation: *746 + organization: *747 + repository: *748 sender: *4 required: - action @@ -125649,11 +125816,11 @@ x-webhooks: - from required: - category - discussion: *761 - enterprise: *743 - installation: *744 - organization: *745 - repository: *746 + discussion: *763 + enterprise: *745 + installation: *746 + organization: *747 + repository: *748 sender: *4 required: - action @@ -125736,11 +125903,11 @@ x-webhooks: type: string enum: - closed - discussion: *761 - enterprise: *743 - installation: *744 - organization: *745 - repository: *746 + discussion: *763 + enterprise: *745 + installation: *746 + organization: *747 + repository: *748 sender: *4 required: - action @@ -125822,7 +125989,7 @@ x-webhooks: type: string enum: - created - comment: &762 + comment: &764 type: object properties: author_association: @@ -125979,11 +126146,11 @@ x-webhooks: - updated_at - body - reactions - discussion: *761 - enterprise: *743 - installation: *744 - organization: *745 - repository: *746 + discussion: *763 + enterprise: *745 + installation: *746 + organization: *747 + repository: *748 sender: *4 required: - action @@ -126066,12 +126233,12 @@ x-webhooks: type: string enum: - deleted - comment: *762 - discussion: *761 - enterprise: *743 - installation: *744 - organization: *745 - repository: *746 + comment: *764 + discussion: *763 + enterprise: *745 + installation: *746 + organization: *747 + repository: *748 sender: *4 required: - action @@ -126166,12 +126333,12 @@ x-webhooks: - from required: - body - comment: *762 - discussion: *761 - enterprise: *743 - installation: *744 - organization: *745 - repository: *746 + comment: *764 + discussion: *763 + enterprise: *745 + installation: *746 + organization: *747 + repository: *748 sender: *4 required: - action @@ -126255,11 +126422,11 @@ x-webhooks: type: string enum: - created - discussion: *761 - enterprise: *743 - installation: *744 - organization: *745 - repository: *746 + discussion: *763 + enterprise: *745 + installation: *746 + organization: *747 + repository: *748 sender: *4 required: - action @@ -126341,11 +126508,11 @@ x-webhooks: type: string enum: - deleted - discussion: *761 - enterprise: *743 - installation: *744 - organization: *745 - repository: *746 + discussion: *763 + enterprise: *745 + installation: *746 + organization: *747 + repository: *748 sender: *4 required: - action @@ -126445,11 +126612,11 @@ x-webhooks: type: string required: - from - discussion: *761 - enterprise: *743 - installation: *744 - organization: *745 - repository: *746 + discussion: *763 + enterprise: *745 + installation: *746 + organization: *747 + repository: *748 sender: *4 required: - action @@ -126531,10 +126698,10 @@ x-webhooks: type: string enum: - labeled - discussion: *761 - enterprise: *743 - installation: *744 - label: &764 + discussion: *763 + enterprise: *745 + installation: *746 + label: &766 title: Label type: object properties: @@ -126566,8 +126733,8 @@ x-webhooks: - color - default - description - organization: *745 - repository: *746 + organization: *747 + repository: *748 sender: *4 required: - action @@ -126650,11 +126817,11 @@ x-webhooks: type: string enum: - locked - discussion: *761 - enterprise: *743 - installation: *744 - organization: *745 - repository: *746 + discussion: *763 + enterprise: *745 + installation: *746 + organization: *747 + repository: *748 sender: *4 required: - action @@ -126736,11 +126903,11 @@ x-webhooks: type: string enum: - pinned - discussion: *761 - enterprise: *743 - installation: *744 - organization: *745 - repository: *746 + discussion: *763 + enterprise: *745 + installation: *746 + organization: *747 + repository: *748 sender: *4 required: - action @@ -126822,11 +126989,11 @@ x-webhooks: type: string enum: - reopened - discussion: *761 - enterprise: *743 - installation: *744 - organization: *745 - repository: *746 + discussion: *763 + enterprise: *745 + installation: *746 + organization: *747 + repository: *748 sender: *4 required: - action @@ -126911,16 +127078,16 @@ x-webhooks: changes: type: object properties: - new_discussion: *761 - new_repository: *746 + new_discussion: *763 + new_repository: *748 required: - new_discussion - new_repository - discussion: *761 - enterprise: *743 - installation: *744 - organization: *745 - repository: *746 + discussion: *763 + enterprise: *745 + installation: *746 + organization: *747 + repository: *748 sender: *4 required: - action @@ -127003,10 +127170,10 @@ x-webhooks: type: string enum: - unanswered - discussion: *761 - old_answer: *763 - organization: *745 - repository: *746 + discussion: *763 + old_answer: *765 + organization: *747 + repository: *748 sender: *4 required: - action @@ -127088,12 +127255,12 @@ x-webhooks: type: string enum: - unlabeled - discussion: *761 - enterprise: *743 - installation: *744 - label: *764 - organization: *745 - repository: *746 + discussion: *763 + enterprise: *745 + installation: *746 + label: *766 + organization: *747 + repository: *748 sender: *4 required: - action @@ -127176,11 +127343,11 @@ x-webhooks: type: string enum: - unlocked - discussion: *761 - enterprise: *743 - installation: *744 - organization: *745 - repository: *746 + discussion: *763 + enterprise: *745 + installation: *746 + organization: *747 + repository: *748 sender: *4 required: - action @@ -127262,11 +127429,11 @@ x-webhooks: type: string enum: - unpinned - discussion: *761 - enterprise: *743 - installation: *744 - organization: *745 - repository: *746 + discussion: *763 + enterprise: *745 + installation: *746 + organization: *747 + repository: *748 sender: *4 required: - action @@ -127339,7 +127506,7 @@ x-webhooks: description: A user forks a repository. type: object properties: - enterprise: *743 + enterprise: *745 forkee: description: The created [`repository`](https://docs.github.com/rest/repos/repos#get-a-repository) resource. @@ -127999,9 +128166,9 @@ x-webhooks: type: integer watchers_count: type: integer - installation: *744 - organization: *745 - repository: *746 + installation: *746 + organization: *747 + repository: *748 sender: *4 required: - forkee @@ -128147,9 +128314,9 @@ x-webhooks: title: gollum event type: object properties: - enterprise: *743 - installation: *744 - organization: *745 + enterprise: *745 + installation: *746 + organization: *747 pages: description: The pages that were updated. type: array @@ -128186,7 +128353,7 @@ x-webhooks: - action - sha - html_url - repository: *746 + repository: *748 sender: *4 required: - pages @@ -128262,10 +128429,10 @@ x-webhooks: type: string enum: - created - enterprise: *743 + enterprise: *745 installation: *22 - organization: *745 - repositories: &766 + organization: *747 + repositories: &768 description: An array of repository objects that the installation can access. type: array @@ -128291,8 +128458,8 @@ x-webhooks: - name - full_name - private - repository: *746 - requester: *765 + repository: *748 + requester: *767 sender: *4 required: - action @@ -128367,11 +128534,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *743 + enterprise: *745 installation: *22 - organization: *745 - repositories: *766 - repository: *746 + organization: *747 + repositories: *768 + repository: *748 requester: nullable: true sender: *4 @@ -128447,11 +128614,11 @@ x-webhooks: type: string enum: - new_permissions_accepted - enterprise: *743 + enterprise: *745 installation: *22 - organization: *745 - repositories: *766 - repository: *746 + organization: *747 + repositories: *768 + repository: *748 requester: nullable: true sender: *4 @@ -128527,10 +128694,10 @@ x-webhooks: type: string enum: - added - enterprise: *743 + enterprise: *745 installation: *22 - organization: *745 - repositories_added: &767 + organization: *747 + repositories_added: &769 description: An array of repository objects, which were added to the installation. type: array @@ -128576,15 +128743,15 @@ x-webhooks: private: description: Whether the repository is private or public. type: boolean - repository: *746 - repository_selection: &768 + repository: *748 + repository_selection: &770 description: Describe whether all repositories have been selected or there's a selection involved type: string enum: - all - selected - requester: *765 + requester: *767 sender: *4 required: - action @@ -128663,10 +128830,10 @@ x-webhooks: type: string enum: - removed - enterprise: *743 + enterprise: *745 installation: *22 - organization: *745 - repositories_added: *767 + organization: *747 + repositories_added: *769 repositories_removed: description: An array of repository objects, which were removed from the installation. @@ -128693,9 +128860,9 @@ x-webhooks: - name - full_name - private - repository: *746 - repository_selection: *768 - requester: *765 + repository: *748 + repository_selection: *770 + requester: *767 sender: *4 required: - action @@ -128774,11 +128941,11 @@ x-webhooks: type: string enum: - suspend - enterprise: *743 + enterprise: *745 installation: *22 - organization: *745 - repositories: *766 - repository: *746 + organization: *747 + repositories: *768 + repository: *748 requester: nullable: true sender: *4 @@ -128956,10 +129123,10 @@ x-webhooks: type: string required: - from - enterprise: *743 - installation: *744 - organization: *745 - repository: *746 + enterprise: *745 + installation: *746 + organization: *747 + repository: *748 sender: *4 target_type: type: string @@ -129038,11 +129205,11 @@ x-webhooks: type: string enum: - unsuspend - enterprise: *743 + enterprise: *745 installation: *22 - organization: *745 - repositories: *766 - repository: *746 + organization: *747 + repositories: *768 + repository: *748 requester: nullable: true sender: *4 @@ -129166,8 +129333,8 @@ x-webhooks: first class actors within GitHub. type: object nullable: true - properties: *81 - required: *82 + properties: *83 + required: *84 reactions: title: Reactions type: object @@ -129216,8 +129383,8 @@ x-webhooks: description: Context around who pinned an issue comment and when it was pinned. type: object - properties: *576 - required: *577 + properties: *578 + required: *579 nullable: true user: title: User @@ -129302,8 +129469,8 @@ x-webhooks: - performed_via_github_app - body - reactions - enterprise: *743 - installation: *744 + enterprise: *745 + installation: *746 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -130092,8 +130259,8 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *679 - issue_dependencies_summary: *680 + sub_issues_summary: *681 + issue_dependencies_summary: *682 state: description: State of the issue; either 'open' or 'closed' type: string @@ -130109,7 +130276,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *243 + type: *245 updated_at: type: string format: date-time @@ -130442,8 +130609,8 @@ x-webhooks: - state - locked - assignee - organization: *745 - repository: *746 + organization: *747 + repository: *748 sender: *4 required: - action @@ -130523,7 +130690,7 @@ x-webhooks: type: string enum: - deleted - comment: &769 + comment: &771 title: issue comment description: The [comment](https://docs.github.com/rest/issues/comments#get-an-issue-comment) itself. @@ -130680,8 +130847,8 @@ x-webhooks: description: Context around who pinned an issue comment and when it was pinned. type: object - properties: *576 - required: *577 + properties: *578 + required: *579 nullable: true required: - url @@ -130696,8 +130863,8 @@ x-webhooks: - performed_via_github_app - body - reactions - enterprise: *743 - installation: *744 + enterprise: *745 + installation: *746 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -131482,8 +131649,8 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *679 - issue_dependencies_summary: *680 + sub_issues_summary: *681 + issue_dependencies_summary: *682 state: description: State of the issue; either 'open' or 'closed' type: string @@ -131499,7 +131666,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *243 + type: *245 updated_at: type: string format: date-time @@ -131834,8 +132001,8 @@ x-webhooks: - state - locked - assignee - organization: *745 - repository: *746 + organization: *747 + repository: *748 sender: *4 required: - action @@ -131915,7 +132082,7 @@ x-webhooks: type: string enum: - edited - changes: &799 + changes: &801 description: The changes to the comment. type: object properties: @@ -131927,9 +132094,9 @@ x-webhooks: type: string required: - from - comment: *769 - enterprise: *743 - installation: *744 + comment: *771 + enterprise: *745 + installation: *746 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -132717,8 +132884,8 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *679 - issue_dependencies_summary: *680 + sub_issues_summary: *681 + issue_dependencies_summary: *682 state: description: State of the issue; either 'open' or 'closed' type: string @@ -132734,7 +132901,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *243 + type: *245 updated_at: type: string format: date-time @@ -133067,8 +133234,8 @@ x-webhooks: - state - locked - assignee - organization: *745 - repository: *746 + organization: *747 + repository: *748 sender: *4 required: - action @@ -133149,9 +133316,9 @@ x-webhooks: type: string enum: - pinned - comment: *769 - enterprise: *743 - installation: *744 + comment: *771 + enterprise: *745 + installation: *746 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -133941,8 +134108,8 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *679 - issue_dependencies_summary: *680 + sub_issues_summary: *681 + issue_dependencies_summary: *682 state: description: State of the issue; either 'open' or 'closed' type: string @@ -133958,7 +134125,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *243 + type: *245 updated_at: type: string format: date-time @@ -134293,8 +134460,8 @@ x-webhooks: - state - locked - assignee - organization: *745 - repository: *746 + organization: *747 + repository: *748 sender: *4 required: - action @@ -134374,9 +134541,9 @@ x-webhooks: type: string enum: - unpinned - comment: *769 - enterprise: *743 - installation: *744 + comment: *771 + enterprise: *745 + installation: *746 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -135166,8 +135333,8 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *679 - issue_dependencies_summary: *680 + sub_issues_summary: *681 + issue_dependencies_summary: *682 state: description: State of the issue; either 'open' or 'closed' type: string @@ -135183,7 +135350,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *243 + type: *245 updated_at: type: string format: date-time @@ -135518,8 +135685,8 @@ x-webhooks: - state - locked - assignee - organization: *745 - repository: *746 + organization: *747 + repository: *748 sender: *4 required: - action @@ -135602,15 +135769,15 @@ x-webhooks: blocked_issue_id: description: The ID of the blocked issue. type: number - blocked_issue: *86 + blocked_issue: *88 blocking_issue_id: description: The ID of the blocking issue. type: number - blocking_issue: *86 - blocking_issue_repo: *80 - installation: *744 - organization: *745 - repository: *746 + blocking_issue: *88 + blocking_issue_repo: *82 + installation: *746 + organization: *747 + repository: *748 sender: *4 required: - action @@ -135693,15 +135860,15 @@ x-webhooks: blocked_issue_id: description: The ID of the blocked issue. type: number - blocked_issue: *86 + blocked_issue: *88 blocking_issue_id: description: The ID of the blocking issue. type: number - blocking_issue: *86 - blocking_issue_repo: *80 - installation: *744 - organization: *745 - repository: *746 + blocking_issue: *88 + blocking_issue_repo: *82 + installation: *746 + organization: *747 + repository: *748 sender: *4 required: - action @@ -135783,15 +135950,15 @@ x-webhooks: blocked_issue_id: description: The ID of the blocked issue. type: number - blocked_issue: *86 - blocked_issue_repo: *80 + blocked_issue: *88 + blocked_issue_repo: *82 blocking_issue_id: description: The ID of the blocking issue. type: number - blocking_issue: *86 - installation: *744 - organization: *745 - repository: *746 + blocking_issue: *88 + installation: *746 + organization: *747 + repository: *748 sender: *4 required: - action @@ -135874,15 +136041,15 @@ x-webhooks: blocked_issue_id: description: The ID of the blocked issue. type: number - blocked_issue: *86 - blocked_issue_repo: *80 + blocked_issue: *88 + blocked_issue_repo: *82 blocking_issue_id: description: The ID of the blocking issue. type: number - blocking_issue: *86 - installation: *744 - organization: *745 - repository: *746 + blocking_issue: *88 + installation: *746 + organization: *747 + repository: *748 sender: *4 required: - action @@ -135962,9 +136129,9 @@ x-webhooks: type: string enum: - assigned - assignee: *765 - enterprise: *743 - installation: *744 + assignee: *767 + enterprise: *745 + installation: *746 issue: &772 title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -136754,14 +136921,14 @@ x-webhooks: description: Comments provide a way for people to collaborate on an issue. type: object - properties: *87 - required: *88 + properties: *89 + required: *90 nullable: true - sub_issues_summary: *679 - issue_dependencies_summary: *680 + sub_issues_summary: *681 + issue_dependencies_summary: *682 issue_field_values: type: array - items: *560 + items: *562 state: description: State of the issue; either 'open' or 'closed' type: string @@ -136777,7 +136944,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *243 + type: *245 updated_at: type: string format: date-time @@ -136878,8 +137045,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *745 - repository: *746 + organization: *747 + repository: *748 sender: *4 required: - action @@ -136959,8 +137126,8 @@ x-webhooks: type: string enum: - closed - enterprise: *743 - installation: *744 + enterprise: *745 + installation: *746 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -137754,14 +137921,14 @@ x-webhooks: description: Comments provide a way for people to collaborate on an issue. type: object - properties: *87 - required: *88 + properties: *89 + required: *90 nullable: true - sub_issues_summary: *679 - issue_dependencies_summary: *680 + sub_issues_summary: *681 + issue_dependencies_summary: *682 issue_field_values: type: array - items: *560 + items: *562 state: description: State of the issue; either 'open' or 'closed' type: string @@ -137777,7 +137944,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *243 + type: *245 updated_at: type: string format: date-time @@ -138013,8 +138180,8 @@ x-webhooks: required: - state - closed_at - organization: *745 - repository: *746 + organization: *747 + repository: *748 sender: *4 required: - action @@ -138093,8 +138260,8 @@ x-webhooks: type: string enum: - deleted - enterprise: *743 - installation: *744 + enterprise: *745 + installation: *746 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -138879,14 +139046,14 @@ x-webhooks: description: Comments provide a way for people to collaborate on an issue. type: object - properties: *87 - required: *88 + properties: *89 + required: *90 nullable: true - sub_issues_summary: *679 - issue_dependencies_summary: *680 + sub_issues_summary: *681 + issue_dependencies_summary: *682 issue_field_values: type: array - items: *560 + items: *562 state: description: State of the issue; either 'open' or 'closed' type: string @@ -138902,7 +139069,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *243 + type: *245 updated_at: type: string format: date-time @@ -139002,8 +139169,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *745 - repository: *746 + organization: *747 + repository: *748 sender: *4 required: - action @@ -139082,8 +139249,8 @@ x-webhooks: type: string enum: - demilestoned - enterprise: *743 - installation: *744 + enterprise: *745 + installation: *746 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -139890,14 +140057,14 @@ x-webhooks: description: Comments provide a way for people to collaborate on an issue. type: object - properties: *87 - required: *88 + properties: *89 + required: *90 nullable: true - sub_issues_summary: *679 - issue_dependencies_summary: *680 + sub_issues_summary: *681 + issue_dependencies_summary: *682 issue_field_values: type: array - items: *560 + items: *562 state: description: State of the issue; either 'open' or 'closed' type: string @@ -139913,7 +140080,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *243 + type: *245 updated_at: type: string format: date-time @@ -139992,7 +140159,7 @@ x-webhooks: format: uri user_view_type: type: string - milestone: &770 + milestone: &773 title: Milestone description: A collection of related issues and pull requests. type: object @@ -140130,8 +140297,8 @@ x-webhooks: - updated_at - due_on - closed_at - organization: *745 - repository: *746 + organization: *747 + repository: *748 sender: *4 required: - action @@ -140230,8 +140397,8 @@ x-webhooks: type: string required: - from - enterprise: *743 - installation: *744 + enterprise: *745 + installation: *746 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -141020,14 +141187,14 @@ x-webhooks: description: Comments provide a way for people to collaborate on an issue. type: object - properties: *87 - required: *88 + properties: *89 + required: *90 nullable: true - sub_issues_summary: *679 - issue_dependencies_summary: *680 + sub_issues_summary: *681 + issue_dependencies_summary: *682 issue_field_values: type: array - items: *560 + items: *562 state: description: State of the issue; either 'open' or 'closed' type: string @@ -141040,7 +141207,7 @@ x-webhooks: timeline_url: type: string format: uri - type: *243 + type: *245 title: description: Title of the issue type: string @@ -141144,9 +141311,9 @@ x-webhooks: - active_lock_reason - body - reactions - label: *764 - organization: *745 - repository: *746 + label: *766 + organization: *747 + repository: *748 sender: *4 required: - action @@ -141166,6 +141333,339 @@ x-webhooks: - repository - organization - app + issues-field-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. + + For activity relating to a comment on an issue, use the `issue_comment` event. + + To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. + description: An issue field value was set or updated on an issue. + operationId: issues/field-added + 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 + - 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: + title: issues field_added event + type: object + properties: + action: + type: string + enum: + - field_added + enterprise: *745 + installation: *746 + issue: *772 + issue_field: + type: object + description: The issue field whose value was set or updated on the + issue. + properties: + id: + type: integer + description: The unique identifier of the issue field. + name: + type: string + description: The name of the issue field. + field_type: + type: string + description: The data type of the issue field. + enum: + - text + - date + - single_select + - number + required: + - id + - name + - field_type + issue_field_value: + type: object + description: The value that was set or updated for the issue field. + When updating an existing value, the previous value is available + in `changes`. + properties: + id: + type: integer + description: The unique identifier of the issue field value. + value: + description: The value of the field. Present for text, date, + and number field types. + nullable: true + anyOf: + - type: string + - type: number + - type: integer + value_id: + type: integer + description: The identifier of the selected option. Present + for single_select field types. + option: + type: object + description: The selected option details. Present for single_select + field types. + properties: + id: + type: integer + name: + type: string + color: + type: string + description: + type: string + nullable: true + required: + - id + changes: + type: object + description: The previous field value, present when an existing + value was updated. + properties: + issue_field_value: + type: object + description: The previous issue field value data. + properties: + from: + type: object + description: The previous value of the issue field before + the update. + properties: + id: + type: integer + description: The unique identifier of the issue field + value. + value: + description: The previous value. Present for text, date, + and number field types. + nullable: true + anyOf: + - type: string + - type: number + - type: integer + value_id: + type: integer + description: The identifier of the previously selected + option. Present for single_select field types. + option: + type: object + description: The previously selected option details. + Present for single_select field types. + properties: + id: + type: integer + name: + type: string + color: + type: string + description: + type: string + nullable: true + required: + - id + required: + - from + organization: *747 + repository: *748 + sender: *4 + required: + - action + - issue + - issue_field + - repository + - sender + 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-field-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. + + For activity relating to a comment on an issue, use the `issue_comment` event. + + To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. + description: An issue field value was cleared from an issue. + operationId: issues/field-removed + 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 + - 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: + title: issues field_removed event + type: object + properties: + action: + type: string + enum: + - field_removed + enterprise: *745 + installation: *746 + issue: *772 + issue_field: + type: object + description: The issue field whose value was cleared from the issue. + properties: + id: + type: integer + description: The unique identifier of the issue field. + name: + type: string + description: The name of the issue field. + field_type: + type: string + description: The data type of the issue field. + enum: + - text + - date + - single_select + - number + required: + - id + - name + - field_type + issue_field_value: + type: object + description: The value that was cleared from the issue field. + properties: + id: + type: integer + description: The unique identifier of the issue field value. + value: + description: The value of the field. Present for text, date, + and number field types. + nullable: true + anyOf: + - type: string + - type: number + - type: integer + value_id: + type: integer + description: The identifier of the selected option. Present + for single_select field types. + option: + type: object + description: The selected option details. Present for single_select + field types. + properties: + id: + type: integer + name: + type: string + color: + type: string + description: + type: string + nullable: true + required: + - id + organization: *747 + repository: *748 + sender: *4 + required: + - action + - issue + - issue_field + - repository + - sender + 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: |- @@ -141226,8 +141726,8 @@ x-webhooks: type: string enum: - labeled - enterprise: *743 - installation: *744 + enterprise: *745 + installation: *746 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -142015,14 +142515,14 @@ x-webhooks: description: Comments provide a way for people to collaborate on an issue. type: object - properties: *87 - required: *88 + properties: *89 + required: *90 nullable: true - sub_issues_summary: *679 - issue_dependencies_summary: *680 + sub_issues_summary: *681 + issue_dependencies_summary: *682 issue_field_values: type: array - items: *560 + items: *562 state: description: State of the issue; either 'open' or 'closed' type: string @@ -142035,7 +142535,7 @@ x-webhooks: timeline_url: type: string format: uri - type: *243 + type: *245 title: description: Title of the issue type: string @@ -142139,9 +142639,9 @@ x-webhooks: - active_lock_reason - body - reactions - label: *764 - organization: *745 - repository: *746 + label: *766 + organization: *747 + repository: *748 sender: *4 required: - action @@ -142221,8 +142721,8 @@ x-webhooks: type: string enum: - locked - enterprise: *743 - installation: *744 + enterprise: *745 + installation: *746 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -143034,14 +143534,14 @@ x-webhooks: description: Comments provide a way for people to collaborate on an issue. type: object - properties: *87 - required: *88 + properties: *89 + required: *90 nullable: true - sub_issues_summary: *679 - issue_dependencies_summary: *680 + sub_issues_summary: *681 + issue_dependencies_summary: *682 issue_field_values: type: array - items: *560 + items: *562 state: description: State of the issue; either 'open' or 'closed' type: string @@ -143054,7 +143554,7 @@ x-webhooks: timeline_url: type: string format: uri - type: *243 + type: *245 title: description: Title of the issue type: string @@ -143135,8 +143635,8 @@ x-webhooks: format: uri user_view_type: type: string - organization: *745 - repository: *746 + organization: *747 + repository: *748 sender: *4 required: - action @@ -143215,8 +143715,8 @@ x-webhooks: type: string enum: - milestoned - enterprise: *743 - installation: *744 + enterprise: *745 + installation: *746 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -144022,14 +144522,14 @@ x-webhooks: description: Comments provide a way for people to collaborate on an issue. type: object - properties: *87 - required: *88 + properties: *89 + required: *90 nullable: true - sub_issues_summary: *679 - issue_dependencies_summary: *680 + sub_issues_summary: *681 + issue_dependencies_summary: *682 issue_field_values: type: array - items: *560 + items: *562 state: description: State of the issue; either 'open' or 'closed' type: string @@ -144045,7 +144545,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *243 + type: *245 updated_at: type: string format: date-time @@ -144123,9 +144623,9 @@ x-webhooks: format: uri user_view_type: type: string - milestone: *770 - organization: *745 - repository: *746 + milestone: *773 + organization: *747 + repository: *748 sender: *4 required: - action @@ -144988,11 +145488,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *679 - issue_dependencies_summary: *680 + sub_issues_summary: *681 + issue_dependencies_summary: *682 issue_field_values: type: array - items: *560 + items: *562 state: description: State of the issue; either 'open' or 'closed' type: string @@ -145020,8 +145520,8 @@ x-webhooks: description: Comments provide a way for people to collaborate on an issue. type: object - properties: *87 - required: *88 + properties: *89 + required: *90 nullable: true user: title: User @@ -145093,7 +145593,7 @@ x-webhooks: required: - login - id - type: *243 + type: *245 required: - id - number @@ -145573,8 +146073,8 @@ x-webhooks: required: - old_issue - old_repository - enterprise: *743 - installation: *744 + enterprise: *745 + installation: *746 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -146358,11 +146858,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *679 - issue_dependencies_summary: *680 + sub_issues_summary: *681 + issue_dependencies_summary: *682 issue_field_values: type: array - items: *560 + items: *562 state: description: State of the issue; either 'open' or 'closed' type: string @@ -146378,7 +146878,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *243 + type: *245 updated_at: type: string format: date-time @@ -146391,8 +146891,8 @@ x-webhooks: description: Comments provide a way for people to collaborate on an issue. type: object - properties: *87 - required: *88 + properties: *89 + required: *90 nullable: true user: title: User @@ -146486,8 +146986,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *745 - repository: *746 + organization: *747 + repository: *748 sender: *4 required: - action @@ -146567,9 +147067,9 @@ x-webhooks: type: string enum: - pinned - enterprise: *743 - installation: *744 - issue: &771 + enterprise: *745 + installation: *746 + issue: &774 title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -147352,14 +147852,14 @@ x-webhooks: description: Comments provide a way for people to collaborate on an issue. type: object - properties: *87 - required: *88 + properties: *89 + required: *90 nullable: true - sub_issues_summary: *679 - issue_dependencies_summary: *680 + sub_issues_summary: *681 + issue_dependencies_summary: *682 issue_field_values: type: array - items: *560 + items: *562 state: description: State of the issue; either 'open' or 'closed' type: string @@ -147375,7 +147875,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *243 + type: *245 updated_at: type: string format: date-time @@ -147475,8 +147975,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *745 - repository: *746 + organization: *747 + repository: *748 sender: *4 required: - action @@ -147555,8 +148055,8 @@ x-webhooks: type: string enum: - reopened - enterprise: *743 - installation: *744 + enterprise: *745 + installation: *746 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -148366,14 +148866,14 @@ x-webhooks: description: Comments provide a way for people to collaborate on an issue. type: object - properties: *87 - required: *88 + properties: *89 + required: *90 nullable: true - sub_issues_summary: *679 - issue_dependencies_summary: *680 + sub_issues_summary: *681 + issue_dependencies_summary: *682 issue_field_values: type: array - items: *560 + items: *562 state: description: State of the issue; either 'open' or 'closed' type: string @@ -148467,9 +148967,9 @@ x-webhooks: format: uri user_view_type: type: string - type: *243 - organization: *745 - repository: *746 + type: *245 + organization: *747 + repository: *748 sender: *4 required: - action @@ -149335,14 +149835,14 @@ x-webhooks: description: Comments provide a way for people to collaborate on an issue. type: object - properties: *87 - required: *88 + properties: *89 + required: *90 nullable: true - sub_issues_summary: *679 - issue_dependencies_summary: *680 + sub_issues_summary: *681 + issue_dependencies_summary: *682 issue_field_values: type: array - items: *560 + items: *562 state: description: State of the issue; either 'open' or 'closed' type: string @@ -149358,7 +149858,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *243 + type: *245 updated_at: type: string format: date-time @@ -149937,11 +150437,11 @@ x-webhooks: required: - new_issue - new_repository - enterprise: *743 - installation: *744 - issue: *771 - organization: *745 - repository: *746 + enterprise: *745 + installation: *746 + issue: *774 + organization: *747 + repository: *748 sender: *4 required: - action @@ -150021,12 +150521,12 @@ x-webhooks: type: string enum: - typed - enterprise: *743 - installation: *744 + enterprise: *745 + installation: *746 issue: *772 - type: *243 - organization: *745 - repository: *746 + type: *245 + organization: *747 + repository: *748 sender: *4 required: - action @@ -150107,7 +150607,7 @@ x-webhooks: type: string enum: - unassigned - assignee: &802 + assignee: &804 title: User type: object nullable: true @@ -150177,11 +150677,11 @@ x-webhooks: required: - login - id - enterprise: *743 - installation: *744 + enterprise: *745 + installation: *746 issue: *772 - organization: *745 - repository: *746 + organization: *747 + repository: *748 sender: *4 required: - action @@ -150260,12 +150760,12 @@ x-webhooks: type: string enum: - unlabeled - enterprise: *743 - installation: *744 + enterprise: *745 + installation: *746 issue: *772 - label: *764 - organization: *745 - repository: *746 + label: *766 + organization: *747 + repository: *748 sender: *4 required: - action @@ -150345,8 +150845,8 @@ x-webhooks: type: string enum: - unlocked - enterprise: *743 - installation: *744 + enterprise: *745 + installation: *746 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -151156,14 +151656,14 @@ x-webhooks: description: Comments provide a way for people to collaborate on an issue. type: object - properties: *87 - required: *88 + properties: *89 + required: *90 nullable: true - sub_issues_summary: *679 - issue_dependencies_summary: *680 + sub_issues_summary: *681 + issue_dependencies_summary: *682 issue_field_values: type: array - items: *560 + items: *562 state: description: State of the issue; either 'open' or 'closed' type: string @@ -151179,7 +151679,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *243 + type: *245 updated_at: type: string format: date-time @@ -151257,8 +151757,8 @@ x-webhooks: format: uri user_view_type: type: string - organization: *745 - repository: *746 + organization: *747 + repository: *748 sender: *4 required: - action @@ -151338,11 +151838,11 @@ x-webhooks: type: string enum: - unpinned - enterprise: *743 - installation: *744 - issue: *771 - organization: *745 - repository: *746 + enterprise: *745 + installation: *746 + issue: *774 + organization: *747 + repository: *748 sender: *4 required: - action @@ -151421,12 +151921,12 @@ x-webhooks: type: string enum: - untyped - enterprise: *743 - installation: *744 + enterprise: *745 + installation: *746 issue: *772 - type: *243 - organization: *745 - repository: *746 + type: *245 + organization: *747 + repository: *748 sender: *4 required: - action @@ -151506,11 +152006,11 @@ x-webhooks: type: string enum: - created - enterprise: *743 - installation: *744 - label: *764 - organization: *745 - repository: *746 + enterprise: *745 + installation: *746 + label: *766 + organization: *747 + repository: *748 sender: *4 required: - action @@ -151588,11 +152088,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *743 - installation: *744 - label: *764 - organization: *745 - repository: *746 + enterprise: *745 + installation: *746 + label: *766 + organization: *747 + repository: *748 sender: *4 required: - action @@ -151702,11 +152202,11 @@ x-webhooks: type: string required: - from - enterprise: *743 - installation: *744 - label: *764 - organization: *745 - repository: *746 + enterprise: *745 + installation: *746 + label: *766 + organization: *747 + repository: *748 sender: *4 required: - action @@ -151788,9 +152288,9 @@ x-webhooks: - cancelled effective_date: type: string - enterprise: *743 - installation: *744 - marketplace_purchase: &773 + enterprise: *745 + installation: *746 + marketplace_purchase: &775 title: Marketplace Purchase type: object required: @@ -151873,8 +152373,8 @@ x-webhooks: type: integer unit_count: type: integer - organization: *745 - previous_marketplace_purchase: &774 + organization: *747 + previous_marketplace_purchase: &776 title: Marketplace Purchase type: object properties: @@ -151954,7 +152454,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *746 + repository: *748 sender: *4 required: - action @@ -152034,10 +152534,10 @@ x-webhooks: - changed effective_date: type: string - enterprise: *743 - installation: *744 - marketplace_purchase: *773 - organization: *745 + enterprise: *745 + installation: *746 + marketplace_purchase: *775 + organization: *747 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -152120,7 +152620,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *746 + repository: *748 sender: *4 required: - action @@ -152202,10 +152702,10 @@ x-webhooks: - pending_change effective_date: type: string - enterprise: *743 - installation: *744 - marketplace_purchase: *773 - organization: *745 + enterprise: *745 + installation: *746 + marketplace_purchase: *775 + organization: *747 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -152287,7 +152787,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *746 + repository: *748 sender: *4 required: - action @@ -152368,8 +152868,8 @@ x-webhooks: - pending_change_cancelled effective_date: type: string - enterprise: *743 - installation: *744 + enterprise: *745 + installation: *746 marketplace_purchase: title: Marketplace Purchase type: object @@ -152451,9 +152951,9 @@ x-webhooks: type: integer unit_count: type: integer - organization: *745 - previous_marketplace_purchase: *774 - repository: *746 + organization: *747 + previous_marketplace_purchase: *776 + repository: *748 sender: *4 required: - action @@ -152533,12 +153033,12 @@ x-webhooks: - purchased effective_date: type: string - enterprise: *743 - installation: *744 - marketplace_purchase: *773 - organization: *745 - previous_marketplace_purchase: *774 - repository: *746 + enterprise: *745 + installation: *746 + marketplace_purchase: *775 + organization: *747 + previous_marketplace_purchase: *776 + repository: *748 sender: *4 required: - action @@ -152640,11 +153140,11 @@ x-webhooks: type: string required: - to - enterprise: *743 - installation: *744 - member: *765 - organization: *745 - repository: *746 + enterprise: *745 + installation: *746 + member: *767 + organization: *747 + repository: *748 sender: *4 required: - action @@ -152744,11 +153244,11 @@ x-webhooks: to: type: string nullable: true - enterprise: *743 - installation: *744 - member: *765 - organization: *745 - repository: *746 + enterprise: *745 + installation: *746 + member: *767 + organization: *747 + repository: *748 sender: *4 required: - action @@ -152827,11 +153327,11 @@ x-webhooks: type: string enum: - removed - enterprise: *743 - installation: *744 - member: *765 - organization: *745 - repository: *746 + enterprise: *745 + installation: *746 + member: *767 + organization: *747 + repository: *748 sender: *4 required: - action @@ -152909,11 +153409,11 @@ x-webhooks: type: string enum: - added - enterprise: *743 - installation: *744 - member: *765 - organization: *745 - repository: *746 + enterprise: *745 + installation: *746 + member: *767 + organization: *747 + repository: *748 scope: description: The scope of the membership. Currently, can only be `team`. @@ -152989,7 +153489,7 @@ x-webhooks: required: - login - id - team: &775 + team: &777 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -153212,11 +153712,11 @@ x-webhooks: type: string enum: - removed - enterprise: *743 - installation: *744 - member: *765 - organization: *745 - repository: *746 + enterprise: *745 + installation: *746 + member: *767 + organization: *747 + repository: *748 scope: description: The scope of the membership. Currently, can only be `team`. @@ -153293,7 +153793,7 @@ x-webhooks: required: - login - id - team: *775 + team: *777 required: - action - scope @@ -153375,8 +153875,8 @@ x-webhooks: type: string enum: - checks_requested - installation: *744 - merge_group: &777 + installation: *746 + merge_group: &779 type: object title: Merge Group description: A group of pull requests that the merge queue has grouped @@ -153395,15 +153895,15 @@ x-webhooks: description: The full ref of the branch the merge group will be merged into. type: string - head_commit: *776 + head_commit: *778 required: - head_sha - head_ref - base_sha - base_ref - head_commit - organization: *745 - repository: *746 + organization: *747 + repository: *748 sender: *4 required: - action @@ -153489,10 +153989,10 @@ x-webhooks: - merged - invalidated - dequeued - installation: *744 - merge_group: *777 - organization: *745 - repository: *746 + installation: *746 + merge_group: *779 + organization: *747 + repository: *748 sender: *4 required: - action @@ -153565,7 +154065,7 @@ x-webhooks: type: string enum: - deleted - enterprise: *743 + enterprise: *745 hook: description: 'The deleted webhook. This will contain different keys based on the type of webhook it is: repository, organization, @@ -153674,17 +154174,17 @@ x-webhooks: hook_id: description: The id of the modified webhook. type: integer - installation: *744 - organization: *745 + installation: *746 + organization: *747 repository: title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *778 - required: *779 - x-github-breaking-changes: *780 + properties: *780 + required: *781 + x-github-breaking-changes: *782 nullable: true sender: *4 required: @@ -153765,11 +154265,11 @@ x-webhooks: type: string enum: - closed - enterprise: *743 - installation: *744 - milestone: *770 - organization: *745 - repository: *746 + enterprise: *745 + installation: *746 + milestone: *773 + organization: *747 + repository: *748 sender: *4 required: - action @@ -153848,9 +154348,9 @@ x-webhooks: type: string enum: - created - enterprise: *743 - installation: *744 - milestone: &781 + enterprise: *745 + installation: *746 + milestone: &783 title: Milestone description: A collection of related issues and pull requests. type: object @@ -153987,8 +154487,8 @@ x-webhooks: - updated_at - due_on - closed_at - organization: *745 - repository: *746 + organization: *747 + repository: *748 sender: *4 required: - action @@ -154067,11 +154567,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *743 - installation: *744 - milestone: *770 - organization: *745 - repository: *746 + enterprise: *745 + installation: *746 + milestone: *773 + organization: *747 + repository: *748 sender: *4 required: - action @@ -154181,11 +154681,11 @@ x-webhooks: type: string required: - from - enterprise: *743 - installation: *744 - milestone: *770 - organization: *745 - repository: *746 + enterprise: *745 + installation: *746 + milestone: *773 + organization: *747 + repository: *748 sender: *4 required: - action @@ -154265,11 +154765,11 @@ x-webhooks: type: string enum: - opened - enterprise: *743 - installation: *744 - milestone: *781 - organization: *745 - repository: *746 + enterprise: *745 + installation: *746 + milestone: *783 + organization: *747 + repository: *748 sender: *4 required: - action @@ -154348,11 +154848,11 @@ x-webhooks: type: string enum: - blocked - blocked_user: *765 - enterprise: *743 - installation: *744 - organization: *745 - repository: *746 + blocked_user: *767 + enterprise: *745 + installation: *746 + organization: *747 + repository: *748 sender: *4 required: - action @@ -154431,11 +154931,11 @@ x-webhooks: type: string enum: - unblocked - blocked_user: *765 - enterprise: *743 - installation: *744 - organization: *745 - repository: *746 + blocked_user: *767 + enterprise: *745 + installation: *746 + organization: *747 + repository: *748 sender: *4 required: - action @@ -154514,9 +155014,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *743 - installation: *744 - membership: &782 + enterprise: *745 + installation: *746 + membership: &784 title: Membership description: The membership between the user and the organization. Not present when the action is `member_invited`. @@ -154623,8 +155123,8 @@ x-webhooks: - role - organization_url - user - organization: *745 - repository: *746 + organization: *747 + repository: *748 sender: *4 required: - action @@ -154702,11 +155202,11 @@ x-webhooks: type: string enum: - member_added - enterprise: *743 - installation: *744 - membership: *782 - organization: *745 - repository: *746 + enterprise: *745 + installation: *746 + membership: *784 + organization: *747 + repository: *748 sender: *4 required: - action @@ -154785,8 +155285,8 @@ x-webhooks: type: string enum: - member_invited - enterprise: *743 - installation: *744 + enterprise: *745 + installation: *746 invitation: description: The invitation for the user or email if the action is `member_invited`. @@ -154902,10 +155402,10 @@ x-webhooks: - inviter - team_count - invitation_teams_url - organization: *745 - repository: *746 + organization: *747 + repository: *748 sender: *4 - user: *765 + user: *767 required: - action - invitation @@ -154983,11 +155483,11 @@ x-webhooks: type: string enum: - member_removed - enterprise: *743 - installation: *744 - membership: *782 - organization: *745 - repository: *746 + enterprise: *745 + installation: *746 + membership: *784 + organization: *747 + repository: *748 sender: *4 required: - action @@ -155074,11 +155574,11 @@ x-webhooks: properties: from: type: string - enterprise: *743 - installation: *744 - membership: *782 - organization: *745 - repository: *746 + enterprise: *745 + installation: *746 + membership: *784 + organization: *747 + repository: *748 sender: *4 required: - action @@ -155155,9 +155655,9 @@ x-webhooks: type: string enum: - published - enterprise: *743 - installation: *744 - organization: *745 + enterprise: *745 + installation: *746 + organization: *747 package: description: Information about the package. type: object @@ -155656,7 +156156,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: &783 + items: &785 title: Ruby Gems metadata type: object properties: @@ -155751,7 +156251,7 @@ x-webhooks: - owner - package_version - registry - repository: *746 + repository: *748 sender: *4 required: - action @@ -155827,9 +156327,9 @@ x-webhooks: type: string enum: - updated - enterprise: *743 - installation: *744 - organization: *745 + enterprise: *745 + installation: *746 + organization: *747 package: description: Information about the package. type: object @@ -156182,7 +156682,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: *783 + items: *785 source_url: type: string format: uri @@ -156252,7 +156752,7 @@ x-webhooks: - owner - package_version - registry - repository: *746 + repository: *748 sender: *4 required: - action @@ -156428,12 +156928,12 @@ x-webhooks: - duration - created_at - updated_at - enterprise: *743 + enterprise: *745 id: type: integer - installation: *744 - organization: *745 - repository: *746 + installation: *746 + organization: *747 + repository: *748 sender: *4 required: - id @@ -156510,7 +157010,7 @@ x-webhooks: type: string enum: - approved - personal_access_token_request: &784 + personal_access_token_request: &786 title: Personal Access Token Request description: Details of a Personal Access Token Request. type: object @@ -156656,10 +157156,10 @@ x-webhooks: - token_expired - token_expires_at - token_last_used_at - enterprise: *743 - organization: *745 + enterprise: *745 + organization: *747 sender: *4 - installation: *744 + installation: *746 required: - action - personal_access_token_request @@ -156736,11 +157236,11 @@ x-webhooks: type: string enum: - cancelled - personal_access_token_request: *784 - enterprise: *743 - organization: *745 + personal_access_token_request: *786 + enterprise: *745 + organization: *747 sender: *4 - installation: *744 + installation: *746 required: - action - personal_access_token_request @@ -156816,11 +157316,11 @@ x-webhooks: type: string enum: - created - personal_access_token_request: *784 - enterprise: *743 - organization: *745 + personal_access_token_request: *786 + enterprise: *745 + organization: *747 sender: *4 - installation: *744 + installation: *746 required: - action - personal_access_token_request @@ -156895,11 +157395,11 @@ x-webhooks: type: string enum: - denied - personal_access_token_request: *784 - organization: *745 - enterprise: *743 + personal_access_token_request: *786 + organization: *747 + enterprise: *745 sender: *4 - installation: *744 + installation: *746 required: - action - personal_access_token_request @@ -157004,7 +157504,7 @@ x-webhooks: id: description: Unique identifier of the webhook. type: integer - last_response: *785 + last_response: *787 name: description: The type of webhook. The only valid value is 'web'. type: string @@ -157036,8 +157536,8 @@ x-webhooks: hook_id: description: The ID of the webhook that triggered the ping. type: integer - organization: *745 - repository: *746 + organization: *747 + repository: *748 sender: *4 zen: description: Random string of GitHub zen. @@ -157282,10 +157782,10 @@ x-webhooks: - from required: - note - enterprise: *743 - installation: *744 - organization: *745 - project_card: &786 + enterprise: *745 + installation: *746 + organization: *747 + project_card: &788 title: Project Card type: object properties: @@ -157404,7 +157904,7 @@ x-webhooks: - creator - created_at - updated_at - repository: *746 + repository: *748 sender: *4 required: - action @@ -157485,11 +157985,11 @@ x-webhooks: type: string enum: - created - enterprise: *743 - installation: *744 - organization: *745 - project_card: *786 - repository: *746 + enterprise: *745 + installation: *746 + organization: *747 + project_card: *788 + repository: *748 sender: *4 required: - action @@ -157569,9 +158069,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *743 - installation: *744 - organization: *745 + enterprise: *745 + installation: *746 + organization: *747 project_card: title: Project Card type: object @@ -157699,9 +158199,9 @@ x-webhooks: The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *778 - required: *779 - x-github-breaking-changes: *780 + properties: *780 + required: *781 + x-github-breaking-changes: *782 nullable: true sender: *4 required: @@ -157795,11 +158295,11 @@ x-webhooks: - from required: - note - enterprise: *743 - installation: *744 - organization: *745 - project_card: *786 - repository: *746 + enterprise: *745 + installation: *746 + organization: *747 + project_card: *788 + repository: *748 sender: *4 required: - action @@ -157893,9 +158393,9 @@ x-webhooks: - from required: - column_id - enterprise: *743 - installation: *744 - organization: *745 + enterprise: *745 + installation: *746 + organization: *747 project_card: allOf: - title: Project Card @@ -158085,7 +158585,7 @@ x-webhooks: type: string required: - after_id - repository: *746 + repository: *748 sender: *4 required: - action @@ -158165,10 +158665,10 @@ x-webhooks: type: string enum: - closed - enterprise: *743 - installation: *744 - organization: *745 - project: &788 + enterprise: *745 + installation: *746 + organization: *747 + project: &790 title: Project type: object properties: @@ -158292,7 +158792,7 @@ x-webhooks: - creator - created_at - updated_at - repository: *746 + repository: *748 sender: *4 required: - action @@ -158372,10 +158872,10 @@ x-webhooks: type: string enum: - created - enterprise: *743 - installation: *744 - organization: *745 - project_column: &787 + enterprise: *745 + installation: *746 + organization: *747 + project_column: &789 title: Project Column type: object properties: @@ -158414,7 +158914,7 @@ x-webhooks: - name - created_at - updated_at - repository: *746 + repository: *748 sender: *4 required: - action @@ -158493,19 +158993,19 @@ x-webhooks: type: string enum: - deleted - enterprise: *743 - installation: *744 - organization: *745 - project_column: *787 + enterprise: *745 + installation: *746 + organization: *747 + project_column: *789 repository: title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *778 - required: *779 - x-github-breaking-changes: *780 + properties: *780 + required: *781 + x-github-breaking-changes: *782 nullable: true sender: *4 required: @@ -158595,11 +159095,11 @@ x-webhooks: type: string required: - from - enterprise: *743 - installation: *744 - organization: *745 - project_column: *787 - repository: *746 + enterprise: *745 + installation: *746 + organization: *747 + project_column: *789 + repository: *748 sender: *4 required: - action @@ -158679,11 +159179,11 @@ x-webhooks: type: string enum: - moved - enterprise: *743 - installation: *744 - organization: *745 - project_column: *787 - repository: *746 + enterprise: *745 + installation: *746 + organization: *747 + project_column: *789 + repository: *748 sender: *4 required: - action @@ -158763,11 +159263,11 @@ x-webhooks: type: string enum: - created - enterprise: *743 - installation: *744 - organization: *745 - project: *788 - repository: *746 + enterprise: *745 + installation: *746 + organization: *747 + project: *790 + repository: *748 sender: *4 required: - action @@ -158847,19 +159347,19 @@ x-webhooks: type: string enum: - deleted - enterprise: *743 - installation: *744 - organization: *745 - project: *788 + enterprise: *745 + installation: *746 + organization: *747 + project: *790 repository: title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *778 - required: *779 - x-github-breaking-changes: *780 + properties: *780 + required: *781 + x-github-breaking-changes: *782 nullable: true sender: *4 required: @@ -158961,11 +159461,11 @@ x-webhooks: type: string required: - from - enterprise: *743 - installation: *744 - organization: *745 - project: *788 - repository: *746 + enterprise: *745 + installation: *746 + organization: *747 + project: *790 + repository: *748 sender: *4 required: - action @@ -159044,11 +159544,11 @@ x-webhooks: type: string enum: - reopened - enterprise: *743 - installation: *744 - organization: *745 - project: *788 - repository: *746 + enterprise: *745 + installation: *746 + organization: *747 + project: *790 + repository: *748 sender: *4 required: - action @@ -159129,9 +159629,9 @@ x-webhooks: type: string enum: - closed - installation: *744 - organization: *745 - projects_v2: *277 + installation: *746 + organization: *747 + projects_v2: *279 sender: *4 required: - action @@ -159212,9 +159712,9 @@ x-webhooks: type: string enum: - created - installation: *744 - organization: *745 - projects_v2: *277 + installation: *746 + organization: *747 + projects_v2: *279 sender: *4 required: - action @@ -159295,9 +159795,9 @@ x-webhooks: type: string enum: - deleted - installation: *744 - organization: *745 - projects_v2: *277 + installation: *746 + organization: *747 + projects_v2: *279 sender: *4 required: - action @@ -159414,9 +159914,9 @@ x-webhooks: type: string to: type: string - installation: *744 - organization: *745 - projects_v2: *277 + installation: *746 + organization: *747 + projects_v2: *279 sender: *4 required: - action @@ -159499,7 +159999,7 @@ x-webhooks: type: string enum: - archived - changes: &792 + changes: &794 type: object properties: archived_at: @@ -159513,9 +160013,9 @@ x-webhooks: type: string nullable: true format: date-time - installation: *744 - organization: *745 - projects_v2_item: &789 + installation: *746 + organization: *747 + projects_v2_item: &791 title: Projects v2 Item description: An item belonging to a project type: object @@ -159533,7 +160033,7 @@ x-webhooks: type: string description: The node ID of the content represented by this item. - content_type: *284 + content_type: *286 creator: *4 created_at: type: string @@ -159650,9 +160150,9 @@ x-webhooks: nullable: true to: type: string - installation: *744 - organization: *745 - projects_v2_item: *789 + installation: *746 + organization: *747 + projects_v2_item: *791 sender: *4 required: - action @@ -159734,9 +160234,9 @@ x-webhooks: type: string enum: - created - installation: *744 - organization: *745 - projects_v2_item: *789 + installation: *746 + organization: *747 + projects_v2_item: *791 sender: *4 required: - action @@ -159817,9 +160317,9 @@ x-webhooks: type: string enum: - deleted - installation: *744 - organization: *745 - projects_v2_item: *789 + installation: *746 + organization: *747 + projects_v2_item: *791 sender: *4 required: - action @@ -159925,7 +160425,7 @@ x-webhooks: oneOf: - type: string - type: integer - - &790 + - &792 title: Projects v2 Single Select Option description: An option for a single select field type: object @@ -159947,7 +160447,7 @@ x-webhooks: required: - id - name - - &791 + - &793 title: Projects v2 Iteration Setting description: An iteration setting for an iteration field type: object @@ -159981,8 +160481,8 @@ x-webhooks: oneOf: - type: string - type: integer - - *790 - - *791 + - *792 + - *793 required: - field_value - type: object @@ -159998,9 +160498,9 @@ x-webhooks: nullable: true required: - body - installation: *744 - organization: *745 - projects_v2_item: *789 + installation: *746 + organization: *747 + projects_v2_item: *791 sender: *4 required: - action @@ -160095,9 +160595,9 @@ x-webhooks: to: type: string nullable: true - installation: *744 - organization: *745 - projects_v2_item: *789 + installation: *746 + organization: *747 + projects_v2_item: *791 sender: *4 required: - action @@ -160180,10 +160680,10 @@ x-webhooks: type: string enum: - restored - changes: *792 - installation: *744 - organization: *745 - projects_v2_item: *789 + changes: *794 + installation: *746 + organization: *747 + projects_v2_item: *791 sender: *4 required: - action @@ -160265,9 +160765,9 @@ x-webhooks: type: string enum: - reopened - installation: *744 - organization: *745 - projects_v2: *277 + installation: *746 + organization: *747 + projects_v2: *279 sender: *4 required: - action @@ -160348,14 +160848,14 @@ x-webhooks: type: string enum: - created - installation: *744 - organization: *745 - projects_v2_status_update: &795 + installation: *746 + organization: *747 + projects_v2_status_update: &797 title: Projects v2 Status Update description: An status update belonging to a project type: object - properties: *793 - required: *794 + properties: *795 + required: *796 sender: *4 required: - action @@ -160436,9 +160936,9 @@ x-webhooks: type: string enum: - deleted - installation: *744 - organization: *745 - projects_v2_status_update: *795 + installation: *746 + organization: *747 + projects_v2_status_update: *797 sender: *4 required: - action @@ -160574,9 +161074,9 @@ x-webhooks: type: string format: date nullable: true - installation: *744 - organization: *745 - projects_v2_status_update: *795 + installation: *746 + organization: *747 + projects_v2_status_update: *797 sender: *4 required: - action @@ -160647,10 +161147,10 @@ x-webhooks: title: public event type: object properties: - enterprise: *743 - installation: *744 - organization: *745 - repository: *746 + enterprise: *745 + installation: *746 + organization: *747 + repository: *748 sender: *4 required: - repository @@ -160727,13 +161227,13 @@ x-webhooks: type: string enum: - assigned - assignee: *765 - enterprise: *743 - installation: *744 - number: &796 + assignee: *767 + enterprise: *745 + installation: *746 + number: &798 description: The pull request number. type: integer - organization: *745 + organization: *747 pull_request: title: Pull Request type: object @@ -163038,7 +163538,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *746 + repository: *748 sender: *4 required: - action @@ -163135,11 +163635,11 @@ x-webhooks: type: string enum: - auto_merge_disabled - enterprise: *743 - installation: *744 + enterprise: *745 + installation: *746 number: type: integer - organization: *745 + organization: *747 pull_request: title: Pull Request type: object @@ -165439,7 +165939,7 @@ x-webhooks: - draft reason: type: string - repository: *746 + repository: *748 sender: *4 required: - action @@ -165536,11 +166036,11 @@ x-webhooks: type: string enum: - auto_merge_enabled - enterprise: *743 - installation: *744 + enterprise: *745 + installation: *746 number: type: integer - organization: *745 + organization: *747 pull_request: title: Pull Request type: object @@ -167840,7 +168340,7 @@ x-webhooks: - draft reason: type: string - repository: *746 + repository: *748 sender: *4 required: - action @@ -167937,13 +168437,13 @@ x-webhooks: type: string enum: - closed - enterprise: *743 - installation: *744 - number: *796 - organization: *745 - pull_request: &797 + enterprise: *745 + installation: *746 + number: *798 + organization: *747 + pull_request: &799 allOf: - - *599 + - *601 - type: object properties: allow_auto_merge: @@ -168005,7 +168505,7 @@ x-webhooks: Please use `squash_merge_commit_title` instead.** type: boolean default: false - repository: *746 + repository: *748 sender: *4 required: - action @@ -168086,12 +168586,12 @@ x-webhooks: type: string enum: - converted_to_draft - enterprise: *743 - installation: *744 - number: *796 - organization: *745 - pull_request: *797 - repository: *746 + enterprise: *745 + installation: *746 + number: *798 + organization: *747 + pull_request: *799 + repository: *748 sender: *4 required: - action @@ -168171,11 +168671,11 @@ x-webhooks: type: string enum: - demilestoned - enterprise: *743 - milestone: *583 - number: *796 - organization: *745 - pull_request: &798 + enterprise: *745 + milestone: *585 + number: *798 + organization: *747 + pull_request: &800 title: Pull Request type: object properties: @@ -170502,7 +171002,7 @@ x-webhooks: - active_lock_reason - draft version: '2026-03-10' - repository: *746 + repository: *748 sender: *4 required: - action @@ -170581,11 +171081,11 @@ x-webhooks: type: string enum: - dequeued - enterprise: *743 - installation: *744 + enterprise: *745 + installation: *746 number: type: integer - organization: *745 + organization: *747 pull_request: title: Pull Request type: object @@ -172889,7 +173389,7 @@ x-webhooks: - BRANCH_PROTECTIONS - GIT_TREE_INVALID - INVALID_MERGE_COMMIT - repository: *746 + repository: *748 sender: *4 required: - action @@ -173021,12 +173521,12 @@ x-webhooks: type: string required: - from - enterprise: *743 - installation: *744 - number: *796 - organization: *745 - pull_request: *797 - repository: *746 + enterprise: *745 + installation: *746 + number: *798 + organization: *747 + pull_request: *799 + repository: *748 sender: *4 required: - action @@ -173106,11 +173606,11 @@ x-webhooks: type: string enum: - enqueued - enterprise: *743 - installation: *744 + enterprise: *745 + installation: *746 number: type: integer - organization: *745 + organization: *747 pull_request: title: Pull Request type: object @@ -175399,7 +175899,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *746 + repository: *748 sender: *4 required: - action @@ -175487,11 +175987,11 @@ x-webhooks: type: string enum: - labeled - enterprise: *743 - installation: *744 - label: *764 - number: *796 - organization: *745 + enterprise: *745 + installation: *746 + label: *766 + number: *798 + organization: *747 pull_request: title: Pull Request type: object @@ -177795,7 +178295,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *746 + repository: *748 sender: *4 required: - action @@ -177891,10 +178391,10 @@ x-webhooks: type: string enum: - locked - enterprise: *743 - installation: *744 - number: *796 - organization: *745 + enterprise: *745 + installation: *746 + number: *798 + organization: *747 pull_request: title: Pull Request type: object @@ -180196,7 +180696,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *746 + repository: *748 sender: *4 required: - action @@ -180291,12 +180791,12 @@ x-webhooks: type: string enum: - milestoned - enterprise: *743 - milestone: *583 - number: *796 - organization: *745 - pull_request: *798 - repository: *746 + enterprise: *745 + milestone: *585 + number: *798 + organization: *747 + pull_request: *800 + repository: *748 sender: *4 required: - action @@ -180375,12 +180875,12 @@ x-webhooks: type: string enum: - opened - enterprise: *743 - installation: *744 - number: *796 - organization: *745 - pull_request: *797 - repository: *746 + enterprise: *745 + installation: *746 + number: *798 + organization: *747 + pull_request: *799 + repository: *748 sender: *4 required: - action @@ -180461,12 +180961,12 @@ x-webhooks: type: string enum: - ready_for_review - enterprise: *743 - installation: *744 - number: *796 - organization: *745 - pull_request: *797 - repository: *746 + enterprise: *745 + installation: *746 + number: *798 + organization: *747 + pull_request: *799 + repository: *748 sender: *4 required: - action @@ -180546,12 +181046,12 @@ x-webhooks: type: string enum: - reopened - enterprise: *743 - installation: *744 - number: *796 - organization: *745 - pull_request: *797 - repository: *746 + enterprise: *745 + installation: *746 + number: *798 + organization: *747 + pull_request: *799 + repository: *748 sender: *4 required: - action @@ -180917,9 +181417,9 @@ x-webhooks: - start_side - side - reactions - enterprise: *743 - installation: *744 - organization: *745 + enterprise: *745 + installation: *746 + organization: *747 pull_request: type: object properties: @@ -183111,7 +183611,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *746 + repository: *748 sender: *4 required: - action @@ -183206,7 +183706,7 @@ x-webhooks: type: string enum: - deleted - comment: &800 + comment: &802 title: Pull Request Review Comment description: The [comment](https://docs.github.com/rest/pulls/comments#get-a-review-comment-for-a-pull-request) itself. @@ -183491,9 +183991,9 @@ x-webhooks: - start_side - side - reactions - enterprise: *743 - installation: *744 - organization: *745 + enterprise: *745 + installation: *746 + organization: *747 pull_request: type: object properties: @@ -185673,7 +186173,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *746 + repository: *748 sender: *4 required: - action @@ -185768,11 +186268,11 @@ x-webhooks: type: string enum: - edited - changes: *799 - comment: *800 - enterprise: *743 - installation: *744 - organization: *745 + changes: *801 + comment: *802 + enterprise: *745 + installation: *746 + organization: *747 pull_request: type: object properties: @@ -187955,7 +188455,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *746 + repository: *748 sender: *4 required: - action @@ -188051,9 +188551,9 @@ x-webhooks: type: string enum: - dismissed - enterprise: *743 - installation: *744 - organization: *745 + enterprise: *745 + installation: *746 + organization: *747 pull_request: title: Simple Pull Request type: object @@ -190248,7 +190748,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *746 + repository: *748 review: description: The review that was affected. type: object @@ -190510,9 +191010,9 @@ x-webhooks: type: string required: - from - enterprise: *743 - installation: *744 - organization: *745 + enterprise: *745 + installation: *746 + organization: *747 pull_request: title: Simple Pull Request type: object @@ -192566,8 +193066,8 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *746 - review: &801 + repository: *748 + review: &803 description: The review that was affected. type: object properties: @@ -192808,12 +193308,12 @@ x-webhooks: type: string enum: - review_request_removed - enterprise: *743 - installation: *744 + enterprise: *745 + installation: *746 number: description: The pull request number. type: integer - organization: *745 + organization: *747 pull_request: title: Pull Request type: object @@ -195118,7 +195618,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *746 + repository: *748 requested_reviewer: title: User type: object @@ -195202,12 +195702,12 @@ x-webhooks: type: string enum: - review_request_removed - enterprise: *743 - installation: *744 + enterprise: *745 + installation: *746 number: description: The pull request number. type: integer - organization: *745 + organization: *747 pull_request: title: Pull Request type: object @@ -197519,7 +198019,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *746 + repository: *748 requested_team: title: Team description: Groups of organization members that gives permissions @@ -197734,12 +198234,12 @@ x-webhooks: type: string enum: - review_requested - enterprise: *743 - installation: *744 + enterprise: *745 + installation: *746 number: description: The pull request number. type: integer - organization: *745 + organization: *747 pull_request: title: Pull Request type: object @@ -200046,7 +200546,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *746 + repository: *748 requested_reviewer: title: User type: object @@ -200131,12 +200631,12 @@ x-webhooks: type: string enum: - review_requested - enterprise: *743 - installation: *744 + enterprise: *745 + installation: *746 number: description: The pull request number. type: integer - organization: *745 + organization: *747 pull_request: title: Pull Request type: object @@ -202434,7 +202934,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *746 + repository: *748 requested_team: title: Team description: Groups of organization members that gives permissions @@ -202638,9 +203138,9 @@ x-webhooks: type: string enum: - submitted - enterprise: *743 - installation: *744 - organization: *745 + enterprise: *745 + installation: *746 + organization: *747 pull_request: title: Simple Pull Request type: object @@ -204837,8 +205337,8 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *746 - review: *801 + repository: *748 + review: *803 sender: *4 required: - action @@ -204933,9 +205433,9 @@ x-webhooks: type: string enum: - resolved - enterprise: *743 - installation: *744 - organization: *745 + enterprise: *745 + installation: *746 + organization: *747 pull_request: title: Simple Pull Request type: object @@ -207027,7 +207527,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *746 + repository: *748 sender: *4 thread: type: object @@ -207422,9 +207922,9 @@ x-webhooks: type: string enum: - unresolved - enterprise: *743 - installation: *744 - organization: *745 + enterprise: *745 + installation: *746 + organization: *747 pull_request: title: Simple Pull Request type: object @@ -209502,7 +210002,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *746 + repository: *748 sender: *4 thread: type: object @@ -209900,10 +210400,10 @@ x-webhooks: type: string before: type: string - enterprise: *743 - installation: *744 - number: *796 - organization: *745 + enterprise: *745 + installation: *746 + number: *798 + organization: *747 pull_request: title: Pull Request type: object @@ -212196,7 +212696,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *746 + repository: *748 sender: *4 required: - action @@ -212293,11 +212793,11 @@ x-webhooks: type: string enum: - unassigned - assignee: *802 - enterprise: *743 - installation: *744 - number: *796 - organization: *745 + assignee: *804 + enterprise: *745 + installation: *746 + number: *798 + organization: *747 pull_request: title: Pull Request type: object @@ -214602,7 +215102,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *746 + repository: *748 sender: *4 required: - action @@ -214696,11 +215196,11 @@ x-webhooks: type: string enum: - unlabeled - enterprise: *743 - installation: *744 - label: *764 - number: *796 - organization: *745 + enterprise: *745 + installation: *746 + label: *766 + number: *798 + organization: *747 pull_request: title: Pull Request type: object @@ -216995,7 +217495,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *746 + repository: *748 sender: *4 required: - action @@ -217091,10 +217591,10 @@ x-webhooks: type: string enum: - unlocked - enterprise: *743 - installation: *744 - number: *796 - organization: *745 + enterprise: *745 + installation: *746 + number: *798 + organization: *747 pull_request: title: Pull Request type: object @@ -219381,7 +219881,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *746 + repository: *748 sender: *4 required: - action @@ -219596,7 +220096,7 @@ x-webhooks: deleted: description: Whether this push deleted the `ref`. type: boolean - enterprise: *743 + enterprise: *745 forced: description: Whether this push was a force push of the `ref`. type: boolean @@ -219688,8 +220188,8 @@ x-webhooks: - url - author - committer - installation: *744 - organization: *745 + installation: *746 + organization: *747 pusher: title: Committer description: Metaproperties for Git author/committer information. @@ -220275,9 +220775,9 @@ x-webhooks: type: string enum: - published - enterprise: *743 - installation: *744 - organization: *745 + enterprise: *745 + installation: *746 + organization: *747 registry_package: type: object properties: @@ -220723,7 +221223,7 @@ x-webhooks: type: string rubygems_metadata: type: array - items: *783 + items: *785 summary: type: string tag_name: @@ -220777,7 +221277,7 @@ x-webhooks: - owner - package_version - registry - repository: *746 + repository: *748 sender: *4 required: - action @@ -220855,9 +221355,9 @@ x-webhooks: type: string enum: - updated - enterprise: *743 - installation: *744 - organization: *745 + enterprise: *745 + installation: *746 + organization: *747 registry_package: type: object properties: @@ -221165,7 +221665,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: *783 + items: *785 summary: type: string tag_name: @@ -221214,7 +221714,7 @@ x-webhooks: - owner - package_version - registry - repository: *746 + repository: *748 sender: *4 required: - action @@ -221291,10 +221791,10 @@ x-webhooks: type: string enum: - created - enterprise: *743 - installation: *744 - organization: *745 - release: &803 + enterprise: *745 + installation: *746 + organization: *747 + release: &805 title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) object. @@ -221612,7 +222112,7 @@ x-webhooks: - updated_at - zipball_url - body - repository: *746 + repository: *748 sender: *4 required: - action @@ -221689,11 +222189,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *743 - installation: *744 - organization: *745 - release: *803 - repository: *746 + enterprise: *745 + installation: *746 + organization: *747 + release: *805 + repository: *748 sender: *4 required: - action @@ -221810,11 +222310,11 @@ x-webhooks: type: boolean required: - to - enterprise: *743 - installation: *744 - organization: *745 - release: *803 - repository: *746 + enterprise: *745 + installation: *746 + organization: *747 + release: *805 + repository: *748 sender: *4 required: - action @@ -221892,9 +222392,9 @@ x-webhooks: type: string enum: - prereleased - enterprise: *743 - installation: *744 - organization: *745 + enterprise: *745 + installation: *746 + organization: *747 release: title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) @@ -222216,7 +222716,7 @@ x-webhooks: type: string nullable: true format: uri - repository: *746 + repository: *748 sender: *4 required: - action @@ -222292,10 +222792,10 @@ x-webhooks: type: string enum: - published - enterprise: *743 - installation: *744 - organization: *745 - release: &804 + enterprise: *745 + installation: *746 + organization: *747 + release: &806 title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) object. @@ -222614,7 +223114,7 @@ x-webhooks: type: string nullable: true format: uri - repository: *746 + repository: *748 sender: *4 required: - action @@ -222690,11 +223190,11 @@ x-webhooks: type: string enum: - released - enterprise: *743 - installation: *744 - organization: *745 - release: *803 - repository: *746 + enterprise: *745 + installation: *746 + organization: *747 + release: *805 + repository: *748 sender: *4 required: - action @@ -222770,11 +223270,11 @@ x-webhooks: type: string enum: - unpublished - enterprise: *743 - installation: *744 - organization: *745 - release: *804 - repository: *746 + enterprise: *745 + installation: *746 + organization: *747 + release: *806 + repository: *748 sender: *4 required: - action @@ -222850,11 +223350,11 @@ x-webhooks: type: string enum: - published - enterprise: *743 - installation: *744 - organization: *745 - repository: *746 - repository_advisory: *666 + enterprise: *745 + installation: *746 + organization: *747 + repository: *748 + repository_advisory: *668 sender: *4 required: - action @@ -222930,11 +223430,11 @@ x-webhooks: type: string enum: - reported - enterprise: *743 - installation: *744 - organization: *745 - repository: *746 - repository_advisory: *666 + enterprise: *745 + installation: *746 + organization: *747 + repository: *748 + repository_advisory: *668 sender: *4 required: - action @@ -223010,10 +223510,10 @@ x-webhooks: type: string enum: - archived - enterprise: *743 - installation: *744 - organization: *745 - repository: *746 + enterprise: *745 + installation: *746 + organization: *747 + repository: *748 sender: *4 required: - action @@ -223090,10 +223590,10 @@ x-webhooks: type: string enum: - created - enterprise: *743 - installation: *744 - organization: *745 - repository: *746 + enterprise: *745 + installation: *746 + organization: *747 + repository: *748 sender: *4 required: - action @@ -223171,10 +223671,10 @@ x-webhooks: type: string enum: - deleted - enterprise: *743 - installation: *744 - organization: *745 - repository: *746 + enterprise: *745 + installation: *746 + organization: *747 + repository: *748 sender: *4 required: - action @@ -223258,10 +223758,10 @@ x-webhooks: additionalProperties: true description: The `client_payload` that was specified in the `POST /repos/{owner}/{repo}/dispatches` request body. - enterprise: *743 - installation: *744 - organization: *745 - repository: *746 + enterprise: *745 + installation: *746 + organization: *747 + repository: *748 sender: *4 required: - action @@ -223373,10 +223873,10 @@ x-webhooks: nullable: true items: type: string - enterprise: *743 - installation: *744 - organization: *745 - repository: *746 + enterprise: *745 + installation: *746 + organization: *747 + repository: *748 sender: *4 required: - action @@ -223448,10 +223948,10 @@ x-webhooks: title: repository_import event type: object properties: - enterprise: *743 - installation: *744 - organization: *745 - repository: *746 + enterprise: *745 + installation: *746 + organization: *747 + repository: *748 sender: *4 status: type: string @@ -223532,10 +224032,10 @@ x-webhooks: type: string enum: - privatized - enterprise: *743 - installation: *744 - organization: *745 - repository: *746 + enterprise: *745 + installation: *746 + organization: *747 + repository: *748 sender: *4 required: - action @@ -223612,10 +224112,10 @@ x-webhooks: type: string enum: - publicized - enterprise: *743 - installation: *744 - organization: *745 - repository: *746 + enterprise: *745 + installation: *746 + organization: *747 + repository: *748 sender: *4 required: - action @@ -223709,10 +224209,10 @@ x-webhooks: - name required: - repository - enterprise: *743 - installation: *744 - organization: *745 - repository: *746 + enterprise: *745 + installation: *746 + organization: *747 + repository: *748 sender: *4 required: - action @@ -223792,11 +224292,11 @@ x-webhooks: type: string enum: - created - enterprise: *743 - installation: *744 - organization: *745 - repository: *746 - repository_ruleset: *326 + enterprise: *745 + installation: *746 + organization: *747 + repository: *748 + repository_ruleset: *328 sender: *4 required: - action @@ -223874,11 +224374,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *743 - installation: *744 - organization: *745 - repository: *746 - repository_ruleset: *326 + enterprise: *745 + installation: *746 + organization: *747 + repository: *748 + repository_ruleset: *328 sender: *4 required: - action @@ -223956,11 +224456,11 @@ x-webhooks: type: string enum: - edited - enterprise: *743 - installation: *744 - organization: *745 - repository: *746 - repository_ruleset: *326 + enterprise: *745 + installation: *746 + organization: *747 + repository: *748 + repository_ruleset: *328 changes: type: object properties: @@ -223979,16 +224479,16 @@ x-webhooks: properties: added: type: array - items: *300 + items: *302 deleted: type: array - items: *300 + items: *302 updated: type: array items: type: object properties: - condition: *300 + condition: *302 changes: type: object properties: @@ -224021,16 +224521,16 @@ x-webhooks: properties: added: type: array - items: *619 + items: *621 deleted: type: array - items: *619 + items: *621 updated: type: array items: type: object properties: - rule: *619 + rule: *621 changes: type: object properties: @@ -224264,10 +224764,10 @@ x-webhooks: - from required: - owner - enterprise: *743 - installation: *744 - organization: *745 - repository: *746 + enterprise: *745 + installation: *746 + organization: *747 + repository: *748 sender: *4 required: - action @@ -224345,10 +224845,10 @@ x-webhooks: type: string enum: - unarchived - enterprise: *743 - installation: *744 - organization: *745 - repository: *746 + enterprise: *745 + installation: *746 + organization: *747 + repository: *748 sender: *4 required: - action @@ -224426,7 +224926,7 @@ x-webhooks: type: string enum: - create - alert: &805 + alert: &807 title: Repository Vulnerability Alert Alert description: The security alert of the vulnerable dependency. type: object @@ -224548,10 +225048,10 @@ x-webhooks: enum: - auto_dismissed - open - enterprise: *743 - installation: *744 - organization: *745 - repository: *746 + enterprise: *745 + installation: *746 + organization: *747 + repository: *748 sender: *4 required: - action @@ -224757,10 +225257,10 @@ x-webhooks: type: string enum: - dismissed - enterprise: *743 - installation: *744 - organization: *745 - repository: *746 + enterprise: *745 + installation: *746 + organization: *747 + repository: *748 sender: *4 required: - action @@ -224838,11 +225338,11 @@ x-webhooks: type: string enum: - reopen - alert: *805 - enterprise: *743 - installation: *744 - organization: *745 - repository: *746 + alert: *807 + enterprise: *745 + installation: *746 + organization: *747 + repository: *748 sender: *4 required: - action @@ -225041,10 +225541,10 @@ x-webhooks: enum: - fixed - open - enterprise: *743 - installation: *744 - organization: *745 - repository: *746 + enterprise: *745 + installation: *746 + organization: *747 + repository: *748 sender: *4 required: - action @@ -225122,11 +225622,11 @@ x-webhooks: type: string enum: - assigned - alert: &806 + alert: &808 type: object properties: - number: *177 - created_at: *178 + number: *179 + created_at: *180 updated_at: type: string description: 'The time that the alert was last updated in ISO @@ -225134,8 +225634,8 @@ x-webhooks: format: date-time readOnly: true nullable: true - url: *180 - html_url: *181 + url: *182 + html_url: *183 locations_url: type: string format: uri @@ -225265,10 +225765,10 @@ x-webhooks: required: *21 nullable: true assignee: *4 - enterprise: *743 - installation: *744 - organization: *745 - repository: *746 + enterprise: *745 + installation: *746 + organization: *747 + repository: *748 sender: *4 required: - action @@ -225346,11 +225846,11 @@ x-webhooks: type: string enum: - created - alert: *806 - enterprise: *743 - installation: *744 - organization: *745 - repository: *746 + alert: *808 + enterprise: *745 + installation: *746 + organization: *747 + repository: *748 sender: *4 required: - action @@ -225431,11 +225931,11 @@ x-webhooks: type: string enum: - created - alert: *806 - installation: *744 - location: *807 - organization: *745 - repository: *746 + alert: *808 + installation: *746 + location: *809 + organization: *747 + repository: *748 sender: *4 required: - location @@ -225673,11 +226173,11 @@ x-webhooks: type: string enum: - publicly_leaked - alert: *806 - enterprise: *743 - installation: *744 - organization: *745 - repository: *746 + alert: *808 + enterprise: *745 + installation: *746 + organization: *747 + repository: *748 sender: *4 required: - action @@ -225755,11 +226255,11 @@ x-webhooks: type: string enum: - reopened - alert: *806 - enterprise: *743 - installation: *744 - organization: *745 - repository: *746 + alert: *808 + enterprise: *745 + installation: *746 + organization: *747 + repository: *748 sender: *4 required: - action @@ -225837,11 +226337,11 @@ x-webhooks: type: string enum: - resolved - alert: *806 - enterprise: *743 - installation: *744 - organization: *745 - repository: *746 + alert: *808 + enterprise: *745 + installation: *746 + organization: *747 + repository: *748 sender: *4 required: - action @@ -225919,12 +226419,12 @@ x-webhooks: type: string enum: - unassigned - alert: *806 + alert: *808 assignee: *4 - enterprise: *743 - installation: *744 - organization: *745 - repository: *746 + enterprise: *745 + installation: *746 + organization: *747 + repository: *748 sender: *4 required: - action @@ -226002,11 +226502,11 @@ x-webhooks: type: string enum: - validated - alert: *806 - enterprise: *743 - installation: *744 - organization: *745 - repository: *746 + alert: *808 + enterprise: *745 + installation: *746 + organization: *747 + repository: *748 sender: *4 required: - action @@ -226132,10 +226632,10 @@ x-webhooks: - organization - enterprise nullable: true - repository: *746 - enterprise: *743 - installation: *744 - organization: *745 + repository: *748 + enterprise: *745 + installation: *746 + organization: *747 sender: *4 required: - action @@ -226213,11 +226713,11 @@ x-webhooks: type: string enum: - published - enterprise: *743 - installation: *744 - organization: *745 - repository: *746 - security_advisory: &808 + enterprise: *745 + installation: *746 + organization: *747 + repository: *748 + security_advisory: &810 description: The details of the security advisory, including summary, description, and severity. type: object @@ -226418,11 +226918,11 @@ x-webhooks: type: string enum: - updated - enterprise: *743 - installation: *744 - organization: *745 - repository: *746 - security_advisory: *808 + enterprise: *745 + installation: *746 + organization: *747 + repository: *748 + security_advisory: *810 sender: *4 required: - action @@ -226495,10 +226995,10 @@ x-webhooks: type: string enum: - withdrawn - enterprise: *743 - installation: *744 - organization: *745 - repository: *746 + enterprise: *745 + installation: *746 + organization: *747 + repository: *748 security_advisory: description: The details of the security advisory, including summary, description, and severity. @@ -226690,11 +227190,11 @@ x-webhooks: from: type: object properties: - security_and_analysis: *299 - enterprise: *743 - installation: *744 - organization: *745 - repository: *347 + security_and_analysis: *301 + enterprise: *745 + installation: *746 + organization: *747 + repository: *349 sender: *4 required: - changes @@ -226772,12 +227272,12 @@ x-webhooks: type: string enum: - cancelled - enterprise: *743 - installation: *744 - organization: *745 - repository: *746 + enterprise: *745 + installation: *746 + organization: *747 + repository: *748 sender: *4 - sponsorship: &809 + sponsorship: &811 type: object properties: created_at: @@ -227078,12 +227578,12 @@ x-webhooks: type: string enum: - created - enterprise: *743 - installation: *744 - organization: *745 - repository: *746 + enterprise: *745 + installation: *746 + organization: *747 + repository: *748 sender: *4 - sponsorship: *809 + sponsorship: *811 required: - action - sponsorship @@ -227171,12 +227671,12 @@ x-webhooks: type: string required: - from - enterprise: *743 - installation: *744 - organization: *745 - repository: *746 + enterprise: *745 + installation: *746 + organization: *747 + repository: *748 sender: *4 - sponsorship: *809 + sponsorship: *811 required: - action - changes @@ -227253,17 +227753,17 @@ x-webhooks: type: string enum: - pending_cancellation - effective_date: &810 + effective_date: &812 description: The `pending_cancellation` and `pending_tier_change` event types will include the date the cancellation or tier change will take effect. type: string - enterprise: *743 - installation: *744 - organization: *745 - repository: *746 + enterprise: *745 + installation: *746 + organization: *747 + repository: *748 sender: *4 - sponsorship: *809 + sponsorship: *811 required: - action - sponsorship @@ -227337,7 +227837,7 @@ x-webhooks: type: string enum: - pending_tier_change - changes: &811 + changes: &813 type: object properties: tier: @@ -227381,13 +227881,13 @@ x-webhooks: - from required: - tier - effective_date: *810 - enterprise: *743 - installation: *744 - organization: *745 - repository: *746 + effective_date: *812 + enterprise: *745 + installation: *746 + organization: *747 + repository: *748 sender: *4 - sponsorship: *809 + sponsorship: *811 required: - action - changes @@ -227464,13 +227964,13 @@ x-webhooks: type: string enum: - tier_changed - changes: *811 - enterprise: *743 - installation: *744 - organization: *745 - repository: *746 + changes: *813 + enterprise: *745 + installation: *746 + organization: *747 + repository: *748 sender: *4 - sponsorship: *809 + sponsorship: *811 required: - action - changes @@ -227544,10 +228044,10 @@ x-webhooks: type: string enum: - created - enterprise: *743 - installation: *744 - organization: *745 - repository: *746 + enterprise: *745 + installation: *746 + organization: *747 + repository: *748 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -227630,10 +228130,10 @@ x-webhooks: type: string enum: - deleted - enterprise: *743 - installation: *744 - organization: *745 - repository: *746 + enterprise: *745 + installation: *746 + organization: *747 + repository: *748 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -228053,15 +228553,15 @@ x-webhooks: status. type: string nullable: true - enterprise: *743 + enterprise: *745 id: description: The unique identifier of the status. type: integer - installation: *744 + installation: *746 name: type: string - organization: *745 - repository: *746 + organization: *747 + repository: *748 sender: *4 sha: description: The Commit SHA. @@ -228170,15 +228670,15 @@ x-webhooks: parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *86 - parent_issue_repo: *80 + parent_issue: *88 + parent_issue_repo: *82 sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *86 - installation: *744 - organization: *745 - repository: *746 + sub_issue: *88 + installation: *746 + organization: *747 + repository: *748 sender: *4 required: - action @@ -228262,15 +228762,15 @@ x-webhooks: parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *86 - parent_issue_repo: *80 + parent_issue: *88 + parent_issue_repo: *82 sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *86 - installation: *744 - organization: *745 - repository: *746 + sub_issue: *88 + installation: *746 + organization: *747 + repository: *748 sender: *4 required: - action @@ -228354,15 +228854,15 @@ x-webhooks: sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *86 - sub_issue_repo: *80 + sub_issue: *88 + sub_issue_repo: *82 parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *86 - installation: *744 - organization: *745 - repository: *746 + parent_issue: *88 + installation: *746 + organization: *747 + repository: *748 sender: *4 required: - action @@ -228446,15 +228946,15 @@ x-webhooks: sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *86 - sub_issue_repo: *80 + sub_issue: *88 + sub_issue_repo: *82 parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *86 - installation: *744 - organization: *745 - repository: *746 + parent_issue: *88 + installation: *746 + organization: *747 + repository: *748 sender: *4 required: - action @@ -228531,12 +229031,12 @@ x-webhooks: title: team_add event type: object properties: - enterprise: *743 - installation: *744 - organization: *745 - repository: *746 + enterprise: *745 + installation: *746 + organization: *747 + repository: *748 sender: *4 - team: &812 + team: &814 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -228759,9 +229259,9 @@ x-webhooks: type: string enum: - added_to_repository - enterprise: *743 - installation: *744 - organization: *745 + enterprise: *745 + installation: *746 + organization: *747 repository: title: Repository description: A git repository @@ -229219,7 +229719,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *812 + team: *814 required: - action - team @@ -229295,9 +229795,9 @@ x-webhooks: type: string enum: - created - enterprise: *743 - installation: *744 - organization: *745 + enterprise: *745 + installation: *746 + organization: *747 repository: title: Repository description: A git repository @@ -229755,7 +230255,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *812 + team: *814 required: - action - team @@ -229832,9 +230332,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *743 - installation: *744 - organization: *745 + enterprise: *745 + installation: *746 + organization: *747 repository: title: Repository description: A git repository @@ -230292,7 +230792,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *812 + team: *814 required: - action - team @@ -230436,9 +230936,9 @@ x-webhooks: - from required: - permissions - enterprise: *743 - installation: *744 - organization: *745 + enterprise: *745 + installation: *746 + organization: *747 repository: title: Repository description: A git repository @@ -230896,7 +231396,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *812 + team: *814 required: - action - changes @@ -230974,9 +231474,9 @@ x-webhooks: type: string enum: - removed_from_repository - enterprise: *743 - installation: *744 - organization: *745 + enterprise: *745 + installation: *746 + organization: *747 repository: title: Repository description: A git repository @@ -231434,7 +231934,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *812 + team: *814 required: - action - team @@ -231510,10 +232010,10 @@ x-webhooks: type: string enum: - started - enterprise: *743 - installation: *744 - organization: *745 - repository: *746 + enterprise: *745 + installation: *746 + organization: *747 + repository: *748 sender: *4 required: - action @@ -231586,16 +232086,16 @@ x-webhooks: title: workflow_dispatch event type: object properties: - enterprise: *743 + enterprise: *745 inputs: type: object nullable: true additionalProperties: true - installation: *744 - organization: *745 + installation: *746 + organization: *747 ref: type: string - repository: *746 + repository: *748 sender: *4 workflow: type: string @@ -231677,10 +232177,10 @@ x-webhooks: type: string enum: - completed - enterprise: *743 - installation: *744 - organization: *745 - repository: *746 + enterprise: *745 + installation: *746 + organization: *747 + repository: *748 sender: *4 workflow_job: allOf: @@ -231917,7 +232417,7 @@ x-webhooks: type: string required: - conclusion - deployment: *508 + deployment: *510 required: - action - repository @@ -231996,10 +232496,10 @@ x-webhooks: type: string enum: - in_progress - enterprise: *743 - installation: *744 - organization: *745 - repository: *746 + enterprise: *745 + installation: *746 + organization: *747 + repository: *748 sender: *4 workflow_job: allOf: @@ -232259,7 +232759,7 @@ x-webhooks: required: - status - steps - deployment: *508 + deployment: *510 required: - action - repository @@ -232338,10 +232838,10 @@ x-webhooks: type: string enum: - queued - enterprise: *743 - installation: *744 - organization: *745 - repository: *746 + enterprise: *745 + installation: *746 + organization: *747 + repository: *748 sender: *4 workflow_job: type: object @@ -232476,7 +232976,7 @@ x-webhooks: - workflow_name - head_branch - created_at - deployment: *508 + deployment: *510 required: - action - repository @@ -232555,10 +233055,10 @@ x-webhooks: type: string enum: - waiting - enterprise: *743 - installation: *744 - organization: *745 - repository: *746 + enterprise: *745 + installation: *746 + organization: *747 + repository: *748 sender: *4 workflow_job: type: object @@ -232694,7 +233194,7 @@ x-webhooks: - workflow_name - head_branch - created_at - deployment: *508 + deployment: *510 required: - action - repository @@ -232774,12 +233274,12 @@ x-webhooks: type: string enum: - completed - enterprise: *743 - installation: *744 - organization: *745 - repository: *746 + enterprise: *745 + installation: *746 + organization: *747 + repository: *748 sender: *4 - workflow: *760 + workflow: *762 workflow_run: title: Workflow Run type: object @@ -233778,12 +234278,12 @@ x-webhooks: type: string enum: - in_progress - enterprise: *743 - installation: *744 - organization: *745 - repository: *746 + enterprise: *745 + installation: *746 + organization: *747 + repository: *748 sender: *4 - workflow: *760 + workflow: *762 workflow_run: title: Workflow Run type: object @@ -234767,12 +235267,12 @@ x-webhooks: type: string enum: - requested - enterprise: *743 - installation: *744 - organization: *745 - repository: *746 + enterprise: *745 + installation: *746 + organization: *747 + repository: *748 sender: *4 - workflow: *760 + workflow: *762 workflow_run: title: Workflow Run type: object diff --git a/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.json b/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.json index 2be9dc832c..b76efa925e 100644 --- a/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.json +++ b/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.json @@ -47785,6 +47785,905 @@ } } }, + "/enterprises/{enterprise}/dependabot/repository-access": { + "get": { + "summary": "Lists the repositories Dependabot can access in an enterprise", + "description": "Lists repositories that enterprise admins have allowed Dependabot to access when updating dependencies across organizations in the enterprise.\n\nThe authenticated user must be an enterprise owner to use this endpoint.", + "tags": [ + "dependabot" + ], + "operationId": "dependabot/repository-access-for-enterprise", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/dependabot/repository-access#lists-the-repositories-dependabot-can-access-in-an-enterprise" + }, + "parameters": [ + { + "name": "enterprise", + "description": "The slug version of the enterprise name.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "page", + "in": "query", + "description": "The page number of results to fetch.", + "required": false, + "schema": { + "type": "integer", + "minimum": 1, + "default": 1 + } + }, + { + "name": "per_page", + "in": "query", + "description": "Number of results per page.", + "required": false, + "schema": { + "type": "integer", + "minimum": 1, + "maximum": 100, + "default": 30 + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "title": "Dependabot Repository Access Details", + "description": "Information about repositories that Dependabot is able to access in an organization", + "type": "object", + "properties": { + "default_level": { + "type": "string", + "description": "The default repository access level for Dependabot updates.", + "enum": [ + "public", + "internal" + ], + "example": "internal", + "nullable": true + }, + "accessible_repositories": { + "type": "array", + "items": { + "title": "Simple Repository", + "description": "A GitHub repository.", + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "example": 1296269, + "description": "A unique identifier of the repository." + }, + "node_id": { + "type": "string", + "example": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5", + "description": "The GraphQL identifier of the repository." + }, + "name": { + "type": "string", + "example": "Hello-World", + "description": "The name of the repository." + }, + "full_name": { + "type": "string", + "example": "octocat/Hello-World", + "description": "The full, globally unique, name of the repository." + }, + "owner": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "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" + ] + }, + "private": { + "type": "boolean", + "description": "Whether the repository is private." + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat/Hello-World", + "description": "The URL to view the repository on GitHub.com." + }, + "description": { + "type": "string", + "example": "This your first repo!", + "nullable": true, + "description": "The repository description." + }, + "fork": { + "type": "boolean", + "description": "Whether the repository is a fork." + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octocat/Hello-World", + "description": "The URL to get more information about the repository from the GitHub API." + }, + "archive_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}", + "description": "A template for the API URL to download the repository as an archive." + }, + "assignees_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/assignees{/user}", + "description": "A template for the API URL to list the available assignees for issues in the repository." + }, + "blobs_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}", + "description": "A template for the API URL to create or retrieve a raw Git blob in the repository." + }, + "branches_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/branches{/branch}", + "description": "A template for the API URL to get information about branches in the repository." + }, + "collaborators_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}", + "description": "A template for the API URL to get information about collaborators of the repository." + }, + "comments_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/comments{/number}", + "description": "A template for the API URL to get information about comments on the repository." + }, + "commits_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/commits{/sha}", + "description": "A template for the API URL to get information about commits on the repository." + }, + "compare_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}", + "description": "A template for the API URL to compare two commits or refs." + }, + "contents_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/contents/{+path}", + "description": "A template for the API URL to get the contents of the repository." + }, + "contributors_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octocat/Hello-World/contributors", + "description": "A template for the API URL to list the contributors to the repository." + }, + "deployments_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octocat/Hello-World/deployments", + "description": "The API URL to list the deployments of the repository." + }, + "downloads_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octocat/Hello-World/downloads", + "description": "The API URL to list the downloads on the repository." + }, + "events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octocat/Hello-World/events", + "description": "The API URL to list the events of the repository." + }, + "forks_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octocat/Hello-World/forks", + "description": "The API URL to list the forks of the repository." + }, + "git_commits_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/git/commits{/sha}", + "description": "A template for the API URL to get information about Git commits of the repository." + }, + "git_refs_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/git/refs{/sha}", + "description": "A template for the API URL to get information about Git refs of the repository." + }, + "git_tags_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/git/tags{/sha}", + "description": "A template for the API URL to get information about Git tags of the repository." + }, + "issue_comment_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/issues/comments{/number}", + "description": "A template for the API URL to get information about issue comments on the repository." + }, + "issue_events_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/issues/events{/number}", + "description": "A template for the API URL to get information about issue events on the repository." + }, + "issues_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/issues{/number}", + "description": "A template for the API URL to get information about issues on the repository." + }, + "keys_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/keys{/key_id}", + "description": "A template for the API URL to get information about deploy keys on the repository." + }, + "labels_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/labels{/name}", + "description": "A template for the API URL to get information about labels of the repository." + }, + "languages_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octocat/Hello-World/languages", + "description": "The API URL to get information about the languages of the repository." + }, + "merges_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octocat/Hello-World/merges", + "description": "The API URL to merge branches in the repository." + }, + "milestones_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/milestones{/number}", + "description": "A template for the API URL to get information about milestones of the repository." + }, + "notifications_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}", + "description": "A template for the API URL to get information about notifications on the repository." + }, + "pulls_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/pulls{/number}", + "description": "A template for the API URL to get information about pull requests on the repository." + }, + "releases_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/releases{/id}", + "description": "A template for the API URL to get information about releases on the repository." + }, + "stargazers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octocat/Hello-World/stargazers", + "description": "The API URL to list the stargazers on the repository." + }, + "statuses_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/statuses/{sha}", + "description": "A template for the API URL to get information about statuses of a commit." + }, + "subscribers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octocat/Hello-World/subscribers", + "description": "The API URL to list the subscribers on the repository." + }, + "subscription_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octocat/Hello-World/subscription", + "description": "The API URL to subscribe to notifications for this repository." + }, + "tags_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octocat/Hello-World/tags", + "description": "The API URL to get information about tags on the repository." + }, + "teams_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octocat/Hello-World/teams", + "description": "The API URL to list the teams on the repository." + }, + "trees_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/git/trees{/sha}", + "description": "A template for the API URL to create or retrieve a raw Git tree of the repository." + }, + "hooks_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octocat/Hello-World/hooks", + "description": "The API URL to list the hooks on the 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" + ], + "nullable": true + } + } + }, + "additionalProperties": false + }, + "examples": { + "default": { + "value": { + "default_level": "public", + "accessible_repositories": [ + { + "id": 123456, + "node_id": "MDEwOlJlcG9zaXRvcnkxMjM0NTY=", + "name": "example-repo", + "full_name": "octocat/example-repo", + "owner": { + "name": "octocat", + "email": "octo@github.com", + "login": "octocat", + "id": 1, + "node_id": "MDQ6VXNlcjE=", + "avatar_url": "https://avatars.githubusercontent.com/u/1?v=4", + "gravatar_id": 1, + "url": "https://api.github.com/users/octocat", + "html_url": "https://github.com/octocat/example-repo", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "starred_url": "https://api.github.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, + "starred_at": "\"2020-07-09T00:17:55Z\"", + "user_view_type": "default" + }, + "private": false, + "html_url": "https://github.com/octocat/example-repo", + "description": "This is an example repository.", + "fork": false, + "url": "https://api.github.com/repos/octocat/example-repo", + "archive_url": "https://api.github.com/repos/octocat/example-repo/{archive_format}{/ref}", + "assignees_url": "https://api.github.com/repos/octocat/example-repo/assignees{/user}", + "blobs_url": "https://api.github.com/repos/octocat/example-repo/git/blobs{/sha}", + "branches_url": "https://api.github.com/repos/octocat/example-repo/branches{/branch}", + "collaborators_url": "https://api.github.com/repos/octocat/example-repo/collaborators{/collaborator}", + "comments_url": "https://api.github.com/repos/octocat/example-repo/comments{/number}", + "commits_url": "https://api.github.com/repos/octocat/example-repo/commits{/sha}", + "compare_url": "https://api.github.com/repos/octocat/example-repo/compare/{base}...{head}", + "contents_url": "https://api.github.com/repos/octocat/example-repo/contents/{+path}", + "contributors_url": "https://api.github.com/repos/octocat/example-repo/contributors", + "deployments_url": "https://api.github.com/repos/octocat/example-repo/deployments", + "downloads_url": "https://api.github.com/repos/octocat/example-repo/downloads", + "events_url": "https://api.github.com/repos/octocat/example-repo/events", + "forks_url": "https://api.github.com/repos/octocat/example-repo/forks", + "git_commits_url": "https://api.github.com/repos/octocat/example-repo/git/commits{/sha}", + "git_refs_url": "https://api.github.com/repos/octocat/example-repo/git/refs{/sha}", + "git_tags_url": "https://api.github.com/repos/octocat/example-repo/git/tags{/sha}", + "issue_comment_url": "https://api.github.com/repos/octocat/example-repo/issues/comments{/number}", + "issue_events_url": "https://api.github.com/repos/octocat/example-repo/issues/events{/number}", + "issues_url": "https://api.github.com/repos/octocat/example-repo/issues{/number}", + "keys_url": "https://api.github.com/repos/octocat/example-repo/keys{/key_id}", + "labels_url": "https://api.github.com/repos/octocat/example-repo/labels{/name}", + "languages_url": "https://api.github.com/repos/octocat/example-repo/languages", + "merges_url": "https://api.github.com/repos/octocat/example-repo/merges", + "milestones_url": "https://api.github.com/repos/octocat/example-repo/milestones{/number}", + "notifications_url": "https://api.github.com/repos/octocat/example-repo/notifications{?since,all,participating}", + "pulls_url": "https://api.github.com/repos/octocat/example-repo/pulls{/number}", + "releases_url": "https://api.github.com/repos/octocat/example-repo/releases{/id}", + "stargazers_url": "https://api.github.com/repos/octocat/example-repo/stargazers", + "statuses_url": "https://api.github.com/repos/octocat/example-repo/statuses/{sha}", + "subscribers_url": "https://api.github.com/repos/octocat/example-repo/subscribers", + "subscription_url": "https://api.github.com/repos/octocat/example-repo/subscription", + "tags_url": "https://api.github.com/repos/octocat/example-repo/tags", + "teams_url": "https://api.github.com/repos/octocat/example-repo/teams", + "trees_url": "https://api.github.com/repos/octocat/example-repo/git/trees{/sha}", + "hooks_url": "https://api.github.com/repos/octocat/example-repo/hooks" + } + ] + } + } + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "404": { + "description": "Resource not found", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": false, + "category": "dependabot", + "subcategory": "repository-access" + } + }, + "patch": { + "summary": "Updates Dependabot's repository access list for an enterprise", + "description": "Updates repositories according to the list of repositories that enterprise admins have given Dependabot access to when they've updated dependencies across organizations in the enterprise.\n\nThe authenticated user must be an enterprise owner to use this endpoint.\n\n**Example request body:**\n```json\n{\n \"repository_ids_to_add\": [123, 456],\n \"repository_ids_to_remove\": [789]\n}\n```", + "tags": [ + "dependabot" + ], + "operationId": "dependabot/update-repository-access-for-enterprise", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/dependabot/repository-access#updates-dependabots-repository-access-list-for-an-enterprise" + }, + "parameters": [ + { + "name": "enterprise", + "description": "The slug version of the enterprise name.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "repository_ids_to_add": { + "type": "array", + "items": { + "type": "integer" + }, + "description": "List of repository IDs to add." + }, + "repository_ids_to_remove": { + "type": "array", + "items": { + "type": "integer" + }, + "description": "List of repository IDs to remove." + } + }, + "example": { + "repository_ids_to_add": [ + 123, + 456 + ], + "repository_ids_to_remove": [ + 789 + ] + } + }, + "examples": { + "204": { + "summary": "Example with a 'succeeded' status." + }, + "add-example": { + "summary": "Add repositories", + "value": { + "repository_ids_to_add": [ + 123, + 456 + ] + } + }, + "remove-example": { + "summary": "Remove repositories", + "value": { + "repository_ids_to_remove": [ + 789 + ] + } + } + } + } + } + }, + "responses": { + "204": { + "description": "Response" + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "404": { + "description": "Resource not found", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": false, + "category": "dependabot", + "subcategory": "repository-access" + } + } + }, + "/enterprises/{enterprise}/dependabot/repository-access/default-level": { + "put": { + "summary": "Set the default repository access level for Dependabot in an enterprise", + "description": "Sets the default level of repository access Dependabot will have while performing an update across organizations in the enterprise. Available values are:\n- 'public' - Dependabot will only have access to public repositories, unless access is explicitly granted to non-public repositories.\n- 'internal' - Dependabot will only have access to public and internal repositories, unless access is explicitly granted to private repositories.\n\nThe authenticated user must be an enterprise owner to use this endpoint.", + "tags": [ + "dependabot" + ], + "operationId": "dependabot/set-repository-access-default-level-for-enterprise", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/dependabot/repository-access#set-the-default-repository-access-level-for-dependabot-in-an-enterprise" + }, + "parameters": [ + { + "name": "enterprise", + "description": "The slug version of the enterprise name.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "default_level": { + "type": "string", + "description": "The default repository access level for Dependabot updates.", + "enum": [ + "public", + "internal" + ], + "example": "internal" + } + }, + "required": [ + "default_level" + ] + }, + "examples": { + "204": { + "summary": "Example with a 'succeeded' status.", + "value": { + "default_level": "public" + } + } + } + } + } + }, + "responses": { + "204": { + "description": "Response" + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "404": { + "description": "Resource not found", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": false, + "category": "dependabot", + "subcategory": "repository-access" + } + } + }, "/enterprises/{enterprise}/dismissal-requests/secret-scanning": { "get": { "summary": "List alert dismissal requests for secret scanning for an enterprise", @@ -148436,6 +149335,9 @@ "schema": { "type": "object", "additionalProperties": false, + "required": [ + "selected_repository_ids" + ], "properties": { "selected_repository_ids": { "type": "array", @@ -1053871,567 +1054773,8141 @@ "subscriptions_url", "type", "url" - ], - "nullable": true + ], + "nullable": true + } + }, + "required": [ + "pinned_at", + "pinned_by" + ], + "nullable": true + } + }, + "required": [ + "id", + "node_id", + "html_url", + "issue_url", + "user", + "url", + "created_at", + "updated_at" + ], + "nullable": true + }, + "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_field_values": { + "type": "array", + "items": { + "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", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "IFT_GDKND" + }, + "data_type": { + "description": "The data type of the issue field", + "type": "string", + "enum": [ + "text", + "single_select", + "number", + "date" + ], + "example": "text" + }, + "value": { + "description": "The value of the issue field", + "anyOf": [ + { + "type": "string", + "example": "Sample text" + }, + { + "type": "number", + "example": 42.5 + }, + { + "type": "integer", + "example": 1 + } + ], + "nullable": true + }, + "single_select_option": { + "description": "Details about the selected option (only present for single_select fields)", + "type": "object", + "properties": { + "id": { + "description": "Unique identifier for the option.", + "type": "integer", + "format": "int64", + "example": 1 + }, + "name": { + "description": "The name of the option", + "type": "string", + "example": "High" + }, + "color": { + "description": "The color of the option", + "type": "string", + "example": "red" + } + }, + "required": [ + "id", + "name", + "color" + ], + "nullable": true + } + }, + "required": [ + "issue_field_id", + "node_id", + "data_type", + "value" + ] + } + }, + "state": { + "description": "State of the issue; either 'open' or 'closed'", + "type": "string", + "enum": [ + "open", + "closed" + ] + }, + "state_reason": { + "type": "string", + "nullable": true + }, + "timeline_url": { + "type": "string", + "format": "uri" + }, + "title": { + "description": "Title of the issue", + "type": "string" + }, + "type": { + "title": "Issue Type", + "description": "The type of issue.", + "type": "object", + "nullable": true, + "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", + "description": "The description of the issue type.", + "nullable": true + }, + "color": { + "type": "string", + "description": "The color of the issue type.", + "enum": [ + "gray", + "blue", + "green", + "yellow", + "orange", + "red", + "pink", + "purple" + ], + "nullable": true + }, + "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" + ] + }, + "updated_at": { + "type": "string", + "format": "date-time" + }, + "url": { + "description": "URL for the issue", + "type": "string", + "format": "uri" + }, + "user": { + "title": "User", + "type": "object", + "nullable": true, + "properties": { + "avatar_url": { + "type": "string", + "format": "uri" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "type": "string", + "nullable": true + }, + "events_url": { + "type": "string", + "format": "uri-template" + }, + "followers_url": { + "type": "string", + "format": "uri" + }, + "following_url": { + "type": "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", + "nullable": true + }, + "assignee": { + "type": "object", + "nullable": true + }, + "assignees": { + "type": "array", + "items": { + "type": "object", + "nullable": true + } + }, + "author_association": { + "type": "string" + }, + "body": { + "type": "string", + "nullable": true + }, + "closed_at": { + "type": "string", + "nullable": true + }, + "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", + "nullable": true + } + }, + "labels_url": { + "type": "string" + }, + "locked": { + "type": "boolean" + }, + "milestone": { + "type": "object", + "nullable": true + }, + "node_id": { + "type": "string" + }, + "number": { + "type": "integer" + }, + "performed_via_github_app": { + "type": "object", + "nullable": true + }, + "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": { + "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", + "example": "github" + }, + "id": { + "type": "integer", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDEyOk9yZ2FuaXphdGlvbjE=" + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/orgs/github" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/orgs/github/repos" + }, + "events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/orgs/github/events" + }, + "hooks_url": { + "type": "string", + "example": "https://api.github.com/orgs/github/hooks" + }, + "issues_url": { + "type": "string", + "example": "https://api.github.com/orgs/github/issues" + }, + "members_url": { + "type": "string", + "example": "https://api.github.com/orgs/github/members{/member}" + }, + "public_members_url": { + "type": "string", + "example": "https://api.github.com/orgs/github/public_members{/member}" + }, + "avatar_url": { + "type": "string", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "description": { + "type": "string", + "example": "A great organization", + "nullable": true + } + }, + "required": [ + "login", + "url", + "id", + "node_id", + "repos_url", + "events_url", + "hooks_url", + "issues_url", + "members_url", + "public_members_url", + "avatar_url", + "description" + ] + }, + "repository": { + "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", + "example": 42, + "type": "integer", + "format": "int64" + }, + "node_id": { + "type": "string", + "example": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" + }, + "name": { + "description": "The name of the repository.", + "type": "string", + "example": "Team Environment" + }, + "full_name": { + "type": "string", + "example": "octocat/Hello-World" + }, + "license": { + "title": "License Simple", + "description": "License Simple", + "type": "object", + "properties": { + "key": { + "type": "string", + "example": "mit" + }, + "name": { + "type": "string", + "example": "MIT License" + }, + "url": { + "type": "string", + "nullable": true, + "format": "uri", + "example": "https://api.github.com/licenses/mit" + }, + "spdx_id": { + "type": "string", + "nullable": true, + "example": "MIT" + }, + "node_id": { + "type": "string", + "example": "MDc6TGljZW5zZW1pdA==" + }, + "html_url": { + "type": "string", + "format": "uri" + } + }, + "required": [ + "key", + "name", + "url", + "spdx_id", + "node_id" + ], + "nullable": true + }, + "organization": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "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" + ], + "nullable": true + }, + "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": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "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" + ] + }, + "private": { + "description": "Whether the repository is private or public.", + "default": false, + "type": "boolean" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat/Hello-World" + }, + "description": { + "type": "string", + "example": "This your first repo!", + "nullable": true + }, + "fork": { + "type": "boolean" + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octocat/Hello-World" + }, + "archive_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}" + }, + "assignees_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/assignees{/user}" + }, + "blobs_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}" + }, + "branches_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/branches{/branch}" + }, + "collaborators_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}" + }, + "comments_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/comments{/number}" + }, + "commits_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/commits{/sha}" + }, + "compare_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}" + }, + "contents_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/contents/{+path}" + }, + "contributors_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/contributors" + }, + "deployments_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/deployments" + }, + "downloads_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/downloads" + }, + "events_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/events" + }, + "forks_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/forks" + }, + "git_commits_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}" + }, + "git_refs_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}" + }, + "git_tags_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}" + }, + "git_url": { + "type": "string", + "example": "git:github.com/octocat/Hello-World.git" + }, + "issue_comment_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}" + }, + "issue_events_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/issues/events{/number}" + }, + "issues_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/issues{/number}" + }, + "keys_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/keys{/key_id}" + }, + "labels_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/labels{/name}" + }, + "languages_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/languages" + }, + "merges_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/merges" + }, + "milestones_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/milestones{/number}" + }, + "notifications_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}" + }, + "pulls_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/pulls{/number}" + }, + "releases_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/releases{/id}" + }, + "ssh_url": { + "type": "string", + "example": "git@github.com:octocat/Hello-World.git" + }, + "stargazers_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/stargazers" + }, + "statuses_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/statuses/{sha}" + }, + "subscribers_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/subscribers" + }, + "subscription_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/subscription" + }, + "tags_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/tags" + }, + "teams_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/teams" + }, + "trees_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}" + }, + "clone_url": { + "type": "string", + "example": "https://github.com/octocat/Hello-World.git" + }, + "mirror_url": { + "type": "string", + "format": "uri", + "example": "git:git.example.com/octocat/Hello-World", + "nullable": true + }, + "hooks_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/hooks" + }, + "svn_url": { + "type": "string", + "format": "uri", + "example": "https://svn.github.com/octocat/Hello-World" + }, + "homepage": { + "type": "string", + "format": "uri", + "example": "https://github.com", + "nullable": true + }, + "language": { + "type": "string", + "nullable": true + }, + "forks_count": { + "type": "integer", + "example": 9 + }, + "stargazers_count": { + "type": "integer", + "example": 80 + }, + "watchers_count": { + "type": "integer", + "example": 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", + "example": 108 + }, + "default_branch": { + "description": "The default branch of the repository.", + "type": "string", + "example": "master" + }, + "open_issues_count": { + "type": "integer", + "example": 0 + }, + "is_template": { + "description": "Whether this repository acts as a template that can be used to generate new repositories.", + "default": false, + "type": "boolean", + "example": 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", + "example": true + }, + "has_projects": { + "description": "Whether projects are enabled.", + "default": true, + "type": "boolean", + "example": true + }, + "has_wiki": { + "description": "Whether the wiki is enabled.", + "default": true, + "type": "boolean", + "example": true + }, + "has_pages": { + "type": "boolean" + }, + "has_downloads": { + "description": "Whether downloads are enabled.", + "default": true, + "type": "boolean", + "example": true + }, + "has_discussions": { + "description": "Whether discussions are enabled.", + "default": false, + "type": "boolean", + "example": true + }, + "has_pull_requests": { + "description": "Whether pull requests are enabled.", + "default": true, + "type": "boolean", + "example": true + }, + "pull_request_creation_policy": { + "description": "The policy controlling who can create pull requests: all or collaborators_only.", + "type": "string", + "enum": [ + "all", + "collaborators_only" + ] + }, + "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", + "format": "date-time", + "example": "2011-01-26T19:06:43Z", + "nullable": true + }, + "created_at": { + "type": "string", + "format": "date-time", + "example": "2011-01-26T19:01:12Z", + "nullable": true + }, + "updated_at": { + "type": "string", + "format": "date-time", + "example": "2011-01-26T19:14:43Z", + "nullable": true + }, + "allow_rebase_merge": { + "description": "Whether to allow rebase merges for pull requests.", + "default": true, + "type": "boolean", + "example": true + }, + "template_repository": { + "nullable": true, + "type": "object", + "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", + "example": true + }, + "allow_auto_merge": { + "description": "Whether to allow Auto-merge to be used on pull requests.", + "default": false, + "type": "boolean", + "example": false + }, + "delete_branch_on_merge": { + "description": "Whether to delete head branches when pull requests are merged", + "default": false, + "type": "boolean", + "example": 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", + "example": 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", + "example": 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", + "example": "\"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" + ] + }, + "sender": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "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" + ] + } + }, + "required": [ + "action", + "issue", + "repository", + "sender" + ] + } + } + } + }, + "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-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", + "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" + } + }, + { + "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": { + "title": "issues deleted event", + "type": "object", + "properties": { + "action": { + "type": "string", + "enum": [ + "deleted" + ] + }, + "enterprise": { + "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-cloud@latest//admin/overview/about-enterprise-accounts).\"", + "type": "object", + "properties": { + "description": { + "description": "A short description of the enterprise.", + "type": "string", + "nullable": true + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/enterprises/octo-business" + }, + "website_url": { + "description": "The enterprise's website URL.", + "type": "string", + "nullable": true, + "format": "uri" + }, + "id": { + "description": "Unique identifier of the enterprise", + "example": 42, + "type": "integer" + }, + "node_id": { + "type": "string", + "example": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" + }, + "name": { + "description": "The name of the enterprise.", + "type": "string", + "example": "Octo Business" + }, + "slug": { + "description": "The slug url identifier for the enterprise.", + "type": "string", + "example": "octo-business" + }, + "created_at": { + "type": "string", + "nullable": true, + "format": "date-time", + "example": "2019-01-26T19:01:12Z" + }, + "updated_at": { + "type": "string", + "nullable": true, + "format": "date-time", + "example": "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" + ] + }, + "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-cloud@latest//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", + "example": 1 + }, + "node_id": { + "description": "The global node ID of the installation.", + "type": "string", + "example": "MDQ6VXNlcjU4MzIzMQ==" + } + }, + "required": [ + "id", + "node_id" + ] + }, + "issue": { + "title": "Issue", + "description": "The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) itself.", + "type": "object", + "properties": { + "active_lock_reason": { + "type": "string", + "nullable": true, + "enum": [ + "resolved", + "off-topic", + "too heated", + "spam", + null + ] + }, + "assignee": { + "title": "User", + "type": "object", + "nullable": true, + "properties": { + "avatar_url": { + "type": "string", + "format": "uri" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "type": "string", + "nullable": true + }, + "events_url": { + "type": "string", + "format": "uri-template" + }, + "followers_url": { + "type": "string", + "format": "uri" + }, + "following_url": { + "type": "string", + "format": "uri-template" + }, + "gists_url": { + "type": "string", + "format": "uri-template" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "type": "string", + "format": "uri" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "type": "string", + "format": "uri" + }, + "received_events_url": { + "type": "string", + "format": "uri" + }, + "repos_url": { + "type": "string", + "format": "uri" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "type": "string", + "format": "uri-template" + }, + "subscriptions_url": { + "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", + "nullable": true, + "properties": { + "avatar_url": { + "type": "string", + "format": "uri" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "type": "string", + "nullable": true + }, + "events_url": { + "type": "string", + "format": "uri-template" + }, + "followers_url": { + "type": "string", + "format": "uri" + }, + "following_url": { + "type": "string", + "format": "uri-template" + }, + "gists_url": { + "type": "string", + "format": "uri-template" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "type": "string", + "format": "uri" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "type": "string", + "format": "uri" + }, + "received_events_url": { + "type": "string", + "format": "uri" + }, + "repos_url": { + "type": "string", + "format": "uri" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "type": "string", + "format": "uri-template" + }, + "subscriptions_url": { + "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", + "nullable": true + }, + "closed_at": { + "type": "string", + "nullable": true, + "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", + "nullable": true + }, + "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", + "nullable": true, + "properties": { + "closed_at": { + "type": "string", + "nullable": true, + "format": "date-time" + }, + "closed_issues": { + "type": "integer" + }, + "created_at": { + "type": "string", + "format": "date-time" + }, + "creator": { + "title": "User", + "type": "object", + "nullable": true, + "properties": { + "avatar_url": { + "type": "string", + "format": "uri" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "type": "string", + "nullable": true + }, + "events_url": { + "type": "string", + "format": "uri-template" + }, + "followers_url": { + "type": "string", + "format": "uri" + }, + "following_url": { + "type": "string", + "format": "uri-template" + }, + "gists_url": { + "type": "string", + "format": "uri-template" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "type": "string", + "format": "uri" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "type": "string", + "format": "uri" + }, + "received_events_url": { + "type": "string", + "format": "uri" + }, + "repos_url": { + "type": "string", + "format": "uri" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "type": "string", + "format": "uri-template" + }, + "subscriptions_url": { + "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", + "nullable": true + }, + "due_on": { + "type": "string", + "nullable": true, + "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", + "nullable": true, + "properties": { + "created_at": { + "type": "string", + "nullable": true, + "format": "date-time" + }, + "description": { + "type": "string", + "nullable": true + }, + "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", + "nullable": true, + "format": "uri" + }, + "html_url": { + "type": "string", + "format": "uri" + }, + "id": { + "description": "Unique identifier of the GitHub app", + "type": "integer", + "nullable": true + }, + "name": { + "description": "The name of the GitHub app", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "owner": { + "title": "User", + "type": "object", + "nullable": true, + "properties": { + "avatar_url": { + "type": "string", + "format": "uri" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "type": "string", + "nullable": true + }, + "events_url": { + "type": "string", + "format": "uri-template" + }, + "followers_url": { + "type": "string", + "format": "uri" + }, + "following_url": { + "type": "string", + "format": "uri-template" + }, + "gists_url": { + "type": "string", + "format": "uri-template" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "type": "string", + "format": "uri" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "type": "string", + "format": "uri" + }, + "received_events_url": { + "type": "string", + "format": "uri" + }, + "repos_url": { + "type": "string", + "format": "uri" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "type": "string", + "format": "uri-template" + }, + "subscriptions_url": { + "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" + ] + }, + "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", + "nullable": true, + "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", + "nullable": true, + "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" + }, + "pinned_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", + "example": 42, + "type": "integer", + "format": "int64" + }, + "node_id": { + "type": "string" + }, + "url": { + "description": "URL for the issue comment", + "example": "https://api.github.com/repositories/42/issues/comments/1", + "type": "string", + "format": "uri" + }, + "body": { + "description": "Contents of the issue comment", + "example": "What version of Safari were you using when you observed this bug?", + "type": "string" + }, + "body_text": { + "type": "string" + }, + "body_html": { + "type": "string" + }, + "html_url": { + "type": "string", + "format": "uri" + }, + "user": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "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" + ], + "nullable": true + }, + "created_at": { + "type": "string", + "format": "date-time", + "example": "2011-04-14T16:00:49Z" + }, + "updated_at": { + "type": "string", + "format": "date-time", + "example": "2011-04-14T16:00:49Z" + }, + "issue_url": { + "type": "string", + "format": "uri" + }, + "author_association": { + "title": "author_association", + "type": "string", + "example": "OWNER", + "description": "How the author is associated with the repository.", + "enum": [ + "COLLABORATOR", + "CONTRIBUTOR", + "FIRST_TIMER", + "FIRST_TIME_CONTRIBUTOR", + "MANNEQUIN", + "MEMBER", + "NONE", + "OWNER" + ] + }, + "performed_via_github_app": { + "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", + "nullable": true, + "properties": { + "id": { + "description": "Unique identifier of the GitHub app", + "example": 37, + "type": "integer" + }, + "slug": { + "description": "The slug name of the GitHub app", + "example": "probot-owners", + "type": "string" + }, + "node_id": { + "type": "string", + "example": "MDExOkludGVncmF0aW9uMQ==" + }, + "client_id": { + "type": "string", + "example": "\"Iv1.25b5d1e65ffc4022\"" + }, + "owner": { + "oneOf": [ + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "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" + ] + }, + { + "title": "Enterprise", + "description": "An enterprise on GitHub.", + "type": "object", + "properties": { + "description": { + "description": "A short description of the enterprise.", + "type": "string", + "nullable": true + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/enterprises/octo-business" + }, + "website_url": { + "description": "The enterprise's website URL.", + "type": "string", + "nullable": true, + "format": "uri" + }, + "id": { + "description": "Unique identifier of the enterprise", + "example": 42, + "type": "integer" + }, + "node_id": { + "type": "string", + "example": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" + }, + "name": { + "description": "The name of the enterprise.", + "type": "string", + "example": "Octo Business" + }, + "slug": { + "description": "The slug url identifier for the enterprise.", + "type": "string", + "example": "octo-business" + }, + "created_at": { + "type": "string", + "nullable": true, + "format": "date-time", + "example": "2019-01-26T19:01:12Z" + }, + "updated_at": { + "type": "string", + "nullable": true, + "format": "date-time", + "example": "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" + ] + } + ] + }, + "name": { + "description": "The name of the GitHub app", + "example": "Probot Owners", + "type": "string" + }, + "description": { + "type": "string", + "example": "The description of the app.", + "nullable": true + }, + "external_url": { + "type": "string", + "format": "uri", + "example": "https://example.com" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/apps/super-ci" + }, + "created_at": { + "type": "string", + "format": "date-time", + "example": "2017-07-08T16:18:44-04:00" + }, + "updated_at": { + "type": "string", + "format": "date-time", + "example": "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.", + "example": [ + "label", + "deployment" + ], + "type": "array", + "items": { + "type": "string" + } + }, + "installations_count": { + "description": "The number of installations associated with the GitHub app. Only returned when the integration is requesting details about itself.", + "example": 5, + "type": "integer" + } + }, + "required": [ + "id", + "node_id", + "owner", + "name", + "description", + "external_url", + "html_url", + "created_at", + "updated_at", + "permissions", + "events" + ] + }, + "reactions": { + "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" + ] + }, + "pin": { + "title": "Pinned Issue Comment", + "description": "Context around who pinned an issue comment and when it was pinned.", + "type": "object", + "properties": { + "pinned_at": { + "type": "string", + "format": "date-time", + "example": "2011-04-14T16:00:49Z" + }, + "pinned_by": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "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" + ], + "nullable": true + } + }, + "required": [ + "pinned_at", + "pinned_by" + ], + "nullable": true + } + }, + "required": [ + "id", + "node_id", + "html_url", + "issue_url", + "user", + "url", + "created_at", + "updated_at" + ], + "nullable": true + }, + "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_field_values": { + "type": "array", + "items": { + "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", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "IFT_GDKND" + }, + "data_type": { + "description": "The data type of the issue field", + "type": "string", + "enum": [ + "text", + "single_select", + "number", + "date" + ], + "example": "text" + }, + "value": { + "description": "The value of the issue field", + "anyOf": [ + { + "type": "string", + "example": "Sample text" + }, + { + "type": "number", + "example": 42.5 + }, + { + "type": "integer", + "example": 1 + } + ], + "nullable": true + }, + "single_select_option": { + "description": "Details about the selected option (only present for single_select fields)", + "type": "object", + "properties": { + "id": { + "description": "Unique identifier for the option.", + "type": "integer", + "format": "int64", + "example": 1 + }, + "name": { + "description": "The name of the option", + "type": "string", + "example": "High" + }, + "color": { + "description": "The color of the option", + "type": "string", + "example": "red" + } + }, + "required": [ + "id", + "name", + "color" + ], + "nullable": true + } + }, + "required": [ + "issue_field_id", + "node_id", + "data_type", + "value" + ] + } + }, + "state": { + "description": "State of the issue; either 'open' or 'closed'", + "type": "string", + "enum": [ + "open", + "closed" + ] + }, + "state_reason": { + "type": "string", + "nullable": true + }, + "timeline_url": { + "type": "string", + "format": "uri" + }, + "title": { + "description": "Title of the issue", + "type": "string" + }, + "type": { + "title": "Issue Type", + "description": "The type of issue.", + "type": "object", + "nullable": true, + "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", + "description": "The description of the issue type.", + "nullable": true + }, + "color": { + "type": "string", + "description": "The color of the issue type.", + "enum": [ + "gray", + "blue", + "green", + "yellow", + "orange", + "red", + "pink", + "purple" + ], + "nullable": true + }, + "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" + ] + }, + "updated_at": { + "type": "string", + "format": "date-time" + }, + "url": { + "description": "URL for the issue", + "type": "string", + "format": "uri" + }, + "user": { + "title": "User", + "type": "object", + "nullable": true, + "properties": { + "avatar_url": { + "type": "string", + "format": "uri" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "type": "string", + "nullable": true + }, + "events_url": { + "type": "string", + "format": "uri-template" + }, + "followers_url": { + "type": "string", + "format": "uri" + }, + "following_url": { + "type": "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": { + "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", + "example": "github" + }, + "id": { + "type": "integer", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDEyOk9yZ2FuaXphdGlvbjE=" + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/orgs/github" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/orgs/github/repos" + }, + "events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/orgs/github/events" + }, + "hooks_url": { + "type": "string", + "example": "https://api.github.com/orgs/github/hooks" + }, + "issues_url": { + "type": "string", + "example": "https://api.github.com/orgs/github/issues" + }, + "members_url": { + "type": "string", + "example": "https://api.github.com/orgs/github/members{/member}" + }, + "public_members_url": { + "type": "string", + "example": "https://api.github.com/orgs/github/public_members{/member}" + }, + "avatar_url": { + "type": "string", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "description": { + "type": "string", + "example": "A great organization", + "nullable": true + } + }, + "required": [ + "login", + "url", + "id", + "node_id", + "repos_url", + "events_url", + "hooks_url", + "issues_url", + "members_url", + "public_members_url", + "avatar_url", + "description" + ] + }, + "repository": { + "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", + "example": 42, + "type": "integer", + "format": "int64" + }, + "node_id": { + "type": "string", + "example": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" + }, + "name": { + "description": "The name of the repository.", + "type": "string", + "example": "Team Environment" + }, + "full_name": { + "type": "string", + "example": "octocat/Hello-World" + }, + "license": { + "title": "License Simple", + "description": "License Simple", + "type": "object", + "properties": { + "key": { + "type": "string", + "example": "mit" + }, + "name": { + "type": "string", + "example": "MIT License" + }, + "url": { + "type": "string", + "nullable": true, + "format": "uri", + "example": "https://api.github.com/licenses/mit" + }, + "spdx_id": { + "type": "string", + "nullable": true, + "example": "MIT" + }, + "node_id": { + "type": "string", + "example": "MDc6TGljZW5zZW1pdA==" + }, + "html_url": { + "type": "string", + "format": "uri" + } + }, + "required": [ + "key", + "name", + "url", + "spdx_id", + "node_id" + ], + "nullable": true + }, + "organization": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "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" + ], + "nullable": true + }, + "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": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "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" + ] + }, + "private": { + "description": "Whether the repository is private or public.", + "default": false, + "type": "boolean" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat/Hello-World" + }, + "description": { + "type": "string", + "example": "This your first repo!", + "nullable": true + }, + "fork": { + "type": "boolean" + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octocat/Hello-World" + }, + "archive_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}" + }, + "assignees_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/assignees{/user}" + }, + "blobs_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}" + }, + "branches_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/branches{/branch}" + }, + "collaborators_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}" + }, + "comments_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/comments{/number}" + }, + "commits_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/commits{/sha}" + }, + "compare_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}" + }, + "contents_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/contents/{+path}" + }, + "contributors_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/contributors" + }, + "deployments_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/deployments" + }, + "downloads_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/downloads" + }, + "events_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/events" + }, + "forks_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/forks" + }, + "git_commits_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}" + }, + "git_refs_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}" + }, + "git_tags_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}" + }, + "git_url": { + "type": "string", + "example": "git:github.com/octocat/Hello-World.git" + }, + "issue_comment_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}" + }, + "issue_events_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/issues/events{/number}" + }, + "issues_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/issues{/number}" + }, + "keys_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/keys{/key_id}" + }, + "labels_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/labels{/name}" + }, + "languages_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/languages" + }, + "merges_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/merges" + }, + "milestones_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/milestones{/number}" + }, + "notifications_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}" + }, + "pulls_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/pulls{/number}" + }, + "releases_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/releases{/id}" + }, + "ssh_url": { + "type": "string", + "example": "git@github.com:octocat/Hello-World.git" + }, + "stargazers_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/stargazers" + }, + "statuses_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/statuses/{sha}" + }, + "subscribers_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/subscribers" + }, + "subscription_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/subscription" + }, + "tags_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/tags" + }, + "teams_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/teams" + }, + "trees_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}" + }, + "clone_url": { + "type": "string", + "example": "https://github.com/octocat/Hello-World.git" + }, + "mirror_url": { + "type": "string", + "format": "uri", + "example": "git:git.example.com/octocat/Hello-World", + "nullable": true + }, + "hooks_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/hooks" + }, + "svn_url": { + "type": "string", + "format": "uri", + "example": "https://svn.github.com/octocat/Hello-World" + }, + "homepage": { + "type": "string", + "format": "uri", + "example": "https://github.com", + "nullable": true + }, + "language": { + "type": "string", + "nullable": true + }, + "forks_count": { + "type": "integer", + "example": 9 + }, + "stargazers_count": { + "type": "integer", + "example": 80 + }, + "watchers_count": { + "type": "integer", + "example": 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", + "example": 108 + }, + "default_branch": { + "description": "The default branch of the repository.", + "type": "string", + "example": "master" + }, + "open_issues_count": { + "type": "integer", + "example": 0 + }, + "is_template": { + "description": "Whether this repository acts as a template that can be used to generate new repositories.", + "default": false, + "type": "boolean", + "example": 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", + "example": true + }, + "has_projects": { + "description": "Whether projects are enabled.", + "default": true, + "type": "boolean", + "example": true + }, + "has_wiki": { + "description": "Whether the wiki is enabled.", + "default": true, + "type": "boolean", + "example": true + }, + "has_pages": { + "type": "boolean" + }, + "has_downloads": { + "description": "Whether downloads are enabled.", + "default": true, + "type": "boolean", + "example": true + }, + "has_discussions": { + "description": "Whether discussions are enabled.", + "default": false, + "type": "boolean", + "example": true + }, + "has_pull_requests": { + "description": "Whether pull requests are enabled.", + "default": true, + "type": "boolean", + "example": true + }, + "pull_request_creation_policy": { + "description": "The policy controlling who can create pull requests: all or collaborators_only.", + "type": "string", + "enum": [ + "all", + "collaborators_only" + ] + }, + "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", + "format": "date-time", + "example": "2011-01-26T19:06:43Z", + "nullable": true + }, + "created_at": { + "type": "string", + "format": "date-time", + "example": "2011-01-26T19:01:12Z", + "nullable": true + }, + "updated_at": { + "type": "string", + "format": "date-time", + "example": "2011-01-26T19:14:43Z", + "nullable": true + }, + "allow_rebase_merge": { + "description": "Whether to allow rebase merges for pull requests.", + "default": true, + "type": "boolean", + "example": true + }, + "template_repository": { + "nullable": true, + "type": "object", + "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", + "example": true + }, + "allow_auto_merge": { + "description": "Whether to allow Auto-merge to be used on pull requests.", + "default": false, + "type": "boolean", + "example": false + }, + "delete_branch_on_merge": { + "description": "Whether to delete head branches when pull requests are merged", + "default": false, + "type": "boolean", + "example": 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", + "example": 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", + "example": 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", + "example": "\"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" + ] + }, + "sender": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "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" + ] + } + }, + "required": [ + "action", + "issue", + "repository", + "sender" + ] + } + } + } + }, + "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-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", + "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" + } + }, + { + "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": { + "title": "issues demilestoned event", + "type": "object", + "properties": { + "action": { + "type": "string", + "enum": [ + "demilestoned" + ] + }, + "enterprise": { + "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-cloud@latest//admin/overview/about-enterprise-accounts).\"", + "type": "object", + "properties": { + "description": { + "description": "A short description of the enterprise.", + "type": "string", + "nullable": true + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/enterprises/octo-business" + }, + "website_url": { + "description": "The enterprise's website URL.", + "type": "string", + "nullable": true, + "format": "uri" + }, + "id": { + "description": "Unique identifier of the enterprise", + "example": 42, + "type": "integer" + }, + "node_id": { + "type": "string", + "example": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" + }, + "name": { + "description": "The name of the enterprise.", + "type": "string", + "example": "Octo Business" + }, + "slug": { + "description": "The slug url identifier for the enterprise.", + "type": "string", + "example": "octo-business" + }, + "created_at": { + "type": "string", + "nullable": true, + "format": "date-time", + "example": "2019-01-26T19:01:12Z" + }, + "updated_at": { + "type": "string", + "nullable": true, + "format": "date-time", + "example": "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" + ] + }, + "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-cloud@latest//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", + "example": 1 + }, + "node_id": { + "description": "The global node ID of the installation.", + "type": "string", + "example": "MDQ6VXNlcjU4MzIzMQ==" + } + }, + "required": [ + "id", + "node_id" + ] + }, + "issue": { + "title": "Issue", + "description": "The [issue](https://docs.github.com/enterprise-cloud@latest//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", + "nullable": true, + "enum": [ + "resolved", + "off-topic", + "too heated", + "spam", + null + ] + }, + "assignee": { + "title": "User", + "type": "object", + "nullable": true, + "required": [ + "login", + "id" + ], + "properties": { + "avatar_url": { + "type": "string", + "format": "uri" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "type": "string", + "nullable": true + }, + "events_url": { + "type": "string", + "format": "uri-template" + }, + "followers_url": { + "type": "string", + "format": "uri" + }, + "following_url": { + "type": "string", + "format": "uri-template" + }, + "gists_url": { + "type": "string", + "format": "uri-template" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "type": "string", + "format": "uri" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "type": "string", + "format": "uri" + }, + "received_events_url": { + "type": "string", + "format": "uri" + }, + "repos_url": { + "type": "string", + "format": "uri" + }, + "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", + "nullable": true, + "required": [ + "login", + "id" + ], + "properties": { + "avatar_url": { + "type": "string", + "format": "uri" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "type": "string", + "nullable": true + }, + "events_url": { + "type": "string", + "format": "uri-template" + }, + "followers_url": { + "type": "string", + "format": "uri" + }, + "following_url": { + "type": "string", + "format": "uri-template" + }, + "gists_url": { + "type": "string", + "format": "uri-template" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "type": "string", + "format": "uri" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "type": "string", + "format": "uri" + }, + "received_events_url": { + "type": "string", + "format": "uri" + }, + "repos_url": { + "type": "string", + "format": "uri" + }, + "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", + "nullable": true + }, + "closed_at": { + "type": "string", + "nullable": true, + "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", + "required": [ + "id", + "node_id", + "url", + "name", + "color", + "default", + "description" + ], + "nullable": true, + "properties": { + "color": { + "description": "6-character hex code, without the leading #, identifying the color", + "type": "string" + }, + "default": { + "type": "boolean" + }, + "description": { + "type": "string", + "nullable": true + }, + "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", + "nullable": true, + "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", + "nullable": true, + "format": "date-time" + }, + "closed_issues": { + "type": "integer" + }, + "created_at": { + "type": "string", + "format": "date-time" + }, + "creator": { + "title": "User", + "type": "object", + "nullable": true, + "required": [ + "login", + "id" + ], + "properties": { + "avatar_url": { + "type": "string", + "format": "uri" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "type": "string", + "nullable": true + }, + "events_url": { + "type": "string", + "format": "uri-template" + }, + "followers_url": { + "type": "string", + "format": "uri" + }, + "following_url": { + "type": "string", + "format": "uri-template" + }, + "gists_url": { + "type": "string", + "format": "uri-template" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "type": "string", + "format": "uri" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "type": "string", + "format": "uri" + }, + "received_events_url": { + "type": "string", + "format": "uri" + }, + "repos_url": { + "type": "string", + "format": "uri" + }, + "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", + "nullable": true + }, + "due_on": { + "type": "string", + "nullable": true, + "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", + "nullable": true, + "required": [ + "id", + "node_id", + "owner", + "name", + "description", + "external_url", + "html_url", + "created_at", + "updated_at" + ], + "properties": { + "created_at": { + "type": "string", + "nullable": true, + "format": "date-time" + }, + "description": { + "type": "string", + "nullable": true + }, + "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", + "nullable": true, + "format": "uri" + }, + "html_url": { + "type": "string", + "format": "uri" + }, + "id": { + "description": "Unique identifier of the GitHub app", + "type": "integer", + "nullable": true + }, + "name": { + "description": "The name of the GitHub app", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "owner": { + "title": "User", + "type": "object", + "nullable": true, + "required": [ + "login", + "id" + ], + "properties": { + "avatar_url": { + "type": "string", + "format": "uri" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "type": "string", + "nullable": true + }, + "events_url": { + "type": "string", + "format": "uri-template" + }, + "followers_url": { + "type": "string", + "format": "uri" + }, + "following_url": { + "type": "string", + "format": "uri-template" + }, + "gists_url": { + "type": "string", + "format": "uri-template" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "type": "string", + "format": "uri" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "type": "string", + "format": "uri" + }, + "received_events_url": { + "type": "string", + "format": "uri" + }, + "repos_url": { + "type": "string", + "format": "uri" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "type": "string", + "format": "uri-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" + ] + }, + "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", + "nullable": true, + "format": "date-time" + } + } + }, + "pull_request": { + "type": "object", + "properties": { + "diff_url": { + "type": "string", + "format": "uri" + }, + "html_url": { + "type": "string", + "format": "uri" + }, + "merged_at": { + "type": "string", + "nullable": true, + "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" + }, + "pinned_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", + "example": 42, + "type": "integer", + "format": "int64" + }, + "node_id": { + "type": "string" + }, + "url": { + "description": "URL for the issue comment", + "example": "https://api.github.com/repositories/42/issues/comments/1", + "type": "string", + "format": "uri" + }, + "body": { + "description": "Contents of the issue comment", + "example": "What version of Safari were you using when you observed this bug?", + "type": "string" + }, + "body_text": { + "type": "string" + }, + "body_html": { + "type": "string" + }, + "html_url": { + "type": "string", + "format": "uri" + }, + "user": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "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" + ], + "nullable": true + }, + "created_at": { + "type": "string", + "format": "date-time", + "example": "2011-04-14T16:00:49Z" + }, + "updated_at": { + "type": "string", + "format": "date-time", + "example": "2011-04-14T16:00:49Z" + }, + "issue_url": { + "type": "string", + "format": "uri" + }, + "author_association": { + "title": "author_association", + "type": "string", + "example": "OWNER", + "description": "How the author is associated with the repository.", + "enum": [ + "COLLABORATOR", + "CONTRIBUTOR", + "FIRST_TIMER", + "FIRST_TIME_CONTRIBUTOR", + "MANNEQUIN", + "MEMBER", + "NONE", + "OWNER" + ] + }, + "performed_via_github_app": { + "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", + "nullable": true, + "properties": { + "id": { + "description": "Unique identifier of the GitHub app", + "example": 37, + "type": "integer" + }, + "slug": { + "description": "The slug name of the GitHub app", + "example": "probot-owners", + "type": "string" + }, + "node_id": { + "type": "string", + "example": "MDExOkludGVncmF0aW9uMQ==" + }, + "client_id": { + "type": "string", + "example": "\"Iv1.25b5d1e65ffc4022\"" + }, + "owner": { + "oneOf": [ + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "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" + ] + }, + { + "title": "Enterprise", + "description": "An enterprise on GitHub.", + "type": "object", + "properties": { + "description": { + "description": "A short description of the enterprise.", + "type": "string", + "nullable": true + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/enterprises/octo-business" + }, + "website_url": { + "description": "The enterprise's website URL.", + "type": "string", + "nullable": true, + "format": "uri" + }, + "id": { + "description": "Unique identifier of the enterprise", + "example": 42, + "type": "integer" + }, + "node_id": { + "type": "string", + "example": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" + }, + "name": { + "description": "The name of the enterprise.", + "type": "string", + "example": "Octo Business" + }, + "slug": { + "description": "The slug url identifier for the enterprise.", + "type": "string", + "example": "octo-business" + }, + "created_at": { + "type": "string", + "nullable": true, + "format": "date-time", + "example": "2019-01-26T19:01:12Z" + }, + "updated_at": { + "type": "string", + "nullable": true, + "format": "date-time", + "example": "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" + ] + } + ] + }, + "name": { + "description": "The name of the GitHub app", + "example": "Probot Owners", + "type": "string" + }, + "description": { + "type": "string", + "example": "The description of the app.", + "nullable": true + }, + "external_url": { + "type": "string", + "format": "uri", + "example": "https://example.com" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/apps/super-ci" + }, + "created_at": { + "type": "string", + "format": "date-time", + "example": "2017-07-08T16:18:44-04:00" + }, + "updated_at": { + "type": "string", + "format": "date-time", + "example": "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" } }, - "required": [ - "pinned_at", - "pinned_by" + "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.", + "example": [ + "label", + "deployment" ], - "nullable": true + "type": "array", + "items": { + "type": "string" + } + }, + "installations_count": { + "description": "The number of installations associated with the GitHub app. Only returned when the integration is requesting details about itself.", + "example": 5, + "type": "integer" } }, "required": [ "id", "node_id", + "owner", + "name", + "description", + "external_url", "html_url", - "issue_url", - "user", - "url", "created_at", - "updated_at" - ], - "nullable": true + "updated_at", + "permissions", + "events" + ] }, - "sub_issues_summary": { - "title": "Sub-issues Summary", + "reactions": { + "title": "Reaction Rollup", "type": "object", "properties": { - "total": { + "url": { + "type": "string", + "format": "uri" + }, + "total_count": { "type": "integer" }, - "completed": { + "+1": { "type": "integer" }, - "percent_completed": { + "-1": { "type": "integer" - } - }, - "required": [ - "total", - "completed", - "percent_completed" - ] - }, - "issue_dependencies_summary": { - "title": "Issue Dependencies Summary", - "type": "object", - "properties": { - "blocked_by": { + }, + "laugh": { "type": "integer" }, - "blocking": { + "confused": { "type": "integer" }, - "total_blocked_by": { + "heart": { "type": "integer" }, - "total_blocking": { + "hooray": { + "type": "integer" + }, + "eyes": { + "type": "integer" + }, + "rocket": { "type": "integer" } }, "required": [ - "blocked_by", - "blocking", - "total_blocked_by", - "total_blocking" + "url", + "total_count", + "+1", + "-1", + "laugh", + "confused", + "heart", + "hooray", + "eyes", + "rocket" ] }, - "issue_field_values": { - "type": "array", - "items": { - "title": "Issue Field Value", - "description": "A value assigned to an issue field", + "pin": { + "title": "Pinned Issue Comment", + "description": "Context around who pinned an issue comment and when it was pinned.", + "type": "object", + "properties": { + "pinned_at": { + "type": "string", + "format": "date-time", + "example": "2011-04-14T16:00:49Z" + }, + "pinned_by": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "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" + ], + "nullable": true + } + }, + "required": [ + "pinned_at", + "pinned_by" + ], + "nullable": true + } + }, + "required": [ + "id", + "node_id", + "html_url", + "issue_url", + "user", + "url", + "created_at", + "updated_at" + ], + "nullable": true + }, + "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_field_values": { + "type": "array", + "items": { + "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", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "IFT_GDKND" + }, + "data_type": { + "description": "The data type of the issue field", + "type": "string", + "enum": [ + "text", + "single_select", + "number", + "date" + ], + "example": "text" + }, + "value": { + "description": "The value of the issue field", + "anyOf": [ + { + "type": "string", + "example": "Sample text" + }, + { + "type": "number", + "example": 42.5 + }, + { + "type": "integer", + "example": 1 + } + ], + "nullable": true + }, + "single_select_option": { + "description": "Details about the selected option (only present for single_select fields)", "type": "object", "properties": { - "issue_field_id": { - "description": "Unique identifier for the issue field.", + "id": { + "description": "Unique identifier for the option.", "type": "integer", "format": "int64", "example": 1 }, - "node_id": { + "name": { + "description": "The name of the option", "type": "string", - "example": "IFT_GDKND" + "example": "High" }, - "data_type": { - "description": "The data type of the issue field", + "color": { + "description": "The color of the option", "type": "string", - "enum": [ - "text", - "single_select", - "number", - "date" - ], - "example": "text" - }, - "value": { - "description": "The value of the issue field", - "anyOf": [ - { - "type": "string", - "example": "Sample text" - }, - { - "type": "number", - "example": 42.5 - }, - { - "type": "integer", - "example": 1 - } - ], - "nullable": true - }, - "single_select_option": { - "description": "Details about the selected option (only present for single_select fields)", - "type": "object", - "properties": { - "id": { - "description": "Unique identifier for the option.", - "type": "integer", - "format": "int64", - "example": 1 - }, - "name": { - "description": "The name of the option", - "type": "string", - "example": "High" - }, - "color": { - "description": "The color of the option", - "type": "string", - "example": "red" - } - }, - "required": [ - "id", - "name", - "color" - ], - "nullable": true + "example": "red" } }, "required": [ - "issue_field_id", - "node_id", - "data_type", - "value" - ] + "id", + "name", + "color" + ], + "nullable": true } }, - "state": { - "description": "State of the issue; either 'open' or 'closed'", - "type": "string", - "enum": [ - "open", - "closed" - ] + "required": [ + "issue_field_id", + "node_id", + "data_type", + "value" + ] + } + }, + "state": { + "description": "State of the issue; either 'open' or 'closed'", + "type": "string", + "enum": [ + "open", + "closed" + ] + }, + "state_reason": { + "type": "string", + "nullable": true + }, + "timeline_url": { + "type": "string", + "format": "uri" + }, + "title": { + "description": "Title of the issue", + "type": "string" + }, + "type": { + "title": "Issue Type", + "description": "The type of issue.", + "type": "object", + "nullable": true, + "properties": { + "id": { + "type": "integer", + "description": "The unique identifier of the issue type." }, - "state_reason": { + "node_id": { "type": "string", - "nullable": true + "description": "The node identifier of the issue type." }, - "timeline_url": { + "name": { "type": "string", - "format": "uri" + "description": "The name of the issue type." }, - "title": { - "description": "Title of the issue", - "type": "string" + "description": { + "type": "string", + "description": "The description of the issue type.", + "nullable": true }, - "type": { - "title": "Issue Type", - "description": "The type of issue.", - "type": "object", - "nullable": true, - "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", - "description": "The description of the issue type.", - "nullable": true - }, - "color": { - "type": "string", - "description": "The color of the issue type.", - "enum": [ - "gray", - "blue", - "green", - "yellow", - "orange", - "red", - "pink", - "purple" - ], - "nullable": true - }, - "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" - ] + "color": { + "type": "string", + "description": "The color of the issue type.", + "enum": [ + "gray", + "blue", + "green", + "yellow", + "orange", + "red", + "pink", + "purple" + ], + "nullable": true }, - "updated_at": { + "created_at": { "type": "string", + "description": "The time the issue type created.", "format": "date-time" }, - "url": { - "description": "URL for the issue", + "updated_at": { "type": "string", - "format": "uri" + "description": "The time the issue type last updated.", + "format": "date-time" }, - "user": { - "title": "User", - "type": "object", - "nullable": true, - "properties": { - "avatar_url": { - "type": "string", - "format": "uri" - }, - "deleted": { - "type": "boolean" - }, - "email": { - "type": "string", - "nullable": true - }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { - "type": "string", - "format": "uri" - }, - "following_url": { - "type": "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" - ] + "is_enabled": { + "type": "boolean", + "description": "The enabled state of the issue type." } }, "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" + "name", + "description" ] }, - { + "updated_at": { + "type": "string", + "format": "date-time" + }, + "url": { + "description": "URL for the issue", + "type": "string", + "format": "uri" + }, + "user": { + "title": "User", "type": "object", + "nullable": true, + "required": [ + "login", + "id" + ], "properties": { - "active_lock_reason": { + "avatar_url": { "type": "string", - "nullable": true + "format": "uri" }, - "assignee": { - "type": "object", - "nullable": true + "deleted": { + "type": "boolean" }, - "assignees": { - "type": "array", - "items": { - "type": "object", - "nullable": true - } + "email": { + "type": "string", + "nullable": true }, - "author_association": { - "type": "string" + "events_url": { + "type": "string", + "format": "uri-template" }, - "body": { + "followers_url": { "type": "string", - "nullable": true + "format": "uri" }, - "closed_at": { + "following_url": { "type": "string", - "nullable": true + "format": "uri-template" }, - "comments": { - "type": "integer" + "gists_url": { + "type": "string", + "format": "uri-template" }, - "comments_url": { + "gravatar_id": { "type": "string" }, - "created_at": { + "html_url": { + "type": "string", + "format": "uri" + }, + "id": { + "type": "integer", + "format": "int64" + }, + "login": { "type": "string" }, - "events_url": { + "name": { "type": "string" }, - "html_url": { + "node_id": { "type": "string" }, - "id": { - "type": "integer" + "organizations_url": { + "type": "string", + "format": "uri" }, - "labels": { - "type": "array", - "items": { - "type": "object", - "nullable": true - } + "received_events_url": { + "type": "string", + "format": "uri" }, - "labels_url": { - "type": "string" + "repos_url": { + "type": "string", + "format": "uri" }, - "locked": { + "site_admin": { "type": "boolean" }, - "milestone": { - "type": "object", - "nullable": true + "starred_url": { + "type": "string", + "format": "uri-template" }, - "node_id": { + "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": { + "title": "Milestone", + "description": "A collection of related issues and pull requests.", + "type": "object", + "properties": { + "closed_at": { + "type": "string", + "nullable": true, + "format": "date-time" + }, + "closed_issues": { + "type": "integer" + }, + "created_at": { + "type": "string", + "format": "date-time" + }, + "creator": { + "title": "User", + "type": "object", + "nullable": true, + "properties": { + "avatar_url": { + "type": "string", + "format": "uri" }, - "number": { - "type": "integer" + "deleted": { + "type": "boolean" }, - "performed_via_github_app": { - "type": "object", + "email": { + "type": "string", "nullable": true }, - "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" - } - } + "events_url": { + "type": "string", + "format": "uri-template" }, - "repository_url": { + "followers_url": { + "type": "string", + "format": "uri" + }, + "following_url": { + "type": "string", + "format": "uri-template" + }, + "gists_url": { + "type": "string", + "format": "uri-template" + }, + "gravatar_id": { "type": "string" }, - "state": { + "html_url": { "type": "string", - "enum": [ - "closed", - "open" - ] + "format": "uri" }, - "timeline_url": { + "id": { + "type": "integer" + }, + "login": { "type": "string" }, - "title": { + "name": { "type": "string" }, - "updated_at": { + "node_id": { "type": "string" }, + "organizations_url": { + "type": "string", + "format": "uri" + }, + "received_events_url": { + "type": "string", + "format": "uri" + }, + "repos_url": { + "type": "string", + "format": "uri" + }, + "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" + "type": "string", + "format": "uri" }, - "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" - } - } + "user_view_type": { + "type": "string" } }, "required": [ - "state", - "closed_at" + "login", + "id" + ] + }, + "description": { + "type": "string", + "nullable": true + }, + "due_on": { + "type": "string", + "nullable": true, + "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" ] }, "organization": { @@ -1055890,11 +1064366,11 @@ } } }, - "issues-deleted": { + "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 deleted.", - "operationId": "issues/deleted", + "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" }, @@ -1055961,15 +1064437,45 @@ "content": { "application/json": { "schema": { - "title": "issues deleted event", + "title": "issues edited event", "type": "object", "properties": { "action": { "type": "string", "enum": [ - "deleted" + "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": { "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-cloud@latest//admin/overview/about-enterprise-accounts).\"", @@ -1056154,7 +1064660,8 @@ "enum": [ "Bot", "User", - "Organization" + "Organization", + "Mannequin" ] }, "url": { @@ -1056251,15 +1064758,13 @@ "enum": [ "Bot", "User", - "Organization" + "Organization", + "Mannequin" ] }, "url": { "type": "string", "format": "uri" - }, - "user_view_type": { - "type": "string" } }, "required": [ @@ -1056467,7 +1064972,8 @@ "enum": [ "Bot", "User", - "Organization" + "Organization", + "Mannequin" ] }, "url": { @@ -1056625,6 +1065131,8 @@ "watch", "workflow_dispatch", "workflow_run", + "security_and_analysis", + "pull_request_review_thread", "reminder" ] } @@ -1056872,7 +1065380,8 @@ "type": "string", "enum": [ "read", - "write" + "write", + "admin" ] }, "organization_secrets": { @@ -1057936,10 +1066445,6 @@ "type": "string", "format": "uri" }, - "title": { - "description": "Title of the issue", - "type": "string" - }, "type": { "title": "Issue Type", "description": "The type of issue.", @@ -1058000,6 +1066505,10 @@ "description" ] }, + "title": { + "description": "Title of the issue", + "type": "string" + }, "updated_at": { "type": "string", "format": "date-time" @@ -1058089,7 +1066598,8 @@ "enum": [ "Bot", "User", - "Organization" + "Organization", + "Mannequin" ] }, "url": { @@ -1058130,6 +1066640,47 @@ "reactions" ] }, + "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", + "nullable": true + }, + "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" + ] + }, "organization": { "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.", @@ -1059561,6 +1068112,7 @@ }, "required": [ "action", + "changes", "issue", "repository", "sender" @@ -1059586,11 +1068138,11 @@ } } }, - "issues-demilestoned": { + "issues-field-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 removed from a milestone.", - "operationId": "issues/demilestoned", + "description": "An issue field value was set or updated on an issue.", + "operationId": "issues/field-added", "externalDocs": { "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#issues" }, @@ -1059657,13 +1068209,13 @@ "content": { "application/json": { "schema": { - "title": "issues demilestoned event", + "title": "issues field_added event", "type": "object", "properties": { "action": { "type": "string", "enum": [ - "demilestoned" + "field_added" ] }, "enterprise": { @@ -1059759,29 +1068311,6 @@ "title": "Issue", "description": "The [issue](https://docs.github.com/enterprise-cloud@latest//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", @@ -1059798,10 +1068327,6 @@ "title": "User", "type": "object", "nullable": true, - "required": [ - "login", - "id" - ], "properties": { "avatar_url": { "type": "string", @@ -1059884,8 +1068409,15 @@ "url": { "type": "string", "format": "uri" + }, + "user_view_type": { + "type": "string" } - } + }, + "required": [ + "login", + "id" + ] }, "assignees": { "type": "array", @@ -1059893,10 +1068425,6 @@ "title": "User", "type": "object", "nullable": true, - "required": [ - "login", - "id" - ], "properties": { "avatar_url": { "type": "string", @@ -1059979,8 +1068507,15 @@ "url": { "type": "string", "format": "uri" + }, + "user_view_type": { + "type": "string" } - } + }, + "required": [ + "login", + "id" + ] } }, "author_association": { @@ -1060039,16 +1068574,6 @@ "items": { "title": "Label", "type": "object", - "required": [ - "id", - "node_id", - "url", - "name", - "color", - "default", - "description" - ], - "nullable": true, "properties": { "color": { "description": "6-character hex code, without the leading #, identifying the color", @@ -1060076,7 +1068601,16 @@ "type": "string", "format": "uri" } - } + }, + "required": [ + "id", + "node_id", + "url", + "name", + "color", + "default", + "description" + ] } }, "labels_url": { @@ -1060091,24 +1068625,6 @@ "description": "A collection of related issues and pull requests.", "type": "object", "nullable": true, - "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", @@ -1060126,10 +1068642,6 @@ "title": "User", "type": "object", "nullable": true, - "required": [ - "login", - "id" - ], "properties": { "avatar_url": { "type": "string", @@ -1060216,7 +1068728,11 @@ "user_view_type": { "type": "string" } - } + }, + "required": [ + "login", + "id" + ] }, "description": { "type": "string", @@ -1060268,7 +1068784,25 @@ "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" @@ -1060281,17 +1068815,6 @@ "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", "nullable": true, - "required": [ - "id", - "node_id", - "owner", - "name", - "description", - "external_url", - "html_url", - "created_at", - "updated_at" - ], "properties": { "created_at": { "type": "string", @@ -1060352,7 +1068875,9 @@ "team_add", "watch", "workflow_dispatch", - "workflow_run" + "workflow_run", + "reminder", + "pull_request_review_thread" ] } }, @@ -1060381,10 +1068906,6 @@ "title": "User", "type": "object", "nullable": true, - "required": [ - "login", - "id" - ], "properties": { "avatar_url": { "type": "string", @@ -1060470,7 +1068991,11 @@ "user_view_type": { "type": "string" } - } + }, + "required": [ + "login", + "id" + ] }, "permissions": { "description": "The set of permissions for the GitHub app", @@ -1060726,7 +1069251,18 @@ "nullable": true, "format": "date-time" } - } + }, + "required": [ + "id", + "node_id", + "owner", + "name", + "description", + "external_url", + "html_url", + "created_at", + "updated_at" + ] }, "pull_request": { "type": "object", @@ -1060757,18 +1069293,6 @@ "reactions": { "title": "Reactions", "type": "object", - "required": [ - "url", - "total_count", - "+1", - "-1", - "laugh", - "confused", - "heart", - "hooray", - "eyes", - "rocket" - ], "properties": { "+1": { "type": "integer" @@ -1060801,7 +1069325,19 @@ "type": "string", "format": "uri" } - } + }, + "required": [ + "url", + "total_count", + "+1", + "-1", + "laugh", + "confused", + "heart", + "hooray", + "eyes", + "rocket" + ] }, "repository_url": { "type": "string", @@ -1061730,10 +1070266,6 @@ "title": "User", "type": "object", "nullable": true, - "required": [ - "login", - "id" - ], "properties": { "avatar_url": { "type": "string", @@ -1061821,193 +1070353,183 @@ "user_view_type": { "type": "string" } - } - } - } - }, - "milestone": { - "title": "Milestone", - "description": "A collection of related issues and pull requests.", - "type": "object", - "properties": { - "closed_at": { - "type": "string", - "nullable": true, - "format": "date-time" - }, - "closed_issues": { - "type": "integer" - }, - "created_at": { - "type": "string", - "format": "date-time" - }, - "creator": { - "title": "User", - "type": "object", - "nullable": true, - "properties": { - "avatar_url": { - "type": "string", - "format": "uri" - }, - "deleted": { - "type": "boolean" - }, - "email": { - "type": "string", - "nullable": true - }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { - "type": "string", - "format": "uri" - }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { - "type": "string" - }, - "html_url": { - "type": "string", - "format": "uri" - }, - "id": { - "type": "integer" - }, - "login": { - "type": "string" - }, - "name": { - "type": "string" - }, - "node_id": { - "type": "string" - }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { - "type": "string", - "format": "uri" - }, - "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", - "nullable": true - }, - "due_on": { - "type": "string", - "nullable": true, - "format": "date-time" - }, - "html_url": { - "type": "string", - "format": "uri" - }, + } + }, + "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" + ] + }, + "issue_field": { + "type": "object", + "description": "The issue field whose value was set or updated on the issue.", + "properties": { "id": { - "type": "integer" + "type": "integer", + "description": "The unique identifier of the issue field." }, - "labels_url": { + "name": { "type": "string", - "format": "uri" - }, - "node_id": { - "type": "string" - }, - "number": { - "description": "The number of the milestone.", - "type": "integer" - }, - "open_issues": { - "type": "integer" + "description": "The name of the issue field." }, - "state": { - "description": "The state of the milestone.", + "field_type": { "type": "string", + "description": "The data type of the issue field.", "enum": [ - "open", - "closed" + "text", + "date", + "single_select", + "number" ] + } + }, + "required": [ + "id", + "name", + "field_type" + ] + }, + "issue_field_value": { + "type": "object", + "description": "The value that was set or updated for the issue field. When updating an existing value, the previous value is available in `changes`.", + "properties": { + "id": { + "type": "integer", + "description": "The unique identifier of the issue field value." }, - "title": { - "description": "The title of the milestone.", - "type": "string" + "value": { + "description": "The value of the field. Present for text, date, and number field types.", + "nullable": true, + "anyOf": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "integer" + } + ] }, - "updated_at": { - "type": "string", - "format": "date-time" + "value_id": { + "type": "integer", + "description": "The identifier of the selected option. Present for single_select field types." }, - "url": { - "type": "string", - "format": "uri" + "option": { + "type": "object", + "description": "The selected option details. Present for single_select field types.", + "properties": { + "id": { + "type": "integer" + }, + "name": { + "type": "string" + }, + "color": { + "type": "string" + }, + "description": { + "type": "string", + "nullable": true + } + } } }, "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" + "id" ] }, + "changes": { + "type": "object", + "description": "The previous field value, present when an existing value was updated.", + "properties": { + "issue_field_value": { + "type": "object", + "description": "The previous issue field value data.", + "properties": { + "from": { + "type": "object", + "description": "The previous value of the issue field before the update.", + "properties": { + "id": { + "type": "integer", + "description": "The unique identifier of the issue field value." + }, + "value": { + "description": "The previous value. Present for text, date, and number field types.", + "nullable": true, + "anyOf": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "integer" + } + ] + }, + "value_id": { + "type": "integer", + "description": "The identifier of the previously selected option. Present for single_select field types." + }, + "option": { + "type": "object", + "description": "The previously selected option details. Present for single_select field types.", + "properties": { + "id": { + "type": "integer" + }, + "name": { + "type": "string" + }, + "color": { + "type": "string" + }, + "description": { + "type": "string", + "nullable": true + } + } + } + }, + "required": [ + "id" + ] + } + }, + "required": [ + "from" + ] + } + } + }, "organization": { "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.", @@ -1063440,6 +1071962,7 @@ "required": [ "action", "issue", + "issue_field", "repository", "sender" ] @@ -1063464,11 +1071987,11 @@ } } }, - "issues-edited": { + "issues-field-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": "The title or body on an issue was edited.", - "operationId": "issues/edited", + "description": "An issue field value was cleared from an issue.", + "operationId": "issues/field-removed", "externalDocs": { "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#issues" }, @@ -1063535,45 +1072058,15 @@ "content": { "application/json": { "schema": { - "title": "issues edited event", + "title": "issues field_removed event", "type": "object", "properties": { "action": { "type": "string", "enum": [ - "edited" + "field_removed" ] }, - "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": { "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-cloud@latest//admin/overview/about-enterprise-accounts).\"", @@ -1063863,6 +1072356,9 @@ "url": { "type": "string", "format": "uri" + }, + "user_view_type": { + "type": "string" } }, "required": [ @@ -1064229,9 +1072725,8 @@ "watch", "workflow_dispatch", "workflow_run", - "security_and_analysis", - "pull_request_review_thread", - "reminder" + "reminder", + "pull_request_review_thread" ] } }, @@ -1065543,6 +1074038,10 @@ "type": "string", "format": "uri" }, + "title": { + "description": "Title of the issue", + "type": "string" + }, "type": { "title": "Issue Type", "description": "The type of issue.", @@ -1065603,10 +1074102,6 @@ "description" ] }, - "title": { - "description": "Title of the issue", - "type": "string" - }, "updated_at": { "type": "string", "format": "date-time" @@ -1065738,45 +1074233,84 @@ "reactions" ] }, - "label": { - "title": "Label", + "issue_field": { "type": "object", + "description": "The issue field whose value was cleared from the issue.", "properties": { - "color": { - "description": "6-character hex code, without the leading #, identifying the color", - "type": "string" - }, - "default": { - "type": "boolean" - }, - "description": { - "type": "string", - "nullable": true - }, "id": { - "type": "integer" + "type": "integer", + "description": "The unique identifier of the issue field." }, "name": { - "description": "The name of the label.", - "type": "string" - }, - "node_id": { - "type": "string" + "type": "string", + "description": "The name of the issue field." }, - "url": { - "description": "URL for the label", + "field_type": { "type": "string", - "format": "uri" + "description": "The data type of the issue field.", + "enum": [ + "text", + "date", + "single_select", + "number" + ] } }, "required": [ "id", - "node_id", - "url", "name", - "color", - "default", - "description" + "field_type" + ] + }, + "issue_field_value": { + "type": "object", + "description": "The value that was clea{"code":"deadline_exceeded","msg":"operation timed out"}