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..87326bce9e 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", @@ -10561,6 +10791,10 @@ "items": { "type": "string" } + }, + "use_immutable_subject": { + "description": "Whether to opt in to the immutable OIDC subject claim format for the organization. When `true`, new OIDC tokens will use a stable, repository-ID-based `sub` claim instead of the name-based format.", + "type": "boolean" } } }, @@ -16855,6 +17089,9 @@ "schema": { "type": "object", "additionalProperties": false, + "required": [ + "selected_repository_ids" + ], "properties": { "selected_repository_ids": { "type": "array", @@ -33535,6 +33772,10 @@ "items": { "type": "string" } + }, + "use_immutable_subject": { + "description": "Whether to opt in to the immutable OIDC subject claim format for this repository. When `true`, OIDC tokens will use a stable, repository-ID-based `sub` claim.", + "type": "boolean" } } }, @@ -64474,6 +64715,15 @@ }, "assignee": { "$ref": "#/components/schemas/secret-scanning-alert-assignee" + }, + "validity": { + "type": "string", + "nullable": true, + "enum": [ + "active", + "inactive" + ], + "description": "Sets the validity of the secret scanning alert. Can be `active`, `inactive`, or `null` to clear the override." } }, "anyOf": [ @@ -64540,7 +64790,7 @@ "description": "Repository is public, or secret scanning is disabled for the repository, or the resource is not found" }, "422": { - "description": "State does not match the resolution or resolution comment, or assignee does not have write access to the repository" + "description": "State does not match the resolution or resolution comment, assignee does not have write access to the repository, or the requested validity change could not be applied to this alert" }, "503": { "$ref": "#/components/responses/service_unavailable" @@ -86577,11 +86827,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 +86898,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-issues-labeled" + "$ref": "#/components/schemas/webhook-issues-field-added" } } } @@ -86670,11 +86920,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 +86991,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-issues-locked" + "$ref": "#/components/schemas/webhook-issues-field-removed" } } } @@ -86763,11 +87013,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 +87084,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-issues-milestoned" + "$ref": "#/components/schemas/webhook-issues-labeled" } } } @@ -86856,11 +87106,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 +87177,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-issues-opened" + "$ref": "#/components/schemas/webhook-issues-locked" } } } @@ -86949,11 +87199,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 +87270,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-issues-pinned" + "$ref": "#/components/schemas/webhook-issues-milestoned" } } } @@ -87042,11 +87292,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 +87363,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-issues-reopened" + "$ref": "#/components/schemas/webhook-issues-opened" } } } @@ -87135,11 +87385,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 +87456,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-issues-transferred" + "$ref": "#/components/schemas/webhook-issues-pinned" } } } @@ -87228,11 +87478,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 +87549,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-issues-typed" + "$ref": "#/components/schemas/webhook-issues-reopened" } } } @@ -87321,11 +87571,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 +87642,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-issues-unassigned" + "$ref": "#/components/schemas/webhook-issues-transferred" } } } @@ -87414,11 +87664,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 +87735,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-issues-unlabeled" + "$ref": "#/components/schemas/webhook-issues-typed" } } } @@ -87507,11 +87757,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 +87828,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-issues-unlocked" + "$ref": "#/components/schemas/webhook-issues-unassigned" } } } @@ -87600,11 +87850,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 +87921,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-issues-unpinned" + "$ref": "#/components/schemas/webhook-issues-unlabeled" } } } @@ -87693,11 +87943,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 +88014,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-issues-untyped" + "$ref": "#/components/schemas/webhook-issues-unlocked" } } } @@ -87786,13 +88036,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 +88064,7 @@ { "name": "X-Github-Event", "in": "header", - "example": "label", + "example": "issues", "schema": { "type": "string" } @@ -87857,7 +88107,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-label-created" + "$ref": "#/components/schemas/webhook-issues-unpinned" } } } @@ -87870,7 +88120,7 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "label", + "subcategory": "issues", "supported-webhook-types": [ "repository", "organization", @@ -87879,11 +88129,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 +88293,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-label-deleted" + "$ref": "#/components/schemas/webhook-label-created" } } } @@ -87972,11 +88315,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 +88386,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-label-edited" + "$ref": "#/components/schemas/webhook-label-deleted" } } } @@ -88065,13 +88408,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 +88436,7 @@ { "name": "X-Github-Event", "in": "header", - "example": "marketplace_purchase", + "example": "label", "schema": { "type": "string" } @@ -88136,7 +88479,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-marketplace-purchase-cancelled" + "$ref": "#/components/schemas/webhook-label-edited" } } } @@ -88149,18 +88492,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 +88572,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-marketplace-purchase-changed" + "$ref": "#/components/schemas/webhook-marketplace-purchase-cancelled" } } } @@ -88247,11 +88592,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 +88663,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-marketplace-purchase-pending-change" + "$ref": "#/components/schemas/webhook-marketplace-purchase-changed" } } } @@ -88338,11 +88683,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 +88754,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-marketplace-purchase-pending-change-cancelled" + "$ref": "#/components/schemas/webhook-marketplace-purchase-pending-change" } } } @@ -88429,11 +88774,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 +88845,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-marketplace-purchase-purchased" + "$ref": "#/components/schemas/webhook-marketplace-purchase-pending-change-cancelled" } } } @@ -88520,13 +88865,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 +88893,7 @@ { "name": "X-Github-Event", "in": "header", - "example": "member", + "example": "marketplace_purchase", "schema": { "type": "string" } @@ -88591,7 +88936,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-member-added" + "$ref": "#/components/schemas/webhook-marketplace-purchase-purchased" } } } @@ -88604,21 +88949,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 +89027,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-member-edited" + "$ref": "#/components/schemas/webhook-member-added" } } } @@ -88708,11 +89050,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 +89121,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-member-removed" + "$ref": "#/components/schemas/webhook-member-edited" } } } @@ -88802,13 +89144,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 +89172,7 @@ { "name": "X-Github-Event", "in": "header", - "example": "membership", + "example": "member", "schema": { "type": "string" } @@ -88873,7 +89215,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-membership-added" + "$ref": "#/components/schemas/webhook-member-removed" } } } @@ -88886,20 +89228,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 +89309,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-membership-removed" + "$ref": "#/components/schemas/webhook-membership-added" } } } @@ -88988,16 +89331,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 +89359,7 @@ { "name": "X-Github-Event", "in": "header", - "example": "merge_group", + "example": "membership", "schema": { "type": "string" } @@ -89062,7 +89402,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-merge-group-checks-requested" + "$ref": "#/components/schemas/webhook-membership-removed" } } } @@ -89075,18 +89415,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 +89498,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-merge-group-destroyed" + "$ref": "#/components/schemas/webhook-merge-group-checks-requested" } } } @@ -89176,201 +89518,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 +89549,7 @@ { "name": "X-Github-Event", "in": "header", - "example": "milestone", + "example": "merge_group", "schema": { "type": "string" } @@ -89435,7 +89592,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-milestone-created" + "$ref": "#/components/schemas/webhook-merge-group-destroyed" } } } @@ -89448,22 +89605,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 +89640,7 @@ { "name": "X-Github-Event", "in": "header", - "example": "milestone", + "example": "meta", "schema": { "type": "string" } @@ -89528,7 +89683,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-milestone-deleted" + "$ref": "#/components/schemas/webhook-meta-deleted" } } } @@ -89541,8 +89696,10 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "milestone", + "subcategory": "meta", "supported-webhook-types": [ + "marketplace", + "business", "repository", "organization", "app" @@ -89550,11 +89707,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 +89778,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-milestone-edited" + "$ref": "#/components/schemas/webhook-milestone-closed" } } } @@ -89643,11 +89800,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 +89871,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 +89884,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 +89921,7 @@ { "name": "X-Github-Event", "in": "header", - "example": "org_block", + "example": "milestone", "schema": { "type": "string" } @@ -89900,7 +89964,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-org-block-unblocked" + "$ref": "#/components/schemas/webhook-milestone-deleted" } } } @@ -89913,22 +89977,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 +90014,7 @@ { "name": "X-Github-Event", "in": "header", - "example": "organization", + "example": "milestone", "schema": { "type": "string" } @@ -89993,7 +90057,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-organization-deleted" + "$ref": "#/components/schemas/webhook-milestone-edited" } } } @@ -90006,7 +90070,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 +90265,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 +90293,7 @@ { "name": "X-Github-Event", "in": "header", - "example": "organization", + "example": "org_block", "schema": { "type": "string" } @@ -90086,7 +90336,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-organization-member-added" + "$ref": "#/components/schemas/webhook-org-block-unblocked" } } } @@ -90099,7 +90349,7 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "organization", + "subcategory": "org_block", "supported-webhook-types": [ "organization", "business", @@ -90108,11 +90358,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 +90429,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-organization-member-invited" + "$ref": "#/components/schemas/webhook-organization-deleted" } } } @@ -90201,11 +90451,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 +90522,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-organization-member-removed" + "$ref": "#/components/schemas/webhook-organization-member-added" } } } @@ -90294,11 +90544,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 +90615,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-organization-renamed" + "$ref": "#/components/schemas/webhook-organization-member-invited" } } } @@ -90387,13 +90637,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 +90665,7 @@ { "name": "X-Github-Event", "in": "header", - "example": "package", + "example": "organization", "schema": { "type": "string" } @@ -90458,7 +90708,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-package-published" + "$ref": "#/components/schemas/webhook-organization-member-removed" } } } @@ -90471,21 +90721,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 +90758,7 @@ { "name": "X-Github-Event", "in": "header", - "example": "package", + "example": "organization", "schema": { "type": "string" } @@ -90550,7 +90801,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-package-updated" + "$ref": "#/components/schemas/webhook-organization-renamed" } } } @@ -90563,20 +90814,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 +90851,7 @@ { "name": "X-Github-Event", "in": "header", - "example": "page_build", + "example": "package", "schema": { "type": "string" } @@ -90641,7 +90894,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-page-build" + "$ref": "#/components/schemas/webhook-package-published" } } } @@ -90654,22 +90907,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 +90932,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 +90973,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 +91031,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 +91050,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 +91077,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-personal-access-token-request-approved" + "$ref": "#/components/schemas/webhook-page-build" } } } @@ -90747,19 +91090,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 +91170,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 +91191,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 +91262,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 +91283,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 +91354,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 +91375,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 +91393,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 +91403,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 +91446,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 +91458,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 +108398,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", @@ -113356,6 +114115,10 @@ "items": { "type": "string" } + }, + "use_immutable_subject": { + "description": "Whether to opt in to the immutable OIDC subject claim format for the organization. When `true`, new OIDC tokens will use a stable, repository-ID-based `sub` claim instead of the name-based format.", + "type": "boolean" } }, "required": [ @@ -115618,329 +116381,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.", @@ -125318,6 +125758,14 @@ "items": { "type": "string" } + }, + "use_immutable_subject": { + "description": "Whether the repository has opted in to the immutable OIDC subject claim format. When `true`, OIDC tokens will use a stable, repository-ID-based `sub` claim. If not set at the repository level, falls back to the organization-level setting.", + "type": "boolean" + }, + "sub_claim_prefix": { + "description": "The current `sub` claim prefix for this repository.", + "type": "string" } }, "required": [ @@ -182829,6 +183277,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 +289564,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 +294067,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..67aec06a7d 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 @@ -7577,6 +7750,12 @@ paths: type: array items: type: string + use_immutable_subject: + description: Whether to opt in to the immutable OIDC subject claim + format for the organization. When `true`, new OIDC tokens will + use a stable, repository-ID-based `sub` claim instead of the name-based + format. + type: boolean examples: default: "$ref": "#/components/examples/oidc-custom-sub" @@ -12242,6 +12421,8 @@ paths: schema: type: object additionalProperties: false + required: + - selected_repository_ids properties: selected_repository_ids: type: array @@ -24474,6 +24655,11 @@ paths: type: array items: type: string + use_immutable_subject: + description: Whether to opt in to the immutable OIDC subject claim + format for this repository. When `true`, OIDC tokens will use + a stable, repository-ID-based `sub` claim. + type: boolean examples: default: value: @@ -46903,6 +47089,14 @@ paths: "$ref": "#/components/schemas/secret-scanning-alert-resolution-comment" assignee: "$ref": "#/components/schemas/secret-scanning-alert-assignee" + validity: + type: string + nullable: true + enum: + - active + - inactive + description: Sets the validity of the secret scanning alert. Can + be `active`, `inactive`, or `null` to clear the override. anyOf: - required: - state @@ -46941,7 +47135,8 @@ paths: repository, or the resource is not found '422': description: State does not match the resolution or resolution comment, - or assignee does not have write access to the repository + assignee does not have write access to the repository, or the requested + validity change could not be applied to this alert '503': "$ref": "#/components/responses/service_unavailable" x-github: @@ -62683,7 +62878,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 +62886,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 +62931,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 +62944,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 +62952,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 +62997,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 +63010,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 +63018,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 +63063,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 +63076,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 +63084,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 +63130,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 +63143,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 +63151,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 +63196,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 +63209,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 +63217,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 +63263,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 +63276,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 +63284,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 +63330,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 +63343,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 +63351,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 +63396,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 +63409,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 +63417,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 +63463,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 +63476,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 +63484,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 +63529,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 +63542,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 +63550,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 +63595,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 +63608,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 +63616,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 +63661,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 +63674,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 +63682,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 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: @@ -63534,7 +63728,7 @@ x-webhooks: content: application/json: schema: - "$ref": "#/components/schemas/webhook-issues-untyped" + "$ref": "#/components/schemas/webhook-issues-unlocked" responses: '200': description: Return a 200 status to indicate that the data was received @@ -63547,18 +63741,19 @@ x-webhooks: - repository - organization - app - 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. + 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. - If 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. + 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 "Metadata" repository permission. - description: A label was created. - operationId: label/created + 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#label + url: https://docs.github.com/webhooks/webhook-events-and-payloads#issues parameters: - name: User-Agent in: header @@ -63572,7 +63767,7 @@ x-webhooks: type: string - name: X-Github-Event in: header - example: label + example: issues schema: type: string - name: X-Github-Hook-Installation-Target-Id @@ -63600,7 +63795,7 @@ x-webhooks: content: application/json: schema: - "$ref": "#/components/schemas/webhook-label-created" + "$ref": "#/components/schemas/webhook-issues-unpinned" responses: '200': description: Return a 200 status to indicate that the data was received @@ -63608,23 +63803,23 @@ x-webhooks: x-github: githubCloudOnly: false category: webhooks - subcategory: label + subcategory: issues supported-webhook-types: - repository - organization - app - label-deleted: + issues-untyped: 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. + 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. - If 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. + 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 "Metadata" repository permission. - description: A label was deleted. - operationId: label/deleted + 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#label + url: https://docs.github.com/webhooks/webhook-events-and-payloads#issues parameters: - name: User-Agent in: header @@ -63638,7 +63833,7 @@ x-webhooks: type: string - name: X-Github-Event in: header - example: label + example: issues schema: type: string - name: X-Github-Hook-Installation-Target-Id @@ -63666,7 +63861,7 @@ x-webhooks: content: application/json: schema: - "$ref": "#/components/schemas/webhook-label-deleted" + "$ref": "#/components/schemas/webhook-issues-untyped" responses: '200': description: Return a 200 status to indicate that the data was received @@ -63674,12 +63869,12 @@ x-webhooks: x-github: githubCloudOnly: false category: webhooks - subcategory: label + subcategory: issues supported-webhook-types: - repository - organization - app - label-edited: + 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. @@ -63687,8 +63882,8 @@ x-webhooks: If 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. To 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 created. + operationId: label/created externalDocs: url: https://docs.github.com/webhooks/webhook-events-and-payloads#label parameters: @@ -63732,7 +63927,7 @@ x-webhooks: content: application/json: schema: - "$ref": "#/components/schemas/webhook-label-edited" + "$ref": "#/components/schemas/webhook-label-created" responses: '200': description: Return a 200 status to indicate that the data was received @@ -63745,19 +63940,18 @@ x-webhooks: - repository - organization - app - marketplace-purchase-cancelled: + label-deleted: post: - summary: This event occurs when there is activity relating to a GitHub Marketplace - purchase. For more information, see "[GitHub Marketplace](https://docs.github.com/marketplace)." - For information about the APIs to manage GitHub Marketplace listings, see - [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#marketplacelisting) - or "[GitHub Marketplace](https://docs.github.com/rest/apps/marketplace)" in - the REST API documentation. - description: Someone cancelled a 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. + + If 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. + + To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. + description: A label was deleted. + operationId: label/deleted externalDocs: - url: https://docs.github.com/webhooks/webhook-events-and-payloads#marketplace_purchase + url: https://docs.github.com/webhooks/webhook-events-and-payloads#label parameters: - name: User-Agent in: header @@ -63771,7 +63965,7 @@ x-webhooks: type: string - name: X-Github-Event in: header - example: marketplace_purchase + example: label schema: type: string - name: X-Github-Hook-Installation-Target-Id @@ -63799,7 +63993,7 @@ x-webhooks: content: application/json: schema: - "$ref": "#/components/schemas/webhook-marketplace-purchase-cancelled" + "$ref": "#/components/schemas/webhook-label-deleted" responses: '200': description: Return a 200 status to indicate that the data was received @@ -63807,22 +64001,23 @@ x-webhooks: x-github: githubCloudOnly: false category: webhooks - subcategory: marketplace_purchase + subcategory: label supported-webhook-types: - - marketplace - marketplace-purchase-changed: + - repository + - organization + - app + 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 upgraded or downgraded a GitHub Marketplace plan, and the - last billing cycle has ended. The change will take effect on the account immediately. - operationId: marketplace-purchase/changed + summary: |- + This event occurs when there is activity relating to 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. + + If 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. + + To 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: - name: User-Agent in: header @@ -63836,7 +64031,7 @@ x-webhooks: type: string - name: X-Github-Event in: header - example: marketplace_purchase + example: label schema: type: string - name: X-Github-Hook-Installation-Target-Id @@ -63864,7 +64059,7 @@ x-webhooks: content: application/json: schema: - "$ref": "#/components/schemas/webhook-marketplace-purchase-changed" + "$ref": "#/components/schemas/webhook-label-edited" responses: '200': description: Return a 200 status to indicate that the data was received @@ -63872,10 +64067,12 @@ x-webhooks: x-github: githubCloudOnly: false category: webhooks - subcategory: marketplace_purchase + subcategory: label supported-webhook-types: - - marketplace - marketplace-purchase-pending-change: + - repository + - organization + - app + 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)." @@ -63883,11 +64080,9 @@ x-webhooks: [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 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 parameters: @@ -63931,7 +64126,7 @@ x-webhooks: content: application/json: schema: - "$ref": "#/components/schemas/webhook-marketplace-purchase-pending-change" + "$ref": "#/components/schemas/webhook-marketplace-purchase-cancelled" responses: '200': description: Return a 200 status to indicate that the data was received @@ -63942,7 +64137,7 @@ x-webhooks: subcategory: marketplace_purchase supported-webhook-types: - marketplace - marketplace-purchase-pending-change-cancelled: + 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)." @@ -63950,10 +64145,9 @@ x-webhooks: [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 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 parameters: @@ -63997,7 +64191,7 @@ x-webhooks: content: application/json: schema: - "$ref": "#/components/schemas/webhook-marketplace-purchase-pending-change-cancelled" + "$ref": "#/components/schemas/webhook-marketplace-purchase-changed" responses: '200': description: Return a 200 status to indicate that the data was received @@ -64008,7 +64202,7 @@ x-webhooks: subcategory: marketplace_purchase supported-webhook-types: - marketplace - marketplace-purchase-purchased: + 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)." @@ -64016,9 +64210,11 @@ x-webhooks: [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 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 parameters: @@ -64062,7 +64258,7 @@ x-webhooks: content: application/json: schema: - "$ref": "#/components/schemas/webhook-marketplace-purchase-purchased" + "$ref": "#/components/schemas/webhook-marketplace-purchase-pending-change" responses: '200': description: Return a 200 status to indicate that the data was received @@ -64073,16 +64269,20 @@ x-webhooks: subcategory: marketplace_purchase supported-webhook-types: - marketplace - member-added: + marketplace-purchase-pending-change-cancelled: post: - summary: |- - This event occurs when there is activity relating to collaborators in a repository. For more information, see "[Adding outside collaborators to repositories in your organization](https://docs.github.com/organizations/managing-user-access-to-your-organizations-repositories/adding-outside-collaborators-to-repositories-in-your-organization)." For more information about the API to manage repository collaborators, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#repositorycollaboratorconnection) or "[Collaborators](https://docs.github.com/rest/collaborators/collaborators)" in the REST API documentation. - - To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. - description: A GitHub user accepted an invitation to a repository. - operationId: member/added + summary: This event occurs when there is activity relating to a GitHub Marketplace + purchase. For more information, see "[GitHub Marketplace](https://docs.github.com/marketplace)." + For information about the APIs to manage GitHub Marketplace listings, see + [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#marketplacelisting) + or "[GitHub Marketplace](https://docs.github.com/rest/apps/marketplace)" in + the REST API documentation. + description: Someone cancelled a 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#member + url: https://docs.github.com/webhooks/webhook-events-and-payloads#marketplace_purchase parameters: - name: User-Agent in: header @@ -64096,7 +64296,7 @@ x-webhooks: type: string - name: X-Github-Event in: header - example: member + example: marketplace_purchase schema: type: string - name: X-Github-Hook-Installation-Target-Id @@ -64124,7 +64324,7 @@ x-webhooks: content: application/json: schema: - "$ref": "#/components/schemas/webhook-member-added" + "$ref": "#/components/schemas/webhook-marketplace-purchase-pending-change-cancelled" responses: '200': description: Return a 200 status to indicate that the data was received @@ -64132,22 +64332,22 @@ x-webhooks: x-github: githubCloudOnly: false category: webhooks - subcategory: member + subcategory: marketplace_purchase supported-webhook-types: - - business - - repository - - organization - - app - member-edited: + - marketplace + 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. - - To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. - description: Permissions were changed for a collaborator on a repository. - operationId: member/edited + summary: This event occurs when there is activity relating to a GitHub Marketplace + purchase. For more information, see "[GitHub Marketplace](https://docs.github.com/marketplace)." + For information about the APIs to manage GitHub Marketplace listings, see + [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#marketplacelisting) + or "[GitHub Marketplace](https://docs.github.com/rest/apps/marketplace)" in + the REST API documentation. + description: Someone 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: - name: User-Agent in: header @@ -64161,7 +64361,7 @@ x-webhooks: type: string - name: X-Github-Event in: header - example: member + example: marketplace_purchase schema: type: string - name: X-Github-Hook-Installation-Target-Id @@ -64189,7 +64389,7 @@ x-webhooks: content: application/json: schema: - "$ref": "#/components/schemas/webhook-member-edited" + "$ref": "#/components/schemas/webhook-marketplace-purchase-purchased" responses: '200': description: Return a 200 status to indicate that the data was received @@ -64197,20 +64397,17 @@ x-webhooks: x-github: githubCloudOnly: false category: webhooks - subcategory: member + subcategory: marketplace_purchase supported-webhook-types: - - business - - repository - - organization - - app - member-removed: + - marketplace + 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. To 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: A GitHub user accepted an invitation to a repository. + operationId: member/added externalDocs: url: https://docs.github.com/webhooks/webhook-events-and-payloads#member parameters: @@ -64254,7 +64451,7 @@ x-webhooks: content: application/json: schema: - "$ref": "#/components/schemas/webhook-member-removed" + "$ref": "#/components/schemas/webhook-member-added" responses: '200': description: Return a 200 status to indicate that the data was received @@ -64268,16 +64465,16 @@ x-webhooks: - repository - organization - app - membership-added: + member-edited: 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. + 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. To 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 + description: Permissions were changed for a collaborator on a repository. + operationId: member/edited externalDocs: - url: https://docs.github.com/webhooks/webhook-events-and-payloads#membership + url: https://docs.github.com/webhooks/webhook-events-and-payloads#member parameters: - name: User-Agent in: header @@ -64291,7 +64488,7 @@ x-webhooks: type: string - name: X-Github-Event in: header - example: membership + example: member schema: type: string - name: X-Github-Hook-Installation-Target-Id @@ -64319,7 +64516,7 @@ x-webhooks: content: application/json: schema: - "$ref": "#/components/schemas/webhook-membership-added" + "$ref": "#/components/schemas/webhook-member-edited" responses: '200': description: Return a 200 status to indicate that the data was received @@ -64327,21 +64524,22 @@ x-webhooks: x-github: githubCloudOnly: false category: webhooks - subcategory: membership + subcategory: member supported-webhook-types: - - organization - business + - repository + - organization - app - membership-removed: + 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. + 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. To 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: 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: - name: User-Agent in: header @@ -64355,7 +64553,136 @@ x-webhooks: type: string - name: X-Github-Event in: header - example: membership + example: member + schema: + type: string + - name: X-Github-Hook-Installation-Target-Id + in: header + example: 123123 + schema: + type: string + - name: X-Github-Hook-Installation-Target-Type + in: header + example: repository + schema: + type: string + - name: X-GitHub-Delivery + 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-member-removed" + responses: + '200': + description: Return a 200 status to indicate that the data was received + successfully + x-github: + githubCloudOnly: false + category: webhooks + subcategory: member + supported-webhook-types: + - business + - repository + - organization + - app + membership-added: + post: + summary: |- + This event occurs when there is activity relating to team membership. For more information, see "[About teams](https://docs.github.com/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. + + To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. + description: An organization member was added to a team. + operationId: membership/added + externalDocs: + url: https://docs.github.com/webhooks/webhook-events-and-payloads#membership + parameters: + - name: User-Agent + in: header + example: GitHub-Hookshot/123abc + schema: + type: string + - name: X-Github-Hook-Id + in: header + example: 12312312 + schema: + type: string + - name: X-Github-Event + in: header + example: membership + schema: + type: string + - name: X-Github-Hook-Installation-Target-Id + in: header + example: 123123 + schema: + type: string + - name: X-Github-Hook-Installation-Target-Type + in: header + example: repository + schema: + type: string + - name: X-GitHub-Delivery + 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-membership-added" + responses: + '200': + description: Return a 200 status to indicate that the data was received + successfully + x-github: + githubCloudOnly: false + category: webhooks + subcategory: membership + supported-webhook-types: + - organization + - business + - app + membership-removed: + post: + summary: |- + This event occurs when there is activity relating to team membership. For more information, see "[About teams](https://docs.github.com/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. + + To 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#membership + parameters: + - name: User-Agent + in: header + example: GitHub-Hookshot/123abc + schema: + type: string + - name: X-Github-Hook-Id + in: header + example: 12312312 + schema: + type: string + - name: X-Github-Event + in: header + example: membership schema: type: string - name: X-Github-Hook-Installation-Target-Id @@ -78434,6 +78761,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 @@ -82589,6 +83208,11 @@ components: type: array items: type: string + use_immutable_subject: + description: Whether to opt in to the immutable OIDC subject claim format + for the organization. When `true`, new OIDC tokens will use a stable, + repository-ID-based `sub` claim instead of the name-based format. + type: boolean required: - include_claim_keys empty-object: @@ -84459,298 +85083,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. @@ -92135,6 +92467,15 @@ components: type: array items: type: string + use_immutable_subject: + description: Whether the repository has opted in to the immutable OIDC subject + claim format. When `true`, OIDC tokens will use a stable, repository-ID-based + `sub` claim. If not set at the repository level, falls back to the organization-level + setting. + type: boolean + sub_claim_prefix: + description: The current `sub` claim prefix for this repository. + type: string required: - use_default actions-secret: @@ -135272,6 +135613,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 +216665,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 +220487,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..b10af6ea1b 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", @@ -10560,6 +10790,10 @@ "items": { "type": "string" } + }, + "use_immutable_subject": { + "description": "Whether to opt in to the immutable OIDC subject claim format for the organization. When `true`, new OIDC tokens will use a stable, repository-ID-based `sub` claim instead of the name-based format.", + "type": "boolean" } } }, @@ -16815,6 +17049,9 @@ "schema": { "type": "object", "additionalProperties": false, + "required": [ + "selected_repository_ids" + ], "properties": { "selected_repository_ids": { "type": "array", @@ -33488,6 +33725,10 @@ "items": { "type": "string" } + }, + "use_immutable_subject": { + "description": "Whether to opt in to the immutable OIDC subject claim format for this repository. When `true`, OIDC tokens will use a stable, repository-ID-based `sub` claim.", + "type": "boolean" } } }, @@ -37018,7 +37259,7 @@ ], "responses": { "200": { - "description": "Response including the workflow run ID and URLs when `return_run_details` parameter is `true`.", + "description": "Response including the workflow run ID and URLs.", "content": { "application/json": { "schema": { @@ -64391,6 +64632,15 @@ }, "assignee": { "$ref": "#/components/schemas/secret-scanning-alert-assignee" + }, + "validity": { + "type": "string", + "nullable": true, + "enum": [ + "active", + "inactive" + ], + "description": "Sets the validity of the secret scanning alert. Can be `active`, `inactive`, or `null` to clear the override." } }, "anyOf": [ @@ -64457,7 +64707,7 @@ "description": "Repository is public, or secret scanning is disabled for the repository, or the resource is not found" }, "422": { - "description": "State does not match the resolution or resolution comment, or assignee does not have write access to the repository" + "description": "State does not match the resolution or resolution comment, assignee does not have write access to the repository, or the requested validity change could not be applied to this alert" }, "503": { "$ref": "#/components/responses/service_unavailable" @@ -86462,11 +86712,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 +86783,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-issues-labeled" + "$ref": "#/components/schemas/webhook-issues-field-added" } } } @@ -86555,11 +86805,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 +86876,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-issues-locked" + "$ref": "#/components/schemas/webhook-issues-field-removed" } } } @@ -86648,11 +86898,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 +86969,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-issues-milestoned" + "$ref": "#/components/schemas/webhook-issues-labeled" } } } @@ -86741,11 +86991,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 +87062,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-issues-opened" + "$ref": "#/components/schemas/webhook-issues-locked" } } } @@ -86834,11 +87084,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 +87155,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-issues-pinned" + "$ref": "#/components/schemas/webhook-issues-milestoned" } } } @@ -86927,11 +87177,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 +87248,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-issues-reopened" + "$ref": "#/components/schemas/webhook-issues-opened" } } } @@ -87020,11 +87270,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 +87341,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-issues-transferred" + "$ref": "#/components/schemas/webhook-issues-pinned" } } } @@ -87113,11 +87363,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 +87434,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-issues-typed" + "$ref": "#/components/schemas/webhook-issues-reopened" } } } @@ -87206,11 +87456,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 +87527,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-issues-unassigned" + "$ref": "#/components/schemas/webhook-issues-transferred" } } } @@ -87299,11 +87549,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 +87620,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-issues-unlabeled" + "$ref": "#/components/schemas/webhook-issues-typed" } } } @@ -87392,11 +87642,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 +87713,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-issues-unlocked" + "$ref": "#/components/schemas/webhook-issues-unassigned" } } } @@ -87485,11 +87735,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 +87806,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-issues-unpinned" + "$ref": "#/components/schemas/webhook-issues-unlabeled" } } } @@ -87578,11 +87828,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 +87899,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-issues-untyped" + "$ref": "#/components/schemas/webhook-issues-unlocked" } } } @@ -87671,13 +87921,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 +87949,7 @@ { "name": "X-Github-Event", "in": "header", - "example": "label", + "example": "issues", "schema": { "type": "string" } @@ -87742,7 +87992,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-label-created" + "$ref": "#/components/schemas/webhook-issues-unpinned" } } } @@ -87755,7 +88005,7 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "label", + "subcategory": "issues", "supported-webhook-types": [ "repository", "organization", @@ -87764,11 +88014,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 +88178,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-label-deleted" + "$ref": "#/components/schemas/webhook-label-created" } } } @@ -87857,11 +88200,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 +88271,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-label-edited" + "$ref": "#/components/schemas/webhook-label-deleted" } } } @@ -87950,13 +88293,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 +88321,7 @@ { "name": "X-Github-Event", "in": "header", - "example": "marketplace_purchase", + "example": "label", "schema": { "type": "string" } @@ -88021,7 +88364,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-marketplace-purchase-cancelled" + "$ref": "#/components/schemas/webhook-label-edited" } } } @@ -88034,18 +88377,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 +88457,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-marketplace-purchase-changed" + "$ref": "#/components/schemas/webhook-marketplace-purchase-cancelled" } } } @@ -88132,11 +88477,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 +88548,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-marketplace-purchase-pending-change" + "$ref": "#/components/schemas/webhook-marketplace-purchase-changed" } } } @@ -88223,11 +88568,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 +88639,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-marketplace-purchase-pending-change-cancelled" + "$ref": "#/components/schemas/webhook-marketplace-purchase-pending-change" } } } @@ -88314,11 +88659,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 +88730,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-marketplace-purchase-purchased" + "$ref": "#/components/schemas/webhook-marketplace-purchase-pending-change-cancelled" } } } @@ -88405,13 +88750,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 +88778,7 @@ { "name": "X-Github-Event", "in": "header", - "example": "member", + "example": "marketplace_purchase", "schema": { "type": "string" } @@ -88476,7 +88821,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-member-added" + "$ref": "#/components/schemas/webhook-marketplace-purchase-purchased" } } } @@ -88489,21 +88834,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 +88912,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-member-edited" + "$ref": "#/components/schemas/webhook-member-added" } } } @@ -88593,11 +88935,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 +89006,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-member-removed" + "$ref": "#/components/schemas/webhook-member-edited" } } } @@ -88687,13 +89029,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 +89057,7 @@ { "name": "X-Github-Event", "in": "header", - "example": "membership", + "example": "member", "schema": { "type": "string" } @@ -88758,7 +89100,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-membership-added" + "$ref": "#/components/schemas/webhook-member-removed" } } } @@ -88771,20 +89113,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 +89194,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-membership-removed" + "$ref": "#/components/schemas/webhook-membership-added" } } } @@ -88873,16 +89216,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 +89244,7 @@ { "name": "X-Github-Event", "in": "header", - "example": "merge_group", + "example": "membership", "schema": { "type": "string" } @@ -88947,7 +89287,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-merge-group-checks-requested" + "$ref": "#/components/schemas/webhook-membership-removed" } } } @@ -88960,18 +89300,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 +89383,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-merge-group-destroyed" + "$ref": "#/components/schemas/webhook-merge-group-checks-requested" } } } @@ -89061,201 +89403,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 +89434,7 @@ { "name": "X-Github-Event", "in": "header", - "example": "milestone", + "example": "merge_group", "schema": { "type": "string" } @@ -89320,7 +89477,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-milestone-created" + "$ref": "#/components/schemas/webhook-merge-group-destroyed" } } } @@ -89333,22 +89490,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 +89525,7 @@ { "name": "X-Github-Event", "in": "header", - "example": "milestone", + "example": "meta", "schema": { "type": "string" } @@ -89413,7 +89568,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-milestone-deleted" + "$ref": "#/components/schemas/webhook-meta-deleted" } } } @@ -89426,8 +89581,10 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "milestone", + "subcategory": "meta", "supported-webhook-types": [ + "marketplace", + "business", "repository", "organization", "app" @@ -89435,11 +89592,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 +89663,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-milestone-edited" + "$ref": "#/components/schemas/webhook-milestone-closed" } } } @@ -89528,11 +89685,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 +89756,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 +89769,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 +89806,7 @@ { "name": "X-Github-Event", "in": "header", - "example": "org_block", + "example": "milestone", "schema": { "type": "string" } @@ -89785,7 +89849,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-org-block-unblocked" + "$ref": "#/components/schemas/webhook-milestone-deleted" } } } @@ -89798,22 +89862,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 +89899,7 @@ { "name": "X-Github-Event", "in": "header", - "example": "organization", + "example": "milestone", "schema": { "type": "string" } @@ -89878,7 +89942,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-organization-deleted" + "$ref": "#/components/schemas/webhook-milestone-edited" } } } @@ -89891,7 +89955,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 +90150,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 +90178,7 @@ { "name": "X-Github-Event", "in": "header", - "example": "organization", + "example": "org_block", "schema": { "type": "string" } @@ -89971,7 +90221,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-organization-member-added" + "$ref": "#/components/schemas/webhook-org-block-unblocked" } } } @@ -89984,7 +90234,7 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "organization", + "subcategory": "org_block", "supported-webhook-types": [ "organization", "business", @@ -89993,11 +90243,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 +90314,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-organization-member-invited" + "$ref": "#/components/schemas/webhook-organization-deleted" } } } @@ -90086,11 +90336,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 +90407,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-organization-member-removed" + "$ref": "#/components/schemas/webhook-organization-member-added" } } } @@ -90179,11 +90429,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 +90500,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-organization-renamed" + "$ref": "#/components/schemas/webhook-organization-member-invited" } } } @@ -90272,13 +90522,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 +90550,7 @@ { "name": "X-Github-Event", "in": "header", - "example": "package", + "example": "organization", "schema": { "type": "string" } @@ -90343,7 +90593,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-package-published" + "$ref": "#/components/schemas/webhook-organization-member-removed" } } } @@ -90356,21 +90606,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 +90643,7 @@ { "name": "X-Github-Event", "in": "header", - "example": "package", + "example": "organization", "schema": { "type": "string" } @@ -90435,7 +90686,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-package-updated" + "$ref": "#/components/schemas/webhook-organization-renamed" } } } @@ -90448,20 +90699,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 +90736,7 @@ { "name": "X-Github-Event", "in": "header", - "example": "page_build", + "example": "package", "schema": { "type": "string" } @@ -90526,7 +90779,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-page-build" + "$ref": "#/components/schemas/webhook-package-published" } } } @@ -90539,22 +90792,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 +90817,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 +90858,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 +90916,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 +90935,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 +90962,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-personal-access-token-request-approved" + "$ref": "#/components/schemas/webhook-page-build" } } } @@ -90632,19 +90975,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 +91055,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 +91076,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 +91147,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 +91168,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 +91239,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 +91260,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 +91278,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 +91288,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 +91331,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 +91343,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 +108206,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", @@ -112860,6 +113619,10 @@ "items": { "type": "string" } + }, + "use_immutable_subject": { + "description": "Whether to opt in to the immutable OIDC subject claim format for the organization. When `true`, new OIDC tokens will use a stable, repository-ID-based `sub` claim instead of the name-based format.", + "type": "boolean" } }, "required": [ @@ -115122,329 +115885,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.", @@ -124749,6 +125189,14 @@ "items": { "type": "string" } + }, + "use_immutable_subject": { + "description": "Whether the repository has opted in to the immutable OIDC subject claim format. When `true`, OIDC tokens will use a stable, repository-ID-based `sub` claim. If not set at the repository level, falls back to the organization-level setting.", + "type": "boolean" + }, + "sub_claim_prefix": { + "description": "The current `sub` claim prefix for this repository.", + "type": "string" } }, "required": [ @@ -182403,6 +182851,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 +288820,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 +293321,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..ba26531925 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 @@ -7575,6 +7748,12 @@ paths: type: array items: type: string + use_immutable_subject: + description: Whether to opt in to the immutable OIDC subject claim + format for the organization. When `true`, new OIDC tokens will + use a stable, repository-ID-based `sub` claim instead of the name-based + format. + type: boolean examples: default: "$ref": "#/components/examples/oidc-custom-sub" @@ -12209,6 +12388,8 @@ paths: schema: type: object additionalProperties: false + required: + - selected_repository_ids properties: selected_repository_ids: type: array @@ -24437,6 +24618,11 @@ paths: type: array items: type: string + use_immutable_subject: + description: Whether to opt in to the immutable OIDC subject claim + format for this repository. When `true`, OIDC tokens will use + a stable, repository-ID-based `sub` claim. + type: boolean examples: default: value: @@ -26930,8 +27116,7 @@ paths: - "$ref": "#/components/parameters/workflow-id" responses: '200': - description: Response including the workflow run ID and URLs when `return_run_details` - parameter is `true`. + description: Response including the workflow run ID and URLs. content: application/json: schema: @@ -46832,6 +47017,14 @@ paths: "$ref": "#/components/schemas/secret-scanning-alert-resolution-comment" assignee: "$ref": "#/components/schemas/secret-scanning-alert-assignee" + validity: + type: string + nullable: true + enum: + - active + - inactive + description: Sets the validity of the secret scanning alert. Can + be `active`, `inactive`, or `null` to clear the override. anyOf: - required: - state @@ -46870,7 +47063,8 @@ paths: repository, or the resource is not found '422': description: State does not match the resolution or resolution comment, - or assignee does not have write access to the repository + assignee does not have write access to the repository, or the requested + validity change could not be applied to this alert '503': "$ref": "#/components/responses/service_unavailable" x-github: @@ -62586,7 +62780,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 +62788,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 +62833,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 +62846,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 +62854,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 +62899,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 +62912,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 +62920,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 +62965,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 +62978,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 +62986,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 +63032,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 +63045,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 +63053,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 +63098,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 +63111,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 +63119,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 +63165,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 +63178,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 +63186,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 +63232,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 +63245,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 +63253,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 +63298,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 +63311,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 +63319,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 +63365,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 +63378,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 +63386,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 +63431,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 +63444,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 +63452,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 +63497,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 +63510,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 +63518,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 +63563,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 +63576,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 +63584,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 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: @@ -63437,7 +63630,7 @@ x-webhooks: content: application/json: schema: - "$ref": "#/components/schemas/webhook-issues-untyped" + "$ref": "#/components/schemas/webhook-issues-unlocked" responses: '200': description: Return a 200 status to indicate that the data was received @@ -63450,18 +63643,19 @@ x-webhooks: - repository - organization - app - 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. + 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. - If 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. + 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 "Metadata" repository permission. - description: A label was created. - operationId: label/created + 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#label + url: https://docs.github.com/webhooks/webhook-events-and-payloads#issues parameters: - name: User-Agent in: header @@ -63475,7 +63669,7 @@ x-webhooks: type: string - name: X-Github-Event in: header - example: label + example: issues schema: type: string - name: X-Github-Hook-Installation-Target-Id @@ -63503,7 +63697,7 @@ x-webhooks: content: application/json: schema: - "$ref": "#/components/schemas/webhook-label-created" + "$ref": "#/components/schemas/webhook-issues-unpinned" responses: '200': description: Return a 200 status to indicate that the data was received @@ -63511,23 +63705,23 @@ x-webhooks: x-github: githubCloudOnly: false category: webhooks - subcategory: label + subcategory: issues supported-webhook-types: - repository - organization - app - label-deleted: + issues-untyped: 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. + 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. - If 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. + 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 "Metadata" repository permission. - description: A label was deleted. - operationId: label/deleted + 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#label + url: https://docs.github.com/webhooks/webhook-events-and-payloads#issues parameters: - name: User-Agent in: header @@ -63541,7 +63735,7 @@ x-webhooks: type: string - name: X-Github-Event in: header - example: label + example: issues schema: type: string - name: X-Github-Hook-Installation-Target-Id @@ -63569,7 +63763,7 @@ x-webhooks: content: application/json: schema: - "$ref": "#/components/schemas/webhook-label-deleted" + "$ref": "#/components/schemas/webhook-issues-untyped" responses: '200': description: Return a 200 status to indicate that the data was received @@ -63577,12 +63771,12 @@ x-webhooks: x-github: githubCloudOnly: false category: webhooks - subcategory: label + subcategory: issues supported-webhook-types: - repository - organization - app - label-edited: + 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. @@ -63590,8 +63784,8 @@ x-webhooks: If 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. To 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 created. + operationId: label/created externalDocs: url: https://docs.github.com/webhooks/webhook-events-and-payloads#label parameters: @@ -63635,7 +63829,7 @@ x-webhooks: content: application/json: schema: - "$ref": "#/components/schemas/webhook-label-edited" + "$ref": "#/components/schemas/webhook-label-created" responses: '200': description: Return a 200 status to indicate that the data was received @@ -63648,19 +63842,18 @@ x-webhooks: - repository - organization - app - marketplace-purchase-cancelled: + label-deleted: post: - summary: This event occurs when there is activity relating to a GitHub Marketplace - purchase. For more information, see "[GitHub Marketplace](https://docs.github.com/marketplace)." - For information about the APIs to manage GitHub Marketplace listings, see - [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#marketplacelisting) - or "[GitHub Marketplace](https://docs.github.com/rest/apps/marketplace)" in - the REST API documentation. - description: Someone cancelled a 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. + + If 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. + + To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. + description: A label was deleted. + operationId: label/deleted externalDocs: - url: https://docs.github.com/webhooks/webhook-events-and-payloads#marketplace_purchase + url: https://docs.github.com/webhooks/webhook-events-and-payloads#label parameters: - name: User-Agent in: header @@ -63674,7 +63867,7 @@ x-webhooks: type: string - name: X-Github-Event in: header - example: marketplace_purchase + example: label schema: type: string - name: X-Github-Hook-Installation-Target-Id @@ -63702,7 +63895,7 @@ x-webhooks: content: application/json: schema: - "$ref": "#/components/schemas/webhook-marketplace-purchase-cancelled" + "$ref": "#/components/schemas/webhook-label-deleted" responses: '200': description: Return a 200 status to indicate that the data was received @@ -63710,22 +63903,23 @@ x-webhooks: x-github: githubCloudOnly: false category: webhooks - subcategory: marketplace_purchase + subcategory: label supported-webhook-types: - - marketplace - marketplace-purchase-changed: + - repository + - organization + - app + 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 upgraded or downgraded a GitHub Marketplace plan, and the - last billing cycle has ended. The change will take effect on the account immediately. - operationId: marketplace-purchase/changed + summary: |- + This event occurs when there is activity relating to 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. + + If 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. + + To 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: - name: User-Agent in: header @@ -63739,7 +63933,7 @@ x-webhooks: type: string - name: X-Github-Event in: header - example: marketplace_purchase + example: label schema: type: string - name: X-Github-Hook-Installation-Target-Id @@ -63767,7 +63961,7 @@ x-webhooks: content: application/json: schema: - "$ref": "#/components/schemas/webhook-marketplace-purchase-changed" + "$ref": "#/components/schemas/webhook-label-edited" responses: '200': description: Return a 200 status to indicate that the data was received @@ -63775,10 +63969,12 @@ x-webhooks: x-github: githubCloudOnly: false category: webhooks - subcategory: marketplace_purchase + subcategory: label supported-webhook-types: - - marketplace - marketplace-purchase-pending-change: + - repository + - organization + - app + 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)." @@ -63786,11 +63982,9 @@ x-webhooks: [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 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 parameters: @@ -63834,7 +64028,7 @@ x-webhooks: content: application/json: schema: - "$ref": "#/components/schemas/webhook-marketplace-purchase-pending-change" + "$ref": "#/components/schemas/webhook-marketplace-purchase-cancelled" responses: '200': description: Return a 200 status to indicate that the data was received @@ -63845,7 +64039,7 @@ x-webhooks: subcategory: marketplace_purchase supported-webhook-types: - marketplace - marketplace-purchase-pending-change-cancelled: + 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)." @@ -63853,10 +64047,9 @@ x-webhooks: [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 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 parameters: @@ -63900,7 +64093,7 @@ x-webhooks: content: application/json: schema: - "$ref": "#/components/schemas/webhook-marketplace-purchase-pending-change-cancelled" + "$ref": "#/components/schemas/webhook-marketplace-purchase-changed" responses: '200': description: Return a 200 status to indicate that the data was received @@ -63911,7 +64104,7 @@ x-webhooks: subcategory: marketplace_purchase supported-webhook-types: - marketplace - marketplace-purchase-purchased: + 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)." @@ -63919,9 +64112,11 @@ x-webhooks: [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 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 parameters: @@ -63965,7 +64160,7 @@ x-webhooks: content: application/json: schema: - "$ref": "#/components/schemas/webhook-marketplace-purchase-purchased" + "$ref": "#/components/schemas/webhook-marketplace-purchase-pending-change" responses: '200': description: Return a 200 status to indicate that the data was received @@ -63976,16 +64171,20 @@ x-webhooks: subcategory: marketplace_purchase supported-webhook-types: - marketplace - member-added: + marketplace-purchase-pending-change-cancelled: post: - summary: |- - This event occurs when there is activity relating to collaborators in a repository. For more information, see "[Adding outside collaborators to repositories in your organization](https://docs.github.com/organizations/managing-user-access-to-your-organizations-repositories/adding-outside-collaborators-to-repositories-in-your-organization)." For more information about the API to manage repository collaborators, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#repositorycollaboratorconnection) or "[Collaborators](https://docs.github.com/rest/collaborators/collaborators)" in the REST API documentation. - - To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. - description: A GitHub user accepted an invitation to a repository. - operationId: member/added + summary: This event occurs when there is activity relating to a GitHub Marketplace + purchase. For more information, see "[GitHub Marketplace](https://docs.github.com/marketplace)." + For information about the APIs to manage GitHub Marketplace listings, see + [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#marketplacelisting) + or "[GitHub Marketplace](https://docs.github.com/rest/apps/marketplace)" in + the REST API documentation. + description: Someone cancelled a 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#member + url: https://docs.github.com/webhooks/webhook-events-and-payloads#marketplace_purchase parameters: - name: User-Agent in: header @@ -63999,7 +64198,7 @@ x-webhooks: type: string - name: X-Github-Event in: header - example: member + example: marketplace_purchase schema: type: string - name: X-Github-Hook-Installation-Target-Id @@ -64027,7 +64226,7 @@ x-webhooks: content: application/json: schema: - "$ref": "#/components/schemas/webhook-member-added" + "$ref": "#/components/schemas/webhook-marketplace-purchase-pending-change-cancelled" responses: '200': description: Return a 200 status to indicate that the data was received @@ -64035,22 +64234,22 @@ x-webhooks: x-github: githubCloudOnly: false category: webhooks - subcategory: member + subcategory: marketplace_purchase supported-webhook-types: - - business - - repository - - organization - - app - member-edited: + - marketplace + 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. - - To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. - description: Permissions were changed for a collaborator on a repository. - operationId: member/edited + summary: This event occurs when there is activity relating to a GitHub Marketplace + purchase. For more information, see "[GitHub Marketplace](https://docs.github.com/marketplace)." + For information about the APIs to manage GitHub Marketplace listings, see + [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#marketplacelisting) + or "[GitHub Marketplace](https://docs.github.com/rest/apps/marketplace)" in + the REST API documentation. + description: Someone 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: - name: User-Agent in: header @@ -64064,7 +64263,7 @@ x-webhooks: type: string - name: X-Github-Event in: header - example: member + example: marketplace_purchase schema: type: string - name: X-Github-Hook-Installation-Target-Id @@ -64092,7 +64291,7 @@ x-webhooks: content: application/json: schema: - "$ref": "#/components/schemas/webhook-member-edited" + "$ref": "#/components/schemas/webhook-marketplace-purchase-purchased" responses: '200': description: Return a 200 status to indicate that the data was received @@ -64100,20 +64299,17 @@ x-webhooks: x-github: githubCloudOnly: false category: webhooks - subcategory: member + subcategory: marketplace_purchase supported-webhook-types: - - business - - repository - - organization - - app - member-removed: + - marketplace + 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. To 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: A GitHub user accepted an invitation to a repository. + operationId: member/added externalDocs: url: https://docs.github.com/webhooks/webhook-events-and-payloads#member parameters: @@ -64157,7 +64353,7 @@ x-webhooks: content: application/json: schema: - "$ref": "#/components/schemas/webhook-member-removed" + "$ref": "#/components/schemas/webhook-member-added" responses: '200': description: Return a 200 status to indicate that the data was received @@ -64171,16 +64367,16 @@ x-webhooks: - repository - organization - app - membership-added: + member-edited: 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. + 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. To 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 + description: Permissions were changed for a collaborator on a repository. + operationId: member/edited externalDocs: - url: https://docs.github.com/webhooks/webhook-events-and-payloads#membership + url: https://docs.github.com/webhooks/webhook-events-and-payloads#member parameters: - name: User-Agent in: header @@ -64194,7 +64390,7 @@ x-webhooks: type: string - name: X-Github-Event in: header - example: membership + example: member schema: type: string - name: X-Github-Hook-Installation-Target-Id @@ -64222,7 +64418,7 @@ x-webhooks: content: application/json: schema: - "$ref": "#/components/schemas/webhook-membership-added" + "$ref": "#/components/schemas/webhook-member-edited" responses: '200': description: Return a 200 status to indicate that the data was received @@ -64230,21 +64426,22 @@ x-webhooks: x-github: githubCloudOnly: false category: webhooks - subcategory: membership + subcategory: member supported-webhook-types: - - organization - business + - repository + - organization - app - membership-removed: + 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. + 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. To 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: 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: - name: User-Agent in: header @@ -64258,7 +64455,136 @@ x-webhooks: type: string - name: X-Github-Event in: header - example: membership + example: member + schema: + type: string + - name: X-Github-Hook-Installation-Target-Id + in: header + example: 123123 + schema: + type: string + - name: X-Github-Hook-Installation-Target-Type + in: header + example: repository + schema: + type: string + - name: X-GitHub-Delivery + 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-member-removed" + responses: + '200': + description: Return a 200 status to indicate that the data was received + successfully + x-github: + githubCloudOnly: false + category: webhooks + subcategory: member + supported-webhook-types: + - business + - repository + - organization + - app + membership-added: + post: + summary: |- + This event occurs when there is activity relating to team membership. For more information, see "[About teams](https://docs.github.com/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. + + To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. + description: An organization member was added to a team. + operationId: membership/added + externalDocs: + url: https://docs.github.com/webhooks/webhook-events-and-payloads#membership + parameters: + - name: User-Agent + in: header + example: GitHub-Hookshot/123abc + schema: + type: string + - name: X-Github-Hook-Id + in: header + example: 12312312 + schema: + type: string + - name: X-Github-Event + in: header + example: membership + schema: + type: string + - name: X-Github-Hook-Installation-Target-Id + in: header + example: 123123 + schema: + type: string + - name: X-Github-Hook-Installation-Target-Type + in: header + example: repository + schema: + type: string + - name: X-GitHub-Delivery + 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-membership-added" + responses: + '200': + description: Return a 200 status to indicate that the data was received + successfully + x-github: + githubCloudOnly: false + category: webhooks + subcategory: membership + supported-webhook-types: + - organization + - business + - app + membership-removed: + post: + summary: |- + This event occurs when there is activity relating to team membership. For more information, see "[About teams](https://docs.github.com/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. + + To 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#membership + parameters: + - name: User-Agent + in: header + example: GitHub-Hookshot/123abc + schema: + type: string + - name: X-Github-Hook-Id + in: header + example: 12312312 + schema: + type: string + - name: X-Github-Event + in: header + example: membership schema: type: string - name: X-Github-Hook-Installation-Target-Id @@ -78272,6 +78598,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 @@ -82198,6 +82816,11 @@ components: type: array items: type: string + use_immutable_subject: + description: Whether to opt in to the immutable OIDC subject claim format + for the organization. When `true`, new OIDC tokens will use a stable, + repository-ID-based `sub` claim instead of the name-based format. + type: boolean required: - include_claim_keys empty-object: @@ -84068,298 +84691,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. @@ -91684,6 +92015,15 @@ components: type: array items: type: string + use_immutable_subject: + description: Whether the repository has opted in to the immutable OIDC subject + claim format. When `true`, OIDC tokens will use a stable, repository-ID-based + `sub` claim. If not set at the repository level, falls back to the organization-level + setting. + type: boolean + sub_claim_prefix: + description: The current `sub` claim prefix for this repository. + type: string required: - use_default actions-secret: @@ -134927,6 +135267,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 +215994,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 +219814,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..b43c94b705 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", @@ -10607,6 +10837,10 @@ "items": { "type": "string" } + }, + "use_immutable_subject": { + "description": "Whether to opt in to the immutable OIDC subject claim format for the organization. When `true`, new OIDC tokens will use a stable, repository-ID-based `sub` claim instead of the name-based format.", + "type": "boolean" } } }, @@ -16957,6 +17191,9 @@ "schema": { "type": "object", "additionalProperties": false, + "required": [ + "selected_repository_ids" + ], "properties": { "selected_repository_ids": { "type": "array", @@ -33747,6 +33984,10 @@ "items": { "type": "string" } + }, + "use_immutable_subject": { + "description": "Whether to opt in to the immutable OIDC subject claim format for this repository. When `true`, OIDC tokens will use a stable, repository-ID-based `sub` claim.", + "type": "boolean" } } }, @@ -37352,6 +37593,11 @@ { "op": "remove", "path": "/requestBody/content/application~1json/schema/properties/return_run_details" + }, + { + "op": "replace", + "path": "/responses/200/description", + "value": "Response including the workflow run ID and URLs." } ], "version": "2026-03-10" @@ -64776,6 +65022,15 @@ }, "assignee": { "$ref": "#/components/schemas/secret-scanning-alert-assignee" + }, + "validity": { + "type": "string", + "nullable": true, + "enum": [ + "active", + "inactive" + ], + "description": "Sets the validity of the secret scanning alert. Can be `active`, `inactive`, or `null` to clear the override." } }, "anyOf": [ @@ -64842,7 +65097,7 @@ "description": "Repository is public, or secret scanning is disabled for the repository, or the resource is not found" }, "422": { - "description": "State does not match the resolution or resolution comment, or assignee does not have write access to the repository" + "description": "State does not match the resolution or resolution comment, assignee does not have write access to the repository, or the requested validity change could not be applied to this alert" }, "503": { "$ref": "#/components/responses/service_unavailable" @@ -86997,11 +87252,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 +87323,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-issues-labeled" + "$ref": "#/components/schemas/webhook-issues-field-added" } } } @@ -87090,11 +87345,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 +87416,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-issues-locked" + "$ref": "#/components/schemas/webhook-issues-field-removed" } } } @@ -87183,11 +87438,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 +87509,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-issues-milestoned" + "$ref": "#/components/schemas/webhook-issues-labeled" } } } @@ -87276,11 +87531,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 +87602,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-issues-opened" + "$ref": "#/components/schemas/webhook-issues-locked" } } } @@ -87369,11 +87624,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 +87695,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-issues-pinned" + "$ref": "#/components/schemas/webhook-issues-milestoned" } } } @@ -87462,11 +87717,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 +87788,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-issues-reopened" + "$ref": "#/components/schemas/webhook-issues-opened" } } } @@ -87555,11 +87810,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 +87881,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-issues-transferred" + "$ref": "#/components/schemas/webhook-issues-pinned" } } } @@ -87648,11 +87903,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 +87974,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-issues-typed" + "$ref": "#/components/schemas/webhook-issues-reopened" } } } @@ -87741,11 +87996,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 +88067,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-issues-unassigned" + "$ref": "#/components/schemas/webhook-issues-transferred" } } } @@ -87834,11 +88089,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 +88160,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-issues-unlabeled" + "$ref": "#/components/schemas/webhook-issues-typed" } } } @@ -87927,11 +88182,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 +88253,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-issues-unlocked" + "$ref": "#/components/schemas/webhook-issues-unassigned" } } } @@ -88020,11 +88275,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 +88346,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-issues-unpinned" + "$ref": "#/components/schemas/webhook-issues-unlabeled" } } } @@ -88113,11 +88368,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 +88439,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-issues-untyped" + "$ref": "#/components/schemas/webhook-issues-unlocked" } } } @@ -88206,13 +88461,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 +88489,7 @@ { "name": "X-Github-Event", "in": "header", - "example": "label", + "example": "issues", "schema": { "type": "string" } @@ -88277,7 +88532,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-label-created" + "$ref": "#/components/schemas/webhook-issues-unpinned" } } } @@ -88290,7 +88545,7 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "label", + "subcategory": "issues", "supported-webhook-types": [ "repository", "organization", @@ -88299,11 +88554,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 +88718,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-label-deleted" + "$ref": "#/components/schemas/webhook-label-created" } } } @@ -88392,11 +88740,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 +88811,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-label-edited" + "$ref": "#/components/schemas/webhook-label-deleted" } } } @@ -88485,13 +88833,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 +88861,7 @@ { "name": "X-Github-Event", "in": "header", - "example": "marketplace_purchase", + "example": "label", "schema": { "type": "string" } @@ -88556,7 +88904,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-marketplace-purchase-cancelled" + "$ref": "#/components/schemas/webhook-label-edited" } } } @@ -88569,18 +88917,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 +88997,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-marketplace-purchase-changed" + "$ref": "#/components/schemas/webhook-marketplace-purchase-cancelled" } } } @@ -88667,11 +89017,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 +89088,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-marketplace-purchase-pending-change" + "$ref": "#/components/schemas/webhook-marketplace-purchase-changed" } } } @@ -88758,11 +89108,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 +89179,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-marketplace-purchase-pending-change-cancelled" + "$ref": "#/components/schemas/webhook-marketplace-purchase-pending-change" } } } @@ -88849,11 +89199,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 +89270,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-marketplace-purchase-purchased" + "$ref": "#/components/schemas/webhook-marketplace-purchase-pending-change-cancelled" } } } @@ -88940,13 +89290,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 +89318,7 @@ { "name": "X-Github-Event", "in": "header", - "example": "member", + "example": "marketplace_purchase", "schema": { "type": "string" } @@ -89011,7 +89361,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-member-added" + "$ref": "#/components/schemas/webhook-marketplace-purchase-purchased" } } } @@ -89024,21 +89374,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 +89452,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-member-edited" + "$ref": "#/components/schemas/webhook-member-added" } } } @@ -89128,11 +89475,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 +89546,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-member-removed" + "$ref": "#/components/schemas/webhook-member-edited" } } } @@ -89222,13 +89569,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 +89597,7 @@ { "name": "X-Github-Event", "in": "header", - "example": "membership", + "example": "member", "schema": { "type": "string" } @@ -89293,7 +89640,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-membership-added" + "$ref": "#/components/schemas/webhook-member-removed" } } } @@ -89306,20 +89653,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 +89734,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-membership-removed" + "$ref": "#/components/schemas/webhook-membership-added" } } } @@ -89408,16 +89756,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 +89784,7 @@ { "name": "X-Github-Event", "in": "header", - "example": "merge_group", + "example": "membership", "schema": { "type": "string" } @@ -89482,7 +89827,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-merge-group-checks-requested" + "$ref": "#/components/schemas/webhook-membership-removed" } } } @@ -89495,18 +89840,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 +89923,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-merge-group-destroyed" + "$ref": "#/components/schemas/webhook-merge-group-checks-requested" } } } @@ -89596,201 +89943,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 +89974,7 @@ { "name": "X-Github-Event", "in": "header", - "example": "milestone", + "example": "merge_group", "schema": { "type": "string" } @@ -89855,7 +90017,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-milestone-created" + "$ref": "#/components/schemas/webhook-merge-group-destroyed" } } } @@ -89868,22 +90030,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 +90065,7 @@ { "name": "X-Github-Event", "in": "header", - "example": "milestone", + "example": "meta", "schema": { "type": "string" } @@ -89948,7 +90108,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-milestone-deleted" + "$ref": "#/components/schemas/webhook-meta-deleted" } } } @@ -89961,8 +90121,10 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "milestone", + "subcategory": "meta", "supported-webhook-types": [ + "marketplace", + "business", "repository", "organization", "app" @@ -89970,11 +90132,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 +90203,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-milestone-edited" + "$ref": "#/components/schemas/webhook-milestone-closed" } } } @@ -90063,11 +90225,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 +90296,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 +90309,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 +90346,7 @@ { "name": "X-Github-Event", "in": "header", - "example": "org_block", + "example": "milestone", "schema": { "type": "string" } @@ -90320,7 +90389,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-org-block-unblocked" + "$ref": "#/components/schemas/webhook-milestone-deleted" } } } @@ -90333,22 +90402,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 +90439,7 @@ { "name": "X-Github-Event", "in": "header", - "example": "organization", + "example": "milestone", "schema": { "type": "string" } @@ -90413,7 +90482,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-organization-deleted" + "$ref": "#/components/schemas/webhook-milestone-edited" } } } @@ -90426,7 +90495,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 +90690,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 +90718,7 @@ { "name": "X-Github-Event", "in": "header", - "example": "organization", + "example": "org_block", "schema": { "type": "string" } @@ -90506,7 +90761,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-organization-member-added" + "$ref": "#/components/schemas/webhook-org-block-unblocked" } } } @@ -90519,7 +90774,7 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "organization", + "subcategory": "org_block", "supported-webhook-types": [ "organization", "business", @@ -90528,11 +90783,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 +90854,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-organization-member-invited" + "$ref": "#/components/schemas/webhook-organization-deleted" } } } @@ -90621,11 +90876,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 +90947,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-organization-member-removed" + "$ref": "#/components/schemas/webhook-organization-member-added" } } } @@ -90714,11 +90969,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 +91040,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-organization-renamed" + "$ref": "#/components/schemas/webhook-organization-member-invited" } } } @@ -90807,13 +91062,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 +91090,7 @@ { "name": "X-Github-Event", "in": "header", - "example": "package", + "example": "organization", "schema": { "type": "string" } @@ -90878,7 +91133,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-package-published" + "$ref": "#/components/schemas/webhook-organization-member-removed" } } } @@ -90891,21 +91146,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 +91183,7 @@ { "name": "X-Github-Event", "in": "header", - "example": "package", + "example": "organization", "schema": { "type": "string" } @@ -90970,7 +91226,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-package-updated" + "$ref": "#/components/schemas/webhook-organization-renamed" } } } @@ -90983,20 +91239,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 +91276,7 @@ { "name": "X-Github-Event", "in": "header", - "example": "page_build", + "example": "package", "schema": { "type": "string" } @@ -91061,7 +91319,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-page-build" + "$ref": "#/components/schemas/webhook-package-published" } } } @@ -91074,22 +91332,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 +91357,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 +91398,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 +91456,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 +91475,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 +91502,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-personal-access-token-request-approved" + "$ref": "#/components/schemas/webhook-page-build" } } } @@ -91167,19 +91515,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 +91595,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 +91616,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 +91687,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 +91708,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 +91779,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 +91800,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 +91818,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 +91828,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 +91871,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 +91883,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 +109009,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", @@ -114103,6 +114867,10 @@ "items": { "type": "string" } + }, + "use_immutable_subject": { + "description": "Whether to opt in to the immutable OIDC subject claim format for the organization. When `true`, new OIDC tokens will use a stable, repository-ID-based `sub` claim instead of the name-based format.", + "type": "boolean" } }, "required": [ @@ -116365,329 +117133,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.", @@ -126438,6 +126883,14 @@ "items": { "type": "string" } + }, + "use_immutable_subject": { + "description": "Whether the repository has opted in to the immutable OIDC subject claim format. When `true`, OIDC tokens will use a stable, repository-ID-based `sub` claim. If not set at the repository level, falls back to the organization-level setting.", + "type": "boolean" + }, + "sub_claim_prefix": { + "description": "The current `sub` claim prefix for this repository.", + "type": "string" } }, "required": [ @@ -184295,6 +184748,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 +291676,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 +296202,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..b65085eb9b 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 @@ -7602,6 +7775,12 @@ paths: type: array items: type: string + use_immutable_subject: + description: Whether to opt in to the immutable OIDC subject claim + format for the organization. When `true`, new OIDC tokens will + use a stable, repository-ID-based `sub` claim instead of the name-based + format. + type: boolean examples: default: "$ref": "#/components/examples/oidc-custom-sub" @@ -12296,6 +12475,8 @@ paths: schema: type: object additionalProperties: false + required: + - selected_repository_ids properties: selected_repository_ids: type: array @@ -24587,6 +24768,11 @@ paths: type: array items: type: string + use_immutable_subject: + description: Whether to opt in to the immutable OIDC subject claim + format for this repository. When `true`, OIDC tokens will use + a stable, repository-ID-based `sub` claim. + type: boolean examples: default: value: @@ -27135,6 +27321,9 @@ paths: path: "/responses/204" - op: remove path: "/requestBody/content/application~1json/schema/properties/return_run_details" + - op: replace + path: "/responses/200/description" + value: Response including the workflow run ID and URLs. version: '2026-03-10' "/repos/{owner}/{repo}/actions/workflows/{workflow_id}/enable": put: @@ -47088,6 +47277,14 @@ paths: "$ref": "#/components/schemas/secret-scanning-alert-resolution-comment" assignee: "$ref": "#/components/schemas/secret-scanning-alert-assignee" + validity: + type: string + nullable: true + enum: + - active + - inactive + description: Sets the validity of the secret scanning alert. Can + be `active`, `inactive`, or `null` to clear the override. anyOf: - required: - state @@ -47126,7 +47323,8 @@ paths: repository, or the resource is not found '422': description: State does not match the resolution or resolution comment, - or assignee does not have write access to the repository + assignee does not have write access to the repository, or the requested + validity change could not be applied to this alert '503': "$ref": "#/components/responses/service_unavailable" x-github: @@ -62930,7 +63128,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 +63136,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 +63181,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 +63194,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 +63202,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 +63247,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 +63260,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 +63268,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 +63313,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 +63326,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 +63334,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 +63380,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 +63393,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 +63401,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 +63446,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 +63459,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 +63467,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 +63513,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 +63526,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 +63534,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 +63580,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 +63593,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 +63601,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 +63646,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 +63659,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 +63667,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 +63713,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 +63726,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 +63734,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 +63779,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 +63792,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 +63800,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 +63845,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 +63858,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 +63866,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 +63911,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 +63924,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 +63932,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 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: @@ -63781,7 +63978,7 @@ x-webhooks: content: application/json: schema: - "$ref": "#/components/schemas/webhook-issues-untyped" + "$ref": "#/components/schemas/webhook-issues-unlocked" responses: '200': description: Return a 200 status to indicate that the data was received @@ -63794,18 +63991,19 @@ x-webhooks: - repository - organization - app - 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. + 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. - If 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. + 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 "Metadata" repository permission. - description: A label was created. - operationId: label/created + 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#label + url: https://docs.github.com/webhooks/webhook-events-and-payloads#issues parameters: - name: User-Agent in: header @@ -63819,7 +64017,7 @@ x-webhooks: type: string - name: X-Github-Event in: header - example: label + example: issues schema: type: string - name: X-Github-Hook-Installation-Target-Id @@ -63847,7 +64045,7 @@ x-webhooks: content: application/json: schema: - "$ref": "#/components/schemas/webhook-label-created" + "$ref": "#/components/schemas/webhook-issues-unpinned" responses: '200': description: Return a 200 status to indicate that the data was received @@ -63855,23 +64053,23 @@ x-webhooks: x-github: githubCloudOnly: false category: webhooks - subcategory: label + subcategory: issues supported-webhook-types: - repository - organization - app - label-deleted: + issues-untyped: 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. + 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. - If 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. + 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 "Metadata" repository permission. - description: A label was deleted. - operationId: label/deleted + 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#label + url: https://docs.github.com/webhooks/webhook-events-and-payloads#issues parameters: - name: User-Agent in: header @@ -63885,7 +64083,7 @@ x-webhooks: type: string - name: X-Github-Event in: header - example: label + example: issues schema: type: string - name: X-Github-Hook-Installation-Target-Id @@ -63913,7 +64111,7 @@ x-webhooks: content: application/json: schema: - "$ref": "#/components/schemas/webhook-label-deleted" + "$ref": "#/components/schemas/webhook-issues-untyped" responses: '200': description: Return a 200 status to indicate that the data was received @@ -63921,12 +64119,12 @@ x-webhooks: x-github: githubCloudOnly: false category: webhooks - subcategory: label + subcategory: issues supported-webhook-types: - repository - organization - app - label-edited: + 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. @@ -63934,8 +64132,8 @@ x-webhooks: If 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. To 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 created. + operationId: label/created externalDocs: url: https://docs.github.com/webhooks/webhook-events-and-payloads#label parameters: @@ -63979,7 +64177,7 @@ x-webhooks: content: application/json: schema: - "$ref": "#/components/schemas/webhook-label-edited" + "$ref": "#/components/schemas/webhook-label-created" responses: '200': description: Return a 200 status to indicate that the data was received @@ -63992,19 +64190,18 @@ x-webhooks: - repository - organization - app - marketplace-purchase-cancelled: + label-deleted: post: - summary: This event occurs when there is activity relating to a GitHub Marketplace - purchase. For more information, see "[GitHub Marketplace](https://docs.github.com/marketplace)." - For information about the APIs to manage GitHub Marketplace listings, see - [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#marketplacelisting) - or "[GitHub Marketplace](https://docs.github.com/rest/apps/marketplace)" in - the REST API documentation. - description: Someone cancelled a 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. + + If 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. + + To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. + description: A label was deleted. + operationId: label/deleted externalDocs: - url: https://docs.github.com/webhooks/webhook-events-and-payloads#marketplace_purchase + url: https://docs.github.com/webhooks/webhook-events-and-payloads#label parameters: - name: User-Agent in: header @@ -64018,7 +64215,7 @@ x-webhooks: type: string - name: X-Github-Event in: header - example: marketplace_purchase + example: label schema: type: string - name: X-Github-Hook-Installation-Target-Id @@ -64046,7 +64243,7 @@ x-webhooks: content: application/json: schema: - "$ref": "#/components/schemas/webhook-marketplace-purchase-cancelled" + "$ref": "#/components/schemas/webhook-label-deleted" responses: '200': description: Return a 200 status to indicate that the data was received @@ -64054,22 +64251,23 @@ x-webhooks: x-github: githubCloudOnly: false category: webhooks - subcategory: marketplace_purchase + subcategory: label supported-webhook-types: - - marketplace - marketplace-purchase-changed: + - repository + - organization + - app + 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 upgraded or downgraded a GitHub Marketplace plan, and the - last billing cycle has ended. The change will take effect on the account immediately. - operationId: marketplace-purchase/changed + summary: |- + This event occurs when there is activity relating to 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. + + If 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. + + To 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: - name: User-Agent in: header @@ -64083,7 +64281,7 @@ x-webhooks: type: string - name: X-Github-Event in: header - example: marketplace_purchase + example: label schema: type: string - name: X-Github-Hook-Installation-Target-Id @@ -64111,7 +64309,7 @@ x-webhooks: content: application/json: schema: - "$ref": "#/components/schemas/webhook-marketplace-purchase-changed" + "$ref": "#/components/schemas/webhook-label-edited" responses: '200': description: Return a 200 status to indicate that the data was received @@ -64119,10 +64317,12 @@ x-webhooks: x-github: githubCloudOnly: false category: webhooks - subcategory: marketplace_purchase + subcategory: label supported-webhook-types: - - marketplace - marketplace-purchase-pending-change: + - repository + - organization + - app + 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)." @@ -64130,11 +64330,9 @@ x-webhooks: [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 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 parameters: @@ -64178,7 +64376,7 @@ x-webhooks: content: application/json: schema: - "$ref": "#/components/schemas/webhook-marketplace-purchase-pending-change" + "$ref": "#/components/schemas/webhook-marketplace-purchase-cancelled" responses: '200': description: Return a 200 status to indicate that the data was received @@ -64189,7 +64387,7 @@ x-webhooks: subcategory: marketplace_purchase supported-webhook-types: - marketplace - marketplace-purchase-pending-change-cancelled: + 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)." @@ -64197,10 +64395,9 @@ x-webhooks: [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 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 parameters: @@ -64244,7 +64441,7 @@ x-webhooks: content: application/json: schema: - "$ref": "#/components/schemas/webhook-marketplace-purchase-pending-change-cancelled" + "$ref": "#/components/schemas/webhook-marketplace-purchase-changed" responses: '200': description: Return a 200 status to indicate that the data was received @@ -64255,7 +64452,7 @@ x-webhooks: subcategory: marketplace_purchase supported-webhook-types: - marketplace - marketplace-purchase-purchased: + 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)." @@ -64263,9 +64460,11 @@ x-webhooks: [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 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 parameters: @@ -64309,7 +64508,7 @@ x-webhooks: content: application/json: schema: - "$ref": "#/components/schemas/webhook-marketplace-purchase-purchased" + "$ref": "#/components/schemas/webhook-marketplace-purchase-pending-change" responses: '200': description: Return a 200 status to indicate that the data was received @@ -64320,16 +64519,20 @@ x-webhooks: subcategory: marketplace_purchase supported-webhook-types: - marketplace - member-added: + marketplace-purchase-pending-change-cancelled: post: - summary: |- - This event occurs when there is activity relating to collaborators in a repository. For more information, see "[Adding outside collaborators to repositories in your organization](https://docs.github.com/organizations/managing-user-access-to-your-organizations-repositories/adding-outside-collaborators-to-repositories-in-your-organization)." For more information about the API to manage repository collaborators, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#repositorycollaboratorconnection) or "[Collaborators](https://docs.github.com/rest/collaborators/collaborators)" in the REST API documentation. - - To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. - description: A GitHub user accepted an invitation to a repository. - operationId: member/added + summary: This event occurs when there is activity relating to a GitHub Marketplace + purchase. For more information, see "[GitHub Marketplace](https://docs.github.com/marketplace)." + For information about the APIs to manage GitHub Marketplace listings, see + [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#marketplacelisting) + or "[GitHub Marketplace](https://docs.github.com/rest/apps/marketplace)" in + the REST API documentation. + description: Someone cancelled a 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#member + url: https://docs.github.com/webhooks/webhook-events-and-payloads#marketplace_purchase parameters: - name: User-Agent in: header @@ -64343,7 +64546,7 @@ x-webhooks: type: string - name: X-Github-Event in: header - example: member + example: marketplace_purchase schema: type: string - name: X-Github-Hook-Installation-Target-Id @@ -64371,7 +64574,7 @@ x-webhooks: content: application/json: schema: - "$ref": "#/components/schemas/webhook-member-added" + "$ref": "#/components/schemas/webhook-marketplace-purchase-pending-change-cancelled" responses: '200': description: Return a 200 status to indicate that the data was received @@ -64379,22 +64582,22 @@ x-webhooks: x-github: githubCloudOnly: false category: webhooks - subcategory: member + subcategory: marketplace_purchase supported-webhook-types: - - business - - repository - - organization - - app - member-edited: + - marketplace + 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. - - To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. - description: Permissions were changed for a collaborator on a repository. - operationId: member/edited + summary: This event occurs when there is activity relating to a GitHub Marketplace + purchase. For more information, see "[GitHub Marketplace](https://docs.github.com/marketplace)." + For information about the APIs to manage GitHub Marketplace listings, see + [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#marketplacelisting) + or "[GitHub Marketplace](https://docs.github.com/rest/apps/marketplace)" in + the REST API documentation. + description: Someone 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: - name: User-Agent in: header @@ -64408,7 +64611,7 @@ x-webhooks: type: string - name: X-Github-Event in: header - example: member + example: marketplace_purchase schema: type: string - name: X-Github-Hook-Installation-Target-Id @@ -64436,7 +64639,7 @@ x-webhooks: content: application/json: schema: - "$ref": "#/components/schemas/webhook-member-edited" + "$ref": "#/components/schemas/webhook-marketplace-purchase-purchased" responses: '200': description: Return a 200 status to indicate that the data was received @@ -64444,20 +64647,17 @@ x-webhooks: x-github: githubCloudOnly: false category: webhooks - subcategory: member + subcategory: marketplace_purchase supported-webhook-types: - - business - - repository - - organization - - app - member-removed: + - marketplace + 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. To 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: A GitHub user accepted an invitation to a repository. + operationId: member/added externalDocs: url: https://docs.github.com/webhooks/webhook-events-and-payloads#member parameters: @@ -64501,7 +64701,7 @@ x-webhooks: content: application/json: schema: - "$ref": "#/components/schemas/webhook-member-removed" + "$ref": "#/components/schemas/webhook-member-added" responses: '200': description: Return a 200 status to indicate that the data was received @@ -64515,16 +64715,16 @@ x-webhooks: - repository - organization - app - membership-added: + member-edited: 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. + 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. To 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 + description: Permissions were changed for a collaborator on a repository. + operationId: member/edited externalDocs: - url: https://docs.github.com/webhooks/webhook-events-and-payloads#membership + url: https://docs.github.com/webhooks/webhook-events-and-payloads#member parameters: - name: User-Agent in: header @@ -64538,7 +64738,7 @@ x-webhooks: type: string - name: X-Github-Event in: header - example: membership + example: member schema: type: string - name: X-Github-Hook-Installation-Target-Id @@ -64566,7 +64766,7 @@ x-webhooks: content: application/json: schema: - "$ref": "#/components/schemas/webhook-membership-added" + "$ref": "#/components/schemas/webhook-member-edited" responses: '200': description: Return a 200 status to indicate that the data was received @@ -64574,21 +64774,22 @@ x-webhooks: x-github: githubCloudOnly: false category: webhooks - subcategory: membership + subcategory: member supported-webhook-types: - - organization - business + - repository + - organization - app - membership-removed: + 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. + 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. To 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: 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: - name: User-Agent in: header @@ -64602,7 +64803,136 @@ x-webhooks: type: string - name: X-Github-Event in: header - example: membership + example: member + schema: + type: string + - name: X-Github-Hook-Installation-Target-Id + in: header + example: 123123 + schema: + type: string + - name: X-Github-Hook-Installation-Target-Type + in: header + example: repository + schema: + type: string + - name: X-GitHub-Delivery + 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-member-removed" + responses: + '200': + description: Return a 200 status to indicate that the data was received + successfully + x-github: + githubCloudOnly: false + category: webhooks + subcategory: member + supported-webhook-types: + - business + - repository + - organization + - app + membership-added: + post: + summary: |- + This event occurs when there is activity relating to team membership. For more information, see "[About teams](https://docs.github.com/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. + + To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. + description: An organization member was added to a team. + operationId: membership/added + externalDocs: + url: https://docs.github.com/webhooks/webhook-events-and-payloads#membership + parameters: + - name: User-Agent + in: header + example: GitHub-Hookshot/123abc + schema: + type: string + - name: X-Github-Hook-Id + in: header + example: 12312312 + schema: + type: string + - name: X-Github-Event + in: header + example: membership + schema: + type: string + - name: X-Github-Hook-Installation-Target-Id + in: header + example: 123123 + schema: + type: string + - name: X-Github-Hook-Installation-Target-Type + in: header + example: repository + schema: + type: string + - name: X-GitHub-Delivery + 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-membership-added" + responses: + '200': + description: Return a 200 status to indicate that the data was received + successfully + x-github: + githubCloudOnly: false + category: webhooks + subcategory: membership + supported-webhook-types: + - organization + - business + - app + membership-removed: + post: + summary: |- + This event occurs when there is activity relating to team membership. For more information, see "[About teams](https://docs.github.com/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. + + To 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#membership + parameters: + - name: User-Agent + in: header + example: GitHub-Hookshot/123abc + schema: + type: string + - name: X-Github-Hook-Id + in: header + example: 12312312 + schema: + type: string + - name: X-Github-Event + in: header + example: membership schema: type: string - name: X-Github-Hook-Installation-Target-Id @@ -78829,6 +79159,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 @@ -83076,6 +83698,11 @@ components: type: array items: type: string + use_immutable_subject: + description: Whether to opt in to the immutable OIDC subject claim format + for the organization. When `true`, new OIDC tokens will use a stable, + repository-ID-based `sub` claim instead of the name-based format. + type: boolean required: - include_claim_keys empty-object: @@ -84946,298 +85573,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. @@ -92931,6 +93266,15 @@ components: type: array items: type: string + use_immutable_subject: + description: Whether the repository has opted in to the immutable OIDC subject + claim format. When `true`, OIDC tokens will use a stable, repository-ID-based + `sub` claim. If not set at the repository level, falls back to the organization-level + setting. + type: boolean + sub_claim_prefix: + description: The current `sub` claim prefix for this repository. + type: string required: - use_default actions-secret: @@ -136338,6 +136682,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 +218055,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 +221889,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..5cf6a211f6 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", @@ -77633,6 +78532,10 @@ "items": { "type": "string" } + }, + "use_immutable_subject": { + "description": "Whether to opt in to the immutable OIDC subject claim format for the organization. When `true`, new OIDC tokens will use a stable, repository-ID-based `sub` claim instead of the name-based format.", + "type": "boolean" } }, "required": [ @@ -77696,6 +78599,10 @@ "items": { "type": "string" } + }, + "use_immutable_subject": { + "description": "Whether to opt in to the immutable OIDC subject claim format for the organization. When `true`, new OIDC tokens will use a stable, repository-ID-based `sub` claim instead of the name-based format.", + "type": "boolean" } } }, @@ -100203,6 +101110,9 @@ "schema": { "type": "object", "additionalProperties": false, + "required": [ + "selected_repository_ids" + ], "properties": { "selected_repository_ids": { "type": "array", @@ -231354,6 +232264,14 @@ "items": { "type": "string" } + }, + "use_immutable_subject": { + "description": "Whether the repository has opted in to the immutable OIDC subject claim format. When `true`, OIDC tokens will use a stable, repository-ID-based `sub` claim. If not set at the repository level, falls back to the organization-level setting.", + "type": "boolean" + }, + "sub_claim_prefix": { + "description": "The current `sub` claim prefix for this repository.", + "type": "string" } }, "required": [ @@ -231521,6 +232439,10 @@ "items": { "type": "string" } + }, + "use_immutable_subject": { + "description": "Whether to opt in to the immutable OIDC subject claim format for this repository. When `true`, OIDC tokens will use a stable, repository-ID-based `sub` claim.", + "type": "boolean" } } }, @@ -530447,6 +531369,15 @@ "description": "The username of the user to assign to the alert. Set to `null` to unassign the alert.", "type": "string", "nullable": true + }, + "validity": { + "type": "string", + "nullable": true, + "enum": [ + "active", + "inactive" + ], + "description": "Sets the validity of the secret scanning alert. Can be `active`, `inactive`, or `null` to clear the override." } }, "anyOf": [ @@ -531694,7 +532625,7 @@ "description": "Repository is public, or secret scanning is disabled for the repository, or the resource is not found" }, "422": { - "description": "State does not match the resolution or resolution comment, or assignee does not have write access to the repository" + "description": "State does not match the resolution or resolution comment, assignee does not have write access to the repository, or the requested validity change could not be applied to this alert" }, "503": { "description": "Service unavailable", @@ -940496,567 +941427,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 +951020,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 +951091,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 +951314,8 @@ "enum": [ "Bot", "User", - "Organization" + "Organization", + "Mannequin" ] }, "url": { @@ -942876,15 +951412,13 @@ "enum": [ "Bot", "User", - "Organization" + "Organization", + "Mannequin" ] }, "url": { "type": "string", "format": "uri" - }, - "user_view_type": { - "type": "string" } }, "required": [ @@ -943092,7 +951626,8 @@ "enum": [ "Bot", "User", - "Organization" + "Organization", + "Mannequin" ] }, "url": { @@ -943250,6 +951785,8 @@ "watch", "workflow_dispatch", "workflow_run", + "security_and_analysis", + "pull_request_review_thread", "reminder" ] } @@ -943497,7 +952034,8 @@ "type": "string", "enum": [ "read", - "write" + "write", + "admin" ] }, "organization_secrets": { @@ -944561,10 +953099,6 @@ "type": "string", "format": "uri" }, - "title": { - "description": "Title of the issue", - "type": "string" - }, "type": { "title": "Issue Type", "description": "The type of issue.", @@ -944625,6 +953159,10 @@ "description" ] }, + "title": { + "description": "Title of the issue", + "type": "string" + }, "updated_at": { "type": "string", "format": "date-time" @@ -944714,7 +953252,8 @@ "enum": [ "Bot", "User", - "Organization" + "Organization", + "Mannequin" ] }, "url": { @@ -944755,6 +953294,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 +954766,7 @@ }, "required": [ "action", + "changes", "issue", "repository", "sender" @@ -946211,11 +954792,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 +954863,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 +954965,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 +954981,6 @@ "title": "User", "type": "object", "nullable": true, - "required": [ - "login", - "id" - ], "properties": { "avatar_url": { "type": "string", @@ -946509,8 +955063,15 @@ "url": { "type": "string", "format": "uri" + }, + "user_view_type": { + "type": "string" } - } + }, + "required": [ + "login", + "id" + ] }, "assignees": { "type": "array", @@ -946518,10 +955079,6 @@ "title": "User", "type": "object", "nullable": true, - "required": [ - "login", - "id" - ], "properties": { "avatar_url": { "type": "string", @@ -946604,8 +955161,15 @@ "url": { "type": "string", "format": "uri" + }, + "user_view_type": { + "type": "string" } - } + }, + "required": [ + "login", + "id" + ] } }, "author_association": { @@ -946664,16 +955228,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 +955255,16 @@ "type": "string", "format": "uri" } - } + }, + "required": [ + "id", + "node_id", + "url", + "name", + "color", + "default", + "description" + ] } }, "labels_url": { @@ -946716,24 +955279,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 +955296,6 @@ "title": "User", "type": "object", "nullable": true, - "required": [ - "login", - "id" - ], "properties": { "avatar_url": { "type": "string", @@ -946841,7 +955382,11 @@ "user_view_type": { "type": "string" } - } + }, + "required": [ + "login", + "id" + ] }, "description": { "type": "string", @@ -946893,7 +955438,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 +955469,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 +955529,9 @@ "team_add", "watch", "workflow_dispatch", - "workflow_run" + "workflow_run", + "reminder", + "pull_request_review_thread" ] } }, @@ -947006,10 +955560,6 @@ "title": "User", "type": "object", "nullable": true, - "required": [ - "login", - "id" - ], "properties": { "avatar_url": { "type": "string", @@ -947095,7 +955645,11 @@ "user_view_type": { "type": "string" } - } + }, + "required": [ + "login", + "id" + ] }, "permissions": { "description": "The set of permissions for the GitHub app", @@ -947351,7 +955905,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 +955947,6 @@ "reactions": { "title": "Reactions", "type": "object", - "required": [ - "url", - "total_count", - "+1", - "-1", - "laugh", - "confused", - "heart", - "hooray", - "eyes", - "rocket" - ], "properties": { "+1": { "type": "integer" @@ -947426,7 +955979,19 @@ "type": "string", "format": "uri" } - } + }, + "required": [ + "url", + "total_count", + "+1", + "-1", + "laugh", + "confused", + "heart", + "hooray", + "eyes", + "rocket" + ] }, "repository_url": { "type": "string", @@ -948355,10 +956920,6 @@ "title": "User", "type": "object", "nullable": true, - "required": [ - "login", - "id" - ], "properties": { "avatar_url": { "type": "string", @@ -948446,193 +957007,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 +958616,7 @@ "required": [ "action", "issue", + "issue_field", "repository", "sender" ] @@ -950089,11 +958641,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 +958712,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 +959010,9 @@ "url": { "type": "string", "format": "uri" + }, + "user_view_type": { + "type": "string" } }, "required": [ @@ -950854,9 +959379,8 @@ "watch", "workflow_dispatch", "workflow_run", - "security_and_analysis", - "pull_request_review_thread", - "reminder" + "reminder", + "pull_request_review_thread" ] } }, @@ -952168,6 +960692,10 @@ "type": "string", "format": "uri" }, + "title": { + "description": "Title of the issue", + "type": "string" + }, "type": { "title": "Issue Type", "description": "The type of issue.", @@ -952228,10 +960756,6 @@ "description" ] }, - "title": { - "description": "Title of the issue", - "type": "string" - }, "updated_at": { "type": "string", "format": "date-time" @@ -952363,45 +960887,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 +962398,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..5fd0533d1d 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 @@ -21140,10 +21400,16 @@ paths: type: array items: type: string + use_immutable_subject: + description: Whether to opt in to the immutable OIDC subject claim + format for the organization. When `true`, new OIDC tokens will + use a stable, repository-ID-based `sub` claim instead of the + name-based format. + type: boolean required: - include_claim_keys examples: - default: &142 + default: &144 value: include_claim_keys: - repo @@ -21165,7 +21431,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: @@ -21181,14 +21447,20 @@ paths: type: array items: type: string + use_immutable_subject: + description: Whether to opt in to the immutable OIDC subject claim + format for the organization. When `true`, new OIDC tokens will + use a stable, repository-ID-based `sub` claim instead of the name-based + format. + type: boolean 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 +21490,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 +21499,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 +21512,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 +21520,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 +21556,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 +21567,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 +21597,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 +21640,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 +21682,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 +21702,7 @@ paths: required: - approval_policy examples: - default: &365 + default: &367 value: approval_policy: first_time_contributors '404': *6 @@ -21451,7 +21723,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 +21733,7 @@ paths: required: true content: application/json: - schema: *146 + schema: *148 examples: default: summary: Set approval policy to first time contributors @@ -21483,13 +21755,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 +21787,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 +21810,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 +21838,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 +21868,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 +21886,9 @@ paths: type: number repositories: type: array - items: *80 + items: *82 examples: - default: &151 + default: &153 value: total_count: 1 repositories: @@ -21756,7 +22028,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 +22072,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 +22101,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 +22125,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 +22153,7 @@ paths: items: type: string examples: - default: &150 + default: &152 value: github_owned_allowed: true verified_allowed: false @@ -21906,7 +22178,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 +22186,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 +22208,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 +22256,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 +22303,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 +22318,9 @@ paths: type: integer repositories: type: array - items: *80 + items: *82 examples: - default: *151 + default: *153 '403': *29 '404': *6 x-github: @@ -22068,7 +22340,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 +22388,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 +22415,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 +22444,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 +22468,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 +22493,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 +22501,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 +22527,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 +22552,7 @@ paths: type: number runner_groups: type: array - items: &155 + items: &157 type: object properties: id: @@ -22396,7 +22668,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 +22740,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 +22777,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 +22790,7 @@ paths: description: Response content: application/json: - schema: *155 + schema: *157 examples: default: value: @@ -22554,8 +22826,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 +22881,9 @@ paths: description: Response content: application/json: - schema: *155 + schema: *157 examples: - default: *157 + default: *159 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -22630,8 +22902,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 +22926,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 +22945,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 +22969,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 +22988,9 @@ paths: type: number repositories: type: array - items: *159 + items: *161 examples: - default: &196 + default: &198 value: total_count: 1 repositories: @@ -22970,8 +23242,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 +23287,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 +23311,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 +23336,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 +23355,7 @@ paths: type: number runners: type: array - items: &161 + items: &163 title: Self hosted runners description: A self hosted runner type: object @@ -23112,7 +23384,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 +23414,7 @@ paths: - busy - labels examples: - default: &162 + default: &164 value: total_count: 2 runners: @@ -23182,7 +23454,7 @@ paths: name: no-gpu type: custom headers: - Link: *68 + Link: *70 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -23201,8 +23473,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 +23518,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 +23548,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 +23580,7 @@ paths: in: query schema: type: string - - *76 + - *78 - *17 - *19 responses: @@ -23326,11 +23598,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 +23624,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 +23632,7 @@ paths: application/json: schema: type: array - items: &370 + items: &372 title: Runner Application description: Runner Application type: object @@ -23385,7 +23657,7 @@ paths: - download_url - filename examples: - default: &371 + default: &373 value: - os: osx architecture: x64 @@ -23428,7 +23700,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 +23743,7 @@ paths: - no-gpu work_folder: _work responses: - '201': &372 + '201': &374 description: Response content: application/json: @@ -23481,7 +23753,7 @@ paths: - runner - encoded_jit_config properties: - runner: *161 + runner: *163 encoded_jit_config: type: string description: The base64 encoded runner configuration. @@ -23538,13 +23810,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 +23838,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 +23854,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 +23885,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 +23918,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 +23968,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 +23995,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 +24012,7 @@ paths: type: integer labels: type: array - items: *164 + items: *166 examples: default: value: @@ -23779,8 +24051,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 +24076,7 @@ paths: - gpu - accelerated responses: - '200': *165 + '200': *167 '404': *6 '422': *7 x-github: @@ -23828,8 +24100,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 +24126,7 @@ paths: - gpu - accelerated responses: - '200': *165 + '200': *167 '404': *6 '422': *7 x-github: @@ -23878,10 +24150,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 +24167,7 @@ paths: type: integer labels: type: array - items: *164 + items: *166 examples: default: value: @@ -23936,9 +24208,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 +24218,7 @@ paths: schema: type: string responses: - '200': *165 + '200': *167 '404': *6 '422': *7 x-github: @@ -23971,7 +24243,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 +24261,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 +24311,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 +24334,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 +24369,7 @@ paths: - key_id - key examples: - default: &390 + default: &392 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -24122,8 +24394,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 +24407,7 @@ paths: description: Response content: application/json: - schema: *166 + schema: *168 examples: default: value: @@ -24165,8 +24437,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 +24495,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *168 + schema: *170 examples: default: value: @@ -24249,8 +24521,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 +24548,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 +24567,9 @@ paths: type: integer repositories: type: array - items: *159 + items: *161 examples: - default: &171 + default: &173 value: total_count: 1 repositories: @@ -24389,8 +24661,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 +24714,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 +24748,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 +24781,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 +24806,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 +24870,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 +24891,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 +24939,7 @@ paths: description: Response when creating a variable content: application/json: - schema: *168 + schema: *170 examples: default: value: @@ -24692,8 +24964,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 +24977,7 @@ paths: description: Response content: application/json: - schema: *169 + schema: *171 examples: default: value: @@ -24735,8 +25007,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 +25070,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 +25097,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 +25116,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 +25144,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 +25194,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 +25229,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 +25271,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 +25394,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 +25440,7 @@ paths: required: - total_count examples: - default: &173 + default: &175 value: total_count: 1 deployment_records: @@ -25205,7 +25477,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 +25620,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 +25671,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 +25834,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 +25859,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 +25881,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 +25966,7 @@ paths: - *17 - *47 - *48 - - *76 + - *78 requestBody: required: true content: @@ -25718,12 +25990,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 +26053,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 +26162,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 +26227,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 +26262,7 @@ paths: - *17 - *47 - *48 - - *76 + - *78 - name: predicate_type description: |- Optional filter for fetching attestations with a given predicate type. @@ -26038,7 +26310,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 +26348,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 +26403,7 @@ paths: initiator: type: string examples: - default: &403 + default: &405 value: attestations: - bundle: @@ -26238,7 +26510,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 +26522,7 @@ paths: type: array items: *4 examples: - default: *71 + default: *73 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -26269,8 +26541,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 +26567,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 +26588,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 +26614,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 +26622,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 +26648,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 +26679,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 +26754,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 +26826,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 +26869,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 +26964,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 +26990,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 +27089,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 +27140,7 @@ paths: schema: *3 '429': description: Too Many Requests - '503': *120 + '503': *122 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -26890,7 +27162,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 +27174,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 +27204,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 +27253,7 @@ paths: type: string format: uri nullable: true - state: *174 + state: *176 examples: default: value: @@ -26991,9 +27263,9 @@ paths: description: Response content: application/json: - schema: *175 + schema: *177 examples: - default: *176 + default: *178 '400': description: Bad Request content: @@ -27005,7 +27277,7 @@ paths: content: application/json: schema: *3 - '503': *120 + '503': *122 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -27026,7 +27298,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 +27309,7 @@ paths: '204': description: Deletion successful '404': *6 - '503': *120 + '503': *122 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -27059,18 +27331,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 +27350,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 +27365,7 @@ paths: be returned. in: query required: false - schema: &431 + schema: &433 type: string description: State of a code scanning alert. enum: @@ -27116,7 +27388,7 @@ paths: be returned. in: query required: false - schema: &432 + schema: &434 type: string description: Severity of a code scanning alert. enum: @@ -27145,18 +27417,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 +27436,7 @@ paths: - open - dismissed - fixed - fixed_at: *182 + fixed_at: *184 dismissed_by: title: Simple User description: A GitHub user. @@ -27172,8 +27444,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 +27454,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 +27513,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 +27562,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 +27583,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 +27848,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 +27872,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 +27978,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 +28222,7 @@ paths: application/json: schema: *49 examples: - default: *187 + default: *189 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -27972,15 +28244,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 +28278,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 +28286,8 @@ paths: schema: type: object additionalProperties: false + required: + - selected_repository_ids properties: selected_repository_ids: type: array @@ -28058,7 +28332,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 +28341,7 @@ paths: application/json: schema: *49 examples: - default: *187 + default: *189 '304': *37 '403': *29 '404': *6 @@ -28091,7 +28365,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 +28645,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 +28676,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 +28740,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 +28786,7 @@ paths: default: value: default_for_new_repos: all - configuration: *187 + configuration: *189 '403': *29 '404': *6 x-github: @@ -28536,7 +28810,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 +28839,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 +28869,7 @@ paths: parameters: - *17 - *19 - - *76 + - *78 responses: '200': description: Response @@ -28611,7 +28885,7 @@ paths: type: integer codespaces: type: array - items: &247 + items: &249 type: object title: Codespace description: A codespace. @@ -28636,12 +28910,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 +28957,7 @@ paths: - ready - in_progress nullable: true - required: &465 + required: &467 - name - display_name - operating_system @@ -28888,7 +29162,7 @@ paths: - pulls_url - recent_folders examples: - default: &248 + default: &250 value: total_count: 3 codespaces: @@ -29320,7 +29594,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 +29661,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 +29716,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 +29768,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 +29786,7 @@ paths: type: integer secrets: type: array - items: &192 + items: &194 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -29551,7 +29825,7 @@ paths: - updated_at - visibility examples: - default: &466 + default: &468 value: total_count: 2 secrets: @@ -29564,7 +29838,7 @@ paths: updated_at: '2020-01-11T11:59:22Z' visibility: all headers: - Link: *68 + Link: *70 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -29583,13 +29857,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 +29892,7 @@ paths: - key_id - key examples: - default: &468 + default: &470 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -29641,23 +29915,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 +29951,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 +30007,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *168 + schema: *170 examples: default: value: @@ -29759,8 +30033,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 +30059,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 +30078,9 @@ paths: type: integer repositories: type: array - items: *159 + items: *161 examples: - default: *171 + default: *173 '404': *6 x-github: githubCloudOnly: false @@ -29828,8 +30102,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 +30153,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 +30187,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 +30227,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 +30368,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 +30391,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 +30408,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 +30540,7 @@ paths: type: User site_admin: false headers: - Link: *68 + Link: *70 '500': *55 '401': *25 '403': *29 @@ -30300,7 +30574,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 +30652,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 +30732,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 +30809,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 +30887,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 +30952,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 +31007,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 +31022,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 +31056,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 +31112,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 +31146,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 +31186,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 +31239,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 +31330,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 +31362,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 +31669,7 @@ paths: - date additionalProperties: true examples: - default: &336 + default: &338 value: - date: '2024-06-24' total_active_users: 24 @@ -31497,7 +31771,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 +31802,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 +31841,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 +31878,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 +31917,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 +31950,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 +31986,7 @@ paths: enum: - patch - deployment - - *203 + - *205 - name: runtime_risk in: query description: |- @@ -31721,8 +31995,8 @@ paths: Can be: `critical-resource`, `internet-exposed`, `sensitive-data`, `lateral-movement` schema: type: string - - *204 - - *205 + - *206 + - *207 - *62 - *47 - *48 @@ -31734,9 +32008,9 @@ paths: application/json: schema: type: array - items: *206 + items: *208 examples: - default: *207 + default: *209 '304': *37 '400': *14 '403': *29 @@ -31762,7 +32036,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 +32059,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 +32092,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 +32158,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 +32206,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 +32224,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 +32274,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 +32295,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 +32318,7 @@ paths: - key_id - key examples: - default: &502 + default: &504 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -32162,14 +32341,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 +32376,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 +32434,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *168 + schema: *170 examples: default: value: @@ -32279,8 +32458,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 +32483,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 +32502,9 @@ paths: type: integer repositories: type: array - items: *159 + items: *161 examples: - default: *171 + default: *173 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -32346,8 +32525,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 +32576,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 +32608,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 +32639,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 +32647,7 @@ paths: application/json: schema: type: array - items: &260 + items: &262 title: Package description: A software package type: object @@ -32518,8 +32697,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 +32717,7 @@ paths: - created_at - updated_at examples: - default: &261 + default: &263 value: - id: 197 name: hello_docker @@ -32616,7 +32795,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 +32805,7 @@ paths: application/json: schema: type: array - items: *112 + items: *114 examples: 200-response: value: @@ -32698,7 +32877,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 +32887,7 @@ paths: application/json: schema: type: array - items: &236 + items: &238 title: Organization Invitation description: Organization Invitation type: object @@ -32755,7 +32934,7 @@ paths: - invitation_teams_url - node_id examples: - default: &237 + default: &239 value: - id: 1 login: monalisa @@ -32788,7 +32967,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 +32991,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 +33001,7 @@ paths: application/json: schema: type: array - items: &213 + items: &215 title: Org Hook description: Org Hook type: object @@ -32910,7 +33089,7 @@ paths: created_at: '2011-09-06T17:26:27Z' type: Organization headers: - Link: *68 + Link: *70 '404': *6 x-github: githubCloudOnly: false @@ -32933,7 +33112,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 +33172,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 +33221,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 +33235,9 @@ paths: description: Response content: application/json: - schema: *213 + schema: *215 examples: - default: *214 + default: *216 '404': *6 x-github: githubCloudOnly: false @@ -33085,8 +33264,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 +33310,7 @@ paths: description: Response content: application/json: - schema: *213 + schema: *215 examples: default: value: @@ -33172,8 +33351,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 +33379,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 +33410,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 +33461,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 +33473,9 @@ paths: application/json: schema: type: array - items: *218 + items: *220 examples: - default: *219 + default: *221 '400': *14 '422': *15 x-github: @@ -33321,17 +33500,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 +33535,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 +33565,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 +33588,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 +33602,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 +33617,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 +33710,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 +33793,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 +33817,7 @@ paths: type: integer format: int64 examples: - default: &225 + default: &227 value: total_request_count: 34225 rate_limited_request_count: 23 @@ -33658,24 +33837,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 +33872,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 +33901,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 +33917,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 +33933,7 @@ paths: type: integer format: int64 examples: - default: &231 + default: &233 value: - timestamp: '2024-09-11T15:00:00Z' total_request_count: 34225 @@ -33790,19 +33969,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 +33998,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 +34028,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 +34108,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 +34116,7 @@ paths: application/json: schema: *22 examples: - default: &541 + default: &543 value: id: 1 account: @@ -34006,7 +34185,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 +34255,7 @@ paths: suspended_at: suspended_by: headers: - Link: *68 + Link: *70 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -34095,7 +34274,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 +34282,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 +34312,7 @@ paths: properties: {} additionalProperties: false examples: - default: &235 + default: &237 value: limit: collaborators_only origin: organization @@ -34157,18 +34336,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 +34371,9 @@ paths: description: Response content: application/json: - schema: *234 + schema: *236 examples: - default: *235 + default: *237 '422': *15 x-github: githubCloudOnly: false @@ -34212,7 +34391,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 +34415,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 +34449,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 +34474,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 +34528,7 @@ paths: description: Response content: application/json: - schema: *236 + schema: *238 examples: default: value: @@ -34403,8 +34582,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 +34613,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 +34624,9 @@ paths: application/json: schema: type: array - items: *195 + items: *197 examples: - default: &259 + default: &261 value: - id: 1 node_id: MDQ6VGVhbTE= @@ -34463,7 +34642,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 +34661,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 +34669,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 +34812,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 +34902,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 +34959,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 +35068,9 @@ paths: description: Response content: application/json: - schema: *239 + schema: *241 examples: - default: *240 + default: *242 '404': *6 '422': *7 x-github: @@ -34915,8 +35094,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 +35117,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 +35125,7 @@ paths: application/json: schema: type: array - items: *242 + items: *244 examples: default: value: @@ -34984,7 +35163,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 +35210,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 +35244,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 +35298,9 @@ paths: description: Response content: application/json: - schema: *242 + schema: *244 examples: - default: *243 + default: *245 '404': *6 '422': *7 x-github: @@ -35145,8 +35324,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 +35358,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 +35388,7 @@ paths: - closed - all default: open - - *245 + - *247 - name: type description: Can be the name of an issue type. in: query @@ -35228,7 +35407,7 @@ paths: - comments default: created - *62 - - *93 + - *95 - *17 - *19 responses: @@ -35238,11 +35417,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 +35441,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 +35479,9 @@ paths: type: array items: *4 examples: - default: *71 + default: *73 headers: - Link: *68 + Link: *70 '422': *15 x-github: githubCloudOnly: false @@ -35320,8 +35499,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 +35534,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 +35561,8 @@ paths: parameters: - *17 - *19 - - *76 - - *72 + - *78 + - *74 responses: '200': description: Response @@ -35399,9 +35578,9 @@ paths: type: integer codespaces: type: array - items: *247 + items: *249 examples: - default: *248 + default: *250 '304': *37 '500': *55 '401': *25 @@ -35426,9 +35605,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 +35640,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 +35823,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 +35899,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 +35950,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 +35973,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 +36045,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 +36074,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 +36100,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 +36126,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 +36147,7 @@ paths: application/json: schema: type: array - items: &253 + items: &255 title: Migration description: A migration. type: object @@ -36009,7 +36188,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 +36384,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 +36400,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 +36476,7 @@ paths: description: Response content: application/json: - schema: *253 + schema: *255 examples: default: value: @@ -36475,8 +36654,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 +36682,7 @@ paths: * `failed`, which means the migration failed. content: application/json: - schema: *253 + schema: *255 examples: default: value: @@ -36672,8 +36851,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 +36873,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 +36897,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 +36926,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 +36937,9 @@ paths: application/json: schema: type: array - items: *159 + items: *161 examples: - default: &266 + default: &268 value: - id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -36873,7 +37052,7 @@ paths: secret_scanning_delegated_alert_dismissal: status: disabled headers: - Link: *68 + Link: *70 '404': *6 x-github: githubCloudOnly: false @@ -36899,7 +37078,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 +37094,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 +37241,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 +37267,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 +37304,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 +37331,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 +37357,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 +37389,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 +37419,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 +37476,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 +37555,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 +37588,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 +37617,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 +37646,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 +37747,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 +37771,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 +37798,9 @@ paths: type: array items: *4 examples: - default: *71 + default: *73 headers: - Link: *68 + Link: *70 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -37644,8 +37823,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 +37881,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 +37939,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 +37976,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 +38003,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 +38021,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 +38086,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 +38120,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 +38154,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 +38176,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 +38301,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 +38316,7 @@ paths: description: Response content: application/json: - schema: *264 + schema: *266 examples: default: value: @@ -38173,10 +38352,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 +38387,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 +38417,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 +38431,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 +38442,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 +38450,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 +38458,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 +38468,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 +38478,7 @@ paths: schema: type: string format: date-time - - &273 + - &275 name: token_id description: The ID of the token in: query @@ -38443,7 +38622,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 +38642,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 +38708,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 +38769,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 +38789,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 +38814,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 +38953,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 +38973,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 +39033,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 +39085,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 +39104,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 +39130,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 +39148,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 +39277,7 @@ paths: updated_at: '2020-01-10T14:59:22Z' visibility: selected headers: - Link: *68 + Link: *70 '400': *14 '404': *6 x-github: @@ -39121,7 +39300,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 +39619,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 +39660,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 +39686,7 @@ paths: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 headers: - Link: *68 + Link: *70 '404': *6 x-github: githubCloudOnly: false @@ -39529,16 +39708,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 +39739,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 +39916,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 +39940,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 +39957,7 @@ paths: application/json: schema: type: array - items: &276 + items: &278 title: Projects v2 Project description: A projects v2 project type: object @@ -39848,7 +40027,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 +40075,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 +40100,7 @@ paths: - deleted_at - deleted_by examples: - default: &277 + default: &279 value: id: 2 node_id: MDc6UHJvamVjdDEwMDI2MDM= @@ -40004,7 +40183,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 +40203,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 +40240,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 +40275,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 +40288,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 +40395,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 +40439,7 @@ paths: items: *4 requested_teams: type: array - items: *195 + items: *197 head: type: object properties: @@ -40268,7 +40447,7 @@ paths: type: string ref: type: string - repo: *80 + repo: *82 sha: type: string user: @@ -40291,7 +40470,7 @@ paths: type: string ref: type: string - repo: *80 + repo: *82 sha: type: string user: @@ -40310,7 +40489,7 @@ paths: _links: type: object properties: - comments: &281 + comments: &283 title: Link description: Hypermedia Link type: object @@ -40319,13 +40498,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 +40514,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 +40617,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 +40657,7 @@ paths: - updated_at - archived_at examples: - draft_issue: &285 + draft_issue: &287 value: id: 17 node_id: PVTI_lADOANN5s84ACbL0zgBueEI @@ -40552,8 +40731,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 +40743,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 +40893,7 @@ paths: - updated_at - project_url examples: - default: &720 + default: &722 value: - id: 12345 node_id: PVTF_lADOABCD1234567890 @@ -40825,7 +41004,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 +41023,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 +41070,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 +41107,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 +41157,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 +41184,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 +41208,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 +41219,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 +41228,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 +41237,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 +41271,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 +41316,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 +41367,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 +41388,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 +41421,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 +41437,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 +41480,7 @@ paths: - updated_at - archived_at examples: - default: &287 + default: &289 value: id: 13 node_id: PVTI_lAAFAQ0 @@ -41978,7 +42157,7 @@ paths: data_type: sub_issues_progress value: headers: - Link: *68 + Link: *70 '304': *37 '403': *29 '401': *25 @@ -41998,8 +42177,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 +42248,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 +42283,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 +42311,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 +42334,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 +42406,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 +42432,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 +42457,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 +42529,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 +42627,7 @@ paths: examples: table_view: summary: Response for creating a table view - value: &289 + value: &291 value: id: 1 number: 1 @@ -42494,10 +42673,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 +42704,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 +42738,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 +42765,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 +42773,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 +42841,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 +42890,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 +42901,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 +42931,9 @@ paths: application/json: schema: type: array - items: *290 + items: *292 examples: - default: *291 + default: *293 '403': *29 '404': *6 x-github: @@ -42775,8 +42954,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 +42967,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 +43003,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 +43075,9 @@ paths: description: Response content: application/json: - schema: *290 + schema: *292 examples: - default: *293 + default: *295 '403': *29 '404': *6 x-github: @@ -42921,8 +43100,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 +43124,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 +43162,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 +43201,7 @@ paths: - property_name: team value: octocat headers: - Link: *68 + Link: *70 '403': *29 '404': *6 x-github: @@ -43050,7 +43229,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 +43249,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 +43290,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 +43302,9 @@ paths: type: array items: *4 examples: - default: *71 + default: *73 headers: - Link: *68 + Link: *70 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -43142,8 +43321,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 +43346,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 +43368,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 +43393,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 +43439,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 +43462,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 +43643,7 @@ paths: description: Response content: application/json: - schema: &345 + schema: &347 title: Full Repository description: Full Repository type: object @@ -43752,8 +43931,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 +44019,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 +44029,8 @@ paths: properties: *20 required: *21 nullable: true - parent: *80 - source: *80 + parent: *82 + source: *82 forks: type: integer master_branch: @@ -43868,7 +44047,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 +44063,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 +44152,7 @@ paths: - network_count - subscribers_count examples: - default: &347 + default: &349 value: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -44491,10 +44670,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 +44691,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 +44726,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 +44739,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 +44809,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 +44833,7 @@ paths: match. items: type: string - - &302 + - &304 title: Organization ruleset conditions type: object description: |- @@ -44668,7 +44847,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 +44881,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 +44903,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 +44916,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 +44949,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 +44971,7 @@ paths: type: string enum: - creation - - &304 + - &306 title: update description: Only allow users with bypass permission to update matching refs. @@ -44813,7 +44992,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 +45004,7 @@ paths: type: string enum: - deletion - - &306 + - &308 title: required_linear_history description: Prevent merge commits from being pushed to matching refs. @@ -44837,7 +45016,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 +45094,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 +45118,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 +45130,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 +45236,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 +45284,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 +45296,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 +45333,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 +45370,7 @@ paths: required: - operator - pattern - - &314 + - &316 title: committer_email_pattern description: Parameters to be used for the committer_email_pattern rule @@ -45228,7 +45407,7 @@ paths: required: - operator - pattern - - &315 + - &317 title: branch_name_pattern description: Parameters to be used for the branch_name_pattern rule @@ -45265,7 +45444,7 @@ paths: required: - operator - pattern - - &316 + - &318 title: tag_name_pattern description: Parameters to be used for the tag_name_pattern rule @@ -45302,7 +45481,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 +45506,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 +45530,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 +45553,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 +45578,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 +45628,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 +45689,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 +45767,7 @@ paths: category: orgs subcategory: rules parameters: - - *76 + - *78 requestBody: description: Request body required: true @@ -45609,22 +45788,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 +45821,8 @@ paths: - *321 - *322 - *323 + - *324 + - *325 required: - name - enforcement @@ -45681,9 +45860,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 +45917,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 +45933,7 @@ paths: in: query schema: type: string - - &618 + - &620 name: time_period description: |- The time period to filter by. @@ -45770,14 +45949,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 +45976,7 @@ paths: description: Response content: application/json: - schema: &621 + schema: &623 title: Rule Suites description: Response type: array @@ -45852,7 +46031,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 +46074,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 +46091,7 @@ paths: description: Response content: application/json: - schema: &624 + schema: &626 title: Rule Suite description: Response type: object @@ -46011,7 +46190,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 +46251,7 @@ paths: category: orgs subcategory: rules parameters: - - *76 + - *78 - name: ruleset_id description: The ID of the ruleset. in: path @@ -46084,9 +46263,9 @@ paths: description: Response content: application/json: - schema: *324 + schema: *326 examples: - default: *325 + default: *327 '404': *6 '500': *55 put: @@ -46104,7 +46283,7 @@ paths: category: orgs subcategory: rules parameters: - - *76 + - *78 - name: ruleset_id description: The ID of the ruleset. in: path @@ -46130,16 +46309,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 +46353,9 @@ paths: description: Response content: application/json: - schema: *324 + schema: *326 examples: - default: *325 + default: *327 '404': *6 '422': *15 '500': *55 @@ -46195,7 +46374,7 @@ paths: category: orgs subcategory: rules parameters: - - *76 + - *78 - name: ruleset_id description: The ID of the ruleset. in: path @@ -46218,7 +46397,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 +46413,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 +46437,7 @@ paths: type: string format: date-time examples: - default: &627 + default: &629 value: - version_id: 3 actor: @@ -46293,7 +46472,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 +46490,9 @@ paths: description: Response content: application/json: - schema: &628 + schema: &630 allOf: - - *327 + - *329 - type: object required: - state @@ -46382,8 +46561,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 +46573,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 +46583,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 +46594,7 @@ paths: required: false schema: type: string - - &632 + - &634 name: exclude_providers in: query description: |- @@ -46426,7 +46605,7 @@ paths: required: false schema: type: string - - &633 + - &635 name: providers in: query description: |- @@ -46437,7 +46616,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 +46625,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 +46644,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 +46659,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 +46669,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 +46679,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 +46688,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 +46697,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 +46706,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 +46725,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 +46734,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 +46865,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 +46924,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 +46979,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 +46999,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 +47019,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 +47039,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 +47053,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 +47067,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 +47081,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 +47101,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 +47121,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 +47141,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 +47161,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 +47385,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 +47412,7 @@ paths: category: secret-scanning subcategory: push-protection parameters: - - *76 + - *78 responses: '200': description: Response @@ -47245,7 +47424,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 +47433,7 @@ paths: provider_pattern_overrides: type: array description: Overrides for partner patterns. - items: &328 + items: &330 type: object properties: token_type: @@ -47320,7 +47499,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 +47548,7 @@ paths: category: secret-scanning subcategory: push-protection parameters: - - *76 + - *78 requestBody: required: true content: @@ -47377,7 +47556,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 +47582,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 +47636,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 +47680,7 @@ paths: application/json: schema: type: array - items: &663 + items: &665 description: A repository security advisory. type: object properties: @@ -47721,7 +47900,7 @@ paths: login: type: string description: The username of the user credited. - type: *330 + type: *332 credits_detailed: type: array nullable: true @@ -47731,7 +47910,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 +47934,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 +47971,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 +48350,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 +48358,7 @@ paths: application/json: schema: type: array - items: *331 + items: *333 examples: default: value: @@ -48219,8 +48398,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 +48424,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 +48452,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 +48501,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 +48558,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 +48576,9 @@ paths: type: integer repositories: type: array - items: *159 + items: *161 examples: - default: *171 + default: *173 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -48418,7 +48597,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 +48646,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 +48669,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 +48693,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 +48711,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 +48782,7 @@ paths: - 6789ABDCEF12345 created_on: '2023-04-26T15:23:37Z' headers: - Link: *68 + Link: *70 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -48622,7 +48801,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 +48857,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 +48887,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 +48900,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 +48923,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 +48977,9 @@ paths: description: Response content: application/json: - schema: *332 + schema: *334 examples: - default: *333 + default: *335 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -48819,8 +48998,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 +49022,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 +49076,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 +49106,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 +49139,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 +49163,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 +49185,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 +49209,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 +49281,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 +49344,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 +49608,7 @@ paths: - repos_count - organization examples: - default: &339 + default: &341 value: id: 1 node_id: MDQ6VGVhbTE= @@ -49499,16 +49678,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 +49708,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 +49771,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 +49805,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 +49833,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 +49844,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 +49869,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 +49893,9 @@ paths: type: array items: *4 examples: - default: *71 + default: *73 headers: - Link: *68 + Link: *70 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -49744,15 +49923,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 +49958,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 +49994,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 +50021,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 +50058,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 +50086,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 +50097,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 +50128,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 +50160,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 +50706,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 +50754,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 +50781,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 +50792,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 +50822,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 +50847,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 +50948,7 @@ paths: resources: type: object properties: - core: &344 + core: &346 title: Rate Limit type: object properties: @@ -50786,21 +50965,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 +51084,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 +51596,7 @@ paths: status: disabled '403': *29 '404': *6 - '301': *346 + '301': *348 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -51435,8 +51614,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 +51913,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 +51945,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 +51968,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 +51992,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 +52019,7 @@ paths: type: integer artifacts: type: array - items: &349 + items: &351 title: Artifact description: An artifact type: object @@ -51918,7 +52097,7 @@ paths: - expires_at - updated_at examples: - default: &382 + default: &384 value: total_count: 2 artifacts: @@ -51957,7 +52136,7 @@ paths: head_branch: main head_sha: 178f4f6090b3fccad4a65b3e83d076a622d59652 headers: - Link: *68 + Link: *70 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -51979,9 +52158,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 +52172,7 @@ paths: description: Response content: application/json: - schema: *349 + schema: *351 examples: default: value: @@ -52031,9 +52210,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 +52236,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 +52248,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 +52277,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 +52317,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 +52352,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 +52392,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 +52429,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 +52462,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 +52500,7 @@ paths: description: Response content: application/json: - schema: &355 + schema: &357 title: Repository actions caches description: Repository actions caches type: object @@ -52363,7 +52542,7 @@ paths: - total_count - actions_caches examples: - default: &356 + default: &358 value: total_count: 1 actions_caches: @@ -52375,7 +52554,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 +52574,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 +52610,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 +52642,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 +52656,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 +52963,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 +52993,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 +53016,7 @@ paths: description: Response content: application/json: - schema: *168 + schema: *170 examples: default: value: @@ -52861,8 +53040,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 @@ -52883,6 +53062,15 @@ paths: type: array items: type: string + use_immutable_subject: + description: Whether the repository has opted in to the immutable + OIDC subject claim format. When `true`, OIDC tokens will use + a stable, repository-ID-based `sub` claim. If not set at the + repository level, falls back to the organization-level setting. + type: boolean + sub_claim_prefix: + description: The current `sub` claim prefix for this repository. + type: string required: - use_default examples: @@ -52912,8 +53100,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: @@ -52935,6 +53123,11 @@ paths: type: array items: type: string + use_immutable_subject: + description: Whether to opt in to the immutable OIDC subject claim + format for this repository. When `true`, OIDC tokens will use + a stable, repository-ID-based `sub` claim. + type: boolean examples: default: value: @@ -52947,7 +53140,7 @@ paths: description: Empty response content: application/json: - schema: *168 + schema: *170 examples: default: value: @@ -52976,8 +53169,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 +53188,7 @@ paths: type: integer secrets: type: array - items: &387 + items: &389 title: Actions Secret description: Set secrets for GitHub Actions. type: object @@ -53015,7 +53208,7 @@ paths: - created_at - updated_at examples: - default: &388 + default: &390 value: total_count: 2 secrets: @@ -53026,7 +53219,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 +53241,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 +53260,7 @@ paths: type: integer variables: type: array - items: &391 + items: &393 title: Actions Variable type: object properties: @@ -53097,7 +53290,7 @@ paths: - created_at - updated_at examples: - default: &392 + default: &394 value: total_count: 2 variables: @@ -53110,7 +53303,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 +53323,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 +53333,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 +53366,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 +53378,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 +53410,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 +53434,7 @@ paths: required: - access_level examples: - default: &362 + default: &364 value: access_level: organization x-github: @@ -53265,15 +53458,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 +53490,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 +53521,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 +53532,7 @@ paths: required: true content: application/json: - schema: *364 + schema: *366 examples: default: summary: Set retention days @@ -53363,16 +53556,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 +53584,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 +53595,7 @@ paths: required: true content: application/json: - schema: *146 + schema: *148 examples: default: summary: Set approval policy to first time contributors @@ -53426,16 +53619,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 +53648,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 +53680,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 +53708,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 +53717,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 +53741,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 +53771,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 +53783,9 @@ paths: required: true content: application/json: - schema: *369 + schema: *371 examples: - default: *154 + default: *156 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -53619,8 +53812,8 @@ paths: in: query schema: type: string - - *342 - - *343 + - *344 + - *345 - *17 - *19 responses: @@ -53638,11 +53831,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 +53857,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 +53866,9 @@ paths: application/json: schema: type: array - items: *370 + items: *372 examples: - default: *371 + default: *373 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -53697,8 +53890,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 +53934,7 @@ paths: - no-gpu work_folder: _work responses: - '201': *372 + '201': *374 '404': *6 '422': *7 '409': *54 @@ -53772,16 +53965,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 +54002,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 +54033,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 +54064,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 +54092,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 +54118,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 +54144,7 @@ paths: - gpu - accelerated responses: - '200': *165 + '200': *167 '404': *6 '422': *7 x-github: @@ -53975,9 +54168,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 +54195,7 @@ paths: - gpu - accelerated responses: - '200': *165 + '200': *167 '404': *6 '422': *7 x-github: @@ -54026,11 +54219,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 +54250,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 +54281,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 +54291,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 +54299,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 +54308,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 +54335,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 +54344,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 +54353,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 +54382,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 +54477,7 @@ paths: that triggered the run. type: array nullable: true - items: *91 + items: *93 created_at: type: string format: date-time @@ -54337,7 +54530,7 @@ paths: title: Simple Commit description: A commit. type: object - properties: &423 + properties: &425 id: type: string description: SHA for the commit @@ -54388,7 +54581,7 @@ paths: - name - email nullable: true - required: &424 + required: &426 - id - tree_id - message @@ -54396,8 +54589,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 +54628,7 @@ paths: - workflow_url - pull_requests examples: - default: &402 + default: &404 value: total_count: 1 workflow_runs: @@ -54649,7 +54842,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 +54864,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 +55122,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 +55147,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 +55268,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 +55303,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 +55325,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 +55351,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 +55392,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 +55413,9 @@ paths: type: integer jobs: type: array - items: *385 + items: *387 examples: - default: &386 + default: &388 value: total_count: 1 jobs: @@ -55311,7 +55504,7 @@ paths: workflow_name: CI head_branch: main headers: - Link: *68 + Link: *70 '404': *6 x-github: githubCloudOnly: false @@ -55335,10 +55528,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 +55559,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 +55594,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 +55663,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 +55698,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 +55730,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 +55757,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 +55786,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 +55815,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 +55877,7 @@ paths: items: type: object properties: - type: &511 + type: &513 type: string description: The type of reviewer. enum: @@ -55694,7 +55887,7 @@ paths: reviewer: anyOf: - *4 - - *195 + - *197 required: - environment - wait_timer @@ -55769,9 +55962,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 +56011,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 +56099,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 +56117,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 +56173,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 +56196,7 @@ paths: description: Response content: application/json: - schema: *168 + schema: *170 examples: default: value: @@ -56026,9 +56219,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 +56242,7 @@ paths: description: Response content: application/json: - schema: *168 + schema: *170 examples: default: value: @@ -56081,9 +56274,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 +56413,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 +56432,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 +56459,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 +56490,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 +56526,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 +56559,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *168 + schema: *170 examples: default: value: @@ -56392,9 +56585,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 +56612,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 +56631,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 +56656,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 +56684,7 @@ paths: description: Response content: application/json: - schema: *168 + schema: *170 examples: default: value: @@ -56516,17 +56709,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 +56745,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 +56789,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 +56816,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 +56835,7 @@ paths: type: integer workflows: type: array - items: &393 + items: &395 title: Workflow description: A GitHub Actions workflow type: object @@ -56726,7 +56919,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 +56942,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 +56959,7 @@ paths: description: Response content: application/json: - schema: *393 + schema: *395 examples: default: value: @@ -56799,9 +56992,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 +57019,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 +57108,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 +57137,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 +57165,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 +57199,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 +57262,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 +57408,7 @@ paths: type: User site_admin: false headers: - Link: *68 + Link: *70 '422': *7 x-github: githubCloudOnly: false @@ -57234,8 +57427,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 +57440,9 @@ paths: type: array items: *4 examples: - default: *71 + default: *73 headers: - Link: *68 + Link: *70 '404': *6 x-github: githubCloudOnly: false @@ -57272,8 +57465,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 +57502,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 +57613,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 +57671,7 @@ paths: initiator: type: string examples: - default: *403 + default: *405 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -57498,8 +57691,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 +57700,7 @@ paths: application/json: schema: type: array - items: &404 + items: &406 title: Autolink reference description: An autolink reference. type: object @@ -57561,8 +57754,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 +57794,9 @@ paths: description: response content: application/json: - schema: *404 + schema: *406 examples: - default: &405 + default: &407 value: id: 1 key_prefix: TICKET- @@ -57634,9 +57827,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 +57841,9 @@ paths: description: Response content: application/json: - schema: *404 + schema: *406 examples: - default: *405 + default: *407 '404': *6 x-github: githubCloudOnly: false @@ -57670,9 +57863,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 +57889,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 +57938,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 +57960,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 +57981,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 +58020,7 @@ paths: - url protected: type: boolean - protection: &408 + protection: &410 title: Branch Protection description: Branch Protection type: object @@ -57869,7 +58062,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 +58077,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 +58098,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 +58127,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 +58153,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 +58216,7 @@ paths: type: string teams: type: array - items: *195 + items: *197 apps: type: array items: @@ -58219,7 +58412,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 +58430,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 +58446,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 +58487,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 +58503,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 +58524,7 @@ paths: required: - sha - url - verification: &531 + verification: &533 title: Verification type: object properties: @@ -58365,12 +58558,12 @@ paths: nullable: true oneOf: - *4 - - *168 + - *170 committer: nullable: true oneOf: - *4 - - *168 + - *170 parents: type: array items: @@ -58401,7 +58594,7 @@ paths: type: integer files: type: array - items: &489 + items: &491 title: Diff Entry description: Diff Entry type: object @@ -58485,7 +58678,7 @@ paths: - self protected: type: boolean - protection: *408 + protection: *410 protection_url: type: string format: uri @@ -58592,7 +58785,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 +58807,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 +59009,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 +59266,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 +59342,7 @@ paths: items: *4 teams: type: array - items: *195 + items: *197 apps: type: array items: *5 @@ -59167,7 +59360,7 @@ paths: items: *4 teams: type: array - items: *195 + items: *197 apps: type: array items: *5 @@ -59225,7 +59418,7 @@ paths: additionalProperties: false required: - enabled - restrictions: *410 + restrictions: *412 required_conversation_resolution: type: object properties: @@ -59337,9 +59530,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 +59557,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 +59589,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 +59618,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 +59645,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 +59751,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 +59851,9 @@ paths: description: Response content: application/json: - schema: *413 + schema: *415 examples: - default: *414 + default: *416 '422': *15 x-github: githubCloudOnly: false @@ -59681,9 +59874,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 +59903,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 +59936,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 +59966,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 +59993,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 +60029,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 +60083,9 @@ paths: description: Response content: application/json: - schema: *416 + schema: *418 examples: - default: *417 + default: *419 '404': *6 '422': *15 x-github: @@ -59914,9 +60107,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 +60133,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 +60169,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 +60238,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 +60304,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 +60372,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 +60471,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 +60496,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 +60508,7 @@ paths: type: array items: *5 examples: - default: &418 + default: &420 value: - id: 1 slug: octoapp @@ -60372,9 +60565,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 +60601,7 @@ paths: type: array items: *5 examples: - default: *418 + default: *420 '422': *15 x-github: githubCloudOnly: false @@ -60429,9 +60622,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 +60658,7 @@ paths: type: array items: *5 examples: - default: *418 + default: *420 '422': *15 x-github: githubCloudOnly: false @@ -60486,9 +60679,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 +60715,7 @@ paths: type: array items: *5 examples: - default: *418 + default: *420 '422': *15 x-github: githubCloudOnly: false @@ -60544,9 +60737,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 +60747,9 @@ paths: application/json: schema: type: array - items: *195 + items: *197 examples: - default: *259 + default: *261 '404': *6 x-github: githubCloudOnly: false @@ -60576,9 +60769,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 +60807,9 @@ paths: application/json: schema: type: array - items: *195 + items: *197 examples: - default: *259 + default: *261 '422': *15 x-github: githubCloudOnly: false @@ -60637,9 +60830,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 +60868,9 @@ paths: application/json: schema: type: array - items: *195 + items: *197 examples: - default: *259 + default: *261 '422': *15 x-github: githubCloudOnly: false @@ -60698,9 +60891,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 +60928,9 @@ paths: application/json: schema: type: array - items: *195 + items: *197 examples: - default: *259 + default: *261 '422': *15 x-github: githubCloudOnly: false @@ -60759,9 +60952,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 +60964,7 @@ paths: type: array items: *4 examples: - default: *71 + default: *73 '404': *6 x-github: githubCloudOnly: false @@ -60795,9 +60988,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 +61023,7 @@ paths: type: array items: *4 examples: - default: *71 + default: *73 '422': *15 x-github: githubCloudOnly: false @@ -60855,9 +61048,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 +61083,7 @@ paths: type: array items: *4 examples: - default: *71 + default: *73 '422': *15 x-github: githubCloudOnly: false @@ -60915,9 +61108,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 +61143,7 @@ paths: type: array items: *4 examples: - default: *71 + default: *73 '422': *15 x-github: githubCloudOnly: false @@ -60977,9 +61170,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 +61194,7 @@ paths: description: Response content: application/json: - schema: *419 + schema: *421 examples: default: value: @@ -61117,8 +61310,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 +61590,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 +61701,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 +61777,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 +61990,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 +62004,9 @@ paths: description: Response content: application/json: - schema: *420 + schema: *422 examples: - default: &422 + default: &424 value: id: 4 head_sha: ce587453ced02b1526dfb4cb910479d431683101 @@ -61913,9 +62106,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 +62348,9 @@ paths: description: Response content: application/json: - schema: *420 + schema: *422 examples: - default: *422 + default: *424 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -62177,9 +62370,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 +62447,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 +62467,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 +62513,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 +62536,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 +62600,7 @@ paths: nullable: true pull_requests: type: array - items: *91 + items: *93 nullable: true app: title: GitHub app @@ -62418,9 +62611,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 +62622,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 +62655,7 @@ paths: - check_runs_url - pull_requests examples: - default: &426 + default: &428 value: id: 5 node_id: MDEwOkNoZWNrU3VpdGU1 @@ -62753,9 +62946,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 +62967,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 +63029,7 @@ paths: required: - app_id - setting - repository: *159 + repository: *161 examples: default: value: @@ -63084,9 +63277,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 +63291,9 @@ paths: description: Response content: application/json: - schema: *425 + schema: *427 examples: - default: *426 + default: *428 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -63123,17 +63316,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 +63365,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 +63449,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 +63469,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 +63504,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 +63543,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 +63568,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 +63583,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 +63714,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 +63741,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 +63751,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 +63775,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 +63831,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 +63931,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 +63951,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 +63968,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 +63997,7 @@ paths: description: Response content: application/json: - schema: *441 + schema: *443 examples: default: value: @@ -63880,14 +64073,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 +64100,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 +64134,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 +64151,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 +64176,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 +64208,7 @@ paths: '404': *6 '422': description: Unprocessable Entity - '503': *120 + '503': *122 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -64037,9 +64230,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 +64277,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 +64302,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 +64319,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 +64337,7 @@ paths: properties: text: type: string - location: *451 + location: *453 html_url: type: string classifications: @@ -64152,7 +64345,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 +64382,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 +64416,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 +64455,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 +64495,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 +64557,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 +64593,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 +64607,7 @@ paths: description: Response content: application/json: - schema: *454 + schema: *456 examples: response: summary: application/json response @@ -64468,14 +64661,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 +64748,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 +64802,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 +64824,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 +64833,7 @@ paths: application/json: schema: type: array - items: &455 + items: &457 title: CodeQL Database description: A CodeQL database. type: object @@ -64751,9 +64944,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 +64973,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 +64986,7 @@ paths: description: Response content: application/json: - schema: *455 + schema: *457 examples: default: value: @@ -64825,11 +65018,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 +65042,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 +65053,9 @@ paths: responses: '204': description: Response - '403': *445 + '403': *447 '404': *6 - '503': *120 + '503': *122 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -64888,8 +65081,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 +65091,7 @@ paths: type: object additionalProperties: false properties: - language: &456 + language: &458 type: string description: The language targeted by the CodeQL query enum: @@ -64978,7 +65171,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 +65181,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 +65228,7 @@ paths: items: type: object properties: - repository: &457 + repository: &459 title: Repository Identifier description: Repository Identifier type: object @@ -65071,7 +65264,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 +65296,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 +65310,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 +65332,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 +65349,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 +65495,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 +65526,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 +65539,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 +65564,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 +65599,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 +65703,7 @@ paths: source_location_prefix: "/" artifact_url: https://example.com '404': *6 - '503': *120 + '503': *122 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -65531,8 +65724,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 +65810,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 +65831,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 +65899,7 @@ paths: description: Response content: application/json: - schema: *168 + schema: *170 examples: default: value: @@ -65731,7 +65924,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 +65938,7 @@ paths: content: application/json: schema: *3 - '503': *120 + '503': *122 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -65802,8 +65995,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 +66004,7 @@ paths: schema: type: object properties: - commit_sha: *462 + commit_sha: *464 ref: type: string description: |- @@ -65869,7 +66062,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 +66076,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 +66099,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 +66146,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 +66171,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 +66253,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 +66374,8 @@ paths: parameters: - *17 - *19 - - *342 - - *343 + - *344 + - *345 responses: '200': description: Response @@ -66198,7 +66391,7 @@ paths: type: integer codespaces: type: array - items: *247 + items: *249 examples: default: value: @@ -66496,8 +66689,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 +66753,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 +66792,8 @@ paths: parameters: - *17 - *19 - - *342 - - *343 + - *344 + - *345 responses: '200': description: Response @@ -66664,8 +66857,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 +66893,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 +66940,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 +67025,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 +67071,7 @@ paths: '403': *29 '404': *6 '422': *15 - '503': *120 + '503': *122 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -66899,8 +67092,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 +67111,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 +67131,9 @@ paths: - created_at - updated_at examples: - default: *466 + default: *468 headers: - Link: *68 + Link: *70 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -66961,16 +67154,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 +67183,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 +67213,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 +67243,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *168 + schema: *170 examples: default: value: @@ -67074,9 +67267,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 +67297,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 +67340,7 @@ paths: title: Collaborator description: Collaborator type: object - properties: &471 + properties: &473 login: type: string example: octocat @@ -67240,7 +67433,7 @@ paths: user_view_type: type: string example: public - required: &472 + required: &474 - avatar_url - events_url - followers_url @@ -67289,7 +67482,7 @@ paths: admin: false role_name: write headers: - Link: *68 + Link: *70 '404': *6 x-github: githubCloudOnly: false @@ -67314,9 +67507,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 +67555,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 +67583,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 +67594,7 @@ paths: example: 42 type: integer format: int64 - repository: *159 + repository: *161 invitee: title: Simple User description: A GitHub user. @@ -67579,7 +67772,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 +67812,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 +67845,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 +67867,8 @@ paths: title: Collaborator description: Collaborator type: object - properties: *471 - required: *472 + properties: *473 + required: *474 nullable: true required: - permission @@ -67730,8 +67923,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 +67934,7 @@ paths: application/json: schema: type: array - items: &473 + items: &475 title: Commit Comment description: Commit Comment type: object @@ -67782,8 +67975,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 +67992,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 +68026,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 +68051,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 +68118,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 +68142,7 @@ paths: description: Response content: application/json: - schema: *473 + schema: *475 examples: default: value: @@ -68000,9 +68193,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 +68216,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 +68244,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 +68287,7 @@ paths: - content - created_at examples: - default: &548 + default: &550 value: - id: 1 node_id: MDg6UmVhY3Rpb24x @@ -68120,7 +68313,7 @@ paths: content: heart created_at: '2016-05-20T20:09:31Z' headers: - Link: *68 + Link: *70 '404': *6 x-github: githubCloudOnly: false @@ -68139,9 +68332,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 +68366,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 +68397,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 +68421,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 +68479,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 +68536,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 +68608,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 +68632,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 +68706,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 +68718,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 +68748,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 +68785,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 +68815,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 +68827,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 +69308,7 @@ paths: auto_merge: draft: false headers: - Link: *68 + Link: *70 '409': *54 x-github: githubCloudOnly: false @@ -69173,11 +69366,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 +69385,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 +69475,7 @@ paths: schema: type: string examples: - default: &490 + default: &492 value: | diff --git a/testfile b/testfile index 9bdeaeb..912c7ef 100644 @@ -69295,7 +69488,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 +69515,7 @@ paths: '422': *15 '404': *6 '500': *55 - '503': *120 + '503': *122 '409': *54 x-github: githubCloudOnly: false @@ -69348,11 +69541,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 +69579,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 +69606,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 +69616,7 @@ paths: schema: type: integer example: 1 - - *482 + - *484 - *17 - *19 responses: @@ -69441,7 +69634,7 @@ paths: type: integer check_suites: type: array - items: *425 + items: *427 examples: default: value: @@ -69616,7 +69809,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 +69834,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 +69903,7 @@ paths: type: string total_count: type: integer - repository: *159 + repository: *161 commit_url: type: string format: uri @@ -69841,9 +70034,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 +70046,7 @@ paths: application/json: schema: type: array - items: &668 + items: &670 title: Status description: The status of a commit. type: object @@ -69933,8 +70126,8 @@ paths: type: User site_admin: false headers: - Link: *68 - '301': *346 + Link: *70 + '301': *348 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -69962,8 +70155,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 +70185,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 +70206,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 +70358,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 +70402,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 +70423,10 @@ paths: example: 6 commits: type: array - items: *476 + items: *478 files: type: array - items: *489 + items: *491 required: - url - html_url @@ -70479,15 +70672,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 +70722,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 +70883,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 +71015,7 @@ paths: - size - type - url - - &605 + - &607 title: Content File description: Content File type: object @@ -71023,7 +71216,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 +71285,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 +71308,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 +71402,7 @@ paths: description: Response content: application/json: - schema: &494 + schema: &496 title: File Commit description: File Commit type: object @@ -71361,7 +71554,7 @@ paths: description: Response content: application/json: - schema: *494 + schema: *496 examples: example-for-creating-a-file: value: @@ -71415,7 +71608,7 @@ paths: schema: oneOf: - *3 - - &526 + - &528 description: Repository rule violation was detected type: object properties: @@ -71436,7 +71629,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 +71661,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 +71723,7 @@ paths: description: Response content: application/json: - schema: *494 + schema: *496 examples: default: value: @@ -71565,7 +71758,7 @@ paths: '422': *15 '404': *6 '409': *54 - '503': *120 + '503': *122 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71585,8 +71778,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 +71879,7 @@ paths: site_admin: false contributions: 32 headers: - Link: *68 + Link: *70 '204': description: Response if repository is empty '403': *29 @@ -71709,24 +71902,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 +71931,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 +71978,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 +72008,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 +72265,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 +72276,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 +72414,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 +72472,7 @@ paths: description: Response content: application/json: - schema: *499 + schema: *501 examples: default: value: @@ -72409,8 +72602,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 +72621,7 @@ paths: type: integer secrets: type: array - items: &503 + items: &505 title: Dependabot Secret description: Set secrets for Dependabot. type: object @@ -72459,7 +72652,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 +72674,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 +72703,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 +72737,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 +72767,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *168 + schema: *170 examples: default: value: @@ -72598,9 +72791,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 +72815,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 +72952,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 +72976,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 +73193,7 @@ paths: spdxElementId: SPDXRef-DOCUMENT relatedSpdxElement: SPDXRef-Repository headers: - Link: *68 + Link: *70 '404': *6 '403': *29 x-github: @@ -73022,8 +73215,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 +73227,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 +73248,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 +73287,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 +73363,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 +73396,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 +73409,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 +73538,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 +73579,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 +73647,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 +73729,7 @@ paths: description: Response content: application/json: - schema: *506 + schema: *508 examples: simple-example: summary: Simple example @@ -73609,9 +73802,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 +73816,7 @@ paths: description: Response content: application/json: - schema: *506 + schema: *508 examples: default: value: @@ -73688,9 +73881,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 +73905,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 +73917,7 @@ paths: application/json: schema: type: array - items: &509 + items: &511 title: Deployment Status description: The status of a deployment. type: object @@ -73815,8 +74008,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 +74058,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 +74078,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 +74155,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 +74213,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 +74226,9 @@ paths: description: Response content: application/json: - schema: *509 + schema: *511 examples: - default: *510 + default: *512 '404': *6 x-github: githubCloudOnly: false @@ -74060,8 +74253,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 +74311,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 +74329,7 @@ paths: type: integer environments: type: array - items: &512 + items: &514 title: Environment description: Details of a deployment environment type: object @@ -74188,7 +74381,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 +74418,11 @@ paths: items: type: object properties: - type: *511 + type: *513 reviewer: anyOf: - *4 - - *195 + - *197 required: - id - node_id @@ -74249,7 +74442,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 +74558,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 +74573,9 @@ paths: description: Response content: application/json: - schema: *512 + schema: *514 examples: - default: &516 + default: &518 value: id: 161088068 node_id: MDExOkVudmlyb25tZW50MTYxMDg4MDY4 @@ -74466,9 +74659,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 +74670,7 @@ paths: type: object nullable: true properties: - wait_timer: *514 + wait_timer: *516 prevent_self_review: type: boolean example: false @@ -74494,13 +74687,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 +74713,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 +74739,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 +74766,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 +74786,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 +74843,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 +74891,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 +74935,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 +74950,9 @@ paths: description: Response content: application/json: - schema: *517 + schema: *519 examples: - default: *518 + default: *520 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74778,10 +74971,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 +75002,9 @@ paths: description: Response content: application/json: - schema: *517 + schema: *519 examples: - default: *518 + default: *520 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74830,10 +75023,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 +75051,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 +75069,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 +75088,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 +75187,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 +75210,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 +75247,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 +75268,7 @@ paths: example: 35 available_custom_deployment_protection_rule_integrations: type: array - items: *521 + items: *523 examples: default: value: @@ -75110,10 +75303,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 +75318,9 @@ paths: description: Response content: application/json: - schema: *520 + schema: *522 examples: - default: *522 + default: *524 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75148,10 +75341,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 +75370,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 +75390,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 +75417,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 +75449,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 +75482,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 +75516,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *168 + schema: *170 examples: default: value: @@ -75349,10 +75542,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 +75570,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 +75590,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 +75615,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 +75644,7 @@ paths: description: Response content: application/json: - schema: *168 + schema: *170 examples: default: value: @@ -75476,18 +75669,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 +75701,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 +75746,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 +75771,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 +75782,7 @@ paths: application/json: schema: type: array - items: *112 + items: *114 examples: 200-response: value: @@ -75647,8 +75840,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 +75863,7 @@ paths: application/json: schema: type: array - items: *159 + items: *161 examples: default: value: @@ -75783,7 +75976,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 +76000,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 +76033,9 @@ paths: description: Response content: application/json: - schema: *345 + schema: *347 examples: - default: *347 + default: *349 '400': *14 '422': *15 '403': *29 @@ -75863,8 +76056,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 +76116,8 @@ paths: application/json: schema: oneOf: - - *128 - - *526 + - *130 + - *528 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75949,8 +76142,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 +76242,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 +76352,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 +76566,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 +76630,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 +76649,7 @@ paths: application/json: schema: type: array - items: &529 + items: &531 title: Git Reference description: Git references within a repository type: object @@ -76509,7 +76702,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 +76724,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 +76763,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 +76793,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 +76821,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 +76852,9 @@ paths: description: Response content: application/json: - schema: *529 + schema: *531 examples: - default: *530 + default: *532 '422': *15 '409': *54 x-github: @@ -76679,9 +76872,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 +76929,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 +76997,7 @@ paths: description: Response content: application/json: - schema: &532 + schema: &534 title: Git Tag description: Metadata for a Git tag type: object @@ -76855,7 +77048,7 @@ paths: - sha - type - url - verification: *531 + verification: *533 required: - sha - url @@ -76865,7 +77058,7 @@ paths: - tag - message examples: - default: &533 + default: &535 value: node_id: MDM6VGFnOTQwYmQzMzYyNDhlZmFlMGY5ZWU1YmM3YjJkNWM5ODU4ODdiMTZhYw== tag: v0.0.1 @@ -76938,8 +77131,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 +77143,9 @@ paths: description: Response content: application/json: - schema: *532 + schema: *534 examples: - default: *533 + default: *535 '404': *6 '409': *54 x-github: @@ -76976,8 +77169,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 +77243,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 +77339,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 +77363,7 @@ paths: description: Response content: application/json: - schema: *534 + schema: *536 examples: default-response: summary: Default response @@ -77229,8 +77422,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 +77433,7 @@ paths: application/json: schema: type: array - items: &535 + items: &537 title: Webhook description: Webhooks for repositories. type: object @@ -77294,7 +77487,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 +77542,7 @@ paths: status: unused message: headers: - Link: *68 + Link: *70 '404': *6 x-github: githubCloudOnly: false @@ -77368,8 +77561,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 +77614,9 @@ paths: description: Response content: application/json: - schema: *535 + schema: *537 examples: - default: &536 + default: &538 value: type: Repository id: 12345678 @@ -77471,17 +77664,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 +77694,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 +77741,9 @@ paths: description: Response content: application/json: - schema: *535 + schema: *537 examples: - default: *536 + default: *538 '422': *15 '404': *6 x-github: @@ -77571,9 +77764,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 +77790,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 +77819,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 +77865,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 +77878,9 @@ paths: application/json: schema: type: array - items: *218 + items: *220 examples: - default: *219 + default: *221 '400': *14 '422': *15 x-github: @@ -77706,18 +77899,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 +77929,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 +77954,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 +77981,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 +78006,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 +78053,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 +78074,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 +78132,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 +78238,7 @@ paths: - html_url - authors_url examples: - default: &540 + default: &542 value: vcs: subversion use_lfs: true @@ -78061,7 +78254,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 +78283,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 +78332,7 @@ paths: description: Response content: application/json: - schema: *537 + schema: *539 examples: default: value: @@ -78164,7 +78357,7 @@ paths: type: string '422': *15 '404': *6 - '503': *538 + '503': *540 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -78192,8 +78385,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 +78435,7 @@ paths: description: Response content: application/json: - schema: *537 + schema: *539 examples: example-1: summary: Example 1 @@ -78290,7 +78483,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 +78506,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 +78537,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 +78553,7 @@ paths: application/json: schema: type: array - items: &539 + items: &541 title: Porter Author description: Porter Author type: object @@ -78414,7 +78607,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 +78632,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 +78663,7 @@ paths: description: Response content: application/json: - schema: *539 + schema: *541 examples: default: value: @@ -78483,7 +78676,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 +78700,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 +78742,7 @@ paths: path: foo/bar/3 oid: c20ad4d76fe97759aa27a0c99bff6710 size: 12582912 - '503': *538 + '503': *540 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -78577,8 +78770,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 +78798,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 +78825,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 +78834,8 @@ paths: application/json: schema: *22 examples: - default: *541 - '301': *346 + default: *543 + '301': *348 '404': *6 x-github: githubCloudOnly: false @@ -78662,8 +78855,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 +78864,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 +78894,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 +78912,9 @@ paths: description: Response content: application/json: - schema: *234 + schema: *236 examples: - default: *543 + default: *545 '409': description: Response x-github: @@ -78743,8 +78936,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 +78960,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 +78971,9 @@ paths: application/json: schema: type: array - items: *544 + items: *546 examples: - default: &703 + default: &705 value: - id: 1 repository: @@ -78894,7 +79087,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 +79104,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 +79135,7 @@ paths: description: Response content: application/json: - schema: *544 + schema: *546 examples: default: value: @@ -79073,9 +79266,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 +79299,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 +79348,7 @@ paths: required: false schema: type: string - - *245 + - *247 - name: sort description: What to sort results by. in: query @@ -79168,7 +79361,7 @@ paths: - comments default: created - *62 - - *93 + - *95 - *17 - *19 responses: @@ -79178,9 +79371,9 @@ paths: application/json: schema: type: array - items: *86 + items: *88 examples: - default: &556 + default: &558 value: - id: 1 node_id: MDU6SXNzdWUx @@ -79328,8 +79521,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 +79551,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 +79634,9 @@ paths: description: Response content: application/json: - schema: *86 + schema: *88 examples: - default: &553 + default: &555 value: id: 1 node_id: MDU6SXNzdWUx @@ -79598,9 +79791,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 +79821,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 +79833,7 @@ paths: enum: - asc - desc - - *93 + - *95 - *17 - *19 responses: @@ -79650,9 +79843,9 @@ paths: application/json: schema: type: array - items: *546 + items: *548 examples: - default: &555 + default: &557 value: - id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -79683,7 +79876,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 +79903,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 +79968,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 +79992,9 @@ paths: description: Response content: application/json: - schema: *546 + schema: *548 examples: - default: *547 + default: *549 '422': *15 x-github: githubCloudOnly: false @@ -79819,9 +80012,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 +80042,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 +80106,7 @@ paths: '401': *25 '403': *29 '404': *6 - '410': *545 + '410': *547 '422': *15 x-github: githubCloudOnly: false @@ -79930,17 +80123,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 +80150,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 +80178,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 +80201,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 +80235,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 +80266,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 +80289,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 +80300,7 @@ paths: application/json: schema: type: array - items: &552 + items: &554 title: Issue Event description: Issue Event type: object @@ -80150,8 +80343,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 +80388,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 +80453,7 @@ paths: required: - from - to - author_association: *83 + author_association: *85 lock_reason: type: string nullable: true @@ -80273,8 +80466,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 +80634,7 @@ paths: author_association: COLLABORATOR state_reason: completed headers: - Link: *68 + Link: *70 '422': *15 x-github: githubCloudOnly: false @@ -80459,8 +80652,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 +80664,7 @@ paths: description: Response content: application/json: - schema: *552 + schema: *554 examples: default: value: @@ -80664,7 +80857,7 @@ paths: author_association: COLLABORATOR state_reason: completed '404': *6 - '410': *545 + '410': *547 '403': *29 x-github: githubCloudOnly: false @@ -80698,9 +80891,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 +80905,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 +81108,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 +81135,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 +81261,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 +81287,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 +81315,9 @@ paths: description: Response content: application/json: - schema: *86 + schema: *88 examples: - default: *553 + default: *555 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -81140,9 +81333,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 +81360,9 @@ paths: description: Response content: application/json: - schema: *86 + schema: *88 examples: - default: *553 + default: *555 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -81191,9 +81384,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 +81426,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 +81439,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 +81474,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 +81498,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 +81535,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 +81547,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 +81582,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 +81606,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 +81647,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 +81661,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 +81695,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 +81707,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 +81731,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 +81747,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 +81778,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 +81801,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &561 + - &563 title: Unlabeled Issue Event description: Unlabeled Issue Event type: object @@ -81639,8 +81832,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 +81921,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 +81937,7 @@ paths: - performed_via_github_app - assignee - assigner - - &562 + - &564 title: Milestoned Issue Event description: Milestoned Issue Event type: object @@ -81775,8 +81968,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 +81988,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &563 + - &565 title: Demilestoned Issue Event description: Demilestoned Issue Event type: object @@ -81826,8 +82019,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 +82039,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &564 + - &566 title: Renamed Issue Event description: Renamed Issue Event type: object @@ -81877,8 +82070,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 +82093,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 +82124,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 +82140,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 +82171,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 +82187,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 +82218,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 +82247,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &568 + - &570 title: Locked Issue Event description: Locked Issue Event type: object @@ -82085,8 +82278,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 +82295,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 +82326,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 +82361,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 +82392,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 +82427,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 +82458,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 +82493,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 +82583,8 @@ paths: name: label color: red headers: - Link: *68 - '410': *545 + Link: *70 + '410': *547 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -82408,9 +82601,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 +82613,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 +82638,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 +82670,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 +82736,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 +82774,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 +82841,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 +82874,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 +82902,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 +82914,9 @@ paths: application/json: schema: type: array - items: *85 + items: *87 examples: - default: &559 + default: &561 value: - id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -82740,10 +82933,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 +82952,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 +82997,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 +83019,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 +83081,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 +83103,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 +83130,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 +83145,7 @@ paths: application/json: schema: type: array - items: *85 + items: *87 examples: default: value: @@ -82963,9 +83156,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 +83178,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 +83208,7 @@ paths: '204': description: Response '403': *29 - '410': *545 + '410': *547 '404': *6 '422': *15 x-github: @@ -83033,9 +83226,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 +83258,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 +83288,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 +83316,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 +83340,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 +83374,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 +83405,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 +83437,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 +83461,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 +83496,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 +83508,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 +83542,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 +83571,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 +83600,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 +83633,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 +83657,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 +83674,6 @@ paths: description: Timeline Event type: object anyOf: - - *560 - - *561 - *562 - *563 - *564 @@ -83494,6 +83685,8 @@ paths: - *570 - *571 - *572 + - *573 + - *574 - title: Timeline Comment Event description: Timeline Comment Event type: object @@ -83536,7 +83729,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 +83739,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 +83780,7 @@ paths: properties: type: type: string - issue: *86 + issue: *88 required: - event - created_at @@ -83787,7 +83980,7 @@ paths: type: string body_text: type: string - author_association: *83 + author_association: *85 required: - event - id @@ -83810,7 +84003,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 +84098,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 +84182,7 @@ paths: enum: - line - file - reactions: *84 + reactions: *86 body_html: type: string example: '"

comment body

"' @@ -84025,7 +84218,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 +84249,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 +84293,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 +84337,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 +84505,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 +84524,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 +84535,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 +84585,7 @@ paths: last_used: '2022-01-10T15:53:42Z' enabled: true headers: - Link: *68 + Link: *70 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84408,8 +84601,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 +84638,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 +84674,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 +84688,9 @@ paths: description: Response content: application/json: - schema: *575 + schema: *577 examples: - default: *576 + default: *578 '404': *6 x-github: githubCloudOnly: false @@ -84515,9 +84708,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 +84730,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 +84741,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 +84764,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 +84801,9 @@ paths: description: Response content: application/json: - schema: *85 + schema: *87 examples: - default: &578 + default: &580 value: id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -84642,8 +84835,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 +84847,9 @@ paths: description: Response content: application/json: - schema: *85 + schema: *87 examples: - default: *578 + default: *580 '404': *6 x-github: githubCloudOnly: false @@ -84673,8 +84866,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 +84906,7 @@ paths: description: Response content: application/json: - schema: *85 + schema: *87 examples: default: value: @@ -84739,8 +84932,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 +84959,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 +84999,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 +85063,8 @@ paths: title: License Simple description: License Simple type: object - properties: *89 - required: *90 + properties: *91 + required: *92 nullable: true required: - _links @@ -84953,8 +85146,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 +85212,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 +85247,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 +85274,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 +85316,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 +85360,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 +85377,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 +85418,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 +85479,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 +85493,9 @@ paths: description: Response content: application/json: - schema: *580 + schema: *582 examples: - default: *581 + default: *583 '404': *6 x-github: githubCloudOnly: false @@ -85319,9 +85512,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 +85552,9 @@ paths: description: Response content: application/json: - schema: *580 + schema: *582 examples: - default: *581 + default: *583 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -85377,9 +85570,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 +85593,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 +85605,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 +85626,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 +85641,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 +85667,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 +85726,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 +85858,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 +85899,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 +85954,9 @@ paths: description: Response content: application/json: - schema: *587 + schema: *589 examples: - default: *588 + default: *590 '422': *15 '409': *54 x-github: @@ -85786,8 +85979,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 +86079,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 +86106,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 +86117,7 @@ paths: application/json: schema: type: array - items: &589 + items: &591 title: Page Build description: Page Build type: object @@ -85999,7 +86192,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 +86211,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 +86257,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 +86314,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 +86326,9 @@ paths: description: Response content: application/json: - schema: *589 + schema: *591 examples: - default: *590 + default: *592 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86155,8 +86348,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 +86454,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 +86514,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 +86543,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 +86775,7 @@ paths: description: Empty response content: application/json: - schema: *168 + schema: *170 examples: default: value: @@ -86609,8 +86802,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 +86840,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 +86862,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 +86885,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 +86894,7 @@ paths: application/json: schema: type: array - items: *294 + items: *296 examples: default: value: @@ -86732,8 +86925,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 +86938,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 +86988,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 +87049,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 +87083,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 +87149,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 +87260,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 +87304,7 @@ paths: items: *4 requested_teams: type: array - items: *331 + items: *333 head: type: object properties: @@ -87119,7 +87312,7 @@ paths: type: string ref: type: string - repo: *80 + repo: *82 sha: type: string user: *4 @@ -87136,7 +87329,7 @@ paths: type: string ref: type: string - repo: *80 + repo: *82 sha: type: string user: *4 @@ -87149,14 +87342,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 +87359,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 +87452,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 +87979,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 +87999,7 @@ paths: enum: - asc - desc - - *93 + - *95 - *17 - *19 responses: @@ -87816,9 +88009,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 +88063,7 @@ paths: original_line: 2 side: RIGHT headers: - Link: *68 + Link: *70 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87895,17 +88088,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 +88173,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 +88197,9 @@ paths: description: Response content: application/json: - schema: *594 + schema: *596 examples: - default: *595 + default: *597 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88022,9 +88215,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 +88238,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 +88266,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 +88289,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 +88323,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 +88354,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 +88400,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 +88415,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 +88426,7 @@ paths: application/json: schema: *3 '500': *55 - '503': *120 + '503': *122 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88259,9 +88452,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 +88496,9 @@ paths: description: Response content: application/json: - schema: *596 + schema: *598 examples: - default: *597 + default: *599 '422': *15 '403': *29 x-github: @@ -88327,9 +88520,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 +88547,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 +88575,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 +88637,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 +88677,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 +88690,7 @@ paths: enum: - asc - desc - - *93 + - *95 - *17 - *19 responses: @@ -88507,11 +88700,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 +88735,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 +88842,7 @@ paths: description: Response content: application/json: - schema: *594 + schema: *596 examples: example-for-a-multi-line-comment: value: @@ -88737,10 +88930,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 +88955,7 @@ paths: description: Response content: application/json: - schema: *594 + schema: *596 examples: default: value: @@ -88848,9 +89041,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 +89053,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 +89085,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 +89097,7 @@ paths: application/json: schema: type: array - items: *489 + items: *491 examples: default: value: @@ -88920,10 +89113,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 +89135,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 +89160,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 +89273,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 +89291,7 @@ paths: items: *4 teams: type: array - items: *195 + items: *197 required: - users - teams @@ -89139,7 +89332,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 +89350,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 +89389,7 @@ paths: description: Response content: application/json: - schema: *480 + schema: *482 examples: default: value: @@ -89732,9 +89925,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 +89961,7 @@ paths: description: Response content: application/json: - schema: *480 + schema: *482 examples: default: value: @@ -90273,9 +90466,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 +90478,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 +90547,7 @@ paths: type: string body_text: type: string - author_association: *83 + author_association: *85 required: - id - node_id @@ -90403,7 +90596,7 @@ paths: commit_id: ecdd80bb57125d7ba9641ffaa4d7d2c19d3f3091 author_association: COLLABORATOR headers: - Link: *68 + Link: *70 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -90436,9 +90629,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 +90717,9 @@ paths: description: Response content: application/json: - schema: *601 + schema: *603 examples: - default: &603 + default: &605 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -90589,10 +90782,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 +90797,9 @@ paths: description: Response content: application/json: - schema: *601 + schema: *603 examples: - default: &604 + default: &606 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -90665,10 +90858,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 +90884,7 @@ paths: description: Response content: application/json: - schema: *601 + schema: *603 examples: default: value: @@ -90753,18 +90946,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 +90984,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 +91066,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 +91081,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 +91193,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 +91222,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 +91253,7 @@ paths: description: Response content: application/json: - schema: *601 + schema: *603 examples: default: value: @@ -91123,10 +91316,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 +91354,9 @@ paths: description: Response content: application/json: - schema: *601 + schema: *603 examples: - default: *604 + default: *606 '404': *6 '422': *7 '403': *29 @@ -91185,9 +91378,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 +91443,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 +91457,9 @@ paths: description: Response content: application/json: - schema: *605 + schema: *607 examples: - default: &606 + default: &608 value: type: file encoding: base64 @@ -91308,8 +91501,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 +91522,9 @@ paths: description: Response content: application/json: - schema: *605 + schema: *607 examples: - default: *606 + default: *608 '404': *6 '422': *15 x-github: @@ -91353,8 +91546,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 +91557,7 @@ paths: application/json: schema: type: array - items: *607 + items: *609 examples: default: value: @@ -91438,7 +91631,7 @@ paths: type: User site_admin: false headers: - Link: *68 + Link: *70 '404': *6 x-github: githubCloudOnly: false @@ -91458,8 +91651,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 +91728,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 +91835,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 +91849,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 +91886,7 @@ paths: type: User site_admin: false '404': *6 - '302': *493 + '302': *495 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91709,9 +91902,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 +91932,9 @@ paths: description: Response content: application/json: - schema: *608 + schema: *610 examples: - default: *610 + default: *612 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91757,9 +91950,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 +91977,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 +92063,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 +92090,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 +92104,9 @@ paths: description: Response content: application/json: - schema: *607 + schema: *609 examples: - default: *611 + default: *613 '404': *6 x-github: githubCloudOnly: false @@ -91935,9 +92128,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 +92144,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 +92164,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 +92230,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 +92253,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 +92276,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 +92288,7 @@ paths: application/json: schema: type: array - items: *608 + items: *610 examples: default: value: @@ -92132,7 +92325,7 @@ paths: type: User site_admin: false headers: - Link: *68 + Link: *70 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -92176,9 +92369,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 +92397,7 @@ paths: description: Response for successful upload content: application/json: - schema: *608 + schema: *610 examples: response-for-successful-upload: value: @@ -92259,9 +92452,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 +92478,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 +92501,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 +92533,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 +92564,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 +92591,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 +92609,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 +92629,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 +92730,8 @@ paths: category: repos subcategory: rules parameters: - - *342 - - *343 + - *344 + - *345 - *17 - *19 - name: includes_parents @@ -92549,7 +92742,7 @@ paths: schema: type: boolean default: true - - *615 + - *617 responses: '200': description: Response @@ -92557,7 +92750,7 @@ paths: application/json: schema: type: array - items: *324 + items: *326 examples: default: value: @@ -92604,8 +92797,8 @@ paths: category: repos subcategory: rules parameters: - - *342 - - *343 + - *344 + - *345 requestBody: description: Request body required: true @@ -92625,16 +92818,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 +92858,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 +92908,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 +92921,9 @@ paths: description: Response content: application/json: - schema: *621 + schema: *623 examples: - default: *622 + default: *624 '404': *6 '500': *55 x-github: @@ -92751,17 +92944,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 +92982,8 @@ paths: category: repos subcategory: rules parameters: - - *342 - - *343 + - *344 + - *345 - name: ruleset_id description: The ID of the ruleset. in: path @@ -92810,9 +93003,9 @@ paths: description: Response content: application/json: - schema: *324 + schema: *326 examples: - default: *626 + default: *628 '404': *6 '500': *55 put: @@ -92830,8 +93023,8 @@ paths: category: repos subcategory: rules parameters: - - *342 - - *343 + - *344 + - *345 - name: ruleset_id description: The ID of the ruleset. in: path @@ -92856,16 +93049,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 +93086,9 @@ paths: description: Response content: application/json: - schema: *324 + schema: *326 examples: - default: *626 + default: *628 '404': *6 '422': *15 '500': *55 @@ -92914,8 +93107,8 @@ paths: category: repos subcategory: rules parameters: - - *342 - - *343 + - *344 + - *345 - name: ruleset_id description: The ID of the ruleset. in: path @@ -92938,8 +93131,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 +93148,9 @@ paths: application/json: schema: type: array - items: *327 + items: *329 examples: - default: *627 + default: *629 '404': *6 '500': *55 x-github: @@ -92976,8 +93169,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 +93188,7 @@ paths: description: Response content: application/json: - schema: *628 + schema: *630 examples: default: value: @@ -93050,25 +93243,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 +93269,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 +93281,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 +93395,7 @@ paths: pull request. ' - oneOf: *645 + oneOf: *647 nullable: true has_more_locations: type: boolean @@ -93344,7 +93537,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 +93559,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 +93599,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 +93622,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 +93632,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. @@ -93451,6 +93644,14 @@ paths: to `null` to unassign the alert. type: string nullable: true + validity: + type: string + nullable: true + enum: + - active + - inactive + description: Sets the validity of the secret scanning alert. Can + be `active`, `inactive`, or `null` to clear the override. anyOf: - required: - state @@ -93476,7 +93677,7 @@ paths: description: Response content: application/json: - schema: *646 + schema: *648 examples: default: value: @@ -93548,8 +93749,9 @@ paths: repository, or the resource is not found '422': description: State does not match the resolution or resolution comment, - or assignee does not have write access to the repository - '503': *120 + assignee does not have write access to the repository, or the requested + validity change could not be applied to this alert + '503': *122 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -93571,9 +93773,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 +93786,7 @@ paths: schema: type: array description: List of locations where the secret was detected - items: &803 + items: &805 type: object properties: type: @@ -93610,8 +93812,6 @@ paths: example: commit details: oneOf: - - *647 - - *648 - *649 - *650 - *651 @@ -93623,6 +93823,8 @@ paths: - *657 - *658 - *659 + - *660 + - *661 examples: default: value: @@ -93682,11 +93884,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 +93910,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 +93919,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 +93943,7 @@ paths: schema: type: object properties: - reason: *661 + reason: *663 expire_at: type: string format: date-time @@ -93764,7 +93966,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 +93989,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 +94005,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 +94031,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 +94052,7 @@ paths: one of "repository", "organization", or "enterprise" generic_secrets_backfill_scans: type: array - items: *662 + items: *664 examples: default: value: @@ -93915,8 +94117,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 +94162,9 @@ paths: application/json: schema: type: array - items: *663 + items: *665 examples: - default: *664 + default: *666 '400': *14 '404': *6 x-github: @@ -93985,8 +94187,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 +94261,7 @@ paths: login: type: string description: The username of the user credited. - type: *330 + type: *332 required: - login - type @@ -94146,9 +94348,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 +94583,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 +94688,7 @@ paths: description: Response content: application/json: - schema: *663 + schema: *665 examples: default: value: @@ -94633,17 +94835,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 +94869,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 +94944,7 @@ paths: login: type: string description: The username of the user credited. - type: *330 + type: *332 required: - login - type @@ -94828,17 +95030,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 +95071,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 +95100,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 +95136,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 +95214,7 @@ paths: type: User site_admin: false headers: - Link: *68 + Link: *70 '422': *15 x-github: githubCloudOnly: false @@ -95034,8 +95236,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 +95246,7 @@ paths: application/json: schema: type: array - items: &667 + items: &669 title: Code Frequency Stat description: Code Frequency Stat type: array @@ -95077,8 +95279,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 +95356,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 +95453,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 +95608,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 +95619,7 @@ paths: application/json: schema: type: array - items: *667 + items: *669 examples: default: value: @@ -95450,8 +95652,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 +95707,7 @@ paths: description: Response content: application/json: - schema: *668 + schema: *670 examples: default: value: @@ -95559,8 +95761,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 +95774,9 @@ paths: type: array items: *4 examples: - default: *71 + default: *73 headers: - Link: *68 + Link: *70 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -95592,14 +95794,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 +95869,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 +95896,7 @@ paths: description: Response content: application/json: - schema: *669 + schema: *671 examples: default: value: @@ -95721,8 +95923,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 +95944,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 +96001,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 +96024,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 +96061,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 +96072,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 +96094,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 +96103,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 +96115,7 @@ paths: required: - names examples: - default: &671 + default: &673 value: names: - octocat @@ -95936,8 +96138,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 +96170,9 @@ paths: description: Response content: application/json: - schema: *670 + schema: *672 examples: - default: *671 + default: *673 '404': *6 '422': *7 x-github: @@ -95991,9 +96193,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 +96224,7 @@ paths: example: 128 clones: type: array - items: &673 + items: &675 title: Traffic type: object properties: @@ -96109,8 +96311,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 +96402,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 +96463,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 +96484,7 @@ paths: example: 3782 views: type: array - items: *673 + items: *675 required: - uniques - count @@ -96359,8 +96561,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 +96598,7 @@ paths: description: Response content: application/json: - schema: *159 + schema: *161 examples: default: value: @@ -96634,8 +96836,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 +96860,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 +96883,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 +96910,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 +97003,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 +97046,7 @@ paths: application/json: schema: type: array - items: *159 + items: *161 examples: default: value: @@ -97036,7 +97238,7 @@ paths: html_url: type: string format: uri - repository: *159 + repository: *161 score: type: number file_size: @@ -97054,7 +97256,7 @@ paths: example: - 73..77 - 77..78 - text_matches: &674 + text_matches: &676 title: Search Result Text Matches type: array items: @@ -97168,7 +97370,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 +97418,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 +97489,7 @@ paths: description: Metaproperties for Git author/committer information. type: object - properties: *407 + properties: *409 nullable: true comment_count: type: integer @@ -97307,7 +97509,7 @@ paths: url: type: string format: uri - verification: *531 + verification: *533 required: - author - committer @@ -97326,7 +97528,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 +97541,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 +97738,7 @@ paths: - interactions - created - updated - - *675 + - *677 - *17 - *19 - name: advanced_search @@ -97650,11 +97852,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 +97873,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 +97888,7 @@ paths: type: string format: date-time nullable: true - text_matches: *674 + text_matches: *676 pull_request: type: object properties: @@ -97719,10 +97921,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 +97932,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 +97942,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 +98106,7 @@ paths: - quoted_text items: - "..." - '503': *120 + '503': *122 '422': *15 '304': *37 '403': *29 @@ -97958,7 +98160,7 @@ paths: enum: - created - updated - - *675 + - *677 - *17 - *19 responses: @@ -98002,7 +98204,7 @@ paths: nullable: true score: type: number - text_matches: *674 + text_matches: *676 required: - id - node_id @@ -98087,7 +98289,7 @@ paths: - forks - help-wanted-issues - updated - - *675 + - *677 - *17 - *19 responses: @@ -98315,8 +98517,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 +98537,7 @@ paths: - admin - pull - push - text_matches: *674 + text_matches: *676 temp_clone_token: type: string allow_merge_commit: @@ -98537,7 +98739,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 +98837,7 @@ paths: type: string format: uri nullable: true - text_matches: *674 + text_matches: *676 related: type: array nullable: true @@ -98826,7 +99028,7 @@ paths: - followers - repositories - joined - - *675 + - *677 - *17 - *19 responses: @@ -98930,7 +99132,7 @@ paths: hireable: type: boolean nullable: true - text_matches: *674 + text_matches: *676 blog: type: string nullable: true @@ -98989,7 +99191,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 +99211,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 +99223,9 @@ paths: description: Response content: application/json: - schema: *338 + schema: *340 examples: - default: *339 + default: *341 '404': *6 x-github: githubCloudOnly: false @@ -99050,7 +99252,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 +99315,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 +99352,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 +99381,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 +99391,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 +99419,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 +99442,9 @@ paths: type: array items: *4 examples: - default: *71 + default: *73 headers: - Link: *68 + Link: *70 '404': *6 x-github: githubCloudOnly: false @@ -99268,8 +99470,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 +99507,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 +99547,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 +99584,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 +99626,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 +99652,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 +99688,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 +99716,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 +99726,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 +99758,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 +99917,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 +99969,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 +99996,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 +100006,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 +100041,7 @@ paths: application/json: schema: oneOf: - - &684 + - &686 title: Private User description: Private User type: object @@ -100042,7 +100244,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 +100397,7 @@ paths: description: Response content: application/json: - schema: *684 + schema: *686 examples: default: value: @@ -100274,7 +100476,7 @@ paths: type: array items: *4 examples: - default: *71 + default: *73 '304': *37 '404': *6 '403': *29 @@ -100297,7 +100499,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 +100527,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 +100551,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 +100600,9 @@ paths: type: integer codespaces: type: array - items: *247 + items: *249 examples: - default: *248 + default: *250 '304': *37 '500': *55 '401': *25 @@ -100539,21 +100741,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 +100795,7 @@ paths: type: integer secrets: type: array - items: &685 + items: &687 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -100633,9 +100835,9 @@ paths: - visibility - selected_repositories_url examples: - default: *466 + default: *468 headers: - Link: *68 + Link: *70 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -100703,13 +100905,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 +100941,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 +100986,7 @@ paths: description: Response after successfully creating a secret content: application/json: - schema: *168 + schema: *170 examples: default: value: @@ -100812,7 +101014,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 +101039,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 +101055,9 @@ paths: type: integer repositories: type: array - items: *159 + items: *161 examples: - default: *196 + default: *198 '401': *25 '403': *29 '404': *6 @@ -100880,7 +101082,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 +101136,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 +101169,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 +101201,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 +101235,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 +101265,9 @@ paths: description: Response content: application/json: - schema: *247 + schema: *249 examples: - default: *463 + default: *465 '401': *25 '403': *29 '404': *6 @@ -101087,7 +101289,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 +101318,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 +101365,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 +101397,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 +101410,9 @@ paths: description: Response content: application/json: - schema: *686 + schema: *688 examples: - default: *687 + default: *689 '404': *6 x-github: githubCloudOnly: false @@ -101231,7 +101433,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 +101449,9 @@ paths: type: integer machines: type: array - items: *688 + items: *690 examples: - default: *689 + default: *691 '304': *37 '500': *55 '401': *25 @@ -101278,7 +101480,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 +101530,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 +102310,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 +102350,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 +102388,9 @@ paths: application/json: schema: type: array - items: *260 + items: *262 examples: - default: &700 + default: &702 value: - id: 197 name: hello_docker @@ -102289,7 +102491,7 @@ paths: application/json: schema: type: array - items: &690 + items: &692 title: Email description: Email type: object @@ -102354,16 +102556,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 +102633,7 @@ paths: application/json: schema: type: array - items: *690 + items: *692 examples: default: value: @@ -102541,9 +102743,9 @@ paths: type: array items: *4 examples: - default: *71 + default: *73 headers: - Link: *68 + Link: *70 '304': *37 '403': *29 '401': *25 @@ -102574,9 +102776,9 @@ paths: type: array items: *4 examples: - default: *71 + default: *73 headers: - Link: *68 + Link: *70 '304': *37 '403': *29 '401': *25 @@ -102596,7 +102798,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 +102828,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 +102853,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 +102889,7 @@ paths: application/json: schema: type: array - items: &691 + items: &693 title: GPG Key description: A unique encryption key type: object @@ -102818,7 +103020,7 @@ paths: - subkeys - revoked examples: - default: &718 + default: &720 value: - id: 3 name: Octocat's GPG Key @@ -102850,7 +103052,7 @@ paths: revoked: false raw_key: string headers: - Link: *68 + Link: *70 '304': *37 '404': *6 '403': *29 @@ -102903,9 +103105,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 +103164,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 +103176,9 @@ paths: description: Response content: application/json: - schema: *691 + schema: *693 examples: - default: *692 + default: *694 '404': *6 '304': *37 '403': *29 @@ -102999,7 +103201,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 +103344,7 @@ paths: suspended_at: suspended_by: headers: - Link: *68 + Link: *70 '304': *37 '403': *29 '401': *25 @@ -103190,11 +103392,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 +103420,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 +103446,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 +103480,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 +103509,7 @@ paths: required: true content: application/json: - schema: *542 + schema: *544 examples: default: value: @@ -103318,7 +103520,7 @@ paths: description: Response content: application/json: - schema: *234 + schema: *236 examples: default: value: @@ -103399,7 +103601,7 @@ paths: - closed - all default: open - - *245 + - *247 - name: sort description: What to sort results by. in: query @@ -103412,7 +103614,7 @@ paths: - comments default: created - *62 - - *93 + - *95 - *17 - *19 responses: @@ -103422,11 +103624,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 +103659,7 @@ paths: application/json: schema: type: array - items: &694 + items: &696 title: Key description: Key type: object @@ -103508,7 +103710,7 @@ paths: verified: false read_only: false headers: - Link: *68 + Link: *70 '304': *37 '404': *6 '403': *29 @@ -103558,9 +103760,9 @@ paths: description: Response content: application/json: - schema: *694 + schema: *696 examples: - default: &695 + default: &697 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -103593,15 +103795,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 +103826,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 +103859,7 @@ paths: application/json: schema: type: array - items: &696 + items: &698 title: User Marketplace Purchase description: User Marketplace Purchase type: object @@ -103714,7 +103916,7 @@ paths: - id - type - login - plan: *104 + plan: *106 required: - billing_cycle - next_billing_date @@ -103725,7 +103927,7 @@ paths: - account - plan examples: - default: &697 + default: &699 value: - billing_cycle: monthly next_billing_date: '2017-11-11T00:00:00Z' @@ -103758,7 +103960,7 @@ paths: - Up to 25 private repositories - 11 concurrent builds headers: - Link: *68 + Link: *70 '304': *37 '401': *25 '404': *6 @@ -103787,11 +103989,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 +104031,7 @@ paths: application/json: schema: type: array - items: *251 + items: *253 examples: default: value: @@ -103912,7 +104114,7 @@ paths: type: User site_admin: false headers: - Link: *68 + Link: *70 '304': *37 '403': *29 '401': *25 @@ -103937,13 +104139,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 +104207,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 +104232,7 @@ paths: description: Response content: application/json: - schema: *251 + schema: *253 examples: default: value: @@ -104102,7 +104304,7 @@ paths: application/json: schema: type: array - items: *253 + items: *255 examples: default: value: @@ -104255,7 +104457,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 +104557,7 @@ paths: description: Response content: application/json: - schema: *253 + schema: *255 examples: default: value: @@ -104535,7 +104737,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 +104750,7 @@ paths: description: Response content: application/json: - schema: *253 + schema: *255 examples: default: value: @@ -104742,7 +104944,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 +104970,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 +104999,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 +105024,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 +105034,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 +105071,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 +105115,7 @@ paths: - docker - nuget - container - - *699 + - *701 - *19 - *17 responses: @@ -104923,10 +105125,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 +105148,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 +105270,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 +105301,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 +105334,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 +105355,7 @@ paths: application/json: schema: type: array - items: *264 + items: *266 examples: default: value: @@ -105202,15 +105404,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 +105448,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 +105480,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 +105519,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 +105632,9 @@ paths: application/json: schema: type: array - items: *80 + items: *82 examples: - default: &709 + default: &711 summary: Default response value: - id: 1296269 @@ -105553,7 +105755,7 @@ paths: open_issues: 1 watchers: 1 headers: - Link: *68 + Link: *70 '422': *15 '304': *37 '403': *29 @@ -105736,9 +105938,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 +105978,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 +106003,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 +106026,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 +106059,7 @@ paths: application/json: schema: type: array - items: &704 + items: &706 title: Social account description: Social media account type: object @@ -105872,12 +106074,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 +106136,9 @@ paths: application/json: schema: type: array - items: *704 + items: *706 examples: - default: *705 + default: *707 '422': *15 '304': *37 '404': *6 @@ -106023,7 +106225,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 +106245,7 @@ paths: - title - created_at examples: - default: &737 + default: &739 value: - id: 2 key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -106054,7 +106256,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 +106309,9 @@ paths: description: Response content: application/json: - schema: *706 + schema: *708 examples: - default: &707 + default: &709 value: id: 2 key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -106139,7 +106341,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 +106353,9 @@ paths: description: Response content: application/json: - schema: *706 + schema: *708 examples: - default: *707 + default: *709 '404': *6 '304': *37 '403': *29 @@ -106176,7 +106378,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 +106407,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 +106430,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 +106444,7 @@ paths: starred_at: type: string format: date-time - repo: *80 + repo: *82 required: - starred_at - repo @@ -106370,7 +106572,7 @@ paths: open_issues: 1 watchers: 1 headers: - Link: *68 + Link: *70 '304': *37 '403': *29 '401': *25 @@ -106390,8 +106592,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 +106621,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 +106646,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 +106680,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 +106719,7 @@ paths: application/json: schema: type: array - items: *338 + items: *340 examples: default: value: @@ -106568,7 +106770,7 @@ paths: updated_at: '2017-08-17T12:37:15Z' type: Organization headers: - Link: *68 + Link: *70 '304': *37 '404': *6 '403': *29 @@ -106595,7 +106797,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 +106805,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 +106843,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 +106900,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 +106941,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 +106966,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/users#list-users parameters: - - *710 + - *712 - *17 responses: '200': @@ -106775,7 +106977,7 @@ paths: type: array items: *4 examples: - default: *71 + default: *73 headers: Link: example: ; rel="next" @@ -106799,8 +107001,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 +107073,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 +107117,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 +107125,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 +107155,7 @@ paths: - *17 - *47 - *48 - - *72 + - *74 requestBody: required: true content: @@ -106977,8 +107179,8 @@ paths: required: - subject_digests examples: - default: *715 - withPredicateType: *716 + default: *717 + withPredicateType: *718 responses: '200': description: Response @@ -107031,7 +107233,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 +107251,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 +107316,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 +107347,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 +107385,7 @@ paths: - *17 - *47 - *48 - - *72 + - *74 - name: subject_digest description: Subject Digest in: path @@ -107236,12 +107438,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 +107469,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 +107477,9 @@ paths: application/json: schema: type: array - items: *260 + items: *262 examples: - default: *700 + default: *702 '403': *29 '401': *25 x-github: @@ -107300,7 +107502,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 +107512,7 @@ paths: application/json: schema: type: array - items: *112 + items: *114 examples: default: value: @@ -107372,8 +107574,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 +107585,7 @@ paths: application/json: schema: type: array - items: *112 + items: *114 examples: default: value: @@ -107460,7 +107662,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 +107672,7 @@ paths: application/json: schema: type: array - items: *112 + items: *114 examples: default: value: @@ -107528,7 +107730,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 +107742,9 @@ paths: type: array items: *4 examples: - default: *71 + default: *73 headers: - Link: *68 + Link: *70 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -107559,7 +107761,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 +107773,9 @@ paths: type: array items: *4 examples: - default: *71 + default: *73 headers: - Link: *68 + Link: *70 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -107590,7 +107792,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 +107819,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 +107830,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 +107853,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 +107863,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 +107889,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 +107961,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 +107969,7 @@ paths: application/json: schema: *22 examples: - default: *541 + default: *543 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -107785,7 +107987,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 +108022,7 @@ paths: - id: 1 key: ssh-rsa AAA... headers: - Link: *68 + Link: *70 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -107840,7 +108042,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 +108052,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 +108093,8 @@ paths: - docker - nuget - container - - *699 - - *72 + - *701 + - *74 - *19 - *17 responses: @@ -107902,12 +108104,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 +108129,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 +108160,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 +108194,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 +108228,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 +108238,7 @@ paths: application/json: schema: type: array - items: *264 + items: *266 examples: default: value: @@ -108094,16 +108296,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 +108340,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 +108375,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 +108402,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 +108419,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 +108443,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 +108474,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 +108486,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 +108509,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 +108548,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 +108564,7 @@ paths: description: The field's data type. enum: - iteration - iteration_configuration: *722 + iteration_configuration: *724 required: - name - data_type @@ -108384,20 +108586,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 +108620,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 +108653,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 +108686,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 +108709,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 +108780,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 +108815,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 +108837,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 +108860,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 +108932,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 +108958,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 +108982,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 +109010,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 +109040,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 +109050,7 @@ paths: application/json: schema: type: array - items: *112 + items: *114 examples: default: value: @@ -108913,7 +109115,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 +109125,7 @@ paths: application/json: schema: type: array - items: *112 + items: *114 examples: default: value: @@ -108986,7 +109188,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 +109231,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 +109255,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 +109368,7 @@ paths: '403': *29 '404': *6 '500': *55 - '503': *120 + '503': *122 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -109186,10 +109388,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 +109462,7 @@ paths: '400': *14 '403': *29 '500': *55 - '503': *120 + '503': *122 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -109283,13 +109485,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 +109597,7 @@ paths: '403': *29 '404': *6 '500': *55 - '503': *120 + '503': *122 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -109413,7 +109615,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 +109625,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 +109647,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 +109657,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 +109683,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 +109696,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 +109719,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 +109729,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 +109859,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 +109917,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 +109936,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 +109996,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 +110022,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 +110697,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 +110848,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 +110927,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 +111154,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 +111341,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 +111429,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 +111482,8 @@ x-webhooks: type: string pull_requests: type: array - items: *91 - repository: *159 + items: *93 + repository: *161 status: example: completed type: string @@ -111318,7 +111520,7 @@ x-webhooks: - skipped - timed_out - action_required - deployment: *745 + deployment: *747 details_url: example: https://example.com type: string @@ -111368,7 +111570,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 +111605,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 +111999,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 +112397,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 +112804,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 +113778,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 +114470,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 +115156,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 +115325,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 +115470,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 +115648,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 +115878,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 +115978,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 +116149,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 +116320,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 +116486,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 +116590,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 +116765,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 +116871,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 +117011,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 +117182,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 +117327,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 +117585,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 +117668,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 +117689,7 @@ x-webhooks: enum: - tag - branch - repository: *743 + repository: *745 sender: *4 required: - ref @@ -117569,10 +117771,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 +117859,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 +117938,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 +118018,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 +118098,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 +118186,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 +118277,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 +118361,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 +118446,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 +118531,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 +118614,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 +118697,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 +118781,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 +118864,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 +118945,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 +118983,8 @@ x-webhooks: - verified - created_at - read_only - organization: *742 - repository: *743 + organization: *744 + repository: *745 sender: *4 required: - action @@ -118859,11 +119061,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 +119621,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 +120367,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 +120446,7 @@ x-webhooks: type: string enum: - approved - approver: &754 + approver: &756 type: object properties: avatar_url: @@ -120287,11 +120489,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 +120572,7 @@ x-webhooks: sender: *4 since: type: string - workflow_job_run: &756 + workflow_job_run: &758 type: object properties: conclusion: @@ -121101,18 +121303,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 +122018,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 +123913,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 +124598,7 @@ x-webhooks: type: string enum: - answered - answer: &760 + answer: &762 type: object properties: author_association: @@ -124553,11 +124755,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 +124886,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 +124973,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 +125059,7 @@ x-webhooks: type: string enum: - created - comment: &759 + comment: &761 type: object properties: author_association: @@ -125014,11 +125216,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 +125303,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 +125403,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 +125492,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 +125578,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 +125682,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 +125768,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 +125803,8 @@ x-webhooks: - color - default - description - organization: *742 - repository: *743 + organization: *744 + repository: *745 sender: *4 required: - action @@ -125685,11 +125887,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 +125973,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 +126059,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 +126148,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 +126240,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 +126325,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 +126413,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 +126499,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 +126576,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 +127236,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 +127384,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 +127423,7 @@ x-webhooks: - action - sha - html_url - repository: *743 + repository: *745 sender: *4 required: - pages @@ -127297,10 +127499,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 +127528,8 @@ x-webhooks: - name - full_name - private - repository: *743 - requester: *762 + repository: *745 + requester: *764 sender: *4 required: - action @@ -127402,11 +127604,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 +127684,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 +127764,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 +127813,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 +127900,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 +127930,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 +128011,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 +128193,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 +128275,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 +128403,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 +128453,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 +128539,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 +129329,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 +129346,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *242 + type: *244 updated_at: type: string format: date-time @@ -129477,8 +129679,8 @@ x-webhooks: - state - locked - assignee - organization: *742 - repository: *743 + organization: *744 + repository: *745 sender: *4 required: - action @@ -129558,7 +129760,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 +129917,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 +129933,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 +130719,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 +130736,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *242 + type: *244 updated_at: type: string format: date-time @@ -130869,8 +131071,8 @@ x-webhooks: - state - locked - assignee - organization: *742 - repository: *743 + organization: *744 + repository: *745 sender: *4 required: - action @@ -130950,7 +131152,7 @@ x-webhooks: type: string enum: - edited - changes: &795 + changes: &797 description: The changes to the comment. type: object properties: @@ -130962,9 +131164,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 +131954,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 +131971,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *242 + type: *244 updated_at: type: string format: date-time @@ -132102,8 +132304,8 @@ x-webhooks: - state - locked - assignee - organization: *742 - repository: *743 + organization: *744 + repository: *745 sender: *4 required: - action @@ -132184,9 +132386,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 +133178,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 +133195,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *242 + type: *244 updated_at: type: string format: date-time @@ -133328,8 +133530,8 @@ x-webhooks: - state - locked - assignee - organization: *742 - repository: *743 + organization: *744 + repository: *745 sender: *4 required: - action @@ -133409,9 +133611,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 +134403,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 +134420,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *242 + type: *244 updated_at: type: string format: date-time @@ -134553,8 +134755,8 @@ x-webhooks: - state - locked - assignee - organization: *742 - repository: *743 + organization: *744 + repository: *745 sender: *4 required: - action @@ -134637,15 +134839,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 +134930,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 +135020,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 +135111,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 +135199,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 +135991,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 +136014,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *242 + type: *244 updated_at: type: string format: date-time @@ -135913,8 +136115,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *742 - repository: *743 + organization: *744 + repository: *745 sender: *4 required: - action @@ -135994,8 +136196,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 +136991,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 +137014,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *242 + type: *244 updated_at: type: string format: date-time @@ -137048,8 +137250,8 @@ x-webhooks: required: - state - closed_at - organization: *742 - repository: *743 + organization: *744 + repository: *745 sender: *4 required: - action @@ -137128,8 +137330,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 +138116,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 +138139,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *242 + type: *244 updated_at: type: string format: date-time @@ -138037,8 +138239,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *742 - repository: *743 + organization: *744 + repository: *745 sender: *4 required: - action @@ -138117,8 +138319,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 +139127,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 +139150,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *242 + type: *244 updated_at: type: string format: date-time @@ -139027,7 +139229,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 +139367,8 @@ x-webhooks: - updated_at - due_on - closed_at - organization: *742 - repository: *743 + organization: *744 + repository: *745 sender: *4 required: - action @@ -139265,8 +139467,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 +140257,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 +140277,7 @@ x-webhooks: timeline_url: type: string format: uri - type: *242 + type: *244 title: description: Title of the issue type: string @@ -140179,9 +140381,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 +140403,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 +140796,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 +141585,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 +141605,7 @@ x-webhooks: timeline_url: type: string format: uri - type: *242 + type: *244 title: description: Title of the issue type: string @@ -141174,9 +141709,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 +141791,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 +142604,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 +142624,7 @@ x-webhooks: timeline_url: type: string format: uri - type: *242 + type: *244 title: description: Title of the issue type: string @@ -142170,8 +142705,8 @@ x-webhooks: format: uri user_view_type: type: string - organization: *742 - repository: *743 + organization: *744 + repository: *745 sender: *4 required: - action @@ -142250,8 +142785,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 +143592,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 +143615,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *242 + type: *244 updated_at: type: string format: date-time @@ -143158,9 +143693,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 +144558,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 +144590,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 +144663,7 @@ x-webhooks: required: - login - id - type: *242 + type: *244 required: - id - number @@ -144608,8 +145143,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 +145928,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 +145948,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *242 + type: *244 updated_at: type: string format: date-time @@ -145426,8 +145961,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 +146056,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *742 - repository: *743 + organization: *744 + repository: *745 sender: *4 required: - action @@ -145602,9 +146137,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 +146922,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 +146945,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *242 + type: *244 updated_at: type: string format: date-time @@ -146510,8 +147045,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *742 - repository: *743 + organization: *744 + repository: *745 sender: *4 required: - action @@ -146590,8 +147125,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 +147936,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 +148037,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 +148905,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 +148928,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *242 + type: *244 updated_at: type: string format: date-time @@ -148972,11 +149507,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 +149591,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 +149677,7 @@ x-webhooks: type: string enum: - unassigned - assignee: &798 + assignee: &800 title: User type: object nullable: true @@ -149212,11 +149747,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 +149830,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 +149915,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 +150726,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 +150749,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *242 + type: *244 updated_at: type: string format: date-time @@ -150292,8 +150827,8 @@ x-webhooks: format: uri user_view_type: type: string - organization: *742 - repository: *743 + organization: *744 + repository: *745 sender: *4 required: - action @@ -150373,11 +150908,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 +150991,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 +151076,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 +151158,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 +151272,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 +151358,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 +151443,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 +151524,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *743 + repository: *745 sender: *4 required: - action @@ -151069,10 +151604,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 +151690,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *743 + repository: *745 sender: *4 required: - action @@ -151237,10 +151772,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 +151857,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *743 + repository: *745 sender: *4 required: - action @@ -151403,8 +151938,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 +152021,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 +152103,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 +152210,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 +152314,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 +152397,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 +152479,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 +152559,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 +152782,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 +152863,7 @@ x-webhooks: required: - login - id - team: *772 + team: *774 required: - action - scope @@ -152410,8 +152945,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 +152965,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 +153059,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 +153135,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 +153244,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 +153334,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 +153417,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 +153556,8 @@ x-webhooks: - updated_at - due_on - closed_at - organization: *742 - repository: *743 + organization: *744 + repository: *745 sender: *4 required: - action @@ -153101,11 +153636,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 +153750,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 +153834,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 +153917,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 +154000,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 +154083,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 +154192,8 @@ x-webhooks: - role - organization_url - user - organization: *742 - repository: *743 + organization: *744 + repository: *745 sender: *4 required: - action @@ -153736,11 +154271,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 +154354,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 +154471,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 +154552,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 +154643,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 +154724,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 +155225,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: &779 + items: &781 title: Ruby Gems metadata type: object properties: @@ -154785,7 +155320,7 @@ x-webhooks: - owner - package_version - registry - repository: *743 + repository: *745 sender: *4 required: - action @@ -154861,9 +155396,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 +155751,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: *779 + items: *781 source_url: type: string format: uri @@ -155286,7 +155821,7 @@ x-webhooks: - owner - package_version - registry - repository: *743 + repository: *745 sender: *4 required: - action @@ -155462,12 +155997,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 +156079,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 +156225,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 +156305,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 +156385,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 +156464,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 +156573,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 +156605,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 +156851,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 +156973,7 @@ x-webhooks: - creator - created_at - updated_at - repository: *743 + repository: *745 sender: *4 required: - action @@ -156519,11 +157054,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 +157138,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 +157268,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 +157363,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 +157461,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 +157653,7 @@ x-webhooks: type: string required: - after_id - repository: *743 + repository: *745 sender: *4 required: - action @@ -157198,10 +157733,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 +157860,7 @@ x-webhooks: - creator - created_at - updated_at - repository: *743 + repository: *745 sender: *4 required: - action @@ -157405,10 +157940,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 +157982,7 @@ x-webhooks: - name - created_at - updated_at - repository: *743 + repository: *745 sender: *4 required: - action @@ -157526,18 +158061,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 +158162,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 +158246,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 +158330,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 +158414,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 +158527,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 +158610,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 +158695,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 +158778,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 +158861,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 +158980,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 +159065,7 @@ x-webhooks: type: string enum: - archived - changes: &788 + changes: &790 type: object properties: archived_at: @@ -158544,9 +159079,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 +159099,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 +159216,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 +159300,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 +159383,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 +159491,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 +159513,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 +159547,8 @@ x-webhooks: oneOf: - type: string - type: integer - - *786 - - *787 + - *788 + - *789 required: - field_value - type: object @@ -159029,9 +159564,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 +159661,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 +159746,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 +159831,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 +159914,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 +160002,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 +160140,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 +160213,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 +160293,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 +162604,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *743 + repository: *745 sender: *4 required: - action @@ -162151,11 +162686,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 +164990,7 @@ x-webhooks: - draft reason: type: string - repository: *743 + repository: *745 sender: *4 required: - action @@ -164537,11 +165072,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 +167376,7 @@ x-webhooks: - draft reason: type: string - repository: *743 + repository: *745 sender: *4 required: - action @@ -166923,13 +167458,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 +167526,7 @@ x-webhooks: Please use `squash_merge_commit_title` instead.** type: boolean default: false - repository: *743 + repository: *745 sender: *4 required: - action @@ -167072,12 +167607,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 +167692,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 +169981,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *743 + repository: *745 sender: *4 required: - action @@ -169525,11 +170060,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 +172368,7 @@ x-webhooks: - BRANCH_PROTECTIONS - GIT_TREE_INVALID - INVALID_MERGE_COMMIT - repository: *743 + repository: *745 sender: *4 required: - action @@ -171957,12 +172492,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 +172577,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 +174870,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *743 + repository: *745 sender: *4 required: - action @@ -174415,11 +174950,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 +177258,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *743 + repository: *745 sender: *4 required: - action @@ -176804,10 +177339,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 +179644,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *743 + repository: *745 sender: *4 required: - action @@ -179189,12 +179724,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 +179808,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 +179894,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 +179979,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 +180350,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 +182544,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *743 + repository: *745 sender: *4 required: - action @@ -182089,7 +182624,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 +182909,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 +185091,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *743 + repository: *745 sender: *4 required: - action @@ -184636,11 +185171,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 +187358,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *743 + repository: *745 sender: *4 required: - action @@ -186904,9 +187439,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 +189636,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 +189883,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 +191939,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 +192173,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 +194483,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *743 + repository: *745 requested_reviewer: title: User type: object @@ -194032,12 +194567,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 +196884,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 +197076,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 +199388,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *743 + repository: *745 requested_reviewer: title: User type: object @@ -198938,12 +199473,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 +201776,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 +201957,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 +204156,8 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *743 - review: *797 + repository: *745 + review: *799 sender: *4 required: - action @@ -203702,9 +204237,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 +206331,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *743 + repository: *745 sender: *4 thread: type: object @@ -206183,9 +206718,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 +208798,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *743 + repository: *745 sender: *4 thread: type: object @@ -208653,10 +209188,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 +211484,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *743 + repository: *745 sender: *4 required: - action @@ -211031,11 +211566,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 +213875,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *743 + repository: *745 sender: *4 required: - action @@ -213419,11 +213954,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 +216253,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *743 + repository: *745 sender: *4 required: - action @@ -215799,10 +216334,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 +218624,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *743 + repository: *745 sender: *4 required: - action @@ -218289,7 +218824,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 +218916,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 +219503,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 +219951,7 @@ x-webhooks: type: string rubygems_metadata: type: array - items: *779 + items: *781 summary: type: string tag_name: @@ -219470,7 +220005,7 @@ x-webhooks: - owner - package_version - registry - repository: *743 + repository: *745 sender: *4 required: - action @@ -219548,9 +220083,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 +220393,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: *779 + items: *781 summary: type: string tag_name: @@ -219907,7 +220442,7 @@ x-webhooks: - owner - package_version - registry - repository: *743 + repository: *745 sender: *4 required: - action @@ -219984,10 +220519,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 +220840,7 @@ x-webhooks: - updated_at - zipball_url - body - repository: *743 + repository: *745 sender: *4 required: - action @@ -220382,11 +220917,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 +221038,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 +221120,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 +221444,7 @@ x-webhooks: type: string nullable: true format: uri - repository: *743 + repository: *745 sender: *4 required: - action @@ -220985,10 +221520,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 +221842,7 @@ x-webhooks: type: string nullable: true format: uri - repository: *743 + repository: *745 sender: *4 required: - action @@ -221383,11 +221918,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 +221998,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 +222078,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 +222158,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 +222238,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 +222318,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 +222399,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 +222486,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 +222601,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 +222676,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 +222760,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 +222840,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 +222937,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 +223020,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 +223102,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 +223184,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 +223207,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 +223249,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 +223492,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 +223573,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 +223654,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 +223776,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 +223985,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 +224066,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 +224269,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 +224350,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 +224362,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 +224493,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 +224574,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 +224659,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 +224901,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 +224983,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 +225065,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 +225147,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 +225230,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 +225360,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 +225441,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 +225628,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 +225705,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 +225892,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 +225974,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 +226280,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 +226373,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 +226455,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 +226539,7 @@ x-webhooks: type: string enum: - pending_tier_change - changes: &807 + changes: &809 type: object properties: tier: @@ -226048,13 +226583,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 +226666,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 +226746,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 +226832,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 +227255,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 +227372,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 +227464,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 +227556,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 +227648,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 +227733,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 +227961,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 +228421,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *808 + team: *810 required: - action - team @@ -227962,9 +228497,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 +228957,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *808 + team: *810 required: - action - team @@ -228499,9 +229034,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 +229494,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *808 + team: *810 required: - action - team @@ -229103,9 +229638,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 +230098,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *808 + team: *810 required: - action - changes @@ -229641,9 +230176,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 +230636,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *808 + team: *810 required: - action - team @@ -230177,10 +230712,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 +230788,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 +230879,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 +231119,7 @@ x-webhooks: type: string required: - conclusion - deployment: *506 + deployment: *508 required: - action - repository @@ -230663,10 +231198,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 +231461,7 @@ x-webhooks: required: - status - steps - deployment: *506 + deployment: *508 required: - action - repository @@ -231005,10 +231540,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 +231678,7 @@ x-webhooks: - workflow_name - head_branch - created_at - deployment: *506 + deployment: *508 required: - action - repository @@ -231222,10 +231757,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 +231896,7 @@ x-webhooks: - workflow_name - head_branch - created_at - deployment: *506 + deployment: *508 required: - action - repository @@ -231441,12 +231976,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 +232980,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 +233969,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..5bfbf9ecb4 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", @@ -74324,6 +75223,10 @@ "items": { "type": "string" } + }, + "use_immutable_subject": { + "description": "Whether to opt in to the immutable OIDC subject claim format for the organization. When `true`, new OIDC tokens will use a stable, repository-ID-based `sub` claim instead of the name-based format.", + "type": "boolean" } }, "required": [ @@ -74387,6 +75290,10 @@ "items": { "type": "string" } + }, + "use_immutable_subject": { + "description": "Whether to opt in to the immutable OIDC subject claim format for the organization. When `true`, new OIDC tokens will use a stable, repository-ID-based `sub` claim instead of the name-based format.", + "type": "boolean" } } }, @@ -96778,6 +97685,9 @@ "schema": { "type": "object", "additionalProperties": false, + "required": [ + "selected_repository_ids" + ], "properties": { "selected_repository_ids": { "type": "array", @@ -225324,6 +226234,14 @@ "items": { "type": "string" } + }, + "use_immutable_subject": { + "description": "Whether the repository has opted in to the immutable OIDC subject claim format. When `true`, OIDC tokens will use a stable, repository-ID-based `sub` claim. If not set at the repository level, falls back to the organization-level setting.", + "type": "boolean" + }, + "sub_claim_prefix": { + "description": "The current `sub` claim prefix for this repository.", + "type": "string" } }, "required": [ @@ -225491,6 +226409,10 @@ "items": { "type": "string" } + }, + "use_immutable_subject": { + "description": "Whether to opt in to the immutable OIDC subject claim format for this repository. When `true`, OIDC tokens will use a stable, repository-ID-based `sub` claim.", + "type": "boolean" } } }, @@ -243624,7 +244546,7 @@ ], "responses": { "200": { - "description": "Response including the workflow run ID and URLs when `return_run_details` parameter is `true`.", + "description": "Response including the workflow run ID and URLs.", "content": { "application/json": { "schema": { @@ -519789,6 +520711,15 @@ "description": "The username of the user to assign to the alert. Set to `null` to unassign the alert.", "type": "string", "nullable": true + }, + "validity": { + "type": "string", + "nullable": true, + "enum": [ + "active", + "inactive" + ], + "description": "Sets the validity of the secret scanning alert. Can be `active`, `inactive`, or `null` to clear the override." } }, "anyOf": [ @@ -521036,7 +521967,7 @@ "description": "Repository is public, or secret scanning is disabled for the repository, or the resource is not found" }, "422": { - "description": "State does not match the resolution or resolution comment, or assignee does not have write access to the repository" + "description": "State does not match the resolution or resolution comment, assignee does not have write access to the repository, or the requested validity change could not be applied to this alert" }, "503": { "description": "Service unavailable", @@ -922941,567 +923872,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 +933429,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 +933500,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 +933723,8 @@ "enum": [ "Bot", "User", - "Organization" + "Organization", + "Mannequin" ] }, "url": { @@ -925309,15 +933821,13 @@ "enum": [ "Bot", "User", - "Organization" + "Organization", + "Mannequin" ] }, "url": { "type": "string", "format": "uri" - }, - "user_view_type": { - "type": "string" } }, "required": [ @@ -925525,7 +934035,8 @@ "enum": [ "Bot", "User", - "Organization" + "Organization", + "Mannequin" ] }, "url": { @@ -925683,6 +934194,8 @@ "watch", "workflow_dispatch", "workflow_run", + "security_and_analysis", + "pull_request_review_thread", "reminder" ] } @@ -925930,7 +934443,8 @@ "type": "string", "enum": [ "read", - "write" + "write", + "admin" ] }, "organization_secrets": { @@ -926994,10 +935508,6 @@ "type": "string", "format": "uri" }, - "title": { - "description": "Title of the issue", - "type": "string" - }, "type": { "title": "Issue Type", "description": "The type of issue.", @@ -927058,6 +935568,10 @@ "description" ] }, + "title": { + "description": "Title of the issue", + "type": "string" + }, "updated_at": { "type": "string", "format": "date-time" @@ -927147,7 +935661,8 @@ "enum": [ "Bot", "User", - "Organization" + "Organization", + "Mannequin" ] }, "url": { @@ -927188,6 +935703,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 +937163,7 @@ }, "required": [ "action", + "changes", "issue", "repository", "sender" @@ -928632,11 +937189,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 +937260,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 +937362,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 +937378,6 @@ "title": "User", "type": "object", "nullable": true, - "required": [ - "login", - "id" - ], "properties": { "avatar_url": { "type": "string", @@ -928930,8 +937460,15 @@ "url": { "type": "string", "format": "uri" + }, + "user_view_type": { + "type": "string" } - } + }, + "required": [ + "login", + "id" + ] }, "assignees": { "type": "array", @@ -928939,10 +937476,6 @@ "title": "User", "type": "object", "nullable": true, - "required": [ - "login", - "id" - ], "properties": { "avatar_url": { "type": "string", @@ -929025,8 +937558,15 @@ "url": { "type": "string", "format": "uri" + }, + "user_view_type": { + "type": "string" } - } + }, + "required": [ + "login", + "id" + ] } }, "author_association": { @@ -929085,16 +937625,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 +937652,16 @@ "type": "string", "format": "uri" } - } + }, + "required": [ + "id", + "node_id", + "url", + "name", + "color", + "default", + "description" + ] } }, "labels_url": { @@ -929137,24 +937676,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 +937693,6 @@ "title": "User", "type": "object", "nullable": true, - "required": [ - "login", - "id" - ], "properties": { "avatar_url": { "type": "string", @@ -929262,7 +937779,11 @@ "user_view_type": { "type": "string" } - } + }, + "required": [ + "login", + "id" + ] }, "description": { "type": "string", @@ -929314,7 +937835,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 +937866,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 +937926,9 @@ "team_add", "watch", "workflow_dispatch", - "workflow_run" + "workflow_run", + "reminder", + "pull_request_review_thread" ] } }, @@ -929427,10 +937957,6 @@ "title": "User", "type": "object", "nullable": true, - "required": [ - "login", - "id" - ], "properties": { "avatar_url": { "type": "string", @@ -929516,7 +938042,11 @@ "user_view_type": { "type": "string" } - } + }, + "required": [ + "login", + "id" + ] }, "permissions": { "description": "The set of permissions for the GitHub app", @@ -929772,7 +938302,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 +938344,6 @@ "reactions": { "title": "Reactions", "type": "object", - "required": [ - "url", - "total_count", - "+1", - "-1", - "laugh", - "confused", - "heart", - "hooray", - "eyes", - "rocket" - ], "properties": { "+1": { "type": "integer" @@ -929847,7 +938376,19 @@ "type": "string", "format": "uri" } - } + }, + "required": [ + "url", + "total_count", + "+1", + "-1", + "laugh", + "confused", + "heart", + "hooray", + "eyes", + "rocket" + ] }, "repository_url": { "type": "string", @@ -930776,10 +939317,6 @@ "title": "User", "type": "object", "nullable": true, - "required": [ - "login", - "id" - ], "properties": { "avatar_url": { "type": "string", @@ -930867,193 +939404,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 +941001,7 @@ "required": [ "action", "issue", + "issue_field", "repository", "sender" ] @@ -932498,11 +941026,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 +941097,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 +941395,9 @@ "url": { "type": "string", "format": "uri" + }, + "user_view_type": { + "type": "string" } }, "required": [ @@ -933263,9 +941764,8 @@ "watch", "workflow_dispatch", "workflow_run", - "security_and_analysis", - "pull_request_review_thread", - "reminder" + "reminder", + "pull_request_review_thread" ] } }, @@ -934577,6 +943077,10 @@ "type": "string", "format": "uri" }, + "title": { + "description": "Title of the issue", + "type": "string" + }, "type": { "title": "Issue Type", "description": "The type of issue.", @@ -934637,10 +943141,6 @@ "description" ] }, - "title": { - "description": "Title of the issue", - "type": "string" - }, "updated_at": { "type": "string", "format": "date-time" @@ -934772,45 +943272,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 +944771,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..2963d6484b 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 @@ -20825,10 +21085,16 @@ paths: type: array items: type: string + use_immutable_subject: + description: Whether to opt in to the immutable OIDC subject claim + format for the organization. When `true`, new OIDC tokens will + use a stable, repository-ID-based `sub` claim instead of the + name-based format. + type: boolean required: - include_claim_keys examples: - default: &142 + default: &144 value: include_claim_keys: - repo @@ -20850,7 +21116,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: @@ -20866,14 +21132,20 @@ paths: type: array items: type: string + use_immutable_subject: + description: Whether to opt in to the immutable OIDC subject claim + format for the organization. When `true`, new OIDC tokens will + use a stable, repository-ID-based `sub` claim instead of the name-based + format. + type: boolean 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 +21175,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 +21184,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 +21197,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 +21205,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 +21241,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 +21252,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 +21282,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 +21325,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 +21367,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 +21387,7 @@ paths: required: - approval_policy examples: - default: &365 + default: &367 value: approval_policy: first_time_contributors '404': *6 @@ -21136,7 +21408,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 +21418,7 @@ paths: required: true content: application/json: - schema: *146 + schema: *148 examples: default: summary: Set approval policy to first time contributors @@ -21168,13 +21440,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 +21472,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 +21495,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 +21523,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 +21553,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 +21571,9 @@ paths: type: number repositories: type: array - items: *80 + items: *82 examples: - default: &151 + default: &153 value: total_count: 1 repositories: @@ -21441,7 +21713,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 +21757,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 +21786,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 +21810,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 +21838,7 @@ paths: items: type: string examples: - default: &150 + default: &152 value: github_owned_allowed: true verified_allowed: false @@ -21591,7 +21863,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 +21871,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 +21893,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 +21941,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 +21988,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 +22003,9 @@ paths: type: integer repositories: type: array - items: *80 + items: *82 examples: - default: *151 + default: *153 '403': *29 '404': *6 x-github: @@ -21753,7 +22025,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 +22073,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 +22100,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 +22129,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 +22153,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 +22178,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 +22186,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 +22212,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 +22237,7 @@ paths: type: number runner_groups: type: array - items: &155 + items: &157 type: object properties: id: @@ -22081,7 +22353,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 +22425,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 +22462,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 +22475,7 @@ paths: description: Response content: application/json: - schema: *155 + schema: *157 examples: default: value: @@ -22239,8 +22511,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 +22566,9 @@ paths: description: Response content: application/json: - schema: *155 + schema: *157 examples: - default: *157 + default: *159 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -22315,8 +22587,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 +22611,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 +22630,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 +22654,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 +22673,9 @@ paths: type: number repositories: type: array - items: *159 + items: *161 examples: - default: &196 + default: &198 value: total_count: 1 repositories: @@ -22655,8 +22927,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 +22972,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 +22996,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 +23021,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 +23040,7 @@ paths: type: number runners: type: array - items: &161 + items: &163 title: Self hosted runners description: A self hosted runner type: object @@ -22797,7 +23069,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 +23099,7 @@ paths: - busy - labels examples: - default: &162 + default: &164 value: total_count: 2 runners: @@ -22867,7 +23139,7 @@ paths: name: no-gpu type: custom headers: - Link: *68 + Link: *70 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -22886,8 +23158,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 +23203,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 +23233,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 +23265,7 @@ paths: in: query schema: type: string - - *76 + - *78 - *17 - *19 responses: @@ -23011,11 +23283,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 +23309,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 +23317,7 @@ paths: application/json: schema: type: array - items: &370 + items: &372 title: Runner Application description: Runner Application type: object @@ -23070,7 +23342,7 @@ paths: - download_url - filename examples: - default: &371 + default: &373 value: - os: osx architecture: x64 @@ -23113,7 +23385,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 +23428,7 @@ paths: - no-gpu work_folder: _work responses: - '201': &372 + '201': &374 description: Response content: application/json: @@ -23166,7 +23438,7 @@ paths: - runner - encoded_jit_config properties: - runner: *161 + runner: *163 encoded_jit_config: type: string description: The base64 encoded runner configuration. @@ -23223,13 +23495,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 +23523,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 +23539,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 +23570,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 +23603,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 +23653,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 +23680,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 +23697,7 @@ paths: type: integer labels: type: array - items: *164 + items: *166 examples: default: value: @@ -23464,8 +23736,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 +23761,7 @@ paths: - gpu - accelerated responses: - '200': *165 + '200': *167 '404': *6 '422': *7 x-github: @@ -23513,8 +23785,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 +23811,7 @@ paths: - gpu - accelerated responses: - '200': *165 + '200': *167 '404': *6 '422': *7 x-github: @@ -23563,10 +23835,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 +23852,7 @@ paths: type: integer labels: type: array - items: *164 + items: *166 examples: default: value: @@ -23621,9 +23893,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 +23903,7 @@ paths: schema: type: string responses: - '200': *165 + '200': *167 '404': *6 '422': *7 x-github: @@ -23656,7 +23928,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 +23946,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 +23996,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 +24019,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 +24054,7 @@ paths: - key_id - key examples: - default: &390 + default: &392 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -23807,8 +24079,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 +24092,7 @@ paths: description: Response content: application/json: - schema: *166 + schema: *168 examples: default: value: @@ -23850,8 +24122,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 +24180,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *168 + schema: *170 examples: default: value: @@ -23934,8 +24206,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 +24233,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 +24252,9 @@ paths: type: integer repositories: type: array - items: *159 + items: *161 examples: - default: &171 + default: &173 value: total_count: 1 repositories: @@ -24074,8 +24346,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 +24399,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 +24433,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 +24466,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 +24491,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 +24555,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 +24576,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 +24624,7 @@ paths: description: Response when creating a variable content: application/json: - schema: *168 + schema: *170 examples: default: value: @@ -24377,8 +24649,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 +24662,7 @@ paths: description: Response content: application/json: - schema: *169 + schema: *171 examples: default: value: @@ -24420,8 +24692,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 +24755,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 +24782,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 +24801,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 +24829,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 +24879,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 +24914,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 +24956,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 +25079,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 +25125,7 @@ paths: required: - total_count examples: - default: &173 + default: &175 value: total_count: 1 deployment_records: @@ -24890,7 +25162,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 +25305,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 +25356,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 +25519,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 +25544,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 +25566,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 +25651,7 @@ paths: - *17 - *47 - *48 - - *76 + - *78 requestBody: required: true content: @@ -25403,12 +25675,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 +25724,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 +25833,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 +25898,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 +25933,7 @@ paths: - *17 - *47 - *48 - - *76 + - *78 - name: predicate_type description: |- Optional filter for fetching attestations with a given predicate type. @@ -25709,7 +25981,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 +26019,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 +26057,7 @@ paths: initiator: type: string examples: - default: &403 + default: &405 value: attestations: - bundle: @@ -25892,7 +26164,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 +26176,7 @@ paths: type: array items: *4 examples: - default: *71 + default: *73 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -25923,8 +26195,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 +26221,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 +26242,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 +26268,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 +26276,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 +26302,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 +26333,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 +26408,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 +26480,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 +26523,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 +26618,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 +26644,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 +26743,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 +26794,7 @@ paths: schema: *3 '429': description: Too Many Requests - '503': *120 + '503': *122 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -26544,7 +26816,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 +26828,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 +26858,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 +26907,7 @@ paths: type: string format: uri nullable: true - state: *174 + state: *176 examples: default: value: @@ -26645,9 +26917,9 @@ paths: description: Response content: application/json: - schema: *175 + schema: *177 examples: - default: *176 + default: *178 '400': description: Bad Request content: @@ -26659,7 +26931,7 @@ paths: content: application/json: schema: *3 - '503': *120 + '503': *122 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -26680,7 +26952,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 +26963,7 @@ paths: '204': description: Deletion successful '404': *6 - '503': *120 + '503': *122 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -26713,18 +26985,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 +27004,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 +27019,7 @@ paths: be returned. in: query required: false - schema: &431 + schema: &433 type: string description: State of a code scanning alert. enum: @@ -26770,7 +27042,7 @@ paths: be returned. in: query required: false - schema: &432 + schema: &434 type: string description: Severity of a code scanning alert. enum: @@ -26799,18 +27071,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 +27090,7 @@ paths: - open - dismissed - fixed - fixed_at: *182 + fixed_at: *184 dismissed_by: title: Simple User description: A GitHub user. @@ -26826,8 +27098,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 +27108,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 +27167,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 +27216,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 +27237,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 +27502,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 +27526,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 +27632,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 +27876,7 @@ paths: application/json: schema: *49 examples: - default: *187 + default: *189 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -27626,15 +27898,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 +27932,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 +27940,8 @@ paths: schema: type: object additionalProperties: false + required: + - selected_repository_ids properties: selected_repository_ids: type: array @@ -27712,7 +27986,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 +27995,7 @@ paths: application/json: schema: *49 examples: - default: *187 + default: *189 '304': *37 '403': *29 '404': *6 @@ -27745,7 +28019,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 +28299,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 +28330,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 +28394,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 +28440,7 @@ paths: default: value: default_for_new_repos: all - configuration: *187 + configuration: *189 '403': *29 '404': *6 x-github: @@ -28190,7 +28464,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 +28493,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 +28523,7 @@ paths: parameters: - *17 - *19 - - *76 + - *78 responses: '200': description: Response @@ -28265,7 +28539,7 @@ paths: type: integer codespaces: type: array - items: &247 + items: &249 type: object title: Codespace description: A codespace. @@ -28290,12 +28564,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 +28611,7 @@ paths: - ready - in_progress nullable: true - required: &465 + required: &467 - name - display_name - operating_system @@ -28542,7 +28816,7 @@ paths: - pulls_url - recent_folders examples: - default: &248 + default: &250 value: total_count: 3 codespaces: @@ -28974,7 +29248,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 +29315,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 +29370,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 +29422,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 +29440,7 @@ paths: type: integer secrets: type: array - items: &192 + items: &194 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -29205,7 +29479,7 @@ paths: - updated_at - visibility examples: - default: &466 + default: &468 value: total_count: 2 secrets: @@ -29218,7 +29492,7 @@ paths: updated_at: '2020-01-11T11:59:22Z' visibility: all headers: - Link: *68 + Link: *70 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -29237,13 +29511,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 +29546,7 @@ paths: - key_id - key examples: - default: &468 + default: &470 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -29295,23 +29569,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 +29605,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 +29661,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *168 + schema: *170 examples: default: value: @@ -29413,8 +29687,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 +29713,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 +29732,9 @@ paths: type: integer repositories: type: array - items: *159 + items: *161 examples: - default: *171 + default: *173 '404': *6 x-github: githubCloudOnly: false @@ -29482,8 +29756,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 +29807,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 +29841,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 +29881,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 +30022,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 +30045,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 +30062,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 +30194,7 @@ paths: type: User site_admin: false headers: - Link: *68 + Link: *70 '500': *55 '401': *25 '403': *29 @@ -29954,7 +30228,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 +30306,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 +30386,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 +30463,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 +30541,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 +30606,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 +30661,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 +30676,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 +30710,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 +30766,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 +30800,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 +30840,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 +30893,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 +30984,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 +31016,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 +31323,7 @@ paths: - date additionalProperties: true examples: - default: &336 + default: &338 value: - date: '2024-06-24' total_active_users: 24 @@ -31151,7 +31425,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 +31456,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 +31495,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 +31532,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 +31571,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 +31604,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 +31640,7 @@ paths: enum: - patch - deployment - - *203 + - *205 - name: runtime_risk in: query description: |- @@ -31375,8 +31649,8 @@ paths: Can be: `critical-resource`, `internet-exposed`, `sensitive-data`, `lateral-movement` schema: type: string - - *204 - - *205 + - *206 + - *207 - *62 - *47 - *48 @@ -31388,9 +31662,9 @@ paths: application/json: schema: type: array - items: *206 + items: *208 examples: - default: *207 + default: *209 '304': *37 '400': *14 '403': *29 @@ -31416,7 +31690,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 +31713,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 +31746,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 +31812,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 +31860,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 +31878,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 +31928,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 +31949,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 +31972,7 @@ paths: - key_id - key examples: - default: &502 + default: &504 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -31816,14 +31995,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 +32030,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 +32086,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *168 + schema: *170 examples: default: value: @@ -31931,8 +32110,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 +32135,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 +32154,9 @@ paths: type: integer repositories: type: array - items: *159 + items: *161 examples: - default: *171 + default: *173 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -31998,8 +32177,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 +32228,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 +32260,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 +32291,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 +32299,7 @@ paths: application/json: schema: type: array - items: &260 + items: &262 title: Package description: A software package type: object @@ -32170,8 +32349,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 +32369,7 @@ paths: - created_at - updated_at examples: - default: &261 + default: &263 value: - id: 197 name: hello_docker @@ -32268,7 +32447,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 +32457,7 @@ paths: application/json: schema: type: array - items: *112 + items: *114 examples: 200-response: value: @@ -32350,7 +32529,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 +32539,7 @@ paths: application/json: schema: type: array - items: &236 + items: &238 title: Organization Invitation description: Organization Invitation type: object @@ -32407,7 +32586,7 @@ paths: - invitation_teams_url - node_id examples: - default: &237 + default: &239 value: - id: 1 login: monalisa @@ -32440,7 +32619,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 +32643,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 +32653,7 @@ paths: application/json: schema: type: array - items: &213 + items: &215 title: Org Hook description: Org Hook type: object @@ -32562,7 +32741,7 @@ paths: created_at: '2011-09-06T17:26:27Z' type: Organization headers: - Link: *68 + Link: *70 '404': *6 x-github: githubCloudOnly: false @@ -32585,7 +32764,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 +32824,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 +32873,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 +32887,9 @@ paths: description: Response content: application/json: - schema: *213 + schema: *215 examples: - default: *214 + default: *216 '404': *6 x-github: githubCloudOnly: false @@ -32737,8 +32916,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 +32962,7 @@ paths: description: Response content: application/json: - schema: *213 + schema: *215 examples: default: value: @@ -32824,8 +33003,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 +33031,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 +33062,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 +33113,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 +33125,9 @@ paths: application/json: schema: type: array - items: *218 + items: *220 examples: - default: *219 + default: *221 '400': *14 '422': *15 x-github: @@ -32973,17 +33152,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 +33187,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 +33217,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 +33240,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 +33254,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 +33269,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 +33362,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 +33445,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 +33469,7 @@ paths: type: integer format: int64 examples: - default: &225 + default: &227 value: total_request_count: 34225 rate_limited_request_count: 23 @@ -33310,24 +33489,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 +33524,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 +33553,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 +33569,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 +33585,7 @@ paths: type: integer format: int64 examples: - default: &231 + default: &233 value: - timestamp: '2024-09-11T15:00:00Z' total_request_count: 34225 @@ -33442,19 +33621,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 +33650,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 +33680,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 +33760,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 +33768,7 @@ paths: application/json: schema: *22 examples: - default: &541 + default: &543 value: id: 1 account: @@ -33658,7 +33837,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 +33907,7 @@ paths: suspended_at: suspended_by: headers: - Link: *68 + Link: *70 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -33747,7 +33926,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 +33934,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 +33964,7 @@ paths: properties: {} additionalProperties: false examples: - default: &235 + default: &237 value: limit: collaborators_only origin: organization @@ -33809,18 +33988,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 +34023,9 @@ paths: description: Response content: application/json: - schema: *234 + schema: *236 examples: - default: *235 + default: *237 '422': *15 x-github: githubCloudOnly: false @@ -33864,7 +34043,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 +34067,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 +34101,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 +34126,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 +34180,7 @@ paths: description: Response content: application/json: - schema: *236 + schema: *238 examples: default: value: @@ -34055,8 +34234,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 +34265,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 +34276,9 @@ paths: application/json: schema: type: array - items: *195 + items: *197 examples: - default: &259 + default: &261 value: - id: 1 node_id: MDQ6VGVhbTE= @@ -34115,7 +34294,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 +34313,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 +34321,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 +34464,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 +34554,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 +34611,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 +34720,9 @@ paths: description: Response content: application/json: - schema: *239 + schema: *241 examples: - default: *240 + default: *242 '404': *6 '422': *7 x-github: @@ -34567,8 +34746,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 +34769,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 +34777,7 @@ paths: application/json: schema: type: array - items: *242 + items: *244 examples: default: value: @@ -34636,7 +34815,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 +34862,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 +34896,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 +34950,9 @@ paths: description: Response content: application/json: - schema: *242 + schema: *244 examples: - default: *243 + default: *245 '404': *6 '422': *7 x-github: @@ -34797,8 +34976,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 +35010,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 +35040,7 @@ paths: - closed - all default: open - - *245 + - *247 - name: type description: Can be the name of an issue type. in: query @@ -34880,7 +35059,7 @@ paths: - comments default: created - *62 - - *93 + - *95 - *17 - *19 responses: @@ -34890,11 +35069,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 +35093,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 +35131,9 @@ paths: type: array items: *4 examples: - default: *71 + default: *73 headers: - Link: *68 + Link: *70 '422': *15 x-github: githubCloudOnly: false @@ -34972,8 +35151,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 +35186,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 +35214,8 @@ paths: parameters: - *17 - *19 - - *76 - - *72 + - *78 + - *74 responses: '200': description: Response @@ -35052,9 +35231,9 @@ paths: type: integer codespaces: type: array - items: *247 + items: *249 examples: - default: *248 + default: *250 '304': *37 '500': *55 '401': *25 @@ -35079,9 +35258,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 +35293,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 +35476,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 +35552,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 +35603,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 +35626,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 +35698,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 +35727,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 +35754,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 +35780,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 +35801,7 @@ paths: application/json: schema: type: array - items: &253 + items: &255 title: Migration description: A migration. type: object @@ -35859,7 +36038,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 +36054,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 +36130,7 @@ paths: description: Response content: application/json: - schema: *253 + schema: *255 examples: default: value: @@ -36129,8 +36308,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 +36336,7 @@ paths: * `failed`, which means the migration failed. content: application/json: - schema: *253 + schema: *255 examples: default: value: @@ -36326,8 +36505,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 +36527,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 +36551,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 +36580,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 +36593,7 @@ paths: type: array items: *67 headers: - Link: *68 + Link: *70 '404': *6 x-github: githubCloudOnly: false @@ -36440,7 +36619,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 +36635,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 +36782,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 +36808,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 +36845,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 +36872,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 +36898,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 +36930,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 +36960,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 +37017,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 +37096,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 +37129,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 +37158,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 +37187,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 +37288,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 +37312,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 +37339,9 @@ paths: type: array items: *4 examples: - default: *71 + default: *73 headers: - Link: *68 + Link: *70 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -37185,8 +37364,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 +37422,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 +37480,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 +37517,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 +37544,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 +37562,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 +37627,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 +37661,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 +37695,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 +37717,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 +37842,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 +37857,7 @@ paths: description: Response content: application/json: - schema: *264 + schema: *266 examples: default: value: @@ -37714,10 +37893,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 +37928,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 +37958,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 +37972,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 +37983,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 +37991,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 +37999,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 +38009,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 +38019,7 @@ paths: schema: type: string format: date-time - - &272 + - &274 name: token_id description: The ID of the token in: query @@ -37984,7 +38163,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 +38183,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 +38249,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 +38310,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 +38330,9 @@ paths: application/json: schema: type: array - items: *159 + items: *161 examples: - default: &273 + default: &275 value: - id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -38266,7 +38445,7 @@ paths: secret_scanning_delegated_alert_dismissal: status: disabled headers: - Link: *68 + Link: *70 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -38287,17 +38466,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 +38605,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 +38625,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 +38685,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 +38737,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 +38756,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 +38782,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 +38800,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 +38929,7 @@ paths: updated_at: '2020-01-10T14:59:22Z' visibility: selected headers: - Link: *68 + Link: *70 '400': *14 '404': *6 x-github: @@ -38773,7 +38952,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 +39271,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 +39312,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 +39338,7 @@ paths: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 headers: - Link: *68 + Link: *70 '404': *6 x-github: githubCloudOnly: false @@ -39181,16 +39360,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 +39391,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 +39568,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 +39592,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 +39609,7 @@ paths: application/json: schema: type: array - items: &276 + items: &278 title: Projects v2 Project description: A projects v2 project type: object @@ -39500,7 +39679,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 +39727,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 +39752,7 @@ paths: - deleted_at - deleted_by examples: - default: &277 + default: &279 value: id: 2 node_id: MDc6UHJvamVjdDEwMDI2MDM= @@ -39656,7 +39835,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 +39855,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 +39892,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 +39927,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 +39940,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 +40047,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 +40080,7 @@ paths: items: *4 requested_teams: type: array - items: *195 + items: *197 head: type: object properties: @@ -39909,7 +40088,7 @@ paths: type: string ref: type: string - repo: *80 + repo: *82 sha: type: string user: @@ -39932,7 +40111,7 @@ paths: type: string ref: type: string - repo: *80 + repo: *82 sha: type: string user: @@ -39951,7 +40130,7 @@ paths: _links: type: object properties: - comments: &281 + comments: &283 title: Link description: Hypermedia Link type: object @@ -39960,13 +40139,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 +40155,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 +40256,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 +40296,7 @@ paths: - updated_at - archived_at examples: - draft_issue: &285 + draft_issue: &287 value: id: 17 node_id: PVTI_lADOANN5s84ACbL0zgBueEI @@ -40191,8 +40370,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 +40382,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 +40532,7 @@ paths: - updated_at - project_url examples: - default: &720 + default: &722 value: - id: 12345 node_id: PVTF_lADOABCD1234567890 @@ -40464,7 +40643,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 +40662,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 +40709,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 +40746,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 +40796,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 +40823,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 +40847,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 +40858,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 +40867,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 +40876,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 +40910,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 +40955,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 +41006,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 +41027,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 +41060,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 +41076,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 +41119,7 @@ paths: - updated_at - archived_at examples: - default: &287 + default: &289 value: id: 13 node_id: PVTI_lAAFAQ0 @@ -41617,7 +41796,7 @@ paths: data_type: sub_issues_progress value: headers: - Link: *68 + Link: *70 '304': *37 '403': *29 '401': *25 @@ -41637,8 +41816,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 +41887,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 +41922,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 +41950,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 +41973,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 +42045,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 +42071,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 +42096,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 +42168,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 +42266,7 @@ paths: examples: table_view: summary: Response for creating a table view - value: &289 + value: &291 value: id: 1 number: 1 @@ -42133,10 +42312,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 +42343,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 +42377,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 +42404,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 +42412,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 +42480,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 +42529,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 +42540,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 +42570,9 @@ paths: application/json: schema: type: array - items: *290 + items: *292 examples: - default: *291 + default: *293 '403': *29 '404': *6 x-github: @@ -42414,8 +42593,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 +42606,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 +42642,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 +42714,9 @@ paths: description: Response content: application/json: - schema: *290 + schema: *292 examples: - default: *293 + default: *295 '403': *29 '404': *6 x-github: @@ -42560,8 +42739,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 +42763,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 +42801,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 +42840,7 @@ paths: - property_name: team value: octocat headers: - Link: *68 + Link: *70 '403': *29 '404': *6 x-github: @@ -42689,7 +42868,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 +42888,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 +42929,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 +42941,9 @@ paths: type: array items: *4 examples: - default: *71 + default: *73 headers: - Link: *68 + Link: *70 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -42781,8 +42960,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 +42985,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 +43007,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 +43032,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 +43078,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 +43101,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 +43282,7 @@ paths: description: Response content: application/json: - schema: &345 + schema: &347 title: Full Repository description: Full Repository type: object @@ -43388,8 +43567,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 +43652,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 +43662,8 @@ paths: properties: *20 required: *21 nullable: true - parent: *80 - source: *80 + parent: *82 + source: *82 forks: type: integer master_branch: @@ -43501,7 +43680,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 +43696,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 +43785,7 @@ paths: - network_count - subscribers_count examples: - default: &347 + default: &349 value: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -44124,10 +44303,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 +44324,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 +44359,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 +44372,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 +44442,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 +44466,7 @@ paths: match. items: type: string - - &302 + - &304 title: Organization ruleset conditions type: object description: |- @@ -44301,7 +44480,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 +44514,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 +44536,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 +44549,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 +44582,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 +44604,7 @@ paths: type: string enum: - creation - - &304 + - &306 title: update description: Only allow users with bypass permission to update matching refs. @@ -44446,7 +44625,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 +44637,7 @@ paths: type: string enum: - deletion - - &306 + - &308 title: required_linear_history description: Prevent merge commits from being pushed to matching refs. @@ -44470,7 +44649,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 +44727,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 +44751,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 +44763,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 +44869,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 +44917,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 +44929,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 +44966,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 +45003,7 @@ paths: required: - operator - pattern - - &314 + - &316 title: committer_email_pattern description: Parameters to be used for the committer_email_pattern rule @@ -44861,7 +45040,7 @@ paths: required: - operator - pattern - - &315 + - &317 title: branch_name_pattern description: Parameters to be used for the branch_name_pattern rule @@ -44898,7 +45077,7 @@ paths: required: - operator - pattern - - &316 + - &318 title: tag_name_pattern description: Parameters to be used for the tag_name_pattern rule @@ -44935,7 +45114,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 +45139,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 +45163,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 +45186,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 +45211,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 +45261,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 +45322,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 +45400,7 @@ paths: category: orgs subcategory: rules parameters: - - *76 + - *78 requestBody: description: Request body required: true @@ -45242,22 +45421,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 +45454,8 @@ paths: - *321 - *322 - *323 + - *324 + - *325 required: - name - enforcement @@ -45314,9 +45493,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 +45550,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 +45566,7 @@ paths: in: query schema: type: string - - &618 + - &620 name: time_period description: |- The time period to filter by. @@ -45403,14 +45582,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 +45609,7 @@ paths: description: Response content: application/json: - schema: &621 + schema: &623 title: Rule Suites description: Response type: array @@ -45485,7 +45664,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 +45707,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 +45724,7 @@ paths: description: Response content: application/json: - schema: &624 + schema: &626 title: Rule Suite description: Response type: object @@ -45644,7 +45823,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 +45884,7 @@ paths: category: orgs subcategory: rules parameters: - - *76 + - *78 - name: ruleset_id description: The ID of the ruleset. in: path @@ -45717,9 +45896,9 @@ paths: description: Response content: application/json: - schema: *324 + schema: *326 examples: - default: *325 + default: *327 '404': *6 '500': *55 put: @@ -45737,7 +45916,7 @@ paths: category: orgs subcategory: rules parameters: - - *76 + - *78 - name: ruleset_id description: The ID of the ruleset. in: path @@ -45763,16 +45942,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 +45986,9 @@ paths: description: Response content: application/json: - schema: *324 + schema: *326 examples: - default: *325 + default: *327 '404': *6 '422': *15 '500': *55 @@ -45828,7 +46007,7 @@ paths: category: orgs subcategory: rules parameters: - - *76 + - *78 - name: ruleset_id description: The ID of the ruleset. in: path @@ -45851,7 +46030,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 +46046,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 +46070,7 @@ paths: type: string format: date-time examples: - default: &627 + default: &629 value: - version_id: 3 actor: @@ -45926,7 +46105,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 +46123,9 @@ paths: description: Response content: application/json: - schema: &628 + schema: &630 allOf: - - *327 + - *329 - type: object required: - state @@ -46015,8 +46194,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 +46206,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 +46216,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 +46227,7 @@ paths: required: false schema: type: string - - &632 + - &634 name: exclude_providers in: query description: |- @@ -46059,7 +46238,7 @@ paths: required: false schema: type: string - - &633 + - &635 name: providers in: query description: |- @@ -46070,7 +46249,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 +46258,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 +46277,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 +46292,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 +46302,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 +46312,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 +46321,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 +46330,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 +46339,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 +46358,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 +46367,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 +46498,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 +46557,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 +46612,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 +46632,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 +46652,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 +46672,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 +46686,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 +46700,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 +46714,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 +46734,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 +46754,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 +46774,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 +46794,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 +47018,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 +47045,7 @@ paths: category: secret-scanning subcategory: push-protection parameters: - - *76 + - *78 responses: '200': description: Response @@ -46878,7 +47057,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 +47066,7 @@ paths: provider_pattern_overrides: type: array description: Overrides for partner patterns. - items: &328 + items: &330 type: object properties: token_type: @@ -46953,7 +47132,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 +47181,7 @@ paths: category: secret-scanning subcategory: push-protection parameters: - - *76 + - *78 requestBody: required: true content: @@ -47010,7 +47189,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 +47215,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 +47269,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 +47313,7 @@ paths: application/json: schema: type: array - items: &663 + items: &665 description: A repository security advisory. type: object properties: @@ -47336,7 +47515,7 @@ paths: login: type: string description: The username of the user credited. - type: *330 + type: *332 credits_detailed: type: array nullable: true @@ -47346,7 +47525,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 +47549,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 +47585,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 +47964,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 +47972,7 @@ paths: application/json: schema: type: array - items: *331 + items: *333 examples: default: value: @@ -47833,8 +48012,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 +48038,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 +48066,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 +48115,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 +48172,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 +48190,9 @@ paths: type: integer repositories: type: array - items: *159 + items: *161 examples: - default: *171 + default: *173 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -48032,7 +48211,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 +48260,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 +48283,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 +48307,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 +48325,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 +48396,7 @@ paths: - 6789ABDCEF12345 created_on: '2023-04-26T15:23:37Z' headers: - Link: *68 + Link: *70 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -48236,7 +48415,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 +48471,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 +48501,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 +48514,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 +48537,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 +48591,9 @@ paths: description: Response content: application/json: - schema: *332 + schema: *334 examples: - default: *333 + default: *335 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -48433,8 +48612,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 +48636,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 +48690,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 +48720,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 +48753,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 +48777,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 +48799,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 +48823,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 +48887,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 +48950,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 +49214,7 @@ paths: - repos_count - organization examples: - default: &339 + default: &341 value: id: 1 node_id: MDQ6VGVhbTE= @@ -49105,16 +49284,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 +49314,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 +49377,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 +49411,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 +49439,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 +49450,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 +49475,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 +49499,9 @@ paths: type: array items: *4 examples: - default: *71 + default: *73 headers: - Link: *68 + Link: *70 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -49350,15 +49529,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 +49564,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 +49600,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 +49627,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 +49664,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 +49692,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 +49703,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 +49734,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 +49766,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 +50305,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 +50353,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 +50380,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 +50391,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 +50421,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 +50446,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 +50547,7 @@ paths: resources: type: object properties: - core: &344 + core: &346 title: Rate Limit type: object properties: @@ -50385,17 +50564,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 +50676,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 +51187,7 @@ paths: status: disabled '403': *29 '404': *6 - '301': *346 + '301': *348 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -51026,8 +51205,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 +51504,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 +51536,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 +51559,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 +51583,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 +51610,7 @@ paths: type: integer artifacts: type: array - items: &349 + items: &351 title: Artifact description: An artifact type: object @@ -51509,7 +51688,7 @@ paths: - expires_at - updated_at examples: - default: &382 + default: &384 value: total_count: 2 artifacts: @@ -51548,7 +51727,7 @@ paths: head_branch: main head_sha: 178f4f6090b3fccad4a65b3e83d076a622d59652 headers: - Link: *68 + Link: *70 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -51570,9 +51749,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 +51763,7 @@ paths: description: Response content: application/json: - schema: *349 + schema: *351 examples: default: value: @@ -51622,9 +51801,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 +51827,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 +51839,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 +51868,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 +51908,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 +51943,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 +51983,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 +52020,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 +52053,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 +52091,7 @@ paths: description: Response content: application/json: - schema: &355 + schema: &357 title: Repository actions caches description: Repository actions caches type: object @@ -51954,7 +52133,7 @@ paths: - total_count - actions_caches examples: - default: &356 + default: &358 value: total_count: 1 actions_caches: @@ -51966,7 +52145,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 +52165,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 +52201,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 +52233,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 +52247,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 +52554,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 +52584,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 +52607,7 @@ paths: description: Response content: application/json: - schema: *168 + schema: *170 examples: default: value: @@ -52452,8 +52631,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 @@ -52474,6 +52653,15 @@ paths: type: array items: type: string + use_immutable_subject: + description: Whether the repository has opted in to the immutable + OIDC subject claim format. When `true`, OIDC tokens will use + a stable, repository-ID-based `sub` claim. If not set at the + repository level, falls back to the organization-level setting. + type: boolean + sub_claim_prefix: + description: The current `sub` claim prefix for this repository. + type: string required: - use_default examples: @@ -52503,8 +52691,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: @@ -52526,6 +52714,11 @@ paths: type: array items: type: string + use_immutable_subject: + description: Whether to opt in to the immutable OIDC subject claim + format for this repository. When `true`, OIDC tokens will use + a stable, repository-ID-based `sub` claim. + type: boolean examples: default: value: @@ -52538,7 +52731,7 @@ paths: description: Empty response content: application/json: - schema: *168 + schema: *170 examples: default: value: @@ -52567,8 +52760,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 +52779,7 @@ paths: type: integer secrets: type: array - items: &387 + items: &389 title: Actions Secret description: Set secrets for GitHub Actions. type: object @@ -52606,7 +52799,7 @@ paths: - created_at - updated_at examples: - default: &388 + default: &390 value: total_count: 2 secrets: @@ -52617,7 +52810,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 +52832,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 +52851,7 @@ paths: type: integer variables: type: array - items: &391 + items: &393 title: Actions Variable type: object properties: @@ -52688,7 +52881,7 @@ paths: - created_at - updated_at examples: - default: &392 + default: &394 value: total_count: 2 variables: @@ -52701,7 +52894,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 +52914,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 +52924,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 +52957,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 +52969,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 +53001,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 +53025,7 @@ paths: required: - access_level examples: - default: &362 + default: &364 value: access_level: organization x-github: @@ -52856,15 +53049,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 +53081,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 +53112,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 +53123,7 @@ paths: required: true content: application/json: - schema: *364 + schema: *366 examples: default: summary: Set retention days @@ -52954,16 +53147,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 +53175,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 +53186,7 @@ paths: required: true content: application/json: - schema: *146 + schema: *148 examples: default: summary: Set approval policy to first time contributors @@ -53017,16 +53210,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 +53239,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 +53271,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 +53299,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 +53308,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 +53332,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 +53362,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 +53374,9 @@ paths: required: true content: application/json: - schema: *369 + schema: *371 examples: - default: *154 + default: *156 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -53210,8 +53403,8 @@ paths: in: query schema: type: string - - *342 - - *343 + - *344 + - *345 - *17 - *19 responses: @@ -53229,11 +53422,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 +53448,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 +53457,9 @@ paths: application/json: schema: type: array - items: *370 + items: *372 examples: - default: *371 + default: *373 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -53288,8 +53481,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 +53525,7 @@ paths: - no-gpu work_folder: _work responses: - '201': *372 + '201': *374 '404': *6 '422': *7 '409': *54 @@ -53363,16 +53556,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 +53593,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 +53624,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 +53655,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 +53683,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 +53709,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 +53735,7 @@ paths: - gpu - accelerated responses: - '200': *165 + '200': *167 '404': *6 '422': *7 x-github: @@ -53566,9 +53759,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 +53786,7 @@ paths: - gpu - accelerated responses: - '200': *165 + '200': *167 '404': *6 '422': *7 x-github: @@ -53617,11 +53810,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 +53841,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 +53872,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 +53882,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 +53890,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 +53899,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 +53926,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 +53935,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 +53944,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 +53973,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 +54068,7 @@ paths: that triggered the run. type: array nullable: true - items: *91 + items: *93 created_at: type: string format: date-time @@ -53928,7 +54121,7 @@ paths: title: Simple Commit description: A commit. type: object - properties: &423 + properties: &425 id: type: string description: SHA for the commit @@ -53979,7 +54172,7 @@ paths: - name - email nullable: true - required: &424 + required: &426 - id - tree_id - message @@ -53987,8 +54180,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 +54219,7 @@ paths: - workflow_url - pull_requests examples: - default: &402 + default: &404 value: total_count: 1 workflow_runs: @@ -54240,7 +54433,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 +54455,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 +54713,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 +54738,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 +54859,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 +54894,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 +54916,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 +54942,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 +54983,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 +55004,9 @@ paths: type: integer jobs: type: array - items: *385 + items: *387 examples: - default: &386 + default: &388 value: total_count: 1 jobs: @@ -54902,7 +55095,7 @@ paths: workflow_name: CI head_branch: main headers: - Link: *68 + Link: *70 '404': *6 x-github: githubCloudOnly: false @@ -54926,10 +55119,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 +55150,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 +55185,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 +55254,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 +55289,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 +55321,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 +55348,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 +55377,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 +55406,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 +55468,7 @@ paths: items: type: object properties: - type: &511 + type: &513 type: string description: The type of reviewer. enum: @@ -55285,7 +55478,7 @@ paths: reviewer: anyOf: - *4 - - *195 + - *197 required: - environment - wait_timer @@ -55360,9 +55553,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 +55602,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 +55690,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 +55708,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 +55764,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 +55787,7 @@ paths: description: Response content: application/json: - schema: *168 + schema: *170 examples: default: value: @@ -55617,9 +55810,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 +55833,7 @@ paths: description: Response content: application/json: - schema: *168 + schema: *170 examples: default: value: @@ -55672,9 +55865,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 +56004,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 +56023,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 +56050,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 +56081,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 +56117,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 +56150,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *168 + schema: *170 examples: default: value: @@ -55983,9 +56176,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 +56203,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 +56222,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 +56247,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 +56275,7 @@ paths: description: Response content: application/json: - schema: *168 + schema: *170 examples: default: value: @@ -56107,17 +56300,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 +56336,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 +56380,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 +56407,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 +56426,7 @@ paths: type: integer workflows: type: array - items: &393 + items: &395 title: Workflow description: A GitHub Actions workflow type: object @@ -56317,7 +56510,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 +56533,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 +56550,7 @@ paths: description: Response content: application/json: - schema: *393 + schema: *395 examples: default: value: @@ -56390,9 +56583,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,13 +56610,12 @@ 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` - parameter is `true`. + description: Response including the workflow run ID and URLs. content: application/json: schema: @@ -56500,9 +56692,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 +56721,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 +56749,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 +56783,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 +56846,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 +56992,7 @@ paths: type: User site_admin: false headers: - Link: *68 + Link: *70 '422': *7 x-github: githubCloudOnly: false @@ -56819,8 +57011,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 +57024,9 @@ paths: type: array items: *4 examples: - default: *71 + default: *73 headers: - Link: *68 + Link: *70 '404': *6 x-github: githubCloudOnly: false @@ -56857,8 +57049,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 +57086,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 +57197,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 +57239,7 @@ paths: initiator: type: string examples: - default: *403 + default: *405 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -57067,8 +57259,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 +57268,7 @@ paths: application/json: schema: type: array - items: &404 + items: &406 title: Autolink reference description: An autolink reference. type: object @@ -57130,8 +57322,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 +57362,9 @@ paths: description: response content: application/json: - schema: *404 + schema: *406 examples: - default: &405 + default: &407 value: id: 1 key_prefix: TICKET- @@ -57203,9 +57395,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 +57409,9 @@ paths: description: Response content: application/json: - schema: *404 + schema: *406 examples: - default: *405 + default: *407 '404': *6 x-github: githubCloudOnly: false @@ -57239,9 +57431,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 +57457,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 +57506,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 +57528,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 +57549,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 +57588,7 @@ paths: - url protected: type: boolean - protection: &408 + protection: &410 title: Branch Protection description: Branch Protection type: object @@ -57438,7 +57630,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 +57645,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 +57666,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 +57695,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 +57721,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 +57784,7 @@ paths: type: string teams: type: array - items: *195 + items: *197 apps: type: array items: @@ -57788,7 +57980,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 +57998,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 +58014,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 +58055,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 +58071,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 +58092,7 @@ paths: required: - sha - url - verification: &531 + verification: &533 title: Verification type: object properties: @@ -57934,12 +58126,12 @@ paths: nullable: true oneOf: - *4 - - *168 + - *170 committer: nullable: true oneOf: - *4 - - *168 + - *170 parents: type: array items: @@ -57970,7 +58162,7 @@ paths: type: integer files: type: array - items: &489 + items: &491 title: Diff Entry description: Diff Entry type: object @@ -58054,7 +58246,7 @@ paths: - self protected: type: boolean - protection: *408 + protection: *410 protection_url: type: string format: uri @@ -58161,7 +58353,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 +58375,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 +58577,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 +58834,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 +58910,7 @@ paths: items: *4 teams: type: array - items: *195 + items: *197 apps: type: array items: *5 @@ -58736,7 +58928,7 @@ paths: items: *4 teams: type: array - items: *195 + items: *197 apps: type: array items: *5 @@ -58794,7 +58986,7 @@ paths: additionalProperties: false required: - enabled - restrictions: *410 + restrictions: *412 required_conversation_resolution: type: object properties: @@ -58906,9 +59098,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 +59125,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 +59157,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 +59186,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 +59213,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 +59319,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 +59419,9 @@ paths: description: Response content: application/json: - schema: *413 + schema: *415 examples: - default: *414 + default: *416 '422': *15 x-github: githubCloudOnly: false @@ -59250,9 +59442,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 +59471,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 +59504,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 +59534,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 +59561,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 +59597,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 +59651,9 @@ paths: description: Response content: application/json: - schema: *416 + schema: *418 examples: - default: *417 + default: *419 '404': *6 '422': *15 x-github: @@ -59483,9 +59675,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 +59701,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 +59737,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 +59806,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 +59872,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 +59940,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 +60039,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 +60064,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 +60076,7 @@ paths: type: array items: *5 examples: - default: &418 + default: &420 value: - id: 1 slug: octoapp @@ -59941,9 +60133,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 +60169,7 @@ paths: type: array items: *5 examples: - default: *418 + default: *420 '422': *15 x-github: githubCloudOnly: false @@ -59998,9 +60190,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 +60226,7 @@ paths: type: array items: *5 examples: - default: *418 + default: *420 '422': *15 x-github: githubCloudOnly: false @@ -60055,9 +60247,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 +60283,7 @@ paths: type: array items: *5 examples: - default: *418 + default: *420 '422': *15 x-github: githubCloudOnly: false @@ -60113,9 +60305,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 +60315,9 @@ paths: application/json: schema: type: array - items: *195 + items: *197 examples: - default: *259 + default: *261 '404': *6 x-github: githubCloudOnly: false @@ -60145,9 +60337,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 +60375,9 @@ paths: application/json: schema: type: array - items: *195 + items: *197 examples: - default: *259 + default: *261 '422': *15 x-github: githubCloudOnly: false @@ -60206,9 +60398,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 +60436,9 @@ paths: application/json: schema: type: array - items: *195 + items: *197 examples: - default: *259 + default: *261 '422': *15 x-github: githubCloudOnly: false @@ -60267,9 +60459,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 +60496,9 @@ paths: application/json: schema: type: array - items: *195 + items: *197 examples: - default: *259 + default: *261 '422': *15 x-github: githubCloudOnly: false @@ -60328,9 +60520,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 +60532,7 @@ paths: type: array items: *4 examples: - default: *71 + default: *73 '404': *6 x-github: githubCloudOnly: false @@ -60364,9 +60556,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 +60591,7 @@ paths: type: array items: *4 examples: - default: *71 + default: *73 '422': *15 x-github: githubCloudOnly: false @@ -60424,9 +60616,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 +60651,7 @@ paths: type: array items: *4 examples: - default: *71 + default: *73 '422': *15 x-github: githubCloudOnly: false @@ -60484,9 +60676,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 +60711,7 @@ paths: type: array items: *4 examples: - default: *71 + default: *73 '422': *15 x-github: githubCloudOnly: false @@ -60546,9 +60738,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 +60762,7 @@ paths: description: Response content: application/json: - schema: *419 + schema: *421 examples: default: value: @@ -60686,8 +60878,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 +61158,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 +61269,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 +61345,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 +61558,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 +61572,9 @@ paths: description: Response content: application/json: - schema: *420 + schema: *422 examples: - default: &422 + default: &424 value: id: 4 head_sha: ce587453ced02b1526dfb4cb910479d431683101 @@ -61482,9 +61674,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 +61916,9 @@ paths: description: Response content: application/json: - schema: *420 + schema: *422 examples: - default: *422 + default: *424 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -61746,9 +61938,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 +62015,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 +62035,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 +62081,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 +62104,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 +62168,7 @@ paths: nullable: true pull_requests: type: array - items: *91 + items: *93 nullable: true app: title: GitHub app @@ -61987,9 +62179,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 +62190,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 +62223,7 @@ paths: - check_runs_url - pull_requests examples: - default: &426 + default: &428 value: id: 5 node_id: MDEwOkNoZWNrU3VpdGU1 @@ -62322,9 +62514,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 +62535,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 +62597,7 @@ paths: required: - app_id - setting - repository: *159 + repository: *161 examples: default: value: @@ -62653,9 +62845,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 +62859,9 @@ paths: description: Response content: application/json: - schema: *425 + schema: *427 examples: - default: *426 + default: *428 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -62692,17 +62884,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 +62933,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 +63017,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 +63037,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 +63072,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 +63111,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 +63136,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 +63151,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 +63282,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 +63309,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 +63319,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 +63343,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 +63399,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 +63499,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 +63519,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 +63536,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 +63565,7 @@ paths: description: Response content: application/json: - schema: *441 + schema: *443 examples: default: value: @@ -63449,14 +63641,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 +63668,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 +63702,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 +63719,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 +63744,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 +63776,7 @@ paths: '404': *6 '422': description: Unprocessable Entity - '503': *120 + '503': *122 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -63606,9 +63798,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 +63845,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 +63870,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 +63887,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 +63905,7 @@ paths: properties: text: type: string - location: *451 + location: *453 html_url: type: string classifications: @@ -63721,7 +63913,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 +63950,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 +63984,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 +64023,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 +64063,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 +64125,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 +64161,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 +64175,7 @@ paths: description: Response content: application/json: - schema: *454 + schema: *456 examples: response: summary: application/json response @@ -64037,14 +64229,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 +64316,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 +64370,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 +64392,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 +64401,7 @@ paths: application/json: schema: type: array - items: &455 + items: &457 title: CodeQL Database description: A CodeQL database. type: object @@ -64320,9 +64512,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 +64541,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 +64554,7 @@ paths: description: Response content: application/json: - schema: *455 + schema: *457 examples: default: value: @@ -64394,11 +64586,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 +64610,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 +64621,9 @@ paths: responses: '204': description: Response - '403': *445 + '403': *447 '404': *6 - '503': *120 + '503': *122 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -64457,8 +64649,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 +64659,7 @@ paths: type: object additionalProperties: false properties: - language: &456 + language: &458 type: string description: The language targeted by the CodeQL query enum: @@ -64547,7 +64739,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 +64749,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 +64796,7 @@ paths: items: type: object properties: - repository: &457 + repository: &459 title: Repository Identifier description: Repository Identifier type: object @@ -64640,7 +64832,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 +64864,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 +64878,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 +64900,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 +64917,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 +65063,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 +65094,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 +65107,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 +65132,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 +65167,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 +65271,7 @@ paths: source_location_prefix: "/" artifact_url: https://example.com '404': *6 - '503': *120 + '503': *122 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -65100,8 +65292,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 +65376,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 +65397,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 +65465,7 @@ paths: description: Response content: application/json: - schema: *168 + schema: *170 examples: default: value: @@ -65298,7 +65490,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 +65504,7 @@ paths: content: application/json: schema: *3 - '503': *120 + '503': *122 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -65369,8 +65561,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 +65570,7 @@ paths: schema: type: object properties: - commit_sha: *462 + commit_sha: *464 ref: type: string description: |- @@ -65436,7 +65628,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 +65642,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 +65665,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 +65712,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 +65737,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 +65819,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 +65940,8 @@ paths: parameters: - *17 - *19 - - *342 - - *343 + - *344 + - *345 responses: '200': description: Response @@ -65765,7 +65957,7 @@ paths: type: integer codespaces: type: array - items: *247 + items: *249 examples: default: value: @@ -66063,8 +66255,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 +66319,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 +66358,8 @@ paths: parameters: - *17 - *19 - - *342 - - *343 + - *344 + - *345 responses: '200': description: Response @@ -66231,8 +66423,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 +66459,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 +66506,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 +66591,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 +66637,7 @@ paths: '403': *29 '404': *6 '422': *15 - '503': *120 + '503': *122 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -66466,8 +66658,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 +66677,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 +66697,9 @@ paths: - created_at - updated_at examples: - default: *466 + default: *468 headers: - Link: *68 + Link: *70 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -66528,16 +66720,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 +66749,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 +66779,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 +66809,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *168 + schema: *170 examples: default: value: @@ -66641,9 +66833,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 +66863,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 +66906,7 @@ paths: title: Collaborator description: Collaborator type: object - properties: &471 + properties: &473 login: type: string example: octocat @@ -66807,7 +66999,7 @@ paths: user_view_type: type: string example: public - required: &472 + required: &474 - avatar_url - events_url - followers_url @@ -66856,7 +67048,7 @@ paths: admin: false role_name: write headers: - Link: *68 + Link: *70 '404': *6 x-github: githubCloudOnly: false @@ -66881,9 +67073,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 +67121,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 +67149,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 +67160,7 @@ paths: example: 42 type: integer format: int64 - repository: *159 + repository: *161 invitee: title: Simple User description: A GitHub user. @@ -67146,7 +67338,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 +67378,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 +67411,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 +67433,8 @@ paths: title: Collaborator description: Collaborator type: object - properties: *471 - required: *472 + properties: *473 + required: *474 nullable: true required: - permission @@ -67297,8 +67489,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 +67500,7 @@ paths: application/json: schema: type: array - items: &473 + items: &475 title: Commit Comment description: Commit Comment type: object @@ -67349,8 +67541,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 +67558,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 +67592,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 +67617,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 +67684,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 +67708,7 @@ paths: description: Response content: application/json: - schema: *473 + schema: *475 examples: default: value: @@ -67567,9 +67759,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 +67782,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 +67810,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 +67853,7 @@ paths: - content - created_at examples: - default: &548 + default: &550 value: - id: 1 node_id: MDg6UmVhY3Rpb24x @@ -67687,7 +67879,7 @@ paths: content: heart created_at: '2016-05-20T20:09:31Z' headers: - Link: *68 + Link: *70 '404': *6 x-github: githubCloudOnly: false @@ -67706,9 +67898,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 +67932,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 +67963,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 +67987,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 +68045,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 +68102,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 +68174,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 +68198,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 +68272,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 +68284,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 +68314,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 +68351,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 +68381,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 +68393,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 +68874,7 @@ paths: auto_merge: draft: false headers: - Link: *68 + Link: *70 '409': *54 x-github: githubCloudOnly: false @@ -68740,11 +68932,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 +68951,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 +69041,7 @@ paths: schema: type: string examples: - default: &490 + default: &492 value: | diff --git a/testfile b/testfile index 9bdeaeb..912c7ef 100644 @@ -68862,7 +69054,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 +69081,7 @@ paths: '422': *15 '404': *6 '500': *55 - '503': *120 + '503': *122 '409': *54 x-github: githubCloudOnly: false @@ -68915,11 +69107,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 +69145,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 +69172,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 +69182,7 @@ paths: schema: type: integer example: 1 - - *482 + - *484 - *17 - *19 responses: @@ -69008,7 +69200,7 @@ paths: type: integer check_suites: type: array - items: *425 + items: *427 examples: default: value: @@ -69183,7 +69375,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 +69400,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 +69469,7 @@ paths: type: string total_count: type: integer - repository: *159 + repository: *161 commit_url: type: string format: uri @@ -69408,9 +69600,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 +69612,7 @@ paths: application/json: schema: type: array - items: &668 + items: &670 title: Status description: The status of a commit. type: object @@ -69500,8 +69692,8 @@ paths: type: User site_admin: false headers: - Link: *68 - '301': *346 + Link: *70 + '301': *348 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -69529,8 +69721,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 +69751,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 +69772,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 +69924,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 +69968,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 +69989,10 @@ paths: example: 6 commits: type: array - items: *476 + items: *478 files: type: array - items: *489 + items: *491 required: - url - html_url @@ -70046,15 +70238,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 +70288,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 +70449,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 +70581,7 @@ paths: - size - type - url - - &605 + - &607 title: Content File description: Content File type: object @@ -70590,7 +70782,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 +70851,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 +70874,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 +70968,7 @@ paths: description: Response content: application/json: - schema: &494 + schema: &496 title: File Commit description: File Commit type: object @@ -70928,7 +71120,7 @@ paths: description: Response content: application/json: - schema: *494 + schema: *496 examples: example-for-creating-a-file: value: @@ -70982,7 +71174,7 @@ paths: schema: oneOf: - *3 - - &526 + - &528 description: Repository rule violation was detected type: object properties: @@ -71003,7 +71195,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 +71227,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 +71289,7 @@ paths: description: Response content: application/json: - schema: *494 + schema: *496 examples: default: value: @@ -71132,7 +71324,7 @@ paths: '422': *15 '404': *6 '409': *54 - '503': *120 + '503': *122 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71152,8 +71344,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 +71445,7 @@ paths: site_admin: false contributions: 32 headers: - Link: *68 + Link: *70 '204': description: Response if repository is empty '403': *29 @@ -71276,24 +71468,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 +71497,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 +71544,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 +71574,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 +71831,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 +71842,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 +71980,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 +72038,7 @@ paths: description: Response content: application/json: - schema: *499 + schema: *501 examples: default: value: @@ -71976,8 +72168,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 +72187,7 @@ paths: type: integer secrets: type: array - items: &503 + items: &505 title: Dependabot Secret description: Set secrets for Dependabot. type: object @@ -72026,7 +72218,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 +72240,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 +72269,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 +72303,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 +72333,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *168 + schema: *170 examples: default: value: @@ -72165,9 +72357,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 +72381,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 +72518,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 +72542,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 +72759,7 @@ paths: spdxElementId: SPDXRef-DOCUMENT relatedSpdxElement: SPDXRef-Repository headers: - Link: *68 + Link: *70 '404': *6 '403': *29 x-github: @@ -72589,8 +72781,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 +72793,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 +72814,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 +72853,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 +72929,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 +72962,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 +72975,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 +73104,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 +73145,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 +73213,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 +73295,7 @@ paths: description: Response content: application/json: - schema: *506 + schema: *508 examples: simple-example: summary: Simple example @@ -73176,9 +73368,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 +73382,7 @@ paths: description: Response content: application/json: - schema: *506 + schema: *508 examples: default: value: @@ -73255,9 +73447,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 +73471,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 +73483,7 @@ paths: application/json: schema: type: array - items: &509 + items: &511 title: Deployment Status description: The status of a deployment. type: object @@ -73382,8 +73574,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 +73624,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 +73644,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 +73721,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 +73779,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 +73792,9 @@ paths: description: Response content: application/json: - schema: *509 + schema: *511 examples: - default: *510 + default: *512 '404': *6 x-github: githubCloudOnly: false @@ -73627,8 +73819,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 +73877,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 +73895,7 @@ paths: type: integer environments: type: array - items: &512 + items: &514 title: Environment description: Details of a deployment environment type: object @@ -73755,7 +73947,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 +73984,11 @@ paths: items: type: object properties: - type: *511 + type: *513 reviewer: anyOf: - *4 - - *195 + - *197 required: - id - node_id @@ -73816,7 +74008,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 +74124,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 +74139,9 @@ paths: description: Response content: application/json: - schema: *512 + schema: *514 examples: - default: &516 + default: &518 value: id: 161088068 node_id: MDExOkVudmlyb25tZW50MTYxMDg4MDY4 @@ -74033,9 +74225,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 +74236,7 @@ paths: type: object nullable: true properties: - wait_timer: *514 + wait_timer: *516 prevent_self_review: type: boolean example: false @@ -74061,13 +74253,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 +74279,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 +74305,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 +74332,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 +74352,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 +74409,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 +74457,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 +74501,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 +74516,9 @@ paths: description: Response content: application/json: - schema: *517 + schema: *519 examples: - default: *518 + default: *520 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74345,10 +74537,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 +74568,9 @@ paths: description: Response content: application/json: - schema: *517 + schema: *519 examples: - default: *518 + default: *520 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74397,10 +74589,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 +74617,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 +74635,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 +74654,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 +74753,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 +74776,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 +74813,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 +74834,7 @@ paths: example: 35 available_custom_deployment_protection_rule_integrations: type: array - items: *521 + items: *523 examples: default: value: @@ -74677,10 +74869,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 +74884,9 @@ paths: description: Response content: application/json: - schema: *520 + schema: *522 examples: - default: *522 + default: *524 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74715,10 +74907,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 +74936,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 +74956,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 +74983,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 +75015,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 +75048,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 +75082,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *168 + schema: *170 examples: default: value: @@ -74916,10 +75108,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 +75136,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 +75156,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 +75181,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 +75210,7 @@ paths: description: Response content: application/json: - schema: *168 + schema: *170 examples: default: value: @@ -75043,18 +75235,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 +75267,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 +75312,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 +75337,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 +75348,7 @@ paths: application/json: schema: type: array - items: *112 + items: *114 examples: 200-response: value: @@ -75214,8 +75406,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 +75429,7 @@ paths: application/json: schema: type: array - items: *159 + items: *161 examples: default: value: @@ -75350,7 +75542,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 +75566,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 +75599,9 @@ paths: description: Response content: application/json: - schema: *345 + schema: *347 examples: - default: *347 + default: *349 '400': *14 '422': *15 '403': *29 @@ -75430,8 +75622,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 +75682,8 @@ paths: application/json: schema: oneOf: - - *128 - - *526 + - *130 + - *528 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75516,8 +75708,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 +75808,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 +75918,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 +76132,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 +76196,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 +76215,7 @@ paths: application/json: schema: type: array - items: &529 + items: &531 title: Git Reference description: Git references within a repository type: object @@ -76076,7 +76268,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 +76290,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 +76329,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 +76359,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 +76387,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 +76418,9 @@ paths: description: Response content: application/json: - schema: *529 + schema: *531 examples: - default: *530 + default: *532 '422': *15 '409': *54 x-github: @@ -76246,9 +76438,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 +76495,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 +76563,7 @@ paths: description: Response content: application/json: - schema: &532 + schema: &534 title: Git Tag description: Metadata for a Git tag type: object @@ -76422,7 +76614,7 @@ paths: - sha - type - url - verification: *531 + verification: *533 required: - sha - url @@ -76432,7 +76624,7 @@ paths: - tag - message examples: - default: &533 + default: &535 value: node_id: MDM6VGFnOTQwYmQzMzYyNDhlZmFlMGY5ZWU1YmM3YjJkNWM5ODU4ODdiMTZhYw== tag: v0.0.1 @@ -76505,8 +76697,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 +76709,9 @@ paths: description: Response content: application/json: - schema: *532 + schema: *534 examples: - default: *533 + default: *535 '404': *6 '409': *54 x-github: @@ -76543,8 +76735,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 +76809,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 +76905,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 +76929,7 @@ paths: description: Response content: application/json: - schema: *534 + schema: *536 examples: default-response: summary: Default response @@ -76796,8 +76988,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 +76999,7 @@ paths: application/json: schema: type: array - items: &535 + items: &537 title: Webhook description: Webhooks for repositories. type: object @@ -76861,7 +77053,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 +77108,7 @@ paths: status: unused message: headers: - Link: *68 + Link: *70 '404': *6 x-github: githubCloudOnly: false @@ -76935,8 +77127,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 +77180,9 @@ paths: description: Response content: application/json: - schema: *535 + schema: *537 examples: - default: &536 + default: &538 value: type: Repository id: 12345678 @@ -77038,17 +77230,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 +77260,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 +77307,9 @@ paths: description: Response content: application/json: - schema: *535 + schema: *537 examples: - default: *536 + default: *538 '422': *15 '404': *6 x-github: @@ -77138,9 +77330,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 +77356,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 +77385,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 +77431,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 +77444,9 @@ paths: application/json: schema: type: array - items: *218 + items: *220 examples: - default: *219 + default: *221 '400': *14 '422': *15 x-github: @@ -77273,18 +77465,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 +77495,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 +77520,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 +77547,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 +77572,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 +77619,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 +77640,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 +77698,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 +77804,7 @@ paths: - html_url - authors_url examples: - default: &540 + default: &542 value: vcs: subversion use_lfs: true @@ -77628,7 +77820,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 +77849,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 +77898,7 @@ paths: description: Response content: application/json: - schema: *537 + schema: *539 examples: default: value: @@ -77731,7 +77923,7 @@ paths: type: string '422': *15 '404': *6 - '503': *538 + '503': *540 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77759,8 +77951,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 +78001,7 @@ paths: description: Response content: application/json: - schema: *537 + schema: *539 examples: example-1: summary: Example 1 @@ -77857,7 +78049,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 +78072,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 +78103,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 +78119,7 @@ paths: application/json: schema: type: array - items: &539 + items: &541 title: Porter Author description: Porter Author type: object @@ -77981,7 +78173,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 +78198,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 +78229,7 @@ paths: description: Response content: application/json: - schema: *539 + schema: *541 examples: default: value: @@ -78050,7 +78242,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 +78266,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 +78308,7 @@ paths: path: foo/bar/3 oid: c20ad4d76fe97759aa27a0c99bff6710 size: 12582912 - '503': *538 + '503': *540 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -78144,8 +78336,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 +78364,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 +78391,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 +78400,8 @@ paths: application/json: schema: *22 examples: - default: *541 - '301': *346 + default: *543 + '301': *348 '404': *6 x-github: githubCloudOnly: false @@ -78229,8 +78421,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 +78430,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 +78460,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 +78478,9 @@ paths: description: Response content: application/json: - schema: *234 + schema: *236 examples: - default: *543 + default: *545 '409': description: Response x-github: @@ -78310,8 +78502,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 +78526,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 +78537,9 @@ paths: application/json: schema: type: array - items: *544 + items: *546 examples: - default: &702 + default: &704 value: - id: 1 repository: @@ -78461,7 +78653,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 +78670,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 +78701,7 @@ paths: description: Response content: application/json: - schema: *544 + schema: *546 examples: default: value: @@ -78640,9 +78832,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 +78865,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 +78914,7 @@ paths: required: false schema: type: string - - *245 + - *247 - name: sort description: What to sort results by. in: query @@ -78735,7 +78927,7 @@ paths: - comments default: created - *62 - - *93 + - *95 - *17 - *19 responses: @@ -78745,9 +78937,9 @@ paths: application/json: schema: type: array - items: *86 + items: *88 examples: - default: &556 + default: &558 value: - id: 1 node_id: MDU6SXNzdWUx @@ -78895,8 +79087,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 +79117,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 +79193,9 @@ paths: description: Response content: application/json: - schema: *86 + schema: *88 examples: - default: &553 + default: &555 value: id: 1 node_id: MDU6SXNzdWUx @@ -79139,9 +79331,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 +79361,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 +79373,7 @@ paths: enum: - asc - desc - - *93 + - *95 - *17 - *19 responses: @@ -79191,9 +79383,9 @@ paths: application/json: schema: type: array - items: *546 + items: *548 examples: - default: &555 + default: &557 value: - id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -79224,7 +79416,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 +79443,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 +79508,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 +79532,9 @@ paths: description: Response content: application/json: - schema: *546 + schema: *548 examples: - default: *547 + default: *549 '422': *15 x-github: githubCloudOnly: false @@ -79360,9 +79552,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 +79582,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 +79646,7 @@ paths: '401': *25 '403': *29 '404': *6 - '410': *545 + '410': *547 '422': *15 x-github: githubCloudOnly: false @@ -79471,17 +79663,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 +79690,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 +79718,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 +79741,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 +79775,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 +79806,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 +79829,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 +79840,7 @@ paths: application/json: schema: type: array - items: &552 + items: &554 title: Issue Event description: Issue Event type: object @@ -79691,8 +79883,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 +79928,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 +79993,7 @@ paths: required: - from - to - author_association: *83 + author_association: *85 lock_reason: type: string nullable: true @@ -79814,8 +80006,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 +80174,7 @@ paths: author_association: COLLABORATOR state_reason: completed headers: - Link: *68 + Link: *70 '422': *15 x-github: githubCloudOnly: false @@ -80000,8 +80192,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 +80204,7 @@ paths: description: Response content: application/json: - schema: *552 + schema: *554 examples: default: value: @@ -80205,7 +80397,7 @@ paths: author_association: COLLABORATOR state_reason: completed '404': *6 - '410': *545 + '410': *547 '403': *29 x-github: githubCloudOnly: false @@ -80239,9 +80431,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 +80445,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 +80629,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 +80656,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 +80777,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 +80803,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 +80831,9 @@ paths: description: Response content: application/json: - schema: *86 + schema: *88 examples: - default: *553 + default: *555 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -80657,9 +80849,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 +80876,9 @@ paths: description: Response content: application/json: - schema: *86 + schema: *88 examples: - default: *553 + default: *555 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -80708,9 +80900,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 +80942,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 +80955,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 +80990,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 +81014,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 +81051,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 +81063,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 +81098,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 +81122,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 +81163,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 +81177,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 +81211,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 +81223,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 +81247,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 +81263,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 +81294,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 +81317,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &561 + - &563 title: Unlabeled Issue Event description: Unlabeled Issue Event type: object @@ -81156,8 +81348,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 +81437,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 +81453,7 @@ paths: - performed_via_github_app - assignee - assigner - - &562 + - &564 title: Milestoned Issue Event description: Milestoned Issue Event type: object @@ -81292,8 +81484,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 +81504,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &563 + - &565 title: Demilestoned Issue Event description: Demilestoned Issue Event type: object @@ -81343,8 +81535,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 +81555,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &564 + - &566 title: Renamed Issue Event description: Renamed Issue Event type: object @@ -81394,8 +81586,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 +81609,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 +81640,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 +81656,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 +81687,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 +81703,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 +81734,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 +81763,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &568 + - &570 title: Locked Issue Event description: Locked Issue Event type: object @@ -81602,8 +81794,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 +81811,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 +81842,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 +81877,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 +81908,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 +81943,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 +81974,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 +82009,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 +82099,8 @@ paths: name: label color: red headers: - Link: *68 - '410': *545 + Link: *70 + '410': *547 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -81925,9 +82117,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 +82129,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 +82154,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 +82186,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 +82252,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 +82290,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 +82357,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 +82390,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 +82418,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 +82430,9 @@ paths: application/json: schema: type: array - items: *85 + items: *87 examples: - default: &559 + default: &561 value: - id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -82257,10 +82449,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 +82468,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 +82513,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 +82535,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 +82597,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 +82619,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 +82646,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 +82661,7 @@ paths: application/json: schema: type: array - items: *85 + items: *87 examples: default: value: @@ -82480,9 +82672,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 +82694,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 +82724,7 @@ paths: '204': description: Response '403': *29 - '410': *545 + '410': *547 '404': *6 '422': *15 x-github: @@ -82550,9 +82742,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 +82774,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 +82804,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 +82832,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 +82856,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 +82890,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 +82921,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 +82953,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 +82977,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 +83012,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 +83024,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 +83058,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 +83087,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 +83116,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 +83149,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 +83173,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 +83190,6 @@ paths: description: Timeline Event type: object anyOf: - - *560 - - *561 - *562 - *563 - *564 @@ -83011,6 +83201,8 @@ paths: - *570 - *571 - *572 + - *573 + - *574 - title: Timeline Comment Event description: Timeline Comment Event type: object @@ -83053,7 +83245,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 +83255,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 +83296,7 @@ paths: properties: type: type: string - issue: *86 + issue: *88 required: - event - created_at @@ -83304,7 +83496,7 @@ paths: type: string body_text: type: string - author_association: *83 + author_association: *85 required: - event - id @@ -83327,7 +83519,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 +83614,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 +83698,7 @@ paths: enum: - line - file - reactions: *84 + reactions: *86 body_html: type: string example: '"

comment body

"' @@ -83542,7 +83734,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 +83765,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 +83809,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 +83853,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 +84021,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 +84040,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 +84051,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 +84101,7 @@ paths: last_used: '2022-01-10T15:53:42Z' enabled: true headers: - Link: *68 + Link: *70 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -83925,8 +84117,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 +84154,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 +84190,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 +84204,9 @@ paths: description: Response content: application/json: - schema: *575 + schema: *577 examples: - default: *576 + default: *578 '404': *6 x-github: githubCloudOnly: false @@ -84032,9 +84224,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 +84246,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 +84257,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 +84280,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 +84317,9 @@ paths: description: Response content: application/json: - schema: *85 + schema: *87 examples: - default: &578 + default: &580 value: id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -84159,8 +84351,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 +84363,9 @@ paths: description: Response content: application/json: - schema: *85 + schema: *87 examples: - default: *578 + default: *580 '404': *6 x-github: githubCloudOnly: false @@ -84190,8 +84382,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 +84422,7 @@ paths: description: Response content: application/json: - schema: *85 + schema: *87 examples: default: value: @@ -84256,8 +84448,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 +84475,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 +84515,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 +84579,8 @@ paths: title: License Simple description: License Simple type: object - properties: *89 - required: *90 + properties: *91 + required: *92 nullable: true required: - _links @@ -84470,8 +84662,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 +84728,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 +84763,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 +84790,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 +84832,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 +84876,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 +84893,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 +84934,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 +84995,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 +85009,9 @@ paths: description: Response content: application/json: - schema: *580 + schema: *582 examples: - default: *581 + default: *583 '404': *6 x-github: githubCloudOnly: false @@ -84836,9 +85028,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 +85068,9 @@ paths: description: Response content: application/json: - schema: *580 + schema: *582 examples: - default: *581 + default: *583 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84894,9 +85086,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 +85109,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 +85121,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 +85142,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 +85157,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 +85183,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 +85242,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 +85374,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 +85415,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 +85470,9 @@ paths: description: Response content: application/json: - schema: *587 + schema: *589 examples: - default: *588 + default: *590 '422': *15 '409': *54 x-github: @@ -85303,8 +85495,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 +85595,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 +85622,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 +85633,7 @@ paths: application/json: schema: type: array - items: &589 + items: &591 title: Page Build description: Page Build type: object @@ -85516,7 +85708,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 +85727,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 +85773,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 +85830,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 +85842,9 @@ paths: description: Response content: application/json: - schema: *589 + schema: *591 examples: - default: *590 + default: *592 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -85672,8 +85864,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 +85970,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 +86030,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 +86059,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 +86291,7 @@ paths: description: Empty response content: application/json: - schema: *168 + schema: *170 examples: default: value: @@ -86126,8 +86318,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 +86356,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 +86378,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 +86401,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 +86410,7 @@ paths: application/json: schema: type: array - items: *294 + items: *296 examples: default: value: @@ -86249,8 +86441,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 +86454,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 +86504,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 +86565,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 +86599,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 +86665,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 +86776,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 +86809,7 @@ paths: items: *4 requested_teams: type: array - items: *331 + items: *333 head: type: object properties: @@ -86625,7 +86817,7 @@ paths: type: string ref: type: string - repo: *80 + repo: *82 sha: type: string user: *4 @@ -86642,7 +86834,7 @@ paths: type: string ref: type: string - repo: *80 + repo: *82 sha: type: string user: *4 @@ -86655,14 +86847,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 +86864,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 +86955,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 +87462,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 +87482,7 @@ paths: enum: - asc - desc - - *93 + - *95 - *17 - *19 responses: @@ -87300,9 +87492,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 +87546,7 @@ paths: original_line: 2 side: RIGHT headers: - Link: *68 + Link: *70 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87379,17 +87571,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 +87656,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 +87680,9 @@ paths: description: Response content: application/json: - schema: *594 + schema: *596 examples: - default: *595 + default: *597 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87506,9 +87698,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 +87721,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 +87749,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 +87772,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 +87806,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 +87837,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 +87883,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 +87898,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 +87909,7 @@ paths: application/json: schema: *3 '500': *55 - '503': *120 + '503': *122 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87743,9 +87935,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 +87979,9 @@ paths: description: Response content: application/json: - schema: *596 + schema: *598 examples: - default: *597 + default: *599 '422': *15 '403': *29 x-github: @@ -87811,9 +88003,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 +88030,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 +88058,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 +88120,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 +88160,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 +88173,7 @@ paths: enum: - asc - desc - - *93 + - *95 - *17 - *19 responses: @@ -87991,11 +88183,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 +88218,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 +88325,7 @@ paths: description: Response content: application/json: - schema: *594 + schema: *596 examples: example-for-a-multi-line-comment: value: @@ -88221,10 +88413,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 +88438,7 @@ paths: description: Response content: application/json: - schema: *594 + schema: *596 examples: default: value: @@ -88332,9 +88524,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 +88536,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 +88568,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 +88580,7 @@ paths: application/json: schema: type: array - items: *489 + items: *491 examples: default: value: @@ -88404,10 +88596,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 +88618,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 +88643,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 +88756,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 +88774,7 @@ paths: items: *4 teams: type: array - items: *195 + items: *197 required: - users - teams @@ -88623,7 +88815,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 +88833,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 +88872,7 @@ paths: description: Response content: application/json: - schema: *480 + schema: *482 examples: default: value: @@ -89216,9 +89408,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 +89444,7 @@ paths: description: Response content: application/json: - schema: *480 + schema: *482 examples: default: value: @@ -89737,9 +89929,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 +89941,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 +90010,7 @@ paths: type: string body_text: type: string - author_association: *83 + author_association: *85 required: - id - node_id @@ -89867,7 +90059,7 @@ paths: commit_id: ecdd80bb57125d7ba9641ffaa4d7d2c19d3f3091 author_association: COLLABORATOR headers: - Link: *68 + Link: *70 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89900,9 +90092,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 +90180,9 @@ paths: description: Response content: application/json: - schema: *601 + schema: *603 examples: - default: &603 + default: &605 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -90053,10 +90245,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 +90260,9 @@ paths: description: Response content: application/json: - schema: *601 + schema: *603 examples: - default: &604 + default: &606 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -90129,10 +90321,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 +90347,7 @@ paths: description: Response content: application/json: - schema: *601 + schema: *603 examples: default: value: @@ -90217,18 +90409,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 +90447,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 +90529,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 +90544,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 +90656,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 +90685,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 +90716,7 @@ paths: description: Response content: application/json: - schema: *601 + schema: *603 examples: default: value: @@ -90587,10 +90779,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 +90817,9 @@ paths: description: Response content: application/json: - schema: *601 + schema: *603 examples: - default: *604 + default: *606 '404': *6 '422': *7 '403': *29 @@ -90649,9 +90841,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 +90906,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 +90920,9 @@ paths: description: Response content: application/json: - schema: *605 + schema: *607 examples: - default: &606 + default: &608 value: type: file encoding: base64 @@ -90772,8 +90964,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 +90985,9 @@ paths: description: Response content: application/json: - schema: *605 + schema: *607 examples: - default: *606 + default: *608 '404': *6 '422': *15 x-github: @@ -90817,8 +91009,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 +91020,7 @@ paths: application/json: schema: type: array - items: *607 + items: *609 examples: default: value: @@ -90902,7 +91094,7 @@ paths: type: User site_admin: false headers: - Link: *68 + Link: *70 '404': *6 x-github: githubCloudOnly: false @@ -90922,8 +91114,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 +91191,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 +91298,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 +91312,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 +91349,7 @@ paths: type: User site_admin: false '404': *6 - '302': *493 + '302': *495 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91173,9 +91365,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 +91395,9 @@ paths: description: Response content: application/json: - schema: *608 + schema: *610 examples: - default: *610 + default: *612 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91221,9 +91413,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 +91440,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 +91526,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 +91553,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 +91567,9 @@ paths: description: Response content: application/json: - schema: *607 + schema: *609 examples: - default: *611 + default: *613 '404': *6 x-github: githubCloudOnly: false @@ -91399,9 +91591,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 +91607,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 +91627,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 +91693,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 +91716,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 +91739,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 +91751,7 @@ paths: application/json: schema: type: array - items: *608 + items: *610 examples: default: value: @@ -91596,7 +91788,7 @@ paths: type: User site_admin: false headers: - Link: *68 + Link: *70 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91640,9 +91832,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 +91860,7 @@ paths: description: Response for successful upload content: application/json: - schema: *608 + schema: *610 examples: response-for-successful-upload: value: @@ -91723,9 +91915,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 +91941,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 +91964,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 +91996,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 +92027,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 +92054,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 +92072,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 +92092,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 +92193,8 @@ paths: category: repos subcategory: rules parameters: - - *342 - - *343 + - *344 + - *345 - *17 - *19 - name: includes_parents @@ -92013,7 +92205,7 @@ paths: schema: type: boolean default: true - - *615 + - *617 responses: '200': description: Response @@ -92021,7 +92213,7 @@ paths: application/json: schema: type: array - items: *324 + items: *326 examples: default: value: @@ -92068,8 +92260,8 @@ paths: category: repos subcategory: rules parameters: - - *342 - - *343 + - *344 + - *345 requestBody: description: Request body required: true @@ -92089,16 +92281,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 +92321,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 +92371,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 +92384,9 @@ paths: description: Response content: application/json: - schema: *621 + schema: *623 examples: - default: *622 + default: *624 '404': *6 '500': *55 x-github: @@ -92215,17 +92407,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 +92445,8 @@ paths: category: repos subcategory: rules parameters: - - *342 - - *343 + - *344 + - *345 - name: ruleset_id description: The ID of the ruleset. in: path @@ -92274,9 +92466,9 @@ paths: description: Response content: application/json: - schema: *324 + schema: *326 examples: - default: *626 + default: *628 '404': *6 '500': *55 put: @@ -92294,8 +92486,8 @@ paths: category: repos subcategory: rules parameters: - - *342 - - *343 + - *344 + - *345 - name: ruleset_id description: The ID of the ruleset. in: path @@ -92320,16 +92512,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 +92549,9 @@ paths: description: Response content: application/json: - schema: *324 + schema: *326 examples: - default: *626 + default: *628 '404': *6 '422': *15 '500': *55 @@ -92378,8 +92570,8 @@ paths: category: repos subcategory: rules parameters: - - *342 - - *343 + - *344 + - *345 - name: ruleset_id description: The ID of the ruleset. in: path @@ -92402,8 +92594,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 +92611,9 @@ paths: application/json: schema: type: array - items: *327 + items: *329 examples: - default: *627 + default: *629 '404': *6 '500': *55 x-github: @@ -92440,8 +92632,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 +92651,7 @@ paths: description: Response content: application/json: - schema: *628 + schema: *630 examples: default: value: @@ -92514,25 +92706,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 +92732,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 +92744,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 +92858,7 @@ paths: pull request. ' - oneOf: *645 + oneOf: *647 nullable: true has_more_locations: type: boolean @@ -92808,7 +93000,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 +93022,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 +93062,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 +93085,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 +93095,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. @@ -92915,6 +93107,14 @@ paths: to `null` to unassign the alert. type: string nullable: true + validity: + type: string + nullable: true + enum: + - active + - inactive + description: Sets the validity of the secret scanning alert. Can + be `active`, `inactive`, or `null` to clear the override. anyOf: - required: - state @@ -92940,7 +93140,7 @@ paths: description: Response content: application/json: - schema: *646 + schema: *648 examples: default: value: @@ -93012,8 +93212,9 @@ paths: repository, or the resource is not found '422': description: State does not match the resolution or resolution comment, - or assignee does not have write access to the repository - '503': *120 + assignee does not have write access to the repository, or the requested + validity change could not be applied to this alert + '503': *122 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -93035,9 +93236,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 +93249,7 @@ paths: schema: type: array description: List of locations where the secret was detected - items: &803 + items: &805 type: object properties: type: @@ -93074,8 +93275,6 @@ paths: example: commit details: oneOf: - - *647 - - *648 - *649 - *650 - *651 @@ -93087,6 +93286,8 @@ paths: - *657 - *658 - *659 + - *660 + - *661 examples: default: value: @@ -93146,11 +93347,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 +93373,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 +93382,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 +93406,7 @@ paths: schema: type: object properties: - reason: *661 + reason: *663 expire_at: type: string format: date-time @@ -93228,7 +93429,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 +93452,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 +93468,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 +93494,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 +93515,7 @@ paths: one of "repository", "organization", or "enterprise" generic_secrets_backfill_scans: type: array - items: *662 + items: *664 examples: default: value: @@ -93379,8 +93580,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 +93625,9 @@ paths: application/json: schema: type: array - items: *663 + items: *665 examples: - default: *664 + default: *666 '400': *14 '404': *6 x-github: @@ -93449,8 +93650,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 +93724,7 @@ paths: login: type: string description: The username of the user credited. - type: *330 + type: *332 required: - login - type @@ -93610,9 +93811,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 +94043,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 +94148,7 @@ paths: description: Response content: application/json: - schema: *663 + schema: *665 examples: default: value: @@ -94093,17 +94294,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 +94328,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 +94403,7 @@ paths: login: type: string description: The username of the user credited. - type: *330 + type: *332 required: - login - type @@ -94288,17 +94489,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 +94530,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 +94559,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 +94595,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 +94673,7 @@ paths: type: User site_admin: false headers: - Link: *68 + Link: *70 '422': *15 x-github: githubCloudOnly: false @@ -94494,8 +94695,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 +94705,7 @@ paths: application/json: schema: type: array - items: &667 + items: &669 title: Code Frequency Stat description: Code Frequency Stat type: array @@ -94537,8 +94738,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 +94815,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 +94912,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 +95067,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 +95078,7 @@ paths: application/json: schema: type: array - items: *667 + items: *669 examples: default: value: @@ -94910,8 +95111,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 +95166,7 @@ paths: description: Response content: application/json: - schema: *668 + schema: *670 examples: default: value: @@ -95019,8 +95220,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 +95233,9 @@ paths: type: array items: *4 examples: - default: *71 + default: *73 headers: - Link: *68 + Link: *70 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -95052,14 +95253,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 +95328,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 +95355,7 @@ paths: description: Response content: application/json: - schema: *669 + schema: *671 examples: default: value: @@ -95181,8 +95382,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 +95403,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 +95460,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 +95483,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 +95520,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 +95531,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 +95553,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 +95562,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 +95574,7 @@ paths: required: - names examples: - default: &671 + default: &673 value: names: - octocat @@ -95396,8 +95597,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 +95629,9 @@ paths: description: Response content: application/json: - schema: *670 + schema: *672 examples: - default: *671 + default: *673 '404': *6 '422': *7 x-github: @@ -95451,9 +95652,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 +95683,7 @@ paths: example: 128 clones: type: array - items: &673 + items: &675 title: Traffic type: object properties: @@ -95569,8 +95770,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 +95861,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 +95922,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 +95943,7 @@ paths: example: 3782 views: type: array - items: *673 + items: *675 required: - uniques - count @@ -95819,8 +96020,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 +96057,7 @@ paths: description: Response content: application/json: - schema: *159 + schema: *161 examples: default: value: @@ -96093,8 +96294,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 +96318,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 +96341,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 +96368,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 +96461,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 +96504,7 @@ paths: application/json: schema: type: array - items: *159 + items: *161 examples: default: value: @@ -96495,7 +96696,7 @@ paths: html_url: type: string format: uri - repository: *159 + repository: *161 score: type: number file_size: @@ -96513,7 +96714,7 @@ paths: example: - 73..77 - 77..78 - text_matches: &674 + text_matches: &676 title: Search Result Text Matches type: array items: @@ -96627,7 +96828,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 +96876,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 +96947,7 @@ paths: description: Metaproperties for Git author/committer information. type: object - properties: *407 + properties: *409 nullable: true comment_count: type: integer @@ -96766,7 +96967,7 @@ paths: url: type: string format: uri - verification: *531 + verification: *533 required: - author - committer @@ -96785,7 +96986,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 +96999,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 +97196,7 @@ paths: - interactions - created - updated - - *675 + - *677 - *17 - *19 - name: advanced_search @@ -97109,11 +97310,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 +97324,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 +97339,7 @@ paths: type: string format: date-time nullable: true - text_matches: *674 + text_matches: *676 pull_request: type: object properties: @@ -97171,10 +97372,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 +97383,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 +97393,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 +97555,7 @@ paths: - quoted_text items: - "..." - '503': *120 + '503': *122 '422': *15 '304': *37 '403': *29 @@ -97408,7 +97609,7 @@ paths: enum: - created - updated - - *675 + - *677 - *17 - *19 responses: @@ -97452,7 +97653,7 @@ paths: nullable: true score: type: number - text_matches: *674 + text_matches: *676 required: - id - node_id @@ -97537,7 +97738,7 @@ paths: - forks - help-wanted-issues - updated - - *675 + - *677 - *17 - *19 responses: @@ -97765,8 +97966,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 +97986,7 @@ paths: - admin - pull - push - text_matches: *674 + text_matches: *676 temp_clone_token: type: string allow_merge_commit: @@ -97987,7 +98188,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 +98286,7 @@ paths: type: string format: uri nullable: true - text_matches: *674 + text_matches: *676 related: type: array nullable: true @@ -98276,7 +98477,7 @@ paths: - followers - repositories - joined - - *675 + - *677 - *17 - *19 responses: @@ -98380,7 +98581,7 @@ paths: hireable: type: boolean nullable: true - text_matches: *674 + text_matches: *676 blog: type: string nullable: true @@ -98439,7 +98640,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 +98660,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 +98672,9 @@ paths: description: Response content: application/json: - schema: *338 + schema: *340 examples: - default: *339 + default: *341 '404': *6 x-github: githubCloudOnly: false @@ -98500,7 +98701,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 +98764,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 +98801,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 +98830,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 +98840,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 +98868,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 +98891,9 @@ paths: type: array items: *4 examples: - default: *71 + default: *73 headers: - Link: *68 + Link: *70 '404': *6 x-github: githubCloudOnly: false @@ -98718,8 +98919,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 +98956,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 +98996,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 +99033,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 +99075,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 +99101,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 +99137,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 +99165,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 +99175,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 +99207,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 +99365,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 +99417,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 +99444,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 +99454,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 +99489,7 @@ paths: application/json: schema: oneOf: - - &683 + - &685 title: Private User description: Private User type: object @@ -99491,7 +99692,7 @@ paths: - private_gists - total_private_repos - two_factor_authentication - - &709 + - &711 title: Public User description: Public User type: object @@ -99803,7 +100004,7 @@ paths: description: Response content: application/json: - schema: *683 + schema: *685 examples: default: value: @@ -99882,7 +100083,7 @@ paths: type: array items: *4 examples: - default: *71 + default: *73 '304': *37 '404': *6 '403': *29 @@ -99905,7 +100106,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 +100134,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 +100158,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 +100207,9 @@ paths: type: integer codespaces: type: array - items: *247 + items: *249 examples: - default: *248 + default: *250 '304': *37 '500': *55 '401': *25 @@ -100147,21 +100348,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 +100402,7 @@ paths: type: integer secrets: type: array - items: &684 + items: &686 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -100241,9 +100442,9 @@ paths: - visibility - selected_repositories_url examples: - default: *466 + default: *468 headers: - Link: *68 + Link: *70 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -100311,13 +100512,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 +100548,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 +100593,7 @@ paths: description: Response after successfully creating a secret content: application/json: - schema: *168 + schema: *170 examples: default: value: @@ -100420,7 +100621,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 +100646,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 +100662,9 @@ paths: type: integer repositories: type: array - items: *159 + items: *161 examples: - default: *196 + default: *198 '401': *25 '403': *29 '404': *6 @@ -100488,7 +100689,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 +100743,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 +100776,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 +100808,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 +100842,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 +100872,9 @@ paths: description: Response content: application/json: - schema: *247 + schema: *249 examples: - default: *463 + default: *465 '401': *25 '403': *29 '404': *6 @@ -100695,7 +100896,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 +100925,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 +100972,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 +101004,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 +101017,9 @@ paths: description: Response content: application/json: - schema: *685 + schema: *687 examples: - default: *686 + default: *688 '404': *6 x-github: githubCloudOnly: false @@ -100839,7 +101040,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 +101056,9 @@ paths: type: integer machines: type: array - items: *687 + items: *689 examples: - default: *688 + default: *690 '304': *37 '500': *55 '401': *25 @@ -100886,7 +101087,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 +101137,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 +101917,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 +101957,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 +101995,9 @@ paths: application/json: schema: type: array - items: *260 + items: *262 examples: - default: &699 + default: &701 value: - id: 197 name: hello_docker @@ -101897,7 +102098,7 @@ paths: application/json: schema: type: array - items: &689 + items: &691 title: Email description: Email type: object @@ -101962,16 +102163,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 +102240,7 @@ paths: application/json: schema: type: array - items: *689 + items: *691 examples: default: value: @@ -102149,9 +102350,9 @@ paths: type: array items: *4 examples: - default: *71 + default: *73 headers: - Link: *68 + Link: *70 '304': *37 '403': *29 '401': *25 @@ -102182,9 +102383,9 @@ paths: type: array items: *4 examples: - default: *71 + default: *73 headers: - Link: *68 + Link: *70 '304': *37 '403': *29 '401': *25 @@ -102204,7 +102405,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 +102435,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 +102460,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 +102496,7 @@ paths: application/json: schema: type: array - items: &690 + items: &692 title: GPG Key description: A unique encryption key type: object @@ -102426,7 +102627,7 @@ paths: - subkeys - revoked examples: - default: &718 + default: &720 value: - id: 3 name: Octocat's GPG Key @@ -102458,7 +102659,7 @@ paths: revoked: false raw_key: string headers: - Link: *68 + Link: *70 '304': *37 '404': *6 '403': *29 @@ -102511,9 +102712,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 +102771,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 +102783,9 @@ paths: description: Response content: application/json: - schema: *690 + schema: *692 examples: - default: *691 + default: *693 '404': *6 '304': *37 '403': *29 @@ -102607,7 +102808,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 +102951,7 @@ paths: suspended_at: suspended_by: headers: - Link: *68 + Link: *70 '304': *37 '403': *29 '401': *25 @@ -102798,11 +102999,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 +103027,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 +103053,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 +103087,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 +103116,7 @@ paths: required: true content: application/json: - schema: *542 + schema: *544 examples: default: value: @@ -102926,7 +103127,7 @@ paths: description: Response content: application/json: - schema: *234 + schema: *236 examples: default: value: @@ -103007,7 +103208,7 @@ paths: - closed - all default: open - - *245 + - *247 - name: sort description: What to sort results by. in: query @@ -103020,7 +103221,7 @@ paths: - comments default: created - *62 - - *93 + - *95 - *17 - *19 responses: @@ -103030,11 +103231,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 +103266,7 @@ paths: application/json: schema: type: array - items: &693 + items: &695 title: Key description: Key type: object @@ -103116,7 +103317,7 @@ paths: verified: false read_only: false headers: - Link: *68 + Link: *70 '304': *37 '404': *6 '403': *29 @@ -103166,9 +103367,9 @@ paths: description: Response content: application/json: - schema: *693 + schema: *695 examples: - default: &694 + default: &696 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -103201,15 +103402,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 +103433,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 +103466,7 @@ paths: application/json: schema: type: array - items: &695 + items: &697 title: User Marketplace Purchase description: User Marketplace Purchase type: object @@ -103322,7 +103523,7 @@ paths: - id - type - login - plan: *104 + plan: *106 required: - billing_cycle - next_billing_date @@ -103333,7 +103534,7 @@ paths: - account - plan examples: - default: &696 + default: &698 value: - billing_cycle: monthly next_billing_date: '2017-11-11T00:00:00Z' @@ -103366,7 +103567,7 @@ paths: - Up to 25 private repositories - 11 concurrent builds headers: - Link: *68 + Link: *70 '304': *37 '401': *25 '404': *6 @@ -103395,11 +103596,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 +103638,7 @@ paths: application/json: schema: type: array - items: *251 + items: *253 examples: default: value: @@ -103520,7 +103721,7 @@ paths: type: User site_admin: false headers: - Link: *68 + Link: *70 '304': *37 '403': *29 '401': *25 @@ -103545,13 +103746,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 +103814,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 +103839,7 @@ paths: description: Response content: application/json: - schema: *251 + schema: *253 examples: default: value: @@ -103710,7 +103911,7 @@ paths: application/json: schema: type: array - items: *253 + items: *255 examples: default: value: @@ -103863,7 +104064,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 +104164,7 @@ paths: description: Response content: application/json: - schema: *253 + schema: *255 examples: default: value: @@ -104143,7 +104344,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 +104357,7 @@ paths: description: Response content: application/json: - schema: *253 + schema: *255 examples: default: value: @@ -104350,7 +104551,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 +104577,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 +104606,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 +104631,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 +104643,7 @@ paths: type: array items: *67 headers: - Link: *68 + Link: *70 '404': *6 x-github: githubCloudOnly: false @@ -104475,11 +104676,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 +104720,7 @@ paths: - docker - nuget - container - - *698 + - *700 - *19 - *17 responses: @@ -104529,10 +104730,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 +104753,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 +104875,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 +104906,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 +104939,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 +104960,7 @@ paths: application/json: schema: type: array - items: *264 + items: *266 examples: default: value: @@ -104808,15 +105009,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 +105053,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 +105085,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 +105124,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 +105237,9 @@ paths: application/json: schema: type: array - items: *80 + items: *82 examples: - default: &708 + default: &710 summary: Default response value: - id: 1296269 @@ -105159,7 +105360,7 @@ paths: open_issues: 1 watchers: 1 headers: - Link: *68 + Link: *70 '422': *15 '304': *37 '403': *29 @@ -105342,9 +105543,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 +105584,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 +105609,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 +105633,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 +105666,7 @@ paths: application/json: schema: type: array - items: &703 + items: &705 title: Social account description: Social media account type: object @@ -105480,12 +105681,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 +105743,9 @@ paths: application/json: schema: type: array - items: *703 + items: *705 examples: - default: *704 + default: *706 '422': *15 '304': *37 '404': *6 @@ -105631,7 +105832,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 +105852,7 @@ paths: - title - created_at examples: - default: &737 + default: &739 value: - id: 2 key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -105662,7 +105863,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 +105916,9 @@ paths: description: Response content: application/json: - schema: *705 + schema: *707 examples: - default: &706 + default: &708 value: id: 2 key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -105747,7 +105948,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 +105960,9 @@ paths: description: Response content: application/json: - schema: *705 + schema: *707 examples: - default: *706 + default: *708 '404': *6 '304': *37 '403': *29 @@ -105784,7 +105985,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 +106014,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 +106037,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 +106051,7 @@ paths: starred_at: type: string format: date-time - repo: *80 + repo: *82 required: - starred_at - repo @@ -105978,7 +106179,7 @@ paths: open_issues: 1 watchers: 1 headers: - Link: *68 + Link: *70 '304': *37 '403': *29 '401': *25 @@ -105998,8 +106199,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 +106228,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 +106253,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 +106287,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 +106326,7 @@ paths: application/json: schema: type: array - items: *338 + items: *340 examples: default: value: @@ -106176,7 +106377,7 @@ paths: updated_at: '2017-08-17T12:37:15Z' type: Organization headers: - Link: *68 + Link: *70 '304': *37 '404': *6 '403': *29 @@ -106203,7 +106404,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 +106412,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 +106450,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 +106507,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 +106548,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 +106573,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/users#list-users parameters: - - *710 + - *712 - *17 responses: '200': @@ -106383,7 +106584,7 @@ paths: type: array items: *4 examples: - default: *71 + default: *73 headers: Link: example: ; rel="next" @@ -106407,8 +106608,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 +106680,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 +106724,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 +106732,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 +106762,7 @@ paths: - *17 - *47 - *48 - - *72 + - *74 requestBody: required: true content: @@ -106585,8 +106786,8 @@ paths: required: - subject_digests examples: - default: *715 - withPredicateType: *716 + default: *717 + withPredicateType: *718 responses: '200': description: Response @@ -106625,7 +106826,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 +106844,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 +106909,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 +106940,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 +106978,7 @@ paths: - *17 - *47 - *48 - - *72 + - *74 - name: subject_digest description: Subject Digest in: path @@ -106814,12 +107015,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 +107046,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 +107054,9 @@ paths: application/json: schema: type: array - items: *260 + items: *262 examples: - default: *699 + default: *701 '403': *29 '401': *25 x-github: @@ -106878,7 +107079,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 +107089,7 @@ paths: application/json: schema: type: array - items: *112 + items: *114 examples: default: value: @@ -106950,8 +107151,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 +107162,7 @@ paths: application/json: schema: type: array - items: *112 + items: *114 examples: default: value: @@ -107038,7 +107239,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 +107249,7 @@ paths: application/json: schema: type: array - items: *112 + items: *114 examples: default: value: @@ -107106,7 +107307,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 +107319,9 @@ paths: type: array items: *4 examples: - default: *71 + default: *73 headers: - Link: *68 + Link: *70 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -107137,7 +107338,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 +107350,9 @@ paths: type: array items: *4 examples: - default: *71 + default: *73 headers: - Link: *68 + Link: *70 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -107168,7 +107369,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 +107396,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 +107407,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 +107430,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 +107440,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 +107466,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 +107538,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 +107546,7 @@ paths: application/json: schema: *22 examples: - default: *541 + default: *543 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -107363,7 +107564,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 +107599,7 @@ paths: - id: 1 key: ssh-rsa AAA... headers: - Link: *68 + Link: *70 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -107418,7 +107619,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 +107629,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 +107670,8 @@ paths: - docker - nuget - container - - *698 - - *72 + - *700 + - *74 - *19 - *17 responses: @@ -107480,12 +107681,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 +107706,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 +107737,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 +107771,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 +107805,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 +107815,7 @@ paths: application/json: schema: type: array - items: *264 + items: *266 examples: default: value: @@ -107672,16 +107873,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 +107917,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 +107952,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 +107979,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 +107996,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 +108020,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 +108051,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 +108063,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 +108086,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 +108125,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 +108141,7 @@ paths: description: The field's data type. enum: - iteration - iteration_configuration: *722 + iteration_configuration: *724 required: - name - data_type @@ -107962,20 +108163,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 +108197,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 +108230,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 +108263,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 +108286,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 +108357,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 +108392,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 +108414,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 +108437,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 +108509,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 +108535,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 +108559,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 +108587,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 +108617,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 +108627,7 @@ paths: application/json: schema: type: array - items: *112 + items: *114 examples: default: value: @@ -108491,7 +108692,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 +108702,7 @@ paths: application/json: schema: type: array - items: *112 + items: *114 examples: default: value: @@ -108564,7 +108765,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 +108808,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 +108832,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 +108945,7 @@ paths: '403': *29 '404': *6 '500': *55 - '503': *120 + '503': *122 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -108764,10 +108965,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 +109039,7 @@ paths: '400': *14 '403': *29 '500': *55 - '503': *120 + '503': *122 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -108861,13 +109062,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 +109174,7 @@ paths: '403': *29 '404': *6 '500': *55 - '503': *120 + '503': *122 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -108991,7 +109192,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 +109202,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 +109224,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 +109234,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 +109260,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 +109273,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 +109296,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 +109306,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 +109436,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 +109494,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 +109513,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 +109573,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 +109599,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 +110263,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 +110414,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 +110493,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 +110720,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 +110907,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 +110995,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 +111048,8 @@ x-webhooks: type: string pull_requests: type: array - items: *91 - repository: *159 + items: *93 + repository: *161 status: example: completed type: string @@ -110885,7 +111086,7 @@ x-webhooks: - skipped - timed_out - action_required - deployment: *745 + deployment: *747 details_url: example: https://example.com type: string @@ -110935,7 +111136,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 +111171,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 +111565,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 +111963,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 +112370,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 +113344,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 +114036,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 +114722,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 +114891,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 +115036,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 +115214,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 +115444,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 +115544,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 +115715,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 +115886,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 +116052,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 +116156,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 +116331,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 +116437,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 +116577,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 +116748,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 +116893,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 +117151,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 +117234,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 +117255,7 @@ x-webhooks: enum: - tag - branch - repository: *743 + repository: *745 sender: *4 required: - ref @@ -117136,10 +117337,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 +117425,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 +117504,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 +117584,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 +117664,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 +117752,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 +117843,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 +117927,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 +118012,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 +118097,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 +118180,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 +118263,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 +118347,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 +118430,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 +118511,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 +118549,8 @@ x-webhooks: - verified - created_at - read_only - organization: *742 - repository: *743 + organization: *744 + repository: *745 sender: *4 required: - action @@ -118426,11 +118627,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 +119187,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 +119933,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 +120012,7 @@ x-webhooks: type: string enum: - approved - approver: &754 + approver: &756 type: object properties: avatar_url: @@ -119854,11 +120055,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 +120138,7 @@ x-webhooks: sender: *4 since: type: string - workflow_job_run: &756 + workflow_job_run: &758 type: object properties: conclusion: @@ -120668,18 +120869,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 +121584,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 +123479,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 +124164,7 @@ x-webhooks: type: string enum: - answered - answer: &760 + answer: &762 type: object properties: author_association: @@ -124120,11 +124321,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 +124452,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 +124539,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 +124625,7 @@ x-webhooks: type: string enum: - created - comment: &759 + comment: &761 type: object properties: author_association: @@ -124581,11 +124782,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 +124869,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 +124969,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 +125058,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 +125144,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 +125248,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 +125334,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 +125369,8 @@ x-webhooks: - color - default - description - organization: *742 - repository: *743 + organization: *744 + repository: *745 sender: *4 required: - action @@ -125252,11 +125453,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 +125539,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 +125625,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 +125714,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 +125806,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 +125891,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 +125979,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 +126065,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 +126142,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 +126802,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 +126950,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 +126989,7 @@ x-webhooks: - action - sha - html_url - repository: *743 + repository: *745 sender: *4 required: - pages @@ -126864,10 +127065,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 +127094,8 @@ x-webhooks: - name - full_name - private - repository: *743 - requester: *762 + repository: *745 + requester: *764 sender: *4 required: - action @@ -126969,11 +127170,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 +127250,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 +127330,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 +127379,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 +127466,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 +127496,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 +127577,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 +127759,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 +127841,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 +127969,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 +128019,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 +128105,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 +128895,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 +128912,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *242 + type: *244 updated_at: type: string format: date-time @@ -129044,8 +129245,8 @@ x-webhooks: - state - locked - assignee - organization: *742 - repository: *743 + organization: *744 + repository: *745 sender: *4 required: - action @@ -129125,7 +129326,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 +129483,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 +129499,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 +130285,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 +130302,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *242 + type: *244 updated_at: type: string format: date-time @@ -130436,8 +130637,8 @@ x-webhooks: - state - locked - assignee - organization: *742 - repository: *743 + organization: *744 + repository: *745 sender: *4 required: - action @@ -130517,7 +130718,7 @@ x-webhooks: type: string enum: - edited - changes: &795 + changes: &797 description: The changes to the comment. type: object properties: @@ -130529,9 +130730,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 +131520,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 +131537,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *242 + type: *244 updated_at: type: string format: date-time @@ -131669,8 +131870,8 @@ x-webhooks: - state - locked - assignee - organization: *742 - repository: *743 + organization: *744 + repository: *745 sender: *4 required: - action @@ -131751,9 +131952,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 +132744,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 +132761,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *242 + type: *244 updated_at: type: string format: date-time @@ -132895,8 +133096,8 @@ x-webhooks: - state - locked - assignee - organization: *742 - repository: *743 + organization: *744 + repository: *745 sender: *4 required: - action @@ -132976,9 +133177,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 +133969,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 +133986,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *242 + type: *244 updated_at: type: string format: date-time @@ -134120,8 +134321,8 @@ x-webhooks: - state - locked - assignee - organization: *742 - repository: *743 + organization: *744 + repository: *745 sender: *4 required: - action @@ -134204,15 +134405,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 +134496,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 +134586,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 +134677,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 +134765,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 +135557,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 +135580,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *242 + type: *244 updated_at: type: string format: date-time @@ -135480,8 +135681,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *742 - repository: *743 + organization: *744 + repository: *745 sender: *4 required: - action @@ -135561,8 +135762,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 +136557,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 +136580,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *242 + type: *244 updated_at: type: string format: date-time @@ -136615,8 +136816,8 @@ x-webhooks: required: - state - closed_at - organization: *742 - repository: *743 + organization: *744 + repository: *745 sender: *4 required: - action @@ -136695,8 +136896,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 +137682,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 +137705,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *242 + type: *244 updated_at: type: string format: date-time @@ -137604,8 +137805,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *742 - repository: *743 + organization: *744 + repository: *745 sender: *4 required: - action @@ -137684,8 +137885,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 +138693,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 +138716,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *242 + type: *244 updated_at: type: string format: date-time @@ -138594,7 +138795,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 +138933,8 @@ x-webhooks: - updated_at - due_on - closed_at - organization: *742 - repository: *743 + organization: *744 + repository: *745 sender: *4 required: - action @@ -138832,8 +139033,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 +139823,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 +139843,7 @@ x-webhooks: timeline_url: type: string format: uri - type: *242 + type: *244 title: description: Title of the issue type: string @@ -139746,9 +139947,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 +139969,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 +140362,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 +141151,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 +141171,7 @@ x-webhooks: timeline_url: type: string format: uri - type: *242 + type: *244 title: description: Title of the issue type: string @@ -140741,9 +141275,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 +141357,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 +142170,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 +142190,7 @@ x-webhooks: timeline_url: type: string format: uri - type: *242 + type: *244 title: description: Title of the issue type: string @@ -141737,8 +142271,8 @@ x-webhooks: format: uri user_view_type: type: string - organization: *742 - repository: *743 + organization: *744 + repository: *745 sender: *4 required: - action @@ -141817,8 +142351,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 +143158,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 +143181,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *242 + type: *244 updated_at: type: string format: date-time @@ -142725,9 +143259,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 +144124,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 +144156,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 +144229,7 @@ x-webhooks: required: - login - id - type: *242 + type: *244 required: - id - number @@ -144175,8 +144709,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 +145494,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 +145514,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *242 + type: *244 updated_at: type: string format: date-time @@ -144993,8 +145527,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 +145622,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *742 - repository: *743 + organization: *744 + repository: *745 sender: *4 required: - action @@ -145169,9 +145703,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 +146488,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 +146511,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *242 + type: *244 updated_at: type: string format: date-time @@ -146077,8 +146611,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *742 - repository: *743 + organization: *744 + repository: *745 sender: *4 required: - action @@ -146157,8 +146691,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 +147502,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 +147603,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 +148471,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 +148494,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *242 + type: *244 updated_at: type: string format: date-time @@ -148539,11 +149073,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 +149157,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 +149243,7 @@ x-webhooks: type: string enum: - unassigned - assignee: &798 + assignee: &800 title: User type: object nullable: true @@ -148779,11 +149313,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 +149396,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 +149481,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 +150292,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 +150315,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *242 + type: *244 updated_at: type: string format: date-time @@ -149859,8 +150393,8 @@ x-webhooks: format: uri user_view_type: type: string - organization: *742 - repository: *743 + organization: *744 + repository: *745 sender: *4 required: - action @@ -149940,11 +150474,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 +150557,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 +150642,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 +150724,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 +150838,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 +150924,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 +151009,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 +151090,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *743 + repository: *745 sender: *4 required: - action @@ -150636,10 +151170,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 +151256,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *743 + repository: *745 sender: *4 required: - action @@ -150804,10 +151338,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 +151423,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *743 + repository: *745 sender: *4 required: - action @@ -150970,8 +151504,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 +151587,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 +151669,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 +151776,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 +151880,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 +151963,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 +152045,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 +152125,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 +152348,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 +152429,7 @@ x-webhooks: required: - login - id - team: *772 + team: *774 required: - action - scope @@ -151977,8 +152511,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 +152531,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 +152625,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 +152701,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 +152810,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 +152900,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 +152983,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 +153122,8 @@ x-webhooks: - updated_at - due_on - closed_at - organization: *742 - repository: *743 + organization: *744 + repository: *745 sender: *4 required: - action @@ -152668,11 +153202,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 +153316,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 +153400,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 +153483,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 +153566,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 +153649,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 +153758,8 @@ x-webhooks: - role - organization_url - user - organization: *742 - repository: *743 + organization: *744 + repository: *745 sender: *4 required: - action @@ -153303,11 +153837,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 +153920,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 +154037,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 +154118,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 +154209,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 +154290,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 +154791,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: &779 + items: &781 title: Ruby Gems metadata type: object properties: @@ -154352,7 +154886,7 @@ x-webhooks: - owner - package_version - registry - repository: *743 + repository: *745 sender: *4 required: - action @@ -154428,9 +154962,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 +155317,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: *779 + items: *781 source_url: type: string format: uri @@ -154853,7 +155387,7 @@ x-webhooks: - owner - package_version - registry - repository: *743 + repository: *745 sender: *4 required: - action @@ -155029,12 +155563,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 +155645,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 +155791,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 +155871,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 +155951,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 +156030,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 +156139,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 +156171,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 +156417,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 +156539,7 @@ x-webhooks: - creator - created_at - updated_at - repository: *743 + repository: *745 sender: *4 required: - action @@ -156086,11 +156620,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 +156704,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 +156834,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 +156929,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 +157027,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 +157219,7 @@ x-webhooks: type: string required: - after_id - repository: *743 + repository: *745 sender: *4 required: - action @@ -156765,10 +157299,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 +157426,7 @@ x-webhooks: - creator - created_at - updated_at - repository: *743 + repository: *745 sender: *4 required: - action @@ -156972,10 +157506,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 +157548,7 @@ x-webhooks: - name - created_at - updated_at - repository: *743 + repository: *745 sender: *4 required: - action @@ -157093,18 +157627,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 +157728,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 +157812,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 +157896,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 +157980,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 +158093,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 +158176,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 +158261,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 +158344,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 +158427,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 +158546,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 +158631,7 @@ x-webhooks: type: string enum: - archived - changes: &788 + changes: &790 type: object properties: archived_at: @@ -158111,9 +158645,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 +158665,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 +158782,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 +158866,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 +158949,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 +159057,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 +159079,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 +159113,8 @@ x-webhooks: oneOf: - type: string - type: integer - - *786 - - *787 + - *788 + - *789 required: - field_value - type: object @@ -158596,9 +159130,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 +159227,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 +159312,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 +159397,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 +159480,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 +159568,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 +159706,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 +159779,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 +159859,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 +162152,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *743 + repository: *745 sender: *4 required: - action @@ -161700,11 +162234,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 +164520,7 @@ x-webhooks: - draft reason: type: string - repository: *743 + repository: *745 sender: *4 required: - action @@ -164068,11 +164602,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 +166888,7 @@ x-webhooks: - draft reason: type: string - repository: *743 + repository: *745 sender: *4 required: - action @@ -166436,13 +166970,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 +167038,7 @@ x-webhooks: Please use `squash_merge_commit_title` instead.** type: boolean default: false - repository: *743 + repository: *745 sender: *4 required: - action @@ -166585,12 +167119,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 +167204,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 +169489,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *743 + repository: *745 sender: *4 required: - action @@ -169034,11 +169568,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 +171872,7 @@ x-webhooks: - BRANCH_PROTECTIONS - GIT_TREE_INVALID - INVALID_MERGE_COMMIT - repository: *743 + repository: *745 sender: *4 required: - action @@ -171462,12 +171996,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 +172081,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 +174370,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *743 + repository: *745 sender: *4 required: - action @@ -173916,11 +174450,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 +176740,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *743 + repository: *745 sender: *4 required: - action @@ -176287,10 +176821,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 +179108,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *743 + repository: *745 sender: *4 required: - action @@ -178654,12 +179188,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 +179272,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 +179358,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 +179443,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 +179814,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 +181990,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *743 + repository: *745 sender: *4 required: - action @@ -181536,7 +182070,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 +182355,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 +184519,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *743 + repository: *745 sender: *4 required: - action @@ -184065,11 +184599,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 +186768,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *743 + repository: *745 sender: *4 required: - action @@ -186315,9 +186849,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 +189028,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 +189275,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 +191327,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 +191561,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 +193853,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *743 + repository: *745 requested_reviewer: title: User type: object @@ -193403,12 +193937,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 +196236,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 +196428,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 +198722,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *743 + repository: *745 requested_reviewer: title: User type: object @@ -198273,12 +198807,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 +201092,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 +201273,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 +203454,8 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *743 - review: *797 + repository: *745 + review: *799 sender: *4 required: - action @@ -203001,9 +203535,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 +205625,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *743 + repository: *745 sender: *4 thread: type: object @@ -205478,9 +206012,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 +208088,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *743 + repository: *745 sender: *4 thread: type: object @@ -207944,10 +208478,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 +210756,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *743 + repository: *745 sender: *4 required: - action @@ -210304,11 +210838,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 +213129,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *743 + repository: *745 sender: *4 required: - action @@ -212674,11 +213208,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 +215489,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *743 + repository: *745 sender: *4 required: - action @@ -215036,10 +215570,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 +217842,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *743 + repository: *745 sender: *4 required: - action @@ -217508,7 +218042,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 +218134,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 +218721,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 +219169,7 @@ x-webhooks: type: string rubygems_metadata: type: array - items: *779 + items: *781 summary: type: string tag_name: @@ -218689,7 +219223,7 @@ x-webhooks: - owner - package_version - registry - repository: *743 + repository: *745 sender: *4 required: - action @@ -218767,9 +219301,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 +219611,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: *779 + items: *781 summary: type: string tag_name: @@ -219126,7 +219660,7 @@ x-webhooks: - owner - package_version - registry - repository: *743 + repository: *745 sender: *4 required: - action @@ -219203,10 +219737,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 +220058,7 @@ x-webhooks: - updated_at - zipball_url - body - repository: *743 + repository: *745 sender: *4 required: - action @@ -219601,11 +220135,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 +220256,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 +220338,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 +220662,7 @@ x-webhooks: type: string nullable: true format: uri - repository: *743 + repository: *745 sender: *4 required: - action @@ -220204,10 +220738,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 +221060,7 @@ x-webhooks: type: string nullable: true format: uri - repository: *743 + repository: *745 sender: *4 required: - action @@ -220602,11 +221136,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 +221216,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 +221296,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 +221376,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 +221456,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 +221536,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 +221617,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 +221704,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 +221819,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 +221894,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 +221978,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 +222058,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 +222155,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 +222238,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 +222320,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 +222402,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 +222425,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 +222467,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 +222710,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 +222791,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 +222872,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 +222994,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 +223203,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 +223284,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 +223487,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 +223568,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 +223580,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 +223711,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 +223792,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 +223877,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 +224119,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 +224201,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 +224283,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 +224365,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 +224448,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 +224578,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 +224659,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 +224834,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 +224911,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 +225086,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 +225168,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 +225474,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 +225567,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 +225649,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 +225733,7 @@ x-webhooks: type: string enum: - pending_tier_change - changes: &807 + changes: &809 type: object properties: tier: @@ -225243,13 +225777,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 +225860,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 +225940,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 +226026,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 +226449,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 +226566,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 +226658,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 +226750,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 +226842,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 +226927,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 +227155,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 +227615,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *808 + team: *810 required: - action - team @@ -227157,9 +227691,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 +228151,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *808 + team: *810 required: - action - team @@ -227694,9 +228228,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 +228688,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *808 + team: *810 required: - action - team @@ -228298,9 +228832,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 +229292,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *808 + team: *810 required: - action - changes @@ -228836,9 +229370,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 +229830,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *808 + team: *810 required: - action - team @@ -229372,10 +229906,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 +229982,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 +230073,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 +230313,7 @@ x-webhooks: type: string required: - conclusion - deployment: *506 + deployment: *508 required: - action - repository @@ -229858,10 +230392,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 +230655,7 @@ x-webhooks: required: - status - steps - deployment: *506 + deployment: *508 required: - action - repository @@ -230200,10 +230734,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 +230872,7 @@ x-webhooks: - workflow_name - head_branch - created_at - deployment: *506 + deployment: *508 required: - action - repository @@ -230417,10 +230951,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 +231090,7 @@ x-webhooks: - workflow_name - head_branch - created_at - deployment: *506 + deployment: *508 required: - action - repository @@ -230636,12 +231170,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 +232174,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 +233163,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..23102bf3a0 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", @@ -79244,6 +80143,10 @@ "items": { "type": "string" } + }, + "use_immutable_subject": { + "description": "Whether to opt in to the immutable OIDC subject claim format for the organization. When `true`, new OIDC tokens will use a stable, repository-ID-based `sub` claim instead of the name-based format.", + "type": "boolean" } }, "required": [ @@ -79307,6 +80210,10 @@ "items": { "type": "string" } + }, + "use_immutable_subject": { + "description": "Whether to opt in to the immutable OIDC subject claim format for the organization. When `true`, new OIDC tokens will use a stable, repository-ID-based `sub` claim instead of the name-based format.", + "type": "boolean" } } }, @@ -102315,6 +103222,9 @@ "schema": { "type": "object", "additionalProperties": false, + "required": [ + "selected_repository_ids" + ], "properties": { "selected_repository_ids": { "type": "array", @@ -238571,6 +239481,14 @@ "items": { "type": "string" } + }, + "use_immutable_subject": { + "description": "Whether the repository has opted in to the immutable OIDC subject claim format. When `true`, OIDC tokens will use a stable, repository-ID-based `sub` claim. If not set at the repository level, falls back to the organization-level setting.", + "type": "boolean" + }, + "sub_claim_prefix": { + "description": "The current `sub` claim prefix for this repository.", + "type": "string" } }, "required": [ @@ -238738,6 +239656,10 @@ "items": { "type": "string" } + }, + "use_immutable_subject": { + "description": "Whether to opt in to the immutable OIDC subject claim format for this repository. When `true`, OIDC tokens will use a stable, repository-ID-based `sub` claim.", + "type": "boolean" } } }, @@ -257298,6 +258220,11 @@ { "op": "remove", "path": "/requestBody/content/application~1json/schema/properties/return_run_details" + }, + { + "op": "replace", + "path": "/responses/200/description", + "value": "Response including the workflow run ID and URLs." } ], "version": "2026-03-10" @@ -544246,6 +545173,15 @@ "description": "The username of the user to assign to the alert. Set to `null` to unassign the alert.", "type": "string", "nullable": true + }, + "validity": { + "type": "string", + "nullable": true, + "enum": [ + "active", + "inactive" + ], + "description": "Sets the validity of the secret scanning alert. Can be `active`, `inactive`, or `null` to clear the override." } }, "anyOf": [ @@ -545493,7 +546429,7 @@ "description": "Repository is public, or secret scanning is disabled for the repository, or the resource is not found" }, "422": { - "description": "State does not match the resolution or resolution comment, or assignee does not have write access to the repository" + "description": "State does not match the resolution or resolution comment, assignee does not have write access to the repository, or the requested validity change could not be applied to this alert" }, "503": { "description": "Service unavailable", @@ -966277,567 +967213,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 +976881,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 +976952,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 +977175,8 @@ "enum": [ "Bot", "User", - "Organization" + "Organization", + "Mannequin" ] }, "url": { @@ -968682,15 +977273,13 @@ "enum": [ "Bot", "User", - "Organization" + "Organization", + "Mannequin" ] }, "url": { "type": "string", "format": "uri" - }, - "user_view_type": { - "type": "string" } }, "required": [ @@ -968898,7 +977487,8 @@ "enum": [ "Bot", "User", - "Organization" + "Organization", + "Mannequin" ] }, "url": { @@ -969056,6 +977646,8 @@ "watch", "workflow_dispatch", "workflow_run", + "security_and_analysis", + "pull_request_review_thread", "reminder" ] } @@ -969303,7 +977895,8 @@ "type": "string", "enum": [ "read", - "write" + "write", + "admin" ] }, "organization_secrets": { @@ -970367,10 +978960,6 @@ "type": "string", "format": "uri" }, - "title": { - "description": "Title of the issue", - "type": "string" - }, "type": { "title": "Issue Type", "description": "The type of issue.", @@ -970431,6 +979020,10 @@ "description" ] }, + "title": { + "description": "Title of the issue", + "type": "string" + }, "updated_at": { "type": "string", "format": "date-time" @@ -970520,7 +979113,8 @@ "enum": [ "Bot", "User", - "Organization" + "Organization", + "Mannequin" ] }, "url": { @@ -970561,6 +979155,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 +980652,7 @@ }, "required": [ "action", + "changes", "issue", "repository", "sender" @@ -972042,11 +980678,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 +980749,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 +980851,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 +980867,6 @@ "title": "User", "type": "object", "nullable": true, - "required": [ - "login", - "id" - ], "properties": { "avatar_url": { "type": "string", @@ -972340,8 +980949,15 @@ "url": { "type": "string", "format": "uri" + }, + "user_view_type": { + "type": "string" } - } + }, + "required": [ + "login", + "id" + ] }, "assignees": { "type": "array", @@ -972349,10 +980965,6 @@ "title": "User", "type": "object", "nullable": true, - "required": [ - "login", - "id" - ], "properties": { "avatar_url": { "type": "string", @@ -972435,8 +981047,15 @@ "url": { "type": "string", "format": "uri" + }, + "user_view_type": { + "type": "string" } - } + }, + "required": [ + "login", + "id" + ] } }, "author_association": { @@ -972495,16 +981114,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 +981141,16 @@ "type": "string", "format": "uri" } - } + }, + "required": [ + "id", + "node_id", + "url", + "name", + "color", + "default", + "description" + ] } }, "labels_url": { @@ -972547,24 +981165,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 +981182,6 @@ "title": "User", "type": "object", "nullable": true, - "required": [ - "login", - "id" - ], "properties": { "avatar_url": { "type": "string", @@ -972672,7 +981268,11 @@ "user_view_type": { "type": "string" } - } + }, + "required": [ + "login", + "id" + ] }, "description": { "type": "string", @@ -972724,7 +981324,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 +981355,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 +981415,9 @@ "team_add", "watch", "workflow_dispatch", - "workflow_run" + "workflow_run", + "reminder", + "pull_request_review_thread" ] } }, @@ -972837,10 +981446,6 @@ "title": "User", "type": "object", "nullable": true, - "required": [ - "login", - "id" - ], "properties": { "avatar_url": { "type": "string", @@ -972926,7 +981531,11 @@ "user_view_type": { "type": "string" } - } + }, + "required": [ + "login", + "id" + ] }, "permissions": { "description": "The set of permissions for the GitHub app", @@ -973182,7 +981791,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 +981833,6 @@ "reactions": { "title": "Reactions", "type": "object", - "required": [ - "url", - "total_count", - "+1", - "-1", - "laugh", - "confused", - "heart", - "hooray", - "eyes", - "rocket" - ], "properties": { "+1": { "type": "integer" @@ -973257,7 +981865,19 @@ "type": "string", "format": "uri" } - } + }, + "required": [ + "url", + "total_count", + "+1", + "-1", + "laugh", + "confused", + "heart", + "hooray", + "eyes", + "rocket" + ] }, "repository_url": { "type": "string", @@ -974186,10 +982806,6 @@ "title": "User", "type": "object", "nullable": true, - "required": [ - "login", - "id" - ], "properties": { "avatar_url": { "type": "string", @@ -974277,193 +982893,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 +984527,7 @@ "required": [ "action", "issue", + "issue_field", "repository", "sender" ] @@ -975945,11 +984552,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 +984623,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 +984921,9 @@ "url": { "type": "string", "format": "uri" + }, + "user_view_type": { + "type": "string" } }, "required": [ @@ -976710,9 +985290,8 @@ "watch", "workflow_dispatch", "workflow_run", - "security_and_analysis", - "pull_request_review_thread", - "reminder" + "reminder", + "pull_request_review_thread" ] } }, @@ -978024,6 +986603,10 @@ "type": "string", "format": "uri" }, + "title": { + "description": "Title of the issue", + "type": "string" + }, "type": { "title": "Issue Type", "description": "The type of issue.", @@ -978084,10 +986667,6 @@ "description" ] }, - "title": { - "description": "Title of the issue", - "type": "string" - }, "updated_at": { "type": "string", "format": "date-time" @@ -978219,45 +986798,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 +988334,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..bb235153f6 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 @@ -21433,10 +21693,16 @@ paths: type: array items: type: string + use_immutable_subject: + description: Whether to opt in to the immutable OIDC subject claim + format for the organization. When `true`, new OIDC tokens will + use a stable, repository-ID-based `sub` claim instead of the + name-based format. + type: boolean required: - include_claim_keys examples: - default: &142 + default: &144 value: include_claim_keys: - repo @@ -21458,7 +21724,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: @@ -21474,14 +21740,20 @@ paths: type: array items: type: string + use_immutable_subject: + description: Whether to opt in to the immutable OIDC subject claim + format for the organization. When `true`, new OIDC tokens will + use a stable, repository-ID-based `sub` claim instead of the name-based + format. + type: boolean 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 +21783,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 +21792,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 +21805,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 +21813,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 +21849,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 +21860,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 +21890,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 +21933,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 +21975,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 +21995,7 @@ paths: required: - approval_policy examples: - default: &367 + default: &369 value: approval_policy: first_time_contributors '404': *6 @@ -21744,7 +22016,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 +22026,7 @@ paths: required: true content: application/json: - schema: *146 + schema: *148 examples: default: summary: Set approval policy to first time contributors @@ -21776,13 +22048,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 +22080,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 +22103,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 +22131,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 +22161,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 +22179,9 @@ paths: type: number repositories: type: array - items: *80 + items: *82 examples: - default: &151 + default: &153 value: total_count: 1 repositories: @@ -22049,7 +22321,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 +22365,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 +22394,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 +22418,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 +22446,7 @@ paths: items: type: string examples: - default: &150 + default: &152 value: github_owned_allowed: true verified_allowed: false @@ -22199,7 +22471,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 +22479,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 +22501,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 +22549,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 +22596,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 +22611,9 @@ paths: type: integer repositories: type: array - items: *80 + items: *82 examples: - default: *151 + default: *153 '403': *29 '404': *6 x-github: @@ -22361,7 +22633,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 +22681,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 +22708,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 +22737,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 +22761,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 +22786,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 +22794,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 +22820,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 +22845,7 @@ paths: type: number runner_groups: type: array - items: &155 + items: &157 type: object properties: id: @@ -22689,7 +22961,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 +23033,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 +23070,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 +23083,7 @@ paths: description: Response content: application/json: - schema: *155 + schema: *157 examples: default: value: @@ -22847,8 +23119,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 +23174,9 @@ paths: description: Response content: application/json: - schema: *155 + schema: *157 examples: - default: *157 + default: *159 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -22923,8 +23195,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 +23219,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 +23238,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 +23262,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 +23281,9 @@ paths: type: number repositories: type: array - items: *159 + items: *161 examples: - default: &196 + default: &198 value: total_count: 1 repositories: @@ -23263,8 +23535,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 +23580,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 +23604,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 +23629,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 +23648,7 @@ paths: type: number runners: type: array - items: &161 + items: &163 title: Self hosted runners description: A self hosted runner type: object @@ -23405,7 +23677,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 +23707,7 @@ paths: - busy - labels examples: - default: &162 + default: &164 value: total_count: 2 runners: @@ -23475,7 +23747,7 @@ paths: name: no-gpu type: custom headers: - Link: *68 + Link: *70 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -23494,8 +23766,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 +23811,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 +23841,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 +23873,7 @@ paths: in: query schema: type: string - - *76 + - *78 - *17 - *19 responses: @@ -23619,11 +23891,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 +23917,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 +23925,7 @@ paths: application/json: schema: type: array - items: &372 + items: &374 title: Runner Application description: Runner Application type: object @@ -23678,7 +23950,7 @@ paths: - download_url - filename examples: - default: &373 + default: &375 value: - os: osx architecture: x64 @@ -23721,7 +23993,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 +24036,7 @@ paths: - no-gpu work_folder: _work responses: - '201': &374 + '201': &376 description: Response content: application/json: @@ -23774,7 +24046,7 @@ paths: - runner - encoded_jit_config properties: - runner: *161 + runner: *163 encoded_jit_config: type: string description: The base64 encoded runner configuration. @@ -23831,13 +24103,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 +24131,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 +24147,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 +24178,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 +24211,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 +24261,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 +24288,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 +24305,7 @@ paths: type: integer labels: type: array - items: *164 + items: *166 examples: default: value: @@ -24072,8 +24344,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 +24369,7 @@ paths: - gpu - accelerated responses: - '200': *165 + '200': *167 '404': *6 '422': *7 x-github: @@ -24121,8 +24393,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 +24419,7 @@ paths: - gpu - accelerated responses: - '200': *165 + '200': *167 '404': *6 '422': *7 x-github: @@ -24171,10 +24443,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 +24460,7 @@ paths: type: integer labels: type: array - items: *164 + items: *166 examples: default: value: @@ -24229,9 +24501,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 +24511,7 @@ paths: schema: type: string responses: - '200': *165 + '200': *167 '404': *6 '422': *7 x-github: @@ -24264,7 +24536,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 +24554,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 +24604,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 +24627,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 +24662,7 @@ paths: - key_id - key examples: - default: &392 + default: &394 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -24415,8 +24687,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 +24700,7 @@ paths: description: Response content: application/json: - schema: *166 + schema: *168 examples: default: value: @@ -24458,8 +24730,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 +24788,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *168 + schema: *170 examples: default: value: @@ -24542,8 +24814,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 +24841,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 +24860,9 @@ paths: type: integer repositories: type: array - items: *159 + items: *161 examples: - default: &171 + default: &173 value: total_count: 1 repositories: @@ -24682,8 +24954,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 +25007,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 +25041,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 +25074,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 +25099,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 +25163,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 +25184,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 +25232,7 @@ paths: description: Response when creating a variable content: application/json: - schema: *168 + schema: *170 examples: default: value: @@ -24985,8 +25257,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 +25270,7 @@ paths: description: Response content: application/json: - schema: *169 + schema: *171 examples: default: value: @@ -25028,8 +25300,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 +25363,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 +25390,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 +25409,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 +25437,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 +25487,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 +25522,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 +25564,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 +25687,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 +25733,7 @@ paths: required: - total_count examples: - default: &173 + default: &175 value: total_count: 1 deployment_records: @@ -25498,7 +25770,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 +25913,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 +25964,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 +26127,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 +26152,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 +26174,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 +26259,7 @@ paths: - *17 - *47 - *48 - - *76 + - *78 requestBody: required: true content: @@ -26011,12 +26283,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 +26346,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 +26470,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 +26535,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 +26570,7 @@ paths: - *17 - *47 - *48 - - *76 + - *78 - name: predicate_type description: |- Optional filter for fetching attestations with a given predicate type. @@ -26346,7 +26618,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 +26656,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 +26711,7 @@ paths: initiator: type: string examples: - default: &405 + default: &407 value: attestations: - bundle: @@ -26560,7 +26832,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 +26844,7 @@ paths: type: array items: *4 examples: - default: *71 + default: *73 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -26591,8 +26863,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 +26889,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 +26910,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 +26936,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 +26944,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 +26970,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 +27001,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 +27076,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 +27148,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 +27191,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 +27286,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 +27312,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 +27411,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 +27462,7 @@ paths: schema: *3 '429': description: Too Many Requests - '503': *120 + '503': *122 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -27212,7 +27484,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 +27496,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 +27526,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 +27575,7 @@ paths: type: string format: uri nullable: true - state: *174 + state: *176 examples: default: value: @@ -27313,9 +27585,9 @@ paths: description: Response content: application/json: - schema: *175 + schema: *177 examples: - default: *176 + default: *178 '400': description: Bad Request content: @@ -27327,7 +27599,7 @@ paths: content: application/json: schema: *3 - '503': *120 + '503': *122 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -27348,7 +27620,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 +27631,7 @@ paths: '204': description: Deletion successful '404': *6 - '503': *120 + '503': *122 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -27381,18 +27653,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 +27672,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 +27687,7 @@ paths: be returned. in: query required: false - schema: &433 + schema: &435 type: string description: State of a code scanning alert. enum: @@ -27438,7 +27710,7 @@ paths: be returned. in: query required: false - schema: &434 + schema: &436 type: string description: Severity of a code scanning alert. enum: @@ -27467,18 +27739,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 +27758,7 @@ paths: - open - dismissed - fixed - fixed_at: *182 + fixed_at: *184 dismissed_by: title: Simple User description: A GitHub user. @@ -27494,8 +27766,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 +27776,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 +27835,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 +27884,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 +27905,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 +28170,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 +28194,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 +28300,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 +28544,7 @@ paths: application/json: schema: *49 examples: - default: *187 + default: *189 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -28294,15 +28566,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 +28600,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 +28608,8 @@ paths: schema: type: object additionalProperties: false + required: + - selected_repository_ids properties: selected_repository_ids: type: array @@ -28380,7 +28654,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 +28663,7 @@ paths: application/json: schema: *49 examples: - default: *187 + default: *189 '304': *37 '403': *29 '404': *6 @@ -28413,7 +28687,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 +28967,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 +28998,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 +29062,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 +29108,7 @@ paths: default: value: default_for_new_repos: all - configuration: *187 + configuration: *189 '403': *29 '404': *6 x-github: @@ -28858,7 +29132,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 +29161,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 +29191,7 @@ paths: parameters: - *17 - *19 - - *76 + - *78 responses: '200': description: Response @@ -28933,7 +29207,7 @@ paths: type: integer codespaces: type: array - items: &248 + items: &250 type: object title: Codespace description: A codespace. @@ -28958,12 +29232,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 +29279,7 @@ paths: - ready - in_progress nullable: true - required: &467 + required: &469 - name - display_name - operating_system @@ -29210,7 +29484,7 @@ paths: - pulls_url - recent_folders examples: - default: &249 + default: &251 value: total_count: 3 codespaces: @@ -29642,7 +29916,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 +29983,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 +30038,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 +30090,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 +30108,7 @@ paths: type: integer secrets: type: array - items: &192 + items: &194 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -29873,7 +30147,7 @@ paths: - updated_at - visibility examples: - default: &468 + default: &470 value: total_count: 2 secrets: @@ -29886,7 +30160,7 @@ paths: updated_at: '2020-01-11T11:59:22Z' visibility: all headers: - Link: *68 + Link: *70 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -29905,13 +30179,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 +30214,7 @@ paths: - key_id - key examples: - default: &470 + default: &472 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -29963,23 +30237,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 +30273,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 +30329,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *168 + schema: *170 examples: default: value: @@ -30081,8 +30355,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 +30381,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 +30400,9 @@ paths: type: integer repositories: type: array - items: *159 + items: *161 examples: - default: *171 + default: *173 '404': *6 x-github: githubCloudOnly: false @@ -30150,8 +30424,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 +30475,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 +30509,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 +30549,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 +30690,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 +30713,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 +30730,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 +30862,7 @@ paths: type: User site_admin: false headers: - Link: *68 + Link: *70 '500': *55 '401': *25 '403': *29 @@ -30622,7 +30896,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 +30974,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 +31054,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 +31131,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 +31209,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 +31274,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 +31329,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 +31344,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 +31378,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 +31434,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 +31468,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 +31508,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 +31561,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 +31652,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 +31684,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 +31991,7 @@ paths: - date additionalProperties: true examples: - default: &338 + default: &340 value: - date: '2024-06-24' total_active_users: 24 @@ -31819,7 +32093,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 +32124,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 +32163,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 +32200,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 +32239,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 +32272,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 +32308,7 @@ paths: enum: - patch - deployment - - *203 + - *205 - name: runtime_risk in: query description: |- @@ -32043,8 +32317,8 @@ paths: Can be: `critical-resource`, `internet-exposed`, `sensitive-data`, `lateral-movement` schema: type: string - - *204 - - *205 + - *206 + - *207 - *62 - *47 - *48 @@ -32056,9 +32330,9 @@ paths: application/json: schema: type: array - items: *206 + items: *208 examples: - default: *207 + default: *209 '304': *37 '400': *14 '403': *29 @@ -32084,7 +32358,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 +32381,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 +32414,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 +32480,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 +32528,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 +32546,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 +32596,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 +32617,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 +32640,7 @@ paths: - key_id - key examples: - default: &504 + default: &506 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -32484,14 +32663,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 +32698,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 +32756,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *168 + schema: *170 examples: default: value: @@ -32609,8 +32788,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 +32813,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 +32832,9 @@ paths: type: integer repositories: type: array - items: *159 + items: *161 examples: - default: *171 + default: *173 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -32676,8 +32855,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 +32906,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 +32938,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 +32969,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 +32977,7 @@ paths: application/json: schema: type: array - items: &261 + items: &263 title: Package description: A software package type: object @@ -32848,9 +33027,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 +33048,7 @@ paths: - created_at - updated_at examples: - default: &262 + default: &264 value: - id: 197 name: hello_docker @@ -32947,7 +33126,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 +33136,7 @@ paths: application/json: schema: type: array - items: *112 + items: *114 examples: 200-response: value: @@ -33029,7 +33208,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 +33218,7 @@ paths: application/json: schema: type: array - items: &237 + items: &239 title: Organization Invitation description: Organization Invitation type: object @@ -33086,7 +33265,7 @@ paths: - invitation_teams_url - node_id examples: - default: &238 + default: &240 value: - id: 1 login: monalisa @@ -33119,7 +33298,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 +33322,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 +33332,7 @@ paths: application/json: schema: type: array - items: &214 + items: &216 title: Org Hook description: Org Hook type: object @@ -33241,7 +33420,7 @@ paths: created_at: '2011-09-06T17:26:27Z' type: Organization headers: - Link: *68 + Link: *70 '404': *6 x-github: githubCloudOnly: false @@ -33264,7 +33443,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 +33503,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 +33552,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 +33566,9 @@ paths: description: Response content: application/json: - schema: *214 + schema: *216 examples: - default: *215 + default: *217 '404': *6 x-github: githubCloudOnly: false @@ -33416,8 +33595,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 +33641,7 @@ paths: description: Response content: application/json: - schema: *214 + schema: *216 examples: default: value: @@ -33503,8 +33682,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 +33710,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 +33741,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 +33792,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 +33804,9 @@ paths: application/json: schema: type: array - items: *219 + items: *221 examples: - default: *220 + default: *222 '400': *14 '422': *15 x-github: @@ -33652,17 +33831,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 +33866,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 +33896,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 +33919,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 +33933,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 +33948,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 +34041,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 +34124,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 +34148,7 @@ paths: type: integer format: int64 examples: - default: &226 + default: &228 value: total_request_count: 34225 rate_limited_request_count: 23 @@ -33989,24 +34168,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 +34203,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 +34232,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 +34248,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 +34264,7 @@ paths: type: integer format: int64 examples: - default: &232 + default: &234 value: - timestamp: '2024-09-11T15:00:00Z' total_request_count: 34225 @@ -34121,19 +34300,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 +34329,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 +34359,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 +34439,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 +34447,7 @@ paths: application/json: schema: *22 examples: - default: &543 + default: &545 value: id: 1 account: @@ -34337,7 +34516,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 +34586,7 @@ paths: suspended_at: suspended_by: headers: - Link: *68 + Link: *70 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -34426,7 +34605,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 +34613,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 +34643,7 @@ paths: properties: {} additionalProperties: false examples: - default: &236 + default: &238 value: limit: collaborators_only origin: organization @@ -34488,18 +34667,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 +34702,9 @@ paths: description: Response content: application/json: - schema: *235 + schema: *237 examples: - default: *236 + default: *238 '422': *15 x-github: githubCloudOnly: false @@ -34543,7 +34722,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 +34746,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 +34780,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 +34805,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 +34859,7 @@ paths: description: Response content: application/json: - schema: *237 + schema: *239 examples: default: value: @@ -34734,8 +34913,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 +34944,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 +34955,9 @@ paths: application/json: schema: type: array - items: *195 + items: *197 examples: - default: &260 + default: &262 value: - id: 1 node_id: MDQ6VGVhbTE= @@ -34794,7 +34973,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 +34992,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 +35000,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 +35143,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 +35233,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 +35290,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 +35399,9 @@ paths: description: Response content: application/json: - schema: *240 + schema: *242 examples: - default: *241 + default: *243 '404': *6 '422': *7 x-github: @@ -35246,8 +35425,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 +35448,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 +35456,7 @@ paths: application/json: schema: type: array - items: *243 + items: *245 examples: default: value: @@ -35315,7 +35494,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 +35541,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 +35575,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 +35629,9 @@ paths: description: Response content: application/json: - schema: *243 + schema: *245 examples: - default: *244 + default: *246 '404': *6 '422': *7 x-github: @@ -35476,8 +35655,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 +35689,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 +35719,7 @@ paths: - closed - all default: open - - *246 + - *248 - name: type description: Can be the name of an issue type. in: query @@ -35559,7 +35738,7 @@ paths: - comments default: created - *62 - - *93 + - *95 - *17 - *19 responses: @@ -35569,11 +35748,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 +35772,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 +35810,9 @@ paths: type: array items: *4 examples: - default: *71 + default: *73 headers: - Link: *68 + Link: *70 '422': *15 x-github: githubCloudOnly: false @@ -35651,8 +35830,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 +35865,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 +35898,8 @@ paths: parameters: - *17 - *19 - - *76 - - *72 + - *78 + - *74 responses: '200': description: Response @@ -35736,9 +35915,9 @@ paths: type: integer codespaces: type: array - items: *248 + items: *250 examples: - default: *249 + default: *251 '304': *37 '500': *55 '401': *25 @@ -35763,9 +35942,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 +35977,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 +36160,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 +36236,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 +36287,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 +36310,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 +36382,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 +36411,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 +36443,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 +36469,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 +36490,7 @@ paths: application/json: schema: type: array - items: &254 + items: &256 title: Migration description: A migration. type: object @@ -36352,7 +36531,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 +36738,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 +36754,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 +36830,7 @@ paths: description: Response content: application/json: - schema: *254 + schema: *256 examples: default: value: @@ -36829,8 +37008,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 +37036,7 @@ paths: * `failed`, which means the migration failed. content: application/json: - schema: *254 + schema: *256 examples: default: value: @@ -37026,8 +37205,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 +37227,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 +37251,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 +37280,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 +37291,9 @@ paths: application/json: schema: type: array - items: *159 + items: *161 examples: - default: &267 + default: &269 value: - id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -37227,7 +37406,7 @@ paths: secret_scanning_delegated_alert_dismissal: status: disabled headers: - Link: *68 + Link: *70 '404': *6 x-github: githubCloudOnly: false @@ -37271,7 +37450,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 +37466,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 +37613,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 +37639,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 +37676,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 +37703,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 +37729,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 +37761,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 +37791,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 +37848,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 +37927,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 +37960,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 +37989,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 +38018,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 +38119,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 +38143,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 +38170,9 @@ paths: type: array items: *4 examples: - default: *71 + default: *73 headers: - Link: *68 + Link: *70 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -38016,8 +38195,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 +38253,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 +38311,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 +38348,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 +38375,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 +38393,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 +38458,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 +38492,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 +38526,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 +38548,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 +38673,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 +38688,7 @@ paths: description: Response content: application/json: - schema: *265 + schema: *267 examples: default: value: @@ -38545,10 +38724,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 +38759,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 +38789,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 +38803,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 +38814,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 +38822,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 +38830,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 +38840,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 +38850,7 @@ paths: schema: type: string format: date-time - - &274 + - &276 name: token_id description: The ID of the token in: query @@ -38815,7 +38994,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 +39014,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 +39080,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 +39141,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 +39161,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 +39186,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 +39325,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 +39345,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 +39405,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 +39457,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 +39476,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 +39502,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 +39520,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 +39649,7 @@ paths: updated_at: '2020-01-10T14:59:22Z' visibility: selected headers: - Link: *68 + Link: *70 '400': *14 '404': *6 x-github: @@ -39493,7 +39672,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 +39991,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 +40032,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 +40058,7 @@ paths: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 headers: - Link: *68 + Link: *70 '404': *6 x-github: githubCloudOnly: false @@ -39901,16 +40080,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 +40111,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 +40288,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 +40312,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 +40329,7 @@ paths: application/json: schema: type: array - items: &277 + items: &279 title: Projects v2 Project description: A projects v2 project type: object @@ -40220,7 +40399,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 +40447,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 +40472,7 @@ paths: - deleted_at - deleted_by examples: - default: &278 + default: &280 value: id: 2 node_id: MDc6UHJvamVjdDEwMDI2MDM= @@ -40376,7 +40555,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 +40575,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 +40612,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 +40647,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 +40660,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 +40767,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 +40811,7 @@ paths: items: *4 requested_teams: type: array - items: *195 + items: *197 head: type: object properties: @@ -40640,7 +40819,7 @@ paths: type: string ref: type: string - repo: *80 + repo: *82 sha: type: string user: @@ -40663,7 +40842,7 @@ paths: type: string ref: type: string - repo: *80 + repo: *82 sha: type: string user: @@ -40682,7 +40861,7 @@ paths: _links: type: object properties: - comments: &282 + comments: &284 title: Link description: Hypermedia Link type: object @@ -40691,13 +40870,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 +40886,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 +41061,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 +41101,7 @@ paths: - updated_at - archived_at examples: - draft_issue: &286 + draft_issue: &288 value: id: 17 node_id: PVTI_lADOANN5s84ACbL0zgBueEI @@ -40996,8 +41175,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 +41187,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 +41337,7 @@ paths: - updated_at - project_url examples: - default: &723 + default: &725 value: - id: 12345 node_id: PVTF_lADOABCD1234567890 @@ -41269,7 +41448,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 +41467,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 +41514,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 +41551,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 +41601,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 +41628,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 +41652,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 +41663,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 +41672,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 +41681,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 +41715,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 +41760,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 +41811,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 +41832,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 +41865,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 +41881,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 +41924,7 @@ paths: - updated_at - archived_at examples: - default: &288 + default: &290 value: id: 13 node_id: PVTI_lAAFAQ0 @@ -42422,7 +42601,7 @@ paths: data_type: sub_issues_progress value: headers: - Link: *68 + Link: *70 '304': *37 '403': *29 '401': *25 @@ -42442,8 +42621,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 +42692,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 +42727,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 +42755,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 +42778,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 +42850,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 +42876,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 +42901,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 +42973,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 +43071,7 @@ paths: examples: table_view: summary: Response for creating a table view - value: &290 + value: &292 value: id: 1 number: 1 @@ -42938,10 +43117,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 +43148,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 +43182,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 +43209,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 +43217,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 +43285,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 +43334,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 +43345,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 +43375,9 @@ paths: application/json: schema: type: array - items: *291 + items: *293 examples: - default: *292 + default: *294 '403': *29 '404': *6 x-github: @@ -43219,8 +43398,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 +43411,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 +43447,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 +43519,9 @@ paths: description: Response content: application/json: - schema: *291 + schema: *293 examples: - default: *294 + default: *296 '403': *29 '404': *6 x-github: @@ -43365,8 +43544,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 +43568,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 +43606,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 +43645,7 @@ paths: - property_name: team value: octocat headers: - Link: *68 + Link: *70 '403': *29 '404': *6 x-github: @@ -43494,7 +43673,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 +43693,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 +43734,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 +43746,9 @@ paths: type: array items: *4 examples: - default: *71 + default: *73 headers: - Link: *68 + Link: *70 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -43586,8 +43765,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 +43790,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 +43812,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 +43837,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 +43883,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 +43906,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 +44087,7 @@ paths: description: Response content: application/json: - schema: &347 + schema: &349 title: Full Repository description: Full Repository type: object @@ -44196,9 +44375,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 +44464,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 +44474,8 @@ paths: properties: *20 required: *21 nullable: true - parent: *80 - source: *80 + parent: *82 + source: *82 forks: type: integer master_branch: @@ -44313,7 +44492,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 +44508,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 +44608,7 @@ paths: has_downloads: version: '2026-03-10' examples: - default: &349 + default: &351 value: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -44959,10 +45138,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 +45159,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 +45194,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 +45207,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 +45277,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 +45301,7 @@ paths: match. items: type: string - - &304 + - &306 title: Organization ruleset conditions type: object description: |- @@ -45136,7 +45315,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 +45349,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 +45371,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 +45384,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 +45417,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 +45439,7 @@ paths: type: string enum: - creation - - &306 + - &308 title: update description: Only allow users with bypass permission to update matching refs. @@ -45281,7 +45460,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 +45472,7 @@ paths: type: string enum: - deletion - - &308 + - &310 title: required_linear_history description: Prevent merge commits from being pushed to matching refs. @@ -45305,7 +45484,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 +45562,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 +45586,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 +45598,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 +45704,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 +45752,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 +45764,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 +45801,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 +45838,7 @@ paths: required: - operator - pattern - - &316 + - &318 title: committer_email_pattern description: Parameters to be used for the committer_email_pattern rule @@ -45696,7 +45875,7 @@ paths: required: - operator - pattern - - &317 + - &319 title: branch_name_pattern description: Parameters to be used for the branch_name_pattern rule @@ -45733,7 +45912,7 @@ paths: required: - operator - pattern - - &318 + - &320 title: tag_name_pattern description: Parameters to be used for the tag_name_pattern rule @@ -45770,7 +45949,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 +45974,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 +45998,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 +46021,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 +46046,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 +46096,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 +46157,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 +46235,7 @@ paths: category: orgs subcategory: rules parameters: - - *76 + - *78 requestBody: description: Request body required: true @@ -46077,22 +46256,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 +46289,8 @@ paths: - *323 - *324 - *325 + - *326 + - *327 required: - name - enforcement @@ -46149,9 +46328,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 +46385,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 +46401,7 @@ paths: in: query schema: type: string - - &621 + - &623 name: time_period description: |- The time period to filter by. @@ -46238,14 +46417,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 +46444,7 @@ paths: description: Response content: application/json: - schema: &624 + schema: &626 title: Rule Suites description: Response type: array @@ -46320,7 +46499,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 +46542,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 +46559,7 @@ paths: description: Response content: application/json: - schema: &627 + schema: &629 title: Rule Suite description: Response type: object @@ -46479,7 +46658,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 +46719,7 @@ paths: category: orgs subcategory: rules parameters: - - *76 + - *78 - name: ruleset_id description: The ID of the ruleset. in: path @@ -46552,9 +46731,9 @@ paths: description: Response content: application/json: - schema: *326 + schema: *328 examples: - default: *327 + default: *329 '404': *6 '500': *55 put: @@ -46572,7 +46751,7 @@ paths: category: orgs subcategory: rules parameters: - - *76 + - *78 - name: ruleset_id description: The ID of the ruleset. in: path @@ -46598,16 +46777,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 +46821,9 @@ paths: description: Response content: application/json: - schema: *326 + schema: *328 examples: - default: *327 + default: *329 '404': *6 '422': *15 '500': *55 @@ -46663,7 +46842,7 @@ paths: category: orgs subcategory: rules parameters: - - *76 + - *78 - name: ruleset_id description: The ID of the ruleset. in: path @@ -46686,7 +46865,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 +46881,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 +46905,7 @@ paths: type: string format: date-time examples: - default: &630 + default: &632 value: - version_id: 3 actor: @@ -46761,7 +46940,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 +46958,9 @@ paths: description: Response content: application/json: - schema: &631 + schema: &633 allOf: - - *329 + - *331 - type: object required: - state @@ -46850,8 +47029,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 +47041,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 +47051,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 +47062,7 @@ paths: required: false schema: type: string - - &635 + - &637 name: exclude_providers in: query description: |- @@ -46894,7 +47073,7 @@ paths: required: false schema: type: string - - &636 + - &638 name: providers in: query description: |- @@ -46905,7 +47084,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 +47093,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 +47112,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 +47127,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 +47137,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 +47147,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 +47156,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 +47165,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 +47174,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 +47193,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 +47202,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 +47333,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 +47392,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 +47447,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 +47467,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 +47487,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 +47507,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 +47521,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 +47535,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 +47549,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 +47569,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 +47589,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 +47609,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 +47629,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 +47853,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 +47880,7 @@ paths: category: secret-scanning subcategory: push-protection parameters: - - *76 + - *78 responses: '200': description: Response @@ -47713,7 +47892,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 +47901,7 @@ paths: provider_pattern_overrides: type: array description: Overrides for partner patterns. - items: &330 + items: &332 type: object properties: token_type: @@ -47788,7 +47967,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 +48016,7 @@ paths: category: secret-scanning subcategory: push-protection parameters: - - *76 + - *78 requestBody: required: true content: @@ -47845,7 +48024,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 +48050,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 +48104,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 +48148,7 @@ paths: application/json: schema: type: array - items: &666 + items: &668 description: A repository security advisory. type: object properties: @@ -48189,7 +48368,7 @@ paths: login: type: string description: The username of the user credited. - type: *332 + type: *334 credits_detailed: type: array nullable: true @@ -48199,7 +48378,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 +48402,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 +48471,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 +48850,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 +48858,7 @@ paths: application/json: schema: type: array - items: *333 + items: *335 examples: default: value: @@ -48719,8 +48898,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 +48924,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 +48952,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 +49001,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 +49058,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 +49076,9 @@ paths: type: integer repositories: type: array - items: *159 + items: *161 examples: - default: *171 + default: *173 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -48918,7 +49097,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 +49146,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 +49169,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 +49193,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 +49211,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 +49282,7 @@ paths: - 6789ABDCEF12345 created_on: '2023-04-26T15:23:37Z' headers: - Link: *68 + Link: *70 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -49122,7 +49301,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 +49357,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 +49387,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 +49400,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 +49423,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 +49477,9 @@ paths: description: Response content: application/json: - schema: *334 + schema: *336 examples: - default: *335 + default: *337 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -49319,8 +49498,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 +49522,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 +49576,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 +49606,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 +49639,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 +49663,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 +49685,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 +49709,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 +49781,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 +49844,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 +50108,7 @@ paths: - repos_count - organization examples: - default: &341 + default: &343 value: id: 1 node_id: MDQ6VGVhbTE= @@ -50010,16 +50189,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 +50219,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 +50282,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 +50316,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 +50344,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 +50355,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 +50380,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 +50404,9 @@ paths: type: array items: *4 examples: - default: *71 + default: *73 headers: - Link: *68 + Link: *70 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -50255,15 +50434,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 +50469,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 +50505,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 +50532,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 +50569,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 +50597,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 +50608,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 +50639,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 +50671,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 +51302,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 +51350,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 +51377,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 +51388,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 +51418,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 +51443,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 +51544,7 @@ paths: resources: type: object properties: - core: &346 + core: &348 title: Rate Limit type: object properties: @@ -51382,21 +51561,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 +51694,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 +52212,7 @@ paths: version: '2026-03-10' '403': *29 '404': *6 - '301': *348 + '301': *350 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -52051,8 +52230,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 +52529,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 +52561,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 +52584,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 +52608,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 +52635,7 @@ paths: type: integer artifacts: type: array - items: &351 + items: &353 title: Artifact description: An artifact type: object @@ -52534,7 +52713,7 @@ paths: - expires_at - updated_at examples: - default: &384 + default: &386 value: total_count: 2 artifacts: @@ -52573,7 +52752,7 @@ paths: head_branch: main head_sha: 178f4f6090b3fccad4a65b3e83d076a622d59652 headers: - Link: *68 + Link: *70 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -52595,9 +52774,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 +52788,7 @@ paths: description: Response content: application/json: - schema: *351 + schema: *353 examples: default: value: @@ -52647,9 +52826,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 +52852,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 +52864,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 +52893,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 +52933,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 +52968,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 +53008,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 +53045,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 +53078,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 +53116,7 @@ paths: description: Response content: application/json: - schema: &357 + schema: &359 title: Repository actions caches description: Repository actions caches type: object @@ -52979,7 +53158,7 @@ paths: - total_count - actions_caches examples: - default: &358 + default: &360 value: total_count: 1 actions_caches: @@ -52991,7 +53170,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 +53190,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 +53226,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 +53258,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 +53272,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 +53579,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 +53609,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 +53632,7 @@ paths: description: Response content: application/json: - schema: *168 + schema: *170 examples: default: value: @@ -53477,8 +53656,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 @@ -53499,6 +53678,15 @@ paths: type: array items: type: string + use_immutable_subject: + description: Whether the repository has opted in to the immutable + OIDC subject claim format. When `true`, OIDC tokens will use + a stable, repository-ID-based `sub` claim. If not set at the + repository level, falls back to the organization-level setting. + type: boolean + sub_claim_prefix: + description: The current `sub` claim prefix for this repository. + type: string required: - use_default examples: @@ -53528,8 +53716,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: @@ -53551,6 +53739,11 @@ paths: type: array items: type: string + use_immutable_subject: + description: Whether to opt in to the immutable OIDC subject claim + format for this repository. When `true`, OIDC tokens will use + a stable, repository-ID-based `sub` claim. + type: boolean examples: default: value: @@ -53563,7 +53756,7 @@ paths: description: Empty response content: application/json: - schema: *168 + schema: *170 examples: default: value: @@ -53592,8 +53785,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 +53804,7 @@ paths: type: integer secrets: type: array - items: &389 + items: &391 title: Actions Secret description: Set secrets for GitHub Actions. type: object @@ -53631,7 +53824,7 @@ paths: - created_at - updated_at examples: - default: &390 + default: &392 value: total_count: 2 secrets: @@ -53642,7 +53835,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 +53857,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 +53876,7 @@ paths: type: integer variables: type: array - items: &393 + items: &395 title: Actions Variable type: object properties: @@ -53713,7 +53906,7 @@ paths: - created_at - updated_at examples: - default: &394 + default: &396 value: total_count: 2 variables: @@ -53726,7 +53919,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 +53939,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 +53949,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 +53982,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 +53994,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 +54026,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 +54050,7 @@ paths: required: - access_level examples: - default: &364 + default: &366 value: access_level: organization x-github: @@ -53881,15 +54074,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 +54106,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 +54137,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 +54148,7 @@ paths: required: true content: application/json: - schema: *366 + schema: *368 examples: default: summary: Set retention days @@ -53979,16 +54172,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 +54200,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 +54211,7 @@ paths: required: true content: application/json: - schema: *146 + schema: *148 examples: default: summary: Set approval policy to first time contributors @@ -54042,16 +54235,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 +54264,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 +54296,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 +54324,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 +54333,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 +54357,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 +54387,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 +54399,9 @@ paths: required: true content: application/json: - schema: *371 + schema: *373 examples: - default: *154 + default: *156 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -54235,8 +54428,8 @@ paths: in: query schema: type: string - - *344 - - *345 + - *346 + - *347 - *17 - *19 responses: @@ -54254,11 +54447,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 +54473,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 +54482,9 @@ paths: application/json: schema: type: array - items: *372 + items: *374 examples: - default: *373 + default: *375 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -54313,8 +54506,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 +54550,7 @@ paths: - no-gpu work_folder: _work responses: - '201': *374 + '201': *376 '404': *6 '422': *7 '409': *54 @@ -54388,16 +54581,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 +54618,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 +54649,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 +54680,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 +54708,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 +54734,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 +54760,7 @@ paths: - gpu - accelerated responses: - '200': *165 + '200': *167 '404': *6 '422': *7 x-github: @@ -54591,9 +54784,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 +54811,7 @@ paths: - gpu - accelerated responses: - '200': *165 + '200': *167 '404': *6 '422': *7 x-github: @@ -54642,11 +54835,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 +54866,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 +54897,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 +54907,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 +54915,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 +54924,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 +54951,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 +54960,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 +54969,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 +54998,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 +55093,7 @@ paths: that triggered the run. type: array nullable: true - items: *91 + items: *93 created_at: type: string format: date-time @@ -54953,7 +55146,7 @@ paths: title: Simple Commit description: A commit. type: object - properties: &425 + properties: &427 id: type: string description: SHA for the commit @@ -55004,7 +55197,7 @@ paths: - name - email nullable: true - required: &426 + required: &428 - id - tree_id - message @@ -55012,8 +55205,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 +55244,7 @@ paths: - workflow_url - pull_requests examples: - default: &404 + default: &406 value: total_count: 1 workflow_runs: @@ -55265,7 +55458,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 +55480,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 +55738,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 +55763,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 +55884,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 +55919,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 +55941,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 +55967,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 +56008,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 +56029,9 @@ paths: type: integer jobs: type: array - items: *387 + items: *389 examples: - default: &388 + default: &390 value: total_count: 1 jobs: @@ -55927,7 +56120,7 @@ paths: workflow_name: CI head_branch: main headers: - Link: *68 + Link: *70 '404': *6 x-github: githubCloudOnly: false @@ -55951,10 +56144,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 +56175,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 +56210,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 +56279,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 +56314,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 +56346,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 +56373,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 +56402,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 +56431,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 +56493,7 @@ paths: items: type: object properties: - type: &513 + type: &515 type: string description: The type of reviewer. enum: @@ -56310,7 +56503,7 @@ paths: reviewer: anyOf: - *4 - - *195 + - *197 required: - environment - wait_timer @@ -56385,9 +56578,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 +56627,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 +56715,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 +56733,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 +56789,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 +56812,7 @@ paths: description: Response content: application/json: - schema: *168 + schema: *170 examples: default: value: @@ -56642,9 +56835,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 +56858,7 @@ paths: description: Response content: application/json: - schema: *168 + schema: *170 examples: default: value: @@ -56697,9 +56890,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 +57029,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 +57048,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 +57075,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 +57106,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 +57142,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 +57175,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *168 + schema: *170 examples: default: value: @@ -57008,9 +57201,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 +57228,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 +57247,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 +57272,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 +57300,7 @@ paths: description: Response content: application/json: - schema: *168 + schema: *170 examples: default: value: @@ -57132,17 +57325,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 +57361,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 +57405,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 +57432,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 +57451,7 @@ paths: type: integer workflows: type: array - items: &395 + items: &397 title: Workflow description: A GitHub Actions workflow type: object @@ -57342,7 +57535,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 +57558,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 +57575,7 @@ paths: description: Response content: application/json: - schema: *395 + schema: *397 examples: default: value: @@ -57415,9 +57608,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 +57635,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`. @@ -57524,6 +57717,9 @@ paths: path: "/responses/204" - op: remove path: "/requestBody/content/application~1json/schema/properties/return_run_details" + - op: replace + path: "/responses/200/description" + value: Response including the workflow run ID and URLs. version: '2026-03-10' "/repos/{owner}/{repo}/actions/workflows/{workflow_id}/enable": put: @@ -57539,9 +57735,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 +57764,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 +57792,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 +57826,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 +57889,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 +58035,7 @@ paths: type: User site_admin: false headers: - Link: *68 + Link: *70 '422': *7 x-github: githubCloudOnly: false @@ -57858,8 +58054,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 +58067,9 @@ paths: type: array items: *4 examples: - default: *71 + default: *73 headers: - Link: *68 + Link: *70 '404': *6 x-github: githubCloudOnly: false @@ -57896,8 +58092,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 +58129,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 +58240,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 +58298,7 @@ paths: initiator: type: string examples: - default: *405 + default: *407 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -58136,8 +58332,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 +58341,7 @@ paths: application/json: schema: type: array - items: &406 + items: &408 title: Autolink reference description: An autolink reference. type: object @@ -58199,8 +58395,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 +58435,9 @@ paths: description: response content: application/json: - schema: *406 + schema: *408 examples: - default: &407 + default: &409 value: id: 1 key_prefix: TICKET- @@ -58272,9 +58468,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 +58482,9 @@ paths: description: Response content: application/json: - schema: *406 + schema: *408 examples: - default: *407 + default: *409 '404': *6 x-github: githubCloudOnly: false @@ -58308,9 +58504,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 +58530,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 +58579,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 +58601,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 +58622,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 +58661,7 @@ paths: - url protected: type: boolean - protection: &410 + protection: &412 title: Branch Protection description: Branch Protection type: object @@ -58507,7 +58703,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 +58718,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 +58739,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 +58768,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 +58794,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 +58857,7 @@ paths: type: string teams: type: array - items: *195 + items: *197 apps: type: array items: @@ -58857,7 +59053,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 +59071,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 +59087,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 +59128,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 +59144,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 +59165,7 @@ paths: required: - sha - url - verification: &533 + verification: &535 title: Verification type: object properties: @@ -59003,12 +59199,12 @@ paths: nullable: true oneOf: - *4 - - *168 + - *170 committer: nullable: true oneOf: - *4 - - *168 + - *170 parents: type: array items: @@ -59039,7 +59235,7 @@ paths: type: integer files: type: array - items: &491 + items: &493 title: Diff Entry description: Diff Entry type: object @@ -59123,7 +59319,7 @@ paths: - self protected: type: boolean - protection: *410 + protection: *412 protection_url: type: string format: uri @@ -59230,7 +59426,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 +59448,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 +59650,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 +59907,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 +59983,7 @@ paths: items: *4 teams: type: array - items: *195 + items: *197 apps: type: array items: *5 @@ -59805,7 +60001,7 @@ paths: items: *4 teams: type: array - items: *195 + items: *197 apps: type: array items: *5 @@ -59863,7 +60059,7 @@ paths: additionalProperties: false required: - enabled - restrictions: *412 + restrictions: *414 required_conversation_resolution: type: object properties: @@ -59975,9 +60171,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 +60198,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 +60230,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 +60259,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 +60286,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 +60392,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 +60492,9 @@ paths: description: Response content: application/json: - schema: *415 + schema: *417 examples: - default: *416 + default: *418 '422': *15 x-github: githubCloudOnly: false @@ -60319,9 +60515,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 +60544,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 +60577,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 +60607,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 +60634,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 +60670,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 +60724,9 @@ paths: description: Response content: application/json: - schema: *418 + schema: *420 examples: - default: *419 + default: *421 '404': *6 '422': *15 x-github: @@ -60552,9 +60748,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 +60774,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 +60810,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 +60879,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 +60945,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 +61013,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 +61112,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 +61137,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 +61149,7 @@ paths: type: array items: *5 examples: - default: &420 + default: &422 value: - id: 1 slug: octoapp @@ -61010,9 +61206,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 +61242,7 @@ paths: type: array items: *5 examples: - default: *420 + default: *422 '422': *15 x-github: githubCloudOnly: false @@ -61067,9 +61263,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 +61299,7 @@ paths: type: array items: *5 examples: - default: *420 + default: *422 '422': *15 x-github: githubCloudOnly: false @@ -61124,9 +61320,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 +61356,7 @@ paths: type: array items: *5 examples: - default: *420 + default: *422 '422': *15 x-github: githubCloudOnly: false @@ -61182,9 +61378,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 +61388,9 @@ paths: application/json: schema: type: array - items: *195 + items: *197 examples: - default: *260 + default: *262 '404': *6 x-github: githubCloudOnly: false @@ -61214,9 +61410,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 +61448,9 @@ paths: application/json: schema: type: array - items: *195 + items: *197 examples: - default: *260 + default: *262 '422': *15 x-github: githubCloudOnly: false @@ -61275,9 +61471,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 +61509,9 @@ paths: application/json: schema: type: array - items: *195 + items: *197 examples: - default: *260 + default: *262 '422': *15 x-github: githubCloudOnly: false @@ -61336,9 +61532,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 +61569,9 @@ paths: application/json: schema: type: array - items: *195 + items: *197 examples: - default: *260 + default: *262 '422': *15 x-github: githubCloudOnly: false @@ -61397,9 +61593,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 +61605,7 @@ paths: type: array items: *4 examples: - default: *71 + default: *73 '404': *6 x-github: githubCloudOnly: false @@ -61433,9 +61629,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 +61664,7 @@ paths: type: array items: *4 examples: - default: *71 + default: *73 '422': *15 x-github: githubCloudOnly: false @@ -61493,9 +61689,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 +61724,7 @@ paths: type: array items: *4 examples: - default: *71 + default: *73 '422': *15 x-github: githubCloudOnly: false @@ -61553,9 +61749,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 +61784,7 @@ paths: type: array items: *4 examples: - default: *71 + default: *73 '422': *15 x-github: githubCloudOnly: false @@ -61615,9 +61811,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 +61835,7 @@ paths: description: Response content: application/json: - schema: *421 + schema: *423 examples: default: value: @@ -61755,8 +61951,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 +62231,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 +62342,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 +62418,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 +62631,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 +62645,9 @@ paths: description: Response content: application/json: - schema: *422 + schema: *424 examples: - default: &424 + default: &426 value: id: 4 head_sha: ce587453ced02b1526dfb4cb910479d431683101 @@ -62551,9 +62747,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 +62989,9 @@ paths: description: Response content: application/json: - schema: *422 + schema: *424 examples: - default: *424 + default: *426 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -62815,9 +63011,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 +63088,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 +63108,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 +63154,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 +63177,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 +63241,7 @@ paths: nullable: true pull_requests: type: array - items: *91 + items: *93 nullable: true app: title: GitHub app @@ -63056,9 +63252,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 +63263,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 +63296,7 @@ paths: - check_runs_url - pull_requests examples: - default: &428 + default: &430 value: id: 5 node_id: MDEwOkNoZWNrU3VpdGU1 @@ -63391,9 +63587,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 +63608,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 +63670,7 @@ paths: required: - app_id - setting - repository: *159 + repository: *161 examples: default: value: @@ -63722,9 +63918,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 +63932,9 @@ paths: description: Response content: application/json: - schema: *427 + schema: *429 examples: - default: *428 + default: *430 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -63761,17 +63957,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 +64006,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 +64090,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 +64110,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 +64145,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 +64184,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 +64209,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 +64224,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 +64355,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 +64382,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 +64392,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 +64416,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 +64472,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 +64572,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 +64592,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 +64609,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 +64638,7 @@ paths: description: Response content: application/json: - schema: *443 + schema: *445 examples: default: value: @@ -64518,14 +64714,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 +64741,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 +64775,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 +64792,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 +64817,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 +64849,7 @@ paths: '404': *6 '422': description: Unprocessable Entity - '503': *120 + '503': *122 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -64675,9 +64871,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 +64918,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 +64943,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 +64960,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 +64978,7 @@ paths: properties: text: type: string - location: *453 + location: *455 html_url: type: string classifications: @@ -64790,7 +64986,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 +65023,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 +65057,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 +65096,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 +65136,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 +65198,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 +65234,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 +65248,7 @@ paths: description: Response content: application/json: - schema: *456 + schema: *458 examples: response: summary: application/json response @@ -65106,14 +65302,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 +65389,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 +65443,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 +65465,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 +65474,7 @@ paths: application/json: schema: type: array - items: &457 + items: &459 title: CodeQL Database description: A CodeQL database. type: object @@ -65389,9 +65585,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 +65614,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 +65627,7 @@ paths: description: Response content: application/json: - schema: *457 + schema: *459 examples: default: value: @@ -65463,11 +65659,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 +65683,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 +65694,9 @@ paths: responses: '204': description: Response - '403': *447 + '403': *449 '404': *6 - '503': *120 + '503': *122 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -65526,8 +65722,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 +65732,7 @@ paths: type: object additionalProperties: false properties: - language: &458 + language: &460 type: string description: The language targeted by the CodeQL query enum: @@ -65616,7 +65812,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 +65822,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 +65869,7 @@ paths: items: type: object properties: - repository: &459 + repository: &461 title: Repository Identifier description: Repository Identifier type: object @@ -65709,7 +65905,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 +65937,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 +65951,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 +65973,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 +65990,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 +66136,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 +66167,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 +66180,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 +66205,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 +66240,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 +66344,7 @@ paths: source_location_prefix: "/" artifact_url: https://example.com '404': *6 - '503': *120 + '503': *122 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -66169,8 +66365,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 +66468,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 +66489,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 +66557,7 @@ paths: description: Response content: application/json: - schema: *168 + schema: *170 examples: default: value: @@ -66386,7 +66582,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 +66596,7 @@ paths: content: application/json: schema: *3 - '503': *120 + '503': *122 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -66457,8 +66653,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 +66662,7 @@ paths: schema: type: object properties: - commit_sha: *464 + commit_sha: *466 ref: type: string description: |- @@ -66524,7 +66720,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 +66734,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 +66757,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 +66804,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 +66829,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 +66911,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 +67032,8 @@ paths: parameters: - *17 - *19 - - *344 - - *345 + - *346 + - *347 responses: '200': description: Response @@ -66853,7 +67049,7 @@ paths: type: integer codespaces: type: array - items: *248 + items: *250 examples: default: value: @@ -67151,8 +67347,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 +67411,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 +67450,8 @@ paths: parameters: - *17 - *19 - - *344 - - *345 + - *346 + - *347 responses: '200': description: Response @@ -67319,8 +67515,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 +67551,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 +67598,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 +67683,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 +67729,7 @@ paths: '403': *29 '404': *6 '422': *15 - '503': *120 + '503': *122 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -67554,8 +67750,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 +67769,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 +67789,9 @@ paths: - created_at - updated_at examples: - default: *468 + default: *470 headers: - Link: *68 + Link: *70 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -67616,16 +67812,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 +67841,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 +67871,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 +67901,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *168 + schema: *170 examples: default: value: @@ -67729,9 +67925,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 +67955,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 +67998,7 @@ paths: title: Collaborator description: Collaborator type: object - properties: &473 + properties: &475 login: type: string example: octocat @@ -67895,7 +68091,7 @@ paths: user_view_type: type: string example: public - required: &474 + required: &476 - avatar_url - events_url - followers_url @@ -67944,7 +68140,7 @@ paths: admin: false role_name: write headers: - Link: *68 + Link: *70 '404': *6 x-github: githubCloudOnly: false @@ -67969,9 +68165,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 +68213,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 +68241,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 +68252,7 @@ paths: example: 42 type: integer format: int64 - repository: *159 + repository: *161 invitee: title: Simple User description: A GitHub user. @@ -68234,7 +68430,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 +68470,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 +68503,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 +68525,8 @@ paths: title: Collaborator description: Collaborator type: object - properties: *473 - required: *474 + properties: *475 + required: *476 nullable: true required: - permission @@ -68385,8 +68581,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 +68592,7 @@ paths: application/json: schema: type: array - items: &475 + items: &477 title: Commit Comment description: Commit Comment type: object @@ -68437,8 +68633,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 +68650,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 +68684,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 +68709,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 +68776,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 +68800,7 @@ paths: description: Response content: application/json: - schema: *475 + schema: *477 examples: default: value: @@ -68655,9 +68851,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 +68874,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 +68902,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 +68945,7 @@ paths: - content - created_at examples: - default: &550 + default: &552 value: - id: 1 node_id: MDg6UmVhY3Rpb24x @@ -68775,7 +68971,7 @@ paths: content: heart created_at: '2016-05-20T20:09:31Z' headers: - Link: *68 + Link: *70 '404': *6 x-github: githubCloudOnly: false @@ -68794,9 +68990,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 +69024,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 +69055,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 +69079,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 +69137,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 +69194,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 +69266,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 +69290,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 +69364,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 +69376,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 +69406,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 +69443,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 +69473,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 +69485,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 +69966,7 @@ paths: auto_merge: draft: false headers: - Link: *68 + Link: *70 '409': *54 x-github: githubCloudOnly: false @@ -69828,11 +70024,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 +70043,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 +70133,7 @@ paths: schema: type: string examples: - default: &492 + default: &494 value: | diff --git a/testfile b/testfile index 9bdeaeb..912c7ef 100644 @@ -69950,7 +70146,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 +70173,7 @@ paths: '422': *15 '404': *6 '500': *55 - '503': *120 + '503': *122 '409': *54 x-github: githubCloudOnly: false @@ -70003,11 +70199,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 +70237,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 +70264,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 +70274,7 @@ paths: schema: type: integer example: 1 - - *484 + - *486 - *17 - *19 responses: @@ -70096,7 +70292,7 @@ paths: type: integer check_suites: type: array - items: *427 + items: *429 examples: default: value: @@ -70271,7 +70467,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 +70492,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 +70561,7 @@ paths: type: string total_count: type: integer - repository: *159 + repository: *161 commit_url: type: string format: uri @@ -70496,9 +70692,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 +70704,7 @@ paths: application/json: schema: type: array - items: &671 + items: &673 title: Status description: The status of a commit. type: object @@ -70588,8 +70784,8 @@ paths: type: User site_admin: false headers: - Link: *68 - '301': *348 + Link: *70 + '301': *350 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -70617,8 +70813,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 +70843,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 +70864,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 +71016,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 +71060,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 +71081,10 @@ paths: example: 6 commits: type: array - items: *478 + items: *480 files: type: array - items: *491 + items: *493 required: - url - html_url @@ -71134,15 +71330,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 +71380,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 +71541,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 +71673,7 @@ paths: - size - type - url - - &608 + - &610 title: Content File description: Content File type: object @@ -71678,7 +71874,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 +71943,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 +71996,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 +72090,7 @@ paths: description: Response content: application/json: - schema: &496 + schema: &498 title: File Commit description: File Commit type: object @@ -72046,7 +72242,7 @@ paths: description: Response content: application/json: - schema: *496 + schema: *498 examples: example-for-creating-a-file: value: @@ -72100,7 +72296,7 @@ paths: schema: oneOf: - *3 - - &528 + - &530 description: Repository rule violation was detected type: object properties: @@ -72121,7 +72317,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 +72349,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 +72411,7 @@ paths: description: Response content: application/json: - schema: *496 + schema: *498 examples: default: value: @@ -72250,7 +72446,7 @@ paths: '422': *15 '404': *6 '409': *54 - '503': *120 + '503': *122 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72270,8 +72466,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 +72567,7 @@ paths: site_admin: false contributions: 32 headers: - Link: *68 + Link: *70 '204': description: Response if repository is empty '403': *29 @@ -72394,24 +72590,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 +72619,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 +72666,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 +72696,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 +72953,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 +72964,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 +73102,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 +73160,7 @@ paths: description: Response content: application/json: - schema: *501 + schema: *503 examples: default: value: @@ -73094,8 +73290,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 +73309,7 @@ paths: type: integer secrets: type: array - items: &505 + items: &507 title: Dependabot Secret description: Set secrets for Dependabot. type: object @@ -73144,7 +73340,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 +73362,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 +73391,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 +73425,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 +73455,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *168 + schema: *170 examples: default: value: @@ -73283,9 +73479,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 +73503,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 +73640,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 +73664,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 +73881,7 @@ paths: spdxElementId: SPDXRef-DOCUMENT relatedSpdxElement: SPDXRef-Repository headers: - Link: *68 + Link: *70 '404': *6 '403': *29 x-github: @@ -73707,8 +73903,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 +73915,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 +73936,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 +73975,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 +74051,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 +74084,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 +74097,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 +74226,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 +74267,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 +74335,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 +74417,7 @@ paths: description: Response content: application/json: - schema: *508 + schema: *510 examples: simple-example: summary: Simple example @@ -74294,9 +74490,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 +74504,7 @@ paths: description: Response content: application/json: - schema: *508 + schema: *510 examples: default: value: @@ -74373,9 +74569,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 +74593,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 +74605,7 @@ paths: application/json: schema: type: array - items: &511 + items: &513 title: Deployment Status description: The status of a deployment. type: object @@ -74500,8 +74696,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 +74746,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 +74766,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 +74843,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 +74901,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 +74914,9 @@ paths: description: Response content: application/json: - schema: *511 + schema: *513 examples: - default: *512 + default: *514 '404': *6 x-github: githubCloudOnly: false @@ -74745,8 +74941,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 +74999,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 +75017,7 @@ paths: type: integer environments: type: array - items: &514 + items: &516 title: Environment description: Details of a deployment environment type: object @@ -74873,7 +75069,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 +75106,11 @@ paths: items: type: object properties: - type: *513 + type: *515 reviewer: anyOf: - *4 - - *195 + - *197 required: - id - node_id @@ -74934,7 +75130,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 +75246,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 +75261,9 @@ paths: description: Response content: application/json: - schema: *514 + schema: *516 examples: - default: &518 + default: &520 value: id: 161088068 node_id: MDExOkVudmlyb25tZW50MTYxMDg4MDY4 @@ -75151,9 +75347,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 +75358,7 @@ paths: type: object nullable: true properties: - wait_timer: *516 + wait_timer: *518 prevent_self_review: type: boolean example: false @@ -75179,13 +75375,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 +75401,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 +75427,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 +75454,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 +75474,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 +75531,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 +75579,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 +75623,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 +75638,9 @@ paths: description: Response content: application/json: - schema: *519 + schema: *521 examples: - default: *520 + default: *522 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75463,10 +75659,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 +75690,9 @@ paths: description: Response content: application/json: - schema: *519 + schema: *521 examples: - default: *520 + default: *522 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75515,10 +75711,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 +75739,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 +75757,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 +75776,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 +75875,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 +75898,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 +75935,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 +75956,7 @@ paths: example: 35 available_custom_deployment_protection_rule_integrations: type: array - items: *523 + items: *525 examples: default: value: @@ -75795,10 +75991,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 +76006,9 @@ paths: description: Response content: application/json: - schema: *522 + schema: *524 examples: - default: *524 + default: *526 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75833,10 +76029,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 +76058,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 +76078,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 +76105,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 +76137,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 +76170,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 +76204,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *168 + schema: *170 examples: default: value: @@ -76034,10 +76230,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 +76258,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 +76278,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 +76303,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 +76332,7 @@ paths: description: Response content: application/json: - schema: *168 + schema: *170 examples: default: value: @@ -76161,18 +76357,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 +76389,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 +76434,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 +76459,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 +76470,7 @@ paths: application/json: schema: type: array - items: *112 + items: *114 examples: 200-response: value: @@ -76332,8 +76528,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 +76551,7 @@ paths: application/json: schema: type: array - items: *159 + items: *161 examples: default: value: @@ -76468,7 +76664,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 +76688,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 +76721,9 @@ paths: description: Response content: application/json: - schema: *347 + schema: *349 examples: - default: *349 + default: *351 '400': *14 '422': *15 '403': *29 @@ -76548,8 +76744,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 +76804,8 @@ paths: application/json: schema: oneOf: - - *128 - - *528 + - *130 + - *530 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -76634,8 +76830,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 +76930,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 +77040,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 +77254,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 +77318,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 +77337,7 @@ paths: application/json: schema: type: array - items: &531 + items: &533 title: Git Reference description: Git references within a repository type: object @@ -77194,7 +77390,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 +77412,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 +77451,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 +77481,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 +77509,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 +77540,9 @@ paths: description: Response content: application/json: - schema: *531 + schema: *533 examples: - default: *532 + default: *534 '422': *15 '409': *54 x-github: @@ -77364,9 +77560,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 +77617,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 +77685,7 @@ paths: description: Response content: application/json: - schema: &534 + schema: &536 title: Git Tag description: Metadata for a Git tag type: object @@ -77540,7 +77736,7 @@ paths: - sha - type - url - verification: *533 + verification: *535 required: - sha - url @@ -77550,7 +77746,7 @@ paths: - tag - message examples: - default: &535 + default: &537 value: node_id: MDM6VGFnOTQwYmQzMzYyNDhlZmFlMGY5ZWU1YmM3YjJkNWM5ODU4ODdiMTZhYw== tag: v0.0.1 @@ -77623,8 +77819,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 +77831,9 @@ paths: description: Response content: application/json: - schema: *534 + schema: *536 examples: - default: *535 + default: *537 '404': *6 '409': *54 x-github: @@ -77661,8 +77857,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 +77931,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 +78027,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 +78051,7 @@ paths: description: Response content: application/json: - schema: *536 + schema: *538 examples: default-response: summary: Default response @@ -77914,8 +78110,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 +78121,7 @@ paths: application/json: schema: type: array - items: &537 + items: &539 title: Webhook description: Webhooks for repositories. type: object @@ -77979,7 +78175,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 +78230,7 @@ paths: status: unused message: headers: - Link: *68 + Link: *70 '404': *6 x-github: githubCloudOnly: false @@ -78053,8 +78249,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 +78302,9 @@ paths: description: Response content: application/json: - schema: *537 + schema: *539 examples: - default: &538 + default: &540 value: type: Repository id: 12345678 @@ -78156,17 +78352,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 +78382,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 +78429,9 @@ paths: description: Response content: application/json: - schema: *537 + schema: *539 examples: - default: *538 + default: *540 '422': *15 '404': *6 x-github: @@ -78256,9 +78452,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 +78478,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 +78507,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 +78553,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 +78566,9 @@ paths: application/json: schema: type: array - items: *219 + items: *221 examples: - default: *220 + default: *222 '400': *14 '422': *15 x-github: @@ -78391,18 +78587,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 +78617,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 +78642,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 +78669,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 +78694,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 +78741,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 +78762,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 +78820,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 +78926,7 @@ paths: - html_url - authors_url examples: - default: &542 + default: &544 value: vcs: subversion use_lfs: true @@ -78746,7 +78942,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 +78971,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 +79020,7 @@ paths: description: Response content: application/json: - schema: *539 + schema: *541 examples: default: value: @@ -78849,7 +79045,7 @@ paths: type: string '422': *15 '404': *6 - '503': *540 + '503': *542 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -78877,8 +79073,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 +79123,7 @@ paths: description: Response content: application/json: - schema: *539 + schema: *541 examples: example-1: summary: Example 1 @@ -78975,7 +79171,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 +79194,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 +79225,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 +79241,7 @@ paths: application/json: schema: type: array - items: &541 + items: &543 title: Porter Author description: Porter Author type: object @@ -79099,7 +79295,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 +79320,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 +79351,7 @@ paths: description: Response content: application/json: - schema: *541 + schema: *543 examples: default: value: @@ -79168,7 +79364,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 +79388,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 +79430,7 @@ paths: path: foo/bar/3 oid: c20ad4d76fe97759aa27a0c99bff6710 size: 12582912 - '503': *540 + '503': *542 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79262,8 +79458,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 +79486,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 +79513,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 +79522,8 @@ paths: application/json: schema: *22 examples: - default: *543 - '301': *348 + default: *545 + '301': *350 '404': *6 x-github: githubCloudOnly: false @@ -79347,8 +79543,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 +79552,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 +79582,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 +79600,9 @@ paths: description: Response content: application/json: - schema: *235 + schema: *237 examples: - default: *545 + default: *547 '409': description: Response x-github: @@ -79428,8 +79624,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 +79648,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 +79659,9 @@ paths: application/json: schema: type: array - items: *546 + items: *548 examples: - default: &706 + default: &708 value: - id: 1 repository: @@ -79579,7 +79775,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 +79792,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 +79823,7 @@ paths: description: Response content: application/json: - schema: *546 + schema: *548 examples: default: value: @@ -79758,9 +79954,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 +79987,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 +80036,7 @@ paths: required: false schema: type: string - - *246 + - *248 - name: sort description: What to sort results by. in: query @@ -79853,7 +80049,7 @@ paths: - comments default: created - *62 - - *93 + - *95 - *17 - *19 responses: @@ -79863,9 +80059,9 @@ paths: application/json: schema: type: array - items: *86 + items: *88 examples: - default: &559 + default: &561 value: - id: 1 node_id: MDU6SXNzdWUx @@ -80013,8 +80209,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 +80239,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 +80322,9 @@ paths: description: Response content: application/json: - schema: *86 + schema: *88 examples: - default: &556 + default: &558 value: id: 1 node_id: MDU6SXNzdWUx @@ -80289,9 +80485,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 +80525,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 +80537,7 @@ paths: enum: - asc - desc - - *93 + - *95 - *17 - *19 responses: @@ -80351,9 +80547,9 @@ paths: application/json: schema: type: array - items: *548 + items: *550 examples: - default: &558 + default: &560 value: - id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -80384,7 +80580,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 +80607,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 +80672,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 +80696,9 @@ paths: description: Response content: application/json: - schema: *548 + schema: *550 examples: - default: *549 + default: *551 '422': *15 x-github: githubCloudOnly: false @@ -80520,9 +80716,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 +80746,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 +80810,7 @@ paths: '401': *25 '403': *29 '404': *6 - '410': *547 + '410': *549 '422': *15 x-github: githubCloudOnly: false @@ -80631,17 +80827,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 +80854,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 +80882,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 +80905,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 +80939,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 +80970,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 +80993,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 +81004,7 @@ paths: application/json: schema: type: array - items: &555 + items: &557 title: Issue Event description: Issue Event type: object @@ -80851,9 +81047,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 +81093,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 +81158,7 @@ paths: required: - from - to - author_association: *83 + author_association: *85 lock_reason: type: string nullable: true @@ -80975,8 +81171,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 +81339,7 @@ paths: author_association: COLLABORATOR state_reason: completed headers: - Link: *68 + Link: *70 '422': *15 x-github: githubCloudOnly: false @@ -81161,8 +81357,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 +81369,7 @@ paths: description: Response content: application/json: - schema: *555 + schema: *557 examples: default: value: @@ -81366,7 +81562,7 @@ paths: author_association: COLLABORATOR state_reason: completed '404': *6 - '410': *547 + '410': *549 '403': *29 x-github: githubCloudOnly: false @@ -81400,9 +81596,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 +81610,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 +81819,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 +81846,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 +81972,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 +82008,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 +82036,9 @@ paths: description: Response content: application/json: - schema: *86 + schema: *88 examples: - default: *556 + default: *558 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -81858,9 +82054,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 +82081,9 @@ paths: description: Response content: application/json: - schema: *86 + schema: *88 examples: - default: *556 + default: *558 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -81909,9 +82105,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 +82147,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 +82160,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 +82195,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 +82219,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 +82256,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 +82268,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 +82303,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 +82327,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 +82368,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 +82382,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 +82416,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 +82428,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 +82452,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 +82468,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 +82499,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 +82522,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &564 + - &566 title: Unlabeled Issue Event description: Unlabeled Issue Event type: object @@ -82357,8 +82553,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 +82642,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 +82658,7 @@ paths: - performed_via_github_app - assignee - assigner - - &565 + - &567 title: Milestoned Issue Event description: Milestoned Issue Event type: object @@ -82493,8 +82689,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 +82709,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &566 + - &568 title: Demilestoned Issue Event description: Demilestoned Issue Event type: object @@ -82544,8 +82740,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 +82760,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &567 + - &569 title: Renamed Issue Event description: Renamed Issue Event type: object @@ -82595,8 +82791,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 +82814,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 +82845,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 +82861,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 +82892,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 +82908,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 +82939,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 +82968,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &571 + - &573 title: Locked Issue Event description: Locked Issue Event type: object @@ -82803,8 +82999,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 +83016,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 +83047,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 +83082,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 +83113,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 +83148,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 +83179,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 +83214,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 +83304,8 @@ paths: name: label color: red headers: - Link: *68 - '410': *547 + Link: *70 + '410': *549 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -83126,9 +83322,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 +83334,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 +83359,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 +83391,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 +83457,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 +83495,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 +83562,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 +83595,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 +83623,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 +83635,9 @@ paths: application/json: schema: type: array - items: *85 + items: *87 examples: - default: &562 + default: &564 value: - id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -83458,10 +83654,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 +83673,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 +83718,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 +83740,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 +83802,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 +83824,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 +83851,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 +83866,7 @@ paths: application/json: schema: type: array - items: *85 + items: *87 examples: default: value: @@ -83681,9 +83877,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 +83899,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 +83929,7 @@ paths: '204': description: Response '403': *29 - '410': *547 + '410': *549 '404': *6 '422': *15 x-github: @@ -83751,9 +83947,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 +83979,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 +84009,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 +84037,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 +84061,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 +84095,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 +84126,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 +84158,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 +84182,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 +84217,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 +84229,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 +84263,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 +84292,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 +84321,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 +84354,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 +84378,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 +84395,6 @@ paths: description: Timeline Event type: object anyOf: - - *563 - - *564 - *565 - *566 - *567 @@ -84212,6 +84406,8 @@ paths: - *573 - *574 - *575 + - *576 + - *577 - title: Timeline Comment Event description: Timeline Comment Event type: object @@ -84254,7 +84450,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 +84460,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 +84501,7 @@ paths: properties: type: type: string - issue: *86 + issue: *88 required: - event - created_at @@ -84505,7 +84701,7 @@ paths: type: string body_text: type: string - author_association: *83 + author_association: *85 required: - event - id @@ -84528,7 +84724,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 +84819,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 +84903,7 @@ paths: enum: - line - file - reactions: *84 + reactions: *86 body_html: type: string example: '"

comment body

"' @@ -84743,7 +84939,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 +84970,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 +85014,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 +85058,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 +85226,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 +85245,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 +85256,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 +85306,7 @@ paths: last_used: '2022-01-10T15:53:42Z' enabled: true headers: - Link: *68 + Link: *70 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -85126,8 +85322,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 +85359,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 +85395,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 +85409,9 @@ paths: description: Response content: application/json: - schema: *578 + schema: *580 examples: - default: *579 + default: *581 '404': *6 x-github: githubCloudOnly: false @@ -85233,9 +85429,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 +85451,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 +85462,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 +85485,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 +85522,9 @@ paths: description: Response content: application/json: - schema: *85 + schema: *87 examples: - default: &581 + default: &583 value: id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -85360,8 +85556,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 +85568,9 @@ paths: description: Response content: application/json: - schema: *85 + schema: *87 examples: - default: *581 + default: *583 '404': *6 x-github: githubCloudOnly: false @@ -85391,8 +85587,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 +85627,7 @@ paths: description: Response content: application/json: - schema: *85 + schema: *87 examples: default: value: @@ -85457,8 +85653,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 +85680,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 +85720,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 +85784,8 @@ paths: title: License Simple description: License Simple type: object - properties: *89 - required: *90 + properties: *91 + required: *92 nullable: true required: - _links @@ -85671,8 +85867,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 +85933,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 +85968,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 +85995,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 +86037,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 +86081,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 +86098,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 +86139,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 +86200,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 +86214,9 @@ paths: description: Response content: application/json: - schema: *583 + schema: *585 examples: - default: *584 + default: *586 '404': *6 x-github: githubCloudOnly: false @@ -86037,9 +86233,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 +86273,9 @@ paths: description: Response content: application/json: - schema: *583 + schema: *585 examples: - default: *584 + default: *586 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86095,9 +86291,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 +86314,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 +86326,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 +86347,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 +86362,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 +86388,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 +86447,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 +86579,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 +86620,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 +86675,9 @@ paths: description: Response content: application/json: - schema: *590 + schema: *592 examples: - default: *591 + default: *593 '422': *15 '409': *54 x-github: @@ -86504,8 +86700,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 +86800,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 +86827,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 +86838,7 @@ paths: application/json: schema: type: array - items: &592 + items: &594 title: Page Build description: Page Build type: object @@ -86717,7 +86913,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 +86932,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 +86978,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 +87035,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 +87047,9 @@ paths: description: Response content: application/json: - schema: *592 + schema: *594 examples: - default: *593 + default: *595 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86873,8 +87069,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 +87175,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 +87235,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 +87264,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 +87496,7 @@ paths: description: Empty response content: application/json: - schema: *168 + schema: *170 examples: default: value: @@ -87327,8 +87523,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 +87561,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 +87583,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 +87606,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 +87615,7 @@ paths: application/json: schema: type: array - items: *295 + items: *297 examples: default: value: @@ -87450,8 +87646,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 +87659,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 +87709,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 +87770,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 +87804,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 +87870,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 +87981,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 +88025,7 @@ paths: items: *4 requested_teams: type: array - items: *333 + items: *335 head: type: object properties: @@ -87837,7 +88033,7 @@ paths: type: string ref: type: string - repo: *80 + repo: *82 sha: type: string user: *4 @@ -87854,7 +88050,7 @@ paths: type: string ref: type: string - repo: *80 + repo: *82 sha: type: string user: *4 @@ -87867,14 +88063,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 +88080,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 +88267,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 +88805,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 +88825,7 @@ paths: enum: - asc - desc - - *93 + - *95 - *17 - *19 responses: @@ -88639,9 +88835,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 +88889,7 @@ paths: original_line: 2 side: RIGHT headers: - Link: *68 + Link: *70 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88718,17 +88914,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 +88999,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 +89023,9 @@ paths: description: Response content: application/json: - schema: *597 + schema: *599 examples: - default: *598 + default: *600 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88845,9 +89041,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 +89064,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 +89092,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 +89115,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 +89149,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 +89180,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 +89226,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 +89241,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 +89252,7 @@ paths: application/json: schema: *3 '500': *55 - '503': *120 + '503': *122 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89082,9 +89278,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 +89322,9 @@ paths: description: Response content: application/json: - schema: *599 + schema: *601 examples: - default: *600 + default: *602 '422': *15 '403': *29 x-github: @@ -89150,9 +89346,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 +89373,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 +89401,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 +89463,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 +89503,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 +89516,7 @@ paths: enum: - asc - desc - - *93 + - *95 - *17 - *19 responses: @@ -89330,11 +89526,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 +89561,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 +89668,7 @@ paths: description: Response content: application/json: - schema: *597 + schema: *599 examples: example-for-a-multi-line-comment: value: @@ -89560,10 +89756,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 +89781,7 @@ paths: description: Response content: application/json: - schema: *597 + schema: *599 examples: default: value: @@ -89671,9 +89867,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 +89879,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 +89911,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 +89923,7 @@ paths: application/json: schema: type: array - items: *491 + items: *493 examples: default: value: @@ -89743,10 +89939,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 +89961,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 +89986,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 +90099,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 +90117,7 @@ paths: items: *4 teams: type: array - items: *195 + items: *197 required: - users - teams @@ -89962,7 +90158,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 +90176,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 +90215,7 @@ paths: description: Response content: application/json: - schema: *482 + schema: *484 examples: default: value: @@ -90555,9 +90751,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 +90787,7 @@ paths: description: Response content: application/json: - schema: *482 + schema: *484 examples: default: value: @@ -91107,9 +91303,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 +91315,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 +91384,7 @@ paths: type: string body_text: type: string - author_association: *83 + author_association: *85 required: - id - node_id @@ -91237,7 +91433,7 @@ paths: commit_id: ecdd80bb57125d7ba9641ffaa4d7d2c19d3f3091 author_association: COLLABORATOR headers: - Link: *68 + Link: *70 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91270,9 +91466,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 +91554,9 @@ paths: description: Response content: application/json: - schema: *604 + schema: *606 examples: - default: &606 + default: &608 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -91423,10 +91619,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 +91634,9 @@ paths: description: Response content: application/json: - schema: *604 + schema: *606 examples: - default: &607 + default: &609 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -91499,10 +91695,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 +91721,7 @@ paths: description: Response content: application/json: - schema: *604 + schema: *606 examples: default: value: @@ -91587,18 +91783,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 +91821,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 +91903,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 +91918,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 +92030,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 +92059,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 +92090,7 @@ paths: description: Response content: application/json: - schema: *604 + schema: *606 examples: default: value: @@ -91957,10 +92153,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 +92191,9 @@ paths: description: Response content: application/json: - schema: *604 + schema: *606 examples: - default: *607 + default: *609 '404': *6 '422': *7 '403': *29 @@ -92019,9 +92215,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 +92280,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 +92294,9 @@ paths: description: Response content: application/json: - schema: *608 + schema: *610 examples: - default: &609 + default: &611 value: type: file encoding: base64 @@ -92142,8 +92338,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 +92359,9 @@ paths: description: Response content: application/json: - schema: *608 + schema: *610 examples: - default: *609 + default: *611 '404': *6 '422': *15 x-github: @@ -92187,8 +92383,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 +92394,7 @@ paths: application/json: schema: type: array - items: *610 + items: *612 examples: default: value: @@ -92272,7 +92468,7 @@ paths: type: User site_admin: false headers: - Link: *68 + Link: *70 '404': *6 x-github: githubCloudOnly: false @@ -92292,8 +92488,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 +92565,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 +92672,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 +92686,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 +92723,7 @@ paths: type: User site_admin: false '404': *6 - '302': *495 + '302': *497 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -92543,9 +92739,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 +92769,9 @@ paths: description: Response content: application/json: - schema: *611 + schema: *613 examples: - default: *613 + default: *615 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -92591,9 +92787,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 +92814,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 +92900,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 +92927,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 +92941,9 @@ paths: description: Response content: application/json: - schema: *610 + schema: *612 examples: - default: *614 + default: *616 '404': *6 x-github: githubCloudOnly: false @@ -92769,9 +92965,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 +92981,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 +93001,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 +93067,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 +93090,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 +93113,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 +93125,7 @@ paths: application/json: schema: type: array - items: *611 + items: *613 examples: default: value: @@ -92966,7 +93162,7 @@ paths: type: User site_admin: false headers: - Link: *68 + Link: *70 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -93010,9 +93206,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 +93234,7 @@ paths: description: Response for successful upload content: application/json: - schema: *611 + schema: *613 examples: response-for-successful-upload: value: @@ -93093,9 +93289,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 +93315,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 +93338,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 +93370,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 +93401,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 +93428,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 +93446,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 +93466,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 +93567,8 @@ paths: category: repos subcategory: rules parameters: - - *344 - - *345 + - *346 + - *347 - *17 - *19 - name: includes_parents @@ -93383,7 +93579,7 @@ paths: schema: type: boolean default: true - - *618 + - *620 responses: '200': description: Response @@ -93391,7 +93587,7 @@ paths: application/json: schema: type: array - items: *326 + items: *328 examples: default: value: @@ -93438,8 +93634,8 @@ paths: category: repos subcategory: rules parameters: - - *344 - - *345 + - *346 + - *347 requestBody: description: Request body required: true @@ -93459,16 +93655,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 +93695,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 +93745,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 +93758,9 @@ paths: description: Response content: application/json: - schema: *624 + schema: *626 examples: - default: *625 + default: *627 '404': *6 '500': *55 x-github: @@ -93585,17 +93781,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 +93819,8 @@ paths: category: repos subcategory: rules parameters: - - *344 - - *345 + - *346 + - *347 - name: ruleset_id description: The ID of the ruleset. in: path @@ -93644,9 +93840,9 @@ paths: description: Response content: application/json: - schema: *326 + schema: *328 examples: - default: *629 + default: *631 '404': *6 '500': *55 put: @@ -93664,8 +93860,8 @@ paths: category: repos subcategory: rules parameters: - - *344 - - *345 + - *346 + - *347 - name: ruleset_id description: The ID of the ruleset. in: path @@ -93690,16 +93886,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 +93923,9 @@ paths: description: Response content: application/json: - schema: *326 + schema: *328 examples: - default: *629 + default: *631 '404': *6 '422': *15 '500': *55 @@ -93748,8 +93944,8 @@ paths: category: repos subcategory: rules parameters: - - *344 - - *345 + - *346 + - *347 - name: ruleset_id description: The ID of the ruleset. in: path @@ -93772,8 +93968,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 +93985,9 @@ paths: application/json: schema: type: array - items: *329 + items: *331 examples: - default: *630 + default: *632 '404': *6 '500': *55 x-github: @@ -93810,8 +94006,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 +94025,7 @@ paths: description: Response content: application/json: - schema: *631 + schema: *633 examples: default: value: @@ -93884,25 +94080,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 +94106,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 +94118,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 +94232,7 @@ paths: pull request. ' - oneOf: *648 + oneOf: *650 nullable: true has_more_locations: type: boolean @@ -94178,7 +94374,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 +94396,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 +94436,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 +94459,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 +94469,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. @@ -94285,6 +94481,14 @@ paths: to `null` to unassign the alert. type: string nullable: true + validity: + type: string + nullable: true + enum: + - active + - inactive + description: Sets the validity of the secret scanning alert. Can + be `active`, `inactive`, or `null` to clear the override. anyOf: - required: - state @@ -94310,7 +94514,7 @@ paths: description: Response content: application/json: - schema: *649 + schema: *651 examples: default: value: @@ -94382,8 +94586,9 @@ paths: repository, or the resource is not found '422': description: State does not match the resolution or resolution comment, - or assignee does not have write access to the repository - '503': *120 + assignee does not have write access to the repository, or the requested + validity change could not be applied to this alert + '503': *122 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -94405,9 +94610,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 +94623,7 @@ paths: schema: type: array description: List of locations where the secret was detected - items: &807 + items: &809 type: object properties: type: @@ -94444,8 +94649,6 @@ paths: example: commit details: oneOf: - - *650 - - *651 - *652 - *653 - *654 @@ -94457,6 +94660,8 @@ paths: - *660 - *661 - *662 + - *663 + - *664 examples: default: value: @@ -94516,11 +94721,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 +94747,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 +94756,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 +94780,7 @@ paths: schema: type: object properties: - reason: *664 + reason: *666 expire_at: type: string format: date-time @@ -94598,7 +94803,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 +94826,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 +94842,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 +94868,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 +94889,7 @@ paths: one of "repository", "organization", or "enterprise" generic_secrets_backfill_scans: type: array - items: *665 + items: *667 examples: default: value: @@ -94749,8 +94954,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 +94999,9 @@ paths: application/json: schema: type: array - items: *666 + items: *668 examples: - default: *667 + default: *669 '400': *14 '404': *6 x-github: @@ -94819,8 +95024,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 +95098,7 @@ paths: login: type: string description: The username of the user credited. - type: *332 + type: *334 required: - login - type @@ -94980,9 +95185,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 +95426,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 +95531,7 @@ paths: description: Response content: application/json: - schema: *666 + schema: *668 examples: default: value: @@ -95479,17 +95684,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 +95718,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 +95793,7 @@ paths: login: type: string description: The username of the user credited. - type: *332 + type: *334 required: - login - type @@ -95674,17 +95879,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 +95920,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 +95949,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 +95985,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 +96063,7 @@ paths: type: User site_admin: false headers: - Link: *68 + Link: *70 '422': *15 x-github: githubCloudOnly: false @@ -95880,8 +96085,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 +96095,7 @@ paths: application/json: schema: type: array - items: &670 + items: &672 title: Code Frequency Stat description: Code Frequency Stat type: array @@ -95923,8 +96128,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 +96205,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 +96302,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 +96457,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 +96468,7 @@ paths: application/json: schema: type: array - items: *670 + items: *672 examples: default: value: @@ -96296,8 +96501,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 +96556,7 @@ paths: description: Response content: application/json: - schema: *671 + schema: *673 examples: default: value: @@ -96405,8 +96610,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 +96623,9 @@ paths: type: array items: *4 examples: - default: *71 + default: *73 headers: - Link: *68 + Link: *70 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -96438,14 +96643,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 +96718,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 +96745,7 @@ paths: description: Response content: application/json: - schema: *672 + schema: *674 examples: default: value: @@ -96567,8 +96772,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 +96793,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 +96850,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 +96873,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 +96910,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 +96921,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 +96943,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 +96952,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 +96964,7 @@ paths: required: - names examples: - default: &674 + default: &676 value: names: - octocat @@ -96782,8 +96987,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 +97019,9 @@ paths: description: Response content: application/json: - schema: *673 + schema: *675 examples: - default: *674 + default: *676 '404': *6 '422': *7 x-github: @@ -96837,9 +97042,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 +97073,7 @@ paths: example: 128 clones: type: array - items: &676 + items: &678 title: Traffic type: object properties: @@ -96955,8 +97160,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 +97251,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 +97312,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 +97333,7 @@ paths: example: 3782 views: type: array - items: *676 + items: *678 required: - uniques - count @@ -97205,8 +97410,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 +97447,7 @@ paths: description: Response content: application/json: - schema: *159 + schema: *161 examples: default: value: @@ -97486,8 +97691,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 +97715,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 +97738,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 +97765,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 +97858,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 +97901,7 @@ paths: application/json: schema: type: array - items: *159 + items: *161 examples: default: value: @@ -97888,7 +98093,7 @@ paths: html_url: type: string format: uri - repository: *159 + repository: *161 score: type: number file_size: @@ -97906,7 +98111,7 @@ paths: example: - 73..77 - 77..78 - text_matches: &677 + text_matches: &679 title: Search Result Text Matches type: array items: @@ -98020,7 +98225,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 +98273,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 +98344,7 @@ paths: description: Metaproperties for Git author/committer information. type: object - properties: *409 + properties: *411 nullable: true comment_count: type: integer @@ -98159,7 +98364,7 @@ paths: url: type: string format: uri - verification: *533 + verification: *535 required: - author - committer @@ -98178,7 +98383,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 +98396,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 +98593,7 @@ paths: - interactions - created - updated - - *678 + - *680 - *17 - *19 - name: advanced_search @@ -98502,11 +98707,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 +98728,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 +98743,7 @@ paths: type: string format: date-time nullable: true - text_matches: *677 + text_matches: *679 pull_request: type: object properties: @@ -98571,10 +98776,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 +98787,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 +98797,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 +98995,7 @@ paths: - quoted_text items: - "..." - '503': *120 + '503': *122 '422': *15 '304': *37 '403': *29 @@ -98844,7 +99049,7 @@ paths: enum: - created - updated - - *678 + - *680 - *17 - *19 responses: @@ -98888,7 +99093,7 @@ paths: nullable: true score: type: number - text_matches: *677 + text_matches: *679 required: - id - node_id @@ -98973,7 +99178,7 @@ paths: - forks - help-wanted-issues - updated - - *678 + - *680 - *17 - *19 responses: @@ -99201,8 +99406,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 +99426,7 @@ paths: - admin - pull - push - text_matches: *677 + text_matches: *679 temp_clone_token: type: string allow_merge_commit: @@ -99423,7 +99628,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 +99726,7 @@ paths: type: string format: uri nullable: true - text_matches: *677 + text_matches: *679 related: type: array nullable: true @@ -99712,7 +99917,7 @@ paths: - followers - repositories - joined - - *678 + - *680 - *17 - *19 responses: @@ -99816,7 +100021,7 @@ paths: hireable: type: boolean nullable: true - text_matches: *677 + text_matches: *679 blog: type: string nullable: true @@ -99875,7 +100080,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 +100100,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 +100112,9 @@ paths: description: Response content: application/json: - schema: *340 + schema: *342 examples: - default: *341 + default: *343 '404': *6 x-github: githubCloudOnly: false @@ -99936,7 +100141,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 +100204,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 +100241,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 +100270,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 +100280,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 +100308,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 +100331,9 @@ paths: type: array items: *4 examples: - default: *71 + default: *73 headers: - Link: *68 + Link: *70 '404': *6 x-github: githubCloudOnly: false @@ -100154,8 +100359,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 +100396,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 +100436,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 +100473,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 +100515,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 +100541,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 +100577,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 +100605,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 +100615,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 +100647,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 +100812,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 +100864,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 +100891,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 +100901,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 +100936,7 @@ paths: application/json: schema: oneOf: - - &687 + - &689 title: Private User description: Private User type: object @@ -100934,7 +101139,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 +101292,7 @@ paths: description: Response content: application/json: - schema: *687 + schema: *689 examples: default: value: @@ -101166,7 +101371,7 @@ paths: type: array items: *4 examples: - default: *71 + default: *73 '304': *37 '404': *6 '403': *29 @@ -101189,7 +101394,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 +101422,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 +101446,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 +101495,9 @@ paths: type: integer codespaces: type: array - items: *248 + items: *250 examples: - default: *249 + default: *251 '304': *37 '500': *55 '401': *25 @@ -101431,21 +101636,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 +101690,7 @@ paths: type: integer secrets: type: array - items: &688 + items: &690 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -101525,9 +101730,9 @@ paths: - visibility - selected_repositories_url examples: - default: *468 + default: *470 headers: - Link: *68 + Link: *70 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -101595,13 +101800,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 +101836,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 +101881,7 @@ paths: description: Response after successfully creating a secret content: application/json: - schema: *168 + schema: *170 examples: default: value: @@ -101704,7 +101909,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 +101934,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 +101950,9 @@ paths: type: integer repositories: type: array - items: *159 + items: *161 examples: - default: *196 + default: *198 '401': *25 '403': *29 '404': *6 @@ -101772,7 +101977,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 +102031,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 +102064,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 +102096,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 +102130,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 +102160,9 @@ paths: description: Response content: application/json: - schema: *248 + schema: *250 examples: - default: *465 + default: *467 '401': *25 '403': *29 '404': *6 @@ -101979,7 +102184,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 +102213,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 +102260,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 +102292,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 +102305,9 @@ paths: description: Response content: application/json: - schema: *689 + schema: *691 examples: - default: *690 + default: *692 '404': *6 x-github: githubCloudOnly: false @@ -102123,7 +102328,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 +102344,9 @@ paths: type: integer machines: type: array - items: *691 + items: *693 examples: - default: *692 + default: *694 '304': *37 '500': *55 '401': *25 @@ -102170,7 +102375,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 +102425,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 +103205,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 +103245,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 +103283,9 @@ paths: application/json: schema: type: array - items: *261 + items: *263 examples: - default: &703 + default: &705 value: - id: 197 name: hello_docker @@ -103181,7 +103386,7 @@ paths: application/json: schema: type: array - items: &693 + items: &695 title: Email description: Email type: object @@ -103246,16 +103451,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 +103528,7 @@ paths: application/json: schema: type: array - items: *693 + items: *695 examples: default: value: @@ -103433,9 +103638,9 @@ paths: type: array items: *4 examples: - default: *71 + default: *73 headers: - Link: *68 + Link: *70 '304': *37 '403': *29 '401': *25 @@ -103466,9 +103671,9 @@ paths: type: array items: *4 examples: - default: *71 + default: *73 headers: - Link: *68 + Link: *70 '304': *37 '403': *29 '401': *25 @@ -103488,7 +103693,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 +103723,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 +103748,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 +103784,7 @@ paths: application/json: schema: type: array - items: &694 + items: &696 title: GPG Key description: A unique encryption key type: object @@ -103710,7 +103915,7 @@ paths: - subkeys - revoked examples: - default: &721 + default: &723 value: - id: 3 name: Octocat's GPG Key @@ -103742,7 +103947,7 @@ paths: revoked: false raw_key: string headers: - Link: *68 + Link: *70 '304': *37 '404': *6 '403': *29 @@ -103795,9 +104000,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 +104059,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 +104071,9 @@ paths: description: Response content: application/json: - schema: *694 + schema: *696 examples: - default: *695 + default: *697 '404': *6 '304': *37 '403': *29 @@ -103891,7 +104096,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 +104239,7 @@ paths: suspended_at: suspended_by: headers: - Link: *68 + Link: *70 '304': *37 '403': *29 '401': *25 @@ -104082,11 +104287,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 +104315,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 +104341,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 +104375,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 +104404,7 @@ paths: required: true content: application/json: - schema: *544 + schema: *546 examples: default: value: @@ -104210,7 +104415,7 @@ paths: description: Response content: application/json: - schema: *235 + schema: *237 examples: default: value: @@ -104291,7 +104496,7 @@ paths: - closed - all default: open - - *246 + - *248 - name: sort description: What to sort results by. in: query @@ -104304,7 +104509,7 @@ paths: - comments default: created - *62 - - *93 + - *95 - *17 - *19 responses: @@ -104314,11 +104519,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 +104554,7 @@ paths: application/json: schema: type: array - items: &697 + items: &699 title: Key description: Key type: object @@ -104400,7 +104605,7 @@ paths: verified: false read_only: false headers: - Link: *68 + Link: *70 '304': *37 '404': *6 '403': *29 @@ -104450,9 +104655,9 @@ paths: description: Response content: application/json: - schema: *697 + schema: *699 examples: - default: &698 + default: &700 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -104485,15 +104690,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 +104721,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 +104754,7 @@ paths: application/json: schema: type: array - items: &699 + items: &701 title: User Marketplace Purchase description: User Marketplace Purchase type: object @@ -104606,7 +104811,7 @@ paths: - id - type - login - plan: *104 + plan: *106 required: - billing_cycle - next_billing_date @@ -104617,7 +104822,7 @@ paths: - account - plan examples: - default: &700 + default: &702 value: - billing_cycle: monthly next_billing_date: '2017-11-11T00:00:00Z' @@ -104650,7 +104855,7 @@ paths: - Up to 25 private repositories - 11 concurrent builds headers: - Link: *68 + Link: *70 '304': *37 '401': *25 '404': *6 @@ -104679,11 +104884,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 +104926,7 @@ paths: application/json: schema: type: array - items: *252 + items: *254 examples: default: value: @@ -104804,7 +105009,7 @@ paths: type: User site_admin: false headers: - Link: *68 + Link: *70 '304': *37 '403': *29 '401': *25 @@ -104829,13 +105034,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 +105102,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 +105127,7 @@ paths: description: Response content: application/json: - schema: *252 + schema: *254 examples: default: value: @@ -104994,7 +105199,7 @@ paths: application/json: schema: type: array - items: *254 + items: *256 examples: default: value: @@ -105147,7 +105352,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 +105452,7 @@ paths: description: Response content: application/json: - schema: *254 + schema: *256 examples: default: value: @@ -105427,7 +105632,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 +105645,7 @@ paths: description: Response content: application/json: - schema: *254 + schema: *256 examples: default: value: @@ -105634,7 +105839,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 +105865,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 +105894,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 +105919,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 +105929,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 +105984,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 +106028,7 @@ paths: - docker - nuget - container - - *702 + - *704 - *19 - *17 responses: @@ -105833,10 +106038,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 +106061,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 +106183,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 +106214,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 +106247,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 +106268,7 @@ paths: application/json: schema: type: array - items: *265 + items: *267 examples: default: value: @@ -106112,15 +106317,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 +106361,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 +106393,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 +106432,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 +106545,9 @@ paths: application/json: schema: type: array - items: *80 + items: *82 examples: - default: &712 + default: &714 summary: Default response value: - id: 1296269 @@ -106463,7 +106668,7 @@ paths: open_issues: 1 watchers: 1 headers: - Link: *68 + Link: *70 '422': *15 '304': *37 '403': *29 @@ -106646,9 +106851,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 +106897,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 +106922,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 +106951,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 +106984,7 @@ paths: application/json: schema: type: array - items: &707 + items: &709 title: Social account description: Social media account type: object @@ -106794,12 +106999,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 +107061,9 @@ paths: application/json: schema: type: array - items: *707 + items: *709 examples: - default: *708 + default: *710 '422': *15 '304': *37 '404': *6 @@ -106945,7 +107150,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 +107170,7 @@ paths: - title - created_at examples: - default: &740 + default: &742 value: - id: 2 key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -106976,7 +107181,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 +107234,9 @@ paths: description: Response content: application/json: - schema: *709 + schema: *711 examples: - default: &710 + default: &712 value: id: 2 key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -107061,7 +107266,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 +107278,9 @@ paths: description: Response content: application/json: - schema: *709 + schema: *711 examples: - default: *710 + default: *712 '404': *6 '304': *37 '403': *29 @@ -107098,7 +107303,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 +107332,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 +107355,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 +107369,7 @@ paths: starred_at: type: string format: date-time - repo: *80 + repo: *82 required: - starred_at - repo @@ -107292,7 +107497,7 @@ paths: open_issues: 1 watchers: 1 headers: - Link: *68 + Link: *70 '304': *37 '403': *29 '401': *25 @@ -107312,8 +107517,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 +107546,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 +107571,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 +107605,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 +107644,7 @@ paths: application/json: schema: type: array - items: *340 + items: *342 examples: default: value: @@ -107490,7 +107695,7 @@ paths: updated_at: '2017-08-17T12:37:15Z' type: Organization headers: - Link: *68 + Link: *70 '304': *37 '404': *6 '403': *29 @@ -107517,7 +107722,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 +107730,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 +107768,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 +107825,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 +107866,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 +107891,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/users#list-users parameters: - - *713 + - *715 - *17 responses: '200': @@ -107697,7 +107902,7 @@ paths: type: array items: *4 examples: - default: *71 + default: *73 headers: Link: example: ; rel="next" @@ -107721,8 +107926,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 +107998,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 +108042,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 +108050,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 +108080,7 @@ paths: - *17 - *47 - *48 - - *72 + - *74 requestBody: required: true content: @@ -107899,8 +108104,8 @@ paths: required: - subject_digests examples: - default: *718 - withPredicateType: *719 + default: *720 + withPredicateType: *721 responses: '200': description: Response @@ -107953,7 +108158,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 +108191,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 +108256,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 +108287,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 +108325,7 @@ paths: - *17 - *47 - *48 - - *72 + - *74 - name: subject_digest description: Subject Digest in: path @@ -108173,12 +108378,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 +108423,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 +108431,9 @@ paths: application/json: schema: type: array - items: *261 + items: *263 examples: - default: *703 + default: *705 '403': *29 '401': *25 x-github: @@ -108251,7 +108456,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 +108466,7 @@ paths: application/json: schema: type: array - items: *112 + items: *114 examples: default: value: @@ -108323,8 +108528,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 +108539,7 @@ paths: application/json: schema: type: array - items: *112 + items: *114 examples: default: value: @@ -108411,7 +108616,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 +108626,7 @@ paths: application/json: schema: type: array - items: *112 + items: *114 examples: default: value: @@ -108479,7 +108684,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 +108696,9 @@ paths: type: array items: *4 examples: - default: *71 + default: *73 headers: - Link: *68 + Link: *70 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -108510,7 +108715,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 +108727,9 @@ paths: type: array items: *4 examples: - default: *71 + default: *73 headers: - Link: *68 + Link: *70 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -108541,7 +108746,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 +108773,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 +108784,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 +108807,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 +108817,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 +108843,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 +108915,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 +108923,7 @@ paths: application/json: schema: *22 examples: - default: *543 + default: *545 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -108736,7 +108941,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 +108976,7 @@ paths: - id: 1 key: ssh-rsa AAA... headers: - Link: *68 + Link: *70 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -108791,7 +108996,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 +109006,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 +109047,8 @@ paths: - docker - nuget - container - - *702 - - *72 + - *704 + - *74 - *19 - *17 responses: @@ -108853,12 +109058,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 +109083,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 +109114,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 +109148,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 +109182,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 +109192,7 @@ paths: application/json: schema: type: array - items: *265 + items: *267 examples: default: value: @@ -109045,16 +109250,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 +109294,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 +109329,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 +109356,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 +109373,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 +109397,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 +109428,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 +109440,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 +109463,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 +109502,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 +109518,7 @@ paths: description: The field's data type. enum: - iteration - iteration_configuration: *725 + iteration_configuration: *727 required: - name - data_type @@ -109335,20 +109540,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 +109574,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 +109607,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 +109640,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 +109663,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 +109734,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 +109769,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 +109791,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 +109814,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 +109886,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 +109912,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 +109936,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 +109964,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 +109994,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 +110004,7 @@ paths: application/json: schema: type: array - items: *112 + items: *114 examples: default: value: @@ -109864,7 +110069,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 +110079,7 @@ paths: application/json: schema: type: array - items: *112 + items: *114 examples: default: value: @@ -109937,7 +110142,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 +110185,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 +110209,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 +110322,7 @@ paths: '403': *29 '404': *6 '500': *55 - '503': *120 + '503': *122 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -110137,10 +110342,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 +110416,7 @@ paths: '400': *14 '403': *29 '500': *55 - '503': *120 + '503': *122 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -110234,13 +110439,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 +110551,7 @@ paths: '403': *29 '404': *6 '500': *55 - '503': *120 + '503': *122 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -110364,7 +110569,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 +110579,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 +110601,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 +110611,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 +110637,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 +110650,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 +110673,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 +110683,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 +110813,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 +110871,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 +110890,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 +110950,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 +110976,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 +111651,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 +111725,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 +111816,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 +111895,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 +112122,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 +112309,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 +112397,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 +112450,8 @@ x-webhooks: type: string pull_requests: type: array - items: *91 - repository: *159 + items: *93 + repository: *161 status: example: completed type: string @@ -112283,7 +112488,7 @@ x-webhooks: - skipped - timed_out - action_required - deployment: *748 + deployment: *750 details_url: example: https://example.com type: string @@ -112333,7 +112538,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 +112573,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 +112967,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 +113365,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 +113772,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 +114746,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 +115438,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 +116124,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 +116293,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 +116438,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 +116616,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 +116846,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 +116946,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 +117117,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 +117288,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 +117454,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 +117558,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 +117733,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 +117839,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 +117979,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 +118150,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 +118295,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 +118553,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 +118636,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 +118657,7 @@ x-webhooks: enum: - tag - branch - repository: *746 + repository: *748 sender: *4 required: - ref @@ -118534,10 +118739,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 +118827,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 +118906,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 +118986,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 +119066,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 +119154,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 +119245,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 +119329,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 +119414,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 +119499,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 +119582,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 +119665,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 +119749,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 +119832,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 +119913,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 +119951,8 @@ x-webhooks: - verified - created_at - read_only - organization: *745 - repository: *746 + organization: *747 + repository: *748 sender: *4 required: - action @@ -119824,11 +120029,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 +120589,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 +121335,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 +121414,7 @@ x-webhooks: type: string enum: - approved - approver: &757 + approver: &759 type: object properties: avatar_url: @@ -121252,11 +121457,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 +121540,7 @@ x-webhooks: sender: *4 since: type: string - workflow_job_run: &759 + workflow_job_run: &761 type: object properties: conclusion: @@ -122066,18 +122271,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 +122986,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 +124881,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 +125566,7 @@ x-webhooks: type: string enum: - answered - answer: &763 + answer: &765 type: object properties: author_association: @@ -125518,11 +125723,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 +125854,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 +125941,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 +126027,7 @@ x-webhooks: type: string enum: - created - comment: &762 + comment: &764 type: object properties: author_association: @@ -125979,11 +126184,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 +126271,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 +126371,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 +126460,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 +126546,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 +126650,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 +126736,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 +126771,8 @@ x-webhooks: - color - default - description - organization: *745 - repository: *746 + organization: *747 + repository: *748 sender: *4 required: - action @@ -126650,11 +126855,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 +126941,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 +127027,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 +127116,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 +127208,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 +127293,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 +127381,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 +127467,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 +127544,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 +128204,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 +128352,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 +128391,7 @@ x-webhooks: - action - sha - html_url - repository: *746 + repository: *748 sender: *4 required: - pages @@ -128262,10 +128467,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 +128496,8 @@ x-webhooks: - name - full_name - private - repository: *746 - requester: *765 + repository: *748 + requester: *767 sender: *4 required: - action @@ -128367,11 +128572,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 +128652,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 +128732,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 +128781,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 +128868,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 +128898,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 +128979,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 +129161,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 +129243,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 +129371,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 +129421,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 +129507,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 +130297,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 +130314,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *243 + type: *245 updated_at: type: string format: date-time @@ -130442,8 +130647,8 @@ x-webhooks: - state - locked - assignee - organization: *745 - repository: *746 + organization: *747 + repository: *748 sender: *4 required: - action @@ -130523,7 +130728,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 +130885,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 +130901,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 +131687,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 +131704,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *243 + type: *245 updated_at: type: string format: date-time @@ -131834,8 +132039,8 @@ x-webhooks: - state - locked - assignee - organization: *745 - repository: *746 + organization: *747 + repository: *748 sender: *4 required: - action @@ -131915,7 +132120,7 @@ x-webhooks: type: string enum: - edited - changes: &799 + changes: &801 description: The changes to the comment. type: object properties: @@ -131927,9 +132132,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 +132922,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 +132939,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *243 + type: *245 updated_at: type: string format: date-time @@ -133067,8 +133272,8 @@ x-webhooks: - state - locked - assignee - organization: *745 - repository: *746 + organization: *747 + repository: *748 sender: *4 required: - action @@ -133149,9 +133354,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 +134146,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 +134163,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *243 + type: *245 updated_at: type: string format: date-time @@ -134293,8 +134498,8 @@ x-webhooks: - state - locked - assignee - organization: *745 - repository: *746 + organization: *747 + repository: *748 sender: *4 required: - action @@ -134374,9 +134579,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 +135371,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 +135388,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *243 + type: *245 updated_at: type: string format: date-time @@ -135518,8 +135723,8 @@ x-webhooks: - state - locked - assignee - organization: *745 - repository: *746 + organization: *747 + repository: *748 sender: *4 required: - action @@ -135602,15 +135807,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 +135898,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 +135988,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 +136079,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 +136167,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 +136959,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 +136982,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *243 + type: *245 updated_at: type: string format: date-time @@ -136878,8 +137083,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *745 - repository: *746 + organization: *747 + repository: *748 sender: *4 required: - action @@ -136959,8 +137164,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 +137959,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 +137982,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *243 + type: *245 updated_at: type: string format: date-time @@ -138013,8 +138218,8 @@ x-webhooks: required: - state - closed_at - organization: *745 - repository: *746 + organization: *747 + repository: *748 sender: *4 required: - action @@ -138093,8 +138298,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 +139084,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 +139107,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *243 + type: *245 updated_at: type: string format: date-time @@ -139002,8 +139207,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *745 - repository: *746 + organization: *747 + repository: *748 sender: *4 required: - action @@ -139082,8 +139287,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 +140095,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 +140118,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *243 + type: *245 updated_at: type: string format: date-time @@ -139992,7 +140197,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 +140335,8 @@ x-webhooks: - updated_at - due_on - closed_at - organization: *745 - repository: *746 + organization: *747 + repository: *748 sender: *4 required: - action @@ -140230,8 +140435,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 +141225,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 +141245,7 @@ x-webhooks: timeline_url: type: string format: uri - type: *243 + type: *245 title: description: Title of the issue type: string @@ -141144,9 +141349,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 +141371,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 +141764,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 +142553,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 +142573,7 @@ x-webhooks: timeline_url: type: string format: uri - type: *243 + type: *245 title: description: Title of the issue type: string @@ -142139,9 +142677,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 +142759,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 +143572,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 +143592,7 @@ x-webhooks: timeline_url: type: string format: uri - type: *243 + type: *245 title: description: Title of the issue type: string @@ -143135,8 +143673,8 @@ x-webhooks: format: uri user_view_type: type: string - organization: *745 - repository: *746 + organization: *747 + repository: *748 sender: *4 required: - action @@ -143215,8 +143753,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 +144560,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 +144583,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *243 + type: *245 updated_at: type: string format: date-time @@ -144123,9 +144661,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 +145526,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 +145558,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 +145631,7 @@ x-webhooks: required: - login - id - type: *243 + type: *245 required: - id - number @@ -145573,8 +146111,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 +146896,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 +146916,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *243 + type: *245 updated_at: type: string format: date-time @@ -146391,8 +146929,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 +147024,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *745 - repository: *746 + organization: *747 + repository: *748 sender: *4 required: - action @@ -146567,9 +147105,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 +147890,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 +147913,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *243 + type: *245 updated_at: type: string format: date-time @@ -147475,8 +148013,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *745 - repository: *746 + organization: *747 + repository: *748 sender: *4 required: - action @@ -147555,8 +148093,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 +148904,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 +149005,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 +149873,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 +149896,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *243 + type: *245 updated_at: type: string format: date-time @@ -149937,11 +150475,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 +150559,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 +150645,7 @@ x-webhooks: type: string enum: - unassigned - assignee: &802 + assignee: &804 title: User type: object nullable: true @@ -150177,11 +150715,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 +150798,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 +150883,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 +151694,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 +151717,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *243 + type: *245 updated_at: type: string format: date-time @@ -151257,8 +151795,8 @@ x-webhooks: format: uri user_view_type: type: string - organization: *745 - repository: *746 + organization: *747 + repository: *748 sender: *4 required: - action @@ -151338,11 +151876,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 +151959,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 +152044,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 +152126,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 +152240,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 +152326,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 +152411,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 +152492,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *746 + repository: *748 sender: *4 required: - action @@ -152034,10 +152572,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 +152658,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *746 + repository: *748 sender: *4 required: - action @@ -152202,10 +152740,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 +152825,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *746 + repository: *748 sender: *4 required: - action @@ -152368,8 +152906,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 +152989,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 +153071,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 +153178,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 +153282,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 +153365,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 +153447,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 +153527,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 +153750,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 +153831,7 @@ x-webhooks: required: - login - id - team: *775 + team: *777 required: - action - scope @@ -153375,8 +153913,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 +153933,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 +154027,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 +154103,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 +154212,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 +154303,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 +154386,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 +154525,8 @@ x-webhooks: - updated_at - due_on - closed_at - organization: *745 - repository: *746 + organization: *747 + repository: *748 sender: *4 required: - action @@ -154067,11 +154605,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 +154719,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 +154803,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 +154886,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 +154969,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 +155052,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 +155161,8 @@ x-webhooks: - role - organization_url - user - organization: *745 - repository: *746 + organization: *747 + repository: *748 sender: *4 required: - action @@ -154702,11 +155240,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 +155323,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 +155440,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 +155521,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 +155612,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 +155693,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 +156194,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: &783 + items: &785 title: Ruby Gems metadata type: object properties: @@ -155751,7 +156289,7 @@ x-webhooks: - owner - package_version - registry - repository: *746 + repository: *748 sender: *4 required: - action @@ -155827,9 +156365,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 +156720,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: *783 + items: *785 source_url: type: string format: uri @@ -156252,7 +156790,7 @@ x-webhooks: - owner - package_version - registry - repository: *746 + repository: *748 sender: *4 required: - action @@ -156428,12 +156966,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 +157048,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 +157194,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 +157274,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 +157354,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 +157433,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 +157542,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 +157574,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 +157820,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 +157942,7 @@ x-webhooks: - creator - created_at - updated_at - repository: *746 + repository: *748 sender: *4 required: - action @@ -157485,11 +158023,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 +158107,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 +158237,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 +158333,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 +158431,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 +158623,7 @@ x-webhooks: type: string required: - after_id - repository: *746 + repository: *748 sender: *4 required: - action @@ -158165,10 +158703,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 +158830,7 @@ x-webhooks: - creator - created_at - updated_at - repository: *746 + repository: *748 sender: *4 required: - action @@ -158372,10 +158910,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 +158952,7 @@ x-webhooks: - name - created_at - updated_at - repository: *746 + repository: *748 sender: *4 required: - action @@ -158493,19 +159031,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 +159133,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 +159217,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 +159301,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 +159385,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 +159499,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 +159582,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 +159667,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 +159750,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 +159833,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 +159952,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 +160037,7 @@ x-webhooks: type: string enum: - archived - changes: &792 + changes: &794 type: object properties: archived_at: @@ -159513,9 +160051,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 +160071,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 +160188,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 +160272,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 +160355,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 +160463,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 +160485,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 +160519,8 @@ x-webhooks: oneOf: - type: string - type: integer - - *790 - - *791 + - *792 + - *793 required: - field_value - type: object @@ -159998,9 +160536,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 +160633,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 +160718,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 +160803,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 +160886,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 +160974,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 +161112,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 +161185,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 +161265,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 +163576,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *746 + repository: *748 sender: *4 required: - action @@ -163135,11 +163673,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 +165977,7 @@ x-webhooks: - draft reason: type: string - repository: *746 + repository: *748 sender: *4 required: - action @@ -165536,11 +166074,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 +168378,7 @@ x-webhooks: - draft reason: type: string - repository: *746 + repository: *748 sender: *4 required: - action @@ -167937,13 +168475,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 +168543,7 @@ x-webhooks: Please use `squash_merge_commit_title` instead.** type: boolean default: false - repository: *746 + repository: *748 sender: *4 required: - action @@ -168086,12 +168624,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 +168709,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 +171040,7 @@ x-webhooks: - active_lock_reason - draft version: '2026-03-10' - repository: *746 + repository: *748 sender: *4 required: - action @@ -170581,11 +171119,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 +173427,7 @@ x-webhooks: - BRANCH_PROTECTIONS - GIT_TREE_INVALID - INVALID_MERGE_COMMIT - repository: *746 + repository: *748 sender: *4 required: - action @@ -173021,12 +173559,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 +173644,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 +175937,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *746 + repository: *748 sender: *4 required: - action @@ -175487,11 +176025,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 +178333,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *746 + repository: *748 sender: *4 required: - action @@ -177891,10 +178429,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 +180734,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *746 + repository: *748 sender: *4 required: - action @@ -180291,12 +180829,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 +180913,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 +180999,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 +181084,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 +181455,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 +183649,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *746 + repository: *748 sender: *4 required: - action @@ -183206,7 +183744,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 +184029,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 +186211,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *746 + repository: *748 sender: *4 required: - action @@ -185768,11 +186306,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 +188493,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *746 + repository: *748 sender: *4 required: - action @@ -188051,9 +188589,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 +190786,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 +191048,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 +193104,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 +193346,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 +195656,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *746 + repository: *748 requested_reviewer: title: User type: object @@ -195202,12 +195740,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 +198057,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 +198272,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 +200584,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *746 + repository: *748 requested_reviewer: title: User type: object @@ -200131,12 +200669,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 +202972,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 +203176,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 +205375,8 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *746 - review: *801 + repository: *748 + review: *803 sender: *4 required: - action @@ -204933,9 +205471,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 +207565,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *746 + repository: *748 sender: *4 thread: type: object @@ -207422,9 +207960,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 +210040,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *746 + repository: *748 sender: *4 thread: type: object @@ -209900,10 +210438,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 +212734,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *746 + repository: *748 sender: *4 required: - action @@ -212293,11 +212831,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 +215140,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *746 + repository: *748 sender: *4 required: - action @@ -214696,11 +215234,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 +217533,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *746 + repository: *748 sender: *4 required: - action @@ -217091,10 +217629,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 +219919,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *746 + repository: *748 sender: *4 required: - action @@ -219596,7 +220134,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 +220226,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 +220813,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 +221261,7 @@ x-webhooks: type: string rubygems_metadata: type: array - items: *783 + items: *785 summary: type: string tag_name: @@ -220777,7 +221315,7 @@ x-webhooks: - owner - package_version - registry - repository: *746 + repository: *748 sender: *4 required: - action @@ -220855,9 +221393,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 +221703,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: *783 + items: *785 summary: type: string tag_name: @@ -221214,7 +221752,7 @@ x-webhooks: - owner - package_version - registry - repository: *746 + repository: *748 sender: *4 required: - action @@ -221291,10 +221829,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 +222150,7 @@ x-webhooks: - updated_at - zipball_url - body - repository: *746 + repository: *748 sender: *4 required: - action @@ -221689,11 +222227,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 +222348,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 +222430,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 +222754,7 @@ x-webhooks: type: string nullable: true format: uri - repository: *746 + repository: *748 sender: *4 required: - action @@ -222292,10 +222830,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 +223152,7 @@ x-webhooks: type: string nullable: true format: uri - repository: *746 + repository: *748 sender: *4 required: - action @@ -222690,11 +223228,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 +223308,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 +223388,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 +223468,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 +223548,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 +223628,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 +223709,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 +223796,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 +223911,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 +223986,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 +224070,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 +224150,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 +224247,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 +224330,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 +224412,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 +224494,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 +224517,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 +224559,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 +224802,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 +224883,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 +224964,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 +225086,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 +225295,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 +225376,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 +225579,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 +225660,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 +225672,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 +225803,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 +225884,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 +225969,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 +226211,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 +226293,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 +226375,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 +226457,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 +226540,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 +226670,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 +226751,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 +226956,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 +227033,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 +227228,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 +227310,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 +227616,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 +227709,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 +227791,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 +227875,7 @@ x-webhooks: type: string enum: - pending_tier_change - changes: &811 + changes: &813 type: object properties: tier: @@ -227381,13 +227919,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 +228002,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 +228082,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 +228168,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 +228591,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 +228708,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 +228800,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 +228892,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 +228984,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 +229069,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 +229297,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 +229757,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *812 + team: *814 required: - action - team @@ -229295,9 +229833,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 +230293,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *812 + team: *814 required: - action - team @@ -229832,9 +230370,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 +230830,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *812 + team: *814 required: - action - team @@ -230436,9 +230974,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 +231434,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *812 + team: *814 required: - action - changes @@ -230974,9 +231512,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 +231972,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *812 + team: *814 required: - action - team @@ -231510,10 +232048,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 +232124,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 +232215,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 +232455,7 @@ x-webhooks: type: string required: - conclusion - deployment: *508 + deployment: *510 required: - action - repository @@ -231996,10 +232534,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 +232797,7 @@ x-webhooks: required: - status - steps - deployment: *508 + deployment: *510 required: - action - repository @@ -232338,10 +232876,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 +233014,7 @@ x-webhooks: - workflow_name - head_branch - created_at - deployment: *508 + deployment: *510 required: - action - repository @@ -232555,10 +233093,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 +233232,7 @@ x-webhooks: - workflow_name - head_branch - created_at - deployment: *508 + deployment: *510 required: - action - repository @@ -232774,12 +233312,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 +234316,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 +235305,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..e473216e29 100644 --- a/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.json +++ b/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.json @@ -462,21 +462,21 @@ }, "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/meta/meta#github-api-root" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/meta/meta#github-api-root" } } }, "/advisories": { "get": { "summary": "List global security advisories", - "description": "Lists all global security advisories that match the specified parameters. If no other parameters are defined, the request will return only GitHub-reviewed advisories that are not malware.\n\nBy default, all responses will exclude advisories for malware, because malware are not standard vulnerabilities. To list advisories for malware, you must include the `type` parameter in your request, with the value `malware`. For more information about the different types of security advisories, see \"[About the GitHub Advisory database](https://docs.github.com/enterprise-cloud@latest//code-security/security-advisories/global-security-advisories/about-the-github-advisory-database#about-types-of-security-advisories).\"", + "description": "Lists all global security advisories that match the specified parameters. If no other parameters are defined, the request will return only GitHub-reviewed advisories that are not malware.\n\nBy default, all responses will exclude advisories for malware, because malware are not standard vulnerabilities. To list advisories for malware, you must include the `type` parameter in your request, with the value `malware`. For more information about the different types of security advisories, see \"[About the GitHub Advisory database](https://docs.github.com/enterprise-cloud@latest/code-security/security-advisories/global-security-advisories/about-the-github-advisory-database#about-types-of-security-advisories).\"", "tags": [ "security-advisories" ], "operationId": "security-advisories/list-global-advisories", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/security-advisories/global-advisories#list-global-security-advisories" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/security-advisories/global-advisories#list-global-security-advisories" }, "parameters": [ { @@ -596,7 +596,7 @@ { "name": "published", "in": "query", - "description": "If specified, only return advisories that were published on a date or date range.\n\nFor more information on the syntax of the date range, see \"[Understanding the search syntax](https://docs.github.com/enterprise-cloud@latest//search-github/getting-started-with-searching-on-github/understanding-the-search-syntax#query-for-dates).\"", + "description": "If specified, only return advisories that were published on a date or date range.\n\nFor more information on the syntax of the date range, see \"[Understanding the search syntax](https://docs.github.com/enterprise-cloud@latest/search-github/getting-started-with-searching-on-github/understanding-the-search-syntax#query-for-dates).\"", "schema": { "type": "string" } @@ -604,14 +604,14 @@ { "name": "updated", "in": "query", - "description": "If specified, only return advisories that were updated on a date or date range.\n\nFor more information on the syntax of the date range, see \"[Understanding the search syntax](https://docs.github.com/enterprise-cloud@latest//search-github/getting-started-with-searching-on-github/understanding-the-search-syntax#query-for-dates).\"", + "description": "If specified, only return advisories that were updated on a date or date range.\n\nFor more information on the syntax of the date range, see \"[Understanding the search syntax](https://docs.github.com/enterprise-cloud@latest/search-github/getting-started-with-searching-on-github/understanding-the-search-syntax#query-for-dates).\"", "schema": { "type": "string" } }, { "name": "modified", - "description": "If specified, only show advisories that were updated or published on a date or date range.\n\nFor more information on the syntax of the date range, see \"[Understanding the search syntax](https://docs.github.com/enterprise-cloud@latest//search-github/getting-started-with-searching-on-github/understanding-the-search-syntax#query-for-dates).\"", + "description": "If specified, only show advisories that were updated or published on a date or date range.\n\nFor more information on the syntax of the date range, see \"[Understanding the search syntax](https://docs.github.com/enterprise-cloud@latest/search-github/getting-started-with-searching-on-github/understanding-the-search-syntax#query-for-dates).\"", "in": "query", "schema": { "type": "string" @@ -635,7 +635,7 @@ }, { "name": "before", - "description": "A cursor, as given in the [Link header](https://docs.github.com/enterprise-cloud@latest//rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for results before this cursor. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "A cursor, as given in the [Link header](https://docs.github.com/enterprise-cloud@latest/rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for results before this cursor. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "required": false, "schema": { @@ -644,7 +644,7 @@ }, { "name": "after", - "description": "A cursor, as given in the [Link header](https://docs.github.com/enterprise-cloud@latest//rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for results after this cursor. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "A cursor, as given in the [Link header](https://docs.github.com/enterprise-cloud@latest/rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for results after this cursor. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "required": false, "schema": { @@ -667,7 +667,7 @@ }, { "name": "per_page", - "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -1383,7 +1383,7 @@ "operationId": "security-advisories/get-global-advisory", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/security-advisories/global-advisories#get-a-global-security-advisory" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/security-advisories/global-advisories#get-a-global-security-advisory" }, "parameters": [ { @@ -2039,14 +2039,14 @@ "/app": { "get": { "summary": "Get the authenticated app", - "description": "Returns the GitHub App associated with the authentication credentials used. To see how many app installations are associated with this GitHub App, see the `installations_count` in the response. For more details about your app's installations, see the \"[List installations for the authenticated app](https://docs.github.com/enterprise-cloud@latest//rest/apps/apps#list-installations-for-the-authenticated-app)\" endpoint.\n\nYou must use a [JWT](https://docs.github.com/enterprise-cloud@latest//apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.", + "description": "Returns the GitHub App associated with the authentication credentials used. To see how many app installations are associated with this GitHub App, see the `installations_count` in the response. For more details about your app's installations, see the \"[List installations for the authenticated app](https://docs.github.com/enterprise-cloud@latest/rest/apps/apps#list-installations-for-the-authenticated-app)\" endpoint.\n\nYou must use a [JWT](https://docs.github.com/enterprise-cloud@latest/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.", "tags": [ "apps" ], "operationId": "apps/get-authenticated", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/apps/apps#get-the-authenticated-app" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/apps/apps#get-the-authenticated-app" }, "parameters": [], "responses": { @@ -2424,14 +2424,14 @@ "/app-manifests/{code}/conversions": { "post": { "summary": "Create a GitHub App from a manifest", - "description": "Use this endpoint to complete the handshake necessary when implementing the [GitHub App Manifest flow](https://docs.github.com/enterprise-cloud@latest//apps/building-github-apps/creating-github-apps-from-a-manifest/). When you create a GitHub App with the manifest flow, you receive a temporary `code` used to retrieve the GitHub App's `id`, `pem` (private key), and `webhook_secret`.", + "description": "Use this endpoint to complete the handshake necessary when implementing the [GitHub App Manifest flow](https://docs.github.com/enterprise-cloud@latest/apps/building-github-apps/creating-github-apps-from-a-manifest/). When you create a GitHub App with the manifest flow, you receive a temporary `code` used to retrieve the GitHub App's `id`, `pem` (private key), and `webhook_secret`.", "tags": [ "apps" ], "operationId": "apps/create-from-manifest", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/apps/apps#create-a-github-app-from-a-manifest" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/apps/apps#create-a-github-app-from-a-manifest" }, "parameters": [ { @@ -2906,14 +2906,14 @@ "/app/hook/config": { "get": { "summary": "Get a webhook configuration for an app", - "description": "Returns the webhook configuration for a GitHub App. For more information about configuring a webhook for your app, see \"[Creating a GitHub App](/developers/apps/creating-a-github-app).\"\n\nYou must use a [JWT](https://docs.github.com/enterprise-cloud@latest//apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.", + "description": "Returns the webhook configuration for a GitHub App. For more information about configuring a webhook for your app, see \"[Creating a GitHub App](/developers/apps/creating-a-github-app).\"\n\nYou must use a [JWT](https://docs.github.com/enterprise-cloud@latest/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.", "tags": [ "apps" ], "operationId": "apps/get-webhook-config-for-app", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/apps/webhooks#get-a-webhook-configuration-for-an-app" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/apps/webhooks#get-a-webhook-configuration-for-an-app" }, "responses": { "200": { @@ -2938,7 +2938,7 @@ }, "secret": { "type": "string", - "description": "If provided, the `secret` will be used as the `key` to generate the HMAC hex digest value for [delivery signature headers](https://docs.github.com/enterprise-cloud@latest//webhooks/event-payloads/#delivery-headers).", + "description": "If provided, the `secret` will be used as the `key` to generate the HMAC hex digest value for [delivery signature headers](https://docs.github.com/enterprise-cloud@latest/webhooks/event-payloads/#delivery-headers).", "example": "\"********\"" }, "insecure_ssl": { @@ -2978,14 +2978,14 @@ }, "patch": { "summary": "Update a webhook configuration for an app", - "description": "Updates the webhook configuration for a GitHub App. For more information about configuring a webhook for your app, see \"[Creating a GitHub App](/developers/apps/creating-a-github-app).\"\n\nYou must use a [JWT](https://docs.github.com/enterprise-cloud@latest//apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.", + "description": "Updates the webhook configuration for a GitHub App. For more information about configuring a webhook for your app, see \"[Creating a GitHub App](/developers/apps/creating-a-github-app).\"\n\nYou must use a [JWT](https://docs.github.com/enterprise-cloud@latest/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.", "tags": [ "apps" ], "operationId": "apps/update-webhook-config-for-app", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/apps/webhooks#update-a-webhook-configuration-for-an-app" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/apps/webhooks#update-a-webhook-configuration-for-an-app" }, "requestBody": { "required": true, @@ -3007,7 +3007,7 @@ }, "secret": { "type": "string", - "description": "If provided, the `secret` will be used as the `key` to generate the HMAC hex digest value for [delivery signature headers](https://docs.github.com/enterprise-cloud@latest//webhooks/event-payloads/#delivery-headers).", + "description": "If provided, the `secret` will be used as the `key` to generate the HMAC hex digest value for [delivery signature headers](https://docs.github.com/enterprise-cloud@latest/webhooks/event-payloads/#delivery-headers).", "example": "\"********\"" }, "insecure_ssl": { @@ -3060,7 +3060,7 @@ }, "secret": { "type": "string", - "description": "If provided, the `secret` will be used as the `key` to generate the HMAC hex digest value for [delivery signature headers](https://docs.github.com/enterprise-cloud@latest//webhooks/event-payloads/#delivery-headers).", + "description": "If provided, the `secret` will be used as the `key` to generate the HMAC hex digest value for [delivery signature headers](https://docs.github.com/enterprise-cloud@latest/webhooks/event-payloads/#delivery-headers).", "example": "\"********\"" }, "insecure_ssl": { @@ -3102,19 +3102,19 @@ "/app/hook/deliveries": { "get": { "summary": "List deliveries for an app webhook", - "description": "Returns a list of webhook deliveries for the webhook configured for a GitHub App.\n\nYou must use a [JWT](https://docs.github.com/enterprise-cloud@latest//apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.", + "description": "Returns a list of webhook deliveries for the webhook configured for a GitHub App.\n\nYou must use a [JWT](https://docs.github.com/enterprise-cloud@latest/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.", "tags": [ "apps" ], "operationId": "apps/list-webhook-deliveries", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/apps/webhooks#list-deliveries-for-an-app-webhook" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/apps/webhooks#list-deliveries-for-an-app-webhook" }, "parameters": [ { "name": "per_page", - "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -3419,14 +3419,14 @@ "/app/hook/deliveries/{delivery_id}": { "get": { "summary": "Get a delivery for an app webhook", - "description": "Returns a delivery for the webhook configured for a GitHub App.\n\nYou must use a [JWT](https://docs.github.com/enterprise-cloud@latest//apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.", + "description": "Returns a delivery for the webhook configured for a GitHub App.\n\nYou must use a [JWT](https://docs.github.com/enterprise-cloud@latest/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.", "tags": [ "apps" ], "operationId": "apps/get-webhook-delivery", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/apps/webhooks#get-a-delivery-for-an-app-webhook" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/apps/webhooks#get-a-delivery-for-an-app-webhook" }, "parameters": [ { @@ -3770,14 +3770,14 @@ "/app/hook/deliveries/{delivery_id}/attempts": { "post": { "summary": "Redeliver a delivery for an app webhook", - "description": "Redeliver a delivery for the webhook configured for a GitHub App.\n\nYou must use a [JWT](https://docs.github.com/enterprise-cloud@latest//apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.", + "description": "Redeliver a delivery for the webhook configured for a GitHub App.\n\nYou must use a [JWT](https://docs.github.com/enterprise-cloud@latest/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.", "tags": [ "apps" ], "operationId": "apps/redeliver-webhook-delivery", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/apps/webhooks#redeliver-a-delivery-for-an-app-webhook" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/apps/webhooks#redeliver-a-delivery-for-an-app-webhook" }, "parameters": [ { @@ -3953,12 +3953,12 @@ "operationId": "apps/list-installation-requests-for-authenticated-app", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/apps/apps#list-installation-requests-for-the-authenticated-app" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/apps/apps#list-installation-requests-for-the-authenticated-app" }, "parameters": [ { "name": "per_page", - "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -3967,7 +3967,7 @@ }, { "name": "page", - "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -4424,19 +4424,19 @@ "/app/installations": { "get": { "summary": "List installations for the authenticated app", - "description": "The permissions the installation has are included under the `permissions` key.\n\nYou must use a [JWT](https://docs.github.com/enterprise-cloud@latest//apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.", + "description": "The permissions the installation has are included under the `permissions` key.\n\nYou must use a [JWT](https://docs.github.com/enterprise-cloud@latest/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.", "tags": [ "apps" ], "operationId": "apps/list-installations", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/apps/apps#list-installations-for-the-authenticated-app" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/apps/apps#list-installations-for-the-authenticated-app" }, "parameters": [ { "name": "per_page", - "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -4445,7 +4445,7 @@ }, { "name": "page", - "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -5457,14 +5457,14 @@ "/app/installations/{installation_id}": { "get": { "summary": "Get an installation for the authenticated app", - "description": "Enables an authenticated GitHub App to find an installation's information using the installation id.\n\nYou must use a [JWT](https://docs.github.com/enterprise-cloud@latest//apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.", + "description": "Enables an authenticated GitHub App to find an installation's information using the installation id.\n\nYou must use a [JWT](https://docs.github.com/enterprise-cloud@latest/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.", "tags": [ "apps" ], "operationId": "apps/get-installation", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/apps/apps#get-an-installation-for-the-authenticated-app" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/apps/apps#get-an-installation-for-the-authenticated-app" }, "parameters": [ { @@ -6479,14 +6479,14 @@ }, "delete": { "summary": "Delete an installation for the authenticated app", - "description": "Uninstalls a GitHub App on a user, organization, or enterprise account. If you prefer to temporarily suspend an app's access to your account's resources, then we recommend the \"[Suspend an app installation](https://docs.github.com/enterprise-cloud@latest//rest/apps/apps#suspend-an-app-installation)\" endpoint.\n\nYou must use a [JWT](https://docs.github.com/enterprise-cloud@latest//apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.", + "description": "Uninstalls a GitHub App on a user, organization, or enterprise account. If you prefer to temporarily suspend an app's access to your account's resources, then we recommend the \"[Suspend an app installation](https://docs.github.com/enterprise-cloud@latest/rest/apps/apps#suspend-an-app-installation)\" endpoint.\n\nYou must use a [JWT](https://docs.github.com/enterprise-cloud@latest/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.", "tags": [ "apps" ], "operationId": "apps/delete-installation", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/apps/apps#delete-an-installation-for-the-authenticated-app" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/apps/apps#delete-an-installation-for-the-authenticated-app" }, "parameters": [ { @@ -6546,14 +6546,14 @@ "/app/installations/{installation_id}/access_tokens": { "post": { "summary": "Create an installation access token for an app", - "description": "Creates an installation access token that enables a GitHub App to make authenticated API requests for the app's installation on an enterprise, organization, or individual account. Installation tokens expire one hour from the time you create them. Using an expired token produces a status code of `401 - Unauthorized`, and requires creating a new installation token. By default the installation token has access to all repositories that the installation can access.\n\nOptionally, you can use the `repositories` or `repository_ids` body parameters to specify individual repositories that the installation access token can access. If you don't use `repositories` or `repository_ids` to grant access to specific repositories, the installation access token will have access to all repositories that the installation was granted access to. The installation access token cannot be granted access to repositories that the installation was not granted access to. Up to 500 repositories can be listed in this manner.\n\nOptionally, use the `permissions` body parameter to specify the permissions that the installation access token should have. If `permissions` is not specified, the installation access token will have all of the permissions that were granted to the app. The installation access token cannot be granted permissions that the app was not granted.\n\nEnterprise account installations do not have access to repositories and cannot be scoped down using the `permissions` parameter.\n\nYou must use a [JWT](https://docs.github.com/enterprise-cloud@latest//apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.", + "description": "Creates an installation access token that enables a GitHub App to make authenticated API requests for the app's installation on an enterprise, organization, or individual account. Installation tokens expire one hour from the time you create them. Using an expired token produces a status code of `401 - Unauthorized`, and requires creating a new installation token. By default the installation token has access to all repositories that the installation can access.\n\nOptionally, you can use the `repositories` or `repository_ids` body parameters to specify individual repositories that the installation access token can access. If you don't use `repositories` or `repository_ids` to grant access to specific repositories, the installation access token will have access to all repositories that the installation was granted access to. The installation access token cannot be granted access to repositories that the installation was not granted access to. Up to 500 repositories can be listed in this manner.\n\nOptionally, use the `permissions` body parameter to specify the permissions that the installation access token should have. If `permissions` is not specified, the installation access token will have all of the permissions that were granted to the app. The installation access token cannot be granted permissions that the app was not granted.\n\nEnterprise account installations do not have access to repositories and cannot be scoped down using the `permissions` parameter.\n\nYou must use a [JWT](https://docs.github.com/enterprise-cloud@latest/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.", "tags": [ "apps" ], "operationId": "apps/create-installation-access-token", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/apps/apps#create-an-installation-access-token-for-an-app" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/apps/apps#create-an-installation-access-token-for-an-app" }, "parameters": [ { @@ -8628,14 +8628,14 @@ "/app/installations/{installation_id}/suspended": { "put": { "summary": "Suspend an app installation", - "description": "Suspends a GitHub App on a user, organization, or enterprise account, which blocks the app from accessing the account's resources. When a GitHub App is suspended, the app's access to the GitHub Enterprise Cloud API or webhook events is blocked for that account.\n\nYou must use a [JWT](https://docs.github.com/enterprise-cloud@latest//apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.", + "description": "Suspends a GitHub App on a user, organization, or enterprise account, which blocks the app from accessing the account's resources. When a GitHub App is suspended, the app's access to the GitHub Enterprise Cloud API or webhook events is blocked for that account.\n\nYou must use a [JWT](https://docs.github.com/enterprise-cloud@latest/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.", "tags": [ "apps" ], "operationId": "apps/suspend-installation", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/apps/apps#suspend-an-app-installation" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/apps/apps#suspend-an-app-installation" }, "parameters": [ { @@ -8693,14 +8693,14 @@ }, "delete": { "summary": "Unsuspend an app installation", - "description": "Removes a GitHub App installation suspension.\n\nYou must use a [JWT](https://docs.github.com/enterprise-cloud@latest//apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.", + "description": "Removes a GitHub App installation suspension.\n\nYou must use a [JWT](https://docs.github.com/enterprise-cloud@latest/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.", "tags": [ "apps" ], "operationId": "apps/unsuspend-installation", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/apps/apps#unsuspend-an-app-installation" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/apps/apps#unsuspend-an-app-installation" }, "parameters": [ { @@ -8767,7 +8767,7 @@ ], "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/apps/oauth-applications#delete-an-app-authorization" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/apps/oauth-applications#delete-an-app-authorization" }, "parameters": [ { @@ -8903,7 +8903,7 @@ "operationId": "apps/check-token", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/apps/oauth-applications#check-a-token" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/apps/oauth-applications#check-a-token" }, "parameters": [ { @@ -9963,7 +9963,7 @@ "operationId": "apps/reset-token", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/apps/oauth-applications#reset-a-token" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/apps/oauth-applications#reset-a-token" }, "parameters": [ { @@ -10997,7 +10997,7 @@ "operationId": "apps/delete-token", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/apps/oauth-applications#delete-an-app-token" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/apps/oauth-applications#delete-an-app-token" }, "parameters": [ { @@ -11133,7 +11133,7 @@ "operationId": "apps/scope-token", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/apps/apps#create-a-scoped-access-token" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/apps/apps#create-a-scoped-access-token" }, "parameters": [ { @@ -12771,7 +12771,7 @@ "operationId": "apps/get-by-slug", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/apps/apps#get-an-app" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/apps/apps#get-an-app" }, "parameters": [ { @@ -13217,7 +13217,7 @@ "operationId": "classroom/get-an-assignment", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/classroom/classroom#get-an-assignment" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/classroom/classroom#get-an-assignment" }, "parameters": [ { @@ -13560,7 +13560,7 @@ "operationId": "classroom/list-accepted-assignments-for-an-assignment", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/classroom/classroom#list-accepted-assignments-for-an-assignment" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/classroom/classroom#list-accepted-assignments-for-an-assignment" }, "parameters": [ { @@ -13574,7 +13574,7 @@ }, { "name": "page", - "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -13583,7 +13583,7 @@ }, { "name": "per_page", - "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -13943,7 +13943,7 @@ "operationId": "classroom/get-assignment-grades", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/classroom/classroom#get-assignment-grades" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/classroom/classroom#get-assignment-grades" }, "parameters": [ { @@ -14106,12 +14106,12 @@ "operationId": "classroom/list-classrooms", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/classroom/classroom#list-classrooms" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/classroom/classroom#list-classrooms" }, "parameters": [ { "name": "page", - "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -14120,7 +14120,7 @@ }, { "name": "per_page", - "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -14200,7 +14200,7 @@ "operationId": "classroom/get-a-classroom", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/classroom/classroom#get-a-classroom" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/classroom/classroom#get-a-classroom" }, "parameters": [ { @@ -14358,7 +14358,7 @@ "operationId": "classroom/list-assignments-for-a-classroom", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/classroom/classroom#list-assignments-for-a-classroom" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/classroom/classroom#list-assignments-for-a-classroom" }, "parameters": [ { @@ -14372,7 +14372,7 @@ }, { "name": "page", - "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -14381,7 +14381,7 @@ }, { "name": "per_page", - "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -14598,7 +14598,7 @@ "operationId": "codes-of-conduct/get-all-codes-of-conduct", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/codes-of-conduct/codes-of-conduct#get-all-codes-of-conduct" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/codes-of-conduct/codes-of-conduct#get-all-codes-of-conduct" }, "parameters": [], "responses": { @@ -14687,7 +14687,7 @@ "operationId": "codes-of-conduct/get-conduct-code", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/codes-of-conduct/codes-of-conduct#get-a-code-of-conduct" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/codes-of-conduct/codes-of-conduct#get-a-code-of-conduct" }, "parameters": [ { @@ -14801,7 +14801,7 @@ "operationId": "credentials/revoke", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/credentials/revoke#revoke-a-list-of-credentials" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/credentials/revoke#revoke-a-list-of-credentials" }, "requestBody": { "required": true, @@ -14931,7 +14931,7 @@ ], "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/emojis/emojis#get-emojis" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/emojis/emojis#get-emojis" }, "parameters": [], "responses": { @@ -16853,7 +16853,7 @@ ], "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/admin-stats#get-github-enterprise-server-statistics" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/admin-stats#get-github-enterprise-server-statistics" }, "parameters": [ { @@ -16867,7 +16867,7 @@ }, { "name": "date_start", - "description": "A cursor, as given in the [Link header](https://docs.github.com/enterprise-cloud@latest//rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for events after this cursor.", + "description": "A cursor, as given in the [Link header](https://docs.github.com/enterprise-cloud@latest/rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for events after this cursor.", "in": "query", "required": false, "schema": { @@ -16876,7 +16876,7 @@ }, { "name": "date_end", - "description": "A cursor, as given in the [Link header](https://docs.github.com/enterprise-cloud@latest//rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for events before this cursor.", + "description": "A cursor, as given in the [Link header](https://docs.github.com/enterprise-cloud@latest/rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for events before this cursor.", "in": "query", "required": false, "schema": { @@ -17302,7 +17302,7 @@ ], "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/enterprises#disable-access-restrictions-for-an-enterprise" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/enterprises#disable-access-restrictions-for-an-enterprise" }, "parameters": [ { @@ -17454,7 +17454,7 @@ ], "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/enterprises#enable-access-restrictions-for-an-enterprise" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/enterprises#enable-access-restrictions-for-an-enterprise" }, "parameters": [ { @@ -17606,7 +17606,7 @@ "operationId": "actions/get-actions-cache-retention-limit-for-enterprise", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/actions/cache#get-github-actions-cache-retention-limit-for-an-enterprise" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/actions/cache#get-github-actions-cache-retention-limit-for-an-enterprise" }, "parameters": [ { @@ -17715,7 +17715,7 @@ "operationId": "actions/set-actions-cache-retention-limit-for-enterprise", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/actions/cache#set-github-actions-cache-retention-limit-for-an-enterprise" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/actions/cache#set-github-actions-cache-retention-limit-for-an-enterprise" }, "parameters": [ { @@ -17889,7 +17889,7 @@ "operationId": "actions/get-actions-cache-storage-limit-for-enterprise", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/actions/cache#get-github-actions-cache-storage-limit-for-an-enterprise" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/actions/cache#get-github-actions-cache-storage-limit-for-an-enterprise" }, "parameters": [ { @@ -17998,7 +17998,7 @@ "operationId": "actions/set-actions-cache-storage-limit-for-enterprise", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/actions/cache#set-github-actions-cache-storage-limit-for-an-enterprise" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/actions/cache#set-github-actions-cache-storage-limit-for-an-enterprise" }, "parameters": [ { @@ -18172,7 +18172,7 @@ ], "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/actions/cache#get-github-actions-cache-usage-for-an-enterprise" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/actions/cache#get-github-actions-cache-usage-for-an-enterprise" }, "parameters": [ { @@ -18245,7 +18245,7 @@ "operationId": "actions/list-hosted-runners-for-enterprise", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/actions/hosted-runners#list-github-hosted-runners-for-an-enterprise" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/actions/hosted-runners#list-github-hosted-runners-for-an-enterprise" }, "parameters": [ { @@ -18259,7 +18259,7 @@ }, { "name": "per_page", - "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -18268,7 +18268,7 @@ }, { "name": "page", - "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -18553,7 +18553,7 @@ ], "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/actions/hosted-runners#create-a-github-hosted-runner-for-an-enterprise" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/actions/hosted-runners#create-a-github-hosted-runner-for-an-enterprise" }, "parameters": [ { @@ -18879,7 +18879,7 @@ "operationId": "actions/list-custom-images-for-enterprise", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/actions/hosted-runners#list-custom-images-for-an-enterprise" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/actions/hosted-runners#list-custom-images-for-an-enterprise" }, "parameters": [ { @@ -19012,7 +19012,7 @@ "operationId": "actions/get-custom-image-for-enterprise", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/actions/hosted-runners#get-an-enterprise-custom-image-definition-for-github-actions-hosted-runners" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/actions/hosted-runners#get-an-enterprise-custom-image-definition-for-github-actions-hosted-runners" }, "parameters": [ { @@ -19130,7 +19130,7 @@ "operationId": "actions/delete-custom-image-from-enterprise", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/actions/hosted-runners#delete-a-custom-image-from-the-enterprise" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/actions/hosted-runners#delete-a-custom-image-from-the-enterprise" }, "parameters": [ { @@ -19175,7 +19175,7 @@ "operationId": "actions/list-custom-image-versions-for-enterprise", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/actions/hosted-runners#list-image-versions-of-a-custom-image-for-an-enterprise" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/actions/hosted-runners#list-image-versions-of-a-custom-image-for-an-enterprise" }, "parameters": [ { @@ -19299,7 +19299,7 @@ "operationId": "actions/get-custom-image-version-for-enterprise", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/actions/hosted-runners#get-an-image-version-of-an-enterprise-custom-image-for-github-actions-hosted-runners" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/actions/hosted-runners#get-an-image-version-of-an-enterprise-custom-image-for-github-actions-hosted-runners" }, "parameters": [ { @@ -19405,7 +19405,7 @@ "operationId": "actions/delete-custom-image-version-from-enterprise", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/actions/hosted-runners#delete-an-image-version-of-custom-image-from-the-enterprise" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/actions/hosted-runners#delete-an-image-version-of-custom-image-from-the-enterprise" }, "parameters": [ { @@ -19460,7 +19460,7 @@ ], "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/actions/hosted-runners#get-github-owned-images-for-github-hosted-runners-in-an-enterprise" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/actions/hosted-runners#get-github-owned-images-for-github-hosted-runners-in-an-enterprise" }, "parameters": [ { @@ -19569,7 +19569,7 @@ ], "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/actions/hosted-runners#get-partner-images-for-github-hosted-runners-in-an-enterprise" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/actions/hosted-runners#get-partner-images-for-github-hosted-runners-in-an-enterprise" }, "parameters": [ { @@ -19678,7 +19678,7 @@ "operationId": "actions/get-hosted-runners-limits-for-enterprise", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/actions/hosted-runners#get-limits-on-github-hosted-runners-for-an-enterprise" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/actions/hosted-runners#get-limits-on-github-hosted-runners-for-an-enterprise" }, "parameters": [ { @@ -19757,7 +19757,7 @@ ], "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/actions/hosted-runners#get-github-hosted-runners-machine-specs-for-an-enterprise" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/actions/hosted-runners#get-github-hosted-runners-machine-specs-for-an-enterprise" }, "parameters": [ { @@ -19855,7 +19855,7 @@ ], "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/actions/hosted-runners#get-platforms-for-github-hosted-runners-in-an-enterprise" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/actions/hosted-runners#get-platforms-for-github-hosted-runners-in-an-enterprise" }, "parameters": [ { @@ -19924,7 +19924,7 @@ "operationId": "actions/get-hosted-runner-for-enterprise", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/actions/hosted-runners#get-a-github-hosted-runner-for-an-enterprise" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/actions/hosted-runners#get-a-github-hosted-runner-for-an-enterprise" }, "parameters": [ { @@ -20182,7 +20182,7 @@ ], "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/actions/hosted-runners#update-a-github-hosted-runner-for-an-enterprise" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/actions/hosted-runners#update-a-github-hosted-runner-for-an-enterprise" }, "parameters": [ { @@ -20496,7 +20496,7 @@ ], "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/actions/hosted-runners#delete-a-github-hosted-runner-for-an-enterprise" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/actions/hosted-runners#delete-a-github-hosted-runner-for-an-enterprise" }, "parameters": [ { @@ -20748,7 +20748,7 @@ "operationId": "actions/set-actions-oidc-custom-issuer-policy-for-enterprise", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/actions/oidc#set-the-github-actions-oidc-custom-issuer-policy-for-an-enterprise" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/actions/oidc#set-the-github-actions-oidc-custom-issuer-policy-for-an-enterprise" }, "parameters": [ { @@ -20808,7 +20808,7 @@ "operationId": "oidc/list-oidc-custom-property-inclusions-for-enterprise", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/actions/oidc#list-oidc-custom-property-inclusions-for-an-enterprise" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/actions/oidc#list-oidc-custom-property-inclusions-for-an-enterprise" }, "parameters": [ { @@ -20939,7 +20939,7 @@ "operationId": "oidc/create-oidc-custom-property-inclusion-for-enterprise", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/actions/oidc#create-an-oidc-custom-property-inclusion-for-an-enterprise" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/actions/oidc#create-an-oidc-custom-property-inclusion-for-an-enterprise" }, "parameters": [ { @@ -21070,7 +21070,7 @@ "operationId": "oidc/delete-oidc-custom-property-inclusion-for-enterprise", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/actions/oidc#delete-an-oidc-custom-property-inclusion-for-an-enterprise" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/actions/oidc#delete-an-oidc-custom-property-inclusion-for-an-enterprise" }, "parameters": [ { @@ -21147,7 +21147,7 @@ ], "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#get-github-actions-permissions-for-an-enterprise" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/actions/permissions#get-github-actions-permissions-for-an-enterprise" }, "parameters": [ { @@ -21233,7 +21233,7 @@ ], "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#set-github-actions-permissions-for-an-enterprise" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/actions/permissions#set-github-actions-permissions-for-an-enterprise" }, "parameters": [ { @@ -21315,7 +21315,7 @@ ], "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#get-artifact-and-log-retention-settings-for-an-enterprise" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/actions/permissions#get-artifact-and-log-retention-settings-for-an-enterprise" }, "parameters": [ { @@ -21408,7 +21408,7 @@ ], "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#set-artifact-and-log-retention-settings-for-an-enterprise" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/actions/permissions#set-artifact-and-log-retention-settings-for-an-enterprise" }, "parameters": [ { @@ -21566,7 +21566,7 @@ ], "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#get-fork-pr-contributor-approval-permissions-for-an-enterprise" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/actions/permissions#get-fork-pr-contributor-approval-permissions-for-an-enterprise" }, "parameters": [ { @@ -21654,7 +21654,7 @@ ], "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#set-fork-pr-contributor-approval-permissions-for-an-enterprise" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/actions/permissions#set-fork-pr-contributor-approval-permissions-for-an-enterprise" }, "parameters": [ { @@ -21817,7 +21817,7 @@ ], "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#get-private-repo-fork-pr-workflow-settings-for-an-enterprise" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/actions/permissions#get-private-repo-fork-pr-workflow-settings-for-an-enterprise" }, "parameters": [ { @@ -21918,7 +21918,7 @@ ], "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#set-private-repo-fork-pr-workflow-settings-for-an-enterprise" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/actions/permissions#set-private-repo-fork-pr-workflow-settings-for-an-enterprise" }, "parameters": [ { @@ -22090,7 +22090,7 @@ ], "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#list-selected-organizations-enabled-for-github-actions-in-an-enterprise" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/actions/permissions#list-selected-organizations-enabled-for-github-actions-in-an-enterprise" }, "parameters": [ { @@ -22104,7 +22104,7 @@ }, { "name": "per_page", - "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -22113,7 +22113,7 @@ }, { "name": "page", - "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -22257,7 +22257,7 @@ ], "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#set-selected-organizations-enabled-for-github-actions-in-an-enterprise" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/actions/permissions#set-selected-organizations-enabled-for-github-actions-in-an-enterprise" }, "parameters": [ { @@ -22326,7 +22326,7 @@ ], "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#enable-a-selected-organization-for-github-actions-in-an-enterprise" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/actions/permissions#enable-a-selected-organization-for-github-actions-in-an-enterprise" }, "parameters": [ { @@ -22369,7 +22369,7 @@ ], "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#disable-a-selected-organization-for-github-actions-in-an-enterprise" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/actions/permissions#disable-a-selected-organization-for-github-actions-in-an-enterprise" }, "parameters": [ { @@ -22414,7 +22414,7 @@ ], "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#get-allowed-actions-and-reusable-workflows-for-an-enterprise" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/actions/permissions#get-allowed-actions-and-reusable-workflows-for-an-enterprise" }, "parameters": [ { @@ -22484,7 +22484,7 @@ ], "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#set-allowed-actions-and-reusable-workflows-for-an-enterprise" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/actions/permissions#set-allowed-actions-and-reusable-workflows-for-an-enterprise" }, "parameters": [ { @@ -22559,7 +22559,7 @@ ], "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#get-self-hosted-runners-permissions-for-an-enterprise" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/actions/permissions#get-self-hosted-runners-permissions-for-an-enterprise" }, "parameters": [ { @@ -22642,7 +22642,7 @@ ], "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#set-self-hosted-runners-permissions-for-an-enterprise" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/actions/permissions#set-self-hosted-runners-permissions-for-an-enterprise" }, "parameters": [ { @@ -22793,14 +22793,14 @@ "/enterprises/{enterprise}/actions/permissions/workflow": { "get": { "summary": "Get default workflow permissions for an enterprise", - "description": "Gets the default workflow permissions granted to the `GITHUB_TOKEN` when running workflows in an enterprise,\nas well as whether GitHub Actions can submit approving pull request reviews. For more information, see\n\"[Enforcing a policy for workflow permissions in your enterprise](https://docs.github.com/enterprise-cloud@latest//admin/policies/enforcing-policies-for-your-enterprise/enforcing-policies-for-github-actions-in-your-enterprise#enforcing-a-policy-for-workflow-permissions-in-your-enterprise).\"\n\nOAuth tokens and personal access tokens (classic) need the `admin:enterprise` scope to use this endpoint.", + "description": "Gets the default workflow permissions granted to the `GITHUB_TOKEN` when running workflows in an enterprise,\nas well as whether GitHub Actions can submit approving pull request reviews. For more information, see\n\"[Enforcing a policy for workflow permissions in your enterprise](https://docs.github.com/enterprise-cloud@latest/admin/policies/enforcing-policies-for-your-enterprise/enforcing-policies-for-github-actions-in-your-enterprise#enforcing-a-policy-for-workflow-permissions-in-your-enterprise).\"\n\nOAuth tokens and personal access tokens (classic) need the `admin:enterprise` scope to use this endpoint.", "tags": [ "actions" ], "operationId": "actions/get-github-actions-default-workflow-permissions-enterprise", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#get-default-workflow-permissions-for-an-enterprise" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/actions/permissions#get-default-workflow-permissions-for-an-enterprise" }, "parameters": [ { @@ -22861,14 +22861,14 @@ }, "put": { "summary": "Set default workflow permissions for an enterprise", - "description": "Sets the default workflow permissions granted to the `GITHUB_TOKEN` when running workflows in an enterprise, and sets\nwhether GitHub Actions can submit approving pull request reviews. For more information, see\n\"[Enforcing a policy for workflow permissions in your enterprise](https://docs.github.com/enterprise-cloud@latest//admin/policies/enforcing-policies-for-your-enterprise/enforcing-policies-for-github-actions-in-your-enterprise#enforcing-a-policy-for-workflow-permissions-in-your-enterprise).\"\n\nOAuth app tokens and personal access tokens (classic) need the `admin:enterprise` scope to use this endpoint.", + "description": "Sets the default workflow permissions granted to the `GITHUB_TOKEN` when running workflows in an enterprise, and sets\nwhether GitHub Actions can submit approving pull request reviews. For more information, see\n\"[Enforcing a policy for workflow permissions in your enterprise](https://docs.github.com/enterprise-cloud@latest/admin/policies/enforcing-policies-for-your-enterprise/enforcing-policies-for-github-actions-in-your-enterprise#enforcing-a-policy-for-workflow-permissions-in-your-enterprise).\"\n\nOAuth app tokens and personal access tokens (classic) need the `admin:enterprise` scope to use this endpoint.", "tags": [ "actions" ], "operationId": "actions/set-github-actions-default-workflow-permissions-enterprise", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#set-default-workflow-permissions-for-an-enterprise" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/actions/permissions#set-default-workflow-permissions-for-an-enterprise" }, "parameters": [ { @@ -22937,7 +22937,7 @@ ], "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#list-self-hosted-runner-groups-for-an-enterprise" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/actions/self-hosted-runner-groups#list-self-hosted-runner-groups-for-an-enterprise" }, "parameters": [ { @@ -22951,7 +22951,7 @@ }, { "name": "per_page", - "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -22960,7 +22960,7 @@ }, { "name": "page", - "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -23124,7 +23124,7 @@ ], "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#create-a-self-hosted-runner-group-for-an-enterprise" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/actions/self-hosted-runner-groups#create-a-self-hosted-runner-group-for-an-enterprise" }, "parameters": [ { @@ -23326,7 +23326,7 @@ ], "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#get-a-self-hosted-runner-group-for-an-enterprise" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/actions/self-hosted-runner-groups#get-a-self-hosted-runner-group-for-an-enterprise" }, "parameters": [ { @@ -23453,7 +23453,7 @@ ], "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#update-a-self-hosted-runner-group-for-an-enterprise" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/actions/self-hosted-runner-groups#update-a-self-hosted-runner-group-for-an-enterprise" }, "parameters": [ { @@ -23637,7 +23637,7 @@ ], "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#delete-a-self-hosted-runner-group-from-an-enterprise" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/actions/self-hosted-runner-groups#delete-a-self-hosted-runner-group-from-an-enterprise" }, "parameters": [ { @@ -23682,7 +23682,7 @@ ], "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#list-organization-access-to-a-self-hosted-runner-group-in-an-enterprise" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/actions/self-hosted-runner-groups#list-organization-access-to-a-self-hosted-runner-group-in-an-enterprise" }, "parameters": [ { @@ -23705,7 +23705,7 @@ }, { "name": "per_page", - "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -23714,7 +23714,7 @@ }, { "name": "page", - "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -23858,7 +23858,7 @@ ], "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#set-organization-access-for-a-self-hosted-runner-group-in-an-enterprise" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/actions/self-hosted-runner-groups#set-organization-access-for-a-self-hosted-runner-group-in-an-enterprise" }, "parameters": [ { @@ -23936,7 +23936,7 @@ ], "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#add-organization-access-to-a-self-hosted-runner-group-in-an-enterprise" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/actions/self-hosted-runner-groups#add-organization-access-to-a-self-hosted-runner-group-in-an-enterprise" }, "parameters": [ { @@ -23988,7 +23988,7 @@ ], "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#remove-organization-access-to-a-self-hosted-runner-group-in-an-enterprise" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/actions/self-hosted-runner-groups#remove-organization-access-to-a-self-hosted-runner-group-in-an-enterprise" }, "parameters": [ { @@ -24042,7 +24042,7 @@ ], "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#list-self-hosted-runners-in-a-group-for-an-enterprise" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/actions/self-hosted-runner-groups#list-self-hosted-runners-in-a-group-for-an-enterprise" }, "parameters": [ { @@ -24065,7 +24065,7 @@ }, { "name": "per_page", - "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -24074,7 +24074,7 @@ }, { "name": "page", - "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -24269,7 +24269,7 @@ ], "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#set-self-hosted-runners-in-a-group-for-an-enterprise" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/actions/self-hosted-runner-groups#set-self-hosted-runners-in-a-group-for-an-enterprise" }, "parameters": [ { @@ -24347,7 +24347,7 @@ ], "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#add-a-self-hosted-runner-to-a-group-for-an-enterprise" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/actions/self-hosted-runner-groups#add-a-self-hosted-runner-to-a-group-for-an-enterprise" }, "parameters": [ { @@ -24399,7 +24399,7 @@ ], "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#remove-a-self-hosted-runner-from-a-group-for-an-enterprise" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/actions/self-hosted-runner-groups#remove-a-self-hosted-runner-from-a-group-for-an-enterprise" }, "parameters": [ { @@ -24453,7 +24453,7 @@ ], "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#list-self-hosted-runners-for-an-enterprise" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/actions/self-hosted-runners#list-self-hosted-runners-for-an-enterprise" }, "parameters": [ { @@ -24475,7 +24475,7 @@ }, { "name": "per_page", - "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -24484,7 +24484,7 @@ }, { "name": "page", - "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -24677,7 +24677,7 @@ ], "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#list-runner-applications-for-an-enterprise" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/actions/self-hosted-runners#list-runner-applications-for-an-enterprise" }, "parameters": [ { @@ -24788,7 +24788,7 @@ "operationId": "actions/generate-runner-jitconfig-for-enterprise", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#create-configuration-for-a-just-in-time-runner-for-an-enterprise" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/actions/self-hosted-runners#create-configuration-for-a-just-in-time-runner-for-an-enterprise" }, "parameters": [ { @@ -25088,7 +25088,7 @@ ], "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#create-a-registration-token-for-an-enterprise" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/actions/self-hosted-runners#create-a-registration-token-for-an-enterprise" }, "parameters": [ { @@ -25926,7 +25926,7 @@ ], "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#create-a-remove-token-for-an-enterprise" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/actions/self-hosted-runners#create-a-remove-token-for-an-enterprise" }, "parameters": [ { @@ -26764,7 +26764,7 @@ ], "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#get-a-self-hosted-runner-for-an-enterprise" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/actions/self-hosted-runners#get-a-self-hosted-runner-for-an-enterprise" }, "parameters": [ { @@ -26920,7 +26920,7 @@ ], "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#delete-a-self-hosted-runner-from-an-enterprise" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/actions/self-hosted-runners#delete-a-self-hosted-runner-from-an-enterprise" }, "parameters": [ { @@ -26995,7 +26995,7 @@ "operationId": "enterprise-admin/list-labels-for-self-hosted-runner-for-enterprise", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#list-labels-for-a-self-hosted-runner-for-an-enterprise" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/actions/self-hosted-runners#list-labels-for-a-self-hosted-runner-for-an-enterprise" }, "parameters": [ { @@ -27138,7 +27138,7 @@ "operationId": "enterprise-admin/add-custom-labels-to-self-hosted-runner-for-enterprise", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#add-custom-labels-to-a-self-hosted-runner-for-an-enterprise" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/actions/self-hosted-runners#add-custom-labels-to-a-self-hosted-runner-for-an-enterprise" }, "parameters": [ { @@ -27345,7 +27345,7 @@ "operationId": "enterprise-admin/set-custom-labels-for-self-hosted-runner-for-enterprise", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#set-custom-labels-for-a-self-hosted-runner-for-an-enterprise" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/actions/self-hosted-runners#set-custom-labels-for-a-self-hosted-runner-for-an-enterprise" }, "parameters": [ { @@ -27552,7 +27552,7 @@ "operationId": "enterprise-admin/remove-all-custom-labels-from-self-hosted-runner-for-enterprise", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#remove-all-custom-labels-from-a-self-hosted-runner-for-an-enterprise" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/actions/self-hosted-runners#remove-all-custom-labels-from-a-self-hosted-runner-for-an-enterprise" }, "parameters": [ { @@ -27722,7 +27722,7 @@ "operationId": "enterprise-admin/remove-custom-label-from-self-hosted-runner-for-enterprise", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#remove-a-custom-label-from-a-self-hosted-runner-for-an-enterprise" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/actions/self-hosted-runners#remove-a-custom-label-from-a-self-hosted-runner-for-an-enterprise" }, "parameters": [ { @@ -27906,7 +27906,7 @@ "operationId": "announcement-banners/get-announcement-banner-for-enterprise", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/announcement-banners/enterprises#get-announcement-banner-for-enterprise" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/announcement-banners/enterprises#get-announcement-banner-for-enterprise" }, "parameters": [ { @@ -27931,7 +27931,7 @@ "properties": { "announcement": { "type": "string", - "description": "The announcement text in GitHub Flavored Markdown. For more information about GitHub Flavored Markdown, see \"[Basic writing and formatting syntax](https://docs.github.com/enterprise-cloud@latest//github/writing-on-github/getting-started-with-writing-and-formatting-on-github/basic-writing-and-formatting-syntax).\"", + "description": "The announcement text in GitHub Flavored Markdown. For more information about GitHub Flavored Markdown, see \"[Basic writing and formatting syntax](https://docs.github.com/enterprise-cloud@latest/github/writing-on-github/getting-started-with-writing-and-formatting-on-github/basic-writing-and-formatting-syntax).\"", "example": "Very **important** announcement about _something_.", "nullable": true }, @@ -27986,7 +27986,7 @@ "operationId": "announcement-banners/set-announcement-banner-for-enterprise", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/announcement-banners/enterprises#set-announcement-banner-for-enterprise" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/announcement-banners/enterprises#set-announcement-banner-for-enterprise" }, "requestBody": { "required": true, @@ -27999,7 +27999,7 @@ "properties": { "announcement": { "type": "string", - "description": "The announcement text in GitHub Flavored Markdown. For more information about GitHub Flavored Markdown, see \"[Basic writing and formatting syntax](https://docs.github.com/enterprise-cloud@latest//github/writing-on-github/getting-started-with-writing-and-formatting-on-github/basic-writing-and-formatting-syntax).\"", + "description": "The announcement text in GitHub Flavored Markdown. For more information about GitHub Flavored Markdown, see \"[Basic writing and formatting syntax](https://docs.github.com/enterprise-cloud@latest/github/writing-on-github/getting-started-with-writing-and-formatting-on-github/basic-writing-and-formatting-syntax).\"", "example": "Very **important** announcement about _something_.", "nullable": true }, @@ -28058,7 +28058,7 @@ "properties": { "announcement": { "type": "string", - "description": "The announcement text in GitHub Flavored Markdown. For more information about GitHub Flavored Markdown, see \"[Basic writing and formatting syntax](https://docs.github.com/enterprise-cloud@latest//github/writing-on-github/getting-started-with-writing-and-formatting-on-github/basic-writing-and-formatting-syntax).\"", + "description": "The announcement text in GitHub Flavored Markdown. For more information about GitHub Flavored Markdown, see \"[Basic writing and formatting syntax](https://docs.github.com/enterprise-cloud@latest/github/writing-on-github/getting-started-with-writing-and-formatting-on-github/basic-writing-and-formatting-syntax).\"", "example": "Very **important** announcement about _something_.", "nullable": true }, @@ -28113,7 +28113,7 @@ "operationId": "announcement-banners/remove-announcement-banner-for-enterprise", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/announcement-banners/enterprises#remove-announcement-banner-from-enterprise" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/announcement-banners/enterprises#remove-announcement-banner-from-enterprise" }, "parameters": [ { @@ -28149,7 +28149,7 @@ "operationId": "enterprise-apps/installable-organizations", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/organization-installations#get-enterprise-owned-organizations-that-can-have-github-apps-installed" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/organization-installations#get-enterprise-owned-organizations-that-can-have-github-apps-installed" }, "parameters": [ { @@ -28163,7 +28163,7 @@ }, { "name": "per_page", - "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -28172,7 +28172,7 @@ }, { "name": "page", - "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -28248,7 +28248,7 @@ "operationId": "enterprise-apps/installable-organization-accessible-repositories", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/organization-installations#get-repositories-belonging-to-an-enterprise-owned-organization" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/organization-installations#get-repositories-belonging-to-an-enterprise-owned-organization" }, "parameters": [ { @@ -28271,7 +28271,7 @@ }, { "name": "per_page", - "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -28280,7 +28280,7 @@ }, { "name": "page", - "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -28361,7 +28361,7 @@ "operationId": "enterprise-apps/organization-installations", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/organization-installations#list-github-apps-installed-on-an-enterprise-owned-organization" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/organization-installations#list-github-apps-installed-on-an-enterprise-owned-organization" }, "parameters": [ { @@ -28384,7 +28384,7 @@ }, { "name": "per_page", - "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -28393,7 +28393,7 @@ }, { "name": "page", - "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -28970,7 +28970,7 @@ "operationId": "enterprise-apps/create-installation", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/organization-installations#install-a-github-app-on-an-enterprise-owned-organization" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/organization-installations#install-a-github-app-on-an-enterprise-owned-organization" }, "parameters": [ { @@ -30988,7 +30988,7 @@ "operationId": "enterprise-apps/delete-installation", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/organization-installations#uninstall-a-github-app-from-an-enterprise-owned-organization" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/organization-installations#uninstall-a-github-app-from-an-enterprise-owned-organization" }, "parameters": [ { @@ -31099,7 +31099,7 @@ "operationId": "enterprise-apps/organization-installation-repositories", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/organization-installations#get-the-repositories-accessible-to-a-given-github-app-installation" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/organization-installations#get-the-repositories-accessible-to-a-given-github-app-installation" }, "parameters": [ { @@ -31136,7 +31136,7 @@ }, { "name": "per_page", - "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -31145,7 +31145,7 @@ }, { "name": "page", - "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -31224,7 +31224,7 @@ "operationId": "enterprise-apps/change-installation-repository-access-selection", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/organization-installations#toggle-installation-repository-access-between-selected-and-all-repositories" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/organization-installations#toggle-installation-repository-access-between-selected-and-all-repositories" }, "parameters": [ { @@ -32283,7 +32283,7 @@ "operationId": "enterprise-apps/grant-repository-access-to-installation", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/organization-installations#grant-repository-access-to-an-organization-installation" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/organization-installations#grant-repository-access-to-an-organization-installation" }, "parameters": [ { @@ -32425,7 +32425,7 @@ "operationId": "enterprise-apps/remove-repository-access-to-installation", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/organization-installations#remove-repository-access-from-an-organization-installation" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/organization-installations#remove-repository-access-from-an-organization-installation" }, "parameters": [ { @@ -32602,13 +32602,13 @@ "get": { "summary": "Get the audit log for an enterprise", "operationId": "enterprise-admin/get-audit-log", - "description": "Gets the audit log for an enterprise.\n\nThis endpoint has a rate limit of 1,750 queries per hour per user and IP address. If your integration receives a rate limit error (typically a 403 or 429 response), it should wait before making another request to the GitHub API. For more information, see \"[Rate limits for the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/rate-limits-for-the-rest-api)\" and \"[Best practices for integrators](https://docs.github.com/enterprise-cloud@latest//rest/guides/best-practices-for-integrators).\"\n\nThe authenticated user must be an enterprise admin to use this endpoint.\n\nOAuth app tokens and personal access tokens (classic) need the `read:audit_log` scope to use this endpoint.", + "description": "Gets the audit log for an enterprise.\n\nThis endpoint has a rate limit of 1,750 queries per hour per user and IP address. If your integration receives a rate limit error (typically a 403 or 429 response), it should wait before making another request to the GitHub API. For more information, see \"[Rate limits for the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/rate-limits-for-the-rest-api)\" and \"[Best practices for integrators](https://docs.github.com/enterprise-cloud@latest/rest/guides/best-practices-for-integrators).\"\n\nThe authenticated user must be an enterprise admin to use this endpoint.\n\nOAuth app tokens and personal access tokens (classic) need the `read:audit_log` scope to use this endpoint.", "tags": [ "enterprise-admin" ], "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/audit-log#get-the-audit-log-for-an-enterprise" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/audit-log#get-the-audit-log-for-an-enterprise" }, "parameters": [ { @@ -32622,7 +32622,7 @@ }, { "name": "phrase", - "description": "A search phrase. For more information, see [Searching the audit log](https://docs.github.com/enterprise-cloud@latest//admin/monitoring-activity-in-your-enterprise/reviewing-audit-logs-for-your-enterprise/searching-the-audit-log-for-your-enterprise#searching-the-audit-log).", + "description": "A search phrase. For more information, see [Searching the audit log](https://docs.github.com/enterprise-cloud@latest/admin/monitoring-activity-in-your-enterprise/reviewing-audit-logs-for-your-enterprise/searching-the-audit-log-for-your-enterprise#searching-the-audit-log).", "in": "query", "required": false, "schema": { @@ -32645,7 +32645,7 @@ }, { "name": "after", - "description": "A cursor, as given in the [Link header](https://docs.github.com/enterprise-cloud@latest//rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for events after this cursor.", + "description": "A cursor, as given in the [Link header](https://docs.github.com/enterprise-cloud@latest/rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for events after this cursor.", "in": "query", "required": false, "schema": { @@ -32654,7 +32654,7 @@ }, { "name": "before", - "description": "A cursor, as given in the [Link header](https://docs.github.com/enterprise-cloud@latest//rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for events before this cursor.", + "description": "A cursor, as given in the [Link header](https://docs.github.com/enterprise-cloud@latest/rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for events before this cursor.", "in": "query", "required": false, "schema": { @@ -32676,7 +32676,7 @@ }, { "name": "page", - "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -32685,7 +32685,7 @@ }, { "name": "per_page", - "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -32922,7 +32922,7 @@ "operationId": "enterprise-admin/get-audit-log-stream-key", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/audit-log#get-the-audit-log-stream-key-for-encrypting-secrets" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/audit-log#get-the-audit-log-stream-key-for-encrypting-secrets" }, "parameters": [ { @@ -32987,7 +32987,7 @@ "operationId": "enterprise-admin/get-audit-log-streams", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/audit-log#list-audit-log-stream-configurations-for-an-enterprise" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/audit-log#list-audit-log-stream-configurations-for-an-enterprise" }, "parameters": [ { @@ -33083,7 +33083,7 @@ "operationId": "enterprise-admin/create-audit-log-stream", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/audit-log#create-an-audit-log-streaming-configuration-for-an-enterprise" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/audit-log#create-an-audit-log-streaming-configuration-for-an-enterprise" }, "parameters": [ { @@ -33482,7 +33482,7 @@ "operationId": "enterprise-admin/get-one-audit-log-stream", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/audit-log#list-one-audit-log-streaming-configuration-via-a-stream-id" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/audit-log#list-one-audit-log-streaming-configuration-via-a-stream-id" }, "parameters": [ { @@ -33582,7 +33582,7 @@ "operationId": "enterprise-admin/update-audit-log-stream", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/audit-log#update-an-existing-audit-log-stream-configuration" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/audit-log#update-an-existing-audit-log-stream-configuration" }, "parameters": [ { @@ -34006,7 +34006,7 @@ "operationId": "enterprise-admin/delete-audit-log-stream", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/audit-log#delete-an-audit-log-streaming-configuration-for-an-enterprise" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/audit-log#delete-an-audit-log-streaming-configuration-for-an-enterprise" }, "parameters": [ { @@ -34051,7 +34051,7 @@ "operationId": "enterprise-admin/list-push-bypass-requests", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/bypass-requests#list-push-rule-bypass-requests-within-an-enterprise" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/bypass-requests#list-push-rule-bypass-requests-within-an-enterprise" }, "x-github": { "githubCloudOnly": true, @@ -34133,7 +34133,7 @@ }, { "name": "per_page", - "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -34142,7 +34142,7 @@ }, { "name": "page", - "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -34505,7 +34505,7 @@ "operationId": "secret-scanning/list-enterprise-bypass-requests", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/delegated-bypass#list-bypass-requests-for-secret-scanning-for-an-enterprise" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/secret-scanning/delegated-bypass#list-bypass-requests-for-secret-scanning-for-an-enterprise" }, "x-github": { "githubCloudOnly": true, @@ -34587,7 +34587,7 @@ }, { "name": "per_page", - "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -34596,7 +34596,7 @@ }, { "name": "page", - "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -34951,14 +34951,14 @@ "/enterprises/{enterprise}/code-scanning/alerts": { "get": { "summary": "List code scanning alerts for an enterprise", - "description": "Lists code scanning alerts for the default branch for all eligible repositories in an enterprise. Eligible repositories are repositories that are owned by organizations that you own or for which you are a security manager. For more information, see \"[Managing security managers in your organization](https://docs.github.com/enterprise-cloud@latest//organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization).\"\n\nThe authenticated user must be a member of the enterprise to use this endpoint.\n\nOAuth app tokens and personal access tokens (classic) need the `security_events` or `repo` scope to use this endpoint.", + "description": "Lists code scanning alerts for the default branch for all eligible repositories in an enterprise. Eligible repositories are repositories that are owned by organizations that you own or for which you are a security manager. For more information, see \"[Managing security managers in your organization](https://docs.github.com/enterprise-cloud@latest/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization).\"\n\nThe authenticated user must be a member of the enterprise to use this endpoint.\n\nOAuth app tokens and personal access tokens (classic) need the `security_events` or `repo` scope to use this endpoint.", "tags": [ "code-scanning" ], "operationId": "code-scanning/list-alerts-for-enterprise", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#list-code-scanning-alerts-for-an-enterprise" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/code-scanning/code-scanning#list-code-scanning-alerts-for-an-enterprise" }, "parameters": [ { @@ -34993,7 +34993,7 @@ }, { "name": "before", - "description": "A cursor, as given in the [Link header](https://docs.github.com/enterprise-cloud@latest//rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for results before this cursor. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "A cursor, as given in the [Link header](https://docs.github.com/enterprise-cloud@latest/rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for results before this cursor. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "required": false, "schema": { @@ -35002,7 +35002,7 @@ }, { "name": "after", - "description": "A cursor, as given in the [Link header](https://docs.github.com/enterprise-cloud@latest//rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for results after this cursor. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "A cursor, as given in the [Link header](https://docs.github.com/enterprise-cloud@latest/rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for results after this cursor. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "required": false, "schema": { @@ -35011,7 +35011,7 @@ }, { "name": "page", - "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -35020,7 +35020,7 @@ }, { "name": "per_page", - "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -36477,7 +36477,7 @@ "operationId": "code-security/get-configurations-for-enterprise", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#get-code-security-configurations-for-an-enterprise" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/code-security/configurations#get-code-security-configurations-for-an-enterprise" }, "parameters": [ { @@ -36492,7 +36492,7 @@ { "name": "per_page", "in": "query", - "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "required": false, "schema": { "type": "integer", @@ -36501,7 +36501,7 @@ }, { "name": "before", - "description": "A cursor, as given in the [Link header](https://docs.github.com/enterprise-cloud@latest//rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for results before this cursor. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "A cursor, as given in the [Link header](https://docs.github.com/enterprise-cloud@latest/rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for results before this cursor. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "required": false, "schema": { @@ -36510,7 +36510,7 @@ }, { "name": "after", - "description": "A cursor, as given in the [Link header](https://docs.github.com/enterprise-cloud@latest//rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for results after this cursor. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "A cursor, as given in the [Link header](https://docs.github.com/enterprise-cloud@latest/rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for results after this cursor. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "required": false, "schema": { @@ -36958,7 +36958,7 @@ "operationId": "code-security/create-configuration-for-enterprise", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#create-a-code-security-configuration-for-an-enterprise" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/code-security/configurations#create-a-code-security-configuration-for-an-enterprise" }, "parameters": [ { @@ -37700,7 +37700,7 @@ "operationId": "code-security/get-default-configurations-for-enterprise", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#get-default-code-security-configurations-for-an-enterprise" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/code-security/configurations#get-default-code-security-configurations-for-an-enterprise" }, "parameters": [ { @@ -38130,7 +38130,7 @@ "operationId": "code-security/get-single-configuration-for-enterprise", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#retrieve-a-code-security-configuration-of-an-enterprise" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/code-security/configurations#retrieve-a-code-security-configuration-of-an-enterprise" }, "parameters": [ { @@ -38561,7 +38561,7 @@ "operationId": "code-security/update-enterprise-configuration", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#update-a-custom-code-security-configuration-for-an-enterprise" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/code-security/configurations#update-a-custom-code-security-configuration-for-an-enterprise" }, "parameters": [ { @@ -39259,7 +39259,7 @@ "operationId": "code-security/delete-configuration-for-enterprise", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#delete-a-code-security-configuration-for-an-enterprise" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/code-security/configurations#delete-a-code-security-configuration-for-an-enterprise" }, "parameters": [ { @@ -39442,7 +39442,7 @@ "operationId": "code-security/attach-enterprise-configuration", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#attach-an-enterprise-configuration-to-repositories" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/code-security/configurations#attach-an-enterprise-configuration-to-repositories" }, "parameters": [ { @@ -39609,7 +39609,7 @@ "operationId": "code-security/set-configuration-as-default-for-enterprise", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#set-a-code-security-configuration-as-a-default-for-an-enterprise" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/code-security/configurations#set-a-code-security-configuration-as-a-default-for-an-enterprise" }, "parameters": [ { @@ -40105,7 +40105,7 @@ "operationId": "code-security/get-repositories-for-enterprise-configuration", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#get-repositories-associated-with-an-enterprise-code-security-configuration" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/code-security/configurations#get-repositories-associated-with-an-enterprise-code-security-configuration" }, "parameters": [ { @@ -40128,7 +40128,7 @@ }, { "name": "per_page", - "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "required": false, "schema": { @@ -40138,7 +40138,7 @@ }, { "name": "before", - "description": "A cursor, as given in the [Link header](https://docs.github.com/enterprise-cloud@latest//rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for results before this cursor. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "A cursor, as given in the [Link header](https://docs.github.com/enterprise-cloud@latest/rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for results before this cursor. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "required": false, "schema": { @@ -40147,7 +40147,7 @@ }, { "name": "after", - "description": "A cursor, as given in the [Link header](https://docs.github.com/enterprise-cloud@latest//rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for results after this cursor. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "A cursor, as given in the [Link header](https://docs.github.com/enterprise-cloud@latest/rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for results after this cursor. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "required": false, "schema": { @@ -40760,14 +40760,14 @@ "/enterprises/{enterprise}/code_security_and_analysis": { "get": { "summary": "Get code security and analysis features for an enterprise", - "description": "> [!WARNING]\n> **Closing down notice:** The ability to fetch code security and analysis settings for an enterprise is closing down. Please use [code security configurations](https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations) instead. For more information, see the [changelog](https://github.blog/changelog/2024-09-27-upcoming-replacement-of-enterprise-code-security-enablement-ui-and-apis).\n\nGets code security and analysis settings for the specified enterprise.\n\nThe authenticated user must be an administrator of the enterprise in order to use this endpoint.\n\nOAuth app tokens and personal access tokens (classic) need the `read:enterprise` scope to use this endpoint.", + "description": "> [!WARNING]\n> **Closing down notice:** The ability to fetch code security and analysis settings for an enterprise is closing down. Please use [code security configurations](https://docs.github.com/enterprise-cloud@latest/rest/code-security/configurations) instead. For more information, see the [changelog](https://github.blog/changelog/2024-09-27-upcoming-replacement-of-enterprise-code-security-enablement-ui-and-apis).\n\nGets code security and analysis settings for the specified enterprise.\n\nThe authenticated user must be an administrator of the enterprise in order to use this endpoint.\n\nOAuth app tokens and personal access tokens (classic) need the `read:enterprise` scope to use this endpoint.", "tags": [ "enterprise-admin" ], "operationId": "secret-scanning/get-security-analysis-settings-for-enterprise", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/code-security-and-analysis#get-code-security-and-analysis-features-for-an-enterprise" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/code-security-and-analysis#get-code-security-and-analysis-features-for-an-enterprise" }, "parameters": [ { @@ -40893,14 +40893,14 @@ }, "patch": { "summary": "Update code security and analysis features for an enterprise", - "description": "> [!WARNING]\n> **Closing down notice:** The ability to update code security and analysis settings for an enterprise is closing down. Please use [code security configurations](https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations) instead. For more information, see the [changelog](https://github.blog/changelog/2024-09-27-upcoming-replacement-of-enterprise-code-security-enablement-ui-and-apis).\n\nUpdates the settings for advanced security, Dependabot alerts, secret scanning, and push protection for new repositories in an enterprise.\n\nThe authenticated user must be an administrator of the enterprise to use this endpoint.\n\nOAuth app tokens and personal access tokens (classic) need the `admin:enterprise` scope to use this endpoint.", + "description": "> [!WARNING]\n> **Closing down notice:** The ability to update code security and analysis settings for an enterprise is closing down. Please use [code security configurations](https://docs.github.com/enterprise-cloud@latest/rest/code-security/configurations) instead. For more information, see the [changelog](https://github.blog/changelog/2024-09-27-upcoming-replacement-of-enterprise-code-security-enablement-ui-and-apis).\n\nUpdates the settings for advanced security, Dependabot alerts, secret scanning, and push protection for new repositories in an enterprise.\n\nThe authenticated user must be an administrator of the enterprise to use this endpoint.\n\nOAuth app tokens and personal access tokens (classic) need the `admin:enterprise` scope to use this endpoint.", "tags": [ "enterprise-admin" ], "operationId": "secret-scanning/patch-security-analysis-settings-for-enterprise", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/code-security-and-analysis#update-code-security-and-analysis-features-for-an-enterprise" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/code-security-and-analysis#update-code-security-and-analysis-features-for-an-enterprise" }, "parameters": [ { @@ -40922,28 +40922,28 @@ "properties": { "advanced_security_enabled_for_new_repositories": { "type": "boolean", - "description": "Whether GitHub Advanced Security is automatically enabled for new repositories. For more information, see \"[About GitHub Advanced Security](https://docs.github.com/enterprise-cloud@latest//get-started/learning-about-github/about-github-advanced-security).\"" + "description": "Whether GitHub Advanced Security is automatically enabled for new repositories. For more information, see \"[About GitHub Advanced Security](https://docs.github.com/enterprise-cloud@latest/get-started/learning-about-github/about-github-advanced-security).\"" }, "advanced_security_enabled_new_user_namespace_repos": { "type": "boolean", - "description": "Whether GitHub Advanced Security is automatically enabled for new user namespace repositories. For more information, see \"[About GitHub Advanced Security](https://docs.github.com/enterprise-cloud@latest//get-started/learning-about-github/about-github-advanced-security).\"" + "description": "Whether GitHub Advanced Security is automatically enabled for new user namespace repositories. For more information, see \"[About GitHub Advanced Security](https://docs.github.com/enterprise-cloud@latest/get-started/learning-about-github/about-github-advanced-security).\"" }, "dependabot_alerts_enabled_for_new_repositories": { "type": "boolean", - "description": "Whether Dependabot alerts are automatically enabled for new repositories. For more information, see \"[About Dependabot alerts](https://docs.github.com/enterprise-cloud@latest//code-security/dependabot/dependabot-alerts/about-dependabot-alerts).\"" + "description": "Whether Dependabot alerts are automatically enabled for new repositories. For more information, see \"[About Dependabot alerts](https://docs.github.com/enterprise-cloud@latest/code-security/dependabot/dependabot-alerts/about-dependabot-alerts).\"" }, "secret_scanning_enabled_for_new_repositories": { "type": "boolean", - "description": "Whether secret scanning is automatically enabled for new repositories. For more information, see \"[About secret scanning](https://docs.github.com/enterprise-cloud@latest//code-security/secret-scanning/about-secret-scanning).\"" + "description": "Whether secret scanning is automatically enabled for new repositories. For more information, see \"[About secret scanning](https://docs.github.com/enterprise-cloud@latest/code-security/secret-scanning/about-secret-scanning).\"" }, "secret_scanning_push_protection_enabled_for_new_repositories": { "type": "boolean", - "description": "Whether secret scanning push protection is automatically enabled for new repositories. For more information, see \"[Protecting pushes with secret scanning](https://docs.github.com/enterprise-cloud@latest//code-security/secret-scanning/protecting-pushes-with-secret-scanning).\"" + "description": "Whether secret scanning push protection is automatically enabled for new repositories. For more information, see \"[Protecting pushes with secret scanning](https://docs.github.com/enterprise-cloud@latest/code-security/secret-scanning/protecting-pushes-with-secret-scanning).\"" }, "secret_scanning_push_protection_custom_link": { "type": "string", "nullable": true, - "description": "The URL that will be displayed to contributors who are blocked from pushing a secret. For more information, see \"[Protecting pushes with secret scanning](https://docs.github.com/enterprise-cloud@latest//code-security/secret-scanning/protecting-pushes-with-secret-scanning).\"\nTo disable this functionality, set this field to `null`." + "description": "The URL that will be displayed to contributors who are blocked from pushing a secret. For more information, see \"[Protecting pushes with secret scanning](https://docs.github.com/enterprise-cloud@latest/code-security/secret-scanning/protecting-pushes-with-secret-scanning).\"\nTo disable this functionality, set this field to `null`." }, "secret_scanning_non_provider_patterns_enabled_for_new_repositories": { "type": "boolean", @@ -41023,7 +41023,7 @@ "operationId": "enterprise-admin/get-consumed-licenses", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/licensing#list-enterprise-consumed-licenses" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/licensing#list-enterprise-consumed-licenses" }, "parameters": [ { @@ -41037,7 +41037,7 @@ }, { "name": "per_page", - "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -41046,7 +41046,7 @@ }, { "name": "page", - "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -41253,14 +41253,14 @@ "/enterprises/{enterprise}/copilot/billing/seats": { "get": { "summary": "List all Copilot seat assignments for an enterprise", - "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nLists all Copilot seats currently being billed for across organizations or enterprise teams for an enterprise with a Copilot Business or Copilot Enterprise subscription.\n\nUsers with access through multiple organizations or enterprise teams will only be counted toward `total_seats` once.\n\nFor each organization or enterprise team which grants Copilot access to a user, a seat detail object will appear in the `seats` array.\nEach seat object contains information about the assigned user's most recent Copilot activity. Users must have\ntelemetry enabled in their IDE for Copilot in the IDE activity to be reflected in `last_activity_at`. For more information about activity data,\nsee [Metrics data properties for GitHub Copilot](https://docs.github.com/enterprise-cloud@latest//copilot/reference/metrics-data).\n\nOnly enterprise owners and billing managers can view assigned Copilot seats across their child organizations or enterprise teams.\n\nPersonal access tokens (classic) need either the `manage_billing:copilot` or `read:enterprise` scopes to use this endpoint.", + "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nLists all Copilot seats currently being billed for across organizations or enterprise teams for an enterprise with a Copilot Business or Copilot Enterprise subscription.\n\nUsers with access through multiple organizations or enterprise teams will only be counted toward `total_seats` once.\n\nFor each organization or enterprise team which grants Copilot access to a user, a seat detail object will appear in the `seats` array.\nEach seat object contains information about the assigned user's most recent Copilot activity. Users must have\ntelemetry enabled in their IDE for Copilot in the IDE activity to be reflected in `last_activity_at`. For more information about activity data,\nsee [Metrics data properties for GitHub Copilot](https://docs.github.com/enterprise-cloud@latest/copilot/reference/metrics-data).\n\nOnly enterprise owners and billing managers can view assigned Copilot seats across their child organizations or enterprise teams.\n\nPersonal access tokens (classic) need either the `manage_billing:copilot` or `read:enterprise` scopes to use this endpoint.", "tags": [ "copilot" ], "operationId": "copilot/list-copilot-seats-for-enterprise", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-user-management#list-all-copilot-seat-assignments-for-an-enterprise" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/copilot/copilot-user-management#list-all-copilot-seat-assignments-for-an-enterprise" }, "parameters": [ { @@ -41274,7 +41274,7 @@ }, { "name": "page", - "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -41283,7 +41283,7 @@ }, { "name": "per_page", - "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -42063,7 +42063,7 @@ "operationId": "copilot/add-copilot-seats-for-enterprise-teams", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-user-management#add-enterprise-teams-to-the-copilot-subscription-for-an-enterprise" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/copilot/copilot-user-management#add-enterprise-teams-to-the-copilot-subscription-for-an-enterprise" }, "parameters": [ { @@ -42261,7 +42261,7 @@ "operationId": "copilot/cancel-copilot-seats-for-enterprise-teams", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-user-management#remove-enterprise-teams-from-the-copilot-subscription-for-an-enterprise" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/copilot/copilot-user-management#remove-enterprise-teams-from-the-copilot-subscription-for-an-enterprise" }, "parameters": [ { @@ -42483,7 +42483,7 @@ "operationId": "copilot/add-copilot-seats-for-enterprise-users", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-user-management#add-users-to-the-copilot-subscription-for-an-enterprise" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/copilot/copilot-user-management#add-users-to-the-copilot-subscription-for-an-enterprise" }, "parameters": [ { @@ -42681,7 +42681,7 @@ "operationId": "copilot/cancel-copilot-seats-for-enterprise-users", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-user-management#remove-users-from-the-copilot-subscription-for-an-enterprise" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/copilot/copilot-user-management#remove-users-from-the-copilot-subscription-for-an-enterprise" }, "parameters": [ { @@ -42874,14 +42874,14 @@ "/enterprises/{enterprise}/copilot/content_exclusion": { "get": { "summary": "Get Copilot content exclusion rules for an enterprise", - "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nGets information about an enterprise's Copilot content exclusion path rules.\nTo configure these settings, go to the enterprise's settings on GitHub.\nFor more information, see \"[Excluding content from GitHub Copilot](https://docs.github.com/enterprise-cloud@latest//copilot/managing-copilot/configuring-and-auditing-content-exclusion/excluding-content-from-github-copilot#configuring-content-exclusions-for-your-enterprise).\"\n\nEnterprise owners can view details about Copilot content exclusion rules for the enterprise.\n\nOAuth app tokens and personal access tokens (classic) need either the `read:enterprise` or `copilot` scopes to use this endpoint.\n\n> [!CAUTION]\n> * At this time, the API does not support comments. This endpoint will not return any comments in the existing rules.\n> * At this time, the API does not support duplicate keys. If your content exclusion configuration contains duplicate keys, the API will return only the last occurrence of that key. For example, if duplicate entries are present, only the final value will be included in the response.", + "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nGets information about an enterprise's Copilot content exclusion path rules.\nTo configure these settings, go to the enterprise's settings on GitHub.\nFor more information, see \"[Excluding content from GitHub Copilot](https://docs.github.com/enterprise-cloud@latest/copilot/managing-copilot/configuring-and-auditing-content-exclusion/excluding-content-from-github-copilot#configuring-content-exclusions-for-your-enterprise).\"\n\nEnterprise owners can view details about Copilot content exclusion rules for the enterprise.\n\nOAuth app tokens and personal access tokens (classic) need either the `read:enterprise` or `copilot` scopes to use this endpoint.\n\n> [!CAUTION]\n> * At this time, the API does not support comments. This endpoint will not return any comments in the existing rules.\n> * At this time, the API does not support duplicate keys. If your content exclusion configuration contains duplicate keys, the API will return only the last occurrence of that key. For example, if duplicate entries are present, only the final value will be included in the response.", "tags": [ "copilot" ], "operationId": "copilot/copilot-content-exclusion-for-enterprise", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-content-exclusion-management#get-copilot-content-exclusion-rules-for-an-enterprise" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/copilot/copilot-content-exclusion-management#get-copilot-content-exclusion-rules-for-an-enterprise" }, "parameters": [ { @@ -43040,14 +43040,14 @@ }, "put": { "summary": "Set Copilot content exclusion rules for an enterprise", - "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nSets Copilot content exclusion path rules for an enterprise.\nTo configure these settings, go to the enterprise's settings on GitHub.\nFor more information, see \"[Excluding content from GitHub Copilot](https://docs.github.com/enterprise-cloud@latest//copilot/managing-copilot/configuring-and-auditing-content-exclusion/excluding-content-from-github-copilot#configuring-content-exclusions-for-your-enterprise).\"\n\nEnterprise owners can set Copilot content exclusion rules for the enterprise.\n\nOAuth app tokens and personal access tokens (classic) need either the `admin:enterprise` or `copilot` scopes to use this endpoint.\n\n> [!CAUTION]\n> * At this time, the API does not support comments. When using this endpoint, any existing comments in your rules will be deleted.\n> * At this time, the API does not support duplicate keys. If you submit content exclusions through the API with duplicate keys, only the last occurrence will be saved. Earlier entries with the same key will be overwritten.", + "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nSets Copilot content exclusion path rules for an enterprise.\nTo configure these settings, go to the enterprise's settings on GitHub.\nFor more information, see \"[Excluding content from GitHub Copilot](https://docs.github.com/enterprise-cloud@latest/copilot/managing-copilot/configuring-and-auditing-content-exclusion/excluding-content-from-github-copilot#configuring-content-exclusions-for-your-enterprise).\"\n\nEnterprise owners can set Copilot content exclusion rules for the enterprise.\n\nOAuth app tokens and personal access tokens (classic) need either the `admin:enterprise` or `copilot` scopes to use this endpoint.\n\n> [!CAUTION]\n> * At this time, the API does not support comments. When using this endpoint, any existing comments in your rules will be deleted.\n> * At this time, the API does not support duplicate keys. If you submit content exclusions through the API with duplicate keys, only the last occurrence will be saved. Earlier entries with the same key will be overwritten.", "tags": [ "copilot" ], "operationId": "copilot/set-copilot-content-exclusion-for-enterprise", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-content-exclusion-management#set-copilot-content-exclusion-rules-for-an-enterprise" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/copilot/copilot-content-exclusion-management#set-copilot-content-exclusion-rules-for-an-enterprise" }, "parameters": [ { @@ -43327,7 +43327,7 @@ "operationId": "copilot/get-copilot-custom-agents-for-enterprise", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-custom-agents#get-custom-agents-for-an-enterprise" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/copilot/copilot-custom-agents#get-custom-agents-for-an-enterprise" }, "parameters": [ { @@ -43341,7 +43341,7 @@ }, { "name": "per_page", - "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -43350,7 +43350,7 @@ }, { "name": "page", - "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -43538,7 +43538,7 @@ "operationId": "copilot/get-copilot-custom-agents-source-for-enterprise", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-custom-agents#get-the-source-organization-for-custom-agents-in-an-enterprise" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/copilot/copilot-custom-agents#get-the-source-organization-for-custom-agents-in-an-enterprise" }, "parameters": [ { @@ -43693,7 +43693,7 @@ "operationId": "copilot/set-copilot-custom-agents-source-for-enterprise", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-custom-agents#set-the-source-organization-for-custom-agents-in-an-enterprise" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/copilot/copilot-custom-agents#set-the-source-organization-for-custom-agents-in-an-enterprise" }, "parameters": [ { @@ -44004,7 +44004,7 @@ "operationId": "copilot/delete-copilot-custom-agents-source-for-enterprise", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-custom-agents#delete-the-custom-agents-source-for-an-enterprise" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/copilot/copilot-custom-agents#delete-the-custom-agents-source-for-an-enterprise" }, "x-github": { "githubCloudOnly": true, @@ -44092,7 +44092,7 @@ "operationId": "copilot/copilot-metrics-for-enterprise", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-metrics#get-copilot-metrics-for-an-enterprise" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/copilot/copilot-metrics#get-copilot-metrics-for-an-enterprise" }, "parameters": [ { @@ -44124,7 +44124,7 @@ }, { "name": "page", - "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -44133,7 +44133,7 @@ }, { "name": "per_page", - "description": "The number of days of metrics to display per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The number of days of metrics to display per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -44732,7 +44732,7 @@ "operationId": "copilot/copilot-enterprise-one-day-usage-metrics", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-usage-metrics#get-copilot-enterprise-usage-metrics-for-a-specific-day" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/copilot/copilot-usage-metrics#get-copilot-enterprise-usage-metrics-for-a-specific-day" }, "parameters": [ { @@ -44896,7 +44896,7 @@ "operationId": "copilot/copilot-enterprise-usage-metrics", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-usage-metrics#get-copilot-enterprise-usage-metrics" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/copilot/copilot-usage-metrics#get-copilot-enterprise-usage-metrics" }, "parameters": [ { @@ -45056,7 +45056,7 @@ "operationId": "copilot/copilot-users-one-day-usage-metrics", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-usage-metrics#get-copilot-users-usage-metrics-for-a-specific-day" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/copilot/copilot-usage-metrics#get-copilot-users-usage-metrics-for-a-specific-day" }, "parameters": [ { @@ -45220,7 +45220,7 @@ "operationId": "copilot/copilot-users-usage-metrics", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-usage-metrics#get-copilot-users-usage-metrics" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/copilot/copilot-usage-metrics#get-copilot-users-usage-metrics" }, "parameters": [ { @@ -45380,7 +45380,7 @@ "operationId": "copilot/set-enterprise-coding-agent-policy", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-coding-agent-management#set-the-coding-agent-policy-for-an-enterprise" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/copilot/copilot-coding-agent-management#set-the-coding-agent-policy-for-an-enterprise" }, "parameters": [ { @@ -45509,7 +45509,7 @@ "operationId": "copilot/add-organizations-to-enterprise-coding-agent-policy", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-coding-agent-management#add-organizations-to-the-enterprise-coding-agent-policy" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/copilot/copilot-coding-agent-management#add-organizations-to-the-enterprise-coding-agent-policy" }, "parameters": [ { @@ -45666,7 +45666,7 @@ "operationId": "copilot/remove-organizations-from-enterprise-coding-agent-policy", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-coding-agent-management#remove-organizations-from-the-enterprise-coding-agent-policy" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/copilot/copilot-coding-agent-management#remove-organizations-from-the-enterprise-coding-agent-policy" }, "parameters": [ { @@ -45818,14 +45818,14 @@ "/enterprises/{enterprise}/dependabot/alerts": { "get": { "summary": "List Dependabot alerts for an enterprise", - "description": "Lists Dependabot alerts for repositories that are owned by the specified enterprise.\n\nThe authenticated user must be a member of the enterprise to use this endpoint.\n\nAlerts are only returned for organizations in the enterprise for which you are an organization owner or a security manager. For more information about security managers, see \"[Managing security managers in your organization](https://docs.github.com/enterprise-cloud@latest//organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization).\"\n\nOAuth app tokens and personal access tokens (classic) need the `repo` or `security_events` scope to use this endpoint.", + "description": "Lists Dependabot alerts for repositories that are owned by the specified enterprise.\n\nThe authenticated user must be a member of the enterprise to use this endpoint.\n\nAlerts are only returned for organizations in the enterprise for which you are an organization owner or a security manager. For more information about security managers, see \"[Managing security managers in your organization](https://docs.github.com/enterprise-cloud@latest/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization).\"\n\nOAuth app tokens and personal access tokens (classic) need the `repo` or `security_events` scope to use this endpoint.", "tags": [ "dependabot" ], "operationId": "dependabot/list-alerts-for-enterprise", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#list-dependabot-alerts-for-an-enterprise" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/dependabot/alerts#list-dependabot-alerts-for-an-enterprise" }, "parameters": [ { @@ -45956,7 +45956,7 @@ }, { "name": "before", - "description": "A cursor, as given in the [Link header](https://docs.github.com/enterprise-cloud@latest//rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for results before this cursor. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "A cursor, as given in the [Link header](https://docs.github.com/enterprise-cloud@latest/rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for results before this cursor. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "required": false, "schema": { @@ -45965,7 +45965,7 @@ }, { "name": "after", - "description": "A cursor, as given in the [Link header](https://docs.github.com/enterprise-cloud@latest//rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for results after this cursor. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "A cursor, as given in the [Link header](https://docs.github.com/enterprise-cloud@latest/rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for results after this cursor. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "required": false, "schema": { @@ -45974,7 +45974,7 @@ }, { "name": "per_page", - "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -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", @@ -47795,7 +48694,7 @@ "operationId": "secret-scanning/list-enterprise-dismissal-requests", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/alert-dismissal-requests#list-alert-dismissal-requests-for-secret-scanning-for-an-enterprise" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/secret-scanning/alert-dismissal-requests#list-alert-dismissal-requests-for-secret-scanning-for-an-enterprise" }, "x-github": { "githubCloudOnly": true, @@ -47876,7 +48775,7 @@ }, { "name": "per_page", - "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -47885,7 +48784,7 @@ }, { "name": "page", - "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -48265,7 +49164,7 @@ "operationId": "enterprise-admin/list-enterprise-roles", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/enterprise-roles#get-all-enterprise-roles-for-an-enterprise" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/enterprise-roles#get-all-enterprise-roles-for-an-enterprise" }, "parameters": [ { @@ -48551,7 +49450,7 @@ "operationId": "enterprise-admin/revoke-all-enterprise-roles-team", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/enterprise-roles#remove-all-enterprise-roles-from-a-team" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/enterprise-roles#remove-all-enterprise-roles-from-a-team" }, "parameters": [ { @@ -48651,7 +49550,7 @@ "operationId": "enterprise-admin/assign-team-to-enterprise-role", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/enterprise-roles#assign-an-enterprise-role-to-a-team" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/enterprise-roles#assign-an-enterprise-role-to-a-team" }, "parameters": [ { @@ -48758,7 +49657,7 @@ "operationId": "enterprise-admin/revoke-enterprise-role-team", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/enterprise-roles#remove-an-enterprise-role-from-a-team" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/enterprise-roles#remove-an-enterprise-role-from-a-team" }, "parameters": [ { @@ -48867,7 +49766,7 @@ "operationId": "enterprise-admin/remove-all-enterprise-roles-from-user", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/enterprise-roles#remove-all-enterprise-roles-from-a-user" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/enterprise-roles#remove-all-enterprise-roles-from-a-user" }, "parameters": [ { @@ -48967,7 +49866,7 @@ "operationId": "enterprise-admin/assign-enterprise-role-to-user", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/enterprise-roles#assign-an-enterprise-role-to-an-enterprise-user" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/enterprise-roles#assign-an-enterprise-role-to-an-enterprise-user" }, "parameters": [ { @@ -49074,7 +49973,7 @@ "operationId": "enterprise-admin/remove-enterprise-user-role-assignment", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/enterprise-roles#remove-enterprise-user-role-assignment" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/enterprise-roles#remove-enterprise-user-role-assignment" }, "parameters": [ { @@ -49183,7 +50082,7 @@ "operationId": "enterprise-admin/get-enterprise-role", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/enterprise-roles#get-an-enterprise-role" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/enterprise-roles#get-an-enterprise-role" }, "parameters": [ { @@ -49436,7 +50335,7 @@ "operationId": "enterprise-admin/list-enterprise-role-teams", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/enterprise-roles#list-teams-that-are-assigned-to-an-enterprise-role" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/enterprise-roles#list-teams-that-are-assigned-to-an-enterprise-role" }, "parameters": [ { @@ -49459,7 +50358,7 @@ }, { "name": "per_page", - "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -49468,7 +50367,7 @@ }, { "name": "page", - "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -49647,7 +50546,7 @@ "operationId": "enterprise-admin/list-enterprise-role-users", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/enterprise-roles#list-users-that-are-assigned-to-an-enterprise-role" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/enterprise-roles#list-users-that-are-assigned-to-an-enterprise-role" }, "parameters": [ { @@ -49670,7 +50569,7 @@ }, { "name": "per_page", - "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -49679,7 +50578,7 @@ }, { "name": "page", - "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -50061,14 +50960,14 @@ "/enterprises/{enterprise}/installation": { "get": { "summary": "Get an enterprise installation for the authenticated app", - "description": "Enables an authenticated GitHub App to find its installation on a particular enterprise.\n\nYou must use a [JWT](https://docs.github.com/enterprise-cloud@latest//apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.", + "description": "Enables an authenticated GitHub App to find its installation on a particular enterprise.\n\nYou must use a [JWT](https://docs.github.com/enterprise-cloud@latest/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.", "tags": [ "apps" ], "operationId": "apps/get-enterprise-installation", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/apps/apps#get-an-enterprise-installation-for-the-authenticated-app" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/apps/apps#get-an-enterprise-installation-for-the-authenticated-app" }, "parameters": [ { @@ -51062,7 +51961,7 @@ "operationId": "enterprise-admin/get-license-sync-status", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/licensing#get-a-license-sync-status" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/licensing#get-a-license-sync-status" }, "parameters": [ { @@ -51163,7 +52062,7 @@ "operationId": "copilot/get-copilot-seat-details-for-enterprise-user", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-user-management#get-copilot-seat-assignment-details-for-an-enterprise-user" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/copilot/copilot-user-management#get-copilot-seat-assignment-details-for-an-enterprise-user" }, "parameters": [ { @@ -51953,7 +52852,7 @@ "operationId": "hosted-compute/list-network-configurations-for-enterprise", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/network-configurations#list-hosted-compute-network-configurations-for-an-enterprise" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/network-configurations#list-hosted-compute-network-configurations-for-an-enterprise" }, "parameters": [ { @@ -51967,7 +52866,7 @@ }, { "name": "per_page", - "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -51976,7 +52875,7 @@ }, { "name": "page", - "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -52121,7 +53020,7 @@ "operationId": "hosted-compute/create-network-configuration-for-enterprise", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/network-configurations#create-a-hosted-compute-network-configuration-for-an-enterprise" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/network-configurations#create-a-hosted-compute-network-configuration-for-an-enterprise" }, "parameters": [ { @@ -52296,7 +53195,7 @@ "operationId": "hosted-compute/get-network-configuration-for-enterprise", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/network-configurations#get-a-hosted-compute-network-configuration-for-an-enterprise" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/network-configurations#get-a-hosted-compute-network-configuration-for-an-enterprise" }, "parameters": [ { @@ -52425,7 +53324,7 @@ "operationId": "hosted-compute/update-network-configuration-for-enterprise", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/network-configurations#update-a-hosted-compute-network-configuration-for-an-enterprise" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/network-configurations#update-a-hosted-compute-network-configuration-for-an-enterprise" }, "parameters": [ { @@ -52603,7 +53502,7 @@ "operationId": "hosted-compute/delete-network-configuration-from-enterprise", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/network-configurations#delete-a-hosted-compute-network-configuration-from-an-enterprise" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/network-configurations#delete-a-hosted-compute-network-configuration-from-an-enterprise" }, "parameters": [ { @@ -52649,7 +53548,7 @@ "operationId": "hosted-compute/get-network-settings-for-enterprise", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/network-configurations#get-a-hosted-compute-network-settings-resource-for-an-enterprise" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/network-configurations#get-a-hosted-compute-network-settings-resource-for-an-enterprise" }, "parameters": [ { @@ -52755,7 +53654,7 @@ "operationId": "enterprise-admin/custom-properties-for-orgs-get-enterprise-definitions", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/custom-properties-for-orgs#get-organization-custom-properties-schema-for-an-enterprise" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/custom-properties-for-orgs#get-organization-custom-properties-schema-for-an-enterprise" }, "parameters": [ { @@ -52973,7 +53872,7 @@ "operationId": "enterprise-admin/custom-properties-for-orgs-create-or-update-enterprise-definitions", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/custom-properties-for-orgs#create-or-update-organization-custom-property-definitions-on-an-enterprise" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/custom-properties-for-orgs#create-or-update-organization-custom-property-definitions-on-an-enterprise" }, "parameters": [ { @@ -53368,7 +54267,7 @@ "operationId": "enterprise-admin/custom-properties-for-orgs-get-enterprise-definition", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/custom-properties-for-orgs#get-an-organization-custom-property-definition-from-an-enterprise" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/custom-properties-for-orgs#get-an-organization-custom-property-definition-from-an-enterprise" }, "parameters": [ { @@ -53577,7 +54476,7 @@ "operationId": "enterprise-admin/custom-properties-for-orgs-create-or-update-enterprise-definition", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/custom-properties-for-orgs#create-or-update-an-organization-custom-property-definition-on-an-enterprise" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/custom-properties-for-orgs#create-or-update-an-organization-custom-property-definition-on-an-enterprise" }, "parameters": [ { @@ -53901,7 +54800,7 @@ "operationId": "enterprise-admin/custom-properties-for-orgs-delete-enterprise-definition", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/custom-properties-for-orgs#remove-an-organization-custom-property-definition-from-an-enterprise" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/custom-properties-for-orgs#remove-an-organization-custom-property-definition-from-an-enterprise" }, "parameters": [ { @@ -54028,7 +54927,7 @@ "operationId": "enterprise-admin/custom-properties-for-orgs-get-enterprise-values", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/custom-properties-for-orgs#list-custom-property-values-for-organizations-in-an-enterprise" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/custom-properties-for-orgs#list-custom-property-values-for-organizations-in-an-enterprise" }, "parameters": [ { @@ -54042,7 +54941,7 @@ }, { "name": "per_page", - "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -54051,7 +54950,7 @@ }, { "name": "page", - "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -54225,7 +55124,7 @@ "operationId": "enterprise-admin/custom-properties-for-orgs-create-or-update-enterprise-values", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/custom-properties-for-orgs#create-or-update-custom-property-values-for-organizations-in-an-enterprise" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/custom-properties-for-orgs#create-or-update-custom-property-values-for-organizations-in-an-enterprise" }, "parameters": [ { @@ -54465,7 +55364,7 @@ "operationId": "enterprise-admin/custom-properties-for-repos-get-enterprise-definitions", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/custom-properties#get-custom-properties-for-an-enterprise" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/custom-properties#get-custom-properties-for-an-enterprise" }, "parameters": [ { @@ -54679,7 +55578,7 @@ "operationId": "enterprise-admin/custom-properties-for-repos-create-or-update-enterprise-definitions", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/custom-properties#create-or-update-custom-properties-for-an-enterprise" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/custom-properties#create-or-update-custom-properties-for-an-enterprise" }, "parameters": [ { @@ -55032,7 +55931,7 @@ "operationId": "enterprise-admin/custom-properties-for-repos-promote-definition-to-enterprise", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/custom-properties#promote-a-custom-property-to-an-enterprise" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/custom-properties#promote-a-custom-property-to-an-enterprise" }, "parameters": [ { @@ -55246,7 +56145,7 @@ "operationId": "enterprise-admin/custom-properties-for-repos-get-enterprise-definition", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/custom-properties#get-a-custom-property-for-an-enterprise" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/custom-properties#get-a-custom-property-for-an-enterprise" }, "parameters": [ { @@ -55449,7 +56348,7 @@ "operationId": "enterprise-admin/custom-properties-for-repos-create-or-update-enterprise-definition", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/custom-properties#create-or-update-a-custom-property-for-an-enterprise" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/custom-properties#create-or-update-a-custom-property-for-an-enterprise" }, "parameters": [ { @@ -55741,7 +56640,7 @@ "operationId": "enterprise-admin/custom-properties-for-repos-delete-enterprise-definition", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/custom-properties#remove-a-custom-property-for-an-enterprise" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/custom-properties#remove-a-custom-property-for-an-enterprise" }, "parameters": [ { @@ -55838,7 +56737,7 @@ "operationId": "repos/create-enterprise-ruleset", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/rules#create-an-enterprise-repository-ruleset" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/rules#create-an-enterprise-repository-ruleset" }, "parameters": [ { @@ -57469,7 +58368,7 @@ "properties": { "alerts_threshold": { "type": "string", - "description": "The severity level at which code scanning results that raise alerts block a reference update. For more information on alert severity levels, see \"[About code scanning alerts](https://docs.github.com/enterprise-cloud@latest//code-security/code-scanning/managing-code-scanning-alerts/about-code-scanning-alerts#about-alert-severity-and-security-severity-levels).\"", + "description": "The severity level at which code scanning results that raise alerts block a reference update. For more information on alert severity levels, see \"[About code scanning alerts](https://docs.github.com/enterprise-cloud@latest/code-security/code-scanning/managing-code-scanning-alerts/about-code-scanning-alerts#about-alert-severity-and-security-severity-levels).\"", "enum": [ "none", "errors", @@ -57479,7 +58378,7 @@ }, "security_alerts_threshold": { "type": "string", - "description": "The severity level at which code scanning results that raise security alerts block a reference update. For more information on security severity levels, see \"[About code scanning alerts](https://docs.github.com/enterprise-cloud@latest//code-security/code-scanning/managing-code-scanning-alerts/about-code-scanning-alerts#about-alert-severity-and-security-severity-levels).\"", + "description": "The severity level at which code scanning results that raise security alerts block a reference update. For more information on security severity levels, see \"[About code scanning alerts](https://docs.github.com/enterprise-cloud@latest/code-security/code-scanning/managing-code-scanning-alerts/about-code-scanning-alerts#about-alert-severity-and-security-severity-levels).\"", "enum": [ "none", "critical", @@ -58820,7 +59719,7 @@ "properties": { "alerts_threshold": { "type": "string", - "description": "The severity level at which code scanning results that raise alerts block a reference update. For more information on alert severity levels, see \"[About code scanning alerts](https://docs.github.com/enterprise-cloud@latest//code-security/code-scanning/managing-code-scanning-alerts/about-code-scanning-alerts#about-alert-severity-and-security-severity-levels).\"", + "description": "The severity level at which code scanning results that raise alerts block a reference update. For more information on alert severity levels, see \"[About code scanning alerts](https://docs.github.com/enterprise-cloud@latest/code-security/code-scanning/managing-code-scanning-alerts/about-code-scanning-alerts#about-alert-severity-and-security-severity-levels).\"", "enum": [ "none", "errors", @@ -58830,7 +59729,7 @@ }, "security_alerts_threshold": { "type": "string", - "description": "The severity level at which code scanning results that raise security alerts block a reference update. For more information on security severity levels, see \"[About code scanning alerts](https://docs.github.com/enterprise-cloud@latest//code-security/code-scanning/managing-code-scanning-alerts/about-code-scanning-alerts#about-alert-severity-and-security-severity-levels).\"", + "description": "The severity level at which code scanning results that raise security alerts block a reference update. For more information on security severity levels, see \"[About code scanning alerts](https://docs.github.com/enterprise-cloud@latest/code-security/code-scanning/managing-code-scanning-alerts/about-code-scanning-alerts#about-alert-severity-and-security-severity-levels).\"", "enum": [ "none", "critical", @@ -59014,7 +59913,7 @@ "operationId": "repos/get-enterprise-ruleset", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/rules#get-an-enterprise-repository-ruleset" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/rules#get-an-enterprise-repository-ruleset" }, "parameters": [ { @@ -60277,7 +61176,7 @@ "properties": { "alerts_threshold": { "type": "string", - "description": "The severity level at which code scanning results that raise alerts block a reference update. For more information on alert severity levels, see \"[About code scanning alerts](https://docs.github.com/enterprise-cloud@latest//code-security/code-scanning/managing-code-scanning-alerts/about-code-scanning-alerts#about-alert-severity-and-security-severity-levels).\"", + "description": "The severity level at which code scanning results that raise alerts block a reference update. For more information on alert severity levels, see \"[About code scanning alerts](https://docs.github.com/enterprise-cloud@latest/code-security/code-scanning/managing-code-scanning-alerts/about-code-scanning-alerts#about-alert-severity-and-security-severity-levels).\"", "enum": [ "none", "errors", @@ -60287,7 +61186,7 @@ }, "security_alerts_threshold": { "type": "string", - "description": "The severity level at which code scanning results that raise security alerts block a reference update. For more information on security severity levels, see \"[About code scanning alerts](https://docs.github.com/enterprise-cloud@latest//code-security/code-scanning/managing-code-scanning-alerts/about-code-scanning-alerts#about-alert-severity-and-security-severity-levels).\"", + "description": "The severity level at which code scanning results that raise security alerts block a reference update. For more information on security severity levels, see \"[About code scanning alerts](https://docs.github.com/enterprise-cloud@latest/code-security/code-scanning/managing-code-scanning-alerts/about-code-scanning-alerts#about-alert-severity-and-security-severity-levels).\"", "enum": [ "none", "critical", @@ -60469,7 +61368,7 @@ "operationId": "repos/update-enterprise-ruleset", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/rules#update-an-enterprise-repository-ruleset" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/rules#update-an-enterprise-repository-ruleset" }, "parameters": [ { @@ -62108,7 +63007,7 @@ "properties": { "alerts_threshold": { "type": "string", - "description": "The severity level at which code scanning results that raise alerts block a reference update. For more information on alert severity levels, see \"[About code scanning alerts](https://docs.github.com/enterprise-cloud@latest//code-security/code-scanning/managing-code-scanning-alerts/about-code-scanning-alerts#about-alert-severity-and-security-severity-levels).\"", + "description": "The severity level at which code scanning results that raise alerts block a reference update. For more information on alert severity levels, see \"[About code scanning alerts](https://docs.github.com/enterprise-cloud@latest/code-security/code-scanning/managing-code-scanning-alerts/about-code-scanning-alerts#about-alert-severity-and-security-severity-levels).\"", "enum": [ "none", "errors", @@ -62118,7 +63017,7 @@ }, "security_alerts_threshold": { "type": "string", - "description": "The severity level at which code scanning results that raise security alerts block a reference update. For more information on security severity levels, see \"[About code scanning alerts](https://docs.github.com/enterprise-cloud@latest//code-security/code-scanning/managing-code-scanning-alerts/about-code-scanning-alerts#about-alert-severity-and-security-severity-levels).\"", + "description": "The severity level at which code scanning results that raise security alerts block a reference update. For more information on security severity levels, see \"[About code scanning alerts](https://docs.github.com/enterprise-cloud@latest/code-security/code-scanning/managing-code-scanning-alerts/about-code-scanning-alerts#about-alert-severity-and-security-severity-levels).\"", "enum": [ "none", "critical", @@ -63455,7 +64354,7 @@ "properties": { "alerts_threshold": { "type": "string", - "description": "The severity level at which code scanning results that raise alerts block a reference update. For more information on alert severity levels, see \"[About code scanning alerts](https://docs.github.com/enterprise-cloud@latest//code-security/code-scanning/managing-code-scanning-alerts/about-code-scanning-alerts#about-alert-severity-and-security-severity-levels).\"", + "description": "The severity level at which code scanning results that raise alerts block a reference update. For more information on alert severity levels, see \"[About code scanning alerts](https://docs.github.com/enterprise-cloud@latest/code-security/code-scanning/managing-code-scanning-alerts/about-code-scanning-alerts#about-alert-severity-and-security-severity-levels).\"", "enum": [ "none", "errors", @@ -63465,7 +64364,7 @@ }, "security_alerts_threshold": { "type": "string", - "description": "The severity level at which code scanning results that raise security alerts block a reference update. For more information on security severity levels, see \"[About code scanning alerts](https://docs.github.com/enterprise-cloud@latest//code-security/code-scanning/managing-code-scanning-alerts/about-code-scanning-alerts#about-alert-severity-and-security-severity-levels).\"", + "description": "The severity level at which code scanning results that raise security alerts block a reference update. For more information on security severity levels, see \"[About code scanning alerts](https://docs.github.com/enterprise-cloud@latest/code-security/code-scanning/managing-code-scanning-alerts/about-code-scanning-alerts#about-alert-severity-and-security-severity-levels).\"", "enum": [ "none", "critical", @@ -63647,7 +64546,7 @@ "operationId": "repos/delete-enterprise-ruleset", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/rules#delete-an-enterprise-repository-ruleset" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/rules#delete-an-enterprise-repository-ruleset" }, "parameters": [ { @@ -63744,7 +64643,7 @@ "operationId": "enterprise-admin/get-enterprise-ruleset-history", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/rules#get-enterprise-ruleset-history" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/rules#get-enterprise-ruleset-history" }, "parameters": [ { @@ -63758,7 +64657,7 @@ }, { "name": "per_page", - "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -63767,7 +64666,7 @@ }, { "name": "page", - "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -63928,7 +64827,7 @@ "operationId": "enterprise-admin/get-enterprise-ruleset-version", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/rules#get-enterprise-ruleset-version" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/rules#get-enterprise-ruleset-version" }, "parameters": [ { @@ -64116,14 +65015,14 @@ "/enterprises/{enterprise}/secret-scanning/alerts": { "get": { "summary": "List secret scanning alerts for an enterprise", - "description": "Lists secret scanning alerts for eligible repositories in an enterprise, from newest to oldest.\nTo use this endpoint, you must be a member of the enterprise, and you must use an access token with the `repo` scope or `security_events` scope. Alerts are only returned for organizations in the enterprise for which you are an organization owner or a [security manager](https://docs.github.com/enterprise-cloud@latest//organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization), or for repositories owned by enterprise managed users.", + "description": "Lists secret scanning alerts for eligible repositories in an enterprise, from newest to oldest.\nTo use this endpoint, you must be a member of the enterprise, and you must use an access token with the `repo` scope or `security_events` scope. Alerts are only returned for organizations in the enterprise for which you are an organization owner or a [security manager](https://docs.github.com/enterprise-cloud@latest/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization), or for repositories owned by enterprise managed users.", "tags": [ "secret-scanning" ], "operationId": "secret-scanning/list-alerts-for-enterprise", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-enterprise" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-enterprise" }, "parameters": [ { @@ -64151,7 +65050,7 @@ { "name": "secret_type", "in": "query", - "description": "A comma-separated list of secret types to return. All default secret patterns are returned. To return generic patterns, pass the token name(s) in the parameter. See \"[Supported secret scanning patterns](https://docs.github.com/enterprise-cloud@latest//code-security/secret-scanning/introduction/supported-secret-scanning-patterns#supported-secrets)\" for a complete list of secret types.", + "description": "A comma-separated list of secret types to return. All default secret patterns are returned. To return generic patterns, pass the token name(s) in the parameter. See \"[Supported secret scanning patterns](https://docs.github.com/enterprise-cloud@latest/code-security/secret-scanning/introduction/supported-secret-scanning-patterns#supported-secrets)\" for a complete list of secret types.", "required": false, "schema": { "type": "string" @@ -64160,7 +65059,7 @@ { "name": "exclude_secret_types", "in": "query", - "description": "A comma-separated list of secret types to exclude from the results. All default secret patterns are returned except those matching the specified types. Cannot be combined with the `secret_type` parameter. See \"[Supported secret scanning patterns](https://docs.github.com/enterprise-cloud@latest//code-security/secret-scanning/introduction/supported-secret-scanning-patterns#supported-secrets)\" for a complete list of secret types.", + "description": "A comma-separated list of secret types to exclude from the results. All default secret patterns are returned except those matching the specified types. Cannot be combined with the `secret_type` parameter. See \"[Supported secret scanning patterns](https://docs.github.com/enterprise-cloud@latest/code-security/secret-scanning/introduction/supported-secret-scanning-patterns#supported-secrets)\" for a complete list of secret types.", "required": false, "schema": { "type": "string" @@ -64246,7 +65145,7 @@ }, { "name": "per_page", - "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -64255,7 +65154,7 @@ }, { "name": "before", - "description": "A cursor, as given in the [Link header](https://docs.github.com/enterprise-cloud@latest//rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for results before this cursor. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "A cursor, as given in the [Link header](https://docs.github.com/enterprise-cloud@latest/rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for results before this cursor. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "required": false, "schema": { @@ -64264,7 +65163,7 @@ }, { "name": "after", - "description": "A cursor, as given in the [Link header](https://docs.github.com/enterprise-cloud@latest//rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for results after this cursor. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "A cursor, as given in the [Link header](https://docs.github.com/enterprise-cloud@latest/rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for results after this cursor. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "required": false, "schema": { @@ -64512,7 +65411,7 @@ }, "secret_type_display_name": { "type": "string", - "description": "User-friendly name for the detected secret, matching the `secret_type`.\nFor a list of built-in patterns, see \"[Supported secret scanning patterns](https://docs.github.com/enterprise-cloud@latest//code-security/secret-scanning/introduction/supported-secret-scanning-patterns#supported-secrets).\"" + "description": "User-friendly name for the detected secret, matching the `secret_type`.\nFor a list of built-in patterns, see \"[Supported secret scanning patterns](https://docs.github.com/enterprise-cloud@latest/code-security/secret-scanning/introduction/supported-secret-scanning-patterns#supported-secrets).\"" }, "provider": { "type": "string", @@ -66124,7 +67023,7 @@ "operationId": "secret-scanning/list-enterprise-pattern-configs", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/push-protection#list-enterprise-pattern-configurations" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/secret-scanning/push-protection#list-enterprise-pattern-configurations" }, "x-github": { "githubCloudOnly": true, @@ -66409,7 +67308,7 @@ "operationId": "secret-scanning/update-enterprise-pattern-configs", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/push-protection#update-enterprise-pattern-configurations" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/secret-scanning/push-protection#update-enterprise-pattern-configurations" }, "x-github": { "githubCloudOnly": true, @@ -66757,7 +67656,7 @@ "operationId": "billing/get-github-advanced-security-billing-ghe", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/licensing#get-github-advanced-security-active-committers-for-an-enterprise" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/licensing#get-github-advanced-security-active-committers-for-an-enterprise" }, "parameters": [ { @@ -66784,7 +67683,7 @@ }, { "name": "per_page", - "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -66793,7 +67692,7 @@ }, { "name": "page", - "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -66938,7 +67837,7 @@ "operationId": "billing/get-all-budgets", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/billing/budgets#get-all-budgets" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/billing/budgets#get-all-budgets" }, "parameters": [ { @@ -67222,7 +68121,7 @@ "operationId": "billing/create-budget", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/billing/budgets#create-a-budget" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/billing/budgets#create-a-budget" }, "parameters": [ { @@ -67712,7 +68611,7 @@ "operationId": "billing/get-budget", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/billing/budgets#get-a-budget-by-id" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/billing/budgets#get-a-budget-by-id" }, "parameters": [ { @@ -68026,7 +68925,7 @@ "operationId": "billing/update-budget", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/billing/budgets#update-a-budget" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/billing/budgets#update-a-budget" }, "parameters": [ { @@ -68563,7 +69462,7 @@ "operationId": "billing/delete-budget", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/billing/budgets#delete-a-budget" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/billing/budgets#delete-a-budget" }, "parameters": [ { @@ -68796,7 +69695,7 @@ "operationId": "billing/get-all-cost-centers", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/billing/cost-centers#get-all-cost-centers-for-an-enterprise" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/billing/cost-centers#get-all-cost-centers-for-an-enterprise" }, "parameters": [ { @@ -69074,7 +69973,7 @@ "operationId": "billing/create-cost-center", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/billing/cost-centers#create-a-new-cost-center" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/billing/cost-centers#create-a-new-cost-center" }, "parameters": [ { @@ -69245,7 +70144,7 @@ "operationId": "billing/get-cost-center", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/billing/cost-centers#get-a-cost-center-by-id" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/billing/cost-centers#get-a-cost-center-by-id" }, "parameters": [ { @@ -69268,7 +70167,7 @@ }, { "name": "page", - "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -69277,7 +70176,7 @@ }, { "name": "per_page", - "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -69518,7 +70417,7 @@ "operationId": "billing/update-cost-center", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/billing/cost-centers#update-a-cost-center-name" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/billing/cost-centers#update-a-cost-center-name" }, "parameters": [ { @@ -69848,7 +70747,7 @@ "operationId": "billing/delete-cost-center", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/billing/cost-centers#delete-a-cost-center" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/billing/cost-centers#delete-a-cost-center" }, "parameters": [ { @@ -70096,7 +70995,7 @@ "operationId": "billing/add-resource-to-cost-center", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/billing/cost-centers#add-resources-to-a-cost-center" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/billing/cost-centers#add-resources-to-a-cost-center" }, "parameters": [ { @@ -70398,7 +71297,7 @@ "operationId": "billing/remove-resource-from-cost-center", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/billing/cost-centers#remove-resources-from-a-cost-center" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/billing/cost-centers#remove-resources-from-a-cost-center" }, "parameters": [ { @@ -70638,7 +71537,7 @@ "operationId": "billing/get-github-billing-premium-request-usage-report-ghe", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/billing/usage#get-billing-premium-request-usage-report-for-an-enterprise" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/billing/usage#get-billing-premium-request-usage-report-for-an-enterprise" }, "parameters": [ { @@ -71066,7 +71965,7 @@ "operationId": "billing/list-usage-report-exports", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/billing/usage-reports#list-usage-report-exports" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/billing/usage-reports#list-usage-report-exports" }, "parameters": [ { @@ -71350,7 +72249,7 @@ "operationId": "billing/create-usage-report-export", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/billing/usage-reports#create-a-usage-report-export" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/billing/usage-reports#create-a-usage-report-export" }, "parameters": [ { @@ -71713,7 +72612,7 @@ "operationId": "billing/get-usage-report-export", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/billing/usage-reports#get-a-usage-report-export" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/billing/usage-reports#get-a-usage-report-export" }, "parameters": [ { @@ -71968,14 +72867,14 @@ "/enterprises/{enterprise}/settings/billing/usage": { "get": { "summary": "Get billing usage report for an enterprise", - "description": "Gets a report of usage by cost center for an enterprise. To use this endpoint, you must be an administrator or billing manager of the enterprise. By default this endpoint will return usage that does not have a cost center.\n\n**Note:** This endpoint is only available to enterprises with access to the enhanced billing platform. For more information, see \"[About the enhanced billing platform for enterprises](https://docs.github.com/enterprise-cloud@latest//billing/using-the-enhanced-billing-platform-for-enterprises/about-the-enhanced-billing-platform-for-enterprises#how-do-i-know-if-i-can-access-the-enhanced-billing-platform).\"", + "description": "Gets a report of usage by cost center for an enterprise. To use this endpoint, you must be an administrator or billing manager of the enterprise. By default this endpoint will return usage that does not have a cost center.\n\n**Note:** This endpoint is only available to enterprises with access to the enhanced billing platform. For more information, see \"[About the enhanced billing platform for enterprises](https://docs.github.com/enterprise-cloud@latest/billing/using-the-enhanced-billing-platform-for-enterprises/about-the-enhanced-billing-platform-for-enterprises#how-do-i-know-if-i-can-access-the-enhanced-billing-platform).\"", "tags": [ "billing" ], "operationId": "billing/get-github-billing-usage-report-ghe", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/billing/usage#get-billing-usage-report-for-an-enterprise" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/billing/usage#get-billing-usage-report-for-an-enterprise" }, "parameters": [ { @@ -72274,7 +73173,7 @@ "operationId": "billing/get-github-billing-usage-summary-report-ghe", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/billing/usage#get-billing-usage-summary-for-an-enterprise" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/billing/usage#get-billing-usage-summary-for-an-enterprise" }, "parameters": [ { @@ -72663,14 +73562,14 @@ "/enterprises/{enterprise}/team/{team_slug}/copilot/metrics": { "get": { "summary": "Get Copilot metrics for an enterprise team", - "description": "> [!NOTE]\n> This endpoint is only applicable to dedicated enterprise accounts for Copilot Business. See \"[About enterprise accounts for Copilot Business](https://docs.github.com/enterprise-cloud@latest//admin/copilot-business-only/about-enterprise-accounts-for-copilot-business).\"\n\nUse this endpoint to see a breakdown of aggregated metrics for various GitHub Copilot features. See the response schema tab for detailed metrics definitions.\n\nThe response contains metrics for up to 100 days prior. Metrics are processed once per day for the previous day,\nand the response will only include data up until yesterday. In order for an end user to be counted towards these metrics,\nthey must have telemetry enabled in their IDE.\n\n> [!NOTE]\n> This endpoint will only return results for a given day if the enterprise team had **five or more members with active Copilot licenses** on that day, as evaluated at the end of that day.\n\nTo access this endpoint, the Copilot Metrics API access policy must be enabled or set to \"no policy\" for the enterprise within GitHub settings.\nOnly owners and billing managers for the enterprise that contains the enterprise team can view Copilot metrics for the enterprise team.\n\nOAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `read:enterprise` scopes to use this endpoint.", + "description": "> [!NOTE]\n> This endpoint is only applicable to dedicated enterprise accounts for Copilot Business. See \"[About enterprise accounts for Copilot Business](https://docs.github.com/enterprise-cloud@latest/admin/copilot-business-only/about-enterprise-accounts-for-copilot-business).\"\n\nUse this endpoint to see a breakdown of aggregated metrics for various GitHub Copilot features. See the response schema tab for detailed metrics definitions.\n\nThe response contains metrics for up to 100 days prior. Metrics are processed once per day for the previous day,\nand the response will only include data up until yesterday. In order for an end user to be counted towards these metrics,\nthey must have telemetry enabled in their IDE.\n\n> [!NOTE]\n> This endpoint will only return results for a given day if the enterprise team had **five or more members with active Copilot licenses** on that day, as evaluated at the end of that day.\n\nTo access this endpoint, the Copilot Metrics API access policy must be enabled or set to \"no policy\" for the enterprise within GitHub settings.\nOnly owners and billing managers for the enterprise that contains the enterprise team can view Copilot metrics for the enterprise team.\n\nOAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `read:enterprise` scopes to use this endpoint.", "tags": [ "copilot" ], "operationId": "copilot/copilot-metrics-for-enterprise-team", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-metrics#get-copilot-metrics-for-an-enterprise-team" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/copilot/copilot-metrics#get-copilot-metrics-for-an-enterprise-team" }, "parameters": [ { @@ -72711,7 +73610,7 @@ }, { "name": "page", - "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -72720,7 +73619,7 @@ }, { "name": "per_page", - "description": "The number of days of metrics to display per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The number of days of metrics to display per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -73319,7 +74218,7 @@ "operationId": "enterprise-teams/list", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-teams#list-enterprise-teams" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/enterprise-teams/enterprise-teams#list-enterprise-teams" }, "parameters": [ { @@ -73333,7 +74232,7 @@ }, { "name": "per_page", - "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -73342,7 +74241,7 @@ }, { "name": "page", - "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -73501,7 +74400,7 @@ "operationId": "enterprise-teams/create", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-teams#create-an-enterprise-team" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/enterprise-teams/enterprise-teams#create-an-enterprise-team" }, "parameters": [ { @@ -73541,7 +74440,7 @@ }, "organization_selection_type": { "type": "string", - "description": "Specifies which organizations in the enterprise should have access to this team. Can be one of `disabled`, `selected`, or `all`.\n`disabled`: The team is not assigned to any organizations. This is the default when you create a new team.\n`selected`: The team is assigned to specific organizations. You can then use the [add organization assignments API](https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-team-organizations#add-organization-assignments) endpoint.\n`all`: The team is assigned to all current and future organizations in the enterprise.\n", + "description": "Specifies which organizations in the enterprise should have access to this team. Can be one of `disabled`, `selected`, or `all`.\n`disabled`: The team is not assigned to any organizations. This is the default when you create a new team.\n`selected`: The team is assigned to specific organizations. You can then use the [add organization assignments API](https://docs.github.com/enterprise-cloud@latest/rest/enterprise-teams/enterprise-team-organizations#add-organization-assignments) endpoint.\n`all`: The team is assigned to all current and future organizations in the enterprise.\n", "enum": [ "disabled", "selected", @@ -73552,7 +74451,7 @@ "group_id": { "nullable": true, "type": "string", - "description": "The ID of the IdP group to assign team membership with. You can get this value from the [REST API endpoints for SCIM](https://docs.github.com/enterprise-cloud@latest//rest/scim#list-provisioned-scim-groups-for-an-enterprise)." + "description": "The ID of the IdP group to assign team membership with. You can get this value from the [REST API endpoints for SCIM](https://docs.github.com/enterprise-cloud@latest/rest/scim#list-provisioned-scim-groups-for-an-enterprise)." } }, "required": [ @@ -73685,7 +74584,7 @@ "operationId": "enterprise-team-memberships/list", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-team-members#list-members-in-an-enterprise-team" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/enterprise-teams/enterprise-team-members#list-members-in-an-enterprise-team" }, "parameters": [ { @@ -73708,7 +74607,7 @@ }, { "name": "per_page", - "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -73717,7 +74616,7 @@ }, { "name": "page", - "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -73913,7 +74812,7 @@ "operationId": "enterprise-team-memberships/bulk-add", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-team-members#bulk-add-team-members" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/enterprise-teams/enterprise-team-members#bulk-add-team-members" }, "parameters": [ { @@ -74148,7 +75047,7 @@ "operationId": "enterprise-team-memberships/bulk-remove", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-team-members#bulk-remove-team-members" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/enterprise-teams/enterprise-team-members#bulk-remove-team-members" }, "parameters": [ { @@ -74383,7 +75282,7 @@ "operationId": "enterprise-team-memberships/get", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-team-members#get-enterprise-team-membership" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/enterprise-teams/enterprise-team-members#get-enterprise-team-membership" }, "parameters": [ { @@ -74587,7 +75486,7 @@ "operationId": "enterprise-team-memberships/add", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-team-members#add-team-member" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/enterprise-teams/enterprise-team-members#add-team-member" }, "parameters": [ { @@ -74791,7 +75690,7 @@ "operationId": "enterprise-team-memberships/remove", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-team-members#remove-team-membership" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/enterprise-teams/enterprise-team-members#remove-team-membership" }, "parameters": [ { @@ -74871,7 +75770,7 @@ "operationId": "enterprise-team-organizations/get-assignments", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-team-organizations#get-organization-assignments" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/enterprise-teams/enterprise-team-organizations#get-organization-assignments" }, "parameters": [ { @@ -74894,7 +75793,7 @@ }, { "name": "per_page", - "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -74903,7 +75802,7 @@ }, { "name": "page", - "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -75032,7 +75931,7 @@ "operationId": "enterprise-team-organizations/bulk-add", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-team-organizations#add-organization-assignments" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/enterprise-teams/enterprise-team-organizations#add-organization-assignments" }, "parameters": [ { @@ -75209,7 +76108,7 @@ "operationId": "enterprise-team-organizations/bulk-remove", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-team-organizations#remove-organization-assignments" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/enterprise-teams/enterprise-team-organizations#remove-organization-assignments" }, "parameters": [ { @@ -75286,7 +76185,7 @@ "operationId": "enterprise-team-organizations/get-assignment", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-team-organizations#get-organization-assignment" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/enterprise-teams/enterprise-team-organizations#get-organization-assignment" }, "parameters": [ { @@ -75436,7 +76335,7 @@ "operationId": "enterprise-team-organizations/add", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-team-organizations#add-an-organization-assignment" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/enterprise-teams/enterprise-team-organizations#add-an-organization-assignment" }, "parameters": [ { @@ -75583,7 +76482,7 @@ "operationId": "enterprise-team-organizations/delete", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-team-organizations#delete-an-organization-assignment" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/enterprise-teams/enterprise-team-organizations#delete-an-organization-assignment" }, "parameters": [ { @@ -75637,7 +76536,7 @@ "operationId": "enterprise-teams/get", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-teams#get-an-enterprise-team" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/enterprise-teams/enterprise-teams#get-an-enterprise-team" }, "parameters": [ { @@ -75805,7 +76704,7 @@ "operationId": "enterprise-teams/update", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-teams#update-an-enterprise-team" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/enterprise-teams/enterprise-teams#update-an-enterprise-team" }, "parameters": [ { @@ -75855,7 +76754,7 @@ }, "organization_selection_type": { "type": "string", - "description": "Specifies which organizations in the enterprise should have access to this team. Can be one of `disabled`, `selected`, or `all`.\n`disabled`: The team is not assigned to any organizations. This is the default when you create a new team.\n`selected`: The team is assigned to specific organizations. You can then use the [add organization assignments API](https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-team-organizations#add-organization-assignments).\n`all`: The team is assigned to all current and future organizations in the enterprise.\n", + "description": "Specifies which organizations in the enterprise should have access to this team. Can be one of `disabled`, `selected`, or `all`.\n`disabled`: The team is not assigned to any organizations. This is the default when you create a new team.\n`selected`: The team is assigned to specific organizations. You can then use the [add organization assignments API](https://docs.github.com/enterprise-cloud@latest/rest/enterprise-teams/enterprise-team-organizations#add-organization-assignments).\n`all`: The team is assigned to all current and future organizations in the enterprise.\n", "enum": [ "disabled", "selected", @@ -76028,7 +76927,7 @@ "operationId": "enterprise-teams/delete", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-teams#delete-an-enterprise-team" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/enterprise-teams/enterprise-teams#delete-an-enterprise-team" }, "parameters": [ { @@ -76092,14 +76991,14 @@ "/enterprises/{enterprise}/{security_product}/{enablement}": { "post": { "summary": "Enable or disable a security feature", - "description": "> [!WARNING]\n> **Closing down notice:** The ability to enable or disable a security feature for an enterprise is closing down. Please use [code security configurations](https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations) instead. For more information, see the [changelog](https://github.blog/changelog/2024-09-27-upcoming-replacement-of-enterprise-code-security-enablement-ui-and-apis).\n\nEnables or disables the specified security feature for all repositories in an enterprise.\n\nThe authenticated user must be an administrator of the enterprise to use this endpoint.\n\nOAuth app tokens and personal access tokens (classic) need the `admin:enterprise` scope to use this endpoint.", + "description": "> [!WARNING]\n> **Closing down notice:** The ability to enable or disable a security feature for an enterprise is closing down. Please use [code security configurations](https://docs.github.com/enterprise-cloud@latest/rest/code-security/configurations) instead. For more information, see the [changelog](https://github.blog/changelog/2024-09-27-upcoming-replacement-of-enterprise-code-security-enablement-ui-and-apis).\n\nEnables or disables the specified security feature for all repositories in an enterprise.\n\nThe authenticated user must be an administrator of the enterprise to use this endpoint.\n\nOAuth app tokens and personal access tokens (classic) need the `admin:enterprise` scope to use this endpoint.", "tags": [ "enterprise-admin" ], "operationId": "secret-scanning/post-security-product-enablement-for-enterprise", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/code-security-and-analysis#enable-or-disable-a-security-feature" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/code-security-and-analysis#enable-or-disable-a-security-feature" }, "parameters": [ { @@ -76197,12 +77096,12 @@ "operationId": "activity/list-public-events", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/activity/events#list-public-events" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/activity/events#list-public-events" }, "parameters": [ { "name": "per_page", - "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -76211,7 +77110,7 @@ }, { "name": "page", - "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -86558,14 +87457,14 @@ "/feeds": { "get": { "summary": "Get feeds", - "description": "Lists the feeds available to the authenticated user. The response provides a URL for each feed. You can then get a specific feed by sending a request to one of the feed URLs.\n\n* **Timeline**: The GitHub Enterprise Cloud global public timeline\n* **User**: The public timeline for any user, using `uri_template`. For more information, see \"[Hypermedia](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/getting-started-with-the-rest-api#hypermedia).\"\n* **Current user public**: The public timeline for the authenticated user\n* **Current user**: The private timeline for the authenticated user\n* **Current user actor**: The private timeline for activity created by the authenticated user\n* **Current user organizations**: The private timeline for the organizations the authenticated user is a member of.\n* **Security advisories**: A collection of public announcements that provide information about security-related vulnerabilities in software on GitHub Enterprise Cloud.\n\nBy default, timeline resources are returned in JSON. You can specify the `application/atom+xml` type in the `Accept` header to return timeline resources in Atom format. For more information, see \"[Media types](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/getting-started-with-the-rest-api#media-types).\"\n\n> [!NOTE]\n> Private feeds are only returned when [authenticating via Basic Auth](https://docs.github.com/enterprise-cloud@latest//rest/authentication/authenticating-to-the-rest-api#using-basic-authentication) since current feed URIs use the older, non revocable auth tokens.", + "description": "Lists the feeds available to the authenticated user. The response provides a URL for each feed. You can then get a specific feed by sending a request to one of the feed URLs.\n\n* **Timeline**: The GitHub Enterprise Cloud global public timeline\n* **User**: The public timeline for any user, using `uri_template`. For more information, see \"[Hypermedia](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/getting-started-with-the-rest-api#hypermedia).\"\n* **Current user public**: The public timeline for the authenticated user\n* **Current user**: The private timeline for the authenticated user\n* **Current user actor**: The private timeline for activity created by the authenticated user\n* **Current user organizations**: The private timeline for the organizations the authenticated user is a member of.\n* **Security advisories**: A collection of public announcements that provide information about security-related vulnerabilities in software on GitHub Enterprise Cloud.\n\nBy default, timeline resources are returned in JSON. You can specify the `application/atom+xml` type in the `Accept` header to return timeline resources in Atom format. For more information, see \"[Media types](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types).\"\n\n> [!NOTE]\n> Private feeds are only returned when [authenticating via Basic Auth](https://docs.github.com/enterprise-cloud@latest/rest/authentication/authenticating-to-the-rest-api#using-basic-authentication) since current feed URIs use the older, non revocable auth tokens.", "tags": [ "activity" ], "operationId": "activity/get-feeds", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/activity/feeds#get-feeds" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/activity/feeds#get-feeds" }, "parameters": [], "responses": { @@ -86889,7 +87788,7 @@ "operationId": "gists/list", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#list-gists-for-the-authenticated-user" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/gists/gists#list-gists-for-the-authenticated-user" }, "parameters": [ { @@ -86904,7 +87803,7 @@ }, { "name": "per_page", - "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -86913,7 +87812,7 @@ }, { "name": "page", - "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -87407,7 +88306,7 @@ ], "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#create-a-gist" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/gists/gists#create-a-gist" }, "parameters": [], "requestBody": { @@ -88705,14 +89604,14 @@ "/gists/public": { "get": { "summary": "List public gists", - "description": "List public gists sorted by most recently updated to least recently updated.\n\nNote: With [pagination](https://docs.github.com/enterprise-cloud@latest//rest/guides/using-pagination-in-the-rest-api), you can fetch up to 3000 gists. For example, you can fetch 100 pages with 30 gists per page or 30 pages with 100 gists per page.", + "description": "List public gists sorted by most recently updated to least recently updated.\n\nNote: With [pagination](https://docs.github.com/enterprise-cloud@latest/rest/guides/using-pagination-in-the-rest-api), you can fetch up to 3000 gists. For example, you can fetch 100 pages with 30 gists per page or 30 pages with 100 gists per page.", "tags": [ "gists" ], "operationId": "gists/list-public", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#list-public-gists" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/gists/gists#list-public-gists" }, "parameters": [ { @@ -88727,7 +89626,7 @@ }, { "name": "per_page", - "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -88736,7 +89635,7 @@ }, { "name": "page", - "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -89301,7 +90200,7 @@ "operationId": "gists/list-starred", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#list-starred-gists" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/gists/gists#list-starred-gists" }, "parameters": [ { @@ -89316,7 +90215,7 @@ }, { "name": "per_page", - "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -89325,7 +90224,7 @@ }, { "name": "page", - "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -89840,14 +90739,14 @@ "/gists/{gist_id}": { "get": { "summary": "Get a gist", - "description": "Gets a specified gist.\n\nThis endpoint supports the following custom media types. For more information, see \"[Media types](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/getting-started-with-the-rest-api#media-types).\"\n\n- **`application/vnd.github.raw+json`**: Returns the raw markdown. This is the default if you do not pass any specific media type.", + "description": "Gets a specified gist.\n\nThis endpoint supports the following custom media types. For more information, see \"[Media types](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types).\"\n\n- **`application/vnd.github.raw+json`**: Returns the raw markdown. This is the default if you do not pass any specific media type.", "tags": [ "gists" ], "operationId": "gists/get", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#get-a-gist" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/gists/gists#get-a-gist" }, "parameters": [ { @@ -91008,14 +91907,14 @@ }, "patch": { "summary": "Update a gist", - "description": "Allows you to update a gist's description and to update, delete, or rename gist files. Files\nfrom the previous version of the gist that aren't explicitly changed during an edit\nare unchanged.\n\nAt least one of `description` or `files` is required.\n\nThis endpoint supports the following custom media types. For more information, see \"[Media types](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/getting-started-with-the-rest-api#media-types).\"\n\n- **`application/vnd.github.raw+json`**: Returns the raw markdown. This is the default if you do not pass any specific media type.", + "description": "Allows you to update a gist's description and to update, delete, or rename gist files. Files\nfrom the previous version of the gist that aren't explicitly changed during an edit\nare unchanged.\n\nAt least one of `description` or `files` is required.\n\nThis endpoint supports the following custom media types. For more information, see \"[Media types](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types).\"\n\n- **`application/vnd.github.raw+json`**: Returns the raw markdown. This is the default if you do not pass any specific media type.", "tags": [ "gists" ], "operationId": "gists/update", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#update-a-gist" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/gists/gists#update-a-gist" }, "parameters": [ { @@ -92448,7 +93347,7 @@ "operationId": "gists/delete", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#delete-a-gist" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/gists/gists#delete-a-gist" }, "parameters": [ { @@ -92532,14 +93431,14 @@ "/gists/{gist_id}/comments": { "get": { "summary": "List gist comments", - "description": "Lists the comments on a gist.\n\nThis endpoint supports the following custom media types. For more information, see \"[Media types](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/getting-started-with-the-rest-api#media-types).\"\n\n- **`application/vnd.github.raw+json`**: Returns the raw markdown. This is the default if you do not pass any specific media type.", + "description": "Lists the comments on a gist.\n\nThis endpoint supports the following custom media types. For more information, see \"[Media types](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types).\"\n\n- **`application/vnd.github.raw+json`**: Returns the raw markdown. This is the default if you do not pass any specific media type.", "tags": [ "gists" ], "operationId": "gists/list-comments", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/gists/comments#list-gist-comments" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/gists/comments#list-gist-comments" }, "parameters": [ { @@ -92553,7 +93452,7 @@ }, { "name": "per_page", - "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -92562,7 +93461,7 @@ }, { "name": "page", - "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -92876,14 +93775,14 @@ }, "post": { "summary": "Create a gist comment", - "description": "Creates a comment on a gist.\n\nThis endpoint supports the following custom media types. For more information, see \"[Media types](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/getting-started-with-the-rest-api#media-types).\"\n\n- **`application/vnd.github.raw+json`**: Returns the raw markdown. This is the default if you do not pass any specific media type.", + "description": "Creates a comment on a gist.\n\nThis endpoint supports the following custom media types. For more information, see \"[Media types](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types).\"\n\n- **`application/vnd.github.raw+json`**: Returns the raw markdown. This is the default if you do not pass any specific media type.", "tags": [ "gists" ], "operationId": "gists/create-comment", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/gists/comments#create-a-gist-comment" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/gists/comments#create-a-gist-comment" }, "parameters": [ { @@ -93228,14 +94127,14 @@ "/gists/{gist_id}/comments/{comment_id}": { "get": { "summary": "Get a gist comment", - "description": "Gets a comment on a gist.\n\nThis endpoint supports the following custom media types. For more information, see \"[Media types](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/getting-started-with-the-rest-api#media-types).\"\n\n- **`application/vnd.github.raw+json`**: Returns the raw markdown. This is the default if you do not pass any specific media type.", + "description": "Gets a comment on a gist.\n\nThis endpoint supports the following custom media types. For more information, see \"[Media types](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types).\"\n\n- **`application/vnd.github.raw+json`**: Returns the raw markdown. This is the default if you do not pass any specific media type.", "tags": [ "gists" ], "operationId": "gists/get-comment", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/gists/comments#get-a-gist-comment" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/gists/comments#get-a-gist-comment" }, "parameters": [ { @@ -93558,14 +94457,14 @@ }, "patch": { "summary": "Update a gist comment", - "description": "Updates a comment on a gist.\n\nThis endpoint supports the following custom media types. For more information, see \"[Media types](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/getting-started-with-the-rest-api#media-types).\"\n\n- **`application/vnd.github.raw+json`**: Returns the raw markdown. This is the default if you do not pass any specific media type.", + "description": "Updates a comment on a gist.\n\nThis endpoint supports the following custom media types. For more information, see \"[Media types](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types).\"\n\n- **`application/vnd.github.raw+json`**: Returns the raw markdown. This is the default if you do not pass any specific media type.", "tags": [ "gists" ], "operationId": "gists/update-comment", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/gists/comments#update-a-gist-comment" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/gists/comments#update-a-gist-comment" }, "parameters": [ { @@ -93888,7 +94787,7 @@ "operationId": "gists/delete-comment", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/gists/comments#delete-a-gist-comment" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/gists/comments#delete-a-gist-comment" }, "parameters": [ { @@ -93989,7 +94888,7 @@ "operationId": "gists/list-commits", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#list-gist-commits" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/gists/gists#list-gist-commits" }, "parameters": [ { @@ -94003,7 +94902,7 @@ }, { "name": "per_page", - "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -94012,7 +94911,7 @@ }, { "name": "page", - "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -94316,7 +95215,7 @@ "operationId": "gists/list-forks", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#list-gist-forks" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/gists/gists#list-gist-forks" }, "parameters": [ { @@ -94330,7 +95229,7 @@ }, { "name": "per_page", - "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -94339,7 +95238,7 @@ }, { "name": "page", - "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -95470,7 +96369,7 @@ "operationId": "gists/fork", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#fork-a-gist" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/gists/gists#fork-a-gist" }, "parameters": [ { @@ -96061,7 +96960,7 @@ "operationId": "gists/check-is-starred", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#check-if-a-gist-is-starred" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/gists/gists#check-if-a-gist-is-starred" }, "parameters": [ { @@ -96129,14 +97028,14 @@ }, "put": { "summary": "Star a gist", - "description": "Note that you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP method](https://docs.github.com/enterprise-cloud@latest//rest/guides/getting-started-with-the-rest-api#http-method).\"", + "description": "Note that you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP method](https://docs.github.com/enterprise-cloud@latest/rest/guides/getting-started-with-the-rest-api#http-method).\"", "tags": [ "gists" ], "operationId": "gists/star", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#star-a-gist" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/gists/gists#star-a-gist" }, "parameters": [ { @@ -96225,7 +97124,7 @@ "operationId": "gists/unstar", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#unstar-a-gist" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/gists/gists#unstar-a-gist" }, "parameters": [ { @@ -96309,14 +97208,14 @@ "/gists/{gist_id}/{sha}": { "get": { "summary": "Get a gist revision", - "description": "Gets a specified gist revision.\n\nThis endpoint supports the following custom media types. For more information, see \"[Media types](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/getting-started-with-the-rest-api#media-types).\"\n\n- **`application/vnd.github.raw+json`**: Returns the raw markdown. This is the default if you do not pass any specific media type.", + "description": "Gets a specified gist revision.\n\nThis endpoint supports the following custom media types. For more information, see \"[Media types](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types).\"\n\n- **`application/vnd.github.raw+json`**: Returns the raw markdown. This is the default if you do not pass any specific media type.", "tags": [ "gists" ], "operationId": "gists/get-revision", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#get-a-gist-revision" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/gists/gists#get-a-gist-revision" }, "parameters": [ { @@ -97546,14 +98445,14 @@ "/gitignore/templates": { "get": { "summary": "Get all gitignore templates", - "description": "List all templates available to pass as an option when [creating a repository](https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#create-a-repository-for-the-authenticated-user).", + "description": "List all templates available to pass as an option when [creating a repository](https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#create-a-repository-for-the-authenticated-user).", "operationId": "gitignore/get-all-templates", "tags": [ "gitignore" ], "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/gitignore/gitignore#get-all-gitignore-templates" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/gitignore/gitignore#get-all-gitignore-templates" }, "parameters": [], "responses": { @@ -97598,14 +98497,14 @@ "/gitignore/templates/{name}": { "get": { "summary": "Get a gitignore template", - "description": "Get the content of a gitignore template.\n\nThis endpoint supports the following custom media types. For more information, see \"[Media types](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/getting-started-with-the-rest-api#media-types).\"\n\n- **`application/vnd.github.raw+json`**: Returns the raw .gitignore contents.", + "description": "Get the content of a gitignore template.\n\nThis endpoint supports the following custom media types. For more information, see \"[Media types](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types).\"\n\n- **`application/vnd.github.raw+json`**: Returns the raw .gitignore contents.", "operationId": "gitignore/get-template", "tags": [ "gitignore" ], "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/gitignore/gitignore#get-a-gitignore-template" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/gitignore/gitignore#get-a-gitignore-template" }, "parameters": [ { @@ -97674,12 +98573,12 @@ "operationId": "apps/list-repos-accessible-to-installation", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/apps/installations#list-repositories-accessible-to-the-app-installation" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/apps/installations#list-repositories-accessible-to-the-app-installation" }, "parameters": [ { "name": "per_page", - "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -97688,7 +98587,7 @@ }, { "name": "page", - "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -98673,14 +99572,14 @@ "/installation/token": { "delete": { "summary": "Revoke an installation access token", - "description": "Revokes the installation token you're using to authenticate as an installation and access this endpoint.\n\nOnce an installation token is revoked, the token is invalidated and cannot be used. Other endpoints that require the revoked installation token must have a new installation token to work. You can create a new token using the \"[Create an installation access token for an app](https://docs.github.com/enterprise-cloud@latest//rest/apps/apps#create-an-installation-access-token-for-an-app)\" endpoint.", + "description": "Revokes the installation token you're using to authenticate as an installation and access this endpoint.\n\nOnce an installation token is revoked, the token is invalidated and cannot be used. Other endpoints that require the revoked installation token must have a new installation token to work. You can create a new token using the \"[Create an installation access token for an app](https://docs.github.com/enterprise-cloud@latest/rest/apps/apps#create-an-installation-access-token-for-an-app)\" endpoint.", "tags": [ "apps" ], "operationId": "apps/revoke-installation-access-token", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/apps/installations#revoke-an-installation-access-token" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/apps/installations#revoke-an-installation-access-token" }, "parameters": [], "responses": { @@ -98699,14 +99598,14 @@ "/issues": { "get": { "summary": "List issues assigned to the authenticated user", - "description": "List issues assigned to the authenticated user across all visible repositories including owned repositories, member\nrepositories, and organization repositories. You can use the `filter` query parameter to fetch issues that are not\nnecessarily assigned to you.\n\n> [!NOTE]\n> GitHub's REST API considers every pull request an issue, but not every issue is a pull request. For this reason, \"Issues\" endpoints may return both issues and pull requests in the response. You can identify pull requests by the `pull_request` key. Be aware that the `id` of a pull request returned from \"Issues\" endpoints will be an _issue id_. To find out the pull request id, use the \"[List pull requests](https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#list-pull-requests)\" endpoint.\n\nThis endpoint supports the following custom media types. For more information, see \"[Media types](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/getting-started-with-the-rest-api#media-types).\"\n\n- **`application/vnd.github.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass any specific media type.\n- **`application/vnd.github.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`.\n- **`application/vnd.github.html+json`**: Returns HTML rendered from the body's markdown. Response will include `body_html`.\n- **`application/vnd.github.full+json`**: Returns raw, text, and HTML representations. Response will include `body`, `body_text`, and `body_html`.", + "description": "List issues assigned to the authenticated user across all visible repositories including owned repositories, member\nrepositories, and organization repositories. You can use the `filter` query parameter to fetch issues that are not\nnecessarily assigned to you.\n\n> [!NOTE]\n> GitHub's REST API considers every pull request an issue, but not every issue is a pull request. For this reason, \"Issues\" endpoints may return both issues and pull requests in the response. You can identify pull requests by the `pull_request` key. Be aware that the `id` of a pull request returned from \"Issues\" endpoints will be an _issue id_. To find out the pull request id, use the \"[List pull requests](https://docs.github.com/enterprise-cloud@latest/rest/pulls/pulls#list-pull-requests)\" endpoint.\n\nThis endpoint supports the following custom media types. For more information, see \"[Media types](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types).\"\n\n- **`application/vnd.github.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass any specific media type.\n- **`application/vnd.github.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`.\n- **`application/vnd.github.html+json`**: Returns HTML rendered from the body's markdown. Response will include `body_html`.\n- **`application/vnd.github.full+json`**: Returns raw, text, and HTML representations. Response will include `body`, `body_text`, and `body_html`.", "tags": [ "issues" ], "operationId": "issues/list", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#list-issues-assigned-to-the-authenticated-user" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#list-issues-assigned-to-the-authenticated-user" }, "parameters": [ { @@ -98824,7 +99723,7 @@ }, { "name": "per_page", - "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -98833,7 +99732,7 @@ }, { "name": "page", - "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -102192,14 +103091,14 @@ "/licenses": { "get": { "summary": "Get all commonly used licenses", - "description": "Lists the most commonly used licenses on GitHub. For more information, see \"[Licensing a repository ](https://docs.github.com/enterprise-cloud@latest//repositories/managing-your-repositorys-settings-and-features/customizing-your-repository/licensing-a-repository).\"", + "description": "Lists the most commonly used licenses on GitHub. For more information, see \"[Licensing a repository ](https://docs.github.com/enterprise-cloud@latest/repositories/managing-your-repositorys-settings-and-features/customizing-your-repository/licensing-a-repository).\"", "tags": [ "licenses" ], "operationId": "licenses/get-all-commonly-used", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/licenses/licenses#get-all-commonly-used-licenses" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/licenses/licenses#get-all-commonly-used-licenses" }, "parameters": [ { @@ -102212,7 +103111,7 @@ }, { "name": "per_page", - "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -102221,7 +103120,7 @@ }, { "name": "page", - "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -102351,14 +103250,14 @@ "/licenses/{license}": { "get": { "summary": "Get a license", - "description": "Gets information about a specific license. For more information, see \"[Licensing a repository ](https://docs.github.com/enterprise-cloud@latest//repositories/managing-your-repositorys-settings-and-features/customizing-your-repository/licensing-a-repository).\"", + "description": "Gets information about a specific license. For more information, see \"[Licensing a repository ](https://docs.github.com/enterprise-cloud@latest/repositories/managing-your-repositorys-settings-and-features/customizing-your-repository/licensing-a-repository).\"", "tags": [ "licenses" ], "operationId": "licenses/get", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/licenses/licenses#get-a-license" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/licenses/licenses#get-a-license" }, "parameters": [ { @@ -102578,7 +103477,7 @@ ], "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/markdown/markdown#render-a-markdown-document" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/markdown/markdown#render-a-markdown-document" }, "parameters": [], "requestBody": { @@ -102681,7 +103580,7 @@ ], "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/markdown/markdown#render-a-markdown-document-in-raw-mode" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/markdown/markdown#render-a-markdown-document-in-raw-mode" }, "parameters": [], "requestBody": { @@ -102754,14 +103653,14 @@ "/marketplace_listing/accounts/{account_id}": { "get": { "summary": "Get a subscription plan for an account", - "description": "Shows whether the user or organization account actively subscribes to a plan listed by the authenticated GitHub App. When someone submits a plan change that won't be processed until the end of their billing cycle, you will also see the upcoming pending change.\n\nGitHub Apps must use a [JWT](https://docs.github.com/enterprise-cloud@latest//apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint. OAuth apps must use [basic authentication](https://docs.github.com/enterprise-cloud@latest//rest/authentication/authenticating-to-the-rest-api#using-basic-authentication) with their client ID and client secret to access this endpoint.", + "description": "Shows whether the user or organization account actively subscribes to a plan listed by the authenticated GitHub App. When someone submits a plan change that won't be processed until the end of their billing cycle, you will also see the upcoming pending change.\n\nGitHub Apps must use a [JWT](https://docs.github.com/enterprise-cloud@latest/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint. OAuth apps must use [basic authentication](https://docs.github.com/enterprise-cloud@latest/rest/authentication/authenticating-to-the-rest-api#using-basic-authentication) with their client ID and client secret to access this endpoint.", "tags": [ "apps" ], "operationId": "apps/get-subscription-plan-for-account", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/apps/marketplace#get-a-subscription-plan-for-an-account" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/apps/marketplace#get-a-subscription-plan-for-an-account" }, "parameters": [ { @@ -103162,19 +104061,19 @@ "/marketplace_listing/plans": { "get": { "summary": "List plans", - "description": "Lists all plans that are part of your GitHub Enterprise Cloud Marketplace listing.\n\nGitHub Apps must use a [JWT](https://docs.github.com/enterprise-cloud@latest//apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint. OAuth apps must use [basic authentication](https://docs.github.com/enterprise-cloud@latest//rest/authentication/authenticating-to-the-rest-api#using-basic-authentication) with their client ID and client secret to access this endpoint.", + "description": "Lists all plans that are part of your GitHub Enterprise Cloud Marketplace listing.\n\nGitHub Apps must use a [JWT](https://docs.github.com/enterprise-cloud@latest/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint. OAuth apps must use [basic authentication](https://docs.github.com/enterprise-cloud@latest/rest/authentication/authenticating-to-the-rest-api#using-basic-authentication) with their client ID and client secret to access this endpoint.", "tags": [ "apps" ], "operationId": "apps/list-plans", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/apps/marketplace#list-plans" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/apps/marketplace#list-plans" }, "parameters": [ { "name": "per_page", - "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -103183,7 +104082,7 @@ }, { "name": "page", - "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -103385,14 +104284,14 @@ "/marketplace_listing/plans/{plan_id}/accounts": { "get": { "summary": "List accounts for a plan", - "description": "Returns user and organization accounts associated with the specified plan, including free plans. For per-seat pricing, you see the list of accounts that have purchased the plan, including the number of seats purchased. When someone submits a plan change that won't be processed until the end of their billing cycle, you will also see the upcoming pending change.\n\nGitHub Apps must use a [JWT](https://docs.github.com/enterprise-cloud@latest//apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint. OAuth apps must use [basic authentication](https://docs.github.com/enterprise-cloud@latest//rest/authentication/authenticating-to-the-rest-api#using-basic-authentication) with their client ID and client secret to access this endpoint.", + "description": "Returns user and organization accounts associated with the specified plan, including free plans. For per-seat pricing, you see the list of accounts that have purchased the plan, including the number of seats purchased. When someone submits a plan change that won't be processed until the end of their billing cycle, you will also see the upcoming pending change.\n\nGitHub Apps must use a [JWT](https://docs.github.com/enterprise-cloud@latest/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint. OAuth apps must use [basic authentication](https://docs.github.com/enterprise-cloud@latest/rest/authentication/authenticating-to-the-rest-api#using-basic-authentication) with their client ID and client secret to access this endpoint.", "tags": [ "apps" ], "operationId": "apps/list-accounts-for-plan", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/apps/marketplace#list-accounts-for-a-plan" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/apps/marketplace#list-accounts-for-a-plan" }, "parameters": [ { @@ -103433,7 +104332,7 @@ }, { "name": "per_page", - "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -103442,7 +104341,7 @@ }, { "name": "page", - "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -103919,14 +104818,14 @@ "/marketplace_listing/stubbed/accounts/{account_id}": { "get": { "summary": "Get a subscription plan for an account (stubbed)", - "description": "Shows whether the user or organization account actively subscribes to a plan listed by the authenticated GitHub App. When someone submits a plan change that won't be processed until the end of their billing cycle, you will also see the upcoming pending change.\n\nGitHub Apps must use a [JWT](https://docs.github.com/enterprise-cloud@latest//apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint. OAuth apps must use [basic authentication](https://docs.github.com/enterprise-cloud@latest//rest/authentication/authenticating-to-the-rest-api#using-basic-authentication) with their client ID and client secret to access this endpoint.", + "description": "Shows whether the user or organization account actively subscribes to a plan listed by the authenticated GitHub App. When someone submits a plan change that won't be processed until the end of their billing cycle, you will also see the upcoming pending change.\n\nGitHub Apps must use a [JWT](https://docs.github.com/enterprise-cloud@latest/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint. OAuth apps must use [basic authentication](https://docs.github.com/enterprise-cloud@latest/rest/authentication/authenticating-to-the-rest-api#using-basic-authentication) with their client ID and client secret to access this endpoint.", "tags": [ "apps" ], "operationId": "apps/get-subscription-plan-for-account-stubbed", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/apps/marketplace#get-a-subscription-plan-for-an-account-stubbed" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/apps/marketplace#get-a-subscription-plan-for-an-account-stubbed" }, "parameters": [ { @@ -104304,19 +105203,19 @@ "/marketplace_listing/stubbed/plans": { "get": { "summary": "List plans (stubbed)", - "description": "Lists all plans that are part of your GitHub Enterprise Cloud Marketplace listing.\n\nGitHub Apps must use a [JWT](https://docs.github.com/enterprise-cloud@latest//apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint. OAuth apps must use [basic authentication](https://docs.github.com/enterprise-cloud@latest//rest/authentication/authenticating-to-the-rest-api#using-basic-authentication) with their client ID and client secret to access this endpoint.", + "description": "Lists all plans that are part of your GitHub Enterprise Cloud Marketplace listing.\n\nGitHub Apps must use a [JWT](https://docs.github.com/enterprise-cloud@latest/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint. OAuth apps must use [basic authentication](https://docs.github.com/enterprise-cloud@latest/rest/authentication/authenticating-to-the-rest-api#using-basic-authentication) with their client ID and client secret to access this endpoint.", "tags": [ "apps" ], "operationId": "apps/list-plans-stubbed", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/apps/marketplace#list-plans-stubbed" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/apps/marketplace#list-plans-stubbed" }, "parameters": [ { "name": "per_page", - "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -104325,7 +105224,7 @@ }, { "name": "page", - "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -104501,14 +105400,14 @@ "/marketplace_listing/stubbed/plans/{plan_id}/accounts": { "get": { "summary": "List accounts for a plan (stubbed)", - "description": "Returns repository and organization accounts associated with the specified plan, including free plans. For per-seat pricing, you see the list of accounts that have purchased the plan, including the number of seats purchased. When someone submits a plan change that won't be processed until the end of their billing cycle, you will also see the upcoming pending change.\n\nGitHub Apps must use a [JWT](https://docs.github.com/enterprise-cloud@latest//apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint. OAuth apps must use [basic authentication](https://docs.github.com/enterprise-cloud@latest//rest/authentication/authenticating-to-the-rest-api#using-basic-authentication) with their client ID and client secret to access this endpoint.", + "description": "Returns repository and organization accounts associated with the specified plan, including free plans. For per-seat pricing, you see the list of accounts that have purchased the plan, including the number of seats purchased. When someone submits a plan change that won't be processed until the end of their billing cycle, you will also see the upcoming pending change.\n\nGitHub Apps must use a [JWT](https://docs.github.com/enterprise-cloud@latest/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint. OAuth apps must use [basic authentication](https://docs.github.com/enterprise-cloud@latest/rest/authentication/authenticating-to-the-rest-api#using-basic-authentication) with their client ID and client secret to access this endpoint.", "tags": [ "apps" ], "operationId": "apps/list-accounts-for-plan-stubbed", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/apps/marketplace#list-accounts-for-a-plan-stubbed" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/apps/marketplace#list-accounts-for-a-plan-stubbed" }, "parameters": [ { @@ -104549,7 +105448,7 @@ }, { "name": "per_page", - "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -104558,7 +105457,7 @@ }, { "name": "page", - "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -104940,14 +105839,14 @@ "/meta": { "get": { "summary": "Get GitHub Enterprise Cloud meta information", - "description": "Returns meta information about GitHub, including a list of GitHub's IP addresses. For more information, see \"[About GitHub's IP addresses](https://docs.github.com/enterprise-cloud@latest//articles/about-github-s-ip-addresses/).\"\n\nThe API's response also includes a list of GitHub's domain names.\n\nThe values shown in the documentation's response are example values. You must always query the API directly to get the latest values.\n\n> [!NOTE]\n> This endpoint returns both IPv4 and IPv6 addresses. However, not all features support IPv6. You should refer to the specific documentation for each feature to determine if IPv6 is supported.", + "description": "Returns meta information about GitHub, including a list of GitHub's IP addresses. For more information, see \"[About GitHub's IP addresses](https://docs.github.com/enterprise-cloud@latest/articles/about-github-s-ip-addresses/).\"\n\nThe API's response also includes a list of GitHub's domain names.\n\nThe values shown in the documentation's response are example values. You must always query the API directly to get the latest values.\n\n> [!NOTE]\n> This endpoint returns both IPv4 and IPv6 addresses. However, not all features support IPv6. You should refer to the specific documentation for each feature to determine if IPv6 is supported.", "tags": [ "meta" ], "operationId": "meta/get", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/meta/meta#get-apiname-meta-information" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/meta/meta#get-apiname-meta-information" }, "parameters": [], "responses": { @@ -105298,7 +106197,7 @@ "operationId": "activity/list-public-events-for-repo-network", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/activity/events#list-public-events-for-a-network-of-repositories" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/activity/events#list-public-events-for-a-network-of-repositories" }, "parameters": [ { @@ -105321,7 +106220,7 @@ }, { "name": "per_page", - "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -105330,7 +106229,7 @@ }, { "name": "page", - "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -115715,7 +116614,7 @@ "operationId": "activity/list-notifications-for-authenticated-user", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#list-notifications-for-the-authenticated-user" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/activity/notifications#list-notifications-for-the-authenticated-user" }, "parameters": [ { @@ -115760,7 +116659,7 @@ }, { "name": "page", - "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -115769,7 +116668,7 @@ }, { "name": "per_page", - "description": "The number of results per page (max 50). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The number of results per page (max 50). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -116851,14 +117750,14 @@ }, "put": { "summary": "Mark notifications as read", - "description": "Marks all notifications as \"read\" for the current user. If the number of notifications is too large to complete in one request, you will receive a `202 Accepted` status and GitHub Enterprise Cloud will run an asynchronous process to mark notifications as \"read.\" To check whether any \"unread\" notifications remain, you can use the [List notifications for the authenticated user](https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#list-notifications-for-the-authenticated-user) endpoint and pass the query parameter `all=false`.", + "description": "Marks all notifications as \"read\" for the current user. If the number of notifications is too large to complete in one request, you will receive a `202 Accepted` status and GitHub Enterprise Cloud will run an asynchronous process to mark notifications as \"read.\" To check whether any \"unread\" notifications remain, you can use the [List notifications for the authenticated user](https://docs.github.com/enterprise-cloud@latest/rest/activity/notifications#list-notifications-for-the-authenticated-user) endpoint and pass the query parameter `all=false`.", "tags": [ "activity" ], "operationId": "activity/mark-notifications-as-read", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#mark-notifications-as-read" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/activity/notifications#mark-notifications-as-read" }, "parameters": [], "requestBody": { @@ -116990,12 +117889,12 @@ "operationId": "activity/get-thread", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#get-a-thread" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/activity/notifications#get-a-thread" }, "parameters": [ { "name": "thread_id", - "description": "The unique identifier of the notification thread. This corresponds to the value returned in the `id` field when you retrieve notifications (for example with the [`GET /notifications` operation](https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#list-notifications-for-the-authenticated-user)).", + "description": "The unique identifier of the notification thread. This corresponds to the value returned in the `id` field when you retrieve notifications (for example with the [`GET /notifications` operation](https://docs.github.com/enterprise-cloud@latest/rest/activity/notifications#list-notifications-for-the-authenticated-user)).", "in": "path", "required": true, "schema": { @@ -118002,12 +118901,12 @@ "operationId": "activity/mark-thread-as-read", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#mark-a-thread-as-read" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/activity/notifications#mark-a-thread-as-read" }, "parameters": [ { "name": "thread_id", - "description": "The unique identifier of the notification thread. This corresponds to the value returned in the `id` field when you retrieve notifications (for example with the [`GET /notifications` operation](https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#list-notifications-for-the-authenticated-user)).", + "description": "The unique identifier of the notification thread. This corresponds to the value returned in the `id` field when you retrieve notifications (for example with the [`GET /notifications` operation](https://docs.github.com/enterprise-cloud@latest/rest/activity/notifications#list-notifications-for-the-authenticated-user)).", "in": "path", "required": true, "schema": { @@ -118065,12 +118964,12 @@ "operationId": "activity/mark-thread-as-done", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#mark-a-thread-as-done" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/activity/notifications#mark-a-thread-as-done" }, "parameters": [ { "name": "thread_id", - "description": "The unique identifier of the notification thread. This corresponds to the value returned in the `id` field when you retrieve notifications (for example with the [`GET /notifications` operation](https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#list-notifications-for-the-authenticated-user)).", + "description": "The unique identifier of the notification thread. This corresponds to the value returned in the `id` field when you retrieve notifications (for example with the [`GET /notifications` operation](https://docs.github.com/enterprise-cloud@latest/rest/activity/notifications#list-notifications-for-the-authenticated-user)).", "in": "path", "required": true, "schema": { @@ -118094,19 +118993,19 @@ "/notifications/threads/{thread_id}/subscription": { "get": { "summary": "Get a thread subscription for the authenticated user", - "description": "This checks to see if the current user is subscribed to a thread. You can also [get a repository subscription](https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#get-a-repository-subscription).\n\nNote that subscriptions are only generated if a user is participating in a conversation--for example, they've replied to the thread, were **@mentioned**, or manually subscribe to a thread.", + "description": "This checks to see if the current user is subscribed to a thread. You can also [get a repository subscription](https://docs.github.com/enterprise-cloud@latest/rest/activity/watching#get-a-repository-subscription).\n\nNote that subscriptions are only generated if a user is participating in a conversation--for example, they've replied to the thread, were **@mentioned**, or manually subscribe to a thread.", "tags": [ "activity" ], "operationId": "activity/get-thread-subscription-for-authenticated-user", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#get-a-thread-subscription-for-the-authenticated-user" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/activity/notifications#get-a-thread-subscription-for-the-authenticated-user" }, "parameters": [ { "name": "thread_id", - "description": "The unique identifier of the notification thread. This corresponds to the value returned in the `id` field when you retrieve notifications (for example with the [`GET /notifications` operation](https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#list-notifications-for-the-authenticated-user)).", + "description": "The unique identifier of the notification thread. This corresponds to the value returned in the `id` field when you retrieve notifications (for example with the [`GET /notifications` operation](https://docs.github.com/enterprise-cloud@latest/rest/activity/notifications#list-notifications-for-the-authenticated-user)).", "in": "path", "required": true, "schema": { @@ -118245,19 +119144,19 @@ }, "put": { "summary": "Set a thread subscription", - "description": "If you are watching a repository, you receive notifications for all threads by default. Use this endpoint to ignore future notifications for threads until you comment on the thread or get an **@mention**.\n\nYou can also use this endpoint to subscribe to threads that you are currently not receiving notifications for or to subscribed to threads that you have previously ignored.\n\nUnsubscribing from a conversation in a repository that you are not watching is functionally equivalent to the [Delete a thread subscription](https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#delete-a-thread-subscription) endpoint.", + "description": "If you are watching a repository, you receive notifications for all threads by default. Use this endpoint to ignore future notifications for threads until you comment on the thread or get an **@mention**.\n\nYou can also use this endpoint to subscribe to threads that you are currently not receiving notifications for or to subscribed to threads that you have previously ignored.\n\nUnsubscribing from a conversation in a repository that you are not watching is functionally equivalent to the [Delete a thread subscription](https://docs.github.com/enterprise-cloud@latest/rest/activity/notifications#delete-a-thread-subscription) endpoint.", "tags": [ "activity" ], "operationId": "activity/set-thread-subscription", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#set-a-thread-subscription" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/activity/notifications#set-a-thread-subscription" }, "parameters": [ { "name": "thread_id", - "description": "The unique identifier of the notification thread. This corresponds to the value returned in the `id` field when you retrieve notifications (for example with the [`GET /notifications` operation](https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#list-notifications-for-the-authenticated-user)).", + "description": "The unique identifier of the notification thread. This corresponds to the value returned in the `id` field when you retrieve notifications (for example with the [`GET /notifications` operation](https://docs.github.com/enterprise-cloud@latest/rest/activity/notifications#list-notifications-for-the-authenticated-user)).", "in": "path", "required": true, "schema": { @@ -118420,19 +119319,19 @@ }, "delete": { "summary": "Delete a thread subscription", - "description": "Mutes all future notifications for a conversation until you comment on the thread or get an **@mention**. If you are watching the repository of the thread, you will still receive notifications. To ignore future notifications for a repository you are watching, use the [Set a thread subscription](https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#set-a-thread-subscription) endpoint and set `ignore` to `true`.", + "description": "Mutes all future notifications for a conversation until you comment on the thread or get an **@mention**. If you are watching the repository of the thread, you will still receive notifications. To ignore future notifications for a repository you are watching, use the [Set a thread subscription](https://docs.github.com/enterprise-cloud@latest/rest/activity/notifications#set-a-thread-subscription) endpoint and set `ignore` to `true`.", "tags": [ "activity" ], "operationId": "activity/delete-thread-subscription", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#delete-a-thread-subscription" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/activity/notifications#delete-a-thread-subscription" }, "parameters": [ { "name": "thread_id", - "description": "The unique identifier of the notification thread. This corresponds to the value returned in the `id` field when you retrieve notifications (for example with the [`GET /notifications` operation](https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#list-notifications-for-the-authenticated-user)).", + "description": "The unique identifier of the notification thread. This corresponds to the value returned in the `id` field when you retrieve notifications (for example with the [`GET /notifications` operation](https://docs.github.com/enterprise-cloud@latest/rest/activity/notifications#list-notifications-for-the-authenticated-user)).", "in": "path", "required": true, "schema": { @@ -118546,7 +119445,7 @@ }, "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/meta/meta#get-octocat" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/meta/meta#get-octocat" }, "x-github": { "githubCloudOnly": false, @@ -118559,14 +119458,14 @@ "/organizations": { "get": { "summary": "List organizations", - "description": "Lists all organizations, in the order that they were created.\n\n> [!NOTE]\n> Pagination is powered exclusively by the `since` parameter. Use the [Link header](https://docs.github.com/enterprise-cloud@latest//rest/guides/using-pagination-in-the-rest-api#using-link-headers) to get the URL for the next page of organizations.", + "description": "Lists all organizations, in the order that they were created.\n\n> [!NOTE]\n> Pagination is powered exclusively by the `since` parameter. Use the [Link header](https://docs.github.com/enterprise-cloud@latest/rest/guides/using-pagination-in-the-rest-api#using-link-headers) to get the URL for the next page of organizations.", "tags": [ "orgs" ], "operationId": "orgs/list", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#list-organizations" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/orgs/orgs#list-organizations" }, "parameters": [ { @@ -118580,7 +119479,7 @@ }, { "name": "per_page", - "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -118715,14 +119614,14 @@ "/organizations/{organization_id}/custom_roles": { "get": { "summary": "Closing down - List custom repository roles in an organization", - "description": "> [!WARNING]\n> **Closing down notice:** This operation is closing down and will be removed in the future. Use the \"[List custom repository roles](https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#list-custom-repository-roles-in-an-organization)\" endpoint instead.\n\nList the custom repository roles available in this organization. For more information on custom repository roles, see \"[About custom repository roles](https://docs.github.com/enterprise-cloud@latest//organizations/managing-peoples-access-to-your-organization-with-roles/about-custom-repository-roles).\"\n\nThe authenticated user must be administrator of the organization or of a repository of the organization to use this endpoint.\n\nOAuth app tokens and personal access tokens (classic) need the `admin:org` or `repo` scope to use this endpoint.", + "description": "> [!WARNING]\n> **Closing down notice:** This operation is closing down and will be removed in the future. Use the \"[List custom repository roles](https://docs.github.com/enterprise-cloud@latest/rest/orgs/custom-roles#list-custom-repository-roles-in-an-organization)\" endpoint instead.\n\nList the custom repository roles available in this organization. For more information on custom repository roles, see \"[About custom repository roles](https://docs.github.com/enterprise-cloud@latest/organizations/managing-peoples-access-to-your-organization-with-roles/about-custom-repository-roles).\"\n\nThe authenticated user must be administrator of the organization or of a repository of the organization to use this endpoint.\n\nOAuth app tokens and personal access tokens (classic) need the `admin:org` or `repo` scope to use this endpoint.", "tags": [ "orgs" ], "operationId": "orgs/list-custom-roles", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#closing-down---list-custom-repository-roles-in-an-organization" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/orgs/custom-roles#closing-down---list-custom-repository-roles-in-an-organization" }, "parameters": [ { @@ -118985,7 +119884,7 @@ "operationId": "actions/get-actions-cache-retention-limit-for-organization", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/actions/cache#get-github-actions-cache-retention-limit-for-an-organization" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/actions/cache#get-github-actions-cache-retention-limit-for-an-organization" }, "parameters": [ { @@ -119094,7 +119993,7 @@ "operationId": "actions/set-actions-cache-retention-limit-for-organization", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/actions/cache#set-github-actions-cache-retention-limit-for-an-organization" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/actions/cache#set-github-actions-cache-retention-limit-for-an-organization" }, "parameters": [ { @@ -119268,7 +120167,7 @@ "operationId": "actions/get-actions-cache-storage-limit-for-organization", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/actions/cache#get-github-actions-cache-storage-limit-for-an-organization" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/actions/cache#get-github-actions-cache-storage-limit-for-an-organization" }, "parameters": [ { @@ -119377,7 +120276,7 @@ "operationId": "actions/set-actions-cache-storage-limit-for-organization", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/actions/cache#set-github-actions-cache-storage-limit-for-an-organization" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/actions/cache#set-github-actions-cache-storage-limit-for-an-organization" }, "parameters": [ { @@ -119551,7 +120450,7 @@ "operationId": "orgs/custom-properties-for-orgs-get-organization-values", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-properties-for-orgs#get-all-custom-property-values-for-an-organization" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/orgs/custom-properties-for-orgs#get-all-custom-property-values-for-an-organization" }, "parameters": [ { @@ -119692,7 +120591,7 @@ "operationId": "orgs/custom-properties-for-orgs-create-or-update-organization-values", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-properties-for-orgs#create-or-update-custom-property-values-for-an-organization" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/orgs/custom-properties-for-orgs#create-or-update-custom-property-values-for-an-organization" }, "parameters": [ { @@ -119911,14 +120810,14 @@ "/orgs/{org}": { "get": { "summary": "Get an organization", - "description": "Gets information about an organization.\n\nWhen the value of `two_factor_requirement_enabled` is `true`, the organization requires all members, billing managers, outside collaborators, guest collaborators, repository collaborators, or everyone with access to any repository within the organization to enable [two-factor authentication](https://docs.github.com/enterprise-cloud@latest//articles/securing-your-account-with-two-factor-authentication-2fa/).\n\nTo see the full details about an organization, the authenticated user must be an organization owner.\n\nOAuth app tokens and personal access tokens (classic) need the `admin:org` scope to see the full details about an organization.\n\nTo see information about an organization's GitHub Enterprise Cloud plan, GitHub Apps need the `Organization plan` permission.", + "description": "Gets information about an organization.\n\nWhen the value of `two_factor_requirement_enabled` is `true`, the organization requires all members, billing managers, outside collaborators, guest collaborators, repository collaborators, or everyone with access to any repository within the organization to enable [two-factor authentication](https://docs.github.com/enterprise-cloud@latest/articles/securing-your-account-with-two-factor-authentication-2fa/).\n\nTo see the full details about an organization, the authenticated user must be an organization owner.\n\nOAuth app tokens and personal access tokens (classic) need the `admin:org` scope to see the full details about an organization.\n\nTo see information about an organization's GitHub Enterprise Cloud plan, GitHub Apps need the `Organization plan` permission.", "tags": [ "orgs" ], "operationId": "orgs/get", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#get-an-organization" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/orgs/orgs#get-an-organization" }, "parameters": [ { @@ -120204,37 +121103,37 @@ "advanced_security_enabled_for_new_repositories": { "type": "boolean", "example": false, - "description": "**Endpoint closing down notice.** Please use [code security configurations](https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations) instead.\n\nWhether GitHub Advanced Security is enabled for new repositories and repositories transferred to this organization.\n\nThis field is only visible to organization owners or members of a team with the security manager role.", + "description": "**Endpoint closing down notice.** Please use [code security configurations](https://docs.github.com/enterprise-cloud@latest/rest/code-security/configurations) instead.\n\nWhether GitHub Advanced Security is enabled for new repositories and repositories transferred to this organization.\n\nThis field is only visible to organization owners or members of a team with the security manager role.", "deprecated": true }, "dependabot_alerts_enabled_for_new_repositories": { "type": "boolean", "example": false, - "description": "**Endpoint closing down notice.** Please use [code security configurations](https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations) instead.\n\nWhether Dependabot alerts are automatically enabled for new repositories and repositories transferred to this organization.\n\nThis field is only visible to organization owners or members of a team with the security manager role.", + "description": "**Endpoint closing down notice.** Please use [code security configurations](https://docs.github.com/enterprise-cloud@latest/rest/code-security/configurations) instead.\n\nWhether Dependabot alerts are automatically enabled for new repositories and repositories transferred to this organization.\n\nThis field is only visible to organization owners or members of a team with the security manager role.", "deprecated": true }, "dependabot_security_updates_enabled_for_new_repositories": { "type": "boolean", "example": false, - "description": "**Endpoint closing down notice.** Please use [code security configurations](https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations) instead.\n\nWhether Dependabot security updates are automatically enabled for new repositories and repositories transferred to this organization.\n\nThis field is only visible to organization owners or members of a team with the security manager role.", + "description": "**Endpoint closing down notice.** Please use [code security configurations](https://docs.github.com/enterprise-cloud@latest/rest/code-security/configurations) instead.\n\nWhether Dependabot security updates are automatically enabled for new repositories and repositories transferred to this organization.\n\nThis field is only visible to organization owners or members of a team with the security manager role.", "deprecated": true }, "dependency_graph_enabled_for_new_repositories": { "type": "boolean", "example": false, - "description": "**Endpoint closing down notice.** Please use [code security configurations](https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations) instead.\n\nWhether dependency graph is automatically enabled for new repositories and repositories transferred to this organization.\n\nThis field is only visible to organization owners or members of a team with the security manager role.", + "description": "**Endpoint closing down notice.** Please use [code security configurations](https://docs.github.com/enterprise-cloud@latest/rest/code-security/configurations) instead.\n\nWhether dependency graph is automatically enabled for new repositories and repositories transferred to this organization.\n\nThis field is only visible to organization owners or members of a team with the security manager role.", "deprecated": true }, "secret_scanning_enabled_for_new_repositories": { "type": "boolean", "example": false, - "description": "**Endpoint closing down notice.** Please use [code security configurations](https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations) instead.\n\nWhether secret scanning is automatically enabled for new repositories and repositories transferred to this organization.\n\nThis field is only visible to organization owners or members of a team with the security manager role.", + "description": "**Endpoint closing down notice.** Please use [code security configurations](https://docs.github.com/enterprise-cloud@latest/rest/code-security/configurations) instead.\n\nWhether secret scanning is automatically enabled for new repositories and repositories transferred to this organization.\n\nThis field is only visible to organization owners or members of a team with the security manager role.", "deprecated": true }, "secret_scanning_push_protection_enabled_for_new_repositories": { "type": "boolean", "example": false, - "description": "**Endpoint closing down notice.** Please use [code security configurations](https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations) instead.\n\nWhether secret scanning push protection is automatically enabled for new repositories and repositories transferred to this organization.\n\nThis field is only visible to organization owners or members of a team with the security manager role.", + "description": "**Endpoint closing down notice.** Please use [code security configurations](https://docs.github.com/enterprise-cloud@latest/rest/code-security/configurations) instead.\n\nWhether secret scanning push protection is automatically enabled for new repositories and repositories transferred to this organization.\n\nThis field is only visible to organization owners or members of a team with the security manager role.", "deprecated": true }, "secret_scanning_push_protection_custom_link_enabled": { @@ -120251,7 +121150,7 @@ "secret_scanning_validity_checks_enabled": { "type": "boolean", "example": false, - "description": "**Endpoint closing down notice.** Please use [code security configurations](https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations) instead.\n\nWhether secret scanning automatic validity checks on supported partner tokens is enabled for all repositories under this organization.", + "description": "**Endpoint closing down notice.** Please use [code security configurations](https://docs.github.com/enterprise-cloud@latest/rest/code-security/configurations) instead.\n\nWhether secret scanning automatic validity checks on supported partner tokens is enabled for all repositories under this organization.", "deprecated": true }, "created_at": { @@ -120419,14 +121318,14 @@ }, "patch": { "summary": "Update an organization", - "description": "> [!WARNING]\n> **Closing down notice:** GitHub Enterprise Cloud will replace and discontinue `members_allowed_repository_creation_type` in favor of more granular permissions. The new input parameters are `members_can_create_public_repositories`, `members_can_create_private_repositories` for all organizations and `members_can_create_internal_repositories` for organizations associated with an enterprise account using GitHub Enterprise Cloud or GitHub Enterprise Server 2.20+. For more information, see the [blog post](https://developer.github.com/changes/2019-12-03-internal-visibility-changes).\n\n> [!WARNING]\n> **Closing down notice:** Code security product enablement for new repositories through the organization API is closing down. Please use [code security configurations](https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#set-a-code-security-configuration-as-a-default-for-an-organization) to set defaults instead. For more information on setting a default security configuration, see the [changelog](https://github.blog/changelog/2024-07-09-sunsetting-security-settings-defaults-parameters-in-the-organizations-rest-api/).\n\nUpdates the organization's profile and member privileges.\n\nThe authenticated user must be an organization owner to use this endpoint.\n\nOAuth app tokens and personal access tokens (classic) need the `admin:org` or `repo` scope to use this endpoint.", + "description": "> [!WARNING]\n> **Closing down notice:** GitHub Enterprise Cloud will replace and discontinue `members_allowed_repository_creation_type` in favor of more granular permissions. The new input parameters are `members_can_create_public_repositories`, `members_can_create_private_repositories` for all organizations and `members_can_create_internal_repositories` for organizations associated with an enterprise account using GitHub Enterprise Cloud or GitHub Enterprise Server 2.20+. For more information, see the [blog post](https://developer.github.com/changes/2019-12-03-internal-visibility-changes).\n\n> [!WARNING]\n> **Closing down notice:** Code security product enablement for new repositories through the organization API is closing down. Please use [code security configurations](https://docs.github.com/enterprise-cloud@latest/rest/code-security/configurations#set-a-code-security-configuration-as-a-default-for-an-organization) to set defaults instead. For more information on setting a default security configuration, see the [changelog](https://github.blog/changelog/2024-07-09-sunsetting-security-settings-defaults-parameters-in-the-organizations-rest-api/).\n\nUpdates the organization's profile and member privileges.\n\nThe authenticated user must be an organization owner to use this endpoint.\n\nOAuth app tokens and personal access tokens (classic) need the `admin:org` or `repo` scope to use this endpoint.", "tags": [ "orgs" ], "operationId": "orgs/update", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#update-an-organization" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/orgs/orgs#update-an-organization" }, "parameters": [ { @@ -120500,15 +121399,15 @@ }, "members_can_create_internal_repositories": { "type": "boolean", - "description": "Whether organization members can create internal repositories, which are visible to all enterprise members. You can only allow members to create internal repositories if your organization is associated with an enterprise account using GitHub Enterprise Cloud or GitHub Enterprise Server 2.20+. For more information, see \"[Restricting repository creation in your organization](https://docs.github.com/enterprise-cloud@latest//github/setting-up-and-managing-organizations-and-teams/restricting-repository-creation-in-your-organization)\" in the GitHub Help documentation." + "description": "Whether organization members can create internal repositories, which are visible to all enterprise members. You can only allow members to create internal repositories if your organization is associated with an enterprise account using GitHub Enterprise Cloud or GitHub Enterprise Server 2.20+. For more information, see \"[Restricting repository creation in your organization](https://docs.github.com/enterprise-cloud@latest/github/setting-up-and-managing-organizations-and-teams/restricting-repository-creation-in-your-organization)\" in the GitHub Help documentation." }, "members_can_create_private_repositories": { "type": "boolean", - "description": "Whether organization members can create private repositories, which are visible to organization members with permission. For more information, see \"[Restricting repository creation in your organization](https://docs.github.com/enterprise-cloud@latest//github/setting-up-and-managing-organizations-and-teams/restricting-repository-creation-in-your-organization)\" in the GitHub Help documentation." + "description": "Whether organization members can create private repositories, which are visible to organization members with permission. For more information, see \"[Restricting repository creation in your organization](https://docs.github.com/enterprise-cloud@latest/github/setting-up-and-managing-organizations-and-teams/restricting-repository-creation-in-your-organization)\" in the GitHub Help documentation." }, "members_can_create_public_repositories": { "type": "boolean", - "description": "Whether organization members can create public repositories, which are visible to anyone. For more information, see \"[Restricting repository creation in your organization](https://docs.github.com/enterprise-cloud@latest//github/setting-up-and-managing-organizations-and-teams/restricting-repository-creation-in-your-organization)\" in the GitHub Help documentation." + "description": "Whether organization members can create public repositories, which are visible to anyone. For more information, see \"[Restricting repository creation in your organization](https://docs.github.com/enterprise-cloud@latest/github/setting-up-and-managing-organizations-and-teams/restricting-repository-creation-in-your-organization)\" in the GitHub Help documentation." }, "members_allowed_repository_creation_type": { "type": "string", @@ -120550,32 +121449,32 @@ }, "advanced_security_enabled_for_new_repositories": { "type": "boolean", - "description": "**Endpoint closing down notice.** Please use [code security configurations](https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations) instead.\n\nWhether GitHub Advanced Security is automatically enabled for new repositories and repositories transferred to this organization.\n\nTo use this parameter, you must have admin permissions for the repository or be an owner or security manager for the organization that owns the repository. For more information, see \"[Managing security managers in your organization](https://docs.github.com/enterprise-cloud@latest//organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization).\"\n\nYou can check which security and analysis features are currently enabled by using a `GET /orgs/{org}` request.", + "description": "**Endpoint closing down notice.** Please use [code security configurations](https://docs.github.com/enterprise-cloud@latest/rest/code-security/configurations) instead.\n\nWhether GitHub Advanced Security is automatically enabled for new repositories and repositories transferred to this organization.\n\nTo use this parameter, you must have admin permissions for the repository or be an owner or security manager for the organization that owns the repository. For more information, see \"[Managing security managers in your organization](https://docs.github.com/enterprise-cloud@latest/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization).\"\n\nYou can check which security and analysis features are currently enabled by using a `GET /orgs/{org}` request.", "deprecated": true }, "dependabot_alerts_enabled_for_new_repositories": { "type": "boolean", - "description": "**Endpoint closing down notice.** Please use [code security configurations](https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations) instead.\n\nWhether Dependabot alerts are automatically enabled for new repositories and repositories transferred to this organization.\n\nTo use this parameter, you must have admin permissions for the repository or be an owner or security manager for the organization that owns the repository. For more information, see \"[Managing security managers in your organization](https://docs.github.com/enterprise-cloud@latest//organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization).\"\n\nYou can check which security and analysis features are currently enabled by using a `GET /orgs/{org}` request.", + "description": "**Endpoint closing down notice.** Please use [code security configurations](https://docs.github.com/enterprise-cloud@latest/rest/code-security/configurations) instead.\n\nWhether Dependabot alerts are automatically enabled for new repositories and repositories transferred to this organization.\n\nTo use this parameter, you must have admin permissions for the repository or be an owner or security manager for the organization that owns the repository. For more information, see \"[Managing security managers in your organization](https://docs.github.com/enterprise-cloud@latest/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization).\"\n\nYou can check which security and analysis features are currently enabled by using a `GET /orgs/{org}` request.", "deprecated": true }, "dependabot_security_updates_enabled_for_new_repositories": { "type": "boolean", - "description": "**Endpoint closing down notice.** Please use [code security configurations](https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations) instead.\n\nWhether Dependabot security updates are automatically enabled for new repositories and repositories transferred to this organization.\n\nTo use this parameter, you must have admin permissions for the repository or be an owner or security manager for the organization that owns the repository. For more information, see \"[Managing security managers in your organization](https://docs.github.com/enterprise-cloud@latest//organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization).\"\n\nYou can check which security and analysis features are currently enabled by using a `GET /orgs/{org}` request.", + "description": "**Endpoint closing down notice.** Please use [code security configurations](https://docs.github.com/enterprise-cloud@latest/rest/code-security/configurations) instead.\n\nWhether Dependabot security updates are automatically enabled for new repositories and repositories transferred to this organization.\n\nTo use this parameter, you must have admin permissions for the repository or be an owner or security manager for the organization that owns the repository. For more information, see \"[Managing security managers in your organization](https://docs.github.com/enterprise-cloud@latest/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization).\"\n\nYou can check which security and analysis features are currently enabled by using a `GET /orgs/{org}` request.", "deprecated": true }, "dependency_graph_enabled_for_new_repositories": { "type": "boolean", - "description": "**Endpoint closing down notice.** Please use [code security configurations](https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations) instead.\n\nWhether dependency graph is automatically enabled for new repositories and repositories transferred to this organization.\n\nTo use this parameter, you must have admin permissions for the repository or be an owner or security manager for the organization that owns the repository. For more information, see \"[Managing security managers in your organization](https://docs.github.com/enterprise-cloud@latest//organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization).\"\n\nYou can check which security and analysis features are currently enabled by using a `GET /orgs/{org}` request.", + "description": "**Endpoint closing down notice.** Please use [code security configurations](https://docs.github.com/enterprise-cloud@latest/rest/code-security/configurations) instead.\n\nWhether dependency graph is automatically enabled for new repositories and repositories transferred to this organization.\n\nTo use this parameter, you must have admin permissions for the repository or be an owner or security manager for the organization that owns the repository. For more information, see \"[Managing security managers in your organization](https://docs.github.com/enterprise-cloud@latest/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization).\"\n\nYou can check which security and analysis features are currently enabled by using a `GET /orgs/{org}` request.", "deprecated": true }, "secret_scanning_enabled_for_new_repositories": { "type": "boolean", - "description": "**Endpoint closing down notice.** Please use [code security configurations](https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations) instead.\n\nWhether secret scanning is automatically enabled for new repositories and repositories transferred to this organization.\n\nTo use this parameter, you must have admin permissions for the repository or be an owner or security manager for the organization that owns the repository. For more information, see \"[Managing security managers in your organization](https://docs.github.com/enterprise-cloud@latest//organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization).\"\n\nYou can check which security and analysis features are currently enabled by using a `GET /orgs/{org}` request.", + "description": "**Endpoint closing down notice.** Please use [code security configurations](https://docs.github.com/enterprise-cloud@latest/rest/code-security/configurations) instead.\n\nWhether secret scanning is automatically enabled for new repositories and repositories transferred to this organization.\n\nTo use this parameter, you must have admin permissions for the repository or be an owner or security manager for the organization that owns the repository. For more information, see \"[Managing security managers in your organization](https://docs.github.com/enterprise-cloud@latest/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization).\"\n\nYou can check which security and analysis features are currently enabled by using a `GET /orgs/{org}` request.", "deprecated": true }, "secret_scanning_push_protection_enabled_for_new_repositories": { "type": "boolean", - "description": "**Endpoint closing down notice.** Please use [code security configurations](https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations) instead.\n\nWhether secret scanning push protection is automatically enabled for new repositories and repositories transferred to this organization.\n\nTo use this parameter, you must have admin permissions for the repository or be an owner or security manager for the organization that owns the repository. For more information, see \"[Managing security managers in your organization](https://docs.github.com/enterprise-cloud@latest//organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization).\"\n\nYou can check which security and analysis features are currently enabled by using a `GET /orgs/{org}` request.", + "description": "**Endpoint closing down notice.** Please use [code security configurations](https://docs.github.com/enterprise-cloud@latest/rest/code-security/configurations) instead.\n\nWhether secret scanning push protection is automatically enabled for new repositories and repositories transferred to this organization.\n\nTo use this parameter, you must have admin permissions for the repository or be an owner or security manager for the organization that owns the repository. For more information, see \"[Managing security managers in your organization](https://docs.github.com/enterprise-cloud@latest/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization).\"\n\nYou can check which security and analysis features are currently enabled by using a `GET /orgs/{org}` request.", "deprecated": true }, "secret_scanning_push_protection_custom_link_enabled": { @@ -120588,7 +121487,7 @@ }, "secret_scanning_validity_checks_enabled": { "type": "boolean", - "description": "**Endpoint closing down notice.** Please use [code security configurations](https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations) instead.\n\nWhether secret scanning automatic validity checks on supported partner tokens is enabled for all repositories under this organization.", + "description": "**Endpoint closing down notice.** Please use [code security configurations](https://docs.github.com/enterprise-cloud@latest/rest/code-security/configurations) instead.\n\nWhether secret scanning automatic validity checks on supported partner tokens is enabled for all repositories under this organization.", "deprecated": true }, "deploy_keys_enabled_for_repositories": { @@ -120889,37 +121788,37 @@ "advanced_security_enabled_for_new_repositories": { "type": "boolean", "example": false, - "description": "**Endpoint closing down notice.** Please use [code security configurations](https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations) instead.\n\nWhether GitHub Advanced Security is enabled for new repositories and repositories transferred to this organization.\n\nThis field is only visible to organization owners or members of a team with the security manager role.", + "description": "**Endpoint closing down notice.** Please use [code security configurations](https://docs.github.com/enterprise-cloud@latest/rest/code-security/configurations) instead.\n\nWhether GitHub Advanced Security is enabled for new repositories and repositories transferred to this organization.\n\nThis field is only visible to organization owners or members of a team with the security manager role.", "deprecated": true }, "dependabot_alerts_enabled_for_new_repositories": { "type": "boolean", "example": false, - "description": "**Endpoint closing down notice.** Please use [code security configurations](https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations) instead.\n\nWhether Dependabot alerts are automatically enabled for new repositories and repositories transferred to this organization.\n\nThis field is only visible to organization owners or members of a team with the security manager role.", + "description": "**Endpoint closing down notice.** Please use [code security configurations](https://docs.github.com/enterprise-cloud@latest/rest/code-security/configurations) instead.\n\nWhether Dependabot alerts are automatically enabled for new repositories and repositories transferred to this organization.\n\nThis field is only visible to organization owners or members of a team with the security manager role.", "deprecated": true }, "dependabot_security_updates_enabled_for_new_repositories": { "type": "boolean", "example": false, - "description": "**Endpoint closing down notice.** Please use [code security configurations](https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations) instead.\n\nWhether Dependabot security updates are automatically enabled for new repositories and repositories transferred to this organization.\n\nThis field is only visible to organization owners or members of a team with the security manager role.", + "description": "**Endpoint closing down notice.** Please use [code security configurations](https://docs.github.com/enterprise-cloud@latest/rest/code-security/configurations) instead.\n\nWhether Dependabot security updates are automatically enabled for new repositories and repositories transferred to this organization.\n\nThis field is only visible to organization owners or members of a team with the security manager role.", "deprecated": true }, "dependency_graph_enabled_for_new_repositories": { "type": "boolean", "example": false, - "description": "**Endpoint closing down notice.** Please use [code security configurations](https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations) instead.\n\nWhether dependency graph is automatically enabled for new repositories and repositories transferred to this organization.\n\nThis field is only visible to organization owners or members of a team with the security manager role.", + "description": "**Endpoint closing down notice.** Please use [code security configurations](https://docs.github.com/enterprise-cloud@latest/rest/code-security/configurations) instead.\n\nWhether dependency graph is automatically enabled for new repositories and repositories transferred to this organization.\n\nThis field is only visible to organization owners or members of a team with the security manager role.", "deprecated": true }, "secret_scanning_enabled_for_new_repositories": { "type": "boolean", "example": false, - "description": "**Endpoint closing down notice.** Please use [code security configurations](https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations) instead.\n\nWhether secret scanning is automatically enabled for new repositories and repositories transferred to this organization.\n\nThis field is only visible to organization owners or members of a team with the security manager role.", + "description": "**Endpoint closing down notice.** Please use [code security configurations](https://docs.github.com/enterprise-cloud@latest/rest/code-security/configurations) instead.\n\nWhether secret scanning is automatically enabled for new repositories and repositories transferred to this organization.\n\nThis field is only visible to organization owners or members of a team with the security manager role.", "deprecated": true }, "secret_scanning_push_protection_enabled_for_new_repositories": { "type": "boolean", "example": false, - "description": "**Endpoint closing down notice.** Please use [code security configurations](https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations) instead.\n\nWhether secret scanning push protection is automatically enabled for new repositories and repositories transferred to this organization.\n\nThis field is only visible to organization owners or members of a team with the security manager role.", + "description": "**Endpoint closing down notice.** Please use [code security configurations](https://docs.github.com/enterprise-cloud@latest/rest/code-security/configurations) instead.\n\nWhether secret scanning push protection is automatically enabled for new repositories and repositories transferred to this organization.\n\nThis field is only visible to organization owners or members of a team with the security manager role.", "deprecated": true }, "secret_scanning_push_protection_custom_link_enabled": { @@ -120936,7 +121835,7 @@ "secret_scanning_validity_checks_enabled": { "type": "boolean", "example": false, - "description": "**Endpoint closing down notice.** Please use [code security configurations](https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations) instead.\n\nWhether secret scanning automatic validity checks on supported partner tokens is enabled for all repositories under this organization.", + "description": "**Endpoint closing down notice.** Please use [code security configurations](https://docs.github.com/enterprise-cloud@latest/rest/code-security/configurations) instead.\n\nWhether secret scanning automatic validity checks on supported partner tokens is enabled for all repositories under this organization.", "deprecated": true }, "created_at": { @@ -121200,14 +122099,14 @@ }, "delete": { "summary": "Delete an organization", - "description": "Deletes an organization and all its repositories.\n\nThe organization login will be unavailable for 90 days after deletion.\n\nPlease review the Terms of Service regarding account deletion before using this endpoint:\n\nhttps://docs.github.com/enterprise-cloud@latest//site-policy/github-terms/github-terms-of-service", + "description": "Deletes an organization and all its repositories.\n\nThe organization login will be unavailable for 90 days after deletion.\n\nPlease review the Terms of Service regarding account deletion before using this endpoint:\n\nhttps://docs.github.com/enterprise-cloud@latest/site-policy/github-terms/github-terms-of-service", "operationId": "orgs/delete", "tags": [ "orgs" ], "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#delete-an-organization" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/orgs/orgs#delete-an-organization" }, "parameters": [ { @@ -121307,7 +122206,7 @@ "operationId": "actions/get-actions-cache-usage-for-org", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/actions/cache#get-github-actions-cache-usage-for-an-organization" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/actions/cache#get-github-actions-cache-usage-for-an-organization" }, "parameters": [ { @@ -121380,7 +122279,7 @@ "operationId": "actions/get-actions-cache-usage-by-repo-for-org", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/actions/cache#list-repositories-with-github-actions-cache-usage-for-an-organization" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/actions/cache#list-repositories-with-github-actions-cache-usage-for-an-organization" }, "parameters": [ { @@ -121394,7 +122293,7 @@ }, { "name": "per_page", - "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -121403,7 +122302,7 @@ }, { "name": "page", - "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -121507,7 +122406,7 @@ "operationId": "actions/list-hosted-runners-for-org", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/actions/hosted-runners#list-github-hosted-runners-for-an-organization" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/actions/hosted-runners#list-github-hosted-runners-for-an-organization" }, "parameters": [ { @@ -121521,7 +122420,7 @@ }, { "name": "per_page", - "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -121530,7 +122429,7 @@ }, { "name": "page", - "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -121815,7 +122714,7 @@ ], "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/actions/hosted-runners#create-a-github-hosted-runner-for-an-organization" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/actions/hosted-runners#create-a-github-hosted-runner-for-an-organization" }, "parameters": [ { @@ -122140,7 +123039,7 @@ "operationId": "actions/list-custom-images-for-org", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/actions/hosted-runners#list-custom-images-for-an-organization" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/actions/hosted-runners#list-custom-images-for-an-organization" }, "parameters": [ { @@ -122273,7 +123172,7 @@ "operationId": "actions/get-custom-image-for-org", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/actions/hosted-runners#get-a-custom-image-definition-for-github-actions-hosted-runners" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/actions/hosted-runners#get-a-custom-image-definition-for-github-actions-hosted-runners" }, "parameters": [ { @@ -122391,7 +123290,7 @@ "operationId": "actions/delete-custom-image-from-org", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/actions/hosted-runners#delete-a-custom-image-from-the-organization" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/actions/hosted-runners#delete-a-custom-image-from-the-organization" }, "parameters": [ { @@ -122436,7 +123335,7 @@ "operationId": "actions/list-custom-image-versions-for-org", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/actions/hosted-runners#list-image-versions-of-a-custom-image-for-an-organization" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/actions/hosted-runners#list-image-versions-of-a-custom-image-for-an-organization" }, "parameters": [ { @@ -122560,7 +123459,7 @@ "operationId": "actions/get-custom-image-version-for-org", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/actions/hosted-runners#get-an-image-version-of-a-custom-image-for-github-actions-hosted-runners" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/actions/hosted-runners#get-an-image-version-of-a-custom-image-for-github-actions-hosted-runners" }, "parameters": [ { @@ -122666,7 +123565,7 @@ "operationId": "actions/delete-custom-image-version-from-org", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/actions/hosted-runners#delete-an-image-version-of-custom-image-from-the-organization" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/actions/hosted-runners#delete-an-image-version-of-custom-image-from-the-organization" }, "parameters": [ { @@ -122721,7 +123620,7 @@ ], "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/actions/hosted-runners#get-github-owned-images-for-github-hosted-runners-in-an-organization" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/actions/hosted-runners#get-github-owned-images-for-github-hosted-runners-in-an-organization" }, "parameters": [ { @@ -122830,7 +123729,7 @@ ], "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/actions/hosted-runners#get-partner-images-for-github-hosted-runners-in-an-organization" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/actions/hosted-runners#get-partner-images-for-github-hosted-runners-in-an-organization" }, "parameters": [ { @@ -122939,7 +123838,7 @@ ], "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/actions/hosted-runners#get-limits-on-github-hosted-runners-for-an-organization" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/actions/hosted-runners#get-limits-on-github-hosted-runners-for-an-organization" }, "parameters": [ { @@ -123018,7 +123917,7 @@ ], "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/actions/hosted-runners#get-github-hosted-runners-machine-specs-for-an-organization" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/actions/hosted-runners#get-github-hosted-runners-machine-specs-for-an-organization" }, "parameters": [ { @@ -123116,7 +124015,7 @@ ], "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/actions/hosted-runners#get-platforms-for-github-hosted-runners-in-an-organization" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/actions/hosted-runners#get-platforms-for-github-hosted-runners-in-an-organization" }, "parameters": [ { @@ -123185,7 +124084,7 @@ "operationId": "actions/get-hosted-runner-for-org", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/actions/hosted-runners#get-a-github-hosted-runner-for-an-organization" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/actions/hosted-runners#get-a-github-hosted-runner-for-an-organization" }, "parameters": [ { @@ -123443,7 +124342,7 @@ ], "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/actions/hosted-runners#update-a-github-hosted-runner-for-an-organization" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/actions/hosted-runners#update-a-github-hosted-runner-for-an-organization" }, "parameters": [ { @@ -123757,7 +124656,7 @@ ], "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/actions/hosted-runners#delete-a-github-hosted-runner-for-an-organization" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/actions/hosted-runners#delete-a-github-hosted-runner-for-an-organization" }, "parameters": [ { @@ -124009,7 +124908,7 @@ "operationId": "oidc/list-oidc-custom-property-inclusions-for-org", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/actions/oidc#list-oidc-custom-property-inclusions-for-an-organization" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/actions/oidc#list-oidc-custom-property-inclusions-for-an-organization" }, "parameters": [ { @@ -124137,7 +125036,7 @@ "operationId": "oidc/create-oidc-custom-property-inclusion-for-org", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/actions/oidc#create-an-oidc-custom-property-inclusion-for-an-organization" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/actions/oidc#create-an-oidc-custom-property-inclusion-for-an-organization" }, "parameters": [ { @@ -124267,7 +125166,7 @@ "operationId": "oidc/delete-oidc-custom-property-inclusion-for-org", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/actions/oidc#delete-an-oidc-custom-property-inclusion-for-an-organization" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/actions/oidc#delete-an-oidc-custom-property-inclusion-for-an-organization" }, "parameters": [ { @@ -124343,7 +125242,7 @@ "operationId": "oidc/get-oidc-custom-sub-template-for-org", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/actions/oidc#get-the-customization-template-for-an-oidc-subject-claim-for-an-organization" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/actions/oidc#get-the-customization-template-for-an-oidc-subject-claim-for-an-organization" }, "parameters": [ { @@ -124372,6 +125271,10 @@ "items": { "type": "string" } + }, + "use_immutable_subject": { + "description": "Whether to opt in to the immutable OIDC subject claim format for the organization. When `true`, new OIDC tokens will use a stable, repository-ID-based `sub` claim instead of the name-based format.", + "type": "boolean" } }, "required": [ @@ -124407,7 +125310,7 @@ "operationId": "oidc/update-oidc-custom-sub-template-for-org", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/actions/oidc#set-the-customization-template-for-an-oidc-subject-claim-for-an-organization" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/actions/oidc#set-the-customization-template-for-an-oidc-subject-claim-for-an-organization" }, "parameters": [ { @@ -124435,6 +125338,10 @@ "items": { "type": "string" } + }, + "use_immutable_subject": { + "description": "Whether to opt in to the immutable OIDC subject claim format for the organization. When `true`, new OIDC tokens will use a stable, repository-ID-based `sub` claim instead of the name-based format.", + "type": "boolean" } } }, @@ -124542,7 +125449,7 @@ ], "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#get-github-actions-permissions-for-an-organization" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/actions/permissions#get-github-actions-permissions-for-an-organization" }, "parameters": [ { @@ -124628,7 +125535,7 @@ ], "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#set-github-actions-permissions-for-an-organization" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/actions/permissions#set-github-actions-permissions-for-an-organization" }, "parameters": [ { @@ -124710,7 +125617,7 @@ ], "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#get-artifact-and-log-retention-settings-for-an-organization" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/actions/permissions#get-artifact-and-log-retention-settings-for-an-organization" }, "parameters": [ { @@ -124825,7 +125732,7 @@ ], "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#set-artifact-and-log-retention-settings-for-an-organization" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/actions/permissions#set-artifact-and-log-retention-settings-for-an-organization" }, "parameters": [ { @@ -125033,7 +125940,7 @@ ], "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#get-fork-pr-contributor-approval-permissions-for-an-organization" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/actions/permissions#get-fork-pr-contributor-approval-permissions-for-an-organization" }, "parameters": [ { @@ -125120,7 +126027,7 @@ ], "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#set-fork-pr-contributor-approval-permissions-for-an-organization" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/actions/permissions#set-fork-pr-contributor-approval-permissions-for-an-organization" }, "parameters": [ { @@ -125282,7 +126189,7 @@ ], "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#get-private-repo-fork-pr-workflow-settings-for-an-organization" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/actions/permissions#get-private-repo-fork-pr-workflow-settings-for-an-organization" }, "parameters": [ { @@ -125408,7 +126315,7 @@ ], "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#set-private-repo-fork-pr-workflow-settings-for-an-organization" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/actions/permissions#set-private-repo-fork-pr-workflow-settings-for-an-organization" }, "parameters": [ { @@ -125605,7 +126512,7 @@ ], "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#list-selected-repositories-enabled-for-github-actions-in-an-organization" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/actions/permissions#list-selected-repositories-enabled-for-github-actions-in-an-organization" }, "parameters": [ { @@ -125619,7 +126526,7 @@ }, { "name": "per_page", - "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -125628,7 +126535,7 @@ }, { "name": "page", - "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -126552,7 +127459,7 @@ ], "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#set-selected-repositories-enabled-for-github-actions-in-an-organization" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/actions/permissions#set-selected-repositories-enabled-for-github-actions-in-an-organization" }, "parameters": [ { @@ -126621,7 +127528,7 @@ ], "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#enable-a-selected-repository-for-github-actions-in-an-organization" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/actions/permissions#enable-a-selected-repository-for-github-actions-in-an-organization" }, "parameters": [ { @@ -126664,7 +127571,7 @@ ], "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#disable-a-selected-repository-for-github-actions-in-an-organization" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/actions/permissions#disable-a-selected-repository-for-github-actions-in-an-organization" }, "parameters": [ { @@ -126709,7 +127616,7 @@ ], "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#get-allowed-actions-and-reusable-workflows-for-an-organization" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/actions/permissions#get-allowed-actions-and-reusable-workflows-for-an-organization" }, "parameters": [ { @@ -126779,7 +127686,7 @@ ], "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#set-allowed-actions-and-reusable-workflows-for-an-organization" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/actions/permissions#set-allowed-actions-and-reusable-workflows-for-an-organization" }, "parameters": [ { @@ -126854,7 +127761,7 @@ ], "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#get-self-hosted-runners-settings-for-an-organization" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/actions/permissions#get-self-hosted-runners-settings-for-an-organization" }, "parameters": [ { @@ -126973,7 +127880,7 @@ ], "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#set-self-hosted-runners-settings-for-an-organization" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/actions/permissions#set-self-hosted-runners-settings-for-an-organization" }, "parameters": [ { @@ -127186,7 +128093,7 @@ ], "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#list-repositories-allowed-to-use-self-hosted-runners-in-an-organization" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/actions/permissions#list-repositories-allowed-to-use-self-hosted-runners-in-an-organization" }, "parameters": [ { @@ -127200,7 +128107,7 @@ }, { "name": "per_page", - "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -127209,7 +128116,7 @@ }, { "name": "page", - "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -128180,7 +129087,7 @@ ], "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#set-repositories-allowed-to-use-self-hosted-runners-in-an-organization" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/actions/permissions#set-repositories-allowed-to-use-self-hosted-runners-in-an-organization" }, "parameters": [ { @@ -128369,7 +129276,7 @@ ], "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#add-a-repository-to-the-list-of-repositories-allowed-to-use-self-hosted-runners-in-an-organization" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/actions/permissions#add-a-repository-to-the-list-of-repositories-allowed-to-use-self-hosted-runners-in-an-organization" }, "parameters": [ { @@ -128558,7 +129465,7 @@ ], "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#remove-a-repository-from-the-list-of-repositories-allowed-to-use-self-hosted-runners-in-an-organization" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/actions/permissions#remove-a-repository-from-the-list-of-repositories-allowed-to-use-self-hosted-runners-in-an-organization" }, "parameters": [ { @@ -128742,14 +129649,14 @@ "/orgs/{org}/actions/permissions/workflow": { "get": { "summary": "Get default workflow permissions for an organization", - "description": "Gets the default workflow permissions granted to the `GITHUB_TOKEN` when running workflows in an organization,\nas well as whether GitHub Actions can submit approving pull request reviews. For more information, see\n\"[Setting the permissions of the GITHUB_TOKEN for your organization](https://docs.github.com/enterprise-cloud@latest//organizations/managing-organization-settings/disabling-or-limiting-github-actions-for-your-organization#setting-the-permissions-of-the-github_token-for-your-organization).\"\n\nOAuth tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint.", + "description": "Gets the default workflow permissions granted to the `GITHUB_TOKEN` when running workflows in an organization,\nas well as whether GitHub Actions can submit approving pull request reviews. For more information, see\n\"[Setting the permissions of the GITHUB_TOKEN for your organization](https://docs.github.com/enterprise-cloud@latest/organizations/managing-organization-settings/disabling-or-limiting-github-actions-for-your-organization#setting-the-permissions-of-the-github_token-for-your-organization).\"\n\nOAuth tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint.", "tags": [ "actions" ], "operationId": "actions/get-github-actions-default-workflow-permissions-organization", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#get-default-workflow-permissions-for-an-organization" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/actions/permissions#get-default-workflow-permissions-for-an-organization" }, "parameters": [ { @@ -128810,14 +129717,14 @@ }, "put": { "summary": "Set default workflow permissions for an organization", - "description": "Sets the default workflow permissions granted to the `GITHUB_TOKEN` when running workflows in an organization, and sets if GitHub Actions\ncan submit approving pull request reviews. For more information, see\n\"[Setting the permissions of the GITHUB_TOKEN for your organization](https://docs.github.com/enterprise-cloud@latest//organizations/managing-organization-settings/disabling-or-limiting-github-actions-for-your-organization#setting-the-permissions-of-the-github_token-for-your-organization).\"\n\nOAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint.", + "description": "Sets the default workflow permissions granted to the `GITHUB_TOKEN` when running workflows in an organization, and sets if GitHub Actions\ncan submit approving pull request reviews. For more information, see\n\"[Setting the permissions of the GITHUB_TOKEN for your organization](https://docs.github.com/enterprise-cloud@latest/organizations/managing-organization-settings/disabling-or-limiting-github-actions-for-your-organization#setting-the-permissions-of-the-github_token-for-your-organization).\"\n\nOAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint.", "tags": [ "actions" ], "operationId": "actions/set-github-actions-default-workflow-permissions-organization", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#set-default-workflow-permissions-for-an-organization" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/actions/permissions#set-default-workflow-permissions-for-an-organization" }, "parameters": [ { @@ -128889,7 +129796,7 @@ ], "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#list-self-hosted-runner-groups-for-an-organization" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/actions/self-hosted-runner-groups#list-self-hosted-runner-groups-for-an-organization" }, "parameters": [ { @@ -128903,7 +129810,7 @@ }, { "name": "per_page", - "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -128912,7 +129819,7 @@ }, { "name": "page", - "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -129087,7 +129994,7 @@ ], "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#create-a-self-hosted-runner-group-for-an-organization" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/actions/self-hosted-runner-groups#create-a-self-hosted-runner-group-for-an-organization" }, "parameters": [ { @@ -129300,7 +130207,7 @@ ], "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#get-a-self-hosted-runner-group-for-an-organization" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/actions/self-hosted-runner-groups#get-a-self-hosted-runner-group-for-an-organization" }, "parameters": [ { @@ -129436,7 +130343,7 @@ ], "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#update-a-self-hosted-runner-group-for-an-organization" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/actions/self-hosted-runner-groups#update-a-self-hosted-runner-group-for-an-organization" }, "parameters": [ { @@ -129632,7 +130539,7 @@ ], "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#delete-a-self-hosted-runner-group-from-an-organization" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/actions/self-hosted-runner-groups#delete-a-self-hosted-runner-group-from-an-organization" }, "parameters": [ { @@ -129677,7 +130584,7 @@ ], "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#list-github-hosted-runners-in-a-group-for-an-organization" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/actions/self-hosted-runner-groups#list-github-hosted-runners-in-a-group-for-an-organization" }, "parameters": [ { @@ -129700,7 +130607,7 @@ }, { "name": "per_page", - "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -129709,7 +130616,7 @@ }, { "name": "page", - "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -129996,7 +130903,7 @@ ], "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#list-repository-access-to-a-self-hosted-runner-group-in-an-organization" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/actions/self-hosted-runner-groups#list-repository-access-to-a-self-hosted-runner-group-in-an-organization" }, "parameters": [ { @@ -130019,7 +130926,7 @@ }, { "name": "page", - "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -130028,7 +130935,7 @@ }, { "name": "per_page", - "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -131093,7 +132000,7 @@ ], "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#set-repository-access-for-a-self-hosted-runner-group-in-an-organization" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/actions/self-hosted-runner-groups#set-repository-access-for-a-self-hosted-runner-group-in-an-organization" }, "parameters": [ { @@ -131171,7 +132078,7 @@ ], "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#add-repository-access-to-a-self-hosted-runner-group-in-an-organization" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/actions/self-hosted-runner-groups#add-repository-access-to-a-self-hosted-runner-group-in-an-organization" }, "parameters": [ { @@ -131223,7 +132130,7 @@ ], "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#remove-repository-access-to-a-self-hosted-runner-group-in-an-organization" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/actions/self-hosted-runner-groups#remove-repository-access-to-a-self-hosted-runner-group-in-an-organization" }, "parameters": [ { @@ -131277,7 +132184,7 @@ ], "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#list-self-hosted-runners-in-a-group-for-an-organization" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/actions/self-hosted-runner-groups#list-self-hosted-runners-in-a-group-for-an-organization" }, "parameters": [ { @@ -131300,7 +132207,7 @@ }, { "name": "per_page", - "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -131309,7 +132216,7 @@ }, { "name": "page", - "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -131504,7 +132411,7 @@ ], "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#set-self-hosted-runners-in-a-group-for-an-organization" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/actions/self-hosted-runner-groups#set-self-hosted-runners-in-a-group-for-an-organization" }, "parameters": [ { @@ -131582,7 +132489,7 @@ ], "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#add-a-self-hosted-runner-to-a-group-for-an-organization" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/actions/self-hosted-runner-groups#add-a-self-hosted-runner-to-a-group-for-an-organization" }, "parameters": [ { @@ -131634,7 +132541,7 @@ ], "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#remove-a-self-hosted-runner-from-a-group-for-an-organization" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/actions/self-hosted-runner-groups#remove-a-self-hosted-runner-from-a-group-for-an-organization" }, "parameters": [ { @@ -131688,7 +132595,7 @@ "operationId": "actions/list-self-hosted-runners-for-org", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#list-self-hosted-runners-for-an-organization" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/actions/self-hosted-runners#list-self-hosted-runners-for-an-organization" }, "parameters": [ { @@ -131710,7 +132617,7 @@ }, { "name": "per_page", - "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -131719,7 +132626,7 @@ }, { "name": "page", - "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -131916,7 +132823,7 @@ "operationId": "actions/list-runner-applications-for-org", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#list-runner-applications-for-an-organization" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/actions/self-hosted-runners#list-runner-applications-for-an-organization" }, "parameters": [ { @@ -132027,7 +132934,7 @@ "operationId": "actions/generate-runner-jitconfig-for-org", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#create-configuration-for-a-just-in-time-runner-for-an-organization" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/actions/self-hosted-runners#create-configuration-for-a-just-in-time-runner-for-an-organization" }, "parameters": [ { @@ -132327,7 +133234,7 @@ "operationId": "actions/create-registration-token-for-org", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#create-a-registration-token-for-an-organization" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/actions/self-hosted-runners#create-a-registration-token-for-an-organization" }, "parameters": [ { @@ -133165,7 +134072,7 @@ "operationId": "actions/create-remove-token-for-org", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#create-a-remove-token-for-an-organization" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/actions/self-hosted-runners#create-a-remove-token-for-an-organization" }, "parameters": [ { @@ -134003,7 +134910,7 @@ "operationId": "actions/get-self-hosted-runner-for-org", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#get-a-self-hosted-runner-for-an-organization" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/actions/self-hosted-runners#get-a-self-hosted-runner-for-an-organization" }, "parameters": [ { @@ -134159,7 +135066,7 @@ "operationId": "actions/delete-self-hosted-runner-from-org", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#delete-a-self-hosted-runner-from-an-organization" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/actions/self-hosted-runners#delete-a-self-hosted-runner-from-an-organization" }, "parameters": [ { @@ -134234,7 +135141,7 @@ "operationId": "actions/list-labels-for-self-hosted-runner-for-org", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#list-labels-for-a-self-hosted-runner-for-an-organization" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/actions/self-hosted-runners#list-labels-for-a-self-hosted-runner-for-an-organization" }, "parameters": [ { @@ -134377,7 +135284,7 @@ "operationId": "actions/add-custom-labels-to-self-hosted-runner-for-org", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#add-custom-labels-to-a-self-hosted-runner-for-an-organization" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/actions/self-hosted-runners#add-custom-labels-to-a-self-hosted-runner-for-an-organization" }, "parameters": [ { @@ -134584,7 +135491,7 @@ "operationId": "actions/set-custom-labels-for-self-hosted-runner-for-org", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#set-custom-labels-for-a-self-hosted-runner-for-an-organization" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/actions/self-hosted-runners#set-custom-labels-for-a-self-hosted-runner-for-an-organization" }, "parameters": [ { @@ -134791,7 +135698,7 @@ "operationId": "actions/remove-all-custom-labels-from-self-hosted-runner-for-org", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#remove-all-custom-labels-from-a-self-hosted-runner-for-an-organization" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/actions/self-hosted-runners#remove-all-custom-labels-from-a-self-hosted-runner-for-an-organization" }, "parameters": [ { @@ -134931,7 +135838,7 @@ "operationId": "actions/remove-custom-label-from-self-hosted-runner-for-org", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#remove-a-custom-label-from-a-self-hosted-runner-for-an-organization" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/actions/self-hosted-runners#remove-a-custom-label-from-a-self-hosted-runner-for-an-organization" }, "parameters": [ { @@ -135115,7 +136022,7 @@ "operationId": "actions/list-org-secrets", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#list-organization-secrets" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#list-organization-secrets" }, "parameters": [ { @@ -135129,7 +136036,7 @@ }, { "name": "per_page", - "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -135138,7 +136045,7 @@ }, { "name": "page", - "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -135264,7 +136171,7 @@ "operationId": "actions/get-org-public-key", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-an-organization-public-key" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#get-an-organization-public-key" }, "parameters": [ { @@ -135349,7 +136256,7 @@ "operationId": "actions/get-org-secret", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-an-organization-secret" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#get-an-organization-secret" }, "parameters": [ { @@ -135440,14 +136347,14 @@ }, "put": { "summary": "Create or update an organization secret", - "description": "Creates or updates an organization secret with an encrypted value. Encrypt your secret using\n[LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages). For more information, see \"[Encrypting secrets for the REST API](https://docs.github.com/enterprise-cloud@latest//rest/guides/encrypting-secrets-for-the-rest-api).\"\n\nAuthenticated users must have collaborator access to a repository to create, update, or read secrets.\n\nOAuth tokens and personal access tokens (classic) need the`admin:org` scope to use this endpoint. If the repository is private, OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint.", + "description": "Creates or updates an organization secret with an encrypted value. Encrypt your secret using\n[LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages). For more information, see \"[Encrypting secrets for the REST API](https://docs.github.com/enterprise-cloud@latest/rest/guides/encrypting-secrets-for-the-rest-api).\"\n\nAuthenticated users must have collaborator access to a repository to create, update, or read secrets.\n\nOAuth tokens and personal access tokens (classic) need the`admin:org` scope to use this endpoint. If the repository is private, OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint.", "tags": [ "actions" ], "operationId": "actions/create-or-update-org-secret", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#create-or-update-an-organization-secret" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#create-or-update-an-organization-secret" }, "parameters": [ { @@ -135478,7 +136385,7 @@ "properties": { "encrypted_value": { "type": "string", - "description": "Value for your secret, encrypted with [LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages) using the public key retrieved from the [Get an organization public key](https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-an-organization-public-key) endpoint.", + "description": "Value for your secret, encrypted with [LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages) using the public key retrieved from the [Get an organization public key](https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#get-an-organization-public-key) endpoint.", "pattern": "^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=|[A-Za-z0-9+/]{4})$" }, "key_id": { @@ -135496,7 +136403,7 @@ }, "selected_repository_ids": { "type": "array", - "description": "An array of repository ids that can access the organization secret. You can only provide a list of repository ids when the `visibility` is set to `selected`. You can manage the list of selected repositories using the [List selected repositories for an organization secret](https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#list-selected-repositories-for-an-organization-secret), [Set selected repositories for an organization secret](https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#set-selected-repositories-for-an-organization-secret), and [Remove selected repository from an organization secret](https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#remove-selected-repository-from-an-organization-secret) endpoints.", + "description": "An array of repository ids that can access the organization secret. You can only provide a list of repository ids when the `visibility` is set to `selected`. You can manage the list of selected repositories using the [List selected repositories for an organization secret](https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#list-selected-repositories-for-an-organization-secret), [Set selected repositories for an organization secret](https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#set-selected-repositories-for-an-organization-secret), and [Remove selected repository from an organization secret](https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#remove-selected-repository-from-an-organization-secret) endpoints.", "items": { "type": "integer" } @@ -135564,7 +136471,7 @@ "operationId": "actions/delete-org-secret", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#delete-an-organization-secret" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#delete-an-organization-secret" }, "parameters": [ { @@ -135609,7 +136516,7 @@ "operationId": "actions/list-selected-repos-for-org-secret", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#list-selected-repositories-for-an-organization-secret" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#list-selected-repositories-for-an-organization-secret" }, "parameters": [ { @@ -135632,7 +136539,7 @@ }, { "name": "page", - "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -135641,7 +136548,7 @@ }, { "name": "per_page", - "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -136527,14 +137434,14 @@ }, "put": { "summary": "Set selected repositories for an organization secret", - "description": "Replaces all repositories for an organization secret when the `visibility`\nfor repository access is set to `selected`. The visibility is set when you [Create\nor update an organization secret](https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#create-or-update-an-organization-secret).\n\nAuthenticated users must have collaborator access to a repository to create, update, or read secrets.\n\nOAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, the `repo` scope is also required.", + "description": "Replaces all repositories for an organization secret when the `visibility`\nfor repository access is set to `selected`. The visibility is set when you [Create\nor update an organization secret](https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#create-or-update-an-organization-secret).\n\nAuthenticated users must have collaborator access to a repository to create, update, or read secrets.\n\nOAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, the `repo` scope is also required.", "tags": [ "actions" ], "operationId": "actions/set-selected-repos-for-org-secret", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#set-selected-repositories-for-an-organization-secret" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#set-selected-repositories-for-an-organization-secret" }, "parameters": [ { @@ -136565,7 +137472,7 @@ "properties": { "selected_repository_ids": { "type": "array", - "description": "An array of repository ids that can access the organization secret. You can only provide a list of repository ids when the `visibility` is set to `selected`. You can add and remove individual repositories using the [Add selected repository to an organization secret](https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#add-selected-repository-to-an-organization-secret) and [Remove selected repository from an organization secret](https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#remove-selected-repository-from-an-organization-secret) endpoints.", + "description": "An array of repository ids that can access the organization secret. You can only provide a list of repository ids when the `visibility` is set to `selected`. You can add and remove individual repositories using the [Add selected repository to an organization secret](https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#add-selected-repository-to-an-organization-secret) and [Remove selected repository from an organization secret](https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#remove-selected-repository-from-an-organization-secret) endpoints.", "items": { "type": "integer" } @@ -136603,14 +137510,14 @@ "/orgs/{org}/actions/secrets/{secret_name}/repositories/{repository_id}": { "put": { "summary": "Add selected repository to an organization secret", - "description": "Adds a repository to an organization secret when the `visibility` for\nrepository access is set to `selected`. For more information about setting the visibility, see [Create or\nupdate an organization secret](https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#create-or-update-an-organization-secret).\n\nAuthenticated users must have collaborator access to a repository to create, update, or read secrets.\n\nOAuth tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint.", + "description": "Adds a repository to an organization secret when the `visibility` for\nrepository access is set to `selected`. For more information about setting the visibility, see [Create or\nupdate an organization secret](https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#create-or-update-an-organization-secret).\n\nAuthenticated users must have collaborator access to a repository to create, update, or read secrets.\n\nOAuth tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint.", "tags": [ "actions" ], "operationId": "actions/add-selected-repo-to-org-secret", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#add-selected-repository-to-an-organization-secret" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#add-selected-repository-to-an-organization-secret" }, "parameters": [ { @@ -136657,14 +137564,14 @@ }, "delete": { "summary": "Remove selected repository from an organization secret", - "description": "Removes a repository from an organization secret when the `visibility`\nfor repository access is set to `selected`. The visibility is set when you [Create\nor update an organization secret](https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#create-or-update-an-organization-secret).\n\nAuthenticated users must have collaborator access to a repository to create, update, or read secrets.\n\nOAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, the `repo` scope is also required.", + "description": "Removes a repository from an organization secret when the `visibility`\nfor repository access is set to `selected`. The visibility is set when you [Create\nor update an organization secret](https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#create-or-update-an-organization-secret).\n\nAuthenticated users must have collaborator access to a repository to create, update, or read secrets.\n\nOAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, the `repo` scope is also required.", "tags": [ "actions" ], "operationId": "actions/remove-selected-repo-from-org-secret", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#remove-selected-repository-from-an-organization-secret" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#remove-selected-repository-from-an-organization-secret" }, "parameters": [ { @@ -136720,7 +137627,7 @@ "operationId": "actions/list-org-variables", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-organization-variables" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#list-organization-variables" }, "parameters": [ { @@ -136734,7 +137641,7 @@ }, { "name": "per_page", - "description": "The number of results per page (max 30). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The number of results per page (max 30). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -136743,7 +137650,7 @@ }, { "name": "page", - "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -136880,7 +137787,7 @@ "operationId": "actions/create-org-variable", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#create-an-organization-variable" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#create-an-organization-variable" }, "parameters": [ { @@ -136986,7 +137893,7 @@ "operationId": "actions/get-org-variable", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#get-an-organization-variable" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#get-an-organization-variable" }, "parameters": [ { @@ -137095,7 +138002,7 @@ "operationId": "actions/update-org-variable", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#update-an-organization-variable" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#update-an-organization-variable" }, "parameters": [ { @@ -137187,7 +138094,7 @@ "operationId": "actions/delete-org-variable", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#delete-an-organization-variable" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#delete-an-organization-variable" }, "parameters": [ { @@ -137232,7 +138139,7 @@ "operationId": "actions/list-selected-repos-for-org-variable", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-selected-repositories-for-an-organization-variable" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#list-selected-repositories-for-an-organization-variable" }, "parameters": [ { @@ -137255,7 +138162,7 @@ }, { "name": "page", - "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -137264,7 +138171,7 @@ }, { "name": "per_page", - "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -138160,7 +139067,7 @@ "operationId": "actions/set-selected-repos-for-org-variable", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#set-selected-repositories-for-an-organization-variable" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#set-selected-repositories-for-an-organization-variable" }, "parameters": [ { @@ -138239,7 +139146,7 @@ "operationId": "actions/add-selected-repo-to-org-variable", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#add-selected-repository-to-an-organization-variable" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#add-selected-repository-to-an-organization-variable" }, "parameters": [ { @@ -138293,7 +139200,7 @@ "operationId": "actions/remove-selected-repo-from-org-variable", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#remove-selected-repository-from-an-organization-variable" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#remove-selected-repository-from-an-organization-variable" }, "parameters": [ { @@ -138349,7 +139256,7 @@ "operationId": "announcement-banners/get-announcement-banner-for-org", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/announcement-banners/organizations#get-announcement-banner-for-organization" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/announcement-banners/organizations#get-announcement-banner-for-organization" }, "parameters": [ { @@ -138374,7 +139281,7 @@ "properties": { "announcement": { "type": "string", - "description": "The announcement text in GitHub Flavored Markdown. For more information about GitHub Flavored Markdown, see \"[Basic writing and formatting syntax](https://docs.github.com/enterprise-cloud@latest//github/writing-on-github/getting-started-with-writing-and-formatting-on-github/basic-writing-and-formatting-syntax).\"", + "description": "The announcement text in GitHub Flavored Markdown. For more information about GitHub Flavored Markdown, see \"[Basic writing and formatting syntax](https://docs.github.com/enterprise-cloud@latest/github/writing-on-github/getting-started-with-writing-and-formatting-on-github/basic-writing-and-formatting-syntax).\"", "example": "Very **important** announcement about _something_.", "nullable": true }, @@ -138429,7 +139336,7 @@ "operationId": "announcement-banners/set-announcement-banner-for-org", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/announcement-banners/organizations#set-announcement-banner-for-organization" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/announcement-banners/organizations#set-announcement-banner-for-organization" }, "requestBody": { "required": true, @@ -138442,7 +139349,7 @@ "properties": { "announcement": { "type": "string", - "description": "The announcement text in GitHub Flavored Markdown. For more information about GitHub Flavored Markdown, see \"[Basic writing and formatting syntax](https://docs.github.com/enterprise-cloud@latest//github/writing-on-github/getting-started-with-writing-and-formatting-on-github/basic-writing-and-formatting-syntax).\"", + "description": "The announcement text in GitHub Flavored Markdown. For more information about GitHub Flavored Markdown, see \"[Basic writing and formatting syntax](https://docs.github.com/enterprise-cloud@latest/github/writing-on-github/getting-started-with-writing-and-formatting-on-github/basic-writing-and-formatting-syntax).\"", "example": "Very **important** announcement about _something_.", "nullable": true }, @@ -138501,7 +139408,7 @@ "properties": { "announcement": { "type": "string", - "description": "The announcement text in GitHub Flavored Markdown. For more information about GitHub Flavored Markdown, see \"[Basic writing and formatting syntax](https://docs.github.com/enterprise-cloud@latest//github/writing-on-github/getting-started-with-writing-and-formatting-on-github/basic-writing-and-formatting-syntax).\"", + "description": "The announcement text in GitHub Flavored Markdown. For more information about GitHub Flavored Markdown, see \"[Basic writing and formatting syntax](https://docs.github.com/enterprise-cloud@latest/github/writing-on-github/getting-started-with-writing-and-formatting-on-github/basic-writing-and-formatting-syntax).\"", "example": "Very **important** announcement about _something_.", "nullable": true }, @@ -138556,7 +139463,7 @@ "operationId": "announcement-banners/remove-announcement-banner-for-org", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/announcement-banners/organizations#remove-announcement-banner-from-organization" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/announcement-banners/organizations#remove-announcement-banner-from-organization" }, "parameters": [ { @@ -138592,7 +139499,7 @@ "operationId": "orgs/create-artifact-deployment-record", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/orgs/artifact-metadata#create-an-artifact-deployment-record" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/orgs/artifact-metadata#create-an-artifact-deployment-record" }, "parameters": [ { @@ -138901,7 +139808,7 @@ "operationId": "orgs/set-cluster-deployment-records", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/orgs/artifact-metadata#set-cluster-deployment-records" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/orgs/artifact-metadata#set-cluster-deployment-records" }, "parameters": [ { @@ -139257,7 +140164,7 @@ "operationId": "orgs/create-artifact-storage-record", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/orgs/artifact-metadata#create-artifact-metadata-storage-record" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/orgs/artifact-metadata#create-artifact-metadata-storage-record" }, "parameters": [ { @@ -139520,7 +140427,7 @@ "operationId": "orgs/list-artifact-deployment-records", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/orgs/artifact-metadata#list-artifact-deployment-records" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/orgs/artifact-metadata#list-artifact-deployment-records" }, "parameters": [ { @@ -139665,7 +140572,7 @@ "operationId": "orgs/list-artifact-storage-records", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/orgs/artifact-metadata#list-artifact-storage-records" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/orgs/artifact-metadata#list-artifact-storage-records" }, "parameters": [ { @@ -139775,19 +140682,19 @@ "/orgs/{org}/attestations/bulk-list": { "post": { "summary": "List attestations by bulk subject digests", - "description": "List a collection of artifact attestations associated with any entry in a list of subject digests owned by an organization.\n\nThe collection of attestations returned by this endpoint is filtered according to the authenticated user's permissions; if the authenticated user cannot read a repository, the attestations associated with that repository will not be included in the response. In addition, when using a fine-grained access token the `attestations:read` permission is required.\n\n**Please note:** in order to offer meaningful security benefits, an attestation's signature and timestamps **must** be cryptographically verified, and the identity of the attestation signer **must** be validated. Attestations can be verified using the [GitHub CLI `attestation verify` command](https://cli.github.com/manual/gh_attestation_verify). For more information, see [our guide on how to use artifact attestations to establish a build's provenance](https://docs.github.com/enterprise-cloud@latest//actions/security-guides/using-artifact-attestations-to-establish-provenance-for-builds).", + "description": "List a collection of artifact attestations associated with any entry in a list of subject digests owned by an organization.\n\nThe collection of attestations returned by this endpoint is filtered according to the authenticated user's permissions; if the authenticated user cannot read a repository, the attestations associated with that repository will not be included in the response. In addition, when using a fine-grained access token the `attestations:read` permission is required.\n\n**Please note:** in order to offer meaningful security benefits, an attestation's signature and timestamps **must** be cryptographically verified, and the identity of the attestation signer **must** be validated. Attestations can be verified using the [GitHub CLI `attestation verify` command](https://cli.github.com/manual/gh_attestation_verify). For more information, see [our guide on how to use artifact attestations to establish a build's provenance](https://docs.github.com/enterprise-cloud@latest/actions/security-guides/using-artifact-attestations-to-establish-provenance-for-builds).", "tags": [ "orgs" ], "operationId": "orgs/list-attestations-bulk", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/orgs/attestations#list-attestations-by-bulk-subject-digests" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/orgs/attestations#list-attestations-by-bulk-subject-digests" }, "parameters": [ { "name": "per_page", - "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -139796,7 +140703,7 @@ }, { "name": "before", - "description": "A cursor, as given in the [Link header](https://docs.github.com/enterprise-cloud@latest//rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for results before this cursor. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "A cursor, as given in the [Link header](https://docs.github.com/enterprise-cloud@latest/rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for results before this cursor. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "required": false, "schema": { @@ -139805,7 +140712,7 @@ }, { "name": "after", - "description": "A cursor, as given in the [Link header](https://docs.github.com/enterprise-cloud@latest//rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for results after this cursor. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "A cursor, as given in the [Link header](https://docs.github.com/enterprise-cloud@latest/rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for results after this cursor. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "required": false, "schema": { @@ -140095,7 +141002,7 @@ "operationId": "orgs/delete-attestations-bulk", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/orgs/attestations#delete-attestations-in-bulk" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/orgs/attestations#delete-attestations-in-bulk" }, "parameters": [ { @@ -140222,7 +141129,7 @@ "operationId": "orgs/delete-attestations-by-subject-digest", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/orgs/attestations#delete-attestations-by-subject-digest" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/orgs/attestations#delete-attestations-by-subject-digest" }, "parameters": [ { @@ -140297,12 +141204,12 @@ "operationId": "orgs/list-attestation-repositories", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/orgs/attestations#list-attestation-repositories" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/orgs/attestations#list-attestation-repositories" }, "parameters": [ { "name": "per_page", - "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -140311,7 +141218,7 @@ }, { "name": "before", - "description": "A cursor, as given in the [Link header](https://docs.github.com/enterprise-cloud@latest//rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for results before this cursor. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "A cursor, as given in the [Link header](https://docs.github.com/enterprise-cloud@latest/rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for results before this cursor. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "required": false, "schema": { @@ -140320,7 +141227,7 @@ }, { "name": "after", - "description": "A cursor, as given in the [Link header](https://docs.github.com/enterprise-cloud@latest//rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for results after this cursor. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "A cursor, as given in the [Link header](https://docs.github.com/enterprise-cloud@latest/rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for results after this cursor. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "required": false, "schema": { @@ -140401,7 +141308,7 @@ "operationId": "orgs/delete-attestations-by-id", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/orgs/attestations#delete-attestations-by-id" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/orgs/attestations#delete-attestations-by-id" }, "parameters": [ { @@ -140494,19 +141401,19 @@ "/orgs/{org}/attestations/{subject_digest}": { "get": { "summary": "List attestations", - "description": "List a collection of artifact attestations with a given subject digest that are associated with repositories owned by an organization.\n\nThe collection of attestations returned by this endpoint is filtered according to the authenticated user's permissions; if the authenticated user cannot read a repository, the attestations associated with that repository will not be included in the response. In addition, when using a fine-grained access token the `attestations:read` permission is required.\n\n**Please note:** in order to offer meaningful security benefits, an attestation's signature and timestamps **must** be cryptographically verified, and the identity of the attestation signer **must** be validated. Attestations can be verified using the [GitHub CLI `attestation verify` command](https://cli.github.com/manual/gh_attestation_verify). For more information, see [our guide on how to use artifact attestations to establish a build's provenance](https://docs.github.com/enterprise-cloud@latest//actions/security-guides/using-artifact-attestations-to-establish-provenance-for-builds).", + "description": "List a collection of artifact attestations with a given subject digest that are associated with repositories owned by an organization.\n\nThe collection of attestations returned by this endpoint is filtered according to the authenticated user's permissions; if the authenticated user cannot read a repository, the attestations associated with that repository will not be included in the response. In addition, when using a fine-grained access token the `attestations:read` permission is required.\n\n**Please note:** in order to offer meaningful security benefits, an attestation's signature and timestamps **must** be cryptographically verified, and the identity of the attestation signer **must** be validated. Attestations can be verified using the [GitHub CLI `attestation verify` command](https://cli.github.com/manual/gh_attestation_verify). For more information, see [our guide on how to use artifact attestations to establish a build's provenance](https://docs.github.com/enterprise-cloud@latest/actions/security-guides/using-artifact-attestations-to-establish-provenance-for-builds).", "tags": [ "orgs" ], "operationId": "orgs/list-attestations", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/orgs/attestations#list-attestations" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/orgs/attestations#list-attestations" }, "parameters": [ { "name": "per_page", - "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -140515,7 +141422,7 @@ }, { "name": "before", - "description": "A cursor, as given in the [Link header](https://docs.github.com/enterprise-cloud@latest//rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for results before this cursor. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "A cursor, as given in the [Link header](https://docs.github.com/enterprise-cloud@latest/rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for results before this cursor. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "required": false, "schema": { @@ -140524,7 +141431,7 @@ }, { "name": "after", - "description": "A cursor, as given in the [Link header](https://docs.github.com/enterprise-cloud@latest//rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for results after this cursor. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "A cursor, as given in the [Link header](https://docs.github.com/enterprise-cloud@latest/rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for results after this cursor. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "required": false, "schema": { @@ -140752,14 +141659,14 @@ "/orgs/{org}/audit-log": { "get": { "summary": "Get the audit log for an organization", - "description": "Gets the audit log for an organization. For more information, see \"[Reviewing the audit log for your organization](https://docs.github.com/enterprise-cloud@latest//github/setting-up-and-managing-organizations-and-teams/reviewing-the-audit-log-for-your-organization).\"\n\nBy default, the response includes up to 30 events from the past three months. Use the `phrase` parameter to filter results and retrieve older events. For example, use the `phrase` parameter with the `created` qualifier to filter events based on when the events occurred. For more information, see \"[Reviewing the audit log for your organization](https://docs.github.com/enterprise-cloud@latest//organizations/keeping-your-organization-secure/managing-security-settings-for-your-organization/reviewing-the-audit-log-for-your-organization#searching-the-audit-log).\"\n\nUse pagination to retrieve fewer or more than 30 events. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/guides/using-pagination-in-the-rest-api).\"\n\nThis endpoint has a rate limit of 1,750 queries per hour per user and IP address. If your integration receives a rate limit error (typically a 403 or 429 response), it should wait before making another request to the GitHub API. For more information, see \"[Rate limits for the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/rate-limits-for-the-rest-api)\" and \"[Best practices for integrators](https://docs.github.com/enterprise-cloud@latest//rest/guides/best-practices-for-integrators).\"\n\nThe authenticated user must be an organization owner to use this endpoint.\n\nOAuth app tokens and personal access tokens (classic) need the `read:audit_log` scope to use this endpoint.", + "description": "Gets the audit log for an organization. For more information, see \"[Reviewing the audit log for your organization](https://docs.github.com/enterprise-cloud@latest/github/setting-up-and-managing-organizations-and-teams/reviewing-the-audit-log-for-your-organization).\"\n\nBy default, the response includes up to 30 events from the past three months. Use the `phrase` parameter to filter results and retrieve older events. For example, use the `phrase` parameter with the `created` qualifier to filter events based on when the events occurred. For more information, see \"[Reviewing the audit log for your organization](https://docs.github.com/enterprise-cloud@latest/organizations/keeping-your-organization-secure/managing-security-settings-for-your-organization/reviewing-the-audit-log-for-your-organization#searching-the-audit-log).\"\n\nUse pagination to retrieve fewer or more than 30 events. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/guides/using-pagination-in-the-rest-api).\"\n\nThis endpoint has a rate limit of 1,750 queries per hour per user and IP address. If your integration receives a rate limit error (typically a 403 or 429 response), it should wait before making another request to the GitHub API. For more information, see \"[Rate limits for the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/rate-limits-for-the-rest-api)\" and \"[Best practices for integrators](https://docs.github.com/enterprise-cloud@latest/rest/guides/best-practices-for-integrators).\"\n\nThe authenticated user must be an organization owner to use this endpoint.\n\nOAuth app tokens and personal access tokens (classic) need the `read:audit_log` scope to use this endpoint.", "operationId": "orgs/get-audit-log", "tags": [ "orgs" ], "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#get-the-audit-log-for-an-organization" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/orgs/orgs#get-the-audit-log-for-an-organization" }, "parameters": [ { @@ -140773,7 +141680,7 @@ }, { "name": "phrase", - "description": "A search phrase. For more information, see [Searching the audit log](https://docs.github.com/enterprise-cloud@latest//github/setting-up-and-managing-organizations-and-teams/reviewing-the-audit-log-for-your-organization#searching-the-audit-log).", + "description": "A search phrase. For more information, see [Searching the audit log](https://docs.github.com/enterprise-cloud@latest/github/setting-up-and-managing-organizations-and-teams/reviewing-the-audit-log-for-your-organization#searching-the-audit-log).", "in": "query", "required": false, "schema": { @@ -140796,7 +141703,7 @@ }, { "name": "after", - "description": "A cursor, as given in the [Link header](https://docs.github.com/enterprise-cloud@latest//rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for events after this cursor.", + "description": "A cursor, as given in the [Link header](https://docs.github.com/enterprise-cloud@latest/rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for events after this cursor.", "in": "query", "required": false, "schema": { @@ -140805,7 +141712,7 @@ }, { "name": "before", - "description": "A cursor, as given in the [Link header](https://docs.github.com/enterprise-cloud@latest//rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for events before this cursor.", + "description": "A cursor, as given in the [Link header](https://docs.github.com/enterprise-cloud@latest/rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for events before this cursor.", "in": "query", "required": false, "schema": { @@ -140827,7 +141734,7 @@ }, { "name": "per_page", - "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -141064,7 +141971,7 @@ "operationId": "orgs/list-blocked-users", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/orgs/blocking#list-users-blocked-by-an-organization" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/orgs/blocking#list-users-blocked-by-an-organization" }, "parameters": [ { @@ -141078,7 +141985,7 @@ }, { "name": "per_page", - "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -141087,7 +141994,7 @@ }, { "name": "page", - "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -141275,7 +142182,7 @@ "operationId": "orgs/check-blocked-user", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/orgs/blocking#check-if-a-user-is-blocked-by-an-organization" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/orgs/blocking#check-if-a-user-is-blocked-by-an-organization" }, "parameters": [ { @@ -141344,7 +142251,7 @@ "operationId": "orgs/block-user", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/orgs/blocking#block-a-user-from-an-organization" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/orgs/blocking#block-a-user-from-an-organization" }, "parameters": [ { @@ -141456,7 +142363,7 @@ "operationId": "orgs/unblock-user", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/orgs/blocking#unblock-a-user-from-an-organization" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/orgs/blocking#unblock-a-user-from-an-organization" }, "parameters": [ { @@ -141501,7 +142408,7 @@ "operationId": "orgs/list-push-bypass-requests", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/orgs/bypass-requests#list-push-rule-bypass-requests-within-an-organization" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/orgs/bypass-requests#list-push-rule-bypass-requests-within-an-organization" }, "x-github": { "githubCloudOnly": true, @@ -141583,7 +142490,7 @@ }, { "name": "per_page", - "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -141592,7 +142499,7 @@ }, { "name": "page", - "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -141955,7 +142862,7 @@ "operationId": "secret-scanning/list-org-bypass-requests", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/delegated-bypass#list-bypass-requests-for-secret-scanning-for-an-org" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/secret-scanning/delegated-bypass#list-bypass-requests-for-secret-scanning-for-an-org" }, "x-github": { "githubCloudOnly": true, @@ -142037,7 +142944,7 @@ }, { "name": "per_page", - "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -142046,7 +142953,7 @@ }, { "name": "page", - "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -142408,7 +143315,7 @@ "operationId": "campaigns/list-org-campaigns", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/campaigns/campaigns#list-campaigns-for-an-organization" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/campaigns/campaigns#list-campaigns-for-an-organization" }, "parameters": [ { @@ -142422,7 +143329,7 @@ }, { "name": "page", - "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -142431,7 +143338,7 @@ }, { "name": "per_page", - "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -143072,7 +143979,7 @@ "operationId": "campaigns/create-campaign", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/campaigns/campaigns#create-a-campaign-for-an-organization" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/campaigns/campaigns#create-a-campaign-for-an-organization" }, "parameters": [ { @@ -143816,7 +144723,7 @@ "operationId": "campaigns/get-campaign-summary", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/campaigns/campaigns#get-a-campaign-for-an-organization" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/campaigns/campaigns#get-a-campaign-for-an-organization" }, "parameters": [ { @@ -144413,7 +145320,7 @@ "operationId": "campaigns/update-campaign", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/campaigns/campaigns#update-a-campaign" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/campaigns/campaigns#update-a-campaign" }, "parameters": [ { @@ -145105,7 +146012,7 @@ "operationId": "campaigns/delete-campaign", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/campaigns/campaigns#delete-a-campaign-for-an-organization" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/campaigns/campaigns#delete-a-campaign-for-an-organization" }, "parameters": [ { @@ -145190,14 +146097,14 @@ "/orgs/{org}/code-scanning/alerts": { "get": { "summary": "List code scanning alerts for an organization", - "description": "Lists code scanning alerts for the default branch for all eligible repositories in an organization. Eligible repositories are repositories that are owned by organizations that you own or for which you are a security manager. For more information, see \"[Managing security managers in your organization](https://docs.github.com/enterprise-cloud@latest//organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization).\"\n\nThe authenticated user must be an owner or security manager for the organization to use this endpoint.\n\nOAuth app tokens and personal access tokens (classic) need the `security_events` or `repo`s cope to use this endpoint with private or public repositories, or the `public_repo` scope to use this endpoint with only public repositories.", + "description": "Lists code scanning alerts for the default branch for all eligible repositories in an organization. Eligible repositories are repositories that are owned by organizations that you own or for which you are a security manager. For more information, see \"[Managing security managers in your organization](https://docs.github.com/enterprise-cloud@latest/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization).\"\n\nThe authenticated user must be an owner or security manager for the organization to use this endpoint.\n\nOAuth app tokens and personal access tokens (classic) need the `security_events` or `repo`s cope to use this endpoint with private or public repositories, or the `public_repo` scope to use this endpoint with only public repositories.", "tags": [ "code-scanning" ], "operationId": "code-scanning/list-alerts-for-org", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#list-code-scanning-alerts-for-an-organization" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/code-scanning/code-scanning#list-code-scanning-alerts-for-an-organization" }, "parameters": [ { @@ -145232,7 +146139,7 @@ }, { "name": "before", - "description": "A cursor, as given in the [Link header](https://docs.github.com/enterprise-cloud@latest//rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for results before this cursor. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "A cursor, as given in the [Link header](https://docs.github.com/enterprise-cloud@latest/rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for results before this cursor. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "required": false, "schema": { @@ -145241,7 +146148,7 @@ }, { "name": "after", - "description": "A cursor, as given in the [Link header](https://docs.github.com/enterprise-cloud@latest//rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for results after this cursor. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "A cursor, as given in the [Link header](https://docs.github.com/enterprise-cloud@latest/rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for results after this cursor. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "required": false, "schema": { @@ -145250,7 +146157,7 @@ }, { "name": "page", - "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -145259,7 +146166,7 @@ }, { "name": "per_page", - "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -146734,7 +147641,7 @@ "operationId": "code-security/get-configurations-for-org", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#get-code-security-configurations-for-an-organization" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/code-security/configurations#get-code-security-configurations-for-an-organization" }, "parameters": [ { @@ -146763,7 +147670,7 @@ { "name": "per_page", "in": "query", - "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "required": false, "schema": { "type": "integer", @@ -146772,7 +147679,7 @@ }, { "name": "before", - "description": "A cursor, as given in the [Link header](https://docs.github.com/enterprise-cloud@latest//rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for results before this cursor. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "A cursor, as given in the [Link header](https://docs.github.com/enterprise-cloud@latest/rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for results before this cursor. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "required": false, "schema": { @@ -146781,7 +147688,7 @@ }, { "name": "after", - "description": "A cursor, as given in the [Link header](https://docs.github.com/enterprise-cloud@latest//rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for results after this cursor. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "A cursor, as given in the [Link header](https://docs.github.com/enterprise-cloud@latest/rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for results after this cursor. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "required": false, "schema": { @@ -147227,7 +148134,7 @@ "operationId": "code-security/create-configuration", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#create-a-code-security-configuration" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/code-security/configurations#create-a-code-security-configuration" }, "parameters": [ { @@ -147931,7 +148838,7 @@ "operationId": "code-security/get-default-configurations", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#get-default-code-security-configurations" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/code-security/configurations#get-default-code-security-configurations" }, "parameters": [ { @@ -148416,7 +149323,7 @@ "operationId": "code-security/detach-configuration", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#detach-configurations-from-repositories" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/code-security/configurations#detach-configurations-from-repositories" }, "parameters": [ { @@ -148436,6 +149343,9 @@ "schema": { "type": "object", "additionalProperties": false, + "required": [ + "selected_repository_ids" + ], "properties": { "selected_repository_ids": { "type": "array", @@ -148624,7 +149534,7 @@ "operationId": "code-security/get-configuration", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#get-a-code-security-configuration" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/code-security/configurations#get-a-code-security-configuration" }, "parameters": [ { @@ -149071,7 +149981,7 @@ "operationId": "code-security/update-configuration", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#update-a-code-security-configuration" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/code-security/configurations#update-a-code-security-configuration" }, "parameters": [ { @@ -149753,7 +150663,7 @@ "operationId": "code-security/delete-configuration", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#delete-a-code-security-configuration" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/code-security/configurations#delete-a-code-security-configuration" }, "parameters": [ { @@ -149936,7 +150846,7 @@ "operationId": "code-security/attach-configuration", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#attach-a-configuration-to-repositories" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/code-security/configurations#attach-a-configuration-to-repositories" }, "parameters": [ { @@ -150040,7 +150950,7 @@ "operationId": "code-security/set-configuration-as-default", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#set-a-code-security-configuration-as-a-default-for-an-organization" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/code-security/configurations#set-a-code-security-configuration-as-a-default-for-an-organization" }, "parameters": [ { @@ -150536,7 +151446,7 @@ "operationId": "code-security/get-repositories-for-configuration", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#get-repositories-associated-with-a-code-security-configuration" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/code-security/configurations#get-repositories-associated-with-a-code-security-configuration" }, "parameters": [ { @@ -150559,7 +151469,7 @@ }, { "name": "per_page", - "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "required": false, "schema": { @@ -150569,7 +151479,7 @@ }, { "name": "before", - "description": "A cursor, as given in the [Link header](https://docs.github.com/enterprise-cloud@latest//rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for results before this cursor. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "A cursor, as given in the [Link header](https://docs.github.com/enterprise-cloud@latest/rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for results before this cursor. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "required": false, "schema": { @@ -150578,7 +151488,7 @@ }, { "name": "after", - "description": "A cursor, as given in the [Link header](https://docs.github.com/enterprise-cloud@latest//rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for results after this cursor. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "A cursor, as given in the [Link header](https://docs.github.com/enterprise-cloud@latest/rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for results after this cursor. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "required": false, "schema": { @@ -151198,12 +152108,12 @@ "operationId": "codespaces/list-in-organization", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organizations#list-codespaces-for-the-organization" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/codespaces/organizations#list-codespaces-for-the-organization" }, "parameters": [ { "name": "per_page", - "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -151212,7 +152122,7 @@ }, { "name": "page", - "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -153130,7 +154040,7 @@ "operationId": "codespaces/set-codespaces-access", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organizations#manage-access-control-for-organization-codespaces" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/codespaces/organizations#manage-access-control-for-organization-codespaces" }, "parameters": [ { @@ -153331,14 +154241,14 @@ "/orgs/{org}/codespaces/access/selected_users": { "post": { "summary": "Add users to Codespaces access for an organization", - "description": "Codespaces for the specified users will be billed to the organization.\n\nTo use this endpoint, the access settings for the organization must be set to `selected_members`.\nFor information on how to change this setting, see \"[Manage access control for organization codespaces](https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organizations#manage-access-control-for-organization-codespaces).\"\n\nOAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint.", + "description": "Codespaces for the specified users will be billed to the organization.\n\nTo use this endpoint, the access settings for the organization must be set to `selected_members`.\nFor information on how to change this setting, see \"[Manage access control for organization codespaces](https://docs.github.com/enterprise-cloud@latest/rest/codespaces/organizations#manage-access-control-for-organization-codespaces).\"\n\nOAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint.", "tags": [ "codespaces" ], "operationId": "codespaces/set-codespaces-access-users", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organizations#add-users-to-codespaces-access-for-an-organization" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/codespaces/organizations#add-users-to-codespaces-access-for-an-organization" }, "parameters": [ { @@ -153526,14 +154436,14 @@ }, "delete": { "summary": "Remove users from Codespaces access for an organization", - "description": "Codespaces for the specified users will no longer be billed to the organization.\n\nTo use this endpoint, the access settings for the organization must be set to `selected_members`.\nFor information on how to change this setting, see \"[Manage access control for organization codespaces](https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organizations#manage-access-control-for-organization-codespaces).\"\n\nOAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint.", + "description": "Codespaces for the specified users will no longer be billed to the organization.\n\nTo use this endpoint, the access settings for the organization must be set to `selected_members`.\nFor information on how to change this setting, see \"[Manage access control for organization codespaces](https://docs.github.com/enterprise-cloud@latest/rest/codespaces/organizations#manage-access-control-for-organization-codespaces).\"\n\nOAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint.", "tags": [ "codespaces" ], "operationId": "codespaces/delete-codespaces-access-users", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organizations#remove-users-from-codespaces-access-for-an-organization" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/codespaces/organizations#remove-users-from-codespaces-access-for-an-organization" }, "deprecated": true, "parameters": [ @@ -153730,7 +154640,7 @@ "operationId": "codespaces/list-org-secrets", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#list-organization-secrets" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/codespaces/organization-secrets#list-organization-secrets" }, "parameters": [ { @@ -153744,7 +154654,7 @@ }, { "name": "per_page", - "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -153753,7 +154663,7 @@ }, { "name": "page", - "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -153875,7 +154785,7 @@ "operationId": "codespaces/get-org-public-key", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#get-an-organization-public-key" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/codespaces/organization-secrets#get-an-organization-public-key" }, "parameters": [ { @@ -153960,7 +154870,7 @@ "operationId": "codespaces/get-org-secret", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#get-an-organization-secret" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/codespaces/organization-secrets#get-an-organization-secret" }, "parameters": [ { @@ -154061,14 +154971,14 @@ }, "put": { "summary": "Create or update an organization secret", - "description": "Creates or updates an organization development environment secret with an encrypted value. Encrypt your secret using\n[LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages). For more information, see \"[Encrypting secrets for the REST API](https://docs.github.com/enterprise-cloud@latest//rest/guides/encrypting-secrets-for-the-rest-api).\"\n\nOAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint.", + "description": "Creates or updates an organization development environment secret with an encrypted value. Encrypt your secret using\n[LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages). For more information, see \"[Encrypting secrets for the REST API](https://docs.github.com/enterprise-cloud@latest/rest/guides/encrypting-secrets-for-the-rest-api).\"\n\nOAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint.", "tags": [ "codespaces" ], "operationId": "codespaces/create-or-update-org-secret", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#create-or-update-an-organization-secret" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/codespaces/organization-secrets#create-or-update-an-organization-secret" }, "parameters": [ { @@ -154099,7 +155009,7 @@ "properties": { "encrypted_value": { "type": "string", - "description": "The value for your secret, encrypted with [LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages) using the public key retrieved from the [Get an organization public key](https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#get-an-organization-public-key) endpoint.", + "description": "The value for your secret, encrypted with [LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages) using the public key retrieved from the [Get an organization public key](https://docs.github.com/enterprise-cloud@latest/rest/codespaces/organization-secrets#get-an-organization-public-key) endpoint.", "pattern": "^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=|[A-Za-z0-9+/]{4})$" }, "key_id": { @@ -154117,7 +155027,7 @@ }, "selected_repository_ids": { "type": "array", - "description": "An array of repository IDs that can access the organization secret. You can only provide a list of repository IDs when the `visibility` is set to `selected`. You can manage the list of selected repositories using the [List selected repositories for an organization secret](https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#list-selected-repositories-for-an-organization-secret), [Set selected repositories for an organization secret](https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#set-selected-repositories-for-an-organization-secret), and [Remove selected repository from an organization secret](https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#remove-selected-repository-from-an-organization-secret) endpoints.", + "description": "An array of repository IDs that can access the organization secret. You can only provide a list of repository IDs when the `visibility` is set to `selected`. You can manage the list of selected repositories using the [List selected repositories for an organization secret](https://docs.github.com/enterprise-cloud@latest/rest/codespaces/organization-secrets#list-selected-repositories-for-an-organization-secret), [Set selected repositories for an organization secret](https://docs.github.com/enterprise-cloud@latest/rest/codespaces/organization-secrets#set-selected-repositories-for-an-organization-secret), and [Remove selected repository from an organization secret](https://docs.github.com/enterprise-cloud@latest/rest/codespaces/organization-secrets#remove-selected-repository-from-an-organization-secret) endpoints.", "items": { "type": "integer" } @@ -154278,7 +155188,7 @@ "operationId": "codespaces/delete-org-secret", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#delete-an-organization-secret" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/codespaces/organization-secrets#delete-an-organization-secret" }, "parameters": [ { @@ -154349,7 +155259,7 @@ "operationId": "codespaces/list-selected-repos-for-org-secret", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#list-selected-repositories-for-an-organization-secret" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/codespaces/organization-secrets#list-selected-repositories-for-an-organization-secret" }, "parameters": [ { @@ -154372,7 +155282,7 @@ }, { "name": "page", - "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -154381,7 +155291,7 @@ }, { "name": "per_page", - "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -155293,14 +156203,14 @@ }, "put": { "summary": "Set selected repositories for an organization secret", - "description": "Replaces all repositories for an organization development environment secret when the `visibility`\nfor repository access is set to `selected`. The visibility is set when you [Create\nor update an organization secret](https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#create-or-update-an-organization-secret).\n\nOAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint.", + "description": "Replaces all repositories for an organization development environment secret when the `visibility`\nfor repository access is set to `selected`. The visibility is set when you [Create\nor update an organization secret](https://docs.github.com/enterprise-cloud@latest/rest/codespaces/organization-secrets#create-or-update-an-organization-secret).\n\nOAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint.", "tags": [ "codespaces" ], "operationId": "codespaces/set-selected-repos-for-org-secret", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#set-selected-repositories-for-an-organization-secret" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/codespaces/organization-secrets#set-selected-repositories-for-an-organization-secret" }, "parameters": [ { @@ -155331,7 +156241,7 @@ "properties": { "selected_repository_ids": { "type": "array", - "description": "An array of repository ids that can access the organization secret. You can only provide a list of repository ids when the `visibility` is set to `selected`. You can add and remove individual repositories using the [Set selected repositories for an organization secret](https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#set-selected-repositories-for-an-organization-secret) and [Remove selected repository from an organization secret](https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#remove-selected-repository-from-an-organization-secret) endpoints.", + "description": "An array of repository ids that can access the organization secret. You can only provide a list of repository ids when the `visibility` is set to `selected`. You can add and remove individual repositories using the [Set selected repositories for an organization secret](https://docs.github.com/enterprise-cloud@latest/rest/codespaces/organization-secrets#set-selected-repositories-for-an-organization-secret) and [Remove selected repository from an organization secret](https://docs.github.com/enterprise-cloud@latest/rest/codespaces/organization-secrets#remove-selected-repository-from-an-organization-secret) endpoints.", "items": { "type": "integer" } @@ -155398,14 +156308,14 @@ "/orgs/{org}/codespaces/secrets/{secret_name}/repositories/{repository_id}": { "put": { "summary": "Add selected repository to an organization secret", - "description": "Adds a repository to an organization development environment secret when the `visibility` for repository access is set to `selected`. The visibility is set when you [Create or update an organization secret](https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#create-or-update-an-organization-secret).\nOAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint.", + "description": "Adds a repository to an organization development environment secret when the `visibility` for repository access is set to `selected`. The visibility is set when you [Create or update an organization secret](https://docs.github.com/enterprise-cloud@latest/rest/codespaces/organization-secrets#create-or-update-an-organization-secret).\nOAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint.", "tags": [ "codespaces" ], "operationId": "codespaces/add-selected-repo-to-org-secret", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#add-selected-repository-to-an-organization-secret" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/codespaces/organization-secrets#add-selected-repository-to-an-organization-secret" }, "parameters": [ { @@ -155547,14 +156457,14 @@ }, "delete": { "summary": "Remove selected repository from an organization secret", - "description": "Removes a repository from an organization development environment secret when the `visibility`\nfor repository access is set to `selected`. The visibility is set when you [Create\nor update an organization secret](https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#create-or-update-an-organization-secret).\n\nOAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint.", + "description": "Removes a repository from an organization development environment secret when the `visibility`\nfor repository access is set to `selected`. The visibility is set when you [Create\nor update an organization secret](https://docs.github.com/enterprise-cloud@latest/rest/codespaces/organization-secrets#create-or-update-an-organization-secret).\n\nOAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint.", "tags": [ "codespaces" ], "operationId": "codespaces/remove-selected-repo-from-org-secret", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#remove-selected-repository-from-an-organization-secret" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/codespaces/organization-secrets#remove-selected-repository-from-an-organization-secret" }, "parameters": [ { @@ -155698,14 +156608,14 @@ "/orgs/{org}/copilot/billing": { "get": { "summary": "Get Copilot seat information and settings for an organization", - "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nGets information about an organization's Copilot subscription, including seat breakdown\nand feature policies. To configure these settings, go to your organization's settings on GitHub.com.\nFor more information, see \"[Managing policies for Copilot in your organization](https://docs.github.com/enterprise-cloud@latest//copilot/managing-copilot/managing-policies-for-copilot-business-in-your-organization).\"\n\nOnly organization owners can view details about the organization's Copilot Business or Copilot Enterprise subscription.\n\nOAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `read:org` scopes to use this endpoint.", + "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nGets information about an organization's Copilot subscription, including seat breakdown\nand feature policies. To configure these settings, go to your organization's settings on GitHub.com.\nFor more information, see \"[Managing policies for Copilot in your organization](https://docs.github.com/enterprise-cloud@latest/copilot/managing-copilot/managing-policies-for-copilot-business-in-your-organization).\"\n\nOnly organization owners can view details about the organization's Copilot Business or Copilot Enterprise subscription.\n\nOAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `read:org` scopes to use this endpoint.", "tags": [ "copilot" ], "operationId": "copilot/get-copilot-organization-details", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-user-management#get-copilot-seat-information-and-settings-for-an-organization" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/copilot/copilot-user-management#get-copilot-seat-information-and-settings-for-an-organization" }, "parameters": [ { @@ -155963,14 +156873,14 @@ "/orgs/{org}/copilot/billing/seats": { "get": { "summary": "List all Copilot seat assignments for an organization", - "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nLists all Copilot seats for which an organization with a Copilot Business or Copilot Enterprise subscription is currently being billed.\nOnly organization owners can view assigned seats.\n\nEach seat object contains information about the assigned user's most recent Copilot activity. Users must have telemetry enabled in their IDE for Copilot in the IDE activity to be reflected in `last_activity_at`.\nFor more information about activity data, see [Metrics data properties for GitHub Copilot](https://docs.github.com/enterprise-cloud@latest//copilot/reference/metrics-data).\n\nOAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `read:org` scopes to use this endpoint.", + "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nLists all Copilot seats for which an organization with a Copilot Business or Copilot Enterprise subscription is currently being billed.\nOnly organization owners can view assigned seats.\n\nEach seat object contains information about the assigned user's most recent Copilot activity. Users must have telemetry enabled in their IDE for Copilot in the IDE activity to be reflected in `last_activity_at`.\nFor more information about activity data, see [Metrics data properties for GitHub Copilot](https://docs.github.com/enterprise-cloud@latest/copilot/reference/metrics-data).\n\nOAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `read:org` scopes to use this endpoint.", "tags": [ "copilot" ], "operationId": "copilot/list-copilot-seats", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-user-management#list-all-copilot-seat-assignments-for-an-organization" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/copilot/copilot-user-management#list-all-copilot-seat-assignments-for-an-organization" }, "parameters": [ { @@ -155984,7 +156894,7 @@ }, { "name": "page", - "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -155993,7 +156903,7 @@ }, { "name": "per_page", - "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -156766,14 +157676,14 @@ "/orgs/{org}/copilot/billing/selected_teams": { "post": { "summary": "Add teams to the Copilot subscription for an organization", - "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nPurchases a GitHub Copilot seat for all users within each specified team.\nThe organization will be billed for each seat based on the organization's Copilot plan. For more information about Copilot pricing, see \"[About billing for GitHub Copilot in your organization](https://docs.github.com/enterprise-cloud@latest//copilot/managing-copilot/managing-github-copilot-in-your-organization/managing-the-copilot-subscription-for-your-organization/about-billing-for-github-copilot-in-your-organization).\"\n\nOnly organization owners can purchase Copilot seats for their organization members. The organization must have a Copilot Business or Copilot Enterprise subscription and a configured suggestion matching policy.\nFor more information about setting up a Copilot subscription, see \"[Subscribing to Copilot for your organization](https://docs.github.com/enterprise-cloud@latest//copilot/managing-copilot/managing-github-copilot-in-your-organization/managing-the-copilot-subscription-for-your-organization/subscribing-to-copilot-for-your-organization).\"\nFor more information about setting a suggestion matching policy, see \"[Managing policies for Copilot in your organization](https://docs.github.com/enterprise-cloud@latest//copilot/managing-copilot/managing-github-copilot-in-your-organization/setting-policies-for-copilot-in-your-organization/managing-policies-for-copilot-in-your-organization#policies-for-suggestion-matching).\"\n\nThe response contains the total number of new seats that were created and existing seats that were refreshed.\n\nOAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `admin:org` scopes to use this endpoint.", + "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nPurchases a GitHub Copilot seat for all users within each specified team.\nThe organization will be billed for each seat based on the organization's Copilot plan. For more information about Copilot pricing, see \"[About billing for GitHub Copilot in your organization](https://docs.github.com/enterprise-cloud@latest/copilot/managing-copilot/managing-github-copilot-in-your-organization/managing-the-copilot-subscription-for-your-organization/about-billing-for-github-copilot-in-your-organization).\"\n\nOnly organization owners can purchase Copilot seats for their organization members. The organization must have a Copilot Business or Copilot Enterprise subscription and a configured suggestion matching policy.\nFor more information about setting up a Copilot subscription, see \"[Subscribing to Copilot for your organization](https://docs.github.com/enterprise-cloud@latest/copilot/managing-copilot/managing-github-copilot-in-your-organization/managing-the-copilot-subscription-for-your-organization/subscribing-to-copilot-for-your-organization).\"\nFor more information about setting a suggestion matching policy, see \"[Managing policies for Copilot in your organization](https://docs.github.com/enterprise-cloud@latest/copilot/managing-copilot/managing-github-copilot-in-your-organization/setting-policies-for-copilot-in-your-organization/managing-policies-for-copilot-in-your-organization#policies-for-suggestion-matching).\"\n\nThe response contains the total number of new seats that were created and existing seats that were refreshed.\n\nOAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `admin:org` scopes to use this endpoint.", "tags": [ "copilot" ], "operationId": "copilot/add-copilot-seats-for-teams", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-user-management#add-teams-to-the-copilot-subscription-for-an-organization" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/copilot/copilot-user-management#add-teams-to-the-copilot-subscription-for-an-organization" }, "parameters": [ { @@ -156964,14 +157874,14 @@ }, "delete": { "summary": "Remove teams from the Copilot subscription for an organization", - "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nSets seats for all members of each team specified to \"pending cancellation\".\nThis will cause the members of the specified team(s) to lose access to GitHub Copilot at the end of the current billing cycle unless they retain access through another team.\nFor more information about disabling access to Copilot, see \"[Revoking access to Copilot for members of your organization](https://docs.github.com/enterprise-cloud@latest//copilot/managing-copilot/managing-github-copilot-in-your-organization/managing-access-to-github-copilot-in-your-organization/revoking-access-to-copilot-for-members-of-your-organization).\"\n\nOnly organization owners can cancel Copilot seats for their organization members.\n\nThe response contains the total number of seats set to \"pending cancellation\".\n\nOAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `admin:org` scopes to use this endpoint.", + "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nSets seats for all members of each team specified to \"pending cancellation\".\nThis will cause the members of the specified team(s) to lose access to GitHub Copilot at the end of the current billing cycle unless they retain access through another team.\nFor more information about disabling access to Copilot, see \"[Revoking access to Copilot for members of your organization](https://docs.github.com/enterprise-cloud@latest/copilot/managing-copilot/managing-github-copilot-in-your-organization/managing-access-to-github-copilot-in-your-organization/revoking-access-to-copilot-for-members-of-your-organization).\"\n\nOnly organization owners can cancel Copilot seats for their organization members.\n\nThe response contains the total number of seats set to \"pending cancellation\".\n\nOAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `admin:org` scopes to use this endpoint.", "tags": [ "copilot" ], "operationId": "copilot/cancel-copilot-seat-assignment-for-teams", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-user-management#remove-teams-from-the-copilot-subscription-for-an-organization" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/copilot/copilot-user-management#remove-teams-from-the-copilot-subscription-for-an-organization" }, "parameters": [ { @@ -157164,14 +158074,14 @@ "/orgs/{org}/copilot/billing/selected_users": { "post": { "summary": "Add users to the Copilot subscription for an organization", - "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nPurchases a GitHub Copilot seat for each user specified.\nThe organization will be billed for each seat based on the organization's Copilot plan. For more information about Copilot pricing, see \"[About billing for GitHub Copilot in your organization](https://docs.github.com/enterprise-cloud@latest//copilot/managing-copilot/managing-github-copilot-in-your-organization/managing-the-copilot-subscription-for-your-organization/about-billing-for-github-copilot-in-your-organization).\"\n\nOnly organization owners can purchase Copilot seats for their organization members. The organization must have a Copilot Business or Copilot Enterprise subscription and a configured suggestion matching policy.\nFor more information about setting up a Copilot subscription, see \"[Subscribing to Copilot for your organization](https://docs.github.com/enterprise-cloud@latest//copilot/managing-copilot/managing-github-copilot-in-your-organization/managing-the-copilot-subscription-for-your-organization/subscribing-to-copilot-for-your-organization).\"\nFor more information about setting a suggestion matching policy, see \"[Managing policies for Copilot in your organization](https://docs.github.com/enterprise-cloud@latest//copilot/managing-copilot/managing-github-copilot-in-your-organization/setting-policies-for-copilot-in-your-organization/managing-policies-for-copilot-in-your-organization#policies-for-suggestion-matching).\"\n\nThe response contains the total number of new seats that were created and existing seats that were refreshed.\n\nOAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `admin:org` scopes to use this endpoint.", + "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nPurchases a GitHub Copilot seat for each user specified.\nThe organization will be billed for each seat based on the organization's Copilot plan. For more information about Copilot pricing, see \"[About billing for GitHub Copilot in your organization](https://docs.github.com/enterprise-cloud@latest/copilot/managing-copilot/managing-github-copilot-in-your-organization/managing-the-copilot-subscription-for-your-organization/about-billing-for-github-copilot-in-your-organization).\"\n\nOnly organization owners can purchase Copilot seats for their organization members. The organization must have a Copilot Business or Copilot Enterprise subscription and a configured suggestion matching policy.\nFor more information about setting up a Copilot subscription, see \"[Subscribing to Copilot for your organization](https://docs.github.com/enterprise-cloud@latest/copilot/managing-copilot/managing-github-copilot-in-your-organization/managing-the-copilot-subscription-for-your-organization/subscribing-to-copilot-for-your-organization).\"\nFor more information about setting a suggestion matching policy, see \"[Managing policies for Copilot in your organization](https://docs.github.com/enterprise-cloud@latest/copilot/managing-copilot/managing-github-copilot-in-your-organization/setting-policies-for-copilot-in-your-organization/managing-policies-for-copilot-in-your-organization#policies-for-suggestion-matching).\"\n\nThe response contains the total number of new seats that were created and existing seats that were refreshed.\n\nOAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `admin:org` scopes to use this endpoint.", "tags": [ "copilot" ], "operationId": "copilot/add-copilot-seats-for-users", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-user-management#add-users-to-the-copilot-subscription-for-an-organization" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/copilot/copilot-user-management#add-users-to-the-copilot-subscription-for-an-organization" }, "parameters": [ { @@ -157362,14 +158272,14 @@ }, "delete": { "summary": "Remove users from the Copilot subscription for an organization", - "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nSets seats for all users specified to \"pending cancellation\".\nThis will cause the specified users to lose access to GitHub Copilot at the end of the current billing cycle unless they retain access through team membership.\nFor more information about disabling access to Copilot, see \"[Revoking access to Copilot for members of your organization](https://docs.github.com/enterprise-cloud@latest//copilot/managing-copilot/managing-github-copilot-in-your-organization/managing-access-to-github-copilot-in-your-organization/revoking-access-to-copilot-for-members-of-your-organization).\"\n\nOnly organization owners can cancel Copilot seats for their organization members.\n\nThe response contains the total number of seats set to \"pending cancellation\".\n\nOAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `admin:org` scopes to use this endpoint.", + "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nSets seats for all users specified to \"pending cancellation\".\nThis will cause the specified users to lose access to GitHub Copilot at the end of the current billing cycle unless they retain access through team membership.\nFor more information about disabling access to Copilot, see \"[Revoking access to Copilot for members of your organization](https://docs.github.com/enterprise-cloud@latest/copilot/managing-copilot/managing-github-copilot-in-your-organization/managing-access-to-github-copilot-in-your-organization/revoking-access-to-copilot-for-members-of-your-organization).\"\n\nOnly organization owners can cancel Copilot seats for their organization members.\n\nThe response contains the total number of seats set to \"pending cancellation\".\n\nOAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `admin:org` scopes to use this endpoint.", "tags": [ "copilot" ], "operationId": "copilot/cancel-copilot-seat-assignment-for-users", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-user-management#remove-users-from-the-copilot-subscription-for-an-organization" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/copilot/copilot-user-management#remove-users-from-the-copilot-subscription-for-an-organization" }, "parameters": [ { @@ -157569,7 +158479,7 @@ "operationId": "copilot/get-copilot-coding-agent-permissions-organization", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-coding-agent-management#get-copilot-coding-agent-permissions-for-an-organization" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/copilot/copilot-coding-agent-management#get-copilot-coding-agent-permissions-for-an-organization" }, "parameters": [ { @@ -157753,7 +158663,7 @@ "operationId": "copilot/set-copilot-coding-agent-permissions-organization", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-coding-agent-management#set-copilot-coding-agent-permissions-for-an-organization" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/copilot/copilot-coding-agent-management#set-copilot-coding-agent-permissions-for-an-organization" }, "parameters": [ { @@ -157993,7 +158903,7 @@ "operationId": "copilot/list-copilot-coding-agent-selected-repositories-for-organization", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-coding-agent-management#list-repositories-enabled-for-copilot-coding-agent-in-an-organization" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/copilot/copilot-coding-agent-management#list-repositories-enabled-for-copilot-coding-agent-in-an-organization" }, "parameters": [ { @@ -158007,7 +158917,7 @@ }, { "name": "per_page", - "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -158016,7 +158926,7 @@ }, { "name": "page", - "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -159211,7 +160121,7 @@ "operationId": "copilot/set-copilot-coding-agent-selected-repositories-for-organization", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-coding-agent-management#set-selected-repositories-for-copilot-coding-agent-in-an-organization" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/copilot/copilot-coding-agent-management#set-selected-repositories-for-copilot-coding-agent-in-an-organization" }, "parameters": [ { @@ -159479,7 +160389,7 @@ "operationId": "copilot/enable-copilot-coding-agent-for-repository-in-organization", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-coding-agent-management#enable-a-repository-for-copilot-coding-agent-in-an-organization" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/copilot/copilot-coding-agent-management#enable-a-repository-for-copilot-coding-agent-in-an-organization" }, "parameters": [ { @@ -159721,7 +160631,7 @@ "operationId": "copilot/disable-copilot-coding-agent-for-repository-in-organization", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-coding-agent-management#disable-a-repository-for-copilot-coding-agent-in-an-organization" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/copilot/copilot-coding-agent-management#disable-a-repository-for-copilot-coding-agent-in-an-organization" }, "parameters": [ { @@ -159889,14 +160799,14 @@ "/orgs/{org}/copilot/content_exclusion": { "get": { "summary": "Get Copilot content exclusion rules for an organization", - "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nGets information about an organization's Copilot content exclusion path rules.\nTo configure these settings, go to the organization's settings on GitHub.\nFor more information, see \"[Excluding content from GitHub Copilot](https://docs.github.com/enterprise-cloud@latest//copilot/managing-copilot/configuring-and-auditing-content-exclusion/excluding-content-from-github-copilot#configuring-content-exclusions-for-your-organization).\"\n\nOrganization owners can view details about Copilot content exclusion rules for the organization.\n\nOAuth app tokens and personal access tokens (classic) need either the `copilot` or `read:org` scopes to use this endpoint.\n\n> [!CAUTION]\n> * At this time, the API does not support comments. This endpoint will not return any comments in the existing rules.\n> * At this time, the API does not support duplicate keys. If your content exclusion configuration contains duplicate keys, the API will return only the last occurrence of that key. For example, if duplicate entries are present, only the final value will be included in the response.", + "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nGets information about an organization's Copilot content exclusion path rules.\nTo configure these settings, go to the organization's settings on GitHub.\nFor more information, see \"[Excluding content from GitHub Copilot](https://docs.github.com/enterprise-cloud@latest/copilot/managing-copilot/configuring-and-auditing-content-exclusion/excluding-content-from-github-copilot#configuring-content-exclusions-for-your-organization).\"\n\nOrganization owners can view details about Copilot content exclusion rules for the organization.\n\nOAuth app tokens and personal access tokens (classic) need either the `copilot` or `read:org` scopes to use this endpoint.\n\n> [!CAUTION]\n> * At this time, the API does not support comments. This endpoint will not return any comments in the existing rules.\n> * At this time, the API does not support duplicate keys. If your content exclusion configuration contains duplicate keys, the API will return only the last occurrence of that key. For example, if duplicate entries are present, only the final value will be included in the response.", "tags": [ "copilot" ], "operationId": "copilot/copilot-content-exclusion-for-organization", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-content-exclusion-management#get-copilot-content-exclusion-rules-for-an-organization" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/copilot/copilot-content-exclusion-management#get-copilot-content-exclusion-rules-for-an-organization" }, "parameters": [ { @@ -160052,14 +160962,14 @@ }, "put": { "summary": "Set Copilot content exclusion rules for an organization", - "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nSets Copilot content exclusion path rules for an organization.\nTo configure these settings, go to the organization's settings on GitHub.\nFor more information, see \"[Excluding content from GitHub Copilot](https://docs.github.com/enterprise-cloud@latest//copilot/managing-copilot/configuring-and-auditing-content-exclusion/excluding-content-from-github-copilot#configuring-content-exclusions-for-your-organization).\"\n\nOrganization owners can set Copilot content exclusion rules for the organization.\n\nOAuth app tokens and personal access tokens (classic) need the `copilot` scope to use this endpoint.\n\n> [!CAUTION]\n> * At this time, the API does not support comments. When using this endpoint, any existing comments in your rules will be deleted.\n> * At this time, the API does not support duplicate keys. If you submit content exclusions through the API with duplicate keys, only the last occurrence will be saved. Earlier entries with the same key will be overwritten.", + "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nSets Copilot content exclusion path rules for an organization.\nTo configure these settings, go to the organization's settings on GitHub.\nFor more information, see \"[Excluding content from GitHub Copilot](https://docs.github.com/enterprise-cloud@latest/copilot/managing-copilot/configuring-and-auditing-content-exclusion/excluding-content-from-github-copilot#configuring-content-exclusions-for-your-organization).\"\n\nOrganization owners can set Copilot content exclusion rules for the organization.\n\nOAuth app tokens and personal access tokens (classic) need the `copilot` scope to use this endpoint.\n\n> [!CAUTION]\n> * At this time, the API does not support comments. When using this endpoint, any existing comments in your rules will be deleted.\n> * At this time, the API does not support duplicate keys. If you submit content exclusions through the API with duplicate keys, only the last occurrence will be saved. Earlier entries with the same key will be overwritten.", "tags": [ "copilot" ], "operationId": "copilot/set-copilot-content-exclusion-for-organization", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-content-exclusion-management#set-copilot-content-exclusion-rules-for-an-organization" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/copilot/copilot-content-exclusion-management#set-copilot-content-exclusion-rules-for-an-organization" }, "parameters": [ { @@ -160336,7 +161246,7 @@ "operationId": "copilot/copilot-metrics-for-organization", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-metrics#get-copilot-metrics-for-an-organization" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/copilot/copilot-metrics#get-copilot-metrics-for-an-organization" }, "parameters": [ { @@ -160368,7 +161278,7 @@ }, { "name": "page", - "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -160377,7 +161287,7 @@ }, { "name": "per_page", - "description": "The number of days of metrics to display per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The number of days of metrics to display per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -160969,14 +161879,14 @@ "/orgs/{org}/copilot/metrics/reports/organization-1-day": { "get": { "summary": "Get Copilot organization usage metrics for a specific day", - "description": "Use this endpoint to retrieve download links for the Copilot organization usage metrics report for a specific day. The report provides comprehensive usage data for Copilot features across the organization.\n\nThe report contains aggregated metrics for the specified day, including usage statistics for various Copilot features, user engagement data, and feature adoption metrics. Reports are generated daily and made available for download through signed URLs with a limited expiration time.\n\nThe response includes download links to the report files, along with the specific date of the report. The report covers a complete day for which data has been processed.\n\nOrganization owners and authorized users with fine-grained \"View Organization Copilot Metrics\" permission can retrieve Copilot metrics reports for the organization. OAuth app tokens and personal access tokens (classic) need the `read:org` scope to use this endpoint.\n\nFor more information about organization metrics attribution, see [How are metrics attributed across organizations](https://docs.github.com/enterprise-cloud@latest//copilot/concepts/copilot-metrics#how-are-metrics-attributed-across-organizations).", + "description": "Use this endpoint to retrieve download links for the Copilot organization usage metrics report for a specific day. The report provides comprehensive usage data for Copilot features across the organization.\n\nThe report contains aggregated metrics for the specified day, including usage statistics for various Copilot features, user engagement data, and feature adoption metrics. Reports are generated daily and made available for download through signed URLs with a limited expiration time.\n\nThe response includes download links to the report files, along with the specific date of the report. The report covers a complete day for which data has been processed.\n\nOrganization owners and authorized users with fine-grained \"View Organization Copilot Metrics\" permission can retrieve Copilot metrics reports for the organization. OAuth app tokens and personal access tokens (classic) need the `read:org` scope to use this endpoint.\n\nFor more information about organization metrics attribution, see [How are metrics attributed across organizations](https://docs.github.com/enterprise-cloud@latest/copilot/concepts/copilot-metrics#how-are-metrics-attributed-across-organizations).", "tags": [ "copilot" ], "operationId": "copilot/copilot-organization-one-day-usage-metrics", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-usage-metrics#get-copilot-organization-usage-metrics-for-a-specific-day" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/copilot/copilot-usage-metrics#get-copilot-organization-usage-metrics-for-a-specific-day" }, "parameters": [ { @@ -161136,14 +162046,14 @@ "/orgs/{org}/copilot/metrics/reports/organization-28-day/latest": { "get": { "summary": "Get Copilot organization usage metrics", - "description": "Use this endpoint to retrieve download links for the latest 28-day organization Copilot usage metrics report. The report provides comprehensive usage data for Copilot features across the organization.\n\nThe report contains aggregated metrics for the previous 28 days, including usage statistics for various Copilot features, user engagement data, and feature adoption metrics. Reports are generated daily and made available for download through signed URLs with a limited expiration time.\n\nThe response includes download links to the report files, along with the specific date range covered by the report. The report covers a complete 28-day period ending on the most recent day for which data has been processed.\n\nOrganization owners and authorized users with fine-grained \"View Organization Copilot Metrics\" permission can retrieve Copilot metrics reports for the organization. OAuth app tokens and personal access tokens (classic) need the `read:org` scope to use this endpoint.\n\nFor more information about organization metrics attribution, see [How are metrics attributed across organizations](https://docs.github.com/enterprise-cloud@latest//copilot/concepts/copilot-metrics#how-are-metrics-attributed-across-organizations).", + "description": "Use this endpoint to retrieve download links for the latest 28-day organization Copilot usage metrics report. The report provides comprehensive usage data for Copilot features across the organization.\n\nThe report contains aggregated metrics for the previous 28 days, including usage statistics for various Copilot features, user engagement data, and feature adoption metrics. Reports are generated daily and made available for download through signed URLs with a limited expiration time.\n\nThe response includes download links to the report files, along with the specific date range covered by the report. The report covers a complete 28-day period ending on the most recent day for which data has been processed.\n\nOrganization owners and authorized users with fine-grained \"View Organization Copilot Metrics\" permission can retrieve Copilot metrics reports for the organization. OAuth app tokens and personal access tokens (classic) need the `read:org` scope to use this endpoint.\n\nFor more information about organization metrics attribution, see [How are metrics attributed across organizations](https://docs.github.com/enterprise-cloud@latest/copilot/concepts/copilot-metrics#how-are-metrics-attributed-across-organizations).", "tags": [ "copilot" ], "operationId": "copilot/copilot-organization-usage-metrics", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-usage-metrics#get-copilot-organization-usage-metrics" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/copilot/copilot-usage-metrics#get-copilot-organization-usage-metrics" }, "parameters": [ { @@ -161296,14 +162206,14 @@ "/orgs/{org}/copilot/metrics/reports/users-1-day": { "get": { "summary": "Get Copilot organization users usage metrics for a specific day", - "description": "Use this endpoint to retrieve download links for the Copilot organization user usage metrics report for a specific day. The report provides detailed user-level usage data and engagement metrics for Copilot features across the organization.\n\nThe report contains user-specific metrics for the specified day, including individual user engagement statistics, feature usage patterns, and adoption metrics broken down by user. This report allows authorized users to analyze Copilot usage at the user level to understand adoption patterns and identify opportunities for increased engagement.\n\nReports are generated daily and made available for download through signed URLs with a limited expiration time. The response includes download links to the report files, along with the specific date of the report. The report covers a complete day for which data has been processed.\n\nOrganization owners and authorized users with fine-grained \"View Organization Copilot Metrics\" permission can retrieve Copilot metrics reports for the organization. OAuth app tokens and personal access tokens (classic) need the `read:org` scope to use this endpoint.\n\nFor more information about organization metrics attribution, see [How are metrics attributed across organizations](https://docs.github.com/enterprise-cloud@latest//copilot/concepts/copilot-metrics#how-are-metrics-attributed-across-organizations).", + "description": "Use this endpoint to retrieve download links for the Copilot organization user usage metrics report for a specific day. The report provides detailed user-level usage data and engagement metrics for Copilot features across the organization.\n\nThe report contains user-specific metrics for the specified day, including individual user engagement statistics, feature usage patterns, and adoption metrics broken down by user. This report allows authorized users to analyze Copilot usage at the user level to understand adoption patterns and identify opportunities for increased engagement.\n\nReports are generated daily and made available for download through signed URLs with a limited expiration time. The response includes download links to the report files, along with the specific date of the report. The report covers a complete day for which data has been processed.\n\nOrganization owners and authorized users with fine-grained \"View Organization Copilot Metrics\" permission can retrieve Copilot metrics reports for the organization. OAuth app tokens and personal access tokens (classic) need the `read:org` scope to use this endpoint.\n\nFor more information about organization metrics attribution, see [How are metrics attributed across organizations](https://docs.github.com/enterprise-cloud@latest/copilot/concepts/copilot-metrics#how-are-metrics-attributed-across-organizations).", "tags": [ "copilot" ], "operationId": "copilot/copilot-organization-users-one-day-usage-metrics", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-usage-metrics#get-copilot-organization-users-usage-metrics-for-a-specific-day" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/copilot/copilot-usage-metrics#get-copilot-organization-users-usage-metrics-for-a-specific-day" }, "parameters": [ { @@ -161463,14 +162373,14 @@ "/orgs/{org}/copilot/metrics/reports/users-28-day/latest": { "get": { "summary": "Get Copilot organization users usage metrics", - "description": "Use this endpoint to retrieve download links for the latest 28-day organization users Copilot usage metrics report. The report provides detailed user-level usage data and engagement metrics for Copilot features across the organization.\n\nThe report contains user-specific metrics for the previous 28 days, including individual user engagement statistics, feature usage patterns, and adoption metrics broken down by user. This report allows authorized users to analyze Copilot usage at the user level to understand adoption patterns and identify opportunities for increased engagement.\n\nReports are generated daily and made available for download through signed URLs with a limited expiration time. The response includes download links to the report files, along with the specific date range covered by the report. The report covers a complete 28-day period ending on the most recent day for which data has been processed.\n\nOrganization owners and authorized users with fine-grained \"View Organization Copilot Metrics\" permission can retrieve Copilot metrics reports for the organization. OAuth app tokens and personal access tokens (classic) need the `read:org` scope to use this endpoint.\n\nFor more information about organization metrics attribution, see [How are metrics attributed across organizations](https://docs.github.com/enterprise-cloud@latest//copilot/concepts/copilot-metrics#how-are-metrics-attributed-across-organizations).", + "description": "Use this endpoint to retrieve download links for the latest 28-day organization users Copilot usage metrics report. The report provides detailed user-level usage data and engagement metrics for Copilot features across the organization.\n\nThe report contains user-specific metrics for the previous 28 days, including individual user engagement statistics, feature usage patterns, and adoption metrics broken down by user. This report allows authorized users to analyze Copilot usage at the user level to understand adoption patterns and identify opportunities for increased engagement.\n\nReports are generated daily and made available for download through signed URLs with a limited expiration time. The response includes download links to the report files, along with the specific date range covered by the report. The report covers a complete 28-day period ending on the most recent day for which data has been processed.\n\nOrganization owners and authorized users with fine-grained \"View Organization Copilot Metrics\" permission can retrieve Copilot metrics reports for the organization. OAuth app tokens and personal access tokens (classic) need the `read:org` scope to use this endpoint.\n\nFor more information about organization metrics attribution, see [How are metrics attributed across organizations](https://docs.github.com/enterprise-cloud@latest/copilot/concepts/copilot-metrics#how-are-metrics-attributed-across-organizations).", "tags": [ "copilot" ], "operationId": "copilot/copilot-organization-users-usage-metrics", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-usage-metrics#get-copilot-organization-users-usage-metrics" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/copilot/copilot-usage-metrics#get-copilot-organization-users-usage-metrics" }, "parameters": [ { @@ -161623,14 +162533,14 @@ "/orgs/{org}/credential-authorizations": { "get": { "summary": "List SAML SSO authorizations for an organization", - "description": "Lists all credential authorizations for an organization that uses SAML single sign-on (SSO). The credentials are either personal access tokens or SSH keys that organization members have authorized for the organization. For more information, see [About authentication with SAML single sign-on](https://docs.github.com/enterprise-cloud@latest//articles/about-authentication-with-saml-single-sign-on).\n\nThe authenticated user must be an organization owner to use this endpoint.\n\nOAuth app tokens and personal access tokens (classic) need the `read:org` scope to use this endpoint.", + "description": "Lists all credential authorizations for an organization that uses SAML single sign-on (SSO). The credentials are either personal access tokens or SSH keys that organization members have authorized for the organization. For more information, see [About authentication with SAML single sign-on](https://docs.github.com/enterprise-cloud@latest/articles/about-authentication-with-saml-single-sign-on).\n\nThe authenticated user must be an organization owner to use this endpoint.\n\nOAuth app tokens and personal access tokens (classic) need the `read:org` scope to use this endpoint.", "tags": [ "orgs" ], "operationId": "orgs/list-saml-sso-authorizations", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#list-saml-sso-authorizations-for-an-organization" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/orgs/orgs#list-saml-sso-authorizations-for-an-organization" }, "parameters": [ { @@ -161644,7 +162554,7 @@ }, { "name": "per_page", - "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -161817,7 +162727,7 @@ "operationId": "orgs/remove-saml-sso-authorization", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#remove-a-saml-sso-authorization-for-an-organization" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/orgs/orgs#remove-a-saml-sso-authorization-for-an-organization" }, "parameters": [ { @@ -161880,14 +162790,14 @@ "/orgs/{org}/custom-repository-roles": { "get": { "summary": "List custom repository roles in an organization", - "description": "List the custom repository roles available in this organization. For more information on custom repository roles, see \"[About custom repository roles](https://docs.github.com/enterprise-cloud@latest//organizations/managing-peoples-access-to-your-organization-with-roles/about-custom-repository-roles).\"\n\nThe authenticated user must be an administrator of the organization or of a repository of the organization to use this endpoint.\n\nOAuth app tokens and personal access tokens (classic) need the `admin:org` or `repo` scope to use this endpoint.", + "description": "List the custom repository roles available in this organization. For more information on custom repository roles, see \"[About custom repository roles](https://docs.github.com/enterprise-cloud@latest/organizations/managing-peoples-access-to-your-organization-with-roles/about-custom-repository-roles).\"\n\nThe authenticated user must be an administrator of the organization or of a repository of the organization to use this endpoint.\n\nOAuth app tokens and personal access tokens (classic) need the `admin:org` or `repo` scope to use this endpoint.", "tags": [ "orgs" ], "operationId": "orgs/list-custom-repo-roles", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#list-custom-repository-roles-in-an-organization" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/orgs/custom-roles#list-custom-repository-roles-in-an-organization" }, "parameters": [ { @@ -162185,14 +163095,14 @@ }, "post": { "summary": "Create a custom repository role", - "description": "Creates a custom repository role that can be used by all repositories owned by the organization. For more information on custom repository roles, see \"[About custom repository roles](https://docs.github.com/enterprise-cloud@latest//organizations/managing-peoples-access-to-your-organization-with-roles/about-custom-repository-roles).\"\n\nThe authenticated user must be an administrator for the organization to use this endpoint.\n\nOAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint.", + "description": "Creates a custom repository role that can be used by all repositories owned by the organization. For more information on custom repository roles, see \"[About custom repository roles](https://docs.github.com/enterprise-cloud@latest/organizations/managing-peoples-access-to-your-organization-with-roles/about-custom-repository-roles).\"\n\nThe authenticated user must be an administrator for the organization to use this endpoint.\n\nOAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint.", "tags": [ "orgs" ], "operationId": "orgs/create-custom-repo-role", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#create-a-custom-repository-role" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/orgs/custom-roles#create-a-custom-repository-role" }, "parameters": [ { @@ -162582,14 +163492,14 @@ "/orgs/{org}/custom-repository-roles/{role_id}": { "get": { "summary": "Get a custom repository role", - "description": "Gets a custom repository role that is available to all repositories owned by the organization. For more information on custom repository roles, see \"[About custom repository roles](https://docs.github.com/enterprise-cloud@latest//organizations/managing-peoples-access-to-your-organization-with-roles/about-custom-repository-roles).\"\n\nThe authenticated user must be an administrator of the organization or of a repository of the organization to use this endpoint.\n\nOAuth app tokens and personal access tokens (classic) need the `admin:org` or `repo` scope to use this endpoint.", + "description": "Gets a custom repository role that is available to all repositories owned by the organization. For more information on custom repository roles, see \"[About custom repository roles](https://docs.github.com/enterprise-cloud@latest/organizations/managing-peoples-access-to-your-organization-with-roles/about-custom-repository-roles).\"\n\nThe authenticated user must be an administrator of the organization or of a repository of the organization to use this endpoint.\n\nOAuth app tokens and personal access tokens (classic) need the `admin:org` or `repo` scope to use this endpoint.", "tags": [ "orgs" ], "operationId": "orgs/get-custom-repo-role", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#get-a-custom-repository-role" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/orgs/custom-roles#get-a-custom-repository-role" }, "parameters": [ { @@ -162862,14 +163772,14 @@ }, "patch": { "summary": "Update a custom repository role", - "description": "Updates a custom repository role that can be used by all repositories owned by the organization. For more information about custom repository roles, see \"[About custom repository roles](https://docs.github.com/enterprise-cloud@latest//organizations/managing-peoples-access-to-your-organization-with-roles/about-custom-repository-roles).\"\n\nThe authenticated user must be an administrator for the organization to use this endpoint.\n\nOAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint.", + "description": "Updates a custom repository role that can be used by all repositories owned by the organization. For more information about custom repository roles, see \"[About custom repository roles](https://docs.github.com/enterprise-cloud@latest/organizations/managing-peoples-access-to-your-organization-with-roles/about-custom-repository-roles).\"\n\nThe authenticated user must be an administrator for the organization to use this endpoint.\n\nOAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint.", "tags": [ "orgs" ], "operationId": "orgs/update-custom-repo-role", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#update-a-custom-repository-role" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/orgs/custom-roles#update-a-custom-repository-role" }, "parameters": [ { @@ -163262,14 +164172,14 @@ }, "delete": { "summary": "Delete a custom repository role", - "description": "Deletes a custom role from an organization. Once the custom role has been deleted, any\nuser, team, or invitation with the deleted custom role will be reassigned the inherited role. For more information about custom repository roles, see \"[About custom repository roles](https://docs.github.com/enterprise-cloud@latest//organizations/managing-peoples-access-to-your-organization-with-roles/about-custom-repository-roles).\"\n\nThe authenticated user must be an administrator for the organization to use this endpoint.\n\nOAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint.", + "description": "Deletes a custom role from an organization. Once the custom role has been deleted, any\nuser, team, or invitation with the deleted custom role will be reassigned the inherited role. For more information about custom repository roles, see \"[About custom repository roles](https://docs.github.com/enterprise-cloud@latest/organizations/managing-peoples-access-to-your-organization-with-roles/about-custom-repository-roles).\"\n\nThe authenticated user must be an administrator for the organization to use this endpoint.\n\nOAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint.", "tags": [ "orgs" ], "operationId": "orgs/delete-custom-repo-role", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#delete-a-custom-repository-role" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/orgs/custom-roles#delete-a-custom-repository-role" }, "parameters": [ { @@ -163307,14 +164217,14 @@ "/orgs/{org}/custom_roles": { "post": { "summary": "Closing down - Create a custom role", - "description": "> [!WARNING]\n> **Closing down notice:** This operation is closing down and will be removed after September 6, 2023. Use the \"[Create a custom repository role](https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#create-a-custom-repository-role)\" endpoint instead.\n\nCreates a custom repository role that can be used by all repositories owned by the organization. For more information on custom repository roles, see \"[About custom repository roles](https://docs.github.com/enterprise-cloud@latest//organizations/managing-peoples-access-to-your-organization-with-roles/about-custom-repository-roles).\"\n\nThe authenticated user must be an administrator for the organization to use this endpoint.\n\nOAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint.", + "description": "> [!WARNING]\n> **Closing down notice:** This operation is closing down and will be removed after September 6, 2023. Use the \"[Create a custom repository role](https://docs.github.com/enterprise-cloud@latest/rest/orgs/custom-roles#create-a-custom-repository-role)\" endpoint instead.\n\nCreates a custom repository role that can be used by all repositories owned by the organization. For more information on custom repository roles, see \"[About custom repository roles](https://docs.github.com/enterprise-cloud@latest/organizations/managing-peoples-access-to-your-organization-with-roles/about-custom-repository-roles).\"\n\nThe authenticated user must be an administrator for the organization to use this endpoint.\n\nOAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint.", "tags": [ "orgs" ], "operationId": "orgs/create-custom-role", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#closing-down---create-a-custom-role" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/orgs/custom-roles#closing-down---create-a-custom-role" }, "parameters": [ { @@ -163707,14 +164617,14 @@ "/orgs/{org}/custom_roles/{role_id}": { "get": { "summary": "Closing down - Get a custom role", - "description": "> [!WARNING]\n> **Closing down notice:** This operation is closing down and will be removed after September 6, 2023. Use the \"[Get a custom repository role](https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#get-a-custom-repository-role)\" endpoint instead.\n\nGets a custom repository role that is available to all repositories owned by the organization. For more information on custom repository roles, see \"[About custom repository roles](https://docs.github.com/enterprise-cloud@latest//organizations/managing-peoples-access-to-your-organization-with-roles/about-custom-repository-roles).\"\n\nThe authenticated user must be an administrator of the organization or of a repository of the organization to use this endpoint.\n\nOAuth app tokens and personal access tokens (classic) need the `admin:org` or `repo` scope to use this endpoint.", + "description": "> [!WARNING]\n> **Closing down notice:** This operation is closing down and will be removed after September 6, 2023. Use the \"[Get a custom repository role](https://docs.github.com/enterprise-cloud@latest/rest/orgs/custom-roles#get-a-custom-repository-role)\" endpoint instead.\n\nGets a custom repository role that is available to all repositories owned by the organization. For more information on custom repository roles, see \"[About custom repository roles](https://docs.github.com/enterprise-cloud@latest/organizations/managing-peoples-access-to-your-organization-with-roles/about-custom-repository-roles).\"\n\nThe authenticated user must be an administrator of the organization or of a repository of the organization to use this endpoint.\n\nOAuth app tokens and personal access tokens (classic) need the `admin:org` or `repo` scope to use this endpoint.", "tags": [ "orgs" ], "operationId": "orgs/get-custom-role", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#closing-down---get-a-custom-role" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/orgs/custom-roles#closing-down---get-a-custom-role" }, "parameters": [ { @@ -163990,14 +164900,14 @@ }, "patch": { "summary": "Closing down - Update a custom role", - "description": "> [!WARNING]\n> **Closing down notice:** This operation is closing down and will be removed after September 6, 2023. Use the \"[Update a custom repository role](https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#update-a-custom-repository-role)\" endpoint instead.\n\nUpdates a custom repository role that can be used by all repositories owned by the organization. For more information about custom repository roles, see \"[About custom repository roles](https://docs.github.com/enterprise-cloud@latest//organizations/managing-peoples-access-to-your-organization-with-roles/about-custom-repository-roles).\"\n\nThe authenticated user must be an administrator for the organization to use this endpoint.\n\nOAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint.", + "description": "> [!WARNING]\n> **Closing down notice:** This operation is closing down and will be removed after September 6, 2023. Use the \"[Update a custom repository role](https://docs.github.com/enterprise-cloud@latest/rest/orgs/custom-roles#update-a-custom-repository-role)\" endpoint instead.\n\nUpdates a custom repository role that can be used by all repositories owned by the organization. For more information about custom repository roles, see \"[About custom repository roles](https://docs.github.com/enterprise-cloud@latest/organizations/managing-peoples-access-to-your-organization-with-roles/about-custom-repository-roles).\"\n\nThe authenticated user must be an administrator for the organization to use this endpoint.\n\nOAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint.", "tags": [ "orgs" ], "operationId": "orgs/update-custom-role", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#closing-down---update-a-custom-role" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/orgs/custom-roles#closing-down---update-a-custom-role" }, "parameters": [ { @@ -164393,14 +165303,14 @@ }, "delete": { "summary": "Closing down - Delete a custom role", - "description": "> [!WARNING]\n> **Closing down notice:** This operation is closing down and will be removed after September 6, 2023. Use the \"[Delete a custom repository role](https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#delete-a-custom-repository-role)\" endpoint instead.\n\nDeletes a custom role from an organization. Once the custom role has been deleted, any\nuser, team, or invitation with the deleted custom role will be reassigned the inherited role. For more information about custom repository roles, see \"[About custom repository roles](https://docs.github.com/enterprise-cloud@latest//organizations/managing-peoples-access-to-your-organization-with-roles/about-custom-repository-roles).\"\n\nThe authenticated user must be an administrator for the organization to use this endpoint.\n\nOAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint.", + "description": "> [!WARNING]\n> **Closing down notice:** This operation is closing down and will be removed after September 6, 2023. Use the \"[Delete a custom repository role](https://docs.github.com/enterprise-cloud@latest/rest/orgs/custom-roles#delete-a-custom-repository-role)\" endpoint instead.\n\nDeletes a custom role from an organization. Once the custom role has been deleted, any\nuser, team, or invitation with the deleted custom role will be reassigned the inherited role. For more information about custom repository roles, see \"[About custom repository roles](https://docs.github.com/enterprise-cloud@latest/organizations/managing-peoples-access-to-your-organization-with-roles/about-custom-repository-roles).\"\n\nThe authenticated user must be an administrator for the organization to use this endpoint.\n\nOAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint.", "tags": [ "orgs" ], "operationId": "orgs/delete-custom-role", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#closing-down---delete-a-custom-role" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/orgs/custom-roles#closing-down---delete-a-custom-role" }, "parameters": [ { @@ -164448,7 +165358,7 @@ "operationId": "dependabot/list-alerts-for-org", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#list-dependabot-alerts-for-an-organization" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/dependabot/alerts#list-dependabot-alerts-for-an-organization" }, "parameters": [ { @@ -164604,7 +165514,7 @@ }, { "name": "before", - "description": "A cursor, as given in the [Link header](https://docs.github.com/enterprise-cloud@latest//rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for results before this cursor. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "A cursor, as given in the [Link header](https://docs.github.com/enterprise-cloud@latest/rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for results before this cursor. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "required": false, "schema": { @@ -164613,7 +165523,7 @@ }, { "name": "after", - "description": "A cursor, as given in the [Link header](https://docs.github.com/enterprise-cloud@latest//rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for results after this cursor. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "A cursor, as given in the [Link header](https://docs.github.com/enterprise-cloud@latest/rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for results after this cursor. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "required": false, "schema": { @@ -164622,7 +165532,7 @@ }, { "name": "per_page", - "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -166502,7 +167412,7 @@ "operationId": "dependabot/repository-access-for-org", "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-organization" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/dependabot/repository-access#lists-the-repositories-dependabot-can-access-in-an-organization" }, "parameters": [ { @@ -167136,7 +168046,7 @@ "operationId": "dependabot/update-repository-access-for-org", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/dependabot/repository-access#updates-dependabots-repository-access-list-for-an-organization" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/dependabot/repository-access#updates-dependabots-repository-access-list-for-an-organization" }, "parameters": [ { @@ -167281,7 +168191,7 @@ "operationId": "dependabot/set-repository-access-default-level", "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" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/dependabot/repository-access#set-the-default-repository-access-level-for-dependabot" }, "parameters": [ { @@ -167401,7 +168311,7 @@ "operationId": "dependabot/list-org-secrets", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#list-organization-secrets" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/dependabot/secrets#list-organization-secrets" }, "parameters": [ { @@ -167415,7 +168325,7 @@ }, { "name": "per_page", - "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -167424,7 +168334,7 @@ }, { "name": "page", - "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -167550,7 +168460,7 @@ "operationId": "dependabot/get-org-public-key", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#get-an-organization-public-key" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/dependabot/secrets#get-an-organization-public-key" }, "parameters": [ { @@ -167619,7 +168529,7 @@ "operationId": "dependabot/get-org-secret", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#get-an-organization-secret" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/dependabot/secrets#get-an-organization-secret" }, "parameters": [ { @@ -167710,14 +168620,14 @@ }, "put": { "summary": "Create or update an organization secret", - "description": "Creates or updates an organization secret with an encrypted value. Encrypt your secret using\n[LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages). For more information, see \"[Encrypting secrets for the REST API](https://docs.github.com/enterprise-cloud@latest//rest/guides/encrypting-secrets-for-the-rest-api).\"\n\nOAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint.", + "description": "Creates or updates an organization secret with an encrypted value. Encrypt your secret using\n[LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages). For more information, see \"[Encrypting secrets for the REST API](https://docs.github.com/enterprise-cloud@latest/rest/guides/encrypting-secrets-for-the-rest-api).\"\n\nOAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint.", "tags": [ "dependabot" ], "operationId": "dependabot/create-or-update-org-secret", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#create-or-update-an-organization-secret" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/dependabot/secrets#create-or-update-an-organization-secret" }, "parameters": [ { @@ -167748,7 +168658,7 @@ "properties": { "encrypted_value": { "type": "string", - "description": "Value for your secret, encrypted with [LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages) using the public key retrieved from the [Get an organization public key](https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#get-an-organization-public-key) endpoint.", + "description": "Value for your secret, encrypted with [LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages) using the public key retrieved from the [Get an organization public key](https://docs.github.com/enterprise-cloud@latest/rest/dependabot/secrets#get-an-organization-public-key) endpoint.", "pattern": "^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=|[A-Za-z0-9+/]{4})$" }, "key_id": { @@ -167766,7 +168676,7 @@ }, "selected_repository_ids": { "type": "array", - "description": "An array of repository ids that can access the organization secret. You can only provide a list of repository ids when the `visibility` is set to `selected`. You can manage the list of selected repositories using the [List selected repositories for an organization secret](https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#list-selected-repositories-for-an-organization-secret), [Set selected repositories for an organization secret](https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#set-selected-repositories-for-an-organization-secret), and [Remove selected repository from an organization secret](https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#remove-selected-repository-from-an-organization-secret) endpoints.", + "description": "An array of repository ids that can access the organization secret. You can only provide a list of repository ids when the `visibility` is set to `selected`. You can manage the list of selected repositories using the [List selected repositories for an organization secret](https://docs.github.com/enterprise-cloud@latest/rest/dependabot/secrets#list-selected-repositories-for-an-organization-secret), [Set selected repositories for an organization secret](https://docs.github.com/enterprise-cloud@latest/rest/dependabot/secrets#set-selected-repositories-for-an-organization-secret), and [Remove selected repository from an organization secret](https://docs.github.com/enterprise-cloud@latest/rest/dependabot/secrets#remove-selected-repository-from-an-organization-secret) endpoints.", "items": { "anyOf": [ { @@ -167839,7 +168749,7 @@ "operationId": "dependabot/delete-org-secret", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#delete-an-organization-secret" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/dependabot/secrets#delete-an-organization-secret" }, "parameters": [ { @@ -167884,7 +168794,7 @@ "operationId": "dependabot/list-selected-repos-for-org-secret", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#list-selected-repositories-for-an-organization-secret" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/dependabot/secrets#list-selected-repositories-for-an-organization-secret" }, "parameters": [ { @@ -167907,7 +168817,7 @@ }, { "name": "page", - "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -167916,7 +168826,7 @@ }, { "name": "per_page", - "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -168802,14 +169712,14 @@ }, "put": { "summary": "Set selected repositories for an organization secret", - "description": "Replaces all repositories for an organization secret when the `visibility`\nfor repository access is set to `selected`. The visibility is set when you [Create\nor update an organization secret](https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#create-or-update-an-organization-secret).\n\nOAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint.", + "description": "Replaces all repositories for an organization secret when the `visibility`\nfor repository access is set to `selected`. The visibility is set when you [Create\nor update an organization secret](https://docs.github.com/enterprise-cloud@latest/rest/dependabot/secrets#create-or-update-an-organization-secret).\n\nOAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint.", "tags": [ "dependabot" ], "operationId": "dependabot/set-selected-repos-for-org-secret", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#set-selected-repositories-for-an-organization-secret" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/dependabot/secrets#set-selected-repositories-for-an-organization-secret" }, "parameters": [ { @@ -168840,7 +169750,7 @@ "properties": { "selected_repository_ids": { "type": "array", - "description": "An array of repository ids that can access the organization secret. You can only provide a list of repository ids when the `visibility` is set to `selected`. You can add and remove individual repositories using the [Set selected repositories for an organization secret](https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#set-selected-repositories-for-an-organization-secret) and [Remove selected repository from an organization secret](https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#remove-selected-repository-from-an-organization-secret) endpoints.", + "description": "An array of repository ids that can access the organization secret. You can only provide a list of repository ids when the `visibility` is set to `selected`. You can add and remove individual repositories using the [Set selected repositories for an organization secret](https://docs.github.com/enterprise-cloud@latest/rest/dependabot/secrets#set-selected-repositories-for-an-organization-secret) and [Remove selected repository from an organization secret](https://docs.github.com/enterprise-cloud@latest/rest/dependabot/secrets#remove-selected-repository-from-an-organization-secret) endpoints.", "items": { "type": "integer" } @@ -168878,14 +169788,14 @@ "/orgs/{org}/dependabot/secrets/{secret_name}/repositories/{repository_id}": { "put": { "summary": "Add selected repository to an organization secret", - "description": "Adds a repository to an organization secret when the `visibility` for\nrepository access is set to `selected`. The visibility is set when you [Create or\nupdate an organization secret](https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#create-or-update-an-organization-secret).\n\nOAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint.", + "description": "Adds a repository to an organization secret when the `visibility` for\nrepository access is set to `selected`. The visibility is set when you [Create or\nupdate an organization secret](https://docs.github.com/enterprise-cloud@latest/rest/dependabot/secrets#create-or-update-an-organization-secret).\n\nOAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint.", "tags": [ "dependabot" ], "operationId": "dependabot/add-selected-repo-to-org-secret", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#add-selected-repository-to-an-organization-secret" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/dependabot/secrets#add-selected-repository-to-an-organization-secret" }, "parameters": [ { @@ -168932,14 +169842,14 @@ }, "delete": { "summary": "Remove selected repository from an organization secret", - "description": "Removes a repository from an organization secret when the `visibility`\nfor repository access is set to `selected`. The visibility is set when you [Create\nor update an organization secret](https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#create-or-update-an-organization-secret).\n\nOAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint.", + "description": "Removes a repository from an organization secret when the `visibility`\nfor repository access is set to `selected`. The visibility is set when you [Create\nor update an organization secret](https://docs.github.com/enterprise-cloud@latest/rest/dependabot/secrets#create-or-update-an-organization-secret).\n\nOAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint.", "tags": [ "dependabot" ], "operationId": "dependabot/remove-selected-repo-from-org-secret", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#remove-selected-repository-from-an-organization-secret" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/dependabot/secrets#remove-selected-repository-from-an-organization-secret" }, "parameters": [ { @@ -168995,7 +169905,7 @@ "operationId": "code-scanning/list-org-dismissal-requests", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/alert-dismissal-requests#list-dismissal-requests-for-code-scanning-alerts-for-an-organization" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/code-scanning/alert-dismissal-requests#list-dismissal-requests-for-code-scanning-alerts-for-an-organization" }, "x-github": { "githubCloudOnly": true, @@ -169074,7 +169984,7 @@ }, { "name": "per_page", - "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -169083,7 +169993,7 @@ }, { "name": "page", - "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -169536,7 +170446,7 @@ "operationId": "dependabot/list-dismissal-requests-for-org", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alert-dismissal-requests#list-dismissal-requests-for-dependabot-alerts-for-an-organization" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/dependabot/alert-dismissal-requests#list-dismissal-requests-for-dependabot-alerts-for-an-organization" }, "x-github": { "githubCloudOnly": true, @@ -169617,7 +170527,7 @@ }, { "name": "per_page", - "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -169626,7 +170536,7 @@ }, { "name": "page", - "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -170012,7 +170922,7 @@ "operationId": "secret-scanning/list-org-dismissal-requests", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/alert-dismissal-requests#list-alert-dismissal-requests-for-secret-scanning-for-an-org" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/secret-scanning/alert-dismissal-requests#list-alert-dismissal-requests-for-secret-scanning-for-an-org" }, "x-github": { "githubCloudOnly": true, @@ -170093,7 +171003,7 @@ }, { "name": "per_page", - "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -170102,7 +171012,7 @@ }, { "name": "page", - "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -170482,7 +171392,7 @@ "operationId": "packages/list-docker-migration-conflicting-packages-for-organization", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#get-list-of-conflicting-packages-during-docker-migration-for-organization" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/packages/packages#get-list-of-conflicting-packages-during-docker-migration-for-organization" }, "parameters": [ { @@ -171607,7 +172517,7 @@ "operationId": "activity/list-public-org-events", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/activity/events#list-public-organization-events" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/activity/events#list-public-organization-events" }, "parameters": [ { @@ -171621,7 +172531,7 @@ }, { "name": "per_page", - "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -171630,7 +172540,7 @@ }, { "name": "page", - "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -181941,14 +182851,14 @@ "/orgs/{org}/external-group/{group_id}": { "get": { "summary": "Get an external group", - "description": "Displays information about the specific group's usage. Provides a list of the group's external members as well as a list of teams that this group is connected to.\n\nYou can manage team membership with your identity provider using Enterprise Managed Users for GitHub Enterprise Cloud. For more information, see \"[GitHub's products](https://docs.github.com/enterprise-cloud@latest//github/getting-started-with-github/githubs-products)\" in the GitHub Help documentation.", + "description": "Displays information about the specific group's usage. Provides a list of the group's external members as well as a list of teams that this group is connected to.\n\nYou can manage team membership with your identity provider using Enterprise Managed Users for GitHub Enterprise Cloud. For more information, see \"[GitHub's products](https://docs.github.com/enterprise-cloud@latest/github/getting-started-with-github/githubs-products)\" in the GitHub Help documentation.", "tags": [ "teams" ], "operationId": "teams/external-idp-group-info-for-org", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/teams/external-groups#get-an-external-group" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/teams/external-groups#get-an-external-group" }, "parameters": [ { @@ -181971,7 +182881,7 @@ }, { "name": "per_page", - "description": "The number of results per page for the \"members\" array (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The number of results per page for the \"members\" array (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -181980,7 +182890,7 @@ }, { "name": "page", - "description": "The page number of the \"members\" array results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The page number of the \"members\" array results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -182151,14 +183061,14 @@ "/orgs/{org}/external-groups": { "get": { "summary": "List external groups available to an organization", - "description": "Lists external groups provisioned on the enterprise that are available to an organization. You can query the groups using the `display_name` parameter, only groups with a `group_name` containing the text provided in the `display_name` parameter will be returned. You can also limit your page results using the `per_page` parameter. GitHub Enterprise Cloud generates a url-encoded `page` token using a cursor value for where the next page begins. For more information on cursor pagination, see \"[Offset and Cursor Pagination explained](https://dev.to/jackmarchant/offset-and-cursor-pagination-explained-b89).\"\n\nYou can manage team membership with your identity provider using Enterprise Managed Users for GitHub Enterprise Cloud. For more information, see \"[GitHub's products](https://docs.github.com/enterprise-cloud@latest//github/getting-started-with-github/githubs-products)\" in the GitHub Help documentation.", + "description": "Lists external groups provisioned on the enterprise that are available to an organization. You can query the groups using the `display_name` parameter, only groups with a `group_name` containing the text provided in the `display_name` parameter will be returned. You can also limit your page results using the `per_page` parameter. GitHub Enterprise Cloud generates a url-encoded `page` token using a cursor value for where the next page begins. For more information on cursor pagination, see \"[Offset and Cursor Pagination explained](https://dev.to/jackmarchant/offset-and-cursor-pagination-explained-b89).\"\n\nYou can manage team membership with your identity provider using Enterprise Managed Users for GitHub Enterprise Cloud. For more information, see \"[GitHub's products](https://docs.github.com/enterprise-cloud@latest/github/getting-started-with-github/githubs-products)\" in the GitHub Help documentation.", "tags": [ "teams" ], "operationId": "teams/list-external-idp-groups-for-org", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/teams/external-groups#list-external-groups-available-to-an-organization" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/teams/external-groups#list-external-groups-available-to-an-organization" }, "parameters": [ { @@ -182172,7 +183082,7 @@ }, { "name": "per_page", - "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -182290,14 +183200,14 @@ "/orgs/{org}/failed_invitations": { "get": { "summary": "List failed organization invitations", - "description": "The return hash contains `failed_at` and `failed_reason` fields which\nrepresent the time at which the invitation failed and the reason for the failure.\n\nThis endpoint is not available for [Enterprise Managed User (EMU) organizations](https://docs.github.com/enterprise-cloud@latest//admin/identity-and-access-management/using-enterprise-managed-users-for-iam/about-enterprise-managed-users).", + "description": "The return hash contains `failed_at` and `failed_reason` fields which\nrepresent the time at which the invitation failed and the reason for the failure.\n\nThis endpoint is not available for [Enterprise Managed User (EMU) organizations](https://docs.github.com/enterprise-cloud@latest/admin/identity-and-access-management/using-enterprise-managed-users-for-iam/about-enterprise-managed-users).", "tags": [ "orgs" ], "operationId": "orgs/list-failed-invitations", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#list-failed-organization-invitations" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/orgs/members#list-failed-organization-invitations" }, "parameters": [ { @@ -182311,7 +183221,7 @@ }, { "name": "per_page", - "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -182320,7 +183230,7 @@ }, { "name": "page", - "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -182607,14 +183517,14 @@ "/orgs/{org}/fine_grained_permissions": { "get": { "summary": "Closing down - List fine-grained permissions for an organization", - "description": "> [!WARNING]\n> **Closing down notice:** This operation is closing down and will be removed after September 6, 2023. Use the \"[List fine-grained repository permissions](https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#list-repository-fine-grained-permissions-for-an-organization)\" endpoint instead.\n\nLists the fine-grained permissions that can be used in custom repository roles for an organization. For more information, see \"[About custom repository roles](https://docs.github.com/enterprise-cloud@latest//organizations/managing-peoples-access-to-your-organization-with-roles/about-custom-repository-roles).\"\n\nTo use this endpoint the authenticated user must be an administrator of the organization or of a repository of the organization.\n\nOAuth app tokens and personal access tokens (classic) need the `admin:org` or `repo` scope to use this endpoint.", + "description": "> [!WARNING]\n> **Closing down notice:** This operation is closing down and will be removed after September 6, 2023. Use the \"[List fine-grained repository permissions](https://docs.github.com/enterprise-cloud@latest/rest/orgs/custom-roles#list-repository-fine-grained-permissions-for-an-organization)\" endpoint instead.\n\nLists the fine-grained permissions that can be used in custom repository roles for an organization. For more information, see \"[About custom repository roles](https://docs.github.com/enterprise-cloud@latest/organizations/managing-peoples-access-to-your-organization-with-roles/about-custom-repository-roles).\"\n\nTo use this endpoint the authenticated user must be an administrator of the organization or of a repository of the organization.\n\nOAuth app tokens and personal access tokens (classic) need the `admin:org` or `repo` scope to use this endpoint.", "tags": [ "orgs" ], "operationId": "orgs/list-fine-grained-permissions", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#closing-down---list-fine-grained-permissions-for-an-organization" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/orgs/custom-roles#closing-down---list-fine-grained-permissions-for-an-organization" }, "parameters": [ { @@ -182695,7 +183605,7 @@ "operationId": "orgs/list-webhooks", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#list-organization-webhooks" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/orgs/webhooks#list-organization-webhooks" }, "parameters": [ { @@ -182709,7 +183619,7 @@ }, { "name": "per_page", - "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -182718,7 +183628,7 @@ }, { "name": "page", - "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -182903,7 +183813,7 @@ "operationId": "orgs/create-webhook", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#create-an-organization-webhook" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/orgs/webhooks#create-an-organization-webhook" }, "parameters": [ { @@ -182944,7 +183854,7 @@ }, "secret": { "type": "string", - "description": "If provided, the `secret` will be used as the `key` to generate the HMAC hex digest value for [delivery signature headers](https://docs.github.com/enterprise-cloud@latest//webhooks/event-payloads/#delivery-headers).", + "description": "If provided, the `secret` will be used as the `key` to generate the HMAC hex digest value for [delivery signature headers](https://docs.github.com/enterprise-cloud@latest/webhooks/event-payloads/#delivery-headers).", "example": "\"********\"" }, "insecure_ssl": { @@ -182974,7 +183884,7 @@ }, "events": { "type": "array", - "description": "Determines what [events](https://docs.github.com/enterprise-cloud@latest//webhooks/event-payloads) the hook is triggered for. Set to `[\"*\"]` to receive all possible events.", + "description": "Determines what [events](https://docs.github.com/enterprise-cloud@latest/webhooks/event-payloads) the hook is triggered for. Set to `[\"*\"]` to receive all possible events.", "default": [ "push" ], @@ -183255,7 +184165,7 @@ "operationId": "orgs/get-webhook", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#get-an-organization-webhook" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/orgs/webhooks#get-an-organization-webhook" }, "parameters": [ { @@ -183441,7 +184351,7 @@ "operationId": "orgs/update-webhook", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#update-an-organization-webhook" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/orgs/webhooks#update-an-organization-webhook" }, "parameters": [ { @@ -183487,7 +184397,7 @@ }, "secret": { "type": "string", - "description": "If provided, the `secret` will be used as the `key` to generate the HMAC hex digest value for [delivery signature headers](https://docs.github.com/enterprise-cloud@latest//webhooks/event-payloads/#delivery-headers).", + "description": "If provided, the `secret` will be used as the `key` to generate the HMAC hex digest value for [delivery signature headers](https://docs.github.com/enterprise-cloud@latest/webhooks/event-payloads/#delivery-headers).", "example": "\"********\"" }, "insecure_ssl": { @@ -183509,7 +184419,7 @@ }, "events": { "type": "array", - "description": "Determines what [events](https://docs.github.com/enterprise-cloud@latest//webhooks/event-payloads) the hook is triggered for.", + "description": "Determines what [events](https://docs.github.com/enterprise-cloud@latest/webhooks/event-payloads) the hook is triggered for.", "default": [ "push" ], @@ -183773,7 +184683,7 @@ "operationId": "orgs/delete-webhook", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#delete-an-organization-webhook" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/orgs/webhooks#delete-an-organization-webhook" }, "parameters": [ { @@ -183844,7 +184754,7 @@ "operationId": "orgs/get-webhook-config-for-org", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#get-a-webhook-configuration-for-an-organization" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/orgs/webhooks#get-a-webhook-configuration-for-an-organization" }, "parameters": [ { @@ -183889,7 +184799,7 @@ }, "secret": { "type": "string", - "description": "If provided, the `secret` will be used as the `key` to generate the HMAC hex digest value for [delivery signature headers](https://docs.github.com/enterprise-cloud@latest//webhooks/event-payloads/#delivery-headers).", + "description": "If provided, the `secret` will be used as the `key` to generate the HMAC hex digest value for [delivery signature headers](https://docs.github.com/enterprise-cloud@latest/webhooks/event-payloads/#delivery-headers).", "example": "\"********\"" }, "insecure_ssl": { @@ -183936,7 +184846,7 @@ "operationId": "orgs/update-webhook-config-for-org", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#update-a-webhook-configuration-for-an-organization" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/orgs/webhooks#update-a-webhook-configuration-for-an-organization" }, "parameters": [ { @@ -183978,7 +184888,7 @@ }, "secret": { "type": "string", - "description": "If provided, the `secret` will be used as the `key` to generate the HMAC hex digest value for [delivery signature headers](https://docs.github.com/enterprise-cloud@latest//webhooks/event-payloads/#delivery-headers).", + "description": "If provided, the `secret` will be used as the `key` to generate the HMAC hex digest value for [delivery signature headers](https://docs.github.com/enterprise-cloud@latest/webhooks/event-payloads/#delivery-headers).", "example": "\"********\"" }, "insecure_ssl": { @@ -184032,7 +184942,7 @@ }, "secret": { "type": "string", - "description": "If provided, the `secret` will be used as the `key` to generate the HMAC hex digest value for [delivery signature headers](https://docs.github.com/enterprise-cloud@latest//webhooks/event-payloads/#delivery-headers).", + "description": "If provided, the `secret` will be used as the `key` to generate the HMAC hex digest value for [delivery signature headers](https://docs.github.com/enterprise-cloud@latest/webhooks/event-payloads/#delivery-headers).", "example": "\"********\"" }, "insecure_ssl": { @@ -184081,7 +184991,7 @@ "operationId": "orgs/list-webhook-deliveries", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#list-deliveries-for-an-organization-webhook" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/orgs/webhooks#list-deliveries-for-an-organization-webhook" }, "parameters": [ { @@ -184104,7 +185014,7 @@ }, { "name": "per_page", - "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -184416,7 +185326,7 @@ "operationId": "orgs/get-webhook-delivery", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#get-a-webhook-delivery-for-an-organization-webhook" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/orgs/webhooks#get-a-webhook-delivery-for-an-organization-webhook" }, "parameters": [ { @@ -184785,7 +185695,7 @@ "operationId": "orgs/redeliver-webhook-delivery", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#redeliver-a-delivery-for-an-organization-webhook" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/orgs/webhooks#redeliver-a-delivery-for-an-organization-webhook" }, "parameters": [ { @@ -184979,7 +185889,7 @@ "operationId": "orgs/ping-webhook", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#ping-an-organization-webhook" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/orgs/webhooks#ping-an-organization-webhook" }, "parameters": [ { @@ -185050,7 +185960,7 @@ "operationId": "api-insights/get-route-stats-by-actor", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-route-stats-by-actor" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/orgs/api-insights#get-route-stats-by-actor" }, "parameters": [ { @@ -185107,7 +186017,7 @@ }, { "name": "page", - "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -185116,7 +186026,7 @@ }, { "name": "per_page", - "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -185243,7 +186153,7 @@ "operationId": "api-insights/get-subject-stats", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-subject-stats" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/orgs/api-insights#get-subject-stats" }, "parameters": [ { @@ -185275,7 +186185,7 @@ }, { "name": "page", - "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -185284,7 +186194,7 @@ }, { "name": "per_page", - "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -185409,7 +186319,7 @@ "operationId": "api-insights/get-summary-stats", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-summary-stats" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/orgs/api-insights#get-summary-stats" }, "parameters": [ { @@ -185491,7 +186401,7 @@ "operationId": "api-insights/get-summary-stats-by-user", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-summary-stats-by-user" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/orgs/api-insights#get-summary-stats-by-user" }, "parameters": [ { @@ -185582,7 +186492,7 @@ "operationId": "api-insights/get-summary-stats-by-actor", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-summary-stats-by-actor" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/orgs/api-insights#get-summary-stats-by-actor" }, "parameters": [ { @@ -185689,7 +186599,7 @@ "operationId": "api-insights/get-time-stats", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-time-stats" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/orgs/api-insights#get-time-stats" }, "parameters": [ { @@ -185812,7 +186722,7 @@ "operationId": "api-insights/get-time-stats-by-user", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-time-stats-by-user" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/orgs/api-insights#get-time-stats-by-user" }, "parameters": [ { @@ -185944,7 +186854,7 @@ "operationId": "api-insights/get-time-stats-by-actor", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-time-stats-by-actor" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/orgs/api-insights#get-time-stats-by-actor" }, "parameters": [ { @@ -186092,7 +187002,7 @@ "operationId": "api-insights/get-user-stats", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-user-stats" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/orgs/api-insights#get-user-stats" }, "parameters": [ { @@ -186133,7 +187043,7 @@ }, { "name": "page", - "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -186142,7 +187052,7 @@ }, { "name": "per_page", - "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -186271,14 +187181,14 @@ "/orgs/{org}/installation": { "get": { "summary": "Get an organization installation for the authenticated app", - "description": "Enables an authenticated GitHub App to find the organization's installation information.\n\nYou must use a [JWT](https://docs.github.com/enterprise-cloud@latest//apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.", + "description": "Enables an authenticated GitHub App to find the organization's installation information.\n\nYou must use a [JWT](https://docs.github.com/enterprise-cloud@latest/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.", "tags": [ "apps" ], "operationId": "apps/get-org-installation", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/apps/apps#get-an-organization-installation-for-the-authenticated-app" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/apps/apps#get-an-organization-installation-for-the-authenticated-app" }, "parameters": [ { @@ -187272,7 +188182,7 @@ "operationId": "orgs/list-app-installations", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#list-app-installations-for-an-organization" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/orgs/orgs#list-app-installations-for-an-organization" }, "parameters": [ { @@ -187286,7 +188196,7 @@ }, { "name": "per_page", - "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -187295,7 +188205,7 @@ }, { "name": "page", - "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -188312,7 +189222,7 @@ "operationId": "interactions/get-restrictions-for-org", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/interactions/orgs#get-interaction-restrictions-for-an-organization" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/interactions/orgs#get-interaction-restrictions-for-an-organization" }, "parameters": [ { @@ -188399,7 +189309,7 @@ "operationId": "interactions/set-restrictions-for-org", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/interactions/orgs#set-interaction-restrictions-for-an-organization" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/interactions/orgs#set-interaction-restrictions-for-an-organization" }, "parameters": [ { @@ -188593,7 +189503,7 @@ "operationId": "interactions/remove-restrictions-for-org", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/interactions/orgs#remove-interaction-restrictions-for-an-organization" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/interactions/orgs#remove-interaction-restrictions-for-an-organization" }, "parameters": [ { @@ -188622,14 +189532,14 @@ "/orgs/{org}/invitations": { "get": { "summary": "List pending organization invitations", - "description": "The return hash contains a `role` field which refers to the Organization\nInvitation role and will be one of the following values: `direct_member`, `admin`,\n`billing_manager`, or `hiring_manager`. If the invitee is not a GitHub Enterprise Cloud\nmember, the `login` field in the return hash will be `null`.\n\nThis endpoint is not available for [Enterprise Managed User (EMU) organizations](https://docs.github.com/enterprise-cloud@latest//admin/identity-and-access-management/using-enterprise-managed-users-for-iam/about-enterprise-managed-users).", + "description": "The return hash contains a `role` field which refers to the Organization\nInvitation role and will be one of the following values: `direct_member`, `admin`,\n`billing_manager`, or `hiring_manager`. If the invitee is not a GitHub Enterprise Cloud\nmember, the `login` field in the return hash will be `null`.\n\nThis endpoint is not available for [Enterprise Managed User (EMU) organizations](https://docs.github.com/enterprise-cloud@latest/admin/identity-and-access-management/using-enterprise-managed-users-for-iam/about-enterprise-managed-users).", "tags": [ "orgs" ], "operationId": "orgs/list-pending-invitations", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#list-pending-organization-invitations" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/orgs/members#list-pending-organization-invitations" }, "parameters": [ { @@ -188643,7 +189553,7 @@ }, { "name": "per_page", - "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -188652,7 +189562,7 @@ }, { "name": "page", - "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -188969,14 +189879,14 @@ }, "post": { "summary": "Create an organization invitation", - "description": "Invite people to an organization by using their GitHub user ID or their email address. In order to create invitations in an organization, the authenticated user must be an organization owner.\n\nThis endpoint is not available for [Enterprise Managed User (EMU) organizations](https://docs.github.com/enterprise-cloud@latest//admin/identity-and-access-management/using-enterprise-managed-users-for-iam/about-enterprise-managed-users).\n\nThis endpoint triggers [notifications](https://docs.github.com/enterprise-cloud@latest//github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. See \"[Secondary rate limits](https://docs.github.com/enterprise-cloud@latest//rest/overview/resources-in-the-rest-api#secondary-rate-limits)\" and \"[Dealing with secondary rate limits](https://docs.github.com/enterprise-cloud@latest//rest/guides/best-practices-for-integrators#dealing-with-secondary-rate-limits)\" for details.", + "description": "Invite people to an organization by using their GitHub user ID or their email address. In order to create invitations in an organization, the authenticated user must be an organization owner.\n\nThis endpoint is not available for [Enterprise Managed User (EMU) organizations](https://docs.github.com/enterprise-cloud@latest/admin/identity-and-access-management/using-enterprise-managed-users-for-iam/about-enterprise-managed-users).\n\nThis endpoint triggers [notifications](https://docs.github.com/enterprise-cloud@latest/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. See \"[Secondary rate limits](https://docs.github.com/enterprise-cloud@latest/rest/overview/resources-in-the-rest-api#secondary-rate-limits)\" and \"[Dealing with secondary rate limits](https://docs.github.com/enterprise-cloud@latest/rest/guides/best-practices-for-integrators#dealing-with-secondary-rate-limits)\" for details.", "tags": [ "orgs" ], "operationId": "orgs/create-invitation", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#create-an-organization-invitation" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/orgs/members#create-an-organization-invitation" }, "parameters": [ { @@ -189373,14 +190283,14 @@ "/orgs/{org}/invitations/{invitation_id}": { "delete": { "summary": "Cancel an organization invitation", - "description": "Cancel an organization invitation. In order to cancel an organization invitation, the authenticated user must be an organization owner.\n\nThis endpoint is not available for [Enterprise Managed User (EMU) organizations](https://docs.github.com/enterprise-cloud@latest//admin/identity-and-access-management/using-enterprise-managed-users-for-iam/about-enterprise-managed-users).\n\nThis endpoint triggers [notifications](https://docs.github.com/enterprise-cloud@latest//github/managing-subscriptions-and-notifications-on-github/about-notifications).", + "description": "Cancel an organization invitation. In order to cancel an organization invitation, the authenticated user must be an organization owner.\n\nThis endpoint is not available for [Enterprise Managed User (EMU) organizations](https://docs.github.com/enterprise-cloud@latest/admin/identity-and-access-management/using-enterprise-managed-users-for-iam/about-enterprise-managed-users).\n\nThis endpoint triggers [notifications](https://docs.github.com/enterprise-cloud@latest/github/managing-subscriptions-and-notifications-on-github/about-notifications).", "tags": [ "orgs" ], "operationId": "orgs/cancel-invitation", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#cancel-an-organization-invitation" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/orgs/members#cancel-an-organization-invitation" }, "parameters": [ { @@ -189514,14 +190424,14 @@ "/orgs/{org}/invitations/{invitation_id}/teams": { "get": { "summary": "List organization invitation teams", - "description": "List all teams associated with an invitation. In order to see invitations\nin an organization, the authenticated user must be an organization owner.\n\nThis endpoint is not available for [Enterprise Managed User (EMU) organizations](https://docs.github.com/enterprise-cloud@latest//admin/identity-and-access-management/using-enterprise-managed-users-for-iam/about-enterprise-managed-users).", + "description": "List all teams associated with an invitation. In order to see invitations\nin an organization, the authenticated user must be an organization owner.\n\nThis endpoint is not available for [Enterprise Managed User (EMU) organizations](https://docs.github.com/enterprise-cloud@latest/admin/identity-and-access-management/using-enterprise-managed-users-for-iam/about-enterprise-managed-users).", "tags": [ "orgs" ], "operationId": "orgs/list-invitation-teams", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#list-organization-invitation-teams" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/orgs/members#list-organization-invitation-teams" }, "parameters": [ { @@ -189544,7 +190454,7 @@ }, { "name": "per_page", - "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -189553,7 +190463,7 @@ }, { "name": "page", - "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -189856,7 +190766,7 @@ "operationId": "orgs/list-issue-fields", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/orgs/issue-fields#list-issue-fields-for-an-organization" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/orgs/issue-fields#list-issue-fields-for-an-organization" }, "parameters": [ { @@ -190073,14 +190983,14 @@ }, "post": { "summary": "Create issue field for an organization", - "description": "Creates a new issue field for an organization.\n\nYou can find out more about issue fields in [Managing issue fields in an organization](https://docs.github.com/enterprise-cloud@latest//issues/tracking-your-work-with-issues/using-issues/managing-issue-fields-in-an-organization).\n\nTo use this endpoint, the authenticated user must be an administrator for the organization. OAuth app tokens and\npersonal access tokens (classic) need the `admin:org` scope to use this endpoint.", + "description": "Creates a new issue field for an organization.\n\nYou can find out more about issue fields in [Managing issue fields in an organization](https://docs.github.com/enterprise-cloud@latest/issues/tracking-your-work-with-issues/using-issues/managing-issue-fields-in-an-organization).\n\nTo use this endpoint, the authenticated user must be an administrator for the organization. OAuth app tokens and\npersonal access tokens (classic) need the `admin:org` scope to use this endpoint.", "tags": [ "orgs" ], "operationId": "orgs/create-issue-field", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/orgs/issue-fields#create-issue-field-for-an-organization" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/orgs/issue-fields#create-issue-field-for-an-organization" }, "parameters": [ { @@ -190438,14 +191348,14 @@ "/orgs/{org}/issue-fields/{issue_field_id}": { "patch": { "summary": "Update issue field for an organization", - "description": "Updates an issue field for an organization.\n\nYou can find out more about issue fields in [Managing issue fields in an organization](https://docs.github.com/enterprise-cloud@latest//issues/tracking-your-work-with-issues/using-issues/managing-issue-fields-in-an-organization).\n\nTo use this endpoint, the authenticated user must be an administrator for the organization. OAuth app tokens and\npersonal access tokens (classic) need the `admin:org` scope to use this endpoint.", + "description": "Updates an issue field for an organization.\n\nYou can find out more about issue fields in [Managing issue fields in an organization](https://docs.github.com/enterprise-cloud@latest/issues/tracking-your-work-with-issues/using-issues/managing-issue-fields-in-an-organization).\n\nTo use this endpoint, the authenticated user must be an administrator for the organization. OAuth app tokens and\npersonal access tokens (classic) need the `admin:org` scope to use this endpoint.", "tags": [ "orgs" ], "operationId": "orgs/update-issue-field", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/orgs/issue-fields#update-issue-field-for-an-organization" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/orgs/issue-fields#update-issue-field-for-an-organization" }, "parameters": [ { @@ -190818,14 +191728,14 @@ }, "delete": { "summary": "Delete issue field for an organization", - "description": "Deletes an issue field for an organization.\n\nYou can find out more about issue fields in [Managing issue fields in an organization](https://docs.github.com/enterprise-cloud@latest//issues/tracking-your-work-with-issues/using-issues/managing-issue-fields-in-an-organization).\n\nTo use this endpoint, the authenticated user must be an administrator for the organization. OAuth app tokens and\npersonal access tokens (classic) need the `admin:org` scope to use this endpoint.", + "description": "Deletes an issue field for an organization.\n\nYou can find out more about issue fields in [Managing issue fields in an organization](https://docs.github.com/enterprise-cloud@latest/issues/tracking-your-work-with-issues/using-issues/managing-issue-fields-in-an-organization).\n\nTo use this endpoint, the authenticated user must be an administrator for the organization. OAuth app tokens and\npersonal access tokens (classic) need the `admin:org` scope to use this endpoint.", "tags": [ "orgs" ], "operationId": "orgs/delete-issue-field", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/orgs/issue-fields#delete-issue-field-for-an-organization" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/orgs/issue-fields#delete-issue-field-for-an-organization" }, "parameters": [ { @@ -190926,7 +191836,7 @@ "operationId": "orgs/list-issue-types", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/orgs/issue-types#list-issue-types-for-an-organization" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/orgs/issue-types#list-issue-types-for-an-organization" }, "parameters": [ { @@ -191068,14 +191978,14 @@ }, "post": { "summary": "Create issue type for an organization", - "description": "Create a new issue type for an organization.\n\nYou can find out more about issue types in [Managing issue types in an organization](https://docs.github.com/enterprise-cloud@latest//issues/tracking-your-work-with-issues/configuring-issues/managing-issue-types-in-an-organization).\n\nTo use this endpoint, the authenticated user must be an administrator for the organization. OAuth app tokens and\npersonal access tokens (classic) need the `admin:org` scope to use this endpoint.", + "description": "Create a new issue type for an organization.\n\nYou can find out more about issue types in [Managing issue types in an organization](https://docs.github.com/enterprise-cloud@latest/issues/tracking-your-work-with-issues/configuring-issues/managing-issue-types-in-an-organization).\n\nTo use this endpoint, the authenticated user must be an administrator for the organization. OAuth app tokens and\npersonal access tokens (classic) need the `admin:org` scope to use this endpoint.", "tags": [ "orgs" ], "operationId": "orgs/create-issue-type", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/orgs/issue-types#create-issue-type-for-an-organization" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/orgs/issue-types#create-issue-type-for-an-organization" }, "parameters": [ { @@ -191290,14 +192200,14 @@ "/orgs/{org}/issue-types/{issue_type_id}": { "put": { "summary": "Update issue type for an organization", - "description": "Updates an issue type for an organization.\n\nYou can find out more about issue types in [Managing issue types in an organization](https://docs.github.com/enterprise-cloud@latest//issues/tracking-your-work-with-issues/configuring-issues/managing-issue-types-in-an-organization).\n\nTo use this endpoint, the authenticated user must be an administrator for the organization. OAuth app tokens and\npersonal access tokens (classic) need the `admin:org` scope to use this endpoint.", + "description": "Updates an issue type for an organization.\n\nYou can find out more about issue types in [Managing issue types in an organization](https://docs.github.com/enterprise-cloud@latest/issues/tracking-your-work-with-issues/configuring-issues/managing-issue-types-in-an-organization).\n\nTo use this endpoint, the authenticated user must be an administrator for the organization. OAuth app tokens and\npersonal access tokens (classic) need the `admin:org` scope to use this endpoint.", "tags": [ "orgs" ], "operationId": "orgs/update-issue-type", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/orgs/issue-types#update-issue-type-for-an-organization" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/orgs/issue-types#update-issue-type-for-an-organization" }, "parameters": [ { @@ -191519,14 +192429,14 @@ }, "delete": { "summary": "Delete issue type for an organization", - "description": "Deletes an issue type for an organization.\n\nYou can find out more about issue types in [Managing issue types in an organization](https://docs.github.com/enterprise-cloud@latest//issues/tracking-your-work-with-issues/configuring-issues/managing-issue-types-in-an-organization).\n\nTo use this endpoint, the authenticated user must be an administrator for the organization. OAuth app tokens and\npersonal access tokens (classic) need the `admin:org` scope to use this endpoint.", + "description": "Deletes an issue type for an organization.\n\nYou can find out more about issue types in [Managing issue types in an organization](https://docs.github.com/enterprise-cloud@latest/issues/tracking-your-work-with-issues/configuring-issues/managing-issue-types-in-an-organization).\n\nTo use this endpoint, the authenticated user must be an administrator for the organization. OAuth app tokens and\npersonal access tokens (classic) need the `admin:org` scope to use this endpoint.", "tags": [ "orgs" ], "operationId": "orgs/delete-issue-type", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/orgs/issue-types#delete-issue-type-for-an-organization" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/orgs/issue-types#delete-issue-type-for-an-organization" }, "parameters": [ { @@ -191620,14 +192530,14 @@ "/orgs/{org}/issues": { "get": { "summary": "List organization issues assigned to the authenticated user", - "description": "List issues in an organization assigned to the authenticated user.\n\n> [!NOTE]\n> GitHub's REST API considers every pull request an issue, but not every issue is a pull request. For this reason, \"Issues\" endpoints may return both issues and pull requests in the response. You can identify pull requests by the `pull_request` key. Be aware that the `id` of a pull request returned from \"Issues\" endpoints will be an _issue id_. To find out the pull request id, use the \"[List pull requests](https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#list-pull-requests)\" endpoint.\n\nThis endpoint supports the following custom media types. For more information, see \"[Media types](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/getting-started-with-the-rest-api#media-types).\"\n\n- **`application/vnd.github.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass any specific media type.\n- **`application/vnd.github.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`.\n- **`application/vnd.github.html+json`**: Returns HTML rendered from the body's markdown. Response will include `body_html`.\n- **`application/vnd.github.full+json`**: Returns raw, text, and HTML representations. Response will include `body`, `body_text`, and `body_html`.", + "description": "List issues in an organization assigned to the authenticated user.\n\n> [!NOTE]\n> GitHub's REST API considers every pull request an issue, but not every issue is a pull request. For this reason, \"Issues\" endpoints may return both issues and pull requests in the response. You can identify pull requests by the `pull_request` key. Be aware that the `id` of a pull request returned from \"Issues\" endpoints will be an _issue id_. To find out the pull request id, use the \"[List pull requests](https://docs.github.com/enterprise-cloud@latest/rest/pulls/pulls#list-pull-requests)\" endpoint.\n\nThis endpoint supports the following custom media types. For more information, see \"[Media types](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types).\"\n\n- **`application/vnd.github.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass any specific media type.\n- **`application/vnd.github.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`.\n- **`application/vnd.github.html+json`**: Returns HTML rendered from the body's markdown. Response will include `body_html`.\n- **`application/vnd.github.full+json`**: Returns raw, text, and HTML representations. Response will include `body`, `body_text`, and `body_html`.", "tags": [ "issues" ], "operationId": "issues/list-for-org", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#list-organization-issues-assigned-to-the-authenticated-user" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#list-organization-issues-assigned-to-the-authenticated-user" }, "parameters": [ { @@ -191731,7 +192641,7 @@ }, { "name": "per_page", - "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -191740,7 +192650,7 @@ }, { "name": "page", - "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -195034,7 +195944,7 @@ "operationId": "orgs/list-members", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#list-organization-members" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/orgs/members#list-organization-members" }, "parameters": [ { @@ -195048,7 +195958,7 @@ }, { "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) enabled will be returned. `2fa_insecure` means that only members with [insecure 2FA methods](https://docs.github.com/enterprise-cloud@latest//organizations/keeping-your-organization-secure/managing-two-factor-authentication-for-your-organization/requiring-two-factor-authentication-in-your-organization#requiring-secure-methods-of-two-factor-authentication-in-your-organization) will be returned. These options are only available for organization owners.", + "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) enabled will be returned. `2fa_insecure` means that only members with [insecure 2FA methods](https://docs.github.com/enterprise-cloud@latest/organizations/keeping-your-organization-secure/managing-two-factor-authentication-for-your-organization/requiring-two-factor-authentication-in-your-organization#requiring-secure-methods-of-two-factor-authentication-in-your-organization) will be returned. These options are only available for organization owners.", "in": "query", "required": false, "schema": { @@ -195078,7 +195988,7 @@ }, { "name": "per_page", - "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -195087,7 +195997,7 @@ }, { "name": "page", - "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -195352,7 +196262,7 @@ "operationId": "orgs/check-membership-for-user", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#check-organization-membership-for-a-user" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/orgs/members#check-organization-membership-for-a-user" }, "parameters": [ { @@ -195409,7 +196319,7 @@ "operationId": "orgs/remove-member", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#remove-an-organization-member" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/orgs/members#remove-an-organization-member" }, "parameters": [ { @@ -195480,12 +196390,12 @@ "operationId": "codespaces/get-codespaces-for-user-in-org", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organizations#list-codespaces-for-a-user-in-organization" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/codespaces/organizations#list-codespaces-for-a-user-in-organization" }, "parameters": [ { "name": "per_page", - "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -195494,7 +196404,7 @@ }, { "name": "page", - "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -197421,7 +198331,7 @@ "operationId": "codespaces/delete-from-organization", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organizations#delete-a-codespace-from-the-organization" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/codespaces/organizations#delete-a-codespace-from-the-organization" }, "parameters": [ { @@ -197594,7 +198504,7 @@ "operationId": "codespaces/stop-in-organization", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organizations#stop-a-codespace-for-an-organization-user" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/codespaces/organizations#stop-a-codespace-for-an-organization-user" }, "parameters": [ { @@ -199217,14 +200127,14 @@ "/orgs/{org}/members/{username}/copilot": { "get": { "summary": "Get Copilot seat assignment details for a user", - "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nGets the GitHub Copilot seat details for a member of an organization who currently has access to GitHub Copilot.\n\nThe seat object contains information about the user's most recent Copilot activity. Users must have telemetry enabled in their IDE for Copilot in the IDE activity to be reflected in `last_activity_at`.\nFor more information about activity data, see [Metrics data properties for GitHub Copilot](https://docs.github.com/enterprise-cloud@latest//copilot/reference/metrics-data).\n\nOnly organization owners can view Copilot seat assignment details for members of their organization.\n\nOAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `read:org` scopes to use this endpoint.", + "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nGets the GitHub Copilot seat details for a member of an organization who currently has access to GitHub Copilot.\n\nThe seat object contains information about the user's most recent Copilot activity. Users must have telemetry enabled in their IDE for Copilot in the IDE activity to be reflected in `last_activity_at`.\nFor more information about activity data, see [Metrics data properties for GitHub Copilot](https://docs.github.com/enterprise-cloud@latest/copilot/reference/metrics-data).\n\nOnly organization owners can view Copilot seat assignment details for members of their organization.\n\nOAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `read:org` scopes to use this endpoint.", "tags": [ "copilot" ], "operationId": "copilot/get-copilot-seat-details-for-user", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-user-management#get-copilot-seat-assignment-details-for-a-user" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/copilot/copilot-user-management#get-copilot-seat-assignment-details-for-a-user" }, "parameters": [ { @@ -199968,7 +200878,7 @@ "operationId": "orgs/get-membership-for-user", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#get-organization-membership-for-a-user" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/orgs/members#get-organization-membership-for-a-user" }, "parameters": [ { @@ -200380,14 +201290,14 @@ }, "put": { "summary": "Set organization membership for a user", - "description": "Only authenticated organization owners can add a member to the organization or update the member's role.\n\n* If the authenticated user is _adding_ a member to the organization, the invited user will receive an email inviting them to the organization. The user's [membership status](https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#get-organization-membership-for-a-user) will be `pending` until they accept the invitation.\n \n* Authenticated users can _update_ a user's membership by passing the `role` parameter. If the authenticated user changes a member's role to `admin`, the affected user will receive an email notifying them that they've been made an organization owner. If the authenticated user changes an owner's role to `member`, no email will be sent.\n\n**Rate limits**\n\nTo prevent abuse, organization owners are limited to creating 50 organization invitations for an organization within a 24 hour period. If the organization is more than one month old or on a paid plan, the limit is 500 invitations per 24 hour period.", + "description": "Only authenticated organization owners can add a member to the organization or update the member's role.\n\n* If the authenticated user is _adding_ a member to the organization, the invited user will receive an email inviting them to the organization. The user's [membership status](https://docs.github.com/enterprise-cloud@latest/rest/orgs/members#get-organization-membership-for-a-user) will be `pending` until they accept the invitation.\n \n* Authenticated users can _update_ a user's membership by passing the `role` parameter. If the authenticated user changes a member's role to `admin`, the affected user will receive an email notifying them that they've been made an organization owner. If the authenticated user changes an owner's role to `member`, no email will be sent.\n\n**Rate limits**\n\nTo prevent abuse, organization owners are limited to creating 50 organization invitations for an organization within a 24 hour period. If the organization is more than one month old or on a paid plan, the limit is 500 invitations per 24 hour period.", "tags": [ "orgs" ], "operationId": "orgs/set-membership-for-user", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#set-organization-membership-for-a-user" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/orgs/members#set-organization-membership-for-a-user" }, "parameters": [ { @@ -200878,7 +201788,7 @@ "operationId": "orgs/remove-membership-for-user", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#remove-organization-membership-for-a-user" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/orgs/members#remove-organization-membership-for-a-user" }, "parameters": [ { @@ -200975,7 +201885,7 @@ "operationId": "migrations/list-for-org", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#list-organization-migrations" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/migrations/orgs#list-organization-migrations" }, "parameters": [ { @@ -200989,7 +201899,7 @@ }, { "name": "per_page", - "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -200998,7 +201908,7 @@ }, { "name": "page", - "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -202185,7 +203095,7 @@ "operationId": "migrations/start-for-org", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#start-an-organization-migration" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/migrations/orgs#start-an-organization-migration" }, "parameters": [ { @@ -203527,7 +204437,7 @@ "operationId": "migrations/get-status-for-org", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#get-an-organization-migration-status" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/migrations/orgs#get-an-organization-migration-status" }, "parameters": [ { @@ -204743,7 +205653,7 @@ "operationId": "migrations/download-archive-for-org", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#download-an-organization-migration-archive" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/migrations/orgs#download-an-organization-migration-archive" }, "parameters": [ { @@ -204812,7 +205722,7 @@ "operationId": "migrations/delete-archive-for-org", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#delete-an-organization-migration-archive" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/migrations/orgs#delete-an-organization-migration-archive" }, "parameters": [ { @@ -204876,14 +205786,14 @@ "/orgs/{org}/migrations/{migration_id}/repos/{repo_name}/lock": { "delete": { "summary": "Unlock an organization repository", - "description": "Unlocks a repository that was locked for migration. You should unlock each migrated repository and [delete them](https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#delete-a-repository) when the migration is complete and you no longer need the source data.", + "description": "Unlocks a repository that was locked for migration. You should unlock each migrated repository and [delete them](https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#delete-a-repository) when the migration is complete and you no longer need the source data.", "tags": [ "migrations" ], "operationId": "migrations/unlock-repo-for-org", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#unlock-an-organization-repository" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/migrations/orgs#unlock-an-organization-repository" }, "parameters": [ { @@ -204963,7 +205873,7 @@ "operationId": "migrations/list-repos-for-org", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#list-repositories-in-an-organization-migration" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/migrations/orgs#list-repositories-in-an-organization-migration" }, "parameters": [ { @@ -204986,7 +205896,7 @@ }, { "name": "per_page", - "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -204995,7 +205905,7 @@ }, { "name": "page", - "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -205954,14 +206864,14 @@ "/orgs/{org}/organization-fine-grained-permissions": { "get": { "summary": "List organization fine-grained permissions for an organization", - "description": "Lists the fine-grained permissions that can be used in custom organization roles for an organization. For more information, see \"[Managing people's access to your organization with roles](https://docs.github.com/enterprise-cloud@latest//organizations/managing-peoples-access-to-your-organization-with-roles/about-custom-organization-roles).\"\n\nTo list the fine-grained permissions that can be used in custom repository roles for an organization, see \"[List repository fine-grained permissions for an organization](https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#list-repository-fine-grained-permissions-for-an-organization).\"\n\nTo use this endpoint, the authenticated user must be one of:\n\n- An administrator for the organization.\n- An organization member (or a member of a team) assigned a custom organization role that includes the **View organization roles** (`read_organization_custom_org_role`) permission. For more information, see \"[Permissions for organization access](https://docs.github.com/enterprise-cloud@latest//organizations/managing-peoples-access-to-your-organization-with-roles/permissions-of-custom-organization-roles#permissions-for-organization-access).\"\n\nOAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint.", + "description": "Lists the fine-grained permissions that can be used in custom organization roles for an organization. For more information, see \"[Managing people's access to your organization with roles](https://docs.github.com/enterprise-cloud@latest/organizations/managing-peoples-access-to-your-organization-with-roles/about-custom-organization-roles).\"\n\nTo list the fine-grained permissions that can be used in custom repository roles for an organization, see \"[List repository fine-grained permissions for an organization](https://docs.github.com/enterprise-cloud@latest/rest/orgs/organization-roles#list-repository-fine-grained-permissions-for-an-organization).\"\n\nTo use this endpoint, the authenticated user must be one of:\n\n- An administrator for the organization.\n- An organization member (or a member of a team) assigned a custom organization role that includes the **View organization roles** (`read_organization_custom_org_role`) permission. For more information, see \"[Permissions for organization access](https://docs.github.com/enterprise-cloud@latest/organizations/managing-peoples-access-to-your-organization-with-roles/permissions-of-custom-organization-roles#permissions-for-organization-access).\"\n\nOAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint.", "tags": [ "orgs" ], "operationId": "orgs/list-organization-fine-grained-permissions", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#list-organization-fine-grained-permissions-for-an-organization" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/orgs/organization-roles#list-organization-fine-grained-permissions-for-an-organization" }, "parameters": [ { @@ -206123,14 +207033,14 @@ "/orgs/{org}/organization-roles": { "get": { "summary": "Get all organization roles for an organization", - "description": "Lists the organization roles available in this organization. For more information on organization roles, see \"[Using organization roles](https://docs.github.com/enterprise-cloud@latest//organizations/managing-peoples-access-to-your-organization-with-roles/using-organization-roles).\"\n\nTo use this endpoint, the authenticated user must be one of:\n\n- An administrator for the organization.\n- An organization member (or a member of a team) assigned a custom organization role that includes the **View organization roles** (`read_organization_custom_org_role`) permission. For more information, see \"[Permissions for organization access](https://docs.github.com/enterprise-cloud@latest//organizations/managing-peoples-access-to-your-organization-with-roles/permissions-of-custom-organization-roles#permissions-for-organization-access).\"\n\nOAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint.", + "description": "Lists the organization roles available in this organization. For more information on organization roles, see \"[Using organization roles](https://docs.github.com/enterprise-cloud@latest/organizations/managing-peoples-access-to-your-organization-with-roles/using-organization-roles).\"\n\nTo use this endpoint, the authenticated user must be one of:\n\n- An administrator for the organization.\n- An organization member (or a member of a team) assigned a custom organization role that includes the **View organization roles** (`read_organization_custom_org_role`) permission. For more information, see \"[Permissions for organization access](https://docs.github.com/enterprise-cloud@latest/organizations/managing-peoples-access-to-your-organization-with-roles/permissions-of-custom-organization-roles#permissions-for-organization-access).\"\n\nOAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint.", "tags": [ "orgs" ], "operationId": "orgs/list-org-roles", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#get-all-organization-roles-for-an-organization" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/orgs/organization-roles#get-all-organization-roles-for-an-organization" }, "parameters": [ { @@ -206534,14 +207444,14 @@ }, "post": { "summary": "Create a custom organization role", - "description": "Creates a custom organization role that can be assigned to users and teams, granting them specific\npermissions over the organization and optionally across all repositories in the organization. For\nmore information on custom organization roles, see \"[Managing people's access to your organization with roles](https://docs.github.com/enterprise-cloud@latest//organizations/managing-peoples-access-to-your-organization-with-roles/about-custom-organization-roles).\"\n\nTo include repository permissions in an organization role, you must also include the `base_role`\nfield, which is one of `read`, `write`, `triage`, `maintain`, or `admin` (or `none` if no base role is set). This base role provides a set of\nfine-grained permissions as well as implicit permissions - those that aren't exposed as fine-grained permissions\nand can only be granted through the base role (like \"reading a repo\"). If you include repository permissions, those\npermissions apply across all of the repositories in the organization. You do not have to include organization permissions\nin order to add repository permissions.\n\nSee \"[List repository permissions](https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#list-repository-fine-grained-permissions-for-an-organization)\" for valid repository permissions.\n\nTo use this endpoint, the authenticated user must be one of:\n\n- An administrator for the organization.\n- An organization member (or a member of a team) assigned a custom organization role that includes the **Manage custom organization roles** (`write_organization_custom_org_role`) permission. For more information, see \"[Permissions for organization access](https://docs.github.com/enterprise-cloud@latest//organizations/managing-peoples-access-to-your-organization-with-roles/permissions-of-custom-organization-roles#permissions-for-organization-access).\"\n\nOAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint.", + "description": "Creates a custom organization role that can be assigned to users and teams, granting them specific\npermissions over the organization and optionally across all repositories in the organization. For\nmore information on custom organization roles, see \"[Managing people's access to your organization with roles](https://docs.github.com/enterprise-cloud@latest/organizations/managing-peoples-access-to-your-organization-with-roles/about-custom-organization-roles).\"\n\nTo include repository permissions in an organization role, you must also include the `base_role`\nfield, which is one of `read`, `write`, `triage`, `maintain`, or `admin` (or `none` if no base role is set). This base role provides a set of\nfine-grained permissions as well as implicit permissions - those that aren't exposed as fine-grained permissions\nand can only be granted through the base role (like \"reading a repo\"). If you include repository permissions, those\npermissions apply across all of the repositories in the organization. You do not have to include organization permissions\nin order to add repository permissions.\n\nSee \"[List repository permissions](https://docs.github.com/enterprise-cloud@latest/rest/orgs/custom-roles#list-repository-fine-grained-permissions-for-an-organization)\" for valid repository permissions.\n\nTo use this endpoint, the authenticated user must be one of:\n\n- An administrator for the organization.\n- An organization member (or a member of a team) assigned a custom organization role that includes the **Manage custom organization roles** (`write_organization_custom_org_role`) permission. For more information, see \"[Permissions for organization access](https://docs.github.com/enterprise-cloud@latest/organizations/managing-peoples-access-to-your-organization-with-roles/permissions-of-custom-organization-roles#permissions-for-organization-access).\"\n\nOAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint.", "tags": [ "orgs" ], "operationId": "orgs/create-custom-organization-role", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#create-a-custom-organization-role" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/orgs/organization-roles#create-a-custom-organization-role" }, "parameters": [ { @@ -206975,14 +207885,14 @@ "/orgs/{org}/organization-roles/teams/{team_slug}": { "delete": { "summary": "Remove all organization roles for a team", - "description": "Removes all assigned organization roles from a team. For more information on organization roles, see \"[Using organization roles](https://docs.github.com/enterprise-cloud@latest//organizations/managing-peoples-access-to-your-organization-with-roles/using-organization-roles).\"\n\nThe authenticated user must be an administrator for the organization to use this endpoint.\n\nOAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint.", + "description": "Removes all assigned organization roles from a team. For more information on organization roles, see \"[Using organization roles](https://docs.github.com/enterprise-cloud@latest/organizations/managing-peoples-access-to-your-organization-with-roles/using-organization-roles).\"\n\nThe authenticated user must be an administrator for the organization to use this endpoint.\n\nOAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint.", "tags": [ "orgs" ], "operationId": "orgs/revoke-all-org-roles-team", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#remove-all-organization-roles-for-a-team" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/orgs/organization-roles#remove-all-organization-roles-for-a-team" }, "parameters": [ { @@ -207020,14 +207930,14 @@ "/orgs/{org}/organization-roles/teams/{team_slug}/{role_id}": { "put": { "summary": "Assign an organization role to a team", - "description": "Assigns an organization role to a team in an organization. For more information on organization roles, see \"[Using organization roles](https://docs.github.com/enterprise-cloud@latest//organizations/managing-peoples-access-to-your-organization-with-roles/using-organization-roles).\"\n\nThe authenticated user must be an administrator for the organization to use this endpoint.\n\nOAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint.", + "description": "Assigns an organization role to a team in an organization. For more information on organization roles, see \"[Using organization roles](https://docs.github.com/enterprise-cloud@latest/organizations/managing-peoples-access-to-your-organization-with-roles/using-organization-roles).\"\n\nThe authenticated user must be an administrator for the organization to use this endpoint.\n\nOAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint.", "tags": [ "orgs" ], "operationId": "orgs/assign-team-to-org-role", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#assign-an-organization-role-to-a-team" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/orgs/organization-roles#assign-an-organization-role-to-a-team" }, "parameters": [ { @@ -207078,14 +207988,14 @@ }, "delete": { "summary": "Remove an organization role from a team", - "description": "Removes an organization role from a team. For more information on organization roles, see \"[Using organization roles](https://docs.github.com/enterprise-cloud@latest//organizations/managing-peoples-access-to-your-organization-with-roles/using-organization-roles).\"\n\nThe authenticated user must be an administrator for the organization to use this endpoint.\n\nOAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint.", + "description": "Removes an organization role from a team. For more information on organization roles, see \"[Using organization roles](https://docs.github.com/enterprise-cloud@latest/organizations/managing-peoples-access-to-your-organization-with-roles/using-organization-roles).\"\n\nThe authenticated user must be an administrator for the organization to use this endpoint.\n\nOAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint.", "tags": [ "orgs" ], "operationId": "orgs/revoke-org-role-team", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#remove-an-organization-role-from-a-team" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/orgs/organization-roles#remove-an-organization-role-from-a-team" }, "parameters": [ { @@ -207132,14 +208042,14 @@ "/orgs/{org}/organization-roles/users/{username}": { "delete": { "summary": "Remove all organization roles for a user", - "description": "Revokes all assigned organization roles from a user. For more information on organization roles, see \"[Using organization roles](https://docs.github.com/enterprise-cloud@latest//organizations/managing-peoples-access-to-your-organization-with-roles/using-organization-roles).\"\n\nThe authenticated user must be an administrator for the organization to use this endpoint.\n\nOAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint.", + "description": "Revokes all assigned organization roles from a user. For more information on organization roles, see \"[Using organization roles](https://docs.github.com/enterprise-cloud@latest/organizations/managing-peoples-access-to-your-organization-with-roles/using-organization-roles).\"\n\nThe authenticated user must be an administrator for the organization to use this endpoint.\n\nOAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint.", "tags": [ "orgs" ], "operationId": "orgs/revoke-all-org-roles-user", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#remove-all-organization-roles-for-a-user" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/orgs/organization-roles#remove-all-organization-roles-for-a-user" }, "parameters": [ { @@ -207177,14 +208087,14 @@ "/orgs/{org}/organization-roles/users/{username}/{role_id}": { "put": { "summary": "Assign an organization role to a user", - "description": "Assigns an organization role to a member of an organization. For more information on organization roles, see \"[Using organization roles](https://docs.github.com/enterprise-cloud@latest//organizations/managing-peoples-access-to-your-organization-with-roles/using-organization-roles).\"\n\nThe authenticated user must be an administrator for the organization to use this endpoint.\n\nOAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint.", + "description": "Assigns an organization role to a member of an organization. For more information on organization roles, see \"[Using organization roles](https://docs.github.com/enterprise-cloud@latest/organizations/managing-peoples-access-to-your-organization-with-roles/using-organization-roles).\"\n\nThe authenticated user must be an administrator for the organization to use this endpoint.\n\nOAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint.", "tags": [ "orgs" ], "operationId": "orgs/assign-user-to-org-role", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#assign-an-organization-role-to-a-user" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/orgs/organization-roles#assign-an-organization-role-to-a-user" }, "parameters": [ { @@ -207235,14 +208145,14 @@ }, "delete": { "summary": "Remove an organization role from a user", - "description": "Remove an organization role from a user. For more information on organization roles, see \"[Using organization roles](https://docs.github.com/enterprise-cloud@latest//organizations/managing-peoples-access-to-your-organization-with-roles/using-organization-roles).\"\n\nThe authenticated user must be an administrator for the organization to use this endpoint.\n\nOAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint.", + "description": "Remove an organization role from a user. For more information on organization roles, see \"[Using organization roles](https://docs.github.com/enterprise-cloud@latest/organizations/managing-peoples-access-to-your-organization-with-roles/using-organization-roles).\"\n\nThe authenticated user must be an administrator for the organization to use this endpoint.\n\nOAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint.", "tags": [ "orgs" ], "operationId": "orgs/revoke-org-role-user", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#remove-an-organization-role-from-a-user" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/orgs/organization-roles#remove-an-organization-role-from-a-user" }, "parameters": [ { @@ -207289,14 +208199,14 @@ "/orgs/{org}/organization-roles/{role_id}": { "get": { "summary": "Get an organization role", - "description": "Gets an organization role that is available to this organization. For more information on organization roles, see \"[Using organization roles](https://docs.github.com/enterprise-cloud@latest//organizations/managing-peoples-access-to-your-organization-with-roles/using-organization-roles).\"\n\nTo use this endpoint, the authenticated user must be one of:\n\n- An administrator for the organization.\n- An organization member (or a member of a team) assigned a custom organization role that includes the **View organization roles** (`read_organization_custom_org_role`) permission. For more information, see \"[Permissions for organization access](https://docs.github.com/enterprise-cloud@latest//organizations/managing-peoples-access-to-your-organization-with-roles/permissions-of-custom-organization-roles#permissions-for-organization-access).\"\n\nOAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint.", + "description": "Gets an organization role that is available to this organization. For more information on organization roles, see \"[Using organization roles](https://docs.github.com/enterprise-cloud@latest/organizations/managing-peoples-access-to-your-organization-with-roles/using-organization-roles).\"\n\nTo use this endpoint, the authenticated user must be one of:\n\n- An administrator for the organization.\n- An organization member (or a member of a team) assigned a custom organization role that includes the **View organization roles** (`read_organization_custom_org_role`) permission. For more information, see \"[Permissions for organization access](https://docs.github.com/enterprise-cloud@latest/organizations/managing-peoples-access-to-your-organization-with-roles/permissions-of-custom-organization-roles#permissions-for-organization-access).\"\n\nOAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint.", "tags": [ "orgs" ], "operationId": "orgs/get-org-role", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#get-an-organization-role" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/orgs/organization-roles#get-an-organization-role" }, "parameters": [ { @@ -207655,14 +208565,14 @@ }, "patch": { "summary": "Update a custom organization role", - "description": "Updates an existing custom organization role. Permission changes will apply to all assignees. For more information on custom organization roles, see \"[Managing people's access to your organization with roles](https://docs.github.com/enterprise-cloud@latest//organizations/managing-peoples-access-to-your-organization-with-roles/about-custom-organization-roles).\"\n\nIf the update would add repository permissions, the `base_role` must also be set to a value besides `none`, either\npreviously or as part of the update.\nIf the update sets the `base_role` field to `none`, you must also remove all of the repository\npermissions as well, otherwise the update will fail.\n\nTo use this endpoint, the authenticated user must be one of:\n\n- An administrator for the organization.\n- An organization member (or a member of a team) assigned a custom organization role that includes the **Manage custom organization roles** (`write_organization_custom_org_role`) permission. For more information, see \"[Permissions for organization access](https://docs.github.com/enterprise-cloud@latest//organizations/managing-peoples-access-to-your-organization-with-roles/permissions-of-custom-organization-roles#permissions-for-organization-access).\"\n\nOAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint.", + "description": "Updates an existing custom organization role. Permission changes will apply to all assignees. For more information on custom organization roles, see \"[Managing people's access to your organization with roles](https://docs.github.com/enterprise-cloud@latest/organizations/managing-peoples-access-to-your-organization-with-roles/about-custom-organization-roles).\"\n\nIf the update would add repository permissions, the `base_role` must also be set to a value besides `none`, either\npreviously or as part of the update.\nIf the update sets the `base_role` field to `none`, you must also remove all of the repository\npermissions as well, otherwise the update will fail.\n\nTo use this endpoint, the authenticated user must be one of:\n\n- An administrator for the organization.\n- An organization member (or a member of a team) assigned a custom organization role that includes the **Manage custom organization roles** (`write_organization_custom_org_role`) permission. For more information, see \"[Permissions for organization access](https://docs.github.com/enterprise-cloud@latest/organizations/managing-peoples-access-to-your-organization-with-roles/permissions-of-custom-organization-roles#permissions-for-organization-access).\"\n\nOAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint.", "tags": [ "orgs" ], "operationId": "orgs/patch-custom-organization-role", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#update-a-custom-organization-role" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/orgs/organization-roles#update-a-custom-organization-role" }, "parameters": [ { @@ -208093,14 +209003,14 @@ }, "delete": { "summary": "Delete a custom organization role.", - "description": "Deletes a custom organization role. For more information on custom organization roles, see \"[Managing people's access to your organization with roles](https://docs.github.com/enterprise-cloud@latest//organizations/managing-peoples-access-to-your-organization-with-roles/about-custom-organization-roles).\"\n\nTo use this endpoint, the authenticated user must be one of:\n\n- An administrator for the organization.\n- An organization member (or a member of a team) assigned a custom organization role that includes the **Manage custom organization roles** (`write_organization_custom_org_role`) permission. For more information, see \"[Permissions for organization access](https://docs.github.com/enterprise-cloud@latest//organizations/managing-peoples-access-to-your-organization-with-roles/permissions-of-custom-organization-roles#permissions-for-organization-access).\"\n\nOAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint.", + "description": "Deletes a custom organization role. For more information on custom organization roles, see \"[Managing people's access to your organization with roles](https://docs.github.com/enterprise-cloud@latest/organizations/managing-peoples-access-to-your-organization-with-roles/about-custom-organization-roles).\"\n\nTo use this endpoint, the authenticated user must be one of:\n\n- An administrator for the organization.\n- An organization member (or a member of a team) assigned a custom organization role that includes the **Manage custom organization roles** (`write_organization_custom_org_role`) permission. For more information, see \"[Permissions for organization access](https://docs.github.com/enterprise-cloud@latest/organizations/managing-peoples-access-to-your-organization-with-roles/permissions-of-custom-organization-roles#permissions-for-organization-access).\"\n\nOAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint.", "tags": [ "orgs" ], "operationId": "orgs/delete-custom-organization-role", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#delete-a-custom-organization-role" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/orgs/organization-roles#delete-a-custom-organization-role" }, "parameters": [ { @@ -208138,14 +209048,14 @@ "/orgs/{org}/organization-roles/{role_id}/teams": { "get": { "summary": "List teams that are assigned to an organization role", - "description": "Lists the teams that are assigned to an organization role. For more information on organization roles, see \"[Using organization roles](https://docs.github.com/enterprise-cloud@latest//organizations/managing-peoples-access-to-your-organization-with-roles/using-organization-roles).\"\n\nTo use this endpoint, you must be an administrator for the organization.\n\nOAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint.", + "description": "Lists the teams that are assigned to an organization role. For more information on organization roles, see \"[Using organization roles](https://docs.github.com/enterprise-cloud@latest/organizations/managing-peoples-access-to-your-organization-with-roles/using-organization-roles).\"\n\nTo use this endpoint, you must be an administrator for the organization.\n\nOAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint.", "tags": [ "orgs" ], "operationId": "orgs/list-org-role-teams", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#list-teams-that-are-assigned-to-an-organization-role" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/orgs/organization-roles#list-teams-that-are-assigned-to-an-organization-role" }, "parameters": [ { @@ -208168,7 +209078,7 @@ }, { "name": "per_page", - "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -208177,7 +209087,7 @@ }, { "name": "page", - "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -208464,14 +209374,14 @@ "/orgs/{org}/organization-roles/{role_id}/users": { "get": { "summary": "List users that are assigned to an organization role", - "description": "Lists organization members that are assigned to an organization role. For more information on organization roles, see \"[Using organization roles](https://docs.github.com/enterprise-cloud@latest//organizations/managing-peoples-access-to-your-organization-with-roles/using-organization-roles).\"\n\nTo use this endpoint, you must be an administrator for the organization.\n\nOAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint.", + "description": "Lists organization members that are assigned to an organization role. For more information on organization roles, see \"[Using organization roles](https://docs.github.com/enterprise-cloud@latest/organizations/managing-peoples-access-to-your-organization-with-roles/using-organization-roles).\"\n\nTo use this endpoint, you must be an administrator for the organization.\n\nOAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint.", "tags": [ "orgs" ], "operationId": "orgs/list-org-role-users", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#list-users-that-are-assigned-to-an-organization-role" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/orgs/organization-roles#list-users-that-are-assigned-to-an-organization-role" }, "parameters": [ { @@ -208494,7 +209404,7 @@ }, { "name": "per_page", - "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -208503,7 +209413,7 @@ }, { "name": "page", - "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -208821,7 +209731,7 @@ "operationId": "orgs/list-outside-collaborators", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/orgs/outside-collaborators#list-outside-collaborators-for-an-organization" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/orgs/outside-collaborators#list-outside-collaborators-for-an-organization" }, "parameters": [ { @@ -208835,7 +209745,7 @@ }, { "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) enabled will be returned. `2fa_insecure` means that only outside collaborators with [insecure 2FA methods](https://docs.github.com/enterprise-cloud@latest//organizations/keeping-your-organization-secure/managing-two-factor-authentication-for-your-organization/requiring-two-factor-authentication-in-your-organization#requiring-secure-methods-of-two-factor-authentication-in-your-organization) will be returned.", + "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) enabled will be returned. `2fa_insecure` means that only outside collaborators with [insecure 2FA methods](https://docs.github.com/enterprise-cloud@latest/organizations/keeping-your-organization-secure/managing-two-factor-authentication-for-your-organization/requiring-two-factor-authentication-in-your-organization#requiring-secure-methods-of-two-factor-authentication-in-your-organization) will be returned.", "in": "query", "required": false, "schema": { @@ -208850,7 +209760,7 @@ }, { "name": "per_page", - "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -208859,7 +209769,7 @@ }, { "name": "page", - "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -209048,14 +209958,14 @@ "/orgs/{org}/outside_collaborators/{username}": { "put": { "summary": "Convert an organization member to outside collaborator", - "description": "When an organization member is converted to an outside collaborator, they'll only have access to the repositories that their current team membership allows. The user will no longer be a member of the organization. For more information, see \"[Converting an organization member to an outside collaborator](https://docs.github.com/enterprise-cloud@latest//articles/converting-an-organization-member-to-an-outside-collaborator/)\". Converting an organization member to an outside collaborator may be restricted by enterprise administrators. For more information, see \"[Enforcing repository management policies in your enterprise](https://docs.github.com/enterprise-cloud@latest//admin/policies/enforcing-policies-for-your-enterprise/enforcing-repository-management-policies-in-your-enterprise#enforcing-a-policy-for-inviting-outside-collaborators-to-repositories).\"", + "description": "When an organization member is converted to an outside collaborator, they'll only have access to the repositories that their current team membership allows. The user will no longer be a member of the organization. For more information, see \"[Converting an organization member to an outside collaborator](https://docs.github.com/enterprise-cloud@latest/articles/converting-an-organization-member-to-an-outside-collaborator/)\". Converting an organization member to an outside collaborator may be restricted by enterprise administrators. For more information, see \"[Enforcing repository management policies in your enterprise](https://docs.github.com/enterprise-cloud@latest/admin/policies/enforcing-policies-for-your-enterprise/enforcing-repository-management-policies-in-your-enterprise#enforcing-a-policy-for-inviting-outside-collaborators-to-repositories).\"", "tags": [ "orgs" ], "operationId": "orgs/convert-member-to-outside-collaborator", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/orgs/outside-collaborators#convert-an-organization-member-to-outside-collaborator" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/orgs/outside-collaborators#convert-an-organization-member-to-outside-collaborator" }, "parameters": [ { @@ -209128,7 +210038,7 @@ "description": "User was converted" }, "403": { - "description": "Forbidden if user is the last owner of the organization, not a member of the organization, or if the enterprise enforces a policy for inviting outside collaborators. For more information, see \"[Enforcing repository management policies in your enterprise](https://docs.github.com/enterprise-cloud@latest//admin/policies/enforcing-policies-for-your-enterprise/enforcing-repository-management-policies-in-your-enterprise#enforcing-a-policy-for-inviting-outside-collaborators-to-repositories).\"" + "description": "Forbidden if user is the last owner of the organization, not a member of the organization, or if the enterprise enforces a policy for inviting outside collaborators. For more information, see \"[Enforcing repository management policies in your enterprise](https://docs.github.com/enterprise-cloud@latest/admin/policies/enforcing-policies-for-your-enterprise/enforcing-repository-management-policies-in-your-enterprise#enforcing-a-policy-for-inviting-outside-collaborators-to-repositories).\"" }, "404": { "description": "Resource not found", @@ -209173,7 +210083,7 @@ "operationId": "orgs/remove-outside-collaborator", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/orgs/outside-collaborators#remove-outside-collaborator-from-an-organization" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/orgs/outside-collaborators#remove-outside-collaborator-from-an-organization" }, "parameters": [ { @@ -209218,7 +210128,7 @@ "response-if-user-is-a-member-of-the-organization": { "value": { "message": "You cannot specify an organization member to remove as an outside collaborator.", - "documentation_url": "https://docs.github.com/enterprise-cloud@latest//rest/orgs/outside-collaborators#remove-outside-collaborator-from-an-organization" + "documentation_url": "https://docs.github.com/enterprise-cloud@latest/rest/orgs/outside-collaborators#remove-outside-collaborator-from-an-organization" } } } @@ -209237,14 +210147,14 @@ "/orgs/{org}/packages": { "get": { "summary": "List packages for an organization", - "description": "Lists packages in an organization readable by the user.\n\nOAuth app tokens and personal access tokens (classic) need the `read:packages` scope to use this endpoint. For more information, see \"[About permissions for GitHub Packages](https://docs.github.com/enterprise-cloud@latest//packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages).\"", + "description": "Lists packages in an organization readable by the user.\n\nOAuth app tokens and personal access tokens (classic) need the `read:packages` scope to use this endpoint. For more information, see \"[About permissions for GitHub Packages](https://docs.github.com/enterprise-cloud@latest/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages).\"", "tags": [ "packages" ], "operationId": "packages/list-packages-for-organization", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#list-packages-for-an-organization" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/packages/packages#list-packages-for-an-organization" }, "parameters": [ { @@ -209275,7 +210185,7 @@ }, { "name": "visibility", - "description": "The selected visibility of the packages. This parameter is optional and only filters an existing result set.\n\nThe `internal` visibility is only supported for GitHub Packages registries that allow for granular permissions. For other ecosystems `internal` is synonymous with `private`.\nFor the list of GitHub Packages registries that support granular permissions, see \"[About permissions for GitHub Packages](https://docs.github.com/enterprise-cloud@latest//packages/learn-github-packages/about-permissions-for-github-packages#granular-permissions-for-userorganization-scoped-packages).\"", + "description": "The selected visibility of the packages. This parameter is optional and only filters an existing result set.\n\nThe `internal` visibility is only supported for GitHub Packages registries that allow for granular permissions. For other ecosystems `internal` is synonymous with `private`.\nFor the list of GitHub Packages registries that support granular permissions, see \"[About permissions for GitHub Packages](https://docs.github.com/enterprise-cloud@latest/packages/learn-github-packages/about-permissions-for-github-packages#granular-permissions-for-userorganization-scoped-packages).\"", "in": "query", "required": false, "schema": { @@ -209289,7 +210199,7 @@ }, { "name": "page", - "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -209298,7 +210208,7 @@ }, { "name": "per_page", - "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -210414,14 +211324,14 @@ "/orgs/{org}/packages/{package_type}/{package_name}": { "get": { "summary": "Get a package for an organization", - "description": "Gets a specific package in an organization.\n\nOAuth app tokens and personal access tokens (classic) need the `read:packages` scope to use this endpoint. For more information, see \"[About permissions for GitHub Packages](https://docs.github.com/enterprise-cloud@latest//packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages).\"", + "description": "Gets a specific package in an organization.\n\nOAuth app tokens and personal access tokens (classic) need the `read:packages` scope to use this endpoint. For more information, see \"[About permissions for GitHub Packages](https://docs.github.com/enterprise-cloud@latest/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages).\"", "tags": [ "packages" ], "operationId": "packages/get-package-for-organization", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#get-a-package-for-an-organization" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/packages/packages#get-a-package-for-an-organization" }, "parameters": [ { @@ -211475,14 +212385,14 @@ }, "delete": { "summary": "Delete a package for an organization", - "description": "Deletes an entire package in an organization. You cannot delete a public package if any version of the package has more than 5,000 downloads. In this scenario, contact GitHub support for further assistance.\n\nThe authenticated user must have admin permissions in the organization to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that supports granular permissions, the authenticated user must also have admin permissions to the package. For the list of these registries, see \"[About permissions for GitHub Packages](https://docs.github.com/enterprise-cloud@latest//packages/learn-github-packages/about-permissions-for-github-packages#granular-permissions-for-userorganization-scoped-packages).\"\n\nOAuth app tokens and personal access tokens (classic) need the `read:packages` and `delete:packages` scopes to use this endpoint. For more information, see \"[About permissions for GitHub Packages](https://docs.github.com/enterprise-cloud@latest//packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages).\"", + "description": "Deletes an entire package in an organization. You cannot delete a public package if any version of the package has more than 5,000 downloads. In this scenario, contact GitHub support for further assistance.\n\nThe authenticated user must have admin permissions in the organization to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that supports granular permissions, the authenticated user must also have admin permissions to the package. For the list of these registries, see \"[About permissions for GitHub Packages](https://docs.github.com/enterprise-cloud@latest/packages/learn-github-packages/about-permissions-for-github-packages#granular-permissions-for-userorganization-scoped-packages).\"\n\nOAuth app tokens and personal access tokens (classic) need the `read:packages` and `delete:packages` scopes to use this endpoint. For more information, see \"[About permissions for GitHub Packages](https://docs.github.com/enterprise-cloud@latest/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages).\"", "tags": [ "packages" ], "operationId": "packages/delete-package-for-org", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#delete-a-package-for-an-organization" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/packages/packages#delete-a-package-for-an-organization" }, "parameters": [ { @@ -211615,14 +212525,14 @@ "/orgs/{org}/packages/{package_type}/{package_name}/restore": { "post": { "summary": "Restore a package for an organization", - "description": "Restores an entire package in an organization.\n\nYou can restore a deleted package under the following conditions:\n - The package was deleted within the last 30 days.\n - The same package namespace and version is still available and not reused for a new package. If the same package namespace is not available, you will not be able to restore your package. In this scenario, to restore the deleted package, you must delete the new package that uses the deleted package's namespace first.\n\nThe authenticated user must have admin permissions in the organization to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that supports granular permissions, the authenticated user must also have admin permissions to the package. For the list of these registries, see \"[About permissions for GitHub Packages](https://docs.github.com/enterprise-cloud@latest//packages/learn-github-packages/about-permissions-for-github-packages#granular-permissions-for-userorganization-scoped-packages).\"\n\nOAuth app tokens and personal access tokens (classic) need the `read:packages` and `write:packages` scopes to use this endpoint. For more information, see \"[About permissions for GitHub Packages](https://docs.github.com/enterprise-cloud@latest//packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages).\"", + "description": "Restores an entire package in an organization.\n\nYou can restore a deleted package under the following conditions:\n - The package was deleted within the last 30 days.\n - The same package namespace and version is still available and not reused for a new package. If the same package namespace is not available, you will not be able to restore your package. In this scenario, to restore the deleted package, you must delete the new package that uses the deleted package's namespace first.\n\nThe authenticated user must have admin permissions in the organization to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that supports granular permissions, the authenticated user must also have admin permissions to the package. For the list of these registries, see \"[About permissions for GitHub Packages](https://docs.github.com/enterprise-cloud@latest/packages/learn-github-packages/about-permissions-for-github-packages#granular-permissions-for-userorganization-scoped-packages).\"\n\nOAuth app tokens and personal access tokens (classic) need the `read:packages` and `write:packages` scopes to use this endpoint. For more information, see \"[About permissions for GitHub Packages](https://docs.github.com/enterprise-cloud@latest/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages).\"", "tags": [ "packages" ], "operationId": "packages/restore-package-for-org", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#restore-a-package-for-an-organization" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/packages/packages#restore-a-package-for-an-organization" }, "parameters": [ { @@ -211764,14 +212674,14 @@ "/orgs/{org}/packages/{package_type}/{package_name}/versions": { "get": { "summary": "List package versions for a package owned by an organization", - "description": "Lists package versions for a package owned by an organization.\n\nOAuth app tokens and personal access tokens (classic) need the `read:packages` scope to use this endpoint. For more information, see \"[About permissions for GitHub Packages](https://docs.github.com/enterprise-cloud@latest//packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages).\"", + "description": "Lists package versions for a package owned by an organization.\n\nOAuth app tokens and personal access tokens (classic) need the `read:packages` scope to use this endpoint. For more information, see \"[About permissions for GitHub Packages](https://docs.github.com/enterprise-cloud@latest/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages).\"", "tags": [ "packages" ], "operationId": "packages/get-all-package-versions-for-package-owned-by-org", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#list-package-versions-for-a-package-owned-by-an-organization" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/packages/packages#list-package-versions-for-a-package-owned-by-an-organization" }, "parameters": [ { @@ -211811,7 +212721,7 @@ }, { "name": "page", - "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -211820,7 +212730,7 @@ }, { "name": "per_page", - "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -212083,14 +212993,14 @@ "/orgs/{org}/packages/{package_type}/{package_name}/versions/{package_version_id}": { "get": { "summary": "Get a package version for an organization", - "description": "Gets a specific package version in an organization.\n\nOAuth app tokens and personal access tokens (classic) need the `read:packages` scope to use this endpoint. For more information, see \"[About permissions for GitHub Packages](https://docs.github.com/enterprise-cloud@latest//packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages).\"", + "description": "Gets a specific package version in an organization.\n\nOAuth app tokens and personal access tokens (classic) need the `read:packages` scope to use this endpoint. For more information, see \"[About permissions for GitHub Packages](https://docs.github.com/enterprise-cloud@latest/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages).\"", "tags": [ "packages" ], "operationId": "packages/get-package-version-for-organization", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#get-a-package-version-for-an-organization" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/packages/packages#get-a-package-version-for-an-organization" }, "parameters": [ { @@ -212287,14 +213197,14 @@ }, "delete": { "summary": "Delete package version for an organization", - "description": "Deletes a specific package version in an organization. If the package is public and the package version has more than 5,000 downloads, you cannot delete the package version. In this scenario, contact GitHub support for further assistance.\n\nThe authenticated user must have admin permissions in the organization to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that supports granular permissions, the authenticated user must also have admin permissions to the package. For the list of these registries, see \"[About permissions for GitHub Packages](https://docs.github.com/enterprise-cloud@latest//packages/learn-github-packages/about-permissions-for-github-packages#granular-permissions-for-userorganization-scoped-packages).\"\n\nOAuth app tokens and personal access tokens (classic) need the `read:packages` and `delete:packages` scopes to use this endpoint. For more information, see \"[About permissions for GitHub Packages](https://docs.github.com/enterprise-cloud@latest//packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages).\"", + "description": "Deletes a specific package version in an organization. If the package is public and the package version has more than 5,000 downloads, you cannot delete the package version. In this scenario, contact GitHub support for further assistance.\n\nThe authenticated user must have admin permissions in the organization to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that supports granular permissions, the authenticated user must also have admin permissions to the package. For the list of these registries, see \"[About permissions for GitHub Packages](https://docs.github.com/enterprise-cloud@latest/packages/learn-github-packages/about-permissions-for-github-packages#granular-permissions-for-userorganization-scoped-packages).\"\n\nOAuth app tokens and personal access tokens (classic) need the `read:packages` and `delete:packages` scopes to use this endpoint. For more information, see \"[About permissions for GitHub Packages](https://docs.github.com/enterprise-cloud@latest/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages).\"", "tags": [ "packages" ], "operationId": "packages/delete-package-version-for-org", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#delete-package-version-for-an-organization" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/packages/packages#delete-package-version-for-an-organization" }, "parameters": [ { @@ -212436,14 +213346,14 @@ "/orgs/{org}/packages/{package_type}/{package_name}/versions/{package_version_id}/restore": { "post": { "summary": "Restore package version for an organization", - "description": "Restores a specific package version in an organization.\n\nYou can restore a deleted package under the following conditions:\n - The package was deleted within the last 30 days.\n - The same package namespace and version is still available and not reused for a new package. If the same package namespace is not available, you will not be able to restore your package. In this scenario, to restore the deleted package, you must delete the new package that uses the deleted package's namespace first.\n\nThe authenticated user must have admin permissions in the organization to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that supports granular permissions, the authenticated user must also have admin permissions to the package. For the list of these registries, see \"[About permissions for GitHub Packages](https://docs.github.com/enterprise-cloud@latest//packages/learn-github-packages/about-permissions-for-github-packages#granular-permissions-for-userorganization-scoped-packages).\"\n\nOAuth app tokens and personal access tokens (classic) need the `read:packages` and `write:packages` scopes to use this endpoint. For more information, see \"[About permissions for GitHub Packages](https://docs.github.com/enterprise-cloud@latest//packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages).\"", + "description": "Restores a specific package version in an organization.\n\nYou can restore a deleted package under the following conditions:\n - The package was deleted within the last 30 days.\n - The same package namespace and version is still available and not reused for a new package. If the same package namespace is not available, you will not be able to restore your package. In this scenario, to restore the deleted package, you must delete the new package that uses the deleted package's namespace first.\n\nThe authenticated user must have admin permissions in the organization to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that supports granular permissions, the authenticated user must also have admin permissions to the package. For the list of these registries, see \"[About permissions for GitHub Packages](https://docs.github.com/enterprise-cloud@latest/packages/learn-github-packages/about-permissions-for-github-packages#granular-permissions-for-userorganization-scoped-packages).\"\n\nOAuth app tokens and personal access tokens (classic) need the `read:packages` and `write:packages` scopes to use this endpoint. For more information, see \"[About permissions for GitHub Packages](https://docs.github.com/enterprise-cloud@latest/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages).\"", "tags": [ "packages" ], "operationId": "packages/restore-package-version-for-org", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#restore-package-version-for-an-organization" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/packages/packages#restore-package-version-for-an-organization" }, "parameters": [ { @@ -212592,7 +213502,7 @@ "operationId": "orgs/list-pat-grant-requests", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/orgs/personal-access-tokens#list-requests-to-access-organization-resources-with-fine-grained-personal-access-tokens" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/orgs/personal-access-tokens#list-requests-to-access-organization-resources-with-fine-grained-personal-access-tokens" }, "parameters": [ { @@ -212606,7 +213516,7 @@ }, { "name": "per_page", - "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -212615,7 +213525,7 @@ }, { "name": "page", - "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -213164,7 +214074,7 @@ "operationId": "orgs/review-pat-grant-requests-in-bulk", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/orgs/personal-access-tokens#review-requests-to-access-organization-resources-with-fine-grained-personal-access-tokens" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/orgs/personal-access-tokens#review-requests-to-access-organization-resources-with-fine-grained-personal-access-tokens" }, "parameters": [ { @@ -213410,7 +214320,7 @@ "operationId": "orgs/review-pat-grant-request", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/orgs/personal-access-tokens#review-a-request-to-access-organization-resources-with-a-fine-grained-personal-access-token" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/orgs/personal-access-tokens#review-a-request-to-access-organization-resources-with-a-fine-grained-personal-access-token" }, "parameters": [ { @@ -213640,7 +214550,7 @@ "operationId": "orgs/list-pat-grant-request-repositories", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/orgs/personal-access-tokens#list-repositories-requested-to-be-accessed-by-a-fine-grained-personal-access-token" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/orgs/personal-access-tokens#list-repositories-requested-to-be-accessed-by-a-fine-grained-personal-access-token" }, "parameters": [ { @@ -213663,7 +214573,7 @@ }, { "name": "per_page", - "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -213672,7 +214582,7 @@ }, { "name": "page", - "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -214690,7 +215600,7 @@ "operationId": "orgs/list-pat-grants", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/orgs/personal-access-tokens#list-fine-grained-personal-access-tokens-with-access-to-organization-resources" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/orgs/personal-access-tokens#list-fine-grained-personal-access-tokens-with-access-to-organization-resources" }, "parameters": [ { @@ -214704,7 +215614,7 @@ }, { "name": "per_page", - "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -214713,7 +215623,7 @@ }, { "name": "page", - "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -215255,7 +216165,7 @@ "operationId": "orgs/update-pat-accesses", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/orgs/personal-access-tokens#update-the-access-to-organization-resources-via-fine-grained-personal-access-tokens" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/orgs/personal-access-tokens#update-the-access-to-organization-resources-via-fine-grained-personal-access-tokens" }, "parameters": [ { @@ -215495,7 +216405,7 @@ "operationId": "orgs/update-pat-access", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/orgs/personal-access-tokens#update-the-access-a-fine-grained-personal-access-token-has-to-organization-resources" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/orgs/personal-access-tokens#update-the-access-a-fine-grained-personal-access-token-has-to-organization-resources" }, "parameters": [ { @@ -215717,7 +216627,7 @@ "operationId": "orgs/list-pat-grant-repositories", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/orgs/personal-access-tokens#list-repositories-a-fine-grained-personal-access-token-has-access-to" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/orgs/personal-access-tokens#list-repositories-a-fine-grained-personal-access-token-has-access-to" }, "parameters": [ { @@ -215740,7 +216650,7 @@ }, { "name": "per_page", - "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -215749,7 +216659,7 @@ }, { "name": "page", - "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -216767,7 +217677,7 @@ "operationId": "private-registries/list-org-private-registries", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/private-registries/organization-configurations#list-private-registries-for-an-organization" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/private-registries/organization-configurations#list-private-registries-for-an-organization" }, "parameters": [ { @@ -216781,7 +217691,7 @@ }, { "name": "per_page", - "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -216790,7 +217700,7 @@ }, { "name": "page", - "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -217079,14 +217989,14 @@ }, "post": { "summary": "Create a private registry for an organization", - "description": "\nCreates a private registry configuration with an encrypted value for an organization. Encrypt your secret using [LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages). For more information, see \"[Encrypting secrets for the REST API](https://docs.github.com/enterprise-cloud@latest//rest/guides/encrypting-secrets-for-the-rest-api).\"\nFor OIDC-based registries (`oidc_azure`, `oidc_aws`, `oidc_jfrog`, or `oidc_cloudsmith`), the `encrypted_value` and `key_id` fields should be omitted.\n\nOAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint.", + "description": "\nCreates a private registry configuration with an encrypted value for an organization. Encrypt your secret using [LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages). For more information, see \"[Encrypting secrets for the REST API](https://docs.github.com/enterprise-cloud@latest/rest/guides/encrypting-secrets-for-the-rest-api).\"\nFor OIDC-based registries (`oidc_azure`, `oidc_aws`, `oidc_jfrog`, or `oidc_cloudsmith`), the `encrypted_value` and `key_id` fields should be omitted.\n\nOAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint.", "tags": [ "private-registries" ], "operationId": "private-registries/create-org-private-registry", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/private-registries/organization-configurations#create-a-private-registry-for-an-organization" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/private-registries/organization-configurations#create-a-private-registry-for-an-organization" }, "parameters": [ { @@ -217143,7 +218053,7 @@ "default": false }, "encrypted_value": { - "description": "The value for your secret, encrypted with [LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages) using the public key retrieved from the [Get private registries public key for an organization](https://docs.github.com/enterprise-cloud@latest//rest/private-registries/organization-configurations#get-private-registries-public-key-for-an-organization) endpoint. Required when `auth_type` is `token` or `username_password`. Should be omitted for OIDC auth types.", + "description": "The value for your secret, encrypted with [LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages) using the public key retrieved from the [Get private registries public key for an organization](https://docs.github.com/enterprise-cloud@latest/rest/private-registries/organization-configurations#get-private-registries-public-key-for-an-organization) endpoint. Required when `auth_type` is `token` or `username_password`. Should be omitted for OIDC auth types.", "type": "string", "pattern": "^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=|[A-Za-z0-9+/]{4})$" }, @@ -217161,7 +218071,7 @@ ] }, "selected_repository_ids": { - "description": "An array of repository IDs that can access the organization private registry. You can only provide a list of repository IDs when `visibility` is set to `selected`. You can manage the list of selected repositories using the [Update a private registry for an organization](https://docs.github.com/enterprise-cloud@latest//rest/private-registries/organization-configurations#update-a-private-registry-for-an-organization) endpoint. This field should be omitted if `visibility` is set to `all` or `private`.", + "description": "An array of repository IDs that can access the organization private registry. You can only provide a list of repository IDs when `visibility` is set to `selected`. You can manage the list of selected repositories using the [Update a private registry for an organization](https://docs.github.com/enterprise-cloud@latest/rest/private-registries/organization-configurations#update-a-private-registry-for-an-organization) endpoint. This field should be omitted if `visibility` is set to `all` or `private`.", "type": "array", "items": { "type": "integer" @@ -217584,7 +218494,7 @@ "operationId": "private-registries/get-org-public-key", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/private-registries/organization-configurations#get-private-registries-public-key-for-an-organization" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/private-registries/organization-configurations#get-private-registries-public-key-for-an-organization" }, "parameters": [ { @@ -217685,7 +218595,7 @@ "operationId": "private-registries/get-org-private-registry", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/private-registries/organization-configurations#get-a-private-registry-for-an-organization" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/private-registries/organization-configurations#get-a-private-registry-for-an-organization" }, "parameters": [ { @@ -217900,14 +218810,14 @@ }, "patch": { "summary": "Update a private registry for an organization", - "description": "\nUpdates a private registry configuration with an encrypted value for an organization. Encrypt your secret using [LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages). For more information, see \"[Encrypting secrets for the REST API](https://docs.github.com/enterprise-cloud@latest//rest/guides/encrypting-secrets-for-the-rest-api).\"\nFor OIDC-based registries (`oidc_azure`, `oidc_aws`, `oidc_jfrog`, or `oidc_cloudsmith`), the `encrypted_value` and `key_id` fields should be omitted.\n\nOAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint.", + "description": "\nUpdates a private registry configuration with an encrypted value for an organization. Encrypt your secret using [LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages). For more information, see \"[Encrypting secrets for the REST API](https://docs.github.com/enterprise-cloud@latest/rest/guides/encrypting-secrets-for-the-rest-api).\"\nFor OIDC-based registries (`oidc_azure`, `oidc_aws`, `oidc_jfrog`, or `oidc_cloudsmith`), the `encrypted_value` and `key_id` fields should be omitted.\n\nOAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint.", "tags": [ "private-registries" ], "operationId": "private-registries/update-org-private-registry", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/private-registries/organization-configurations#update-a-private-registry-for-an-organization" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/private-registries/organization-configurations#update-a-private-registry-for-an-organization" }, "parameters": [ { @@ -217973,7 +218883,7 @@ "default": false }, "encrypted_value": { - "description": "The value for your secret, encrypted with [LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages) using the public key retrieved from the [Get private registries public key for an organization](https://docs.github.com/enterprise-cloud@latest//rest/private-registries/organization-configurations#get-private-registries-public-key-for-an-organization) endpoint.", + "description": "The value for your secret, encrypted with [LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages) using the public key retrieved from the [Get private registries public key for an organization](https://docs.github.com/enterprise-cloud@latest/rest/private-registries/organization-configurations#get-private-registries-public-key-for-an-organization) endpoint.", "type": "string", "pattern": "^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=|[A-Za-z0-9+/]{4})$" }, @@ -218203,7 +219113,7 @@ "operationId": "private-registries/delete-org-private-registry", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/private-registries/organization-configurations#delete-a-private-registry-for-an-organization" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/private-registries/organization-configurations#delete-a-private-registry-for-an-organization" }, "parameters": [ { @@ -218334,7 +219244,7 @@ "operationId": "projects/list-for-org", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#list-projects-for-organization" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/projects/projects#list-projects-for-organization" }, "parameters": [ { @@ -218357,7 +219267,7 @@ }, { "name": "before", - "description": "A cursor, as given in the [Link header](https://docs.github.com/enterprise-cloud@latest//rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for results before this cursor. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "A cursor, as given in the [Link header](https://docs.github.com/enterprise-cloud@latest/rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for results before this cursor. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "required": false, "schema": { @@ -218366,7 +219276,7 @@ }, { "name": "after", - "description": "A cursor, as given in the [Link header](https://docs.github.com/enterprise-cloud@latest//rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for results after this cursor. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "A cursor, as given in the [Link header](https://docs.github.com/enterprise-cloud@latest/rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for results after this cursor. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "required": false, "schema": { @@ -218375,7 +219285,7 @@ }, { "name": "per_page", - "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -219222,7 +220132,7 @@ "operationId": "projects/get-for-org", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#get-project-for-organization" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/projects/projects#get-project-for-organization" }, "parameters": [ { @@ -220080,7 +220990,7 @@ "operationId": "projects/create-draft-item-for-org", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/projects/drafts#create-draft-item-for-organization-owned-project" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/projects/drafts#create-draft-item-for-organization-owned-project" }, "parameters": [ { @@ -226809,7 +227719,7 @@ "operationId": "projects/list-fields-for-org", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/projects/fields#list-project-fields-for-organization" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/projects/fields#list-project-fields-for-organization" }, "parameters": [ { @@ -226832,7 +227742,7 @@ }, { "name": "per_page", - "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -226841,7 +227751,7 @@ }, { "name": "before", - "description": "A cursor, as given in the [Link header](https://docs.github.com/enterprise-cloud@latest//rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for results before this cursor. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "A cursor, as given in the [Link header](https://docs.github.com/enterprise-cloud@latest/rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for results before this cursor. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "required": false, "schema": { @@ -226850,7 +227760,7 @@ }, { "name": "after", - "description": "A cursor, as given in the [Link header](https://docs.github.com/enterprise-cloud@latest//rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for results after this cursor. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "A cursor, as given in the [Link header](https://docs.github.com/enterprise-cloud@latest/rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for results after this cursor. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "required": false, "schema": { @@ -227299,7 +228209,7 @@ "operationId": "projects/add-field-for-org", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/projects/fields#add-a-field-to-an-organization-owned-project" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/projects/fields#add-a-field-to-an-organization-owned-project" }, "parameters": [ { @@ -228036,7 +228946,7 @@ "operationId": "projects/get-field-for-org", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/projects/fields#get-project-field-for-organization" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/projects/fields#get-project-field-for-organization" }, "parameters": [ { @@ -228398,7 +229308,7 @@ "operationId": "projects/list-items-for-org", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/projects/items#list-items-for-an-organization-owned-project" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/projects/items#list-items-for-an-organization-owned-project" }, "parameters": [ { @@ -228421,7 +229331,7 @@ }, { "name": "q", - "description": "Search query to filter items, see [Filtering projects](https://docs.github.com/enterprise-cloud@latest//issues/planning-and-tracking-with-projects/customizing-views-in-your-project/filtering-projects) for more information.", + "description": "Search query to filter items, see [Filtering projects](https://docs.github.com/enterprise-cloud@latest/issues/planning-and-tracking-with-projects/customizing-views-in-your-project/filtering-projects) for more information.", "in": "query", "required": false, "schema": { @@ -228450,7 +229360,7 @@ }, { "name": "before", - "description": "A cursor, as given in the [Link header](https://docs.github.com/enterprise-cloud@latest//rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for results before this cursor. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "A cursor, as given in the [Link header](https://docs.github.com/enterprise-cloud@latest/rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for results before this cursor. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "required": false, "schema": { @@ -228459,7 +229369,7 @@ }, { "name": "after", - "description": "A cursor, as given in the [Link header](https://docs.github.com/enterprise-cloud@latest//rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for results after this cursor. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "A cursor, as given in the [Link header](https://docs.github.com/enterprise-cloud@latest/rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for results after this cursor. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "required": false, "schema": { @@ -228468,7 +229378,7 @@ }, { "name": "per_page", - "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -229524,7 +230434,7 @@ "operationId": "projects/add-item-for-org", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/projects/items#add-item-to-organization-owned-project" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/projects/items#add-item-to-organization-owned-project" }, "parameters": [ { @@ -236495,7 +237405,7 @@ "operationId": "projects/get-org-item", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/projects/items#get-an-item-for-an-organization-owned-project" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/projects/items#get-an-item-for-an-organization-owned-project" }, "parameters": [ { @@ -237591,7 +238501,7 @@ "operationId": "projects/update-item-for-org", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/projects/items#update-project-item-for-organization" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/projects/items#update-project-item-for-organization" }, "parameters": [ { @@ -241865,7 +242775,7 @@ "operationId": "projects/delete-item-for-org", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/projects/items#delete-project-item-for-organization" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/projects/items#delete-project-item-for-organization" }, "parameters": [ { @@ -241971,7 +242881,7 @@ "operationId": "projects/create-view-for-org", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/projects/views#create-a-view-for-an-organization-owned-project" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/projects/views#create-a-view-for-an-organization-owned-project" }, "parameters": [ { @@ -242017,7 +242927,7 @@ }, "filter": { "type": "string", - "description": "The filter query for the view. See [Filtering projects](https://docs.github.com/enterprise-cloud@latest//issues/planning-and-tracking-with-projects/customizing-views-in-your-project/filtering-projects) for more information.", + "description": "The filter query for the view. See [Filtering projects](https://docs.github.com/enterprise-cloud@latest/issues/planning-and-tracking-with-projects/customizing-views-in-your-project/filtering-projects) for more information.", "example": "is:issue is:open" }, "visible_fields": { @@ -242701,7 +243611,7 @@ "operationId": "projects/list-view-items-for-org", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/projects/items#list-items-for-an-organization-project-view" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/projects/items#list-items-for-an-organization-project-view" }, "parameters": [ { @@ -242753,7 +243663,7 @@ }, { "name": "before", - "description": "A cursor, as given in the [Link header](https://docs.github.com/enterprise-cloud@latest//rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for results before this cursor. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "A cursor, as given in the [Link header](https://docs.github.com/enterprise-cloud@latest/rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for results before this cursor. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "required": false, "schema": { @@ -242762,7 +243672,7 @@ }, { "name": "after", - "description": "A cursor, as given in the [Link header](https://docs.github.com/enterprise-cloud@latest//rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for results after this cursor. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "A cursor, as given in the [Link header](https://docs.github.com/enterprise-cloud@latest/rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for results after this cursor. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "required": false, "schema": { @@ -242771,7 +243681,7 @@ }, { "name": "per_page", - "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -243855,7 +244765,7 @@ "operationId": "orgs/custom-properties-for-repos-get-organization-definitions", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-properties#get-all-custom-properties-for-an-organization" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/orgs/custom-properties#get-all-custom-properties-for-an-organization" }, "parameters": [ { @@ -244069,7 +244979,7 @@ "operationId": "orgs/custom-properties-for-repos-create-or-update-organization-definitions", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-properties#create-or-update-custom-properties-for-an-organization" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/orgs/custom-properties#create-or-update-custom-properties-for-an-organization" }, "parameters": [ { @@ -244422,7 +245332,7 @@ "operationId": "orgs/custom-properties-for-repos-get-organization-definition", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-properties#get-a-custom-property-for-an-organization" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/orgs/custom-properties#get-a-custom-property-for-an-organization" }, "parameters": [ { @@ -244625,7 +245535,7 @@ "operationId": "orgs/custom-properties-for-repos-create-or-update-organization-definition", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-properties#create-or-update-a-custom-property-for-an-organization" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/orgs/custom-properties#create-or-update-a-custom-property-for-an-organization" }, "parameters": [ { @@ -244917,7 +245827,7 @@ "operationId": "orgs/custom-properties-for-repos-delete-organization-definition", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-properties#remove-a-custom-property-for-an-organization" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/orgs/custom-properties#remove-a-custom-property-for-an-organization" }, "parameters": [ { @@ -245014,7 +245924,7 @@ "operationId": "orgs/custom-properties-for-repos-get-organization-values", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-properties#list-custom-property-values-for-organization-repositories" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/orgs/custom-properties#list-custom-property-values-for-organization-repositories" }, "parameters": [ { @@ -245028,7 +245938,7 @@ }, { "name": "per_page", - "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -245037,7 +245947,7 @@ }, { "name": "page", - "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -245046,7 +245956,7 @@ }, { "name": "repository_query", - "description": "Finds repositories in the organization with a query containing one or more search keywords and qualifiers. Qualifiers allow you to limit your search to specific areas of GitHub Enterprise Cloud. The REST API supports the same qualifiers as the web interface for GitHub Enterprise Cloud. To learn more about the format of the query, see [Constructing a search query](https://docs.github.com/enterprise-cloud@latest//rest/search/search#constructing-a-search-query). See \"[Searching for repositories](https://docs.github.com/enterprise-cloud@latest//articles/searching-for-repositories/)\" for a detailed list of qualifiers.", + "description": "Finds repositories in the organization with a query containing one or more search keywords and qualifiers. Qualifiers allow you to limit your search to specific areas of GitHub Enterprise Cloud. The REST API supports the same qualifiers as the web interface for GitHub Enterprise Cloud. To learn more about the format of the query, see [Constructing a search query](https://docs.github.com/enterprise-cloud@latest/rest/search/search#constructing-a-search-query). See \"[Searching for repositories](https://docs.github.com/enterprise-cloud@latest/articles/searching-for-repositories/)\" for a detailed list of qualifiers.", "in": "query", "required": false, "schema": { @@ -245226,7 +246136,7 @@ "operationId": "orgs/custom-properties-for-repos-create-or-update-organization-values", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-properties#create-or-update-custom-property-values-for-organization-repositories" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/orgs/custom-properties#create-or-update-custom-property-values-for-organization-repositories" }, "parameters": [ { @@ -245466,7 +246376,7 @@ "operationId": "orgs/list-public-members", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#list-public-organization-members" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/orgs/members#list-public-organization-members" }, "parameters": [ { @@ -245480,7 +246390,7 @@ }, { "name": "per_page", - "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -245489,7 +246399,7 @@ }, { "name": "page", - "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -245685,7 +246595,7 @@ "operationId": "orgs/check-public-membership-for-user", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#check-public-organization-membership-for-a-user" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/orgs/members#check-public-organization-membership-for-a-user" }, "parameters": [ { @@ -245724,14 +246634,14 @@ }, "put": { "summary": "Set public organization membership for the authenticated user", - "description": "The user can publicize their own membership. (A user cannot publicize the membership for another user.)\n\nNote that you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP method](https://docs.github.com/enterprise-cloud@latest//rest/guides/getting-started-with-the-rest-api#http-method).\"", + "description": "The user can publicize their own membership. (A user cannot publicize the membership for another user.)\n\nNote that you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP method](https://docs.github.com/enterprise-cloud@latest/rest/guides/getting-started-with-the-rest-api#http-method).\"", "tags": [ "orgs" ], "operationId": "orgs/set-public-membership-for-authenticated-user", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#set-public-organization-membership-for-the-authenticated-user" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/orgs/members#set-public-organization-membership-for-the-authenticated-user" }, "parameters": [ { @@ -245800,7 +246710,7 @@ "operationId": "orgs/remove-public-membership-for-authenticated-user", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#remove-public-organization-membership-for-the-authenticated-user" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/orgs/members#remove-public-organization-membership-for-the-authenticated-user" }, "parameters": [ { @@ -245838,14 +246748,14 @@ "/orgs/{org}/repos": { "get": { "summary": "List organization repositories", - "description": "Lists repositories for the specified organization.\n\n> [!NOTE]\n> In order to see the `security_and_analysis` block for a repository you must have admin permissions for the repository or be an owner or security manager for the organization that owns the repository. For more information, see \"[Managing security managers in your organization](https://docs.github.com/enterprise-cloud@latest//organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization).\"", + "description": "Lists repositories for the specified organization.\n\n> [!NOTE]\n> In order to see the `security_and_analysis` block for a repository you must have admin permissions for the repository or be an owner or security manager for the organization that owns the repository. For more information, see \"[Managing security managers in your organization](https://docs.github.com/enterprise-cloud@latest/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization).\"", "tags": [ "repos" ], "operationId": "repos/list-for-org", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-organization-repositories" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#list-organization-repositories" }, "parameters": [ { @@ -245905,7 +246815,7 @@ }, { "name": "per_page", - "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -245914,7 +246824,7 @@ }, { "name": "page", - "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -246852,7 +247762,7 @@ "operationId": "repos/create-in-org", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#create-an-organization-repository" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#create-an-organization-repository" }, "parameters": [ { @@ -246939,7 +247849,7 @@ }, "license_template": { "type": "string", - "description": "Choose an [open source license template](https://choosealicense.com/) that best suits your needs, and then use the [license keyword](https://docs.github.com/enterprise-cloud@latest//articles/licensing-a-repository/#searching-github-by-license-type) as the `license_template` string. For example, \"mit\" or \"mpl-2.0\"." + "description": "Choose an [open source license template](https://choosealicense.com/) that best suits your needs, and then use the [license keyword](https://docs.github.com/enterprise-cloud@latest/articles/licensing-a-repository/#searching-github-by-license-type) as the `license_template` string. For example, \"mit\" or \"mpl-2.0\"." }, "allow_squash_merge": { "type": "boolean", @@ -250942,14 +251852,14 @@ "/orgs/{org}/repository-fine-grained-permissions": { "get": { "summary": "List repository fine-grained permissions for an organization", - "description": "Lists the fine-grained permissions that can be used in custom repository roles for an organization. For more information, see \"[About custom repository roles](https://docs.github.com/enterprise-cloud@latest//organizations/managing-peoples-access-to-your-organization-with-roles/about-custom-repository-roles).\"\n\nThe authenticated user must be an administrator of the organization or of a repository of the organization to use this endpoint.\n\nOAuth app tokens and personal access tokens (classic) need the `admin:org` or `repo` scope to use this endpoint.", + "description": "Lists the fine-grained permissions that can be used in custom repository roles for an organization. For more information, see \"[About custom repository roles](https://docs.github.com/enterprise-cloud@latest/organizations/managing-peoples-access-to-your-organization-with-roles/about-custom-repository-roles).\"\n\nThe authenticated user must be an administrator of the organization or of a repository of the organization to use this endpoint.\n\nOAuth app tokens and personal access tokens (classic) need the `admin:org` or `repo` scope to use this endpoint.", "tags": [ "orgs" ], "operationId": "orgs/list-repo-fine-grained-permissions", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#list-repository-fine-grained-permissions-for-an-organization" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/orgs/custom-roles#list-repository-fine-grained-permissions-for-an-organization" }, "parameters": [ { @@ -251027,7 +251937,7 @@ "operationId": "repos/get-org-rulesets", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/orgs/rules#get-all-organization-repository-rulesets" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/orgs/rules#get-all-organization-repository-rulesets" }, "x-github": { "githubCloudOnly": false, @@ -251047,7 +251957,7 @@ }, { "name": "per_page", - "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -251056,7 +251966,7 @@ }, { "name": "page", - "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -252317,7 +253227,7 @@ "properties": { "alerts_threshold": { "type": "string", - "description": "The severity level at which code scanning results that raise alerts block a reference update. For more information on alert severity levels, see \"[About code scanning alerts](https://docs.github.com/enterprise-cloud@latest//code-security/code-scanning/managing-code-scanning-alerts/about-code-scanning-alerts#about-alert-severity-and-security-severity-levels).\"", + "description": "The severity level at which code scanning results that raise alerts block a reference update. For more information on alert severity levels, see \"[About code scanning alerts](https://docs.github.com/enterprise-cloud@latest/code-security/code-scanning/managing-code-scanning-alerts/about-code-scanning-alerts#about-alert-severity-and-security-severity-levels).\"", "enum": [ "none", "errors", @@ -252327,7 +253237,7 @@ }, "security_alerts_threshold": { "type": "string", - "description": "The severity level at which code scanning results that raise security alerts block a reference update. For more information on security severity levels, see \"[About code scanning alerts](https://docs.github.com/enterprise-cloud@latest//code-security/code-scanning/managing-code-scanning-alerts/about-code-scanning-alerts#about-alert-severity-and-security-severity-levels).\"", + "description": "The severity level at which code scanning results that raise security alerts block a reference update. For more information on security severity levels, see \"[About code scanning alerts](https://docs.github.com/enterprise-cloud@latest/code-security/code-scanning/managing-code-scanning-alerts/about-code-scanning-alerts#about-alert-severity-and-security-severity-levels).\"", "enum": [ "none", "critical", @@ -252506,7 +253416,7 @@ "operationId": "repos/create-org-ruleset", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/orgs/rules#create-an-organization-repository-ruleset" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/orgs/rules#create-an-organization-repository-ruleset" }, "x-github": { "githubCloudOnly": false, @@ -253598,7 +254508,7 @@ "properties": { "alerts_threshold": { "type": "string", - "description": "The severity level at which code scanning results that raise alerts block a reference update. For more information on alert severity levels, see \"[About code scanning alerts](https://docs.github.com/enterprise-cloud@latest//code-security/code-scanning/managing-code-scanning-alerts/about-code-scanning-alerts#about-alert-severity-and-security-severity-levels).\"", + "description": "The severity level at which code scanning results that raise alerts block a reference update. For more information on alert severity levels, see \"[About code scanning alerts](https://docs.github.com/enterprise-cloud@latest/code-security/code-scanning/managing-code-scanning-alerts/about-code-scanning-alerts#about-alert-severity-and-security-severity-levels).\"", "enum": [ "none", "errors", @@ -253608,7 +254518,7 @@ }, "security_alerts_threshold": { "type": "string", - "description": "The severity level at which code scanning results that raise security alerts block a reference update. For more information on security severity levels, see \"[About code scanning alerts](https://docs.github.com/enterprise-cloud@latest//code-security/code-scanning/managing-code-scanning-alerts/about-code-scanning-alerts#about-alert-severity-and-security-severity-levels).\"", + "description": "The severity level at which code scanning results that raise security alerts block a reference update. For more information on security severity levels, see \"[About code scanning alerts](https://docs.github.com/enterprise-cloud@latest/code-security/code-scanning/managing-code-scanning-alerts/about-code-scanning-alerts#about-alert-severity-and-security-severity-levels).\"", "enum": [ "none", "critical", @@ -254964,7 +255874,7 @@ "properties": { "alerts_threshold": { "type": "string", - "description": "The severity level at which code scanning results that raise alerts block a reference update. For more information on alert severity levels, see \"[About code scanning alerts](https://docs.github.com/enterprise-cloud@latest//code-security/code-scanning/managing-code-scanning-alerts/about-code-scanning-alerts#about-alert-severity-and-security-severity-levels).\"", + "description": "The severity level at which code scanning results that raise alerts block a reference update. For more information on alert severity levels, see \"[About code scanning alerts](https://docs.github.com/enterprise-cloud@latest/code-security/code-scanning/managing-code-scanning-alerts/about-code-scanning-alerts#about-alert-severity-and-security-severity-levels).\"", "enum": [ "none", "errors", @@ -254974,7 +255884,7 @@ }, "security_alerts_threshold": { "type": "string", - "description": "The severity level at which code scanning results that raise security alerts block a reference update. For more information on security severity levels, see \"[About code scanning alerts](https://docs.github.com/enterprise-cloud@latest//code-security/code-scanning/managing-code-scanning-alerts/about-code-scanning-alerts#about-alert-severity-and-security-severity-levels).\"", + "description": "The severity level at which code scanning results that raise security alerts block a reference update. For more information on security severity levels, see \"[About code scanning alerts](https://docs.github.com/enterprise-cloud@latest/code-security/code-scanning/managing-code-scanning-alerts/about-code-scanning-alerts#about-alert-severity-and-security-severity-levels).\"", "enum": [ "none", "critical", @@ -255234,14 +256144,14 @@ "/orgs/{org}/rulesets/rule-suites": { "get": { "summary": "List organization rule suites", - "description": "Lists suites of rule evaluations at the organization level.\nFor more information, see \"[Managing rulesets for repositories in your organization](https://docs.github.com/enterprise-cloud@latest//organizations/managing-organization-settings/managing-rulesets-for-repositories-in-your-organization#viewing-insights-for-rulesets).\"", + "description": "Lists suites of rule evaluations at the organization level.\nFor more information, see \"[Managing rulesets for repositories in your organization](https://docs.github.com/enterprise-cloud@latest/organizations/managing-organization-settings/managing-rulesets-for-repositories-in-your-organization#viewing-insights-for-rulesets).\"", "tags": [ "repos" ], "operationId": "repos/get-org-rule-suites", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/orgs/rule-suites#list-organization-rule-suites" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/orgs/rule-suites#list-organization-rule-suites" }, "parameters": [ { @@ -255311,7 +256221,7 @@ }, { "name": "per_page", - "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -255320,7 +256230,7 @@ }, { "name": "page", - "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -255496,14 +256406,14 @@ "/orgs/{org}/rulesets/rule-suites/{rule_suite_id}": { "get": { "summary": "Get an organization rule suite", - "description": "Gets information about a suite of rule evaluations from within an organization.\nFor more information, see \"[Managing rulesets for repositories in your organization](https://docs.github.com/enterprise-cloud@latest//organizations/managing-organization-settings/managing-rulesets-for-repositories-in-your-organization#viewing-insights-for-rulesets).\"", + "description": "Gets information about a suite of rule evaluations from within an organization.\nFor more information, see \"[Managing rulesets for repositories in your organization](https://docs.github.com/enterprise-cloud@latest/organizations/managing-organization-settings/managing-rulesets-for-repositories-in-your-organization#viewing-insights-for-rulesets).\"", "tags": [ "repos" ], "operationId": "repos/get-org-rule-suite", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/orgs/rule-suites#get-an-organization-rule-suite" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/orgs/rule-suites#get-an-organization-rule-suite" }, "parameters": [ { @@ -255517,7 +256427,7 @@ }, { "name": "rule_suite_id", - "description": "The unique identifier of the rule suite result.\nTo get this ID, you can use [GET /repos/{owner}/{repo}/rulesets/rule-suites](https://docs.github.com/enterprise-cloud@latest//rest/repos/rule-suites#list-repository-rule-suites)\nfor repositories and [GET /orgs/{org}/rulesets/rule-suites](https://docs.github.com/enterprise-cloud@latest//rest/orgs/rule-suites#list-organization-rule-suites)\nfor organizations.", + "description": "The unique identifier of the rule suite result.\nTo get this ID, you can use [GET /repos/{owner}/{repo}/rulesets/rule-suites](https://docs.github.com/enterprise-cloud@latest/rest/repos/rule-suites#list-repository-rule-suites)\nfor repositories and [GET /orgs/{org}/rulesets/rule-suites](https://docs.github.com/enterprise-cloud@latest/rest/orgs/rule-suites#list-organization-rule-suites)\nfor organizations.", "in": "path", "required": true, "schema": { @@ -255771,7 +256681,7 @@ "operationId": "repos/get-org-ruleset", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/orgs/rules#get-an-organization-repository-ruleset" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/orgs/rules#get-an-organization-repository-ruleset" }, "x-github": { "githubCloudOnly": false, @@ -257040,7 +257950,7 @@ "properties": { "alerts_threshold": { "type": "string", - "description": "The severity level at which code scanning results that raise alerts block a reference update. For more information on alert severity levels, see \"[About code scanning alerts](https://docs.github.com/enterprise-cloud@latest//code-security/code-scanning/managing-code-scanning-alerts/about-code-scanning-alerts#about-alert-severity-and-security-severity-levels).\"", + "description": "The severity level at which code scanning results that raise alerts block a reference update. For more information on alert severity levels, see \"[About code scanning alerts](https://docs.github.com/enterprise-cloud@latest/code-security/code-scanning/managing-code-scanning-alerts/about-code-scanning-alerts#about-alert-severity-and-security-severity-levels).\"", "enum": [ "none", "errors", @@ -257050,7 +257960,7 @@ }, "security_alerts_threshold": { "type": "string", - "description": "The severity level at which code scanning results that raise security alerts block a reference update. For more information on security severity levels, see \"[About code scanning alerts](https://docs.github.com/enterprise-cloud@latest//code-security/code-scanning/managing-code-scanning-alerts/about-code-scanning-alerts#about-alert-severity-and-security-severity-levels).\"", + "description": "The severity level at which code scanning results that raise security alerts block a reference update. For more information on security severity levels, see \"[About code scanning alerts](https://docs.github.com/enterprise-cloud@latest/code-security/code-scanning/managing-code-scanning-alerts/about-code-scanning-alerts#about-alert-severity-and-security-severity-levels).\"", "enum": [ "none", "critical", @@ -257246,7 +258156,7 @@ "operationId": "repos/update-org-ruleset", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/orgs/rules#update-an-organization-repository-ruleset" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/orgs/rules#update-an-organization-repository-ruleset" }, "x-github": { "githubCloudOnly": false, @@ -258346,7 +259256,7 @@ "properties": { "alerts_threshold": { "type": "string", - "description": "The severity level at which code scanning results that raise alerts block a reference update. For more information on alert severity levels, see \"[About code scanning alerts](https://docs.github.com/enterprise-cloud@latest//code-security/code-scanning/managing-code-scanning-alerts/about-code-scanning-alerts#about-alert-severity-and-security-severity-levels).\"", + "description": "The severity level at which code scanning results that raise alerts block a reference update. For more information on alert severity levels, see \"[About code scanning alerts](https://docs.github.com/enterprise-cloud@latest/code-security/code-scanning/managing-code-scanning-alerts/about-code-scanning-alerts#about-alert-severity-and-security-severity-levels).\"", "enum": [ "none", "errors", @@ -258356,7 +259266,7 @@ }, "security_alerts_threshold": { "type": "string", - "description": "The severity level at which code scanning results that raise security alerts block a reference update. For more information on security severity levels, see \"[About code scanning alerts](https://docs.github.com/enterprise-cloud@latest//code-security/code-scanning/managing-code-scanning-alerts/about-code-scanning-alerts#about-alert-severity-and-security-severity-levels).\"", + "description": "The severity level at which code scanning results that raise security alerts block a reference update. For more information on security severity levels, see \"[About code scanning alerts](https://docs.github.com/enterprise-cloud@latest/code-security/code-scanning/managing-code-scanning-alerts/about-code-scanning-alerts#about-alert-severity-and-security-severity-levels).\"", "enum": [ "none", "critical", @@ -259708,7 +260618,7 @@ "properties": { "alerts_threshold": { "type": "string", - "description": "The severity level at which code scanning results that raise alerts block a reference update. For more information on alert severity levels, see \"[About code scanning alerts](https://docs.github.com/enterprise-cloud@latest//code-security/code-scanning/managing-code-scanning-alerts/about-code-scanning-alerts#about-alert-severity-and-security-severity-levels).\"", + "description": "The severity level at which code scanning results that raise alerts block a reference update. For more information on alert severity levels, see \"[About code scanning alerts](https://docs.github.com/enterprise-cloud@latest/code-security/code-scanning/managing-code-scanning-alerts/about-code-scanning-alerts#about-alert-severity-and-security-severity-levels).\"", "enum": [ "none", "errors", @@ -259718,7 +260628,7 @@ }, "security_alerts_threshold": { "type": "string", - "description": "The severity level at which code scanning results that raise security alerts block a reference update. For more information on security severity levels, see \"[About code scanning alerts](https://docs.github.com/enterprise-cloud@latest//code-security/code-scanning/managing-code-scanning-alerts/about-code-scanning-alerts#about-alert-severity-and-security-severity-levels).\"", + "description": "The severity level at which code scanning results that raise security alerts block a reference update. For more information on security severity levels, see \"[About code scanning alerts](https://docs.github.com/enterprise-cloud@latest/code-security/code-scanning/managing-code-scanning-alerts/about-code-scanning-alerts#about-alert-severity-and-security-severity-levels).\"", "enum": [ "none", "critical", @@ -259983,7 +260893,7 @@ "operationId": "repos/delete-org-ruleset", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/orgs/rules#delete-an-organization-repository-ruleset" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/orgs/rules#delete-an-organization-repository-ruleset" }, "x-github": { "githubCloudOnly": false, @@ -260080,7 +260990,7 @@ "operationId": "orgs/get-org-ruleset-history", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/orgs/rules#get-organization-ruleset-history" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/orgs/rules#get-organization-ruleset-history" }, "parameters": [ { @@ -260094,7 +261004,7 @@ }, { "name": "per_page", - "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -260103,7 +261013,7 @@ }, { "name": "page", - "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -260264,7 +261174,7 @@ "operationId": "orgs/get-org-ruleset-version", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/orgs/rules#get-organization-ruleset-version" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/orgs/rules#get-organization-ruleset-version" }, "parameters": [ { @@ -260479,7 +261389,7 @@ "operationId": "secret-scanning/list-alerts-for-org", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-organization" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-organization" }, "parameters": [ { @@ -260507,7 +261417,7 @@ { "name": "secret_type", "in": "query", - "description": "A comma-separated list of secret types to return. All default secret patterns are returned. To return generic patterns, pass the token name(s) in the parameter. See \"[Supported secret scanning patterns](https://docs.github.com/enterprise-cloud@latest//code-security/secret-scanning/introduction/supported-secret-scanning-patterns#supported-secrets)\" for a complete list of secret types.", + "description": "A comma-separated list of secret types to return. All default secret patterns are returned. To return generic patterns, pass the token name(s) in the parameter. See \"[Supported secret scanning patterns](https://docs.github.com/enterprise-cloud@latest/code-security/secret-scanning/introduction/supported-secret-scanning-patterns#supported-secrets)\" for a complete list of secret types.", "required": false, "schema": { "type": "string" @@ -260516,7 +261426,7 @@ { "name": "exclude_secret_types", "in": "query", - "description": "A comma-separated list of secret types to exclude from the results. All default secret patterns are returned except those matching the specified types. Cannot be combined with the `secret_type` parameter. See \"[Supported secret scanning patterns](https://docs.github.com/enterprise-cloud@latest//code-security/secret-scanning/introduction/supported-secret-scanning-patterns#supported-secrets)\" for a complete list of secret types.", + "description": "A comma-separated list of secret types to exclude from the results. All default secret patterns are returned except those matching the specified types. Cannot be combined with the `secret_type` parameter. See \"[Supported secret scanning patterns](https://docs.github.com/enterprise-cloud@latest/code-security/secret-scanning/introduction/supported-secret-scanning-patterns#supported-secrets)\" for a complete list of secret types.", "required": false, "schema": { "type": "string" @@ -260602,7 +261512,7 @@ }, { "name": "page", - "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -260611,7 +261521,7 @@ }, { "name": "per_page", - "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -260620,7 +261530,7 @@ }, { "name": "before", - "description": "A cursor, as given in the [Link header](https://docs.github.com/enterprise-cloud@latest//rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for events before this cursor. To receive an initial cursor on your first request, include an empty \"before\" query string.", + "description": "A cursor, as given in the [Link header](https://docs.github.com/enterprise-cloud@latest/rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for events before this cursor. To receive an initial cursor on your first request, include an empty \"before\" query string.", "in": "query", "required": false, "schema": { @@ -260629,7 +261539,7 @@ }, { "name": "after", - "description": "A cursor, as given in the [Link header](https://docs.github.com/enterprise-cloud@latest//rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for events after this cursor. To receive an initial cursor on your first request, include an empty \"after\" query string.", + "description": "A cursor, as given in the [Link header](https://docs.github.com/enterprise-cloud@latest/rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for events after this cursor. To receive an initial cursor on your first request, include an empty \"after\" query string.", "in": "query", "required": false, "schema": { @@ -260877,7 +261787,7 @@ }, "secret_type_display_name": { "type": "string", - "description": "User-friendly name for the detected secret, matching the `secret_type`.\nFor a list of built-in patterns, see \"[Supported secret scanning patterns](https://docs.github.com/enterprise-cloud@latest//code-security/secret-scanning/introduction/supported-secret-scanning-patterns#supported-secrets).\"" + "description": "User-friendly name for the detected secret, matching the `secret_type`.\nFor a list of built-in patterns, see \"[Supported secret scanning patterns](https://docs.github.com/enterprise-cloud@latest/code-security/secret-scanning/introduction/supported-secret-scanning-patterns#supported-secrets).\"" }, "provider": { "type": "string", @@ -262489,7 +263399,7 @@ "operationId": "secret-scanning/list-org-pattern-configs", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/push-protection#list-organization-pattern-configurations" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/secret-scanning/push-protection#list-organization-pattern-configurations" }, "x-github": { "githubCloudOnly": false, @@ -262774,7 +263684,7 @@ "operationId": "secret-scanning/update-org-pattern-configs", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/push-protection#update-organization-pattern-configurations" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/secret-scanning/push-protection#update-organization-pattern-configurations" }, "x-github": { "githubCloudOnly": false, @@ -263122,7 +264032,7 @@ "operationId": "security-advisories/list-org-repository-advisories", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/security-advisories/repository-advisories#list-repository-security-advisories-for-an-organization" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/security-advisories/repository-advisories#list-repository-security-advisories-for-an-organization" }, "parameters": [ { @@ -263165,7 +264075,7 @@ }, { "name": "before", - "description": "A cursor, as given in the [Link header](https://docs.github.com/enterprise-cloud@latest//rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for results before this cursor. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "A cursor, as given in the [Link header](https://docs.github.com/enterprise-cloud@latest/rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for results before this cursor. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "required": false, "schema": { @@ -263174,7 +264084,7 @@ }, { "name": "after", - "description": "A cursor, as given in the [Link header](https://docs.github.com/enterprise-cloud@latest//rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for results after this cursor. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "A cursor, as given in the [Link header](https://docs.github.com/enterprise-cloud@latest/rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for results after this cursor. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "required": false, "schema": { @@ -263183,7 +264093,7 @@ }, { "name": "per_page", - "description": "The number of advisories to return per page. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The number of advisories to return per page. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "required": false, "schema": { @@ -265330,14 +266240,14 @@ "/orgs/{org}/security-managers": { "get": { "summary": "List security manager teams", - "description": "> [!WARNING]\n> **Closing down notice:** This operation is closing down and will be removed starting January 1, 2026. Please use the \"[Organization Roles](https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles)\" endpoints instead.", + "description": "> [!WARNING]\n> **Closing down notice:** This operation is closing down and will be removed starting January 1, 2026. Please use the \"[Organization Roles](https://docs.github.com/enterprise-cloud@latest/rest/orgs/organization-roles)\" endpoints instead.", "tags": [ "orgs" ], "operationId": "orgs/list-security-manager-teams", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/orgs/security-managers#list-security-manager-teams" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/orgs/security-managers#list-security-manager-teams" }, "parameters": [ { @@ -265501,14 +266411,14 @@ "/orgs/{org}/security-managers/teams/{team_slug}": { "put": { "summary": "Add a security manager team", - "description": "> [!WARNING]\n> **Closing down notice:** This operation is closing down and will be removed starting January 1, 2026. Please use the \"[Organization Roles](https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles)\" endpoints instead.", + "description": "> [!WARNING]\n> **Closing down notice:** This operation is closing down and will be removed starting January 1, 2026. Please use the \"[Organization Roles](https://docs.github.com/enterprise-cloud@latest/rest/orgs/organization-roles)\" endpoints instead.", "tags": [ "orgs" ], "operationId": "orgs/add-security-manager-team", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/orgs/security-managers#add-a-security-manager-team" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/orgs/security-managers#add-a-security-manager-team" }, "parameters": [ { @@ -265548,14 +266458,14 @@ }, "delete": { "summary": "Remove a security manager team", - "description": "> [!WARNING]\n> **Closing down notice:** This operation is closing down and will be removed starting January 1, 2026. Please use the \"[Organization Roles](https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles)\" endpoints instead.", + "description": "> [!WARNING]\n> **Closing down notice:** This operation is closing down and will be removed starting January 1, 2026. Please use the \"[Organization Roles](https://docs.github.com/enterprise-cloud@latest/rest/orgs/organization-roles)\" endpoints instead.", "tags": [ "orgs" ], "operationId": "orgs/remove-security-manager-team", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/orgs/security-managers#remove-a-security-manager-team" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/orgs/security-managers#remove-a-security-manager-team" }, "parameters": [ { @@ -265604,7 +266514,7 @@ "operationId": "billing/get-github-advanced-security-billing-org", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/billing/billing#get-github-advanced-security-active-committers-for-an-organization" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/billing/billing#get-github-advanced-security-active-committers-for-an-organization" }, "parameters": [ { @@ -265631,7 +266541,7 @@ }, { "name": "per_page", - "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -265640,7 +266550,7 @@ }, { "name": "page", - "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -265785,7 +266695,7 @@ "operationId": "orgs/get-immutable-releases-settings", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#get-immutable-releases-settings-for-an-organization" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/orgs/orgs#get-immutable-releases-settings-for-an-organization" }, "parameters": [ { @@ -265854,7 +266764,7 @@ "operationId": "orgs/set-immutable-releases-settings", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#set-immutable-releases-settings-for-an-organization" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/orgs/orgs#set-immutable-releases-settings-for-an-organization" }, "parameters": [ { @@ -265891,7 +266801,7 @@ }, "selected_repository_ids": { "type": "array", - "description": "An array of repository ids for which immutable releases enforcement should be applied. You can only provide a list of repository ids when the `enforced_repositories` is set to `selected`. You can add and remove individual repositories using the [Enable a selected repository for immutable releases in an organization](https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#enable-a-selected-repository-for-immutable-releases-in-an-organization) and [Disable a selected repository for immutable releases in an organization](https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#disable-a-selected-repository-for-immutable-releases-in-an-organization) endpoints.", + "description": "An array of repository ids for which immutable releases enforcement should be applied. You can only provide a list of repository ids when the `enforced_repositories` is set to `selected`. You can add and remove individual repositories using the [Enable a selected repository for immutable releases in an organization](https://docs.github.com/enterprise-cloud@latest/rest/orgs/orgs#enable-a-selected-repository-for-immutable-releases-in-an-organization) and [Disable a selected repository for immutable releases in an organization](https://docs.github.com/enterprise-cloud@latest/rest/orgs/orgs#disable-a-selected-repository-for-immutable-releases-in-an-organization) endpoints.", "items": { "type": "integer" } @@ -265929,7 +266839,7 @@ "operationId": "orgs/get-immutable-releases-settings-repositories", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#list-selected-repositories-for-immutable-releases-enforcement" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/orgs/orgs#list-selected-repositories-for-immutable-releases-enforcement" }, "parameters": [ { @@ -265943,7 +266853,7 @@ }, { "name": "page", - "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -265952,7 +266862,7 @@ }, { "name": "per_page", - "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -266845,7 +267755,7 @@ "operationId": "orgs/set-immutable-releases-settings-repositories", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#set-selected-repositories-for-immutable-releases-enforcement" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/orgs/orgs#set-selected-repositories-for-immutable-releases-enforcement" }, "parameters": [ { @@ -266867,7 +267777,7 @@ "properties": { "selected_repository_ids": { "type": "array", - "description": "An array of repository ids for which immutable releases enforcement should be applied. You can only provide a list of repository ids when the `enforced_repositories` is set to `selected`. You can add and remove individual repositories using the [Enable a selected repository for immutable releases in an organization](https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#enable-a-selected-repository-for-immutable-releases-in-an-organization) and [Disable a selected repository for immutable releases in an organization](https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#disable-a-selected-repository-for-immutable-releases-in-an-organization) endpoints.", + "description": "An array of repository ids for which immutable releases enforcement should be applied. You can only provide a list of repository ids when the `enforced_repositories` is set to `selected`. You can add and remove individual repositories using the [Enable a selected repository for immutable releases in an organization](https://docs.github.com/enterprise-cloud@latest/rest/orgs/orgs#enable-a-selected-repository-for-immutable-releases-in-an-organization) and [Disable a selected repository for immutable releases in an organization](https://docs.github.com/enterprise-cloud@latest/rest/orgs/orgs#disable-a-selected-repository-for-immutable-releases-in-an-organization) endpoints.", "items": { "type": "integer" } @@ -266912,7 +267822,7 @@ ], "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#enable-a-selected-repository-for-immutable-releases-in-an-organization" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/orgs/orgs#enable-a-selected-repository-for-immutable-releases-in-an-organization" }, "parameters": [ { @@ -266955,7 +267865,7 @@ ], "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#disable-a-selected-repository-for-immutable-releases-in-an-organization" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/orgs/orgs#disable-a-selected-repository-for-immutable-releases-in-an-organization" }, "parameters": [ { @@ -267000,7 +267910,7 @@ "operationId": "hosted-compute/list-network-configurations-for-org", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/orgs/network-configurations#list-hosted-compute-network-configurations-for-an-organization" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/orgs/network-configurations#list-hosted-compute-network-configurations-for-an-organization" }, "parameters": [ { @@ -267014,7 +267924,7 @@ }, { "name": "per_page", - "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -267023,7 +267933,7 @@ }, { "name": "page", - "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -267167,7 +268077,7 @@ "operationId": "hosted-compute/create-network-configuration-for-org", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/orgs/network-configurations#create-a-hosted-compute-network-configuration-for-an-organization" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/orgs/network-configurations#create-a-hosted-compute-network-configuration-for-an-organization" }, "parameters": [ { @@ -267341,7 +268251,7 @@ "operationId": "hosted-compute/get-network-configuration-for-org", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/orgs/network-configurations#get-a-hosted-compute-network-configuration-for-an-organization" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/orgs/network-configurations#get-a-hosted-compute-network-configuration-for-an-organization" }, "parameters": [ { @@ -267469,7 +268379,7 @@ "operationId": "hosted-compute/update-network-configuration-for-org", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/orgs/network-configurations#update-a-hosted-compute-network-configuration-for-an-organization" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/orgs/network-configurations#update-a-hosted-compute-network-configuration-for-an-organization" }, "parameters": [ { @@ -267646,7 +268556,7 @@ "operationId": "hosted-compute/delete-network-configuration-from-org", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/orgs/network-configurations#delete-a-hosted-compute-network-configuration-from-an-organization" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/orgs/network-configurations#delete-a-hosted-compute-network-configuration-from-an-organization" }, "parameters": [ { @@ -267691,7 +268601,7 @@ "operationId": "hosted-compute/get-network-settings-for-org", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/orgs/network-configurations#get-a-hosted-compute-network-settings-resource-for-an-organization" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/orgs/network-configurations#get-a-hosted-compute-network-settings-resource-for-an-organization" }, "parameters": [ { @@ -267797,7 +268707,7 @@ "operationId": "teams/list-idp-groups-for-org", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/teams/team-sync#list-idp-groups-for-an-organization" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/teams/team-sync#list-idp-groups-for-an-organization" }, "parameters": [ { @@ -267811,7 +268721,7 @@ }, { "name": "per_page", - "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -267947,7 +268857,7 @@ "operationId": "copilot/copilot-metrics-for-team", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-metrics#get-copilot-metrics-for-a-team" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/copilot/copilot-metrics#get-copilot-metrics-for-a-team" }, "parameters": [ { @@ -267988,7 +268898,7 @@ }, { "name": "page", - "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -267997,7 +268907,7 @@ }, { "name": "per_page", - "description": "The number of days of metrics to display per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The number of days of metrics to display per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -268596,7 +269506,7 @@ "operationId": "teams/list", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-teams" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/teams/teams#list-teams" }, "parameters": [ { @@ -268610,7 +269520,7 @@ }, { "name": "per_page", - "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -268619,7 +269529,7 @@ }, { "name": "page", - "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -268628,7 +269538,7 @@ }, { "name": "team_type", - "description": "Filter team results by their type. For more information, see \"[What kind of team should I use?](https://docs.github.com/enterprise-cloud@latest//enterprise-cloud@latest/admin/concepts/enterprise-fundamentals/teams-in-an-enterprise#what-kind-of-team-should-i-use)\"", + "description": "Filter team results by their type. For more information, see \"[What kind of team should I use?](https://docs.github.com/enterprise-cloud@latest/enterprise-cloud@latest/admin/concepts/enterprise-fundamentals/teams-in-an-enterprise#what-kind-of-team-should-i-use)\"", "in": "query", "required": false, "schema": { @@ -268928,14 +269838,14 @@ }, "post": { "summary": "Create a team", - "description": "To create a team, the authenticated user must be a member or owner of `{org}`. By default, organization members can create teams. Organization owners can limit team creation to organization owners. For more information, see \"[Setting team creation permissions](https://docs.github.com/enterprise-cloud@latest//articles/setting-team-creation-permissions-in-your-organization).\"\n\nWhen you create a new team, you automatically become a team maintainer without explicitly adding yourself to the optional array of `maintainers`. For more information, see \"[About teams](https://docs.github.com/enterprise-cloud@latest//github/setting-up-and-managing-organizations-and-teams/about-teams)\".", + "description": "To create a team, the authenticated user must be a member or owner of `{org}`. By default, organization members can create teams. Organization owners can limit team creation to organization owners. For more information, see \"[Setting team creation permissions](https://docs.github.com/enterprise-cloud@latest/articles/setting-team-creation-permissions-in-your-organization).\"\n\nWhen you create a new team, you automatically become a team maintainer without explicitly adding yourself to the optional array of `maintainers`. For more information, see \"[About teams](https://docs.github.com/enterprise-cloud@latest/github/setting-up-and-managing-organizations-and-teams/about-teams)\".", "tags": [ "teams" ], "operationId": "teams/create", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#create-a-team" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/teams/teams#create-a-team" }, "parameters": [ { @@ -269702,7 +270612,7 @@ "operationId": "teams/get-by-name", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#get-a-team-by-name" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/teams/teams#get-a-team-by-name" }, "parameters": [ { @@ -270330,7 +271240,7 @@ "operationId": "teams/update-in-org", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#update-a-team" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/teams/teams#update-a-team" }, "parameters": [ { @@ -271676,7 +272586,7 @@ "operationId": "teams/delete-in-org", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#delete-a-team" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/teams/teams#delete-a-team" }, "parameters": [ { @@ -271717,14 +272627,14 @@ "/orgs/{org}/teams/{team_slug}/external-groups": { "get": { "summary": "List a connection between an external group and a team", - "description": "Lists a connection between a team and an external group.\n\nYou can manage team membership with your identity provider using Enterprise Managed Users for GitHub Enterprise Cloud. For more information, see \"[GitHub's products](https://docs.github.com/enterprise-cloud@latest//github/getting-started-with-github/githubs-products)\" in the GitHub Help documentation.", + "description": "Lists a connection between a team and an external group.\n\nYou can manage team membership with your identity provider using Enterprise Managed Users for GitHub Enterprise Cloud. For more information, see \"[GitHub's products](https://docs.github.com/enterprise-cloud@latest/github/getting-started-with-github/githubs-products)\" in the GitHub Help documentation.", "tags": [ "teams" ], "operationId": "teams/list-linked-external-idp-groups-to-team-for-org", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/teams/external-groups#list-a-connection-between-an-external-group-and-a-team" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/teams/external-groups#list-a-connection-between-an-external-group-and-a-team" }, "parameters": [ { @@ -271833,14 +272743,14 @@ }, "patch": { "summary": "Update the connection between an external group and a team", - "description": "Creates a connection between a team and an external group. Only one external group can be linked to a team.\n\nYou can manage team membership with your identity provider using Enterprise Managed Users for GitHub Enterprise Cloud. For more information, see \"[GitHub's products](https://docs.github.com/enterprise-cloud@latest//github/getting-started-with-github/githubs-products)\" in the GitHub Help documentation.", + "description": "Creates a connection between a team and an external group. Only one external group can be linked to a team.\n\nYou can manage team membership with your identity provider using Enterprise Managed Users for GitHub Enterprise Cloud. For more information, see \"[GitHub's products](https://docs.github.com/enterprise-cloud@latest/github/getting-started-with-github/githubs-products)\" in the GitHub Help documentation.", "tags": [ "teams" ], "operationId": "teams/link-external-idp-group-to-team-for-org", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/teams/external-groups#update-the-connection-between-an-external-group-and-a-team" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/teams/external-groups#update-the-connection-between-an-external-group-and-a-team" }, "parameters": [ { @@ -272053,14 +272963,14 @@ }, "delete": { "summary": "Remove the connection between an external group and a team", - "description": "Deletes a connection between a team and an external group.\n\nYou can manage team membership with your IdP using Enterprise Managed Users for GitHub Enterprise Cloud. For more information, see [GitHub's products](https://docs.github.com/enterprise-cloud@latest//github/getting-started-with-github/githubs-products) in the GitHub Help documentation.", + "description": "Deletes a connection between a team and an external group.\n\nYou can manage team membership with your IdP using Enterprise Managed Users for GitHub Enterprise Cloud. For more information, see [GitHub's products](https://docs.github.com/enterprise-cloud@latest/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.", "tags": [ "teams" ], "operationId": "teams/unlink-external-idp-group-from-team-for-org", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/teams/external-groups#remove-the-connection-between-an-external-group-and-a-team" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/teams/external-groups#remove-the-connection-between-an-external-group-and-a-team" }, "parameters": [ { @@ -272108,7 +273018,7 @@ "operationId": "teams/list-pending-invitations-in-org", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/teams/members#list-pending-team-invitations" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/teams/members#list-pending-team-invitations" }, "parameters": [ { @@ -272131,7 +273041,7 @@ }, { "name": "per_page", - "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -272140,7 +273050,7 @@ }, { "name": "page", - "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -272411,7 +273321,7 @@ "operationId": "teams/list-members-in-org", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/teams/members#list-team-members" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/teams/members#list-team-members" }, "parameters": [ { @@ -272449,7 +273359,7 @@ }, { "name": "per_page", - "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -272458,7 +273368,7 @@ }, { "name": "page", - "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -272647,14 +273557,14 @@ "/orgs/{org}/teams/{team_slug}/memberships/{username}": { "get": { "summary": "Get team membership for a user", - "description": "Team members will include the members of child teams.\n\nTo get a user's membership with a team, the team must be visible to the authenticated user.\n\n> [!NOTE]\n> You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/memberships/{username}`.\n\n> [!NOTE]\n> The response contains the `state` of the membership and the member's `role`.\n\nThe `role` for organization owners is set to `maintainer`. For more information about `maintainer` roles, see [Create a team](https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#create-a-team).", + "description": "Team members will include the members of child teams.\n\nTo get a user's membership with a team, the team must be visible to the authenticated user.\n\n> [!NOTE]\n> You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/memberships/{username}`.\n\n> [!NOTE]\n> The response contains the `state` of the membership and the member's `role`.\n\nThe `role` for organization owners is set to `maintainer`. For more information about `maintainer` roles, see [Create a team](https://docs.github.com/enterprise-cloud@latest/rest/teams/teams#create-a-team).", "tags": [ "teams" ], "operationId": "teams/get-membership-for-user-in-org", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/teams/members#get-team-membership-for-a-user" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/teams/members#get-team-membership-for-a-user" }, "parameters": [ { @@ -272750,14 +273660,14 @@ }, "put": { "summary": "Add or update team membership for a user", - "description": "Adds an organization member to a team. An authenticated organization owner or team maintainer can add organization members to a team.\n\nTeam synchronization is available for organizations using GitHub Enterprise Cloud. For more information, see [GitHub's products](https://docs.github.com/enterprise-cloud@latest//github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\n> [!NOTE]\n> When you have team synchronization set up for a team with your organization's identity provider (IdP), you will see an error if you attempt to use the API for making changes to the team's membership. If you have access to manage group membership in your IdP, you can manage GitHub Enterprise Cloud team membership through your identity provider, which automatically adds and removes team members in an organization. For more information, see \"[Synchronizing teams between your identity provider and GitHub Enterprise Cloud](https://docs.github.com/enterprise-cloud@latest//articles/synchronizing-teams-between-your-identity-provider-and-github/).\"\n\nAn organization owner can add someone who is not part of the team's organization to a team. When an organization owner adds someone to a team who is not an organization member, this endpoint will send an invitation to the person via email. This newly-created membership will be in the \"pending\" state until the person accepts the invitation, at which point the membership will transition to the \"active\" state and the user will be added as a member of the team.\n\nIf the user is already a member of the team, this endpoint will update the role of the team member's role. To update the membership of a team member, the authenticated user must be an organization owner or a team maintainer.\n\n> [!NOTE]\n> You can also specify a team by `org_id` and `team_id` using the route `PUT /organizations/{org_id}/team/{team_id}/memberships/{username}`.", + "description": "Adds an organization member to a team. An authenticated organization owner or team maintainer can add organization members to a team.\n\nTeam synchronization is available for organizations using GitHub Enterprise Cloud. For more information, see [GitHub's products](https://docs.github.com/enterprise-cloud@latest/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\n> [!NOTE]\n> When you have team synchronization set up for a team with your organization's identity provider (IdP), you will see an error if you attempt to use the API for making changes to the team's membership. If you have access to manage group membership in your IdP, you can manage GitHub Enterprise Cloud team membership through your identity provider, which automatically adds and removes team members in an organization. For more information, see \"[Synchronizing teams between your identity provider and GitHub Enterprise Cloud](https://docs.github.com/enterprise-cloud@latest/articles/synchronizing-teams-between-your-identity-provider-and-github/).\"\n\nAn organization owner can add someone who is not part of the team's organization to a team. When an organization owner adds someone to a team who is not an organization member, this endpoint will send an invitation to the person via email. This newly-created membership will be in the \"pending\" state until the person accepts the invitation, at which point the membership will transition to the \"active\" state and the user will be added as a member of the team.\n\nIf the user is already a member of the team, this endpoint will update the role of the team member's role. To update the membership of a team member, the authenticated user must be an organization owner or a team maintainer.\n\n> [!NOTE]\n> You can also specify a team by `org_id` and `team_id` using the route `PUT /organizations/{org_id}/team/{team_id}/memberships/{username}`.", "tags": [ "teams" ], "operationId": "teams/add-or-update-membership-for-user-in-org", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/teams/members#add-or-update-team-membership-for-a-user" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/teams/members#add-or-update-team-membership-for-a-user" }, "parameters": [ { @@ -272885,14 +273795,14 @@ }, "delete": { "summary": "Remove team membership for a user", - "description": "To remove a membership between a user and a team, the authenticated user must have 'admin' permissions to the team or be an owner of the organization that the team is associated with. Removing team membership does not delete the user, it just removes their membership from the team.\n\nTeam synchronization is available for organizations using GitHub Enterprise Cloud. For more information, see [GitHub's products](https://docs.github.com/enterprise-cloud@latest//github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\n> [!NOTE]\n> When you have team synchronization set up for a team with your organization's identity provider (IdP), you will see an error if you attempt to use the API for making changes to the team's membership. If you have access to manage group membership in your IdP, you can manage GitHub Enterprise Cloud team membership through your identity provider, which automatically adds and removes team members in an organization. For more information, see \"[Synchronizing teams between your identity provider and GitHub Enterprise Cloud](https://docs.github.com/enterprise-cloud@latest//articles/synchronizing-teams-between-your-identity-provider-and-github/).\"\n\n> [!NOTE]\n> You can also specify a team by `org_id` and `team_id` using the route `DELETE /organizations/{org_id}/team/{team_id}/memberships/{username}`.", + "description": "To remove a membership between a user and a team, the authenticated user must have 'admin' permissions to the team or be an owner of the organization that the team is associated with. Removing team membership does not delete the user, it just removes their membership from the team.\n\nTeam synchronization is available for organizations using GitHub Enterprise Cloud. For more information, see [GitHub's products](https://docs.github.com/enterprise-cloud@latest/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\n> [!NOTE]\n> When you have team synchronization set up for a team with your organization's identity provider (IdP), you will see an error if you attempt to use the API for making changes to the team's membership. If you have access to manage group membership in your IdP, you can manage GitHub Enterprise Cloud team membership through your identity provider, which automatically adds and removes team members in an organization. For more information, see \"[Synchronizing teams between your identity provider and GitHub Enterprise Cloud](https://docs.github.com/enterprise-cloud@latest/articles/synchronizing-teams-between-your-identity-provider-and-github/).\"\n\n> [!NOTE]\n> You can also specify a team by `org_id` and `team_id` using the route `DELETE /organizations/{org_id}/team/{team_id}/memberships/{username}`.", "tags": [ "teams" ], "operationId": "teams/remove-membership-for-user-in-org", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/teams/members#remove-team-membership-for-a-user" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/teams/members#remove-team-membership-for-a-user" }, "parameters": [ { @@ -272949,7 +273859,7 @@ "operationId": "teams/list-repos-in-org", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-team-repositories" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/teams/teams#list-team-repositories" }, "parameters": [ { @@ -272972,7 +273882,7 @@ }, { "name": "per_page", - "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -272981,7 +273891,7 @@ }, { "name": "page", - "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -273914,14 +274824,14 @@ "/orgs/{org}/teams/{team_slug}/repos/{owner}/{repo}": { "get": { "summary": "Check team permissions for a repository", - "description": "Checks whether a team has `admin`, `push`, `maintain`, `triage`, or `pull` permission for a repository. Repositories inherited through a parent team will also be checked.\n\nYou can also get information about the specified repository, including what permissions the team grants on it, by passing the following custom [media type](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/getting-started-with-the-rest-api#media-types/) via the `application/vnd.github.v3.repository+json` accept header.\n\nIf a team doesn't have permission for the repository, you will receive a `404 Not Found` response status.\n\nIf the repository is private, you must have at least `read` permission for that repository, and your token must have the `repo` or `admin:org` scope. Otherwise, you will receive a `404 Not Found` response status.\n\n> [!NOTE]\n> You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/repos/{owner}/{repo}`.", + "description": "Checks whether a team has `admin`, `push`, `maintain`, `triage`, or `pull` permission for a repository. Repositories inherited through a parent team will also be checked.\n\nYou can also get information about the specified repository, including what permissions the team grants on it, by passing the following custom [media type](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types/) via the `application/vnd.github.v3.repository+json` accept header.\n\nIf a team doesn't have permission for the repository, you will receive a `404 Not Found` response status.\n\nIf the repository is private, you must have at least `read` permission for that repository, and your token must have the `repo` or `admin:org` scope. Otherwise, you will receive a `404 Not Found` response status.\n\n> [!NOTE]\n> You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/repos/{owner}/{repo}`.", "tags": [ "teams" ], "operationId": "teams/check-permissions-for-repo-in-org", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#check-team-permissions-for-a-repository" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/teams/teams#check-team-permissions-for-a-repository" }, "parameters": [ { @@ -274782,14 +275692,14 @@ }, "put": { "summary": "Add or update team repository permissions", - "description": "To add a repository to a team or update the team's permission on a repository, the authenticated user must have admin access to the repository, and must be able to see the team. The repository must be owned by the organization, or a direct fork of a repository owned by the organization. You will get a `422 Unprocessable Entity` status if you attempt to add a repository to a team that is not owned by the organization. Note that, if you choose not to pass any parameters, you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP method](https://docs.github.com/enterprise-cloud@latest//rest/guides/getting-started-with-the-rest-api#http-method).\"\n\n> [!NOTE]\n> You can also specify a team by `org_id` and `team_id` using the route `PUT /organizations/{org_id}/team/{team_id}/repos/{owner}/{repo}`.\n\nFor more information about the permission levels, see \"[Repository permission levels for an organization](https://docs.github.com/enterprise-cloud@latest//github/setting-up-and-managing-organizations-and-teams/repository-permission-levels-for-an-organization#permission-levels-for-repositories-owned-by-an-organization)\".", + "description": "To add a repository to a team or update the team's permission on a repository, the authenticated user must have admin access to the repository, and must be able to see the team. The repository must be owned by the organization, or a direct fork of a repository owned by the organization. You will get a `422 Unprocessable Entity` status if you attempt to add a repository to a team that is not owned by the organization. Note that, if you choose not to pass any parameters, you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP method](https://docs.github.com/enterprise-cloud@latest/rest/guides/getting-started-with-the-rest-api#http-method).\"\n\n> [!NOTE]\n> You can also specify a team by `org_id` and `team_id` using the route `PUT /organizations/{org_id}/team/{team_id}/repos/{owner}/{repo}`.\n\nFor more information about the permission levels, see \"[Repository permission levels for an organization](https://docs.github.com/enterprise-cloud@latest/github/setting-up-and-managing-organizations-and-teams/repository-permission-levels-for-an-organization#permission-levels-for-repositories-owned-by-an-organization)\".", "tags": [ "teams" ], "operationId": "teams/add-or-update-repo-permissions-in-org", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#add-or-update-team-repository-permissions" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/teams/teams#add-or-update-team-repository-permissions" }, "parameters": [ { @@ -274874,7 +275784,7 @@ "operationId": "teams/remove-repo-in-org", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#remove-a-repository-from-a-team" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/teams/teams#remove-a-repository-from-a-team" }, "parameters": [ { @@ -274930,14 +275840,14 @@ "/orgs/{org}/teams/{team_slug}/team-sync/group-mappings": { "get": { "summary": "List IdP groups for a team", - "description": "List IdP groups connected to a team on GitHub Enterprise Cloud.\n\nTeam synchronization is available for organizations using GitHub Enterprise Cloud. For more information, see [GitHub's products](https://docs.github.com/enterprise-cloud@latest//github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\n> [!NOTE]\n> You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/team-sync/group-mappings`.", + "description": "List IdP groups connected to a team on GitHub Enterprise Cloud.\n\nTeam synchronization is available for organizations using GitHub Enterprise Cloud. For more information, see [GitHub's products](https://docs.github.com/enterprise-cloud@latest/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\n> [!NOTE]\n> You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/team-sync/group-mappings`.", "tags": [ "teams" ], "operationId": "teams/list-idp-groups-in-org", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/teams/team-sync#list-idp-groups-for-a-team" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/teams/team-sync#list-idp-groups-for-a-team" }, "parameters": [ { @@ -275057,14 +275967,14 @@ }, "patch": { "summary": "Create or update IdP group connections", - "description": "Creates, updates, or removes a connection between a team and an IdP group. When adding groups to a team, you must include all new and existing groups to avoid replacing existing groups with the new ones. Specifying an empty `groups` array will remove all connections for a team.\n\nTeam synchronization is available for organizations using GitHub Enterprise Cloud. For more information, see [GitHub's products](https://docs.github.com/enterprise-cloud@latest//github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\n> [!NOTE]\n> You can also specify a team by `org_id` and `team_id` using the route `PATCH /organizations/{org_id}/team/{team_id}/team-sync/group-mappings`.", + "description": "Creates, updates, or removes a connection between a team and an IdP group. When adding groups to a team, you must include all new and existing groups to avoid replacing existing groups with the new ones. Specifying an empty `groups` array will remove all connections for a team.\n\nTeam synchronization is available for organizations using GitHub Enterprise Cloud. For more information, see [GitHub's products](https://docs.github.com/enterprise-cloud@latest/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\n> [!NOTE]\n> You can also specify a team by `org_id` and `team_id` using the route `PATCH /organizations/{org_id}/team/{team_id}/team-sync/group-mappings`.", "tags": [ "teams" ], "operationId": "teams/create-or-update-idp-group-connections-in-org", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/teams/team-sync#create-or-update-idp-group-connections" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/teams/team-sync#create-or-update-idp-group-connections" }, "parameters": [ { @@ -275245,7 +276155,7 @@ "operationId": "teams/list-child-in-org", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-child-teams" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/teams/teams#list-child-teams" }, "parameters": [ { @@ -275268,7 +276178,7 @@ }, { "name": "per_page", - "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -275277,7 +276187,7 @@ }, { "name": "page", - "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -275560,14 +276470,14 @@ "/orgs/{org}/{security_product}/{enablement}": { "post": { "summary": "Enable or disable a security feature for an organization", - "description": "> [!WARNING]\n> **Closing down notice:** The ability to enable or disable a security feature for all eligible repositories in an organization is closing down. Please use [code security configurations](https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations) instead. For more information, see the [changelog](https://github.blog/changelog/2024-07-22-deprecation-of-api-endpoint-to-enable-or-disable-a-security-feature-for-an-organization/).\n\nEnables or disables the specified security feature for all eligible repositories in an organization. For more information, see \"[Managing security managers in your organization](https://docs.github.com/enterprise-cloud@latest//organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization).\"\n\nThe authenticated user must be an organization owner or be member of a team with the security manager role to use this endpoint.\n\nOAuth app tokens and personal access tokens (classic) need the `admin:org`, `write:org`, or `repo` scopes to use this endpoint.", + "description": "> [!WARNING]\n> **Closing down notice:** The ability to enable or disable a security feature for all eligible repositories in an organization is closing down. Please use [code security configurations](https://docs.github.com/enterprise-cloud@latest/rest/code-security/configurations) instead. For more information, see the [changelog](https://github.blog/changelog/2024-07-22-deprecation-of-api-endpoint-to-enable-or-disable-a-security-feature-for-an-organization/).\n\nEnables or disables the specified security feature for all eligible repositories in an organization. For more information, see \"[Managing security managers in your organization](https://docs.github.com/enterprise-cloud@latest/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization).\"\n\nThe authenticated user must be an organization owner or be member of a team with the security manager role to use this endpoint.\n\nOAuth app tokens and personal access tokens (classic) need the `admin:org`, `write:org`, or `repo` scopes to use this endpoint.", "tags": [ "orgs" ], "operationId": "orgs/enable-or-disable-security-product-on-all-org-repos", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#enable-or-disable-a-security-feature-for-an-organization" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/orgs/orgs#enable-or-disable-a-security-feature-for-an-organization" }, "parameters": [ { @@ -275658,14 +276568,14 @@ "/rate_limit": { "get": { "summary": "Get rate limit status for the authenticated user", - "description": "> [!NOTE]\n> Accessing this endpoint does not count against your REST API rate limit.\n\nSome categories of endpoints have custom rate limits that are separate from the rate limit governing the other REST API endpoints. For this reason, the API response categorizes your rate limit. Under `resources`, you'll see objects relating to different categories:\n* The `core` object provides your rate limit status for all non-search-related resources in the REST API.\n* The `search` object provides your rate limit status for the REST API for searching (excluding code searches). For more information, see \"[Search](https://docs.github.com/enterprise-cloud@latest//rest/search/search).\"\n* The `code_search` object provides your rate limit status for the REST API for searching code. For more information, see \"[Search code](https://docs.github.com/enterprise-cloud@latest//rest/search/search#search-code).\"\n* The `graphql` object provides your rate limit status for the GraphQL API. For more information, see \"[Resource limitations](https://docs.github.com/enterprise-cloud@latest//graphql/overview/resource-limitations#rate-limit).\"\n* The `integration_manifest` object provides your rate limit status for the `POST /app-manifests/{code}/conversions` operation. For more information, see \"[Creating a GitHub App from a manifest](https://docs.github.com/enterprise-cloud@latest//apps/creating-github-apps/setting-up-a-github-app/creating-a-github-app-from-a-manifest#3-you-exchange-the-temporary-code-to-retrieve-the-app-configuration).\"\n* The `dependency_snapshots` object provides your rate limit status for submitting snapshots to the dependency graph. For more information, see \"[Dependency graph](https://docs.github.com/enterprise-cloud@latest//rest/dependency-graph).\"\n* The `dependency_sbom` object provides your rate limit status for requesting SBOMs from the dependency graph. For more information, see \"[Dependency graph](https://docs.github.com/enterprise-cloud@latest//rest/dependency-graph).\"\n* The `code_scanning_upload` object provides your rate limit status for uploading SARIF results to code scanning. For more information, see \"[Uploading a SARIF file to GitHub](https://docs.github.com/enterprise-cloud@latest//code-security/code-scanning/integrating-with-code-scanning/uploading-a-sarif-file-to-github).\"\n* The `actions_runner_registration` object provides your rate limit status for registering self-hosted runners in GitHub Actions. For more information, see \"[Self-hosted runners](https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners).\"\n* The `source_import` object is no longer in use for any API endpoints, and it will be removed in the next API version. For more information about API versions, see \"[API Versions](https://docs.github.com/enterprise-cloud@latest//rest/about-the-rest-api/api-versions).\"\n\n> [!NOTE]\n> The `rate` object is closing down. If you're writing new API client code or updating existing code, you should use the `core` object instead of the `rate` object. The `core` object contains the same information that is present in the `rate` object.", + "description": "> [!NOTE]\n> Accessing this endpoint does not count against your REST API rate limit.\n\nSome categories of endpoints have custom rate limits that are separate from the rate limit governing the other REST API endpoints. For this reason, the API response categorizes your rate limit. Under `resources`, you'll see objects relating to different categories:\n* The `core` object provides your rate limit status for all non-search-related resources in the REST API.\n* The `search` object provides your rate limit status for the REST API for searching (excluding code searches). For more information, see \"[Search](https://docs.github.com/enterprise-cloud@latest/rest/search/search).\"\n* The `code_search` object provides your rate limit status for the REST API for searching code. For more information, see \"[Search code](https://docs.github.com/enterprise-cloud@latest/rest/search/search#search-code).\"\n* The `graphql` object provides your rate limit status for the GraphQL API. For more information, see \"[Resource limitations](https://docs.github.com/enterprise-cloud@latest/graphql/overview/resource-limitations#rate-limit).\"\n* The `integration_manifest` object provides your rate limit status for the `POST /app-manifests/{code}/conversions` operation. For more information, see \"[Creating a GitHub App from a manifest](https://docs.github.com/enterprise-cloud@latest/apps/creating-github-apps/setting-up-a-github-app/creating-a-github-app-from-a-manifest#3-you-exchange-the-temporary-code-to-retrieve-the-app-configuration).\"\n* The `dependency_snapshots` object provides your rate limit status for submitting snapshots to the dependency graph. For more information, see \"[Dependency graph](https://docs.github.com/enterprise-cloud@latest/rest/dependency-graph).\"\n* The `dependency_sbom` object provides your rate limit status for requesting SBOMs from the dependency graph. For more information, see \"[Dependency graph](https://docs.github.com/enterprise-cloud@latest/rest/dependency-graph).\"\n* The `code_scanning_upload` object provides your rate limit status for uploading SARIF results to code scanning. For more information, see \"[Uploading a SARIF file to GitHub](https://docs.github.com/enterprise-cloud@latest/code-security/code-scanning/integrating-with-code-scanning/uploading-a-sarif-file-to-github).\"\n* The `actions_runner_registration` object provides your rate limit status for registering self-hosted runners in GitHub Actions. For more information, see \"[Self-hosted runners](https://docs.github.com/enterprise-cloud@latest/rest/actions/self-hosted-runners).\"\n* The `source_import` object is no longer in use for any API endpoints, and it will be removed in the next API version. For more information about API versions, see \"[API Versions](https://docs.github.com/enterprise-cloud@latest/rest/about-the-rest-api/api-versions).\"\n\n> [!NOTE]\n> The `rate` object is closing down. If you're writing new API client code or updating existing code, you should use the `core` object instead of the `rate` object. The `core` object contains the same information that is present in the `rate` object.", "tags": [ "rate-limit" ], "operationId": "rate-limit/get", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/rate-limit/rate-limit#get-rate-limit-status-for-the-authenticated-user" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/rate-limit/rate-limit#get-rate-limit-status-for-the-authenticated-user" }, "parameters": [], "responses": { @@ -276150,14 +277060,14 @@ "/repos/{owner}/{repo}": { "get": { "summary": "Get a repository", - "description": "The `parent` and `source` objects are present when the repository is a fork. `parent` is the repository this repository was forked from, `source` is the ultimate source for the network.\n\n> [!NOTE]\n> - In order to see the `security_and_analysis` block for a repository you must have admin permissions for the repository or be an owner or security manager for the organization that owns the repository. For more information, see \"[Managing security managers in your organization](https://docs.github.com/enterprise-cloud@latest//organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization).\"\n> - To view merge-related settings, you must have the `contents:read` and `contents:write` permissions.", + "description": "The `parent` and `source` objects are present when the repository is a fork. `parent` is the repository this repository was forked from, `source` is the ultimate source for the network.\n\n> [!NOTE]\n> - In order to see the `security_and_analysis` block for a repository you must have admin permissions for the repository or be an owner or security manager for the organization that owns the repository. For more information, see \"[Managing security managers in your organization](https://docs.github.com/enterprise-cloud@latest/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization).\"\n> - To view merge-related settings, you must have the `contents:read` and `contents:write` permissions.", "tags": [ "repos" ], "operationId": "repos/get", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#get-a-repository" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#get-a-repository" }, "parameters": [ { @@ -280085,14 +280995,14 @@ }, "patch": { "summary": "Update a repository", - "description": "**Note**: To edit a repository's topics, use the [Replace all repository topics](https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#replace-all-repository-topics) endpoint.", + "description": "**Note**: To edit a repository's topics, use the [Replace all repository topics](https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#replace-all-repository-topics) endpoint.", "tags": [ "repos" ], "operationId": "repos/update", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#update-a-repository" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#update-a-repository" }, "parameters": [ { @@ -280135,7 +281045,7 @@ }, "private": { "type": "boolean", - "description": "Either `true` to make the repository private or `false` to make it public. Default: `false`. \n**Note**: You will get a `422` error if the organization restricts [changing repository visibility](https://docs.github.com/enterprise-cloud@latest//articles/repository-permission-levels-for-an-organization#changing-the-visibility-of-repositories) to organization owners and a non-owner tries to change the value of private.", + "description": "Either `true` to make the repository private or `false` to make it public. Default: `false`. \n**Note**: You will get a `422` error if the organization restricts [changing repository visibility](https://docs.github.com/enterprise-cloud@latest/articles/repository-permission-levels-for-an-organization#changing-the-visibility-of-repositories) to organization owners and a non-owner tries to change the value of private.", "default": false }, "visibility": { @@ -280149,7 +281059,7 @@ }, "security_and_analysis": { "type": "object", - "description": "Specify which security and analysis features to enable or disable for the repository.\n\nTo use this parameter, you must have admin permissions for the repository or be an owner or security manager for the organization that owns the repository. For more information, see \"[Managing security managers in your organization](https://docs.github.com/enterprise-cloud@latest//organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization).\"\n\nFor example, to enable GitHub Advanced Security, use this data in the body of the `PATCH` request:\n`{ \"security_and_analysis\": {\"advanced_security\": { \"status\": \"enabled\" } } }`.\n\nYou can check which security and analysis features are currently enabled by using a `GET /repos/{owner}/{repo}` request.", + "description": "Specify which security and analysis features to enable or disable for the repository.\n\nTo use this parameter, you must have admin permissions for the repository or be an owner or security manager for the organization that owns the repository. For more information, see \"[Managing security managers in your organization](https://docs.github.com/enterprise-cloud@latest/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization).\"\n\nFor example, to enable GitHub Advanced Security, use this data in the body of the `PATCH` request:\n`{ \"security_and_analysis\": {\"advanced_security\": { \"status\": \"enabled\" } } }`.\n\nYou can check which security and analysis features are currently enabled by using a `GET /repos/{owner}/{repo}` request.", "nullable": true, "properties": { "advanced_security": { @@ -280194,7 +281104,7 @@ }, "secret_scanning_ai_detection": { "type": "object", - "description": "Use the `status` property to enable or disable secret scanning AI detection for this repository. For more information, see \"[Responsible detection of generic secrets with AI](https://docs.github.com/enterprise-cloud@latest//code-security/secret-scanning/using-advanced-secret-scanning-and-push-protection-features/generic-secret-detection/responsible-ai-generic-secrets).\"", + "description": "Use the `status` property to enable or disable secret scanning AI detection for this repository. For more information, see \"[Responsible detection of generic secrets with AI](https://docs.github.com/enterprise-cloud@latest/code-security/secret-scanning/using-advanced-secret-scanning-and-push-protection-features/generic-secret-detection/responsible-ai-generic-secrets).\"", "properties": { "status": { "type": "string", @@ -284370,7 +285280,7 @@ "operationId": "repos/delete", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#delete-a-repository" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#delete-a-repository" }, "parameters": [ { @@ -284415,7 +285325,7 @@ "default": { "value": { "message": "Organization members cannot delete repositories.", - "documentation_url": "https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#delete-a-repository" + "documentation_url": "https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#delete-a-repository" } } } @@ -284519,7 +285429,7 @@ "operationId": "actions/list-artifacts-for-repo", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#list-artifacts-for-a-repository" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/actions/artifacts#list-artifacts-for-a-repository" }, "parameters": [ { @@ -284542,7 +285452,7 @@ }, { "name": "per_page", - "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -284551,7 +285461,7 @@ }, { "name": "page", - "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -284763,7 +285673,7 @@ "operationId": "actions/get-artifact", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#get-an-artifact" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/actions/artifacts#get-an-artifact" }, "parameters": [ { @@ -284939,7 +285849,7 @@ "operationId": "actions/delete-artifact", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#delete-an-artifact" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/actions/artifacts#delete-an-artifact" }, "parameters": [ { @@ -284993,7 +285903,7 @@ "operationId": "actions/download-artifact", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#download-an-artifact" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/actions/artifacts#download-an-artifact" }, "parameters": [ { @@ -285089,7 +285999,7 @@ "operationId": "actions/get-actions-cache-retention-limit-for-repository", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/actions/cache#get-github-actions-cache-retention-limit-for-a-repository" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/actions/cache#get-github-actions-cache-retention-limit-for-a-repository" }, "parameters": [ { @@ -285207,7 +286117,7 @@ "operationId": "actions/set-actions-cache-retention-limit-for-repository", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/actions/cache#set-github-actions-cache-retention-limit-for-a-repository" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/actions/cache#set-github-actions-cache-retention-limit-for-a-repository" }, "parameters": [ { @@ -285390,7 +286300,7 @@ "operationId": "actions/get-actions-cache-storage-limit-for-repository", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/actions/cache#get-github-actions-cache-storage-limit-for-a-repository" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/actions/cache#get-github-actions-cache-storage-limit-for-a-repository" }, "parameters": [ { @@ -285508,7 +286418,7 @@ "operationId": "actions/set-actions-cache-storage-limit-for-repository", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/actions/cache#set-github-actions-cache-storage-limit-for-a-repository" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/actions/cache#set-github-actions-cache-storage-limit-for-a-repository" }, "parameters": [ { @@ -285691,7 +286601,7 @@ "operationId": "actions/get-actions-cache-usage", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/actions/cache#get-github-actions-cache-usage-for-a-repository" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/actions/cache#get-github-actions-cache-usage-for-a-repository" }, "parameters": [ { @@ -285776,7 +286686,7 @@ "operationId": "actions/get-actions-cache-list", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/actions/cache#list-github-actions-caches-for-a-repository" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/actions/cache#list-github-actions-caches-for-a-repository" }, "parameters": [ { @@ -285799,7 +286709,7 @@ }, { "name": "per_page", - "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -285808,7 +286718,7 @@ }, { "name": "page", - "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -285970,7 +286880,7 @@ "operationId": "actions/delete-actions-cache-by-key", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/actions/cache#delete-github-actions-caches-for-a-repository-using-a-cache-key" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/actions/cache#delete-github-actions-caches-for-a-repository-using-a-cache-key" }, "parameters": [ { @@ -286110,7 +287020,7 @@ "operationId": "actions/delete-actions-cache-by-id", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/actions/cache#delete-a-github-actions-cache-for-a-repository-using-a-cache-id" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/actions/cache#delete-a-github-actions-cache-for-a-repository-using-a-cache-id" }, "parameters": [ { @@ -286164,7 +287074,7 @@ "operationId": "actions/get-job-for-workflow-run", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-jobs#get-a-job-for-a-workflow-run" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/actions/workflow-jobs#get-a-job-for-a-workflow-run" }, "parameters": [ { @@ -286559,7 +287469,7 @@ "operationId": "actions/download-job-logs-for-workflow-run", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-jobs#download-job-logs-for-a-workflow-run" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/actions/workflow-jobs#download-job-logs-for-a-workflow-run" }, "parameters": [ { @@ -286621,7 +287531,7 @@ "operationId": "actions/re-run-job-for-workflow-run", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#re-run-a-job-from-a-workflow-run" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/actions/workflow-runs#re-run-a-job-from-a-workflow-run" }, "parameters": [ { @@ -286740,7 +287650,7 @@ "operationId": "actions/get-custom-oidc-sub-claim-for-repo", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/actions/oidc#get-the-customization-template-for-an-oidc-subject-claim-for-a-repository" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/actions/oidc#get-the-customization-template-for-an-oidc-subject-claim-for-a-repository" }, "parameters": [ { @@ -286782,6 +287692,14 @@ "items": { "type": "string" } + }, + "use_immutable_subject": { + "description": "Whether the repository has opted in to the immutable OIDC subject claim format. When `true`, OIDC tokens will use a stable, repository-ID-based `sub` claim. If not set at the repository level, falls back to the organization-level setting.", + "type": "boolean" + }, + "sub_claim_prefix": { + "description": "The current `sub` claim prefix for this repository.", + "type": "string" } }, "required": [ @@ -286905,7 +287823,7 @@ "operationId": "actions/set-custom-oidc-sub-claim-for-repo", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/actions/oidc#set-the-customization-template-for-an-oidc-subject-claim-for-a-repository" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/actions/oidc#set-the-customization-template-for-an-oidc-subject-claim-for-a-repository" }, "parameters": [ { @@ -286949,6 +287867,10 @@ "items": { "type": "string" } + }, + "use_immutable_subject": { + "description": "Whether to opt in to the immutable OIDC subject claim format for this repository. When `true`, OIDC tokens will use a stable, repository-ID-based `sub` claim.", + "type": "boolean" } } }, @@ -287121,7 +288043,7 @@ "operationId": "actions/list-repo-organization-secrets", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#list-repository-organization-secrets" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#list-repository-organization-secrets" }, "parameters": [ { @@ -287144,7 +288066,7 @@ }, { "name": "per_page", - "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -287153,7 +288075,7 @@ }, { "name": "page", - "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -287255,7 +288177,7 @@ "operationId": "actions/list-repo-organization-variables", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-repository-organization-variables" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#list-repository-organization-variables" }, "parameters": [ { @@ -287278,7 +288200,7 @@ }, { "name": "per_page", - "description": "The number of results per page (max 30). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The number of results per page (max 30). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -287287,7 +288209,7 @@ }, { "name": "page", - "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -287400,7 +288322,7 @@ ], "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#get-github-actions-permissions-for-a-repository" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/actions/permissions#get-github-actions-permissions-for-a-repository" }, "parameters": [ { @@ -287486,7 +288408,7 @@ ], "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#set-github-actions-permissions-for-a-repository" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/actions/permissions#set-github-actions-permissions-for-a-repository" }, "parameters": [ { @@ -287565,14 +288487,14 @@ "/repos/{owner}/{repo}/actions/permissions/access": { "get": { "summary": "Get the level of access for workflows outside of the repository", - "description": "Gets the level of access that workflows outside of the repository have to actions and reusable workflows in the repository.\nThis endpoint only applies to internal and private repositories.\nFor more information, see \"[Allowing access to components in a private repository](https://docs.github.com/enterprise-cloud@latest//repositories/managing-your-repositorys-settings-and-features/enabling-features-for-your-repository/managing-github-actions-settings-for-a-repository#allowing-access-to-components-in-a-private-repository)\" and\n\"[Allowing access to components in an internal repository](https://docs.github.com/enterprise-cloud@latest//repositories/managing-your-repositorys-settings-and-features/enabling-features-for-your-repository/managing-github-actions-settings-for-a-repository#allowing-access-to-components-in-an-internal-repository).\"\n\nOAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint.", + "description": "Gets the level of access that workflows outside of the repository have to actions and reusable workflows in the repository.\nThis endpoint only applies to internal and private repositories.\nFor more information, see \"[Allowing access to components in a private repository](https://docs.github.com/enterprise-cloud@latest/repositories/managing-your-repositorys-settings-and-features/enabling-features-for-your-repository/managing-github-actions-settings-for-a-repository#allowing-access-to-components-in-a-private-repository)\" and\n\"[Allowing access to components in an internal repository](https://docs.github.com/enterprise-cloud@latest/repositories/managing-your-repositorys-settings-and-features/enabling-features-for-your-repository/managing-github-actions-settings-for-a-repository#allowing-access-to-components-in-an-internal-repository).\"\n\nOAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint.", "tags": [ "actions" ], "operationId": "actions/get-workflow-access-to-repository", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#get-the-level-of-access-for-workflows-outside-of-the-repository" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/actions/permissions#get-the-level-of-access-for-workflows-outside-of-the-repository" }, "parameters": [ { @@ -287638,14 +288560,14 @@ }, "put": { "summary": "Set the level of access for workflows outside of the repository", - "description": "Sets the level of access that workflows outside of the repository have to actions and reusable workflows in the repository.\nThis endpoint only applies to internal and private repositories.\nFor more information, see \"[Allowing access to components in a private repository](https://docs.github.com/enterprise-cloud@latest//repositories/managing-your-repositorys-settings-and-features/enabling-features-for-your-repository/managing-github-actions-settings-for-a-repository#allowing-access-to-components-in-a-private-repository)\" and\n\"[Allowing access to components in an internal repository](https://docs.github.com/enterprise-cloud@latest//repositories/managing-your-repositorys-settings-and-features/enabling-features-for-your-repository/managing-github-actions-settings-for-a-repository#allowing-access-to-components-in-an-internal-repository).\"\n\nOAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint.", + "description": "Sets the level of access that workflows outside of the repository have to actions and reusable workflows in the repository.\nThis endpoint only applies to internal and private repositories.\nFor more information, see \"[Allowing access to components in a private repository](https://docs.github.com/enterprise-cloud@latest/repositories/managing-your-repositorys-settings-and-features/enabling-features-for-your-repository/managing-github-actions-settings-for-a-repository#allowing-access-to-components-in-a-private-repository)\" and\n\"[Allowing access to components in an internal repository](https://docs.github.com/enterprise-cloud@latest/repositories/managing-your-repositorys-settings-and-features/enabling-features-for-your-repository/managing-github-actions-settings-for-a-repository#allowing-access-to-components-in-an-internal-repository).\"\n\nOAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint.", "tags": [ "actions" ], "operationId": "actions/set-workflow-access-to-repository", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#set-the-level-of-access-for-workflows-outside-of-the-repository" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/actions/permissions#set-the-level-of-access-for-workflows-outside-of-the-repository" }, "parameters": [ { @@ -287723,7 +288645,7 @@ ], "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#get-artifact-and-log-retention-settings-for-a-repository" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/actions/permissions#get-artifact-and-log-retention-settings-for-a-repository" }, "parameters": [ { @@ -287820,7 +288742,7 @@ ], "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#set-artifact-and-log-retention-settings-for-a-repository" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/actions/permissions#set-artifact-and-log-retention-settings-for-a-repository" }, "parameters": [ { @@ -287986,7 +288908,7 @@ ], "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#get-fork-pr-contributor-approval-permissions-for-a-repository" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/actions/permissions#get-fork-pr-contributor-approval-permissions-for-a-repository" }, "parameters": [ { @@ -288082,7 +289004,7 @@ ], "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#set-fork-pr-contributor-approval-permissions-for-a-repository" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/actions/permissions#set-fork-pr-contributor-approval-permissions-for-a-repository" }, "parameters": [ { @@ -288253,7 +289175,7 @@ ], "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#get-private-repo-fork-pr-workflow-settings-for-a-repository" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/actions/permissions#get-private-repo-fork-pr-workflow-settings-for-a-repository" }, "parameters": [ { @@ -288388,7 +289310,7 @@ ], "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#set-private-repo-fork-pr-workflow-settings-for-a-repository" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/actions/permissions#set-private-repo-fork-pr-workflow-settings-for-a-repository" }, "parameters": [ { @@ -288568,7 +289490,7 @@ ], "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#get-allowed-actions-and-reusable-workflows-for-a-repository" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/actions/permissions#get-allowed-actions-and-reusable-workflows-for-a-repository" }, "parameters": [ { @@ -288647,7 +289569,7 @@ ], "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#set-allowed-actions-and-reusable-workflows-for-a-repository" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/actions/permissions#set-allowed-actions-and-reusable-workflows-for-a-repository" }, "parameters": [ { @@ -288724,14 +289646,14 @@ "/repos/{owner}/{repo}/actions/permissions/workflow": { "get": { "summary": "Get default workflow permissions for a repository", - "description": "Gets the default workflow permissions granted to the `GITHUB_TOKEN` when running workflows in a repository,\nas well as if GitHub Actions can submit approving pull request reviews.\nFor more information, see \"[Setting the permissions of the GITHUB_TOKEN for your repository](https://docs.github.com/enterprise-cloud@latest//repositories/managing-your-repositorys-settings-and-features/enabling-features-for-your-repository/managing-github-actions-settings-for-a-repository#setting-the-permissions-of-the-github_token-for-your-repository).\"\n\nOAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint.", + "description": "Gets the default workflow permissions granted to the `GITHUB_TOKEN` when running workflows in a repository,\nas well as if GitHub Actions can submit approving pull request reviews.\nFor more information, see \"[Setting the permissions of the GITHUB_TOKEN for your repository](https://docs.github.com/enterprise-cloud@latest/repositories/managing-your-repositorys-settings-and-features/enabling-features-for-your-repository/managing-github-actions-settings-for-a-repository#setting-the-permissions-of-the-github_token-for-your-repository).\"\n\nOAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint.", "tags": [ "actions" ], "operationId": "actions/get-github-actions-default-workflow-permissions-repository", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#get-default-workflow-permissions-for-a-repository" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/actions/permissions#get-default-workflow-permissions-for-a-repository" }, "parameters": [ { @@ -288801,14 +289723,14 @@ }, "put": { "summary": "Set default workflow permissions for a repository", - "description": "Sets the default workflow permissions granted to the `GITHUB_TOKEN` when running workflows in a repository, and sets if GitHub Actions\ncan submit approving pull request reviews.\nFor more information, see \"[Setting the permissions of the GITHUB_TOKEN for your repository](https://docs.github.com/enterprise-cloud@latest//repositories/managing-your-repositorys-settings-and-features/enabling-features-for-your-repository/managing-github-actions-settings-for-a-repository#setting-the-permissions-of-the-github_token-for-your-repository).\"\n\nOAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint.", + "description": "Sets the default workflow permissions granted to the `GITHUB_TOKEN` when running workflows in a repository, and sets if GitHub Actions\ncan submit approving pull request reviews.\nFor more information, see \"[Setting the permissions of the GITHUB_TOKEN for your repository](https://docs.github.com/enterprise-cloud@latest/repositories/managing-your-repositorys-settings-and-features/enabling-features-for-your-repository/managing-github-actions-settings-for-a-repository#setting-the-permissions-of-the-github_token-for-your-repository).\"\n\nOAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint.", "tags": [ "actions" ], "operationId": "actions/set-github-actions-default-workflow-permissions-repository", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#set-default-workflow-permissions-for-a-repository" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/actions/permissions#set-default-workflow-permissions-for-a-repository" }, "parameters": [ { @@ -288889,7 +289811,7 @@ "operationId": "actions/list-self-hosted-runners-for-repo", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#list-self-hosted-runners-for-a-repository" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/actions/self-hosted-runners#list-self-hosted-runners-for-a-repository" }, "parameters": [ { @@ -288920,7 +289842,7 @@ }, { "name": "per_page", - "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -288929,7 +289851,7 @@ }, { "name": "page", - "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -289126,7 +290048,7 @@ "operationId": "actions/list-runner-applications-for-repo", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#list-runner-applications-for-a-repository" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/actions/self-hosted-runners#list-runner-applications-for-a-repository" }, "parameters": [ { @@ -289246,7 +290168,7 @@ "operationId": "actions/generate-runner-jitconfig-for-repo", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#create-configuration-for-a-just-in-time-runner-for-a-repository" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/actions/self-hosted-runners#create-configuration-for-a-just-in-time-runner-for-a-repository" }, "parameters": [ { @@ -289555,7 +290477,7 @@ "operationId": "actions/create-registration-token-for-repo", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#create-a-registration-token-for-a-repository" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/actions/self-hosted-runners#create-a-registration-token-for-a-repository" }, "parameters": [ { @@ -290402,7 +291324,7 @@ "operationId": "actions/create-remove-token-for-repo", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#create-a-remove-token-for-a-repository" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/actions/self-hosted-runners#create-a-remove-token-for-a-repository" }, "parameters": [ { @@ -291249,7 +292171,7 @@ "operationId": "actions/get-self-hosted-runner-for-repo", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#get-a-self-hosted-runner-for-a-repository" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/actions/self-hosted-runners#get-a-self-hosted-runner-for-a-repository" }, "parameters": [ { @@ -291414,7 +292336,7 @@ "operationId": "actions/delete-self-hosted-runner-from-repo", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#delete-a-self-hosted-runner-from-a-repository" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/actions/self-hosted-runners#delete-a-self-hosted-runner-from-a-repository" }, "parameters": [ { @@ -291498,7 +292420,7 @@ "operationId": "actions/list-labels-for-self-hosted-runner-for-repo", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#list-labels-for-a-self-hosted-runner-for-a-repository" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/actions/self-hosted-runners#list-labels-for-a-self-hosted-runner-for-a-repository" }, "parameters": [ { @@ -291650,7 +292572,7 @@ "operationId": "actions/add-custom-labels-to-self-hosted-runner-for-repo", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#add-custom-labels-to-a-self-hosted-runner-for-a-repository" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/actions/self-hosted-runners#add-custom-labels-to-a-self-hosted-runner-for-a-repository" }, "parameters": [ { @@ -291866,7 +292788,7 @@ "operationId": "actions/set-custom-labels-for-self-hosted-runner-for-repo", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#set-custom-labels-for-a-self-hosted-runner-for-a-repository" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/actions/self-hosted-runners#set-custom-labels-for-a-self-hosted-runner-for-a-repository" }, "parameters": [ { @@ -292082,7 +293004,7 @@ "operationId": "actions/remove-all-custom-labels-from-self-hosted-runner-for-repo", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#remove-all-custom-labels-from-a-self-hosted-runner-for-a-repository" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/actions/self-hosted-runners#remove-all-custom-labels-from-a-self-hosted-runner-for-a-repository" }, "parameters": [ { @@ -292231,7 +293153,7 @@ "operationId": "actions/remove-custom-label-from-self-hosted-runner-for-repo", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#remove-a-custom-label-from-a-self-hosted-runner-for-a-repository" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/actions/self-hosted-runners#remove-a-custom-label-from-a-self-hosted-runner-for-a-repository" }, "parameters": [ { @@ -292417,14 +293339,14 @@ "/repos/{owner}/{repo}/actions/runs": { "get": { "summary": "List workflow runs for a repository", - "description": "Lists all workflow runs for a repository. You can use parameters to narrow the list of results. For more information about using parameters, see [Parameters](https://docs.github.com/enterprise-cloud@latest//rest/guides/getting-started-with-the-rest-api#parameters).\n\nAnyone with read access to the repository can use this endpoint.\n\nOAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint with a private repository.\n\nThis endpoint will return up to 1,000 results for each search when using the following parameters: `actor`, `branch`, `check_suite_id`, `created`, `event`, `head_sha`, `status`.", + "description": "Lists all workflow runs for a repository. You can use parameters to narrow the list of results. For more information about using parameters, see [Parameters](https://docs.github.com/enterprise-cloud@latest/rest/guides/getting-started-with-the-rest-api#parameters).\n\nAnyone with read access to the repository can use this endpoint.\n\nOAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint with a private repository.\n\nThis endpoint will return up to 1,000 results for each search when using the following parameters: `actor`, `branch`, `check_suite_id`, `created`, `event`, `head_sha`, `status`.", "tags": [ "actions" ], "operationId": "actions/list-workflow-runs-for-repo", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#list-workflow-runs-for-a-repository" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/actions/workflow-runs#list-workflow-runs-for-a-repository" }, "parameters": [ { @@ -292465,7 +293387,7 @@ }, { "name": "event", - "description": "Returns workflow run triggered by the event you specify. For example, `push`, `pull_request` or `issue`. For more information, see \"[Events that trigger workflows](https://docs.github.com/enterprise-cloud@latest//actions/automating-your-workflow-with-github-actions/events-that-trigger-workflows).\"", + "description": "Returns workflow run triggered by the event you specify. For example, `push`, `pull_request` or `issue`. For more information, see \"[Events that trigger workflows](https://docs.github.com/enterprise-cloud@latest/actions/automating-your-workflow-with-github-actions/events-that-trigger-workflows).\"", "in": "query", "required": false, "schema": { @@ -292499,7 +293421,7 @@ }, { "name": "per_page", - "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -292508,7 +293430,7 @@ }, { "name": "page", - "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -292517,7 +293439,7 @@ }, { "name": "created", - "description": "Returns workflow runs created within the given date-time range. For more information on the syntax, see \"[Understanding the search syntax](https://docs.github.com/enterprise-cloud@latest//search-github/getting-started-with-searching-on-github/understanding-the-search-syntax#query-for-dates).\"", + "description": "Returns workflow runs created within the given date-time range. For more information on the syntax, see \"[Understanding the search syntax](https://docs.github.com/enterprise-cloud@latest/search-github/getting-started-with-searching-on-github/understanding-the-search-syntax#query-for-dates).\"", "in": "query", "required": false, "schema": { @@ -294994,7 +295916,7 @@ "operationId": "actions/get-workflow-run", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#get-a-workflow-run" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/actions/workflow-runs#get-a-workflow-run" }, "parameters": [ { @@ -297463,7 +298385,7 @@ ], "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#delete-a-workflow-run" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/actions/workflow-runs#delete-a-workflow-run" }, "parameters": [ { @@ -297517,7 +298439,7 @@ "operationId": "actions/get-reviews-for-run", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#get-the-review-history-for-a-workflow-run" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/actions/workflow-runs#get-the-review-history-for-a-workflow-run" }, "parameters": [ { @@ -297807,14 +298729,14 @@ "/repos/{owner}/{repo}/actions/runs/{run_id}/approve": { "post": { "summary": "Approve a workflow run for a fork pull request", - "description": "Approves a workflow run for a pull request from a public fork of a first time contributor. For more information, see [\"Approving workflow runs from public forks](https://docs.github.com/enterprise-cloud@latest//actions/managing-workflow-runs/approving-workflow-runs-from-public-forks).\"\n\nOAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint.", + "description": "Approves a workflow run for a pull request from a public fork of a first time contributor. For more information, see [\"Approving workflow runs from public forks](https://docs.github.com/enterprise-cloud@latest/actions/managing-workflow-runs/approving-workflow-runs-from-public-forks).\"\n\nOAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint.", "tags": [ "actions" ], "operationId": "actions/approve-workflow-run", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#approve-a-workflow-run-for-a-fork-pull-request" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/actions/workflow-runs#approve-a-workflow-run-for-a-fork-pull-request" }, "parameters": [ { @@ -297936,7 +298858,7 @@ "operationId": "actions/list-workflow-run-artifacts", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#list-workflow-run-artifacts" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/actions/artifacts#list-workflow-run-artifacts" }, "parameters": [ { @@ -297968,7 +298890,7 @@ }, { "name": "per_page", - "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -297977,7 +298899,7 @@ }, { "name": "page", - "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -298203,7 +299125,7 @@ "operationId": "actions/get-workflow-run-attempt", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#get-a-workflow-run-attempt" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/actions/workflow-runs#get-a-workflow-run-attempt" }, "parameters": [ { @@ -300676,14 +301598,14 @@ "/repos/{owner}/{repo}/actions/runs/{run_id}/attempts/{attempt_number}/jobs": { "get": { "summary": "List jobs for a workflow run attempt", - "description": "Lists jobs for a specific workflow run attempt. You can use parameters to narrow the list of results. For more information\nabout using parameters, see [Parameters](https://docs.github.com/enterprise-cloud@latest//rest/guides/getting-started-with-the-rest-api#parameters).\n\nAnyone with read access to the repository can use this endpoint.\n\nOAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint with a private repository.", + "description": "Lists jobs for a specific workflow run attempt. You can use parameters to narrow the list of results. For more information\nabout using parameters, see [Parameters](https://docs.github.com/enterprise-cloud@latest/rest/guides/getting-started-with-the-rest-api#parameters).\n\nAnyone with read access to the repository can use this endpoint.\n\nOAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint with a private repository.", "tags": [ "actions" ], "operationId": "actions/list-jobs-for-workflow-run-attempt", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-jobs#list-jobs-for-a-workflow-run-attempt" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/actions/workflow-jobs#list-jobs-for-a-workflow-run-attempt" }, "parameters": [ { @@ -300724,7 +301646,7 @@ }, { "name": "per_page", - "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -300733,7 +301655,7 @@ }, { "name": "page", - "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -301159,7 +302081,7 @@ "operationId": "actions/download-workflow-run-attempt-logs", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#download-workflow-run-attempt-logs" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/actions/workflow-runs#download-workflow-run-attempt-logs" }, "parameters": [ { @@ -301230,7 +302152,7 @@ "operationId": "actions/cancel-workflow-run", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#cancel-a-workflow-run" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/actions/workflow-runs#cancel-a-workflow-run" }, "parameters": [ { @@ -301319,14 +302241,14 @@ "/repos/{owner}/{repo}/actions/runs/{run_id}/deployment_protection_rule": { "post": { "summary": "Review custom deployment protection rules for a workflow run", - "description": "Approve or reject custom deployment protection rules provided by a GitHub App for a workflow run. For more information, see \"[Using environments for deployment](https://docs.github.com/enterprise-cloud@latest//actions/deployment/targeting-different-environments/using-environments-for-deployment).\"\n\n> [!NOTE]\n> GitHub Apps can only review their own custom deployment protection rules. To approve or reject pending deployments that are waiting for review from a specific person or team, see [`POST /repos/{owner}/{repo}/actions/runs/{run_id}/pending_deployments`](/rest/actions/workflow-runs#review-pending-deployments-for-a-workflow-run).\n\nOAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint with a private repository.", + "description": "Approve or reject custom deployment protection rules provided by a GitHub App for a workflow run. For more information, see \"[Using environments for deployment](https://docs.github.com/enterprise-cloud@latest/actions/deployment/targeting-different-environments/using-environments-for-deployment).\"\n\n> [!NOTE]\n> GitHub Apps can only review their own custom deployment protection rules. To approve or reject pending deployments that are waiting for review from a specific person or team, see [`POST /repos/{owner}/{repo}/actions/runs/{run_id}/pending_deployments`](/rest/actions/workflow-runs#review-pending-deployments-for-a-workflow-run).\n\nOAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint with a private repository.", "tags": [ "actions" ], "operationId": "actions/review-custom-gates-for-run", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#review-custom-deployment-protection-rules-for-a-workflow-run" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/actions/workflow-runs#review-custom-deployment-protection-rules-for-a-workflow-run" }, "parameters": [ { @@ -301443,7 +302365,7 @@ "operationId": "actions/force-cancel-workflow-run", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#force-cancel-a-workflow-run" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/actions/workflow-runs#force-cancel-a-workflow-run" }, "parameters": [ { @@ -301532,14 +302454,14 @@ "/repos/{owner}/{repo}/actions/runs/{run_id}/jobs": { "get": { "summary": "List jobs for a workflow run", - "description": "Lists jobs for a workflow run. You can use parameters to narrow the list of results. For more information\nabout using parameters, see [Parameters](https://docs.github.com/enterprise-cloud@latest//rest/guides/getting-started-with-the-rest-api#parameters).\n\nAnyone with read access to the repository can use this endpoint.\n\nOAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint with a private repository.", + "description": "Lists jobs for a workflow run. You can use parameters to narrow the list of results. For more information\nabout using parameters, see [Parameters](https://docs.github.com/enterprise-cloud@latest/rest/guides/getting-started-with-the-rest-api#parameters).\n\nAnyone with read access to the repository can use this endpoint.\n\nOAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint with a private repository.", "tags": [ "actions" ], "operationId": "actions/list-jobs-for-workflow-run", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-jobs#list-jobs-for-a-workflow-run" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/actions/workflow-jobs#list-jobs-for-a-workflow-run" }, "parameters": [ { @@ -301585,7 +302507,7 @@ }, { "name": "per_page", - "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -301594,7 +302516,7 @@ }, { "name": "page", - "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -301994,7 +302916,7 @@ "operationId": "actions/download-workflow-run-logs", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#download-workflow-run-logs" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/actions/workflow-runs#download-workflow-run-logs" }, "parameters": [ { @@ -302054,7 +302976,7 @@ "operationId": "actions/delete-workflow-run-logs", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#delete-workflow-run-logs" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/actions/workflow-runs#delete-workflow-run-logs" }, "parameters": [ { @@ -302160,7 +303082,7 @@ "operationId": "actions/get-pending-deployments-for-run", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#get-pending-deployments-for-a-workflow-run" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/actions/workflow-runs#get-pending-deployments-for-a-workflow-run" }, "parameters": [ { @@ -302695,7 +303617,7 @@ "operationId": "actions/review-pending-deployments-for-run", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#review-pending-deployments-for-a-workflow-run" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/actions/workflow-runs#review-pending-deployments-for-a-workflow-run" }, "parameters": [ { @@ -303395,7 +304317,7 @@ "operationId": "actions/re-run-workflow", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#re-run-a-workflow" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/actions/workflow-runs#re-run-a-workflow" }, "parameters": [ { @@ -303488,7 +304410,7 @@ "operationId": "actions/re-run-workflow-failed-jobs", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#re-run-failed-jobs-from-a-workflow-run" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/actions/workflow-runs#re-run-failed-jobs-from-a-workflow-run" }, "parameters": [ { @@ -303574,14 +304496,14 @@ "/repos/{owner}/{repo}/actions/runs/{run_id}/timing": { "get": { "summary": "Get workflow run usage", - "description": "> [!WARNING] \n> This endpoint is in the process of closing down. Refer to \"[Actions Get workflow usage and Get workflow run usage endpoints closing down](https://github.blog/changelog/2025-02-02-actions-get-workflow-usage-and-get-workflow-run-usage-endpoints-closing-down/)\" for more information.\n\nGets the number of billable minutes and total run time for a specific workflow run. Billable minutes only apply to workflows in private repositories that use GitHub Enterprise Cloud-hosted runners. Usage is listed for each GitHub Enterprise Cloud-hosted runner operating system in milliseconds. Any job re-runs are also included in the usage. The usage does not include the multiplier for macOS and Windows runners and is not rounded up to the nearest whole minute. For more information, see \"[Managing billing for GitHub Actions](https://docs.github.com/enterprise-cloud@latest//github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-actions)\".\n\nAnyone with read access to the repository can use this endpoint.\n\nOAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint with a private repository.", + "description": "> [!WARNING] \n> This endpoint is in the process of closing down. Refer to \"[Actions Get workflow usage and Get workflow run usage endpoints closing down](https://github.blog/changelog/2025-02-02-actions-get-workflow-usage-and-get-workflow-run-usage-endpoints-closing-down/)\" for more information.\n\nGets the number of billable minutes and total run time for a specific workflow run. Billable minutes only apply to workflows in private repositories that use GitHub Enterprise Cloud-hosted runners. Usage is listed for each GitHub Enterprise Cloud-hosted runner operating system in milliseconds. Any job re-runs are also included in the usage. The usage does not include the multiplier for macOS and Windows runners and is not rounded up to the nearest whole minute. For more information, see \"[Managing billing for GitHub Actions](https://docs.github.com/enterprise-cloud@latest/github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-actions)\".\n\nAnyone with read access to the repository can use this endpoint.\n\nOAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint with a private repository.", "tags": [ "actions" ], "operationId": "actions/get-workflow-run-usage", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#get-workflow-run-usage" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/actions/workflow-runs#get-workflow-run-usage" }, "parameters": [ { @@ -303811,7 +304733,7 @@ "operationId": "actions/list-repo-secrets", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#list-repository-secrets" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#list-repository-secrets" }, "parameters": [ { @@ -303834,7 +304756,7 @@ }, { "name": "per_page", - "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -303843,7 +304765,7 @@ }, { "name": "page", - "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -303945,7 +304867,7 @@ "operationId": "actions/get-repo-public-key", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-a-repository-public-key" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#get-a-repository-public-key" }, "parameters": [ { @@ -304039,7 +304961,7 @@ "operationId": "actions/get-repo-secret", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-a-repository-secret" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#get-a-repository-secret" }, "parameters": [ { @@ -304122,14 +305044,14 @@ }, "put": { "summary": "Create or update a repository secret", - "description": "Creates or updates a repository secret with an encrypted value. Encrypt your secret using\n[LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages). For more information, see \"[Encrypting secrets for the REST API](https://docs.github.com/enterprise-cloud@latest//rest/guides/encrypting-secrets-for-the-rest-api).\"\n\nAuthenticated users must have collaborator access to a repository to create, update, or read secrets.\n\nOAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint.", + "description": "Creates or updates a repository secret with an encrypted value. Encrypt your secret using\n[LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages). For more information, see \"[Encrypting secrets for the REST API](https://docs.github.com/enterprise-cloud@latest/rest/guides/encrypting-secrets-for-the-rest-api).\"\n\nAuthenticated users must have collaborator access to a repository to create, update, or read secrets.\n\nOAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint.", "tags": [ "actions" ], "operationId": "actions/create-or-update-repo-secret", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#create-or-update-a-repository-secret" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#create-or-update-a-repository-secret" }, "parameters": [ { @@ -304169,7 +305091,7 @@ "properties": { "encrypted_value": { "type": "string", - "description": "Value for your secret, encrypted with [LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages) using the public key retrieved from the [Get a repository public key](https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-a-repository-public-key) endpoint.", + "description": "Value for your secret, encrypted with [LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages) using the public key retrieved from the [Get a repository public key](https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#get-a-repository-public-key) endpoint.", "pattern": "^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=|[A-Za-z0-9+/]{4})$" }, "key_id": { @@ -304233,7 +305155,7 @@ "operationId": "actions/delete-repo-secret", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#delete-a-repository-secret" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#delete-a-repository-secret" }, "parameters": [ { @@ -304287,7 +305209,7 @@ "operationId": "actions/list-repo-variables", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-repository-variables" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#list-repository-variables" }, "parameters": [ { @@ -304310,7 +305232,7 @@ }, { "name": "per_page", - "description": "The number of results per page (max 30). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The number of results per page (max 30). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -304319,7 +305241,7 @@ }, { "name": "page", - "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -304430,7 +305352,7 @@ "operationId": "actions/create-repo-variable", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#create-a-repository-variable" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#create-a-repository-variable" }, "parameters": [ { @@ -304523,7 +305445,7 @@ "operationId": "actions/get-repo-variable", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#get-a-repository-variable" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#get-a-repository-variable" }, "parameters": [ { @@ -304623,7 +305545,7 @@ "operationId": "actions/update-repo-variable", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#update-a-repository-variable" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#update-a-repository-variable" }, "parameters": [ { @@ -304703,7 +305625,7 @@ "operationId": "actions/delete-repo-variable", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#delete-a-repository-variable" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#delete-a-repository-variable" }, "parameters": [ { @@ -304757,7 +305679,7 @@ "operationId": "actions/list-repo-workflows", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#list-repository-workflows" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/actions/workflows#list-repository-workflows" }, "parameters": [ { @@ -304780,7 +305702,7 @@ }, { "name": "per_page", - "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -304789,7 +305711,7 @@ }, { "name": "page", - "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -304953,7 +305875,7 @@ "operationId": "actions/get-workflow", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#get-a-workflow" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/actions/workflows#get-a-workflow" }, "parameters": [ { @@ -305107,7 +306029,7 @@ "operationId": "actions/disable-workflow", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#disable-a-workflow" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/actions/workflows#disable-a-workflow" }, "parameters": [ { @@ -305168,7 +306090,7 @@ ], "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#create-a-workflow-dispatch-event" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/actions/workflows#create-a-workflow-dispatch-event" }, "parameters": [ { @@ -305312,7 +306234,7 @@ "operationId": "actions/enable-workflow", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#enable-a-workflow" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/actions/workflows#enable-a-workflow" }, "parameters": [ { @@ -305366,14 +306288,14 @@ "/repos/{owner}/{repo}/actions/workflows/{workflow_id}/runs": { "get": { "summary": "List workflow runs for a workflow", - "description": "List all workflow runs for a workflow. You can replace `workflow_id` with the workflow file name. For example, you could use `main.yaml`. You can use parameters to narrow the list of results. For more information about using parameters, see [Parameters](https://docs.github.com/enterprise-cloud@latest//rest/guides/getting-started-with-the-rest-api#parameters).\n\nAnyone with read access to the repository can use this endpoint\n\nOAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint with a private repository.\n\nThis endpoint will return up to 1,000 results for each search when using the following parameters: `actor`, `branch`, `check_suite_id`, `created`, `event`, `head_sha`, `status`.", + "description": "List all workflow runs for a workflow. You can replace `workflow_id` with the workflow file name. For example, you could use `main.yaml`. You can use parameters to narrow the list of results. For more information about using parameters, see [Parameters](https://docs.github.com/enterprise-cloud@latest/rest/guides/getting-started-with-the-rest-api#parameters).\n\nAnyone with read access to the repository can use this endpoint\n\nOAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint with a private repository.\n\nThis endpoint will return up to 1,000 results for each search when using the following parameters: `actor`, `branch`, `check_suite_id`, `created`, `event`, `head_sha`, `status`.", "tags": [ "actions" ], "operationId": "actions/list-workflow-runs", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#list-workflow-runs-for-a-workflow" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/actions/workflow-runs#list-workflow-runs-for-a-workflow" }, "parameters": [ { @@ -305430,7 +306352,7 @@ }, { "name": "event", - "description": "Returns workflow run triggered by the event you specify. For example, `push`, `pull_request` or `issue`. For more information, see \"[Events that trigger workflows](https://docs.github.com/enterprise-cloud@latest//actions/automating-your-workflow-with-github-actions/events-that-trigger-workflows).\"", + "description": "Returns workflow run triggered by the event you specify. For example, `push`, `pull_request` or `issue`. For more information, see \"[Events that trigger workflows](https://docs.github.com/enterprise-cloud@latest/actions/automating-your-workflow-with-github-actions/events-that-trigger-workflows).\"", "in": "query", "required": false, "schema": { @@ -305464,7 +306386,7 @@ }, { "name": "per_page", - "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -305473,7 +306395,7 @@ }, { "name": "page", - "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -305482,7 +306404,7 @@ }, { "name": "created", - "description": "Returns workflow runs created within the given date-time range. For more information on the syntax, see \"[Understanding the search syntax](https://docs.github.com/enterprise-cloud@latest//search-github/getting-started-with-searching-on-github/understanding-the-search-syntax#query-for-dates).\"", + "description": "Returns workflow runs created within the given date-time range. For more information on the syntax, see \"[Understanding the search syntax](https://docs.github.com/enterprise-cloud@latest/search-github/getting-started-with-searching-on-github/understanding-the-search-syntax#query-for-dates).\"", "in": "query", "required": false, "schema": { @@ -307952,14 +308874,14 @@ "/repos/{owner}/{repo}/actions/workflows/{workflow_id}/timing": { "get": { "summary": "Get workflow usage", - "description": "> [!WARNING] \n> This endpoint is in the process of closing down. Refer to \"[Actions Get workflow usage and Get workflow run usage endpoints closing down](https://github.blog/changelog/2025-02-02-actions-get-workflow-usage-and-get-workflow-run-usage-endpoints-closing-down/)\" for more information.\n\nGets the number of billable minutes used by a specific workflow during the current billing cycle. Billable minutes only apply to workflows in private repositories that use GitHub Enterprise Cloud-hosted runners. Usage is listed for each GitHub Enterprise Cloud-hosted runner operating system in milliseconds. Any job re-runs are also included in the usage. The usage does not include the multiplier for macOS and Windows runners and is not rounded up to the nearest whole minute. For more information, see \"[Managing billing for GitHub Actions](https://docs.github.com/enterprise-cloud@latest//github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-actions)\".\n\nYou can replace `workflow_id` with the workflow file name. For example, you could use `main.yaml`.\n\nAnyone with read access to the repository can use this endpoint.\n\nOAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint with a private repository.", + "description": "> [!WARNING] \n> This endpoint is in the process of closing down. Refer to \"[Actions Get workflow usage and Get workflow run usage endpoints closing down](https://github.blog/changelog/2025-02-02-actions-get-workflow-usage-and-get-workflow-run-usage-endpoints-closing-down/)\" for more information.\n\nGets the number of billable minutes used by a specific workflow during the current billing cycle. Billable minutes only apply to workflows in private repositories that use GitHub Enterprise Cloud-hosted runners. Usage is listed for each GitHub Enterprise Cloud-hosted runner operating system in milliseconds. Any job re-runs are also included in the usage. The usage does not include the multiplier for macOS and Windows runners and is not rounded up to the nearest whole minute. For more information, see \"[Managing billing for GitHub Actions](https://docs.github.com/enterprise-cloud@latest/github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-actions)\".\n\nYou can replace `workflow_id` with the workflow file name. For example, you could use `main.yaml`.\n\nAnyone with read access to the repository can use this endpoint.\n\nOAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint with a private repository.", "tags": [ "actions" ], "operationId": "actions/get-workflow-usage", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#get-workflow-usage" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/actions/workflows#get-workflow-usage" }, "parameters": [ { @@ -308073,14 +308995,14 @@ "/repos/{owner}/{repo}/activity": { "get": { "summary": "List repository activities", - "description": "Lists a detailed history of changes to a repository, such as pushes, merges, force pushes, and branch changes, and associates these changes with commits and users.\n\nFor more information about viewing repository activity,\nsee \"[Viewing activity and data for your repository](https://docs.github.com/enterprise-cloud@latest//repositories/viewing-activity-and-data-for-your-repository).\"", + "description": "Lists a detailed history of changes to a repository, such as pushes, merges, force pushes, and branch changes, and associates these changes with commits and users.\n\nFor more information about viewing repository activity,\nsee \"[Viewing activity and data for your repository](https://docs.github.com/enterprise-cloud@latest/repositories/viewing-activity-and-data-for-your-repository).\"", "tags": [ "repos" ], "operationId": "repos/list-activities", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-activities" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#list-repository-activities" }, "parameters": [ { @@ -308117,7 +309039,7 @@ }, { "name": "per_page", - "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -308126,7 +309048,7 @@ }, { "name": "before", - "description": "A cursor, as given in the [Link header](https://docs.github.com/enterprise-cloud@latest//rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for results before this cursor. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "A cursor, as given in the [Link header](https://docs.github.com/enterprise-cloud@latest/rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for results before this cursor. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "required": false, "schema": { @@ -308135,7 +309057,7 @@ }, { "name": "after", - "description": "A cursor, as given in the [Link header](https://docs.github.com/enterprise-cloud@latest//rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for results after this cursor. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "A cursor, as given in the [Link header](https://docs.github.com/enterprise-cloud@latest/rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for results after this cursor. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "required": false, "schema": { @@ -308474,14 +309396,14 @@ "/repos/{owner}/{repo}/assignees": { "get": { "summary": "List assignees", - "description": "Lists the [available assignees](https://docs.github.com/enterprise-cloud@latest//articles/assigning-issues-and-pull-requests-to-other-github-users/) for issues in a repository.", + "description": "Lists the [available assignees](https://docs.github.com/enterprise-cloud@latest/articles/assigning-issues-and-pull-requests-to-other-github-users/) for issues in a repository.", "tags": [ "issues" ], "operationId": "issues/list-assignees", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/issues/assignees#list-assignees" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/issues/assignees#list-assignees" }, "parameters": [ { @@ -308504,7 +309426,7 @@ }, { "name": "per_page", - "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -308513,7 +309435,7 @@ }, { "name": "page", - "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -308735,7 +309657,7 @@ "operationId": "issues/check-user-can-be-assigned", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/issues/assignees#check-if-a-user-can-be-assigned" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/issues/assignees#check-if-a-user-can-be-assigned" }, "parameters": [ { @@ -308807,14 +309729,14 @@ "/repos/{owner}/{repo}/attestations": { "post": { "summary": "Create an attestation", - "description": "Store an artifact attestation and associate it with a repository.\n\nThe authenticated user must have write permission to the repository and, if using a fine-grained access token, the `attestations:write` permission is required.\n\nArtifact attestations are meant to be created using the [attest action](https://github.com/actions/attest). For more information, see our guide on [using artifact attestations to establish a build's provenance](https://docs.github.com/enterprise-cloud@latest//actions/security-guides/using-artifact-attestations-to-establish-provenance-for-builds).", + "description": "Store an artifact attestation and associate it with a repository.\n\nThe authenticated user must have write permission to the repository and, if using a fine-grained access token, the `attestations:write` permission is required.\n\nArtifact attestations are meant to be created using the [attest action](https://github.com/actions/attest). For more information, see our guide on [using artifact attestations to establish a build's provenance](https://docs.github.com/enterprise-cloud@latest/actions/security-guides/using-artifact-attestations-to-establish-provenance-for-builds).", "tags": [ "repos" ], "operationId": "repos/create-attestation", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/repos/attestations#create-an-attestation" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/repos/attestations#create-an-attestation" }, "parameters": [ { @@ -309065,14 +309987,14 @@ "/repos/{owner}/{repo}/attestations/{subject_digest}": { "get": { "summary": "List attestations", - "description": "List a collection of artifact attestations with a given subject digest that are associated with a repository.\n\nThe authenticated user making the request must have read access to the repository. In addition, when using a fine-grained access token the `attestations:read` permission is required.\n\n**Please note:** in order to offer meaningful security benefits, an attestation's signature and timestamps **must** be cryptographically verified, and the identity of the attestation signer **must** be validated. Attestations can be verified using the [GitHub CLI `attestation verify` command](https://cli.github.com/manual/gh_attestation_verify). For more information, see [our guide on how to use artifact attestations to establish a build's provenance](https://docs.github.com/enterprise-cloud@latest//actions/security-guides/using-artifact-attestations-to-establish-provenance-for-builds).", + "description": "List a collection of artifact attestations with a given subject digest that are associated with a repository.\n\nThe authenticated user making the request must have read access to the repository. In addition, when using a fine-grained access token the `attestations:read` permission is required.\n\n**Please note:** in order to offer meaningful security benefits, an attestation's signature and timestamps **must** be cryptographically verified, and the identity of the attestation signer **must** be validated. Attestations can be verified using the [GitHub CLI `attestation verify` command](https://cli.github.com/manual/gh_attestation_verify). For more information, see [our guide on how to use artifact attestations to establish a build's provenance](https://docs.github.com/enterprise-cloud@latest/actions/security-guides/using-artifact-attestations-to-establish-provenance-for-builds).", "tags": [ "repos" ], "operationId": "repos/list-attestations", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/repos/attestations#list-attestations" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/repos/attestations#list-attestations" }, "parameters": [ { @@ -309095,7 +310017,7 @@ }, { "name": "per_page", - "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -309104,7 +310026,7 @@ }, { "name": "before", - "description": "A cursor, as given in the [Link header](https://docs.github.com/enterprise-cloud@latest//rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for results before this cursor. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "A cursor, as given in the [Link header](https://docs.github.com/enterprise-cloud@latest/rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for results before this cursor. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "required": false, "schema": { @@ -309113,7 +310035,7 @@ }, { "name": "after", - "description": "A cursor, as given in the [Link header](https://docs.github.com/enterprise-cloud@latest//rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for results after this cursor. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "A cursor, as given in the [Link header](https://docs.github.com/enterprise-cloud@latest/rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for results after this cursor. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "required": false, "schema": { @@ -309338,7 +310260,7 @@ "operationId": "repos/list-autolinks", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/repos/autolinks#get-all-autolinks-of-a-repository" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/repos/autolinks#get-all-autolinks-of-a-repository" }, "parameters": [ { @@ -309437,7 +310359,7 @@ "operationId": "repos/create-autolink", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/repos/autolinks#create-an-autolink-reference-for-a-repository" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/repos/autolinks#create-an-autolink-reference-for-a-repository" }, "parameters": [ { @@ -309648,7 +310570,7 @@ "operationId": "repos/get-autolink", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/repos/autolinks#get-an-autolink-reference-of-a-repository" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/repos/autolinks#get-an-autolink-reference-of-a-repository" }, "parameters": [ { @@ -309777,7 +310699,7 @@ "operationId": "repos/delete-autolink", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/repos/autolinks#delete-an-autolink-reference-from-a-repository" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/repos/autolinks#delete-an-autolink-reference-from-a-repository" }, "parameters": [ { @@ -309850,14 +310772,14 @@ "/repos/{owner}/{repo}/automated-security-fixes": { "get": { "summary": "Check if Dependabot security updates are enabled for a repository", - "description": "Shows whether Dependabot security updates are enabled, disabled or paused for a repository. The authenticated user must have admin read access to the repository. For more information, see \"[Configuring Dependabot security updates](https://docs.github.com/enterprise-cloud@latest//articles/configuring-automated-security-fixes)\".", + "description": "Shows whether Dependabot security updates are enabled, disabled or paused for a repository. The authenticated user must have admin read access to the repository. For more information, see \"[Configuring Dependabot security updates](https://docs.github.com/enterprise-cloud@latest/articles/configuring-automated-security-fixes)\".", "tags": [ "repos" ], "operationId": "repos/check-automated-security-fixes", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#check-if-dependabot-security-updates-are-enabled-for-a-repository" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#check-if-dependabot-security-updates-are-enabled-for-a-repository" }, "parameters": [ { @@ -309929,14 +310851,14 @@ }, "put": { "summary": "Enable Dependabot security updates", - "description": "Enables Dependabot security updates for a repository. The authenticated user must have admin access to the repository. For more information, see \"[Configuring Dependabot security updates](https://docs.github.com/enterprise-cloud@latest//articles/configuring-automated-security-fixes)\".", + "description": "Enables Dependabot security updates for a repository. The authenticated user must have admin access to the repository. For more information, see \"[Configuring Dependabot security updates](https://docs.github.com/enterprise-cloud@latest/articles/configuring-automated-security-fixes)\".", "tags": [ "repos" ], "operationId": "repos/enable-automated-security-fixes", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#enable-dependabot-security-updates" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#enable-dependabot-security-updates" }, "parameters": [ { @@ -309972,14 +310894,14 @@ }, "delete": { "summary": "Disable Dependabot security updates", - "description": "Disables Dependabot security updates for a repository. The authenticated user must have admin access to the repository. For more information, see \"[Configuring Dependabot security updates](https://docs.github.com/enterprise-cloud@latest//articles/configuring-automated-security-fixes)\".", + "description": "Disables Dependabot security updates for a repository. The authenticated user must have admin access to the repository. For more information, see \"[Configuring Dependabot security updates](https://docs.github.com/enterprise-cloud@latest/articles/configuring-automated-security-fixes)\".", "tags": [ "repos" ], "operationId": "repos/disable-automated-security-fixes", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#disable-dependabot-security-updates" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#disable-dependabot-security-updates" }, "parameters": [ { @@ -310024,7 +310946,7 @@ "operationId": "repos/list-branches", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#list-branches" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/branches/branches#list-branches" }, "parameters": [ { @@ -310056,7 +310978,7 @@ }, { "name": "per_page", - "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -310065,7 +310987,7 @@ }, { "name": "page", - "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -312196,7 +313118,7 @@ "operationId": "repos/get-branch", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#get-a-branch" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/branches/branches#get-a-branch" }, "parameters": [ { @@ -312219,7 +313141,7 @@ }, { "name": "branch", - "description": "The name of the branch. Cannot contain wildcard characters. To use wildcard characters in branch names, use [the GraphQL API](https://docs.github.com/enterprise-cloud@latest//graphql).", + "description": "The name of the branch. Cannot contain wildcard characters. To use wildcard characters in branch names, use [the GraphQL API](https://docs.github.com/enterprise-cloud@latest/graphql).", "in": "path", "required": true, "schema": { @@ -315000,14 +315922,14 @@ "/repos/{owner}/{repo}/branches/{branch}/protection": { "get": { "summary": "Get branch protection", - "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/enterprise-cloud@latest//github/getting-started-with-github/githubs-products) in the GitHub Help documentation.", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/enterprise-cloud@latest/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.", "tags": [ "repos" ], "operationId": "repos/get-branch-protection", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-branch-protection" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#get-branch-protection" }, "parameters": [ { @@ -315030,7 +315952,7 @@ }, { "name": "branch", - "description": "The name of the branch. Cannot contain wildcard characters. To use wildcard characters in branch names, use [the GraphQL API](https://docs.github.com/enterprise-cloud@latest//graphql).", + "description": "The name of the branch. Cannot contain wildcard characters. To use wildcard characters in branch names, use [the GraphQL API](https://docs.github.com/enterprise-cloud@latest/graphql).", "in": "path", "required": true, "schema": { @@ -317287,14 +318209,14 @@ }, "put": { "summary": "Update branch protection", - "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/enterprise-cloud@latest//github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nProtecting a branch requires admin or owner permissions to the repository.\n\n> [!NOTE]\n> Passing new arrays of `users` and `teams` replaces their previous values.\n\n> [!NOTE]\n> The list of users, apps, and teams in total is limited to 100 items.", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/enterprise-cloud@latest/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nProtecting a branch requires admin or owner permissions to the repository.\n\n> [!NOTE]\n> Passing new arrays of `users` and `teams` replaces their previous values.\n\n> [!NOTE]\n> The list of users, apps, and teams in total is limited to 100 items.", "tags": [ "repos" ], "operationId": "repos/update-branch-protection", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#update-branch-protection" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#update-branch-protection" }, "parameters": [ { @@ -317317,7 +318239,7 @@ }, { "name": "branch", - "description": "The name of the branch. Cannot contain wildcard characters. To use wildcard characters in branch names, use [the GraphQL API](https://docs.github.com/enterprise-cloud@latest//graphql).", + "description": "The name of the branch. Cannot contain wildcard characters. To use wildcard characters in branch names, use [the GraphQL API](https://docs.github.com/enterprise-cloud@latest/graphql).", "in": "path", "required": true, "schema": { @@ -317419,7 +318341,7 @@ }, "require_code_owner_reviews": { "type": "boolean", - "description": "Blocks merging pull requests until [code owners](https://docs.github.com/enterprise-cloud@latest//articles/about-code-owners/) review them." + "description": "Blocks merging pull requests until [code owners](https://docs.github.com/enterprise-cloud@latest/articles/about-code-owners/) review them." }, "required_approving_review_count": { "type": "integer", @@ -317493,16 +318415,16 @@ }, "required_linear_history": { "type": "boolean", - "description": "Enforces a linear commit Git history, which prevents anyone from pushing merge commits to a branch. Set to `true` to enforce a linear commit history. Set to `false` to disable a linear commit Git history. Your repository must allow squash merging or rebase merging before you can enable a linear commit history. Default: `false`. For more information, see \"[Requiring a linear commit history](https://docs.github.com/enterprise-cloud@latest//github/administering-a-repository/requiring-a-linear-commit-history)\" in the GitHub Help documentation." + "description": "Enforces a linear commit Git history, which prevents anyone from pushing merge commits to a branch. Set to `true` to enforce a linear commit history. Set to `false` to disable a linear commit Git history. Your repository must allow squash merging or rebase merging before you can enable a linear commit history. Default: `false`. For more information, see \"[Requiring a linear commit history](https://docs.github.com/enterprise-cloud@latest/github/administering-a-repository/requiring-a-linear-commit-history)\" in the GitHub Help documentation." }, "allow_force_pushes": { "type": "boolean", - "description": "Permits force pushes to the protected branch by anyone with write access to the repository. Set to `true` to allow force pushes. Set to `false` or `null` to block force pushes. Default: `false`. For more information, see \"[Enabling force pushes to a protected branch](https://docs.github.com/enterprise-cloud@latest//github/administering-a-repository/enabling-force-pushes-to-a-protected-branch)\" in the GitHub Help documentation.\"", + "description": "Permits force pushes to the protected branch by anyone with write access to the repository. Set to `true` to allow force pushes. Set to `false` or `null` to block force pushes. Default: `false`. For more information, see \"[Enabling force pushes to a protected branch](https://docs.github.com/enterprise-cloud@latest/github/administering-a-repository/enabling-force-pushes-to-a-protected-branch)\" in the GitHub Help documentation.\"", "nullable": true }, "allow_deletions": { "type": "boolean", - "description": "Allows deletion of the protected branch by anyone with write access to the repository. Set to `false` to prevent deletion of the protected branch. Default: `false`. For more information, see \"[Enabling force pushes to a protected branch](https://docs.github.com/enterprise-cloud@latest//github/administering-a-repository/enabling-force-pushes-to-a-protected-branch)\" in the GitHub Help documentation." + "description": "Allows deletion of the protected branch by anyone with write access to the repository. Set to `false` to prevent deletion of the protected branch. Default: `false`. For more information, see \"[Enabling force pushes to a protected branch](https://docs.github.com/enterprise-cloud@latest/github/administering-a-repository/enabling-force-pushes-to-a-protected-branch)\" in the GitHub Help documentation." }, "block_creations": { "type": "boolean", @@ -319769,14 +320691,14 @@ }, "delete": { "summary": "Delete branch protection", - "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/enterprise-cloud@latest//github/getting-started-with-github/githubs-products) in the GitHub Help documentation.", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/enterprise-cloud@latest/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.", "tags": [ "repos" ], "operationId": "repos/delete-branch-protection", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-branch-protection" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#delete-branch-protection" }, "parameters": [ { @@ -319799,7 +320721,7 @@ }, { "name": "branch", - "description": "The name of the branch. Cannot contain wildcard characters. To use wildcard characters in branch names, use [the GraphQL API](https://docs.github.com/enterprise-cloud@latest//graphql).", + "description": "The name of the branch. Cannot contain wildcard characters. To use wildcard characters in branch names, use [the GraphQL API](https://docs.github.com/enterprise-cloud@latest/graphql).", "in": "path", "required": true, "schema": { @@ -319850,14 +320772,14 @@ "/repos/{owner}/{repo}/branches/{branch}/protection/enforce_admins": { "get": { "summary": "Get admin branch protection", - "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/enterprise-cloud@latest//github/getting-started-with-github/githubs-products) in the GitHub Help documentation.", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/enterprise-cloud@latest/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.", "tags": [ "repos" ], "operationId": "repos/get-admin-branch-protection", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-admin-branch-protection" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#get-admin-branch-protection" }, "parameters": [ { @@ -319880,7 +320802,7 @@ }, { "name": "branch", - "description": "The name of the branch. Cannot contain wildcard characters. To use wildcard characters in branch names, use [the GraphQL API](https://docs.github.com/enterprise-cloud@latest//graphql).", + "description": "The name of the branch. Cannot contain wildcard characters. To use wildcard characters in branch names, use [the GraphQL API](https://docs.github.com/enterprise-cloud@latest/graphql).", "in": "path", "required": true, "schema": { @@ -319935,14 +320857,14 @@ }, "post": { "summary": "Set admin branch protection", - "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/enterprise-cloud@latest//github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nAdding admin enforcement requires admin or owner permissions to the repository and branch protection to be enabled.", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/enterprise-cloud@latest/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nAdding admin enforcement requires admin or owner permissions to the repository and branch protection to be enabled.", "tags": [ "repos" ], "operationId": "repos/set-admin-branch-protection", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-admin-branch-protection" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#set-admin-branch-protection" }, "parameters": [ { @@ -319965,7 +320887,7 @@ }, { "name": "branch", - "description": "The name of the branch. Cannot contain wildcard characters. To use wildcard characters in branch names, use [the GraphQL API](https://docs.github.com/enterprise-cloud@latest//graphql).", + "description": "The name of the branch. Cannot contain wildcard characters. To use wildcard characters in branch names, use [the GraphQL API](https://docs.github.com/enterprise-cloud@latest/graphql).", "in": "path", "required": true, "schema": { @@ -320020,14 +320942,14 @@ }, "delete": { "summary": "Delete admin branch protection", - "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/enterprise-cloud@latest//github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nRemoving admin enforcement requires admin or owner permissions to the repository and branch protection to be enabled.", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/enterprise-cloud@latest/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nRemoving admin enforcement requires admin or owner permissions to the repository and branch protection to be enabled.", "tags": [ "repos" ], "operationId": "repos/delete-admin-branch-protection", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-admin-branch-protection" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#delete-admin-branch-protection" }, "parameters": [ { @@ -320050,7 +320972,7 @@ }, { "name": "branch", - "description": "The name of the branch. Cannot contain wildcard characters. To use wildcard characters in branch names, use [the GraphQL API](https://docs.github.com/enterprise-cloud@latest//graphql).", + "description": "The name of the branch. Cannot contain wildcard characters. To use wildcard characters in branch names, use [the GraphQL API](https://docs.github.com/enterprise-cloud@latest/graphql).", "in": "path", "required": true, "schema": { @@ -320101,14 +321023,14 @@ "/repos/{owner}/{repo}/branches/{branch}/protection/required_pull_request_reviews": { "get": { "summary": "Get pull request review protection", - "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/enterprise-cloud@latest//github/getting-started-with-github/githubs-products) in the GitHub Help documentation.", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/enterprise-cloud@latest/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.", "tags": [ "repos" ], "operationId": "repos/get-pull-request-review-protection", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-pull-request-review-protection" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#get-pull-request-review-protection" }, "parameters": [ { @@ -320131,7 +321053,7 @@ }, { "name": "branch", - "description": "The name of the branch. Cannot contain wildcard characters. To use wildcard characters in branch names, use [the GraphQL API](https://docs.github.com/enterprise-cloud@latest//graphql).", + "description": "The name of the branch. Cannot contain wildcard characters. To use wildcard characters in branch names, use [the GraphQL API](https://docs.github.com/enterprise-cloud@latest/graphql).", "in": "path", "required": true, "schema": { @@ -321619,14 +322541,14 @@ }, "patch": { "summary": "Update pull request review protection", - "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/enterprise-cloud@latest//github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nUpdating pull request review enforcement requires admin or owner permissions to the repository and branch protection to be enabled.\n\n> [!NOTE]\n> Passing new arrays of `users` and `teams` replaces their previous values.", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/enterprise-cloud@latest/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nUpdating pull request review enforcement requires admin or owner permissions to the repository and branch protection to be enabled.\n\n> [!NOTE]\n> Passing new arrays of `users` and `teams` replaces their previous values.", "tags": [ "repos" ], "operationId": "repos/update-pull-request-review-protection", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#update-pull-request-review-protection" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#update-pull-request-review-protection" }, "parameters": [ { @@ -321649,7 +322571,7 @@ }, { "name": "branch", - "description": "The name of the branch. Cannot contain wildcard characters. To use wildcard characters in branch names, use [the GraphQL API](https://docs.github.com/enterprise-cloud@latest//graphql).", + "description": "The name of the branch. Cannot contain wildcard characters. To use wildcard characters in branch names, use [the GraphQL API](https://docs.github.com/enterprise-cloud@latest/graphql).", "in": "path", "required": true, "schema": { @@ -321698,7 +322620,7 @@ }, "require_code_owner_reviews": { "type": "boolean", - "description": "Blocks merging pull requests until [code owners](https://docs.github.com/enterprise-cloud@latest//articles/about-code-owners/) have reviewed." + "description": "Blocks merging pull requests until [code owners](https://docs.github.com/enterprise-cloud@latest/articles/about-code-owners/) have reviewed." }, "required_approving_review_count": { "type": "integer", @@ -323321,14 +324243,14 @@ }, "delete": { "summary": "Delete pull request review protection", - "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/enterprise-cloud@latest//github/getting-started-with-github/githubs-products) in the GitHub Help documentation.", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/enterprise-cloud@latest/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.", "tags": [ "repos" ], "operationId": "repos/delete-pull-request-review-protection", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-pull-request-review-protection" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#delete-pull-request-review-protection" }, "parameters": [ { @@ -323351,7 +324273,7 @@ }, { "name": "branch", - "description": "The name of the branch. Cannot contain wildcard characters. To use wildcard characters in branch names, use [the GraphQL API](https://docs.github.com/enterprise-cloud@latest//graphql).", + "description": "The name of the branch. Cannot contain wildcard characters. To use wildcard characters in branch names, use [the GraphQL API](https://docs.github.com/enterprise-cloud@latest/graphql).", "in": "path", "required": true, "schema": { @@ -323402,14 +324324,14 @@ "/repos/{owner}/{repo}/branches/{branch}/protection/required_signatures": { "get": { "summary": "Get commit signature protection", - "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/enterprise-cloud@latest//github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nWhen authenticated with admin or owner permissions to the repository, you can use this endpoint to check whether a branch requires signed commits. An enabled status of `true` indicates you must sign commits on this branch. For more information, see [Signing commits with GPG](https://docs.github.com/enterprise-cloud@latest//articles/signing-commits-with-gpg) in GitHub Help.\n\n> [!NOTE]\n> You must enable branch protection to require signed commits.", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/enterprise-cloud@latest/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nWhen authenticated with admin or owner permissions to the repository, you can use this endpoint to check whether a branch requires signed commits. An enabled status of `true` indicates you must sign commits on this branch. For more information, see [Signing commits with GPG](https://docs.github.com/enterprise-cloud@latest/articles/signing-commits-with-gpg) in GitHub Help.\n\n> [!NOTE]\n> You must enable branch protection to require signed commits.", "tags": [ "repos" ], "operationId": "repos/get-commit-signature-protection", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-commit-signature-protection" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#get-commit-signature-protection" }, "parameters": [ { @@ -323432,7 +324354,7 @@ }, { "name": "branch", - "description": "The name of the branch. Cannot contain wildcard characters. To use wildcard characters in branch names, use [the GraphQL API](https://docs.github.com/enterprise-cloud@latest//graphql).", + "description": "The name of the branch. Cannot contain wildcard characters. To use wildcard characters in branch names, use [the GraphQL API](https://docs.github.com/enterprise-cloud@latest/graphql).", "in": "path", "required": true, "schema": { @@ -323513,14 +324435,14 @@ }, "post": { "summary": "Create commit signature protection", - "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/enterprise-cloud@latest//github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nWhen authenticated with admin or owner permissions to the repository, you can use this endpoint to require signed commits on a branch. You must enable branch protection to require signed commits.", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/enterprise-cloud@latest/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nWhen authenticated with admin or owner permissions to the repository, you can use this endpoint to require signed commits on a branch. You must enable branch protection to require signed commits.", "tags": [ "repos" ], "operationId": "repos/create-commit-signature-protection", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#create-commit-signature-protection" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#create-commit-signature-protection" }, "parameters": [ { @@ -323543,7 +324465,7 @@ }, { "name": "branch", - "description": "The name of the branch. Cannot contain wildcard characters. To use wildcard characters in branch names, use [the GraphQL API](https://docs.github.com/enterprise-cloud@latest//graphql).", + "description": "The name of the branch. Cannot contain wildcard characters. To use wildcard characters in branch names, use [the GraphQL API](https://docs.github.com/enterprise-cloud@latest/graphql).", "in": "path", "required": true, "schema": { @@ -323624,14 +324546,14 @@ }, "delete": { "summary": "Delete commit signature protection", - "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/enterprise-cloud@latest//github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nWhen authenticated with admin or owner permissions to the repository, you can use this endpoint to disable required signed commits on a branch. You must enable branch protection to require signed commits.", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/enterprise-cloud@latest/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nWhen authenticated with admin or owner permissions to the repository, you can use this endpoint to disable required signed commits on a branch. You must enable branch protection to require signed commits.", "tags": [ "repos" ], "operationId": "repos/delete-commit-signature-protection", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-commit-signature-protection" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#delete-commit-signature-protection" }, "parameters": [ { @@ -323654,7 +324576,7 @@ }, { "name": "branch", - "description": "The name of the branch. Cannot contain wildcard characters. To use wildcard characters in branch names, use [the GraphQL API](https://docs.github.com/enterprise-cloud@latest//graphql).", + "description": "The name of the branch. Cannot contain wildcard characters. To use wildcard characters in branch names, use [the GraphQL API](https://docs.github.com/enterprise-cloud@latest/graphql).", "in": "path", "required": true, "schema": { @@ -323705,14 +324627,14 @@ "/repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks": { "get": { "summary": "Get status checks protection", - "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/enterprise-cloud@latest//github/getting-started-with-github/githubs-products) in the GitHub Help documentation.", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/enterprise-cloud@latest/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.", "tags": [ "repos" ], "operationId": "repos/get-status-checks-protection", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-status-checks-protection" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#get-status-checks-protection" }, "parameters": [ { @@ -323735,7 +324657,7 @@ }, { "name": "branch", - "description": "The name of the branch. Cannot contain wildcard characters. To use wildcard characters in branch names, use [the GraphQL API](https://docs.github.com/enterprise-cloud@latest//graphql).", + "description": "The name of the branch. Cannot contain wildcard characters. To use wildcard characters in branch names, use [the GraphQL API](https://docs.github.com/enterprise-cloud@latest/graphql).", "in": "path", "required": true, "schema": { @@ -323857,14 +324779,14 @@ }, "patch": { "summary": "Update status check protection", - "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/enterprise-cloud@latest//github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nUpdating required status checks requires admin or owner permissions to the repository and branch protection to be enabled.", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/enterprise-cloud@latest/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nUpdating required status checks requires admin or owner permissions to the repository and branch protection to be enabled.", "tags": [ "repos" ], "operationId": "repos/update-status-check-protection", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#update-status-check-protection" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#update-status-check-protection" }, "parameters": [ { @@ -323887,7 +324809,7 @@ }, { "name": "branch", - "description": "The name of the branch. Cannot contain wildcard characters. To use wildcard characters in branch names, use [the GraphQL API](https://docs.github.com/enterprise-cloud@latest//graphql).", + "description": "The name of the branch. Cannot contain wildcard characters. To use wildcard characters in branch names, use [the GraphQL API](https://docs.github.com/enterprise-cloud@latest/graphql).", "in": "path", "required": true, "schema": { @@ -324132,14 +325054,14 @@ }, "delete": { "summary": "Remove status check protection", - "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/enterprise-cloud@latest//github/getting-started-with-github/githubs-products) in the GitHub Help documentation.", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/enterprise-cloud@latest/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.", "tags": [ "repos" ], "operationId": "repos/remove-status-check-protection", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-status-check-protection" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#remove-status-check-protection" }, "parameters": [ { @@ -324162,7 +325084,7 @@ }, { "name": "branch", - "description": "The name of the branch. Cannot contain wildcard characters. To use wildcard characters in branch names, use [the GraphQL API](https://docs.github.com/enterprise-cloud@latest//graphql).", + "description": "The name of the branch. Cannot contain wildcard characters. To use wildcard characters in branch names, use [the GraphQL API](https://docs.github.com/enterprise-cloud@latest/graphql).", "in": "path", "required": true, "schema": { @@ -324187,14 +325109,14 @@ "/repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks/contexts": { "get": { "summary": "Get all status check contexts", - "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/enterprise-cloud@latest//github/getting-started-with-github/githubs-products) in the GitHub Help documentation.", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/enterprise-cloud@latest/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.", "tags": [ "repos" ], "operationId": "repos/get-all-status-check-contexts", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-all-status-check-contexts" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#get-all-status-check-contexts" }, "parameters": [ { @@ -324217,7 +325139,7 @@ }, { "name": "branch", - "description": "The name of the branch. Cannot contain wildcard characters. To use wildcard characters in branch names, use [the GraphQL API](https://docs.github.com/enterprise-cloud@latest//graphql).", + "description": "The name of the branch. Cannot contain wildcard characters. To use wildcard characters in branch names, use [the GraphQL API](https://docs.github.com/enterprise-cloud@latest/graphql).", "in": "path", "required": true, "schema": { @@ -324283,14 +325205,14 @@ }, "post": { "summary": "Add status check contexts", - "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/enterprise-cloud@latest//github/getting-started-with-github/githubs-products) in the GitHub Help documentation.", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/enterprise-cloud@latest/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.", "tags": [ "repos" ], "operationId": "repos/add-status-check-contexts", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#add-status-check-contexts" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#add-status-check-contexts" }, "parameters": [ { @@ -324313,7 +325235,7 @@ }, { "name": "branch", - "description": "The name of the branch. Cannot contain wildcard characters. To use wildcard characters in branch names, use [the GraphQL API](https://docs.github.com/enterprise-cloud@latest//graphql).", + "description": "The name of the branch. Cannot contain wildcard characters. To use wildcard characters in branch names, use [the GraphQL API](https://docs.github.com/enterprise-cloud@latest/graphql).", "in": "path", "required": true, "schema": { @@ -324525,14 +325447,14 @@ }, "put": { "summary": "Set status check contexts", - "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/enterprise-cloud@latest//github/getting-started-with-github/githubs-products) in the GitHub Help documentation.", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/enterprise-cloud@latest/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.", "tags": [ "repos" ], "operationId": "repos/set-status-check-contexts", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-status-check-contexts" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#set-status-check-contexts" }, "parameters": [ { @@ -324555,7 +325477,7 @@ }, { "name": "branch", - "description": "The name of the branch. Cannot contain wildcard characters. To use wildcard characters in branch names, use [the GraphQL API](https://docs.github.com/enterprise-cloud@latest//graphql).", + "description": "The name of the branch. Cannot contain wildcard characters. To use wildcard characters in branch names, use [the GraphQL API](https://docs.github.com/enterprise-cloud@latest/graphql).", "in": "path", "required": true, "schema": { @@ -324739,14 +325661,14 @@ }, "delete": { "summary": "Remove status check contexts", - "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/enterprise-cloud@latest//github/getting-started-with-github/githubs-products) in the GitHub Help documentation.", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/enterprise-cloud@latest/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.", "tags": [ "repos" ], "operationId": "repos/remove-status-check-contexts", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-status-check-contexts" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#remove-status-check-contexts" }, "parameters": [ { @@ -324769,7 +325691,7 @@ }, { "name": "branch", - "description": "The name of the branch. Cannot contain wildcard characters. To use wildcard characters in branch names, use [the GraphQL API](https://docs.github.com/enterprise-cloud@latest//graphql).", + "description": "The name of the branch. Cannot contain wildcard characters. To use wildcard characters in branch names, use [the GraphQL API](https://docs.github.com/enterprise-cloud@latest/graphql).", "in": "path", "required": true, "schema": { @@ -324954,14 +325876,14 @@ "/repos/{owner}/{repo}/branches/{branch}/protection/restrictions": { "get": { "summary": "Get access restrictions", - "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/enterprise-cloud@latest//github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nLists who has access to this protected branch.\n\n> [!NOTE]\n> Users, apps, and teams `restrictions` are only available for organization-owned repositories.", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/enterprise-cloud@latest/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nLists who has access to this protected branch.\n\n> [!NOTE]\n> Users, apps, and teams `restrictions` are only available for organization-owned repositories.", "tags": [ "repos" ], "operationId": "repos/get-access-restrictions", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-access-restrictions" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#get-access-restrictions" }, "parameters": [ { @@ -324984,7 +325906,7 @@ }, { "name": "branch", - "description": "The name of the branch. Cannot contain wildcard characters. To use wildcard characters in branch names, use [the GraphQL API](https://docs.github.com/enterprise-cloud@latest//graphql).", + "description": "The name of the branch. Cannot contain wildcard characters. To use wildcard characters in branch names, use [the GraphQL API](https://docs.github.com/enterprise-cloud@latest/graphql).", "in": "path", "required": true, "schema": { @@ -325584,14 +326506,14 @@ }, "delete": { "summary": "Delete access restrictions", - "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/enterprise-cloud@latest//github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nDisables the ability to restrict who can push to this branch.", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/enterprise-cloud@latest/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nDisables the ability to restrict who can push to this branch.", "tags": [ "repos" ], "operationId": "repos/delete-access-restrictions", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-access-restrictions" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#delete-access-restrictions" }, "parameters": [ { @@ -325614,7 +326536,7 @@ }, { "name": "branch", - "description": "The name of the branch. Cannot contain wildcard characters. To use wildcard characters in branch names, use [the GraphQL API](https://docs.github.com/enterprise-cloud@latest//graphql).", + "description": "The name of the branch. Cannot contain wildcard characters. To use wildcard characters in branch names, use [the GraphQL API](https://docs.github.com/enterprise-cloud@latest/graphql).", "in": "path", "required": true, "schema": { @@ -325639,14 +326561,14 @@ "/repos/{owner}/{repo}/branches/{branch}/protection/restrictions/apps": { "get": { "summary": "Get apps with access to the protected branch", - "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/enterprise-cloud@latest//github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nLists the GitHub Apps that have push access to this branch. Only GitHub Apps that are installed on the repository and that have been granted write access to the repository contents can be added as authorized actors on a protected branch.", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/enterprise-cloud@latest/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nLists the GitHub Apps that have push access to this branch. Only GitHub Apps that are installed on the repository and that have been granted write access to the repository contents can be added as authorized actors on a protected branch.", "tags": [ "repos" ], "operationId": "repos/get-apps-with-access-to-protected-branch", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-apps-with-access-to-the-protected-branch" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#get-apps-with-access-to-the-protected-branch" }, "parameters": [ { @@ -325669,7 +326591,7 @@ }, { "name": "branch", - "description": "The name of the branch. Cannot contain wildcard characters. To use wildcard characters in branch names, use [the GraphQL API](https://docs.github.com/enterprise-cloud@latest//graphql).", + "description": "The name of the branch. Cannot contain wildcard characters. To use wildcard characters in branch names, use [the GraphQL API](https://docs.github.com/enterprise-cloud@latest/graphql).", "in": "path", "required": true, "schema": { @@ -326081,14 +327003,14 @@ }, "post": { "summary": "Add app access restrictions", - "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/enterprise-cloud@latest//github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nGrants the specified apps push access for this branch. Only GitHub Apps that are installed on the repository and that have been granted write access to the repository contents can be added as authorized actors on a protected branch.", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/enterprise-cloud@latest/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nGrants the specified apps push access for this branch. Only GitHub Apps that are installed on the repository and that have been granted write access to the repository contents can be added as authorized actors on a protected branch.", "tags": [ "repos" ], "operationId": "repos/add-app-access-restrictions", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#add-app-access-restrictions" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#add-app-access-restrictions" }, "parameters": [ { @@ -326111,7 +327033,7 @@ }, { "name": "branch", - "description": "The name of the branch. Cannot contain wildcard characters. To use wildcard characters in branch names, use [the GraphQL API](https://docs.github.com/enterprise-cloud@latest//graphql).", + "description": "The name of the branch. Cannot contain wildcard characters. To use wildcard characters in branch names, use [the GraphQL API](https://docs.github.com/enterprise-cloud@latest/graphql).", "in": "path", "required": true, "schema": { @@ -326603,14 +327525,14 @@ }, "put": { "summary": "Set app access restrictions", - "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/enterprise-cloud@latest//github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nReplaces the list of apps that have push access to this branch. This removes all apps that previously had push access and grants push access to the new list of apps. Only GitHub Apps that are installed on the repository and that have been granted write access to the repository contents can be added as authorized actors on a protected branch.", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/enterprise-cloud@latest/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nReplaces the list of apps that have push access to this branch. This removes all apps that previously had push access and grants push access to the new list of apps. Only GitHub Apps that are installed on the repository and that have been granted write access to the repository contents can be added as authorized actors on a protected branch.", "tags": [ "repos" ], "operationId": "repos/set-app-access-restrictions", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-app-access-restrictions" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#set-app-access-restrictions" }, "parameters": [ { @@ -326633,7 +327555,7 @@ }, { "name": "branch", - "description": "The name of the branch. Cannot contain wildcard characters. To use wildcard characters in branch names, use [the GraphQL API](https://docs.github.com/enterprise-cloud@latest//graphql).", + "description": "The name of the branch. Cannot contain wildcard characters. To use wildcard characters in branch names, use [the GraphQL API](https://docs.github.com/enterprise-cloud@latest/graphql).", "in": "path", "required": true, "schema": { @@ -327125,14 +328047,14 @@ }, "delete": { "summary": "Remove app access restrictions", - "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/enterprise-cloud@latest//github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nRemoves the ability of an app to push to this branch. Only GitHub Apps that are installed on the repository and that have been granted write access to the repository contents can be added as authorized actors on a protected branch.", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/enterprise-cloud@latest/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nRemoves the ability of an app to push to this branch. Only GitHub Apps that are installed on the repository and that have been granted write access to the repository contents can be added as authorized actors on a protected branch.", "tags": [ "repos" ], "operationId": "repos/remove-app-access-restrictions", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-app-access-restrictions" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#remove-app-access-restrictions" }, "parameters": [ { @@ -327155,7 +328077,7 @@ }, { "name": "branch", - "description": "The name of the branch. Cannot contain wildcard characters. To use wildcard characters in branch names, use [the GraphQL API](https://docs.github.com/enterprise-cloud@latest//graphql).", + "description": "The name of the branch. Cannot contain wildcard characters. To use wildcard characters in branch names, use [the GraphQL API](https://docs.github.com/enterprise-cloud@latest/graphql).", "in": "path", "required": true, "schema": { @@ -327649,14 +328571,14 @@ "/repos/{owner}/{repo}/branches/{branch}/protection/restrictions/teams": { "get": { "summary": "Get teams with access to the protected branch", - "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/enterprise-cloud@latest//github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nLists the teams who have push access to this branch. The list includes child teams.", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/enterprise-cloud@latest/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nLists the teams who have push access to this branch. The list includes child teams.", "tags": [ "repos" ], "operationId": "repos/get-teams-with-access-to-protected-branch", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-teams-with-access-to-the-protected-branch" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#get-teams-with-access-to-the-protected-branch" }, "parameters": [ { @@ -327679,7 +328601,7 @@ }, { "name": "branch", - "description": "The name of the branch. Cannot contain wildcard characters. To use wildcard characters in branch names, use [the GraphQL API](https://docs.github.com/enterprise-cloud@latest//graphql).", + "description": "The name of the branch. Cannot contain wildcard characters. To use wildcard characters in branch names, use [the GraphQL API](https://docs.github.com/enterprise-cloud@latest/graphql).", "in": "path", "required": true, "schema": { @@ -327966,14 +328888,14 @@ }, "post": { "summary": "Add team access restrictions", - "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/enterprise-cloud@latest//github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nGrants the specified teams push access for this branch. You can also give push access to child teams.", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/enterprise-cloud@latest/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nGrants the specified teams push access for this branch. You can also give push access to child teams.", "tags": [ "repos" ], "operationId": "repos/add-team-access-restrictions", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#add-team-access-restrictions" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#add-team-access-restrictions" }, "parameters": [ { @@ -327996,7 +328918,7 @@ }, { "name": "branch", - "description": "The name of the branch. Cannot contain wildcard characters. To use wildcard characters in branch names, use [the GraphQL API](https://docs.github.com/enterprise-cloud@latest//graphql).", + "description": "The name of the branch. Cannot contain wildcard characters. To use wildcard characters in branch names, use [the GraphQL API](https://docs.github.com/enterprise-cloud@latest/graphql).", "in": "path", "required": true, "schema": { @@ -328375,14 +329297,14 @@ }, "put": { "summary": "Set team access restrictions", - "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/enterprise-cloud@latest//github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nReplaces the list of teams that have push access to this branch. This removes all teams that previously had push access and grants push access to the new list of teams. Team restrictions include child teams.", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/enterprise-cloud@latest/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nReplaces the list of teams that have push access to this branch. This removes all teams that previously had push access and grants push access to the new list of teams. Team restrictions include child teams.", "tags": [ "repos" ], "operationId": "repos/set-team-access-restrictions", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-team-access-restrictions" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#set-team-access-restrictions" }, "parameters": [ { @@ -328405,7 +329327,7 @@ }, { "name": "branch", - "description": "The name of the branch. Cannot contain wildcard characters. To use wildcard characters in branch names, use [the GraphQL API](https://docs.github.com/enterprise-cloud@latest//graphql).", + "description": "The name of the branch. Cannot contain wildcard characters. To use wildcard characters in branch names, use [the GraphQL API](https://docs.github.com/enterprise-cloud@latest/graphql).", "in": "path", "required": true, "schema": { @@ -328784,14 +329706,14 @@ }, "delete": { "summary": "Remove team access restrictions", - "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/enterprise-cloud@latest//github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nRemoves the ability of a team to push to this branch. You can also remove push access for child teams.", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/enterprise-cloud@latest/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nRemoves the ability of a team to push to this branch. You can also remove push access for child teams.", "tags": [ "repos" ], "operationId": "repos/remove-team-access-restrictions", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-team-access-restrictions" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#remove-team-access-restrictions" }, "parameters": [ { @@ -328814,7 +329736,7 @@ }, { "name": "branch", - "description": "The name of the branch. Cannot contain wildcard characters. To use wildcard characters in branch names, use [the GraphQL API](https://docs.github.com/enterprise-cloud@latest//graphql).", + "description": "The name of the branch. Cannot contain wildcard characters. To use wildcard characters in branch names, use [the GraphQL API](https://docs.github.com/enterprise-cloud@latest/graphql).", "in": "path", "required": true, "schema": { @@ -329194,14 +330116,14 @@ "/repos/{owner}/{repo}/branches/{branch}/protection/restrictions/users": { "get": { "summary": "Get users with access to the protected branch", - "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/enterprise-cloud@latest//github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nLists the people who have push access to this branch.", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/enterprise-cloud@latest/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nLists the people who have push access to this branch.", "tags": [ "repos" ], "operationId": "repos/get-users-with-access-to-protected-branch", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-users-with-access-to-the-protected-branch" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#get-users-with-access-to-the-protected-branch" }, "parameters": [ { @@ -329224,7 +330146,7 @@ }, { "name": "branch", - "description": "The name of the branch. Cannot contain wildcard characters. To use wildcard characters in branch names, use [the GraphQL API](https://docs.github.com/enterprise-cloud@latest//graphql).", + "description": "The name of the branch. Cannot contain wildcard characters. To use wildcard characters in branch names, use [the GraphQL API](https://docs.github.com/enterprise-cloud@latest/graphql).", "in": "path", "required": true, "schema": { @@ -329430,14 +330352,14 @@ }, "post": { "summary": "Add user access restrictions", - "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/enterprise-cloud@latest//github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nGrants the specified people push access for this branch.\n\n| Type | Description |\n| ------- | ----------------------------------------------------------------------------------------------------------------------------- |\n| `array` | Usernames for people who can have push access. **Note**: The list of users, apps, and teams in total is limited to 100 items. |", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/enterprise-cloud@latest/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nGrants the specified people push access for this branch.\n\n| Type | Description |\n| ------- | ----------------------------------------------------------------------------------------------------------------------------- |\n| `array` | Usernames for people who can have push access. **Note**: The list of users, apps, and teams in total is limited to 100 items. |", "tags": [ "repos" ], "operationId": "repos/add-user-access-restrictions", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#add-user-access-restrictions" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#add-user-access-restrictions" }, "parameters": [ { @@ -329460,7 +330382,7 @@ }, { "name": "branch", - "description": "The name of the branch. Cannot contain wildcard characters. To use wildcard characters in branch names, use [the GraphQL API](https://docs.github.com/enterprise-cloud@latest//graphql).", + "description": "The name of the branch. Cannot contain wildcard characters. To use wildcard characters in branch names, use [the GraphQL API](https://docs.github.com/enterprise-cloud@latest/graphql).", "in": "path", "required": true, "schema": { @@ -329747,14 +330669,14 @@ }, "put": { "summary": "Set user access restrictions", - "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/enterprise-cloud@latest//github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nReplaces the list of people that have push access to this branch. This removes all people that previously had push access and grants push access to the new list of people.\n\n| Type | Description |\n| ------- | ----------------------------------------------------------------------------------------------------------------------------- |\n| `array` | Usernames for people who can have push access. **Note**: The list of users, apps, and teams in total is limited to 100 items. |", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/enterprise-cloud@latest/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nReplaces the list of people that have push access to this branch. This removes all people that previously had push access and grants push access to the new list of people.\n\n| Type | Description |\n| ------- | ----------------------------------------------------------------------------------------------------------------------------- |\n| `array` | Usernames for people who can have push access. **Note**: The list of users, apps, and teams in total is limited to 100 items. |", "tags": [ "repos" ], "operationId": "repos/set-user-access-restrictions", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-user-access-restrictions" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#set-user-access-restrictions" }, "parameters": [ { @@ -329777,7 +330699,7 @@ }, { "name": "branch", - "description": "The name of the branch. Cannot contain wildcard characters. To use wildcard characters in branch names, use [the GraphQL API](https://docs.github.com/enterprise-cloud@latest//graphql).", + "description": "The name of the branch. Cannot contain wildcard characters. To use wildcard characters in branch names, use [the GraphQL API](https://docs.github.com/enterprise-cloud@latest/graphql).", "in": "path", "required": true, "schema": { @@ -330064,14 +330986,14 @@ }, "delete": { "summary": "Remove user access restrictions", - "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/enterprise-cloud@latest//github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nRemoves the ability of a user to push to this branch.\n\n| Type | Description |\n| ------- | --------------------------------------------------------------------------------------------------------------------------------------------- |\n| `array` | Usernames of the people who should no longer have push access. **Note**: The list of users, apps, and teams in total is limited to 100 items. |", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/enterprise-cloud@latest/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nRemoves the ability of a user to push to this branch.\n\n| Type | Description |\n| ------- | --------------------------------------------------------------------------------------------------------------------------------------------- |\n| `array` | Usernames of the people who should no longer have push access. **Note**: The list of users, apps, and teams in total is limited to 100 items. |", "tags": [ "repos" ], "operationId": "repos/remove-user-access-restrictions", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-user-access-restrictions" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#remove-user-access-restrictions" }, "parameters": [ { @@ -330094,7 +331016,7 @@ }, { "name": "branch", - "description": "The name of the branch. Cannot contain wildcard characters. To use wildcard characters in branch names, use [the GraphQL API](https://docs.github.com/enterprise-cloud@latest//graphql).", + "description": "The name of the branch. Cannot contain wildcard characters. To use wildcard characters in branch names, use [the GraphQL API](https://docs.github.com/enterprise-cloud@latest/graphql).", "in": "path", "required": true, "schema": { @@ -330383,14 +331305,14 @@ "/repos/{owner}/{repo}/branches/{branch}/rename": { "post": { "summary": "Rename a branch", - "description": "Renames a branch in a repository.\n\n> [!NOTE]\n> Although the API responds immediately, the branch rename process might take some extra time to complete in the background. You won't be able to push to the old branch name while the rename process is in progress. For more information, see \"[Renaming a branch](https://docs.github.com/enterprise-cloud@latest//github/administering-a-repository/renaming-a-branch)\".\n\nThe authenticated user must have push access to the branch. If the branch is the default branch, the authenticated user must also have admin or owner permissions.\n\nIn order to rename the default branch, fine-grained access tokens also need the `administration:write` repository permission.", + "description": "Renames a branch in a repository.\n\n> [!NOTE]\n> Although the API responds immediately, the branch rename process might take some extra time to complete in the background. You won't be able to push to the old branch name while the rename process is in progress. For more information, see \"[Renaming a branch](https://docs.github.com/enterprise-cloud@latest/github/administering-a-repository/renaming-a-branch)\".\n\nThe authenticated user must have push access to the branch. If the branch is the default branch, the authenticated user must also have admin or owner permissions.\n\nIn order to rename the default branch, fine-grained access tokens also need the `administration:write` repository permission.", "tags": [ "repos" ], "operationId": "repos/rename-branch", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#rename-a-branch" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/branches/branches#rename-a-branch" }, "parameters": [ { @@ -330413,7 +331335,7 @@ }, { "name": "branch", - "description": "The name of the branch. Cannot contain wildcard characters. To use wildcard characters in branch names, use [the GraphQL API](https://docs.github.com/enterprise-cloud@latest//graphql).", + "description": "The name of the branch. Cannot contain wildcard characters. To use wildcard characters in branch names, use [the GraphQL API](https://docs.github.com/enterprise-cloud@latest/graphql).", "in": "path", "required": true, "schema": { @@ -333295,7 +334217,7 @@ "operationId": "repos/list-repo-push-bypass-requests", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/repos/bypass-requests#list-repository-push-rule-bypass-requests" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/repos/bypass-requests#list-repository-push-rule-bypass-requests" }, "x-github": { "githubCloudOnly": true, @@ -333378,7 +334300,7 @@ }, { "name": "per_page", - "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -333387,7 +334309,7 @@ }, { "name": "page", - "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -333750,7 +334672,7 @@ "operationId": "repos/get-repo-push-bypass-request", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/repos/bypass-requests#get-a-repository-push-bypass-request" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/repos/bypass-requests#get-a-repository-push-bypass-request" }, "x-github": { "githubCloudOnly": true, @@ -334094,7 +335016,7 @@ "operationId": "secret-scanning/list-repo-bypass-requests", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/delegated-bypass#list-bypass-requests-for-secret-scanning-for-a-repository" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/secret-scanning/delegated-bypass#list-bypass-requests-for-secret-scanning-for-a-repository" }, "x-github": { "githubCloudOnly": true, @@ -334177,7 +335099,7 @@ }, { "name": "per_page", - "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -334186,7 +335108,7 @@ }, { "name": "page", - "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -334574,7 +335496,7 @@ "operationId": "secret-scanning/get-bypass-request", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/delegated-bypass#get-a-bypass-request-for-secret-scanning" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/secret-scanning/delegated-bypass#get-a-bypass-request-for-secret-scanning" }, "x-github": { "githubCloudOnly": true, @@ -334940,7 +335862,7 @@ "operationId": "secret-scanning/review-bypass-request", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/delegated-bypass#review-a-bypass-request-for-secret-scanning" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/secret-scanning/delegated-bypass#review-a-bypass-request-for-secret-scanning" }, "x-github": { "githubCloudOnly": true, @@ -335197,7 +336119,7 @@ "operationId": "secret-scanning/dismiss-bypass-response", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/delegated-bypass#dismiss-a-response-on-a-bypass-request-for-secret-scanning" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/secret-scanning/delegated-bypass#dismiss-a-response-on-a-bypass-request-for-secret-scanning" }, "x-github": { "githubCloudOnly": true, @@ -335398,7 +336320,7 @@ "operationId": "checks/create", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#create-a-check-run" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/checks/runs#create-a-check-run" }, "parameters": [ { @@ -335500,7 +336422,7 @@ }, "annotations": { "type": "array", - "description": "Adds information from your analysis to specific lines of code. Annotations are visible on GitHub in the **Checks** and **Files changed** tab of the pull request. The Checks API limits the number of annotations to a maximum of 50 per API request. To create more than 50 annotations, you have to make multiple requests to the [Update a check run](https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#update-a-check-run) endpoint. Each time you update the check run, annotations are appended to the list of annotations that already exist for the check run. GitHub Actions are limited to 10 warning annotations and 10 error annotations per step. For details about how you can view annotations on GitHub, see \"[About status checks](https://docs.github.com/enterprise-cloud@latest//articles/about-status-checks#checks)\".", + "description": "Adds information from your analysis to specific lines of code. Annotations are visible on GitHub in the **Checks** and **Files changed** tab of the pull request. The Checks API limits the number of annotations to a maximum of 50 per API request. To create more than 50 annotations, you have to make multiple requests to the [Update a check run](https://docs.github.com/enterprise-cloud@latest/rest/checks/runs#update-a-check-run) endpoint. Each time you update the check run, annotations are appended to the list of annotations that already exist for the check run. GitHub Actions are limited to 10 warning annotations and 10 error annotations per step. For details about how you can view annotations on GitHub, see \"[About status checks](https://docs.github.com/enterprise-cloud@latest/articles/about-status-checks#checks)\".", "maxItems": 50, "items": { "type": "object", @@ -335589,7 +336511,7 @@ }, "actions": { "type": "array", - "description": "Displays a button on GitHub that can be clicked to alert your app to do additional tasks. For example, a code linting app can display a button that automatically fixes detected errors. The button created in this object is displayed after the check run completes. When a user clicks the button, GitHub sends the [`check_run.requested_action` webhook](https://docs.github.com/enterprise-cloud@latest//webhooks/event-payloads/#check_run) to your app. Each action includes a `label`, `identifier` and `description`. A maximum of three actions are accepted. To learn more about check runs and requested actions, see \"[Check runs and requested actions](https://docs.github.com/enterprise-cloud@latest//rest/guides/using-the-rest-api-to-interact-with-checks#check-runs-and-requested-actions).\"", + "description": "Displays a button on GitHub that can be clicked to alert your app to do additional tasks. For example, a code linting app can display a button that automatically fixes detected errors. The button created in this object is displayed after the check run completes. When a user clicks the button, GitHub sends the [`check_run.requested_action` webhook](https://docs.github.com/enterprise-cloud@latest/webhooks/event-payloads/#check_run) to your app. Each action includes a `label`, `identifier` and `description`. A maximum of three actions are accepted. To learn more about check runs and requested actions, see \"[Check runs and requested actions](https://docs.github.com/enterprise-cloud@latest/rest/guides/using-the-rest-api-to-interact-with-checks#check-runs-and-requested-actions).\"", "maxItems": 3, "items": { "type": "object", @@ -336882,7 +337804,7 @@ "operationId": "checks/get", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#get-a-check-run" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/checks/runs#get-a-check-run" }, "parameters": [ { @@ -337977,7 +338899,7 @@ "operationId": "checks/update", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#update-a-check-run" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/checks/runs#update-a-check-run" }, "parameters": [ { @@ -338083,7 +339005,7 @@ }, "annotations": { "type": "array", - "description": "Adds information from your analysis to specific lines of code. Annotations are visible in GitHub's pull request UI. Annotations are visible in GitHub's pull request UI. The Checks API limits the number of annotations to a maximum of 50 per API request. To create more than 50 annotations, you have to make multiple requests to the [Update a check run](https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#update-a-check-run) endpoint. Each time you update the check run, annotations are appended to the list of annotations that already exist for the check run. GitHub Actions are limited to 10 warning annotations and 10 error annotations per step. For details about annotations in the UI, see \"[About status checks](https://docs.github.com/enterprise-cloud@latest//articles/about-status-checks#checks)\".", + "description": "Adds information from your analysis to specific lines of code. Annotations are visible in GitHub's pull request UI. Annotations are visible in GitHub's pull request UI. The Checks API limits the number of annotations to a maximum of 50 per API request. To create more than 50 annotations, you have to make multiple requests to the [Update a check run](https://docs.github.com/enterprise-cloud@latest/rest/checks/runs#update-a-check-run) endpoint. Each time you update the check run, annotations are appended to the list of annotations that already exist for the check run. GitHub Actions are limited to 10 warning annotations and 10 error annotations per step. For details about annotations in the UI, see \"[About status checks](https://docs.github.com/enterprise-cloud@latest/articles/about-status-checks#checks)\".", "maxItems": 50, "items": { "type": "object", @@ -338171,7 +339093,7 @@ }, "actions": { "type": "array", - "description": "Possible further actions the integrator can perform, which a user may trigger. Each action includes a `label`, `identifier` and `description`. A maximum of three actions are accepted. To learn more about check runs and requested actions, see \"[Check runs and requested actions](https://docs.github.com/enterprise-cloud@latest//rest/guides/using-the-rest-api-to-interact-with-checks#check-runs-and-requested-actions).\"", + "description": "Possible further actions the integrator can perform, which a user may trigger. Each action includes a `label`, `identifier` and `description`. A maximum of three actions are accepted. To learn more about check runs and requested actions, see \"[Check runs and requested actions](https://docs.github.com/enterprise-cloud@latest/rest/guides/using-the-rest-api-to-interact-with-checks#check-runs-and-requested-actions).\"", "maxItems": 3, "items": { "type": "object", @@ -339338,7 +340260,7 @@ "operationId": "checks/list-annotations", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#list-check-run-annotations" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/checks/runs#list-check-run-annotations" }, "parameters": [ { @@ -339370,7 +340292,7 @@ }, { "name": "per_page", - "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -339379,7 +340301,7 @@ }, { "name": "page", - "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -339500,14 +340422,14 @@ "/repos/{owner}/{repo}/check-runs/{check_run_id}/rerequest": { "post": { "summary": "Rerequest a check run", - "description": "Triggers GitHub to rerequest an existing check run, without pushing new code to a repository. This endpoint will trigger the [`check_run` webhook](https://docs.github.com/enterprise-cloud@latest//webhooks/event-payloads/#check_run) event with the action `rerequested`. When a check run is `rerequested`, the `status` of the check suite it belongs to is reset to `queued` and the `conclusion` is cleared. The check run itself is not updated. GitHub apps recieving the [`check_run` webhook](https://docs.github.com/enterprise-cloud@latest//webhooks/event-payloads/#check_run) with the `rerequested` action should then decide if the check run should be reset or updated and call the [update `check_run` endpoint](https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#update-a-check-run) to update the check_run if desired.\n\nFor more information about how to re-run GitHub Actions jobs, see \"[Re-run a job from a workflow run](https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#re-run-a-job-from-a-workflow-run)\".", + "description": "Triggers GitHub to rerequest an existing check run, without pushing new code to a repository. This endpoint will trigger the [`check_run` webhook](https://docs.github.com/enterprise-cloud@latest/webhooks/event-payloads/#check_run) event with the action `rerequested`. When a check run is `rerequested`, the `status` of the check suite it belongs to is reset to `queued` and the `conclusion` is cleared. The check run itself is not updated. GitHub apps recieving the [`check_run` webhook](https://docs.github.com/enterprise-cloud@latest/webhooks/event-payloads/#check_run) with the `rerequested` action should then decide if the check run should be reset or updated and call the [update `check_run` endpoint](https://docs.github.com/enterprise-cloud@latest/rest/checks/runs#update-a-check-run) to update the check_run if desired.\n\nFor more information about how to re-run GitHub Actions jobs, see \"[Re-run a job from a workflow run](https://docs.github.com/enterprise-cloud@latest/rest/actions/workflow-runs#re-run-a-job-from-a-workflow-run)\".", "tags": [ "checks" ], "operationId": "checks/rerequest-run", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#rerequest-a-check-run" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/checks/runs#rerequest-a-check-run" }, "parameters": [ { @@ -339648,14 +340570,14 @@ "/repos/{owner}/{repo}/check-suites": { "post": { "summary": "Create a check suite", - "description": "Creates a check suite manually. By default, check suites are automatically created when you create a [check run](https://docs.github.com/enterprise-cloud@latest//rest/checks/runs). You only need to use this endpoint for manually creating check suites when you've disabled automatic creation using \"[Update repository preferences for check suites](https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#update-repository-preferences-for-check-suites)\".\n\n> [!NOTE]\n> The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`.\n\nOAuth apps and personal access tokens (classic) cannot use this endpoint.", + "description": "Creates a check suite manually. By default, check suites are automatically created when you create a [check run](https://docs.github.com/enterprise-cloud@latest/rest/checks/runs). You only need to use this endpoint for manually creating check suites when you've disabled automatic creation using \"[Update repository preferences for check suites](https://docs.github.com/enterprise-cloud@latest/rest/checks/suites#update-repository-preferences-for-check-suites)\".\n\n> [!NOTE]\n> The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`.\n\nOAuth apps and personal access tokens (classic) cannot use this endpoint.", "tags": [ "checks" ], "operationId": "checks/create-suite", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#create-a-check-suite" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/checks/suites#create-a-check-suite" }, "parameters": [ { @@ -343072,14 +343994,14 @@ "/repos/{owner}/{repo}/check-suites/preferences": { "patch": { "summary": "Update repository preferences for check suites", - "description": "Changes the default automatic flow when creating check suites. By default, a check suite is automatically created each time code is pushed to a repository. When you disable the automatic creation of check suites, you can manually [Create a check suite](https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#create-a-check-suite).\nYou must have admin permissions in the repository to set preferences for check suites.", + "description": "Changes the default automatic flow when creating check suites. By default, a check suite is automatically created each time code is pushed to a repository. When you disable the automatic creation of check suites, you can manually [Create a check suite](https://docs.github.com/enterprise-cloud@latest/rest/checks/suites#create-a-check-suite).\nYou must have admin permissions in the repository to set preferences for check suites.", "tags": [ "checks" ], "operationId": "checks/set-suites-preferences", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#update-repository-preferences-for-check-suites" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/checks/suites#update-repository-preferences-for-check-suites" }, "parameters": [ { @@ -344218,7 +345140,7 @@ "operationId": "checks/get-suite", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#get-a-check-suite" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/checks/suites#get-a-check-suite" }, "parameters": [ { @@ -345947,7 +346869,7 @@ "operationId": "checks/list-for-suite", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#list-check-runs-in-a-check-suite" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/checks/runs#list-check-runs-in-a-check-suite" }, "parameters": [ { @@ -346016,7 +346938,7 @@ }, { "name": "per_page", - "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -346025,7 +346947,7 @@ }, { "name": "page", - "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -347120,14 +348042,14 @@ "/repos/{owner}/{repo}/check-suites/{check_suite_id}/rerequest": { "post": { "summary": "Rerequest a check suite", - "description": "Triggers GitHub to rerequest an existing check suite, without pushing new code to a repository. This endpoint will trigger the [`check_suite` webhook](https://docs.github.com/enterprise-cloud@latest//webhooks/event-payloads/#check_suite) event with the action `rerequested`. When a check suite is `rerequested`, its `status` is reset to `queued` and the `conclusion` is cleared.", + "description": "Triggers GitHub to rerequest an existing check suite, without pushing new code to a repository. This endpoint will trigger the [`check_suite` webhook](https://docs.github.com/enterprise-cloud@latest/webhooks/event-payloads/#check_suite) event with the action `rerequested`. When a check suite is `rerequested`, its `status` is reset to `queued` and the `conclusion` is cleared.", "tags": [ "checks" ], "operationId": "checks/rerequest-suite", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#rerequest-a-check-suite" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/checks/suites#rerequest-a-check-suite" }, "parameters": [ { @@ -347197,7 +348119,7 @@ "operationId": "code-scanning/list-alerts-for-repo", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#list-code-scanning-alerts-for-a-repository" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/code-scanning/code-scanning#list-code-scanning-alerts-for-a-repository" }, "parameters": [ { @@ -347241,7 +348163,7 @@ }, { "name": "page", - "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -347250,7 +348172,7 @@ }, { "name": "per_page", - "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -347292,7 +348214,7 @@ }, { "name": "before", - "description": "A cursor, as given in the [Link header](https://docs.github.com/enterprise-cloud@latest//rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for results before this cursor. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "A cursor, as given in the [Link header](https://docs.github.com/enterprise-cloud@latest/rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for results before this cursor. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "required": false, "schema": { @@ -347301,7 +348223,7 @@ }, { "name": "after", - "description": "A cursor, as given in the [Link header](https://docs.github.com/enterprise-cloud@latest//rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for results after this cursor. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "A cursor, as given in the [Link header](https://docs.github.com/enterprise-cloud@latest/rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for results after this cursor. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "required": false, "schema": { @@ -348231,7 +349153,7 @@ "operationId": "code-scanning/get-alert", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#get-a-code-scanning-alert" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/code-scanning/code-scanning#get-a-code-scanning-alert" }, "parameters": [ { @@ -349078,7 +350000,7 @@ ], "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#update-a-code-scanning-alert" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/code-scanning/code-scanning#update-a-code-scanning-alert" }, "parameters": [ { @@ -350053,7 +350975,7 @@ "operationId": "code-scanning/get-autofix", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#get-the-status-of-an-autofix-for-a-code-scanning-alert" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/code-scanning/code-scanning#get-the-status-of-an-autofix-for-a-code-scanning-alert" }, "parameters": [ { @@ -350259,7 +351181,7 @@ "operationId": "code-scanning/create-autofix", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#create-an-autofix-for-a-code-scanning-alert" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/code-scanning/code-scanning#create-an-autofix-for-a-code-scanning-alert" }, "parameters": [ { @@ -350517,7 +351439,7 @@ "operationId": "code-scanning/commit-autofix", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#commit-an-autofix-for-a-code-scanning-alert" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/code-scanning/code-scanning#commit-an-autofix-for-a-code-scanning-alert" }, "parameters": [ { @@ -350739,7 +351661,7 @@ "operationId": "code-scanning/list-alert-instances", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#list-instances-of-a-code-scanning-alert" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/code-scanning/code-scanning#list-instances-of-a-code-scanning-alert" }, "parameters": [ { @@ -350773,7 +351695,7 @@ }, { "name": "page", - "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -350782,7 +351704,7 @@ }, { "name": "per_page", - "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -351040,7 +351962,7 @@ ], "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#list-code-scanning-analyses-for-a-repository" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/code-scanning/code-scanning#list-code-scanning-analyses-for-a-repository" }, "parameters": [ { @@ -351084,7 +352006,7 @@ }, { "name": "page", - "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -351093,7 +352015,7 @@ }, { "name": "per_page", - "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -351406,14 +352328,14 @@ "/repos/{owner}/{repo}/code-scanning/analyses/{analysis_id}": { "get": { "summary": "Get a code scanning analysis for a repository", - "description": "Gets a specified code scanning analysis for a repository.\n\nThe default JSON response contains fields that describe the analysis.\nThis includes the Git reference and commit SHA to which the analysis relates,\nthe datetime of the analysis, the name of the code scanning tool,\nand the number of alerts.\n\nThe `rules_count` field in the default response give the number of rules\nthat were run in the analysis.\nFor very old analyses this data is not available,\nand `0` is returned in this field.\n\nThis endpoint supports the following custom media types. For more information, see \"[Media types](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/getting-started-with-the-rest-api#media-types).\"\n\n- **`application/sarif+json`**: Instead of returning a summary of the analysis, this endpoint returns a subset of the analysis data that was uploaded. The data is formatted as [SARIF version 2.1.0](https://docs.oasis-open.org/sarif/sarif/v2.1.0/cs01/sarif-v2.1.0-cs01.html). It also returns additional data such as the `github/alertNumber` and `github/alertUrl` properties.\n\nOAuth app tokens and personal access tokens (classic) need the `security_events` scope to use this endpoint with private or public repositories, or the `public_repo` scope to use this endpoint with only public repositories.", + "description": "Gets a specified code scanning analysis for a repository.\n\nThe default JSON response contains fields that describe the analysis.\nThis includes the Git reference and commit SHA to which the analysis relates,\nthe datetime of the analysis, the name of the code scanning tool,\nand the number of alerts.\n\nThe `rules_count` field in the default response give the number of rules\nthat were run in the analysis.\nFor very old analyses this data is not available,\nand `0` is returned in this field.\n\nThis endpoint supports the following custom media types. For more information, see \"[Media types](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types).\"\n\n- **`application/sarif+json`**: Instead of returning a summary of the analysis, this endpoint returns a subset of the analysis data that was uploaded. The data is formatted as [SARIF version 2.1.0](https://docs.oasis-open.org/sarif/sarif/v2.1.0/cs01/sarif-v2.1.0-cs01.html). It also returns additional data such as the `github/alertNumber` and `github/alertUrl` properties.\n\nOAuth app tokens and personal access tokens (classic) need the `security_events` scope to use this endpoint with private or public repositories, or the `public_repo` scope to use this endpoint with only public repositories.", "operationId": "code-scanning/get-analysis", "tags": [ "code-scanning" ], "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#get-a-code-scanning-analysis-for-a-repository" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/code-scanning/code-scanning#get-a-code-scanning-analysis-for-a-repository" }, "parameters": [ { @@ -351757,7 +352679,7 @@ ], "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#delete-a-code-scanning-analysis-from-a-repository" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/code-scanning/code-scanning#delete-a-code-scanning-analysis-from-a-repository" }, "parameters": [ { @@ -351992,7 +352914,7 @@ "operationId": "code-scanning/list-codeql-databases", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#list-codeql-databases-for-a-repository" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/code-scanning/code-scanning#list-codeql-databases-for-a-repository" }, "parameters": [ { @@ -352361,14 +353283,14 @@ "/repos/{owner}/{repo}/code-scanning/codeql/databases/{language}": { "get": { "summary": "Get a CodeQL database for a repository", - "description": "Gets a CodeQL database for a language in a repository.\n\nBy default this endpoint returns JSON metadata about the CodeQL database. To\ndownload the CodeQL database binary content, set the `Accept` header of the request\nto [`application/zip`](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/getting-started-with-the-rest-api#media-types), and make sure\nyour HTTP client is configured to follow redirects or use the `Location` header\nto make a second request to get the redirect URL.\n\nOAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint with private or public repositories, or the `public_repo` scope to use this endpoint with only public repositories.", + "description": "Gets a CodeQL database for a language in a repository.\n\nBy default this endpoint returns JSON metadata about the CodeQL database. To\ndownload the CodeQL database binary content, set the `Accept` header of the request\nto [`application/zip`](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types), and make sure\nyour HTTP client is configured to follow redirects or use the `Location` header\nto make a second request to get the redirect URL.\n\nOAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint with private or public repositories, or the `public_repo` scope to use this endpoint with only public repositories.", "tags": [ "code-scanning" ], "operationId": "code-scanning/get-codeql-database", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#get-a-codeql-database-for-a-repository" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/code-scanning/code-scanning#get-a-codeql-database-for-a-repository" }, "parameters": [ { @@ -352718,7 +353640,7 @@ "operationId": "code-scanning/delete-codeql-database", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#delete-a-codeql-database" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/code-scanning/code-scanning#delete-a-codeql-database" }, "parameters": [ { @@ -352839,14 +353761,14 @@ "/repos/{owner}/{repo}/code-scanning/codeql/variant-analyses": { "post": { "summary": "Create a CodeQL variant analysis", - "description": "Creates a new CodeQL variant analysis, which will run a CodeQL query against one or more repositories.\n\nGet started by learning more about [running CodeQL queries at scale with Multi-Repository Variant Analysis](https://docs.github.com/enterprise-cloud@latest//code-security/codeql-for-vs-code/getting-started-with-codeql-for-vs-code/running-codeql-queries-at-scale-with-multi-repository-variant-analysis).\n\nUse the `owner` and `repo` parameters in the URL to specify the controller repository that\nwill be used for running GitHub Actions workflows and storing the results of the CodeQL variant analysis.\n\nOAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint.", + "description": "Creates a new CodeQL variant analysis, which will run a CodeQL query against one or more repositories.\n\nGet started by learning more about [running CodeQL queries at scale with Multi-Repository Variant Analysis](https://docs.github.com/enterprise-cloud@latest/code-security/codeql-for-vs-code/getting-started-with-codeql-for-vs-code/running-codeql-queries-at-scale-with-multi-repository-variant-analysis).\n\nUse the `owner` and `repo` parameters in the URL to specify the controller repository that\nwill be used for running GitHub Actions workflows and storing the results of the CodeQL variant analysis.\n\nOAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint.", "tags": [ "code-scanning" ], "operationId": "code-scanning/create-variant-analysis", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#create-a-codeql-variant-analysis" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/code-scanning/code-scanning#create-a-codeql-variant-analysis" }, "parameters": [ { @@ -354531,7 +355453,7 @@ "operationId": "code-scanning/get-variant-analysis", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#get-the-summary-of-a-codeql-variant-analysis" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/code-scanning/code-scanning#get-the-summary-of-a-codeql-variant-analysis" }, "parameters": [ { @@ -355732,7 +356654,7 @@ "operationId": "code-scanning/get-variant-analysis-repo-task", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#get-the-analysis-status-of-a-repository-in-a-codeql-variant-analysis" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/code-scanning/code-scanning#get-the-analysis-status-of-a-repository-in-a-codeql-variant-analysis" }, "parameters": [ { @@ -356400,7 +357322,7 @@ "operationId": "code-scanning/get-default-setup", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#get-a-code-scanning-default-setup-configuration" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/code-scanning/code-scanning#get-a-code-scanning-default-setup-configuration" }, "parameters": [ { @@ -356615,7 +357537,7 @@ "operationId": "code-scanning/update-default-setup", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#update-a-code-scanning-default-setup-configuration" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/code-scanning/code-scanning#update-a-code-scanning-default-setup-configuration" }, "parameters": [ { @@ -356901,14 +357823,14 @@ "/repos/{owner}/{repo}/code-scanning/sarifs": { "post": { "summary": "Upload an analysis as SARIF data", - "description": "Uploads SARIF data containing the results of a code scanning analysis to make the results available in a repository. For troubleshooting information, see \"[Troubleshooting SARIF uploads](https://docs.github.com/enterprise-cloud@latest//code-security/code-scanning/troubleshooting-sarif).\"\n\nThere are two places where you can upload code scanning results.\n - If you upload to a pull request, for example `--ref refs/pull/42/merge` or `--ref refs/pull/42/head`, then the results appear as alerts in a pull request check. For more information, see \"[Triaging code scanning alerts in pull requests](/code-security/secure-coding/triaging-code-scanning-alerts-in-pull-requests).\"\n - If you upload to a branch, for example `--ref refs/heads/my-branch`, then the results appear in the **Security** tab for your repository. For more information, see \"[Managing code scanning alerts for your repository](/code-security/secure-coding/managing-code-scanning-alerts-for-your-repository#viewing-the-alerts-for-a-repository).\"\n\nYou must compress the SARIF-formatted analysis data that you want to upload, using `gzip`, and then encode it as a Base64 format string. For example:\n\n```\ngzip -c analysis-data.sarif | base64 -w0\n```\n\nSARIF upload supports a maximum number of entries per the following data objects, and an analysis will be rejected if any of these objects is above its maximum value. For some objects, there are additional values over which the entries will be ignored while keeping the most important entries whenever applicable.\nTo get the most out of your analysis when it includes data above the supported limits, try to optimize the analysis configuration. For example, for the CodeQL tool, identify and remove the most noisy queries. For more information, see \"[SARIF results exceed one or more limits](https://docs.github.com/enterprise-cloud@latest//code-security/code-scanning/troubleshooting-sarif/results-exceed-limit).\"\n\n\n| **SARIF data** | **Maximum values** | **Additional limits** |\n|----------------------------------|:------------------:|----------------------------------------------------------------------------------|\n| Runs per file | 20 | |\n| Results per run | 25,000 | Only the top 5,000 results will be included, prioritized by severity. |\n| Rules per run | 25,000 | |\n| Tool extensions per run | 100 | |\n| Thread Flow Locations per result | 10,000 | Only the top 1,000 Thread Flow Locations will be included, using prioritization. |\n| Location per result\t | 1,000 | Only 100 locations will be included. |\n| Tags per rule\t | 20 | Only 10 tags will be included. |\n\n\nThe `202 Accepted` response includes an `id` value.\nYou can use this ID to check the status of the upload by using it in the `/sarifs/{sarif_id}` endpoint.\nFor more information, see \"[Get information about a SARIF upload](/rest/code-scanning/code-scanning#get-information-about-a-sarif-upload).\"\n\nOAuth app tokens and personal access tokens (classic) need the `security_events` scope to use this endpoint with private or public repositories, or the `public_repo` scope to use this endpoint with only public repositories.\n\nThis endpoint is limited to 1,000 requests per hour for each user or app installation calling it.", + "description": "Uploads SARIF data containing the results of a code scanning analysis to make the results available in a repository. For troubleshooting information, see \"[Troubleshooting SARIF uploads](https://docs.github.com/enterprise-cloud@latest/code-security/code-scanning/troubleshooting-sarif).\"\n\nThere are two places where you can upload code scanning results.\n - If you upload to a pull request, for example `--ref refs/pull/42/merge` or `--ref refs/pull/42/head`, then the results appear as alerts in a pull request check. For more information, see \"[Triaging code scanning alerts in pull requests](/code-security/secure-coding/triaging-code-scanning-alerts-in-pull-requests).\"\n - If you upload to a branch, for example `--ref refs/heads/my-branch`, then the results appear in the **Security** tab for your repository. For more information, see \"[Managing code scanning alerts for your repository](/code-security/secure-coding/managing-code-scanning-alerts-for-your-repository#viewing-the-alerts-for-a-repository).\"\n\nYou must compress the SARIF-formatted analysis data that you want to upload, using `gzip`, and then encode it as a Base64 format string. For example:\n\n```\ngzip -c analysis-data.sarif | base64 -w0\n```\n\nSARIF upload supports a maximum number of entries per the following data objects, and an analysis will be rejected if any of these objects is above its maximum value. For some objects, there are additional values over which the entries will be ignored while keeping the most important entries whenever applicable.\nTo get the most out of your analysis when it includes data above the supported limits, try to optimize the analysis configuration. For example, for the CodeQL tool, identify and remove the most noisy queries. For more information, see \"[SARIF results exceed one or more limits](https://docs.github.com/enterprise-cloud@latest/code-security/code-scanning/troubleshooting-sarif/results-exceed-limit).\"\n\n\n| **SARIF data** | **Maximum values** | **Additional limits** |\n|----------------------------------|:------------------:|----------------------------------------------------------------------------------|\n| Runs per file | 20 | |\n| Results per run | 25,000 | Only the top 5,000 results will be included, prioritized by severity. |\n| Rules per run | 25,000 | |\n| Tool extensions per run | 100 | |\n| Thread Flow Locations per result | 10,000 | Only the top 1,000 Thread Flow Locations will be included, using prioritization. |\n| Location per result\t | 1,000 | Only 100 locations will be included. |\n| Tags per rule\t | 20 | Only 10 tags will be included. |\n\n\nThe `202 Accepted` response includes an `id` value.\nYou can use this ID to check the status of the upload by using it in the `/sarifs/{sarif_id}` endpoint.\nFor more information, see \"[Get information about a SARIF upload](/rest/code-scanning/code-scanning#get-information-about-a-sarif-upload).\"\n\nOAuth app tokens and personal access tokens (classic) need the `security_events` scope to use this endpoint with private or public repositories, or the `public_repo` scope to use this endpoint with only public repositories.\n\nThis endpoint is limited to 1,000 requests per hour for each user or app installation calling it.", "operationId": "code-scanning/upload-sarif", "tags": [ "code-scanning" ], "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#upload-an-analysis-as-sarif-data" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/code-scanning/code-scanning#upload-an-analysis-as-sarif-data" }, "parameters": [ { @@ -356951,7 +357873,7 @@ "example": "refs/heads/main" }, "sarif": { - "description": "A Base64 string representing the SARIF file to upload. You must first compress your SARIF file using [`gzip`](http://www.gnu.org/software/gzip/manual/gzip.html) and then translate the contents of the file into a Base64 encoding string. For more information, see \"[SARIF support for code scanning](https://docs.github.com/enterprise-cloud@latest//code-security/secure-coding/sarif-support-for-code-scanning).\"", + "description": "A Base64 string representing the SARIF file to upload. You must first compress your SARIF file using [`gzip`](http://www.gnu.org/software/gzip/manual/gzip.html) and then translate the contents of the file into a Base64 encoding string. For more information, see \"[SARIF support for code scanning](https://docs.github.com/enterprise-cloud@latest/code-security/secure-coding/sarif-support-for-code-scanning).\"", "type": "string" }, "checkout_uri": { @@ -357124,7 +358046,7 @@ ], "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#get-information-about-a-sarif-upload" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/code-scanning/code-scanning#get-information-about-a-sarif-upload" }, "parameters": [ { @@ -357271,7 +358193,7 @@ "operationId": "code-security/get-configuration-for-repository", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#get-the-code-security-configuration-associated-with-a-repository" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/code-security/configurations#get-the-code-security-configuration-associated-with-a-repository" }, "parameters": [ { @@ -357723,14 +358645,14 @@ "/repos/{owner}/{repo}/codeowners/errors": { "get": { "summary": "List CODEOWNERS errors", - "description": "List any syntax errors that are detected in the CODEOWNERS\nfile.\n\nFor more information about the correct CODEOWNERS syntax,\nsee \"[About code owners](https://docs.github.com/enterprise-cloud@latest//repositories/managing-your-repositorys-settings-and-features/customizing-your-repository/about-code-owners).\"", + "description": "List any syntax errors that are detected in the CODEOWNERS\nfile.\n\nFor more information about the correct CODEOWNERS syntax,\nsee \"[About code owners](https://docs.github.com/enterprise-cloud@latest/repositories/managing-your-repositorys-settings-and-features/customizing-your-repository/about-code-owners).\"", "tags": [ "repos" ], "operationId": "repos/codeowners-errors", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-codeowners-errors" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#list-codeowners-errors" }, "parameters": [ { @@ -357879,12 +358801,12 @@ "operationId": "codespaces/list-in-repository-for-authenticated-user", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#list-codespaces-in-a-repository-for-the-authenticated-user" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/codespaces/codespaces#list-codespaces-in-a-repository-for-the-authenticated-user" }, "parameters": [ { "name": "per_page", - "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -357893,7 +358815,7 @@ }, { "name": "page", - "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -359672,7 +360594,7 @@ "operationId": "codespaces/create-with-repo-for-authenticated-user", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#create-a-codespace-in-a-repository" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/codespaces/codespaces#create-a-codespace-in-a-repository" }, "parameters": [ { @@ -362888,12 +363810,12 @@ "operationId": "codespaces/list-devcontainers-in-repository-for-authenticated-user", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#list-devcontainer-configurations-in-a-repository-for-the-authenticated-user" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/codespaces/codespaces#list-devcontainer-configurations-in-a-repository-for-the-authenticated-user" }, "parameters": [ { "name": "per_page", - "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -362902,7 +363824,7 @@ }, { "name": "page", - "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -363174,7 +364096,7 @@ "operationId": "codespaces/repo-machines-for-authenticated-user", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/codespaces/machines#list-available-machine-types-for-a-repository" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/codespaces/machines#list-available-machine-types-for-a-repository" }, "parameters": [ { @@ -363453,7 +364375,7 @@ "operationId": "codespaces/pre-flight-with-repo-for-authenticated-user", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#get-default-attributes-for-a-codespace" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/codespaces/codespaces#get-default-attributes-for-a-codespace" }, "parameters": [ { @@ -363773,7 +364695,7 @@ "operationId": "codespaces/check-permissions-for-devcontainer", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#check-if-permissions-defined-by-a-devcontainer-have-been-accepted-by-the-authenticated-user" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/codespaces/codespaces#check-if-permissions-defined-by-a-devcontainer-have-been-accepted-by-the-authenticated-user" }, "parameters": [ { @@ -364032,7 +364954,7 @@ "operationId": "codespaces/list-repo-secrets", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#list-repository-secrets" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/codespaces/repository-secrets#list-repository-secrets" }, "parameters": [ { @@ -364055,7 +364977,7 @@ }, { "name": "per_page", - "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -364064,7 +364986,7 @@ }, { "name": "page", - "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -364168,7 +365090,7 @@ "operationId": "codespaces/get-repo-public-key", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#get-a-repository-public-key" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/codespaces/repository-secrets#get-a-repository-public-key" }, "parameters": [ { @@ -364262,7 +365184,7 @@ "operationId": "codespaces/get-repo-secret", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#get-a-repository-secret" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/codespaces/repository-secrets#get-a-repository-secret" }, "parameters": [ { @@ -364346,14 +365268,14 @@ }, "put": { "summary": "Create or update a repository secret", - "description": "Creates or updates a repository development environment secret with an encrypted value. Encrypt your secret using\n[LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages). For more information, see \"[Encrypting secrets for the REST API](https://docs.github.com/enterprise-cloud@latest//rest/guides/encrypting-secrets-for-the-rest-api).\"\n\nOAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. The associated user must be a repository admin.", + "description": "Creates or updates a repository development environment secret with an encrypted value. Encrypt your secret using\n[LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages). For more information, see \"[Encrypting secrets for the REST API](https://docs.github.com/enterprise-cloud@latest/rest/guides/encrypting-secrets-for-the-rest-api).\"\n\nOAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. The associated user must be a repository admin.", "tags": [ "codespaces" ], "operationId": "codespaces/create-or-update-repo-secret", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#create-or-update-a-repository-secret" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/codespaces/repository-secrets#create-or-update-a-repository-secret" }, "parameters": [ { @@ -364393,7 +365315,7 @@ "properties": { "encrypted_value": { "type": "string", - "description": "Value for your secret, encrypted with [LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages) using the public key retrieved from the [Get a repository public key](https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#get-a-repository-public-key) endpoint.", + "description": "Value for your secret, encrypted with [LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages) using the public key retrieved from the [Get a repository public key](https://docs.github.com/enterprise-cloud@latest/rest/codespaces/repository-secrets#get-a-repository-public-key) endpoint.", "pattern": "^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=|[A-Za-z0-9+/]{4})$" }, "key_id": { @@ -364453,7 +365375,7 @@ "operationId": "codespaces/delete-repo-secret", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#delete-a-repository-secret" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/codespaces/repository-secrets#delete-a-repository-secret" }, "parameters": [ { @@ -364507,7 +365429,7 @@ "operationId": "repos/list-collaborators", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#list-repository-collaborators" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/collaborators/collaborators#list-repository-collaborators" }, "parameters": [ { @@ -364561,7 +365483,7 @@ }, { "name": "per_page", - "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -364570,7 +365492,7 @@ }, { "name": "page", - "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -364826,7 +365748,7 @@ "operationId": "repos/check-collaborator", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#check-if-a-user-is-a-repository-collaborator" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/collaborators/collaborators#check-if-a-user-is-a-repository-collaborator" }, "parameters": [ { @@ -364874,14 +365796,14 @@ }, "put": { "summary": "Add a repository collaborator", - "description": "Add a user to a repository with a specified level of access. If the repository is owned by an organization, this API does not add the user to the organization - a user that has repository access without being an organization member is called an \"outside collaborator\" (if they are not an Enterprise Managed User) or a \"repository collaborator\" if they are an Enterprise Managed User. These users are exempt from some organization policies - see \"[Adding outside collaborators to repositories](https://docs.github.com/enterprise-cloud@latest//organizations/managing-user-access-to-your-organizations-repositories/managing-outside-collaborators/adding-outside-collaborators-to-repositories-in-your-organization)\" to learn more about these collaborator types.\n\nThis endpoint triggers [notifications](https://docs.github.com/enterprise-cloud@latest//github/managing-subscriptions-and-notifications-on-github/about-notifications).\n\nAdding an outside collaborator may be restricted by enterprise and organization administrators. For more information, see \"[Enforcing repository management policies in your enterprise](https://docs.github.com/enterprise-cloud@latest//admin/policies/enforcing-policies-for-your-enterprise/enforcing-repository-management-policies-in-your-enterprise#enforcing-a-policy-for-inviting-outside-collaborators-to-repositories)\" and \"[Setting permissions for adding outside collaborators](https://docs.github.com/enterprise-cloud@latest//organizations/managing-organization-settings/setting-permissions-for-adding-outside-collaborators)\" for organization settings.\n\nFor more information on permission levels, see \"[Repository permission levels for an organization](https://docs.github.com/enterprise-cloud@latest//github/setting-up-and-managing-organizations-and-teams/repository-permission-levels-for-an-organization#permission-levels-for-repositories-owned-by-an-organization)\". There are restrictions on which permissions can be granted to organization members when an organization base role is in place. In this case, the role being given must be equal to or higher than the org base permission. Otherwise, the request will fail with:\n\n```\nCannot assign {member} permission of {role name}\n```\n\nNote that, if you choose not to pass any parameters, you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP method](https://docs.github.com/enterprise-cloud@latest//rest/guides/getting-started-with-the-rest-api#http-method).\"\n\nThe invitee will receive a notification that they have been invited to the repository, which they must accept or decline. They may do this via the notifications page, the email they receive, or by using the [API](https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations).\n\nFor Enterprise Managed Users, this endpoint does not send invitations - these users are automatically added to organizations and repositories. Enterprise Managed Users can only be added to organizations and repositories within their enterprise.\n\n**Updating an existing collaborator's permission level**\n\nThe endpoint can also be used to change the permissions of an existing collaborator without first removing and re-adding the collaborator. To change the permissions, use the same endpoint and pass a different `permission` parameter. The response will be a `204`, with no other indication that the permission level changed.\n\n**Rate limits**\n\nYou are limited to sending 50 invitations to a repository per 24 hour period. Note there is no limit if you are inviting organization members to an organization repository.", + "description": "Add a user to a repository with a specified level of access. If the repository is owned by an organization, this API does not add the user to the organization - a user that has repository access without being an organization member is called an \"outside collaborator\" (if they are not an Enterprise Managed User) or a \"repository collaborator\" if they are an Enterprise Managed User. These users are exempt from some organization policies - see \"[Adding outside collaborators to repositories](https://docs.github.com/enterprise-cloud@latest/organizations/managing-user-access-to-your-organizations-repositories/managing-outside-collaborators/adding-outside-collaborators-to-repositories-in-your-organization)\" to learn more about these collaborator types.\n\nThis endpoint triggers [notifications](https://docs.github.com/enterprise-cloud@latest/github/managing-subscriptions-and-notifications-on-github/about-notifications).\n\nAdding an outside collaborator may be restricted by enterprise and organization administrators. For more information, see \"[Enforcing repository management policies in your enterprise](https://docs.github.com/enterprise-cloud@latest/admin/policies/enforcing-policies-for-your-enterprise/enforcing-repository-management-policies-in-your-enterprise#enforcing-a-policy-for-inviting-outside-collaborators-to-repositories)\" and \"[Setting permissions for adding outside collaborators](https://docs.github.com/enterprise-cloud@latest/organizations/managing-organization-settings/setting-permissions-for-adding-outside-collaborators)\" for organization settings.\n\nFor more information on permission levels, see \"[Repository permission levels for an organization](https://docs.github.com/enterprise-cloud@latest/github/setting-up-and-managing-organizations-and-teams/repository-permission-levels-for-an-organization#permission-levels-for-repositories-owned-by-an-organization)\". There are restrictions on which permissions can be granted to organization members when an organization base role is in place. In this case, the role being given must be equal to or higher than the org base permission. Otherwise, the request will fail with:\n\n```\nCannot assign {member} permission of {role name}\n```\n\nNote that, if you choose not to pass any parameters, you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP method](https://docs.github.com/enterprise-cloud@latest/rest/guides/getting-started-with-the-rest-api#http-method).\"\n\nThe invitee will receive a notification that they have been invited to the repository, which they must accept or decline. They may do this via the notifications page, the email they receive, or by using the [API](https://docs.github.com/enterprise-cloud@latest/rest/collaborators/invitations).\n\nFor Enterprise Managed Users, this endpoint does not send invitations - these users are automatically added to organizations and repositories. Enterprise Managed Users can only be added to organizations and repositories within their enterprise.\n\n**Updating an existing collaborator's permission level**\n\nThe endpoint can also be used to change the permissions of an existing collaborator without first removing and re-adding the collaborator. To change the permissions, use the same endpoint and pass a different `permission` parameter. The response will be a `204`, with no other indication that the permission level changed.\n\n**Rate limits**\n\nYou are limited to sending 50 invitations to a repository per 24 hour period. Note there is no limit if you are inviting organization members to an organization repository.", "tags": [ "repos" ], "operationId": "repos/add-collaborator", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#add-a-repository-collaborator" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/collaborators/collaborators#add-a-repository-collaborator" }, "parameters": [ { @@ -366249,14 +367171,14 @@ }, "delete": { "summary": "Remove a repository collaborator", - "description": "Removes a collaborator from a repository.\n\nTo use this endpoint, the authenticated user must either be an administrator of the repository or target themselves for removal.\n\nThis endpoint also:\n- Cancels any outstanding invitations sent by the collaborator\n- Unassigns the user from any issues\n- Removes access to organization projects if the user is not an organization member and is not a collaborator on any other organization repositories.\n- Unstars the repository\n- Updates access permissions to packages\n\nRemoving a user as a collaborator has the following effects on forks:\n - If the user had access to a fork through their membership to this repository, the user will also be removed from the fork.\n - If the user had their own fork of the repository, the fork will be deleted.\n - If the user still has read access to the repository, open pull requests by this user from a fork will be denied.\n\n> [!NOTE]\n> A user can still have access to the repository through organization permissions like base repository permissions.\n\nAlthough the API responds immediately, the additional permission updates might take some extra time to complete in the background.\n\nFor more information on fork permissions, see \"[About permissions and visibility of forks](https://docs.github.com/enterprise-cloud@latest//pull-requests/collaborating-with-pull-requests/working-with-forks/about-permissions-and-visibility-of-forks)\".", + "description": "Removes a collaborator from a repository.\n\nTo use this endpoint, the authenticated user must either be an administrator of the repository or target themselves for removal.\n\nThis endpoint also:\n- Cancels any outstanding invitations sent by the collaborator\n- Unassigns the user from any issues\n- Removes access to organization projects if the user is not an organization member and is not a collaborator on any other organization repositories.\n- Unstars the repository\n- Updates access permissions to packages\n\nRemoving a user as a collaborator has the following effects on forks:\n - If the user had access to a fork through their membership to this repository, the user will also be removed from the fork.\n - If the user had their own fork of the repository, the fork will be deleted.\n - If the user still has read access to the repository, open pull requests by this user from a fork will be denied.\n\n> [!NOTE]\n> A user can still have access to the repository through organization permissions like base repository permissions.\n\nAlthough the API responds immediately, the additional permission updates might take some extra time to complete in the background.\n\nFor more information on fork permissions, see \"[About permissions and visibility of forks](https://docs.github.com/enterprise-cloud@latest/pull-requests/collaborating-with-pull-requests/working-with-forks/about-permissions-and-visibility-of-forks)\".", "tags": [ "repos" ], "operationId": "repos/remove-collaborator", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#remove-a-repository-collaborator" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/collaborators/collaborators#remove-a-repository-collaborator" }, "parameters": [ { @@ -366405,7 +367327,7 @@ "operationId": "repos/get-collaborator-permission-level", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#get-repository-permissions-for-a-user" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/collaborators/collaborators#get-repository-permissions-for-a-user" }, "parameters": [ { @@ -366680,14 +367602,14 @@ "/repos/{owner}/{repo}/comments": { "get": { "summary": "List commit comments for a repository", - "description": "Lists the commit comments for a specified repository. Comments are ordered by ascending ID.\n\nThis endpoint supports the following custom media types. For more information, see \"[Media types](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/getting-started-with-the-rest-api#media-types).\"\n\n- **`application/vnd.github-commitcomment.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass any specific media type.\n- **`application/vnd.github-commitcomment.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`.\n- **`application/vnd.github-commitcomment.html+json`**: Returns HTML rendered from the body's markdown. Response will include `body_html`.\n- **`application/vnd.github-commitcomment.full+json`**: Returns raw, text, and HTML representations. Response will include `body`, `body_text`, and `body_html`.", + "description": "Lists the commit comments for a specified repository. Comments are ordered by ascending ID.\n\nThis endpoint supports the following custom media types. For more information, see \"[Media types](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types).\"\n\n- **`application/vnd.github-commitcomment.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass any specific media type.\n- **`application/vnd.github-commitcomment.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`.\n- **`application/vnd.github-commitcomment.html+json`**: Returns HTML rendered from the body's markdown. Response will include `body_html`.\n- **`application/vnd.github-commitcomment.full+json`**: Returns raw, text, and HTML representations. Response will include `body`, `body_text`, and `body_html`.", "tags": [ "repos" ], "operationId": "repos/list-commit-comments-for-repo", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#list-commit-comments-for-a-repository" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/commits/comments#list-commit-comments-for-a-repository" }, "parameters": [ { @@ -366710,7 +367632,7 @@ }, { "name": "per_page", - "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -366719,7 +367641,7 @@ }, { "name": "page", - "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -367050,14 +367972,14 @@ "/repos/{owner}/{repo}/comments/{comment_id}": { "get": { "summary": "Get a commit comment", - "description": "Gets a specified commit comment.\n\nThis endpoint supports the following custom media types. For more information, see \"[Media types](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/getting-started-with-the-rest-api#media-types).\"\n\n- **`application/vnd.github-commitcomment.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass any specific media type.\n- **`application/vnd.github-commitcomment.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`.\n- **`application/vnd.github-commitcomment.html+json`**: Returns HTML rendered from the body's markdown. Response will include `body_html`.\n- **`application/vnd.github-commitcomment.full+json`**: Returns raw, text, and HTML representations. Response will include `body`, `body_text`, and `body_html`.", + "description": "Gets a specified commit comment.\n\nThis endpoint supports the following custom media types. For more information, see \"[Media types](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types).\"\n\n- **`application/vnd.github-commitcomment.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass any specific media type.\n- **`application/vnd.github-commitcomment.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`.\n- **`application/vnd.github-commitcomment.html+json`**: Returns HTML rendered from the body's markdown. Response will include `body_html`.\n- **`application/vnd.github-commitcomment.full+json`**: Returns raw, text, and HTML representations. Response will include `body`, `body_text`, and `body_html`.", "tags": [ "repos" ], "operationId": "repos/get-commit-comment", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#get-a-commit-comment" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/commits/comments#get-a-commit-comment" }, "parameters": [ { @@ -367423,14 +368345,14 @@ }, "patch": { "summary": "Update a commit comment", - "description": "Updates the contents of a specified commit comment.\n\nThis endpoint supports the following custom media types. For more information, see \"[Media types](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/getting-started-with-the-rest-api#media-types).\"\n\n- **`application/vnd.github-commitcomment.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass any specific media type.\n- **`application/vnd.github-commitcomment.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`.\n- **`application/vnd.github-commitcomment.html+json`**: Returns HTML rendered from the body's markdown. Response will include `body_html`.\n- **`application/vnd.github-commitcomment.full+json`**: Returns raw, text, and HTML representations. Response will include `body`, `body_text`, and `body_html`.", + "description": "Updates the contents of a specified commit comment.\n\nThis endpoint supports the following custom media types. For more information, see \"[Media types](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types).\"\n\n- **`application/vnd.github-commitcomment.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass any specific media type.\n- **`application/vnd.github-commitcomment.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`.\n- **`application/vnd.github-commitcomment.html+json`**: Returns HTML rendered from the body's markdown. Response will include `body_html`.\n- **`application/vnd.github-commitcomment.full+json`**: Returns raw, text, and HTML representations. Response will include `body`, `body_text`, and `body_html`.", "tags": [ "repos" ], "operationId": "repos/update-commit-comment", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#update-a-commit-comment" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/commits/comments#update-a-commit-comment" }, "parameters": [ { @@ -367829,7 +368751,7 @@ "operationId": "repos/delete-commit-comment", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#delete-a-commit-comment" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/commits/comments#delete-a-commit-comment" }, "parameters": [ { @@ -367903,14 +368825,14 @@ "/repos/{owner}/{repo}/comments/{comment_id}/reactions": { "get": { "summary": "List reactions for a commit comment", - "description": "List the reactions to a [commit comment](https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#get-a-commit-comment).", + "description": "List the reactions to a [commit comment](https://docs.github.com/enterprise-cloud@latest/rest/commits/comments#get-a-commit-comment).", "tags": [ "reactions" ], "operationId": "reactions/list-for-commit-comment", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-commit-comment" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/reactions/reactions#list-reactions-for-a-commit-comment" }, "parameters": [ { @@ -367943,7 +368865,7 @@ }, { "name": "content", - "description": "Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a commit comment.", + "description": "Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest/rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a commit comment.", "in": "query", "required": false, "schema": { @@ -367962,7 +368884,7 @@ }, { "name": "per_page", - "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -367971,7 +368893,7 @@ }, { "name": "page", - "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -368233,14 +369155,14 @@ }, "post": { "summary": "Create reaction for a commit comment", - "description": "Create a reaction to a [commit comment](https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#get-a-commit-comment). A response with an HTTP `200` status means that you already added the reaction type to this commit comment.", + "description": "Create a reaction to a [commit comment](https://docs.github.com/enterprise-cloud@latest/rest/commits/comments#get-a-commit-comment). A response with an HTTP `200` status means that you already added the reaction type to this commit comment.", "tags": [ "reactions" ], "operationId": "reactions/create-for-commit-comment", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-commit-comment" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/reactions/reactions#create-reaction-for-a-commit-comment" }, "parameters": [ { @@ -368281,7 +369203,7 @@ "properties": { "content": { "type": "string", - "description": "The [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions) to add to the commit comment.", + "description": "The [reaction type](https://docs.github.com/enterprise-cloud@latest/rest/reactions/reactions#about-reactions) to add to the commit comment.", "enum": [ "+1", "-1", @@ -368798,14 +369720,14 @@ "/repos/{owner}/{repo}/comments/{comment_id}/reactions/{reaction_id}": { "delete": { "summary": "Delete a commit comment reaction", - "description": "> [!NOTE]\n> You can also specify a repository by `repository_id` using the route `DELETE /repositories/:repository_id/comments/:comment_id/reactions/:reaction_id`.\n\nDelete a reaction to a [commit comment](https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#get-a-commit-comment).", + "description": "> [!NOTE]\n> You can also specify a repository by `repository_id` using the route `DELETE /repositories/:repository_id/comments/:comment_id/reactions/:reaction_id`.\n\nDelete a reaction to a [commit comment](https://docs.github.com/enterprise-cloud@latest/rest/commits/comments#get-a-commit-comment).", "tags": [ "reactions" ], "operationId": "reactions/delete-for-commit-comment", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-a-commit-comment-reaction" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/reactions/reactions#delete-a-commit-comment-reaction" }, "parameters": [ { @@ -368869,7 +369791,7 @@ "operationId": "repos/list-commits", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#list-commits" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/commits/commits#list-commits" }, "parameters": [ { @@ -368948,7 +369870,7 @@ }, { "name": "per_page", - "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -368957,7 +369879,7 @@ }, { "name": "page", - "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -369767,14 +370689,14 @@ "/repos/{owner}/{repo}/commits/{commit_sha}/branches-where-head": { "get": { "summary": "List branches for HEAD commit", - "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/enterprise-cloud@latest//github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nReturns all branches where the given commit SHA is the HEAD, or latest commit for the branch.", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/enterprise-cloud@latest/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nReturns all branches where the given commit SHA is the HEAD, or latest commit for the branch.", "tags": [ "repos" ], "operationId": "repos/list-branches-for-head-commit", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#list-branches-for-head-commit" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/commits/commits#list-branches-for-head-commit" }, "parameters": [ { @@ -369971,14 +370893,14 @@ "/repos/{owner}/{repo}/commits/{commit_sha}/comments": { "get": { "summary": "List commit comments", - "description": "Lists the comments for a specified commit.\n\nThis endpoint supports the following custom media types. For more information, see \"[Media types](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/getting-started-with-the-rest-api#media-types).\"\n\n- **`application/vnd.github-commitcomment.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass any specific media type.\n- **`application/vnd.github-commitcomment.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`.\n- **`application/vnd.github-commitcomment.html+json`**: Returns HTML rendered from the body's markdown. Response will include `body_html`.\n- **`application/vnd.github-commitcomment.full+json`**: Returns raw, text, and HTML representations. Response will include `body`, `body_text`, and `body_html`.", + "description": "Lists the comments for a specified commit.\n\nThis endpoint supports the following custom media types. For more information, see \"[Media types](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types).\"\n\n- **`application/vnd.github-commitcomment.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass any specific media type.\n- **`application/vnd.github-commitcomment.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`.\n- **`application/vnd.github-commitcomment.html+json`**: Returns HTML rendered from the body's markdown. Response will include `body_html`.\n- **`application/vnd.github-commitcomment.full+json`**: Returns raw, text, and HTML representations. Response will include `body`, `body_text`, and `body_html`.", "tags": [ "repos" ], "operationId": "repos/list-comments-for-commit", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#list-commit-comments" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/commits/comments#list-commit-comments" }, "parameters": [ { @@ -370011,7 +370933,7 @@ }, { "name": "per_page", - "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -370020,7 +370942,7 @@ }, { "name": "page", - "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -370349,14 +371271,14 @@ }, "post": { "summary": "Create a commit comment", - "description": "Create a comment for a commit using its `:commit_sha`.\n\nThis endpoint triggers [notifications](https://docs.github.com/enterprise-cloud@latest//github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see \"[Rate limits for the API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/rate-limits-for-the-rest-api#about-secondary-rate-limits)\" and \"[Best practices for using the REST API](https://docs.github.com/enterprise-cloud@latest//rest/guides/best-practices-for-using-the-rest-api).\"\n\nThis endpoint supports the following custom media types. For more information, see \"[Media types](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/getting-started-with-the-rest-api#media-types).\"\n\n- **`application/vnd.github-commitcomment.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass any specific media type.\n- **`application/vnd.github-commitcomment.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`.\n- **`application/vnd.github-commitcomment.html+json`**: Returns HTML rendered from the body's markdown. Response will include `body_html`.\n- **`application/vnd.github-commitcomment.full+json`**: Returns raw, text, and HTML representations. Response will include `body`, `body_text`, and `body_html`.", + "description": "Create a comment for a commit using its `:commit_sha`.\n\nThis endpoint triggers [notifications](https://docs.github.com/enterprise-cloud@latest/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see \"[Rate limits for the API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/rate-limits-for-the-rest-api#about-secondary-rate-limits)\" and \"[Best practices for using the REST API](https://docs.github.com/enterprise-cloud@latest/rest/guides/best-practices-for-using-the-rest-api).\"\n\nThis endpoint supports the following custom media types. For more information, see \"[Media types](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types).\"\n\n- **`application/vnd.github-commitcomment.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass any specific media type.\n- **`application/vnd.github-commitcomment.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`.\n- **`application/vnd.github-commitcomment.html+json`**: Returns HTML rendered from the body's markdown. Response will include `body_html`.\n- **`application/vnd.github-commitcomment.full+json`**: Returns raw, text, and HTML representations. Response will include `body`, `body_text`, and `body_html`.", "tags": [ "repos" ], "operationId": "repos/create-commit-comment", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#create-a-commit-comment" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/commits/comments#create-a-commit-comment" }, "parameters": [ { @@ -370850,7 +371772,7 @@ "operationId": "repos/list-pull-requests-associated-with-commit", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#list-pull-requests-associated-with-a-commit" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/commits/commits#list-pull-requests-associated-with-a-commit" }, "parameters": [ { @@ -370883,7 +371805,7 @@ }, { "name": "per_page", - "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -370892,7 +371814,7 @@ }, { "name": "page", - "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -374693,14 +375615,14 @@ "/repos/{owner}/{repo}/commits/{ref}": { "get": { "summary": "Get a commit", - "description": "Returns the contents of a single commit reference. You must have `read` access for the repository to use this endpoint.\n\n> [!NOTE]\n> If there are more than 300 files in the commit diff and the default JSON media type is requested, the response will include pagination link headers for the remaining files, up to a limit of 3000 files. Each page contains the static commit information, and the only changes are to the file listing.\n\nThis endpoint supports the following custom media types. For more information, see \"[Media types](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/getting-started-with-the-rest-api#media-types).\" Pagination query parameters are not supported for these media types.\n\n- **`application/vnd.github.diff`**: Returns the diff of the commit. Larger diffs may time out and return a 5xx status code.\n- **`application/vnd.github.patch`**: Returns the patch of the commit. Diffs with binary data will have no `patch` property. Larger diffs may time out and return a 5xx status code.\n- **`application/vnd.github.sha`**: Returns the commit's SHA-1 hash. You can use this endpoint to check if a remote reference's SHA-1 hash is the same as your local reference's SHA-1 hash by providing the local SHA-1 reference as the ETag.\n\n**Signature verification object**\n\nThe response will include a `verification` object that describes the result of verifying the commit's signature. The following fields are included in the `verification` object:\n\n| Name | Type | Description |\n| ---- | ---- | ----------- |\n| `verified` | `boolean` | Indicates whether GitHub considers the signature in this commit to be verified. |\n| `reason` | `string` | The reason for verified value. Possible values and their meanings are enumerated in table below. |\n| `signature` | `string` | The signature that was extracted from the commit. |\n| `payload` | `string` | The value that was signed. |\n| `verified_at` | `string` | The date the signature was verified by GitHub. |\n\nThese are the possible values for `reason` in the `verification` object:\n\n| Value | Description |\n| ----- | ----------- |\n| `expired_key` | The key that made the signature is expired. |\n| `not_signing_key` | The \"signing\" flag is not among the usage flags in the GPG key that made the signature. |\n| `gpgverify_error` | There was an error communicating with the signature verification service. |\n| `gpgverify_unavailable` | The signature verification service is currently unavailable. |\n| `unsigned` | The object does not include a signature. |\n| `unknown_signature_type` | A non-PGP signature was found in the commit. |\n| `no_user` | No user was associated with the `committer` email address in the commit. |\n| `unverified_email` | The `committer` email address in the commit was associated with a user, but the email address is not verified on their account. |\n| `bad_email` | The `committer` email address in the commit is not included in the identities of the PGP key that made the signature. |\n| `unknown_key` | The key that made the signature has not been registered with any user's account. |\n| `malformed_signature` | There was an error parsing the signature. |\n| `invalid` | The signature could not be cryptographically verified using the key whose key-id was found in the signature. |\n| `valid` | None of the above errors applied, so the signature is considered to be verified. |", + "description": "Returns the contents of a single commit reference. You must have `read` access for the repository to use this endpoint.\n\n> [!NOTE]\n> If there are more than 300 files in the commit diff and the default JSON media type is requested, the response will include pagination link headers for the remaining files, up to a limit of 3000 files. Each page contains the static commit information, and the only changes are to the file listing.\n\nThis endpoint supports the following custom media types. For more information, see \"[Media types](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types).\" Pagination query parameters are not supported for these media types.\n\n- **`application/vnd.github.diff`**: Returns the diff of the commit. Larger diffs may time out and return a 5xx status code.\n- **`application/vnd.github.patch`**: Returns the patch of the commit. Diffs with binary data will have no `patch` property. Larger diffs may time out and return a 5xx status code.\n- **`application/vnd.github.sha`**: Returns the commit's SHA-1 hash. You can use this endpoint to check if a remote reference's SHA-1 hash is the same as your local reference's SHA-1 hash by providing the local SHA-1 reference as the ETag.\n\n**Signature verification object**\n\nThe response will include a `verification` object that describes the result of verifying the commit's signature. The following fields are included in the `verification` object:\n\n| Name | Type | Description |\n| ---- | ---- | ----------- |\n| `verified` | `boolean` | Indicates whether GitHub considers the signature in this commit to be verified. |\n| `reason` | `string` | The reason for verified value. Possible values and their meanings are enumerated in table below. |\n| `signature` | `string` | The signature that was extracted from the commit. |\n| `payload` | `string` | The value that was signed. |\n| `verified_at` | `string` | The date the signature was verified by GitHub. |\n\nThese are the possible values for `reason` in the `verification` object:\n\n| Value | Description |\n| ----- | ----------- |\n| `expired_key` | The key that made the signature is expired. |\n| `not_signing_key` | The \"signing\" flag is not among the usage flags in the GPG key that made the signature. |\n| `gpgverify_error` | There was an error communicating with the signature verification service. |\n| `gpgverify_unavailable` | The signature verification service is currently unavailable. |\n| `unsigned` | The object does not include a signature. |\n| `unknown_signature_type` | A non-PGP signature was found in the commit. |\n| `no_user` | No user was associated with the `committer` email address in the commit. |\n| `unverified_email` | The `committer` email address in the commit was associated with a user, but the email address is not verified on their account. |\n| `bad_email` | The `committer` email address in the commit is not included in the identities of the PGP key that made the signature. |\n| `unknown_key` | The key that made the signature has not been registered with any user's account. |\n| `malformed_signature` | There was an error parsing the signature. |\n| `invalid` | The signature could not be cryptographically verified using the key whose key-id was found in the signature. |\n| `valid` | None of the above errors applied, so the signature is considered to be verified. |", "tags": [ "repos" ], "operationId": "repos/get-commit", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#get-a-commit" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/commits/commits#get-a-commit" }, "parameters": [ { @@ -374723,7 +375645,7 @@ }, { "name": "page", - "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -374732,7 +375654,7 @@ }, { "name": "per_page", - "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -375616,14 +376538,14 @@ "/repos/{owner}/{repo}/commits/{ref}/check-runs": { "get": { "summary": "List check runs for a Git reference", - "description": "Lists check runs for a commit ref. The `ref` can be a SHA, branch name, or a tag name.\n\n> [!NOTE]\n> The endpoints to manage checks only look for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array.\n\nIf there are more than 1000 check suites on a single git reference, this endpoint will limit check runs to the 1000 most recent check suites. To iterate over all possible check runs, use the [List check suites for a Git reference](https://docs.github.com/enterprise-cloud@latest//rest/reference/checks#list-check-suites-for-a-git-reference) endpoint and provide the `check_suite_id` parameter to the [List check runs in a check suite](https://docs.github.com/enterprise-cloud@latest//rest/reference/checks#list-check-runs-in-a-check-suite) endpoint.\n\nOAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint on a private repository.", + "description": "Lists check runs for a commit ref. The `ref` can be a SHA, branch name, or a tag name.\n\n> [!NOTE]\n> The endpoints to manage checks only look for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array.\n\nIf there are more than 1000 check suites on a single git reference, this endpoint will limit check runs to the 1000 most recent check suites. To iterate over all possible check runs, use the [List check suites for a Git reference](https://docs.github.com/enterprise-cloud@latest/rest/reference/checks#list-check-suites-for-a-git-reference) endpoint and provide the `check_suite_id` parameter to the [List check runs in a check suite](https://docs.github.com/enterprise-cloud@latest/rest/reference/checks#list-check-runs-in-a-check-suite) endpoint.\n\nOAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint on a private repository.", "tags": [ "checks" ], "operationId": "checks/list-for-ref", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#list-check-runs-for-a-git-reference" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/checks/runs#list-check-runs-for-a-git-reference" }, "parameters": [ { @@ -375693,7 +376615,7 @@ }, { "name": "per_page", - "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -375702,7 +376624,7 @@ }, { "name": "page", - "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -376812,7 +377734,7 @@ "operationId": "checks/list-suites-for-ref", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#list-check-suites-for-a-git-reference" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/checks/suites#list-check-suites-for-a-git-reference" }, "parameters": [ { @@ -376864,7 +377786,7 @@ }, { "name": "per_page", - "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -376873,7 +377795,7 @@ }, { "name": "page", - "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -378485,7 +379407,7 @@ "operationId": "repos/get-combined-status-for-ref", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/commits/statuses#get-the-combined-status-for-a-specific-reference" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/commits/statuses#get-the-combined-status-for-a-specific-reference" }, "parameters": [ { @@ -378518,7 +379440,7 @@ }, { "name": "per_page", - "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -378527,7 +379449,7 @@ }, { "name": "page", - "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -379557,7 +380479,7 @@ "operationId": "repos/list-commit-statuses-for-ref", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/commits/statuses#list-commit-statuses-for-a-reference" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/commits/statuses#list-commit-statuses-for-a-reference" }, "parameters": [ { @@ -379590,7 +380512,7 @@ }, { "name": "per_page", - "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -379599,7 +380521,7 @@ }, { "name": "page", - "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -379880,14 +380802,14 @@ "/repos/{owner}/{repo}/community/profile": { "get": { "summary": "Get community profile metrics", - "description": "Returns all community profile metrics for a repository. The repository cannot be a fork.\n\nThe returned metrics include an overall health score, the repository description, the presence of documentation, the\ndetected code of conduct, the detected license, and the presence of ISSUE\\_TEMPLATE, PULL\\_REQUEST\\_TEMPLATE,\nREADME, and CONTRIBUTING files.\n\nThe `health_percentage` score is defined as a percentage of how many of\nthe recommended community health files are present. For more information, see\n\"[About community profiles for public repositories](https://docs.github.com/enterprise-cloud@latest//communities/setting-up-your-project-for-healthy-contributions/about-community-profiles-for-public-repositories).\"\n\n`content_reports_enabled` is only returned for organization-owned repositories.", + "description": "Returns all community profile metrics for a repository. The repository cannot be a fork.\n\nThe returned metrics include an overall health score, the repository description, the presence of documentation, the\ndetected code of conduct, the detected license, and the presence of ISSUE\\_TEMPLATE, PULL\\_REQUEST\\_TEMPLATE,\nREADME, and CONTRIBUTING files.\n\nThe `health_percentage` score is defined as a percentage of how many of\nthe recommended community health files are present. For more information, see\n\"[About community profiles for public repositories](https://docs.github.com/enterprise-cloud@latest/communities/setting-up-your-project-for-healthy-contributions/about-community-profiles-for-public-repositories).\"\n\n`content_reports_enabled` is only returned for organization-owned repositories.", "tags": [ "repos" ], "operationId": "repos/get-community-profile-metrics", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/metrics/community#get-community-profile-metrics" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/metrics/community#get-community-profile-metrics" }, "parameters": [ { @@ -380198,14 +381120,14 @@ "/repos/{owner}/{repo}/compare/{basehead}": { "get": { "summary": "Compare two commits", - "description": "Compares two commits against one another. You can compare refs (branches or tags) and commit SHAs in the same repository, or you can compare refs and commit SHAs that exist in different repositories within the same repository network, including fork branches. For more information about how to view a repository's network, see \"[Understanding connections between repositories](https://docs.github.com/enterprise-cloud@latest//repositories/viewing-activity-and-data-for-your-repository/understanding-connections-between-repositories).\"\n\nThis endpoint is equivalent to running the `git log BASE..HEAD` command, but it returns commits in a different order. The `git log BASE..HEAD` command returns commits in reverse chronological order, whereas the API returns commits in chronological order.\n\nThis endpoint supports the following custom media types. For more information, see \"[Media types](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/getting-started-with-the-rest-api#media-types).\"\n\n- **`application/vnd.github.diff`**: Returns the diff of the commit.\n- **`application/vnd.github.patch`**: Returns the patch of the commit. Diffs with binary data will have no `patch` property.\n\nThe API response includes details about the files that were changed between the two commits. This includes the status of the change (if a file was added, removed, modified, or renamed), and details of the change itself. For example, files with a `renamed` status have a `previous_filename` field showing the previous filename of the file, and files with a `modified` status have a `patch` field showing the changes made to the file.\n\nWhen calling this endpoint without any paging parameter (`per_page` or `page`), the returned list is limited to 250 commits, and the last commit in the list is the most recent of the entire comparison.\n\n**Working with large comparisons**\n\nTo process a response with a large number of commits, use a query parameter (`per_page` or `page`) to paginate the results. When using pagination:\n\n- The list of changed files is only shown on the first page of results, and it includes up to 300 changed files for the entire comparison.\n- The results are returned in chronological order, but the last commit in the returned list may not be the most recent one in the entire set if there are more pages of results.\n\nFor more information on working with pagination, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/guides/using-pagination-in-the-rest-api).\"\n\n**Signature verification object**\n\nThe response will include a `verification` object that describes the result of verifying the commit's signature. The `verification` object includes the following fields:\n\n| Name | Type | Description |\n| ---- | ---- | ----------- |\n| `verified` | `boolean` | Indicates whether GitHub considers the signature in this commit to be verified. |\n| `reason` | `string` | The reason for verified value. Possible values and their meanings are enumerated in table below. |\n| `signature` | `string` | The signature that was extracted from the commit. |\n| `payload` | `string` | The value that was signed. |\n| `verified_at` | `string` | The date the signature was verified by GitHub. |\n\nThese are the possible values for `reason` in the `verification` object:\n\n| Value | Description |\n| ----- | ----------- |\n| `expired_key` | The key that made the signature is expired. |\n| `not_signing_key` | The \"signing\" flag is not among the usage flags in the GPG key that made the signature. |\n| `gpgverify_error` | There was an error communicating with the signature verification service. |\n| `gpgverify_unavailable` | The signature verification service is currently unavailable. |\n| `unsigned` | The object does not include a signature. |\n| `unknown_signature_type` | A non-PGP signature was found in the commit. |\n| `no_user` | No user was associated with the `committer` email address in the commit. |\n| `unverified_email` | The `committer` email address in the commit was associated with a user, but the email address is not verified on their account. |\n| `bad_email` | The `committer` email address in the commit is not included in the identities of the PGP key that made the signature. |\n| `unknown_key` | The key that made the signature has not been registered with any user's account. |\n| `malformed_signature` | There was an error parsing the signature. |\n| `invalid` | The signature could not be cryptographically verified using the key whose key-id was found in the signature. |\n| `valid` | None of the above errors applied, so the signature is considered to be verified. |", + "description": "Compares two commits against one another. You can compare refs (branches or tags) and commit SHAs in the same repository, or you can compare refs and commit SHAs that exist in different repositories within the same repository network, including fork branches. For more information about how to view a repository's network, see \"[Understanding connections between repositories](https://docs.github.com/enterprise-cloud@latest/repositories/viewing-activity-and-data-for-your-repository/understanding-connections-between-repositories).\"\n\nThis endpoint is equivalent to running the `git log BASE..HEAD` command, but it returns commits in a different order. The `git log BASE..HEAD` command returns commits in reverse chronological order, whereas the API returns commits in chronological order.\n\nThis endpoint supports the following custom media types. For more information, see \"[Media types](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types).\"\n\n- **`application/vnd.github.diff`**: Returns the diff of the commit.\n- **`application/vnd.github.patch`**: Returns the patch of the commit. Diffs with binary data will have no `patch` property.\n\nThe API response includes details about the files that were changed between the two commits. This includes the status of the change (if a file was added, removed, modified, or renamed), and details of the change itself. For example, files with a `renamed` status have a `previous_filename` field showing the previous filename of the file, and files with a `modified` status have a `patch` field showing the changes made to the file.\n\nWhen calling this endpoint without any paging parameter (`per_page` or `page`), the returned list is limited to 250 commits, and the last commit in the list is the most recent of the entire comparison.\n\n**Working with large comparisons**\n\nTo process a response with a large number of commits, use a query parameter (`per_page` or `page`) to paginate the results. When using pagination:\n\n- The list of changed files is only shown on the first page of results, and it includes up to 300 changed files for the entire comparison.\n- The results are returned in chronological order, but the last commit in the returned list may not be the most recent one in the entire set if there are more pages of results.\n\nFor more information on working with pagination, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/guides/using-pagination-in-the-rest-api).\"\n\n**Signature verification object**\n\nThe response will include a `verification` object that describes the result of verifying the commit's signature. The `verification` object includes the following fields:\n\n| Name | Type | Description |\n| ---- | ---- | ----------- |\n| `verified` | `boolean` | Indicates whether GitHub considers the signature in this commit to be verified. |\n| `reason` | `string` | The reason for verified value. Possible values and their meanings are enumerated in table below. |\n| `signature` | `string` | The signature that was extracted from the commit. |\n| `payload` | `string` | The value that was signed. |\n| `verified_at` | `string` | The date the signature was verified by GitHub. |\n\nThese are the possible values for `reason` in the `verification` object:\n\n| Value | Description |\n| ----- | ----------- |\n| `expired_key` | The key that made the signature is expired. |\n| `not_signing_key` | The \"signing\" flag is not among the usage flags in the GPG key that made the signature. |\n| `gpgverify_error` | There was an error communicating with the signature verification service. |\n| `gpgverify_unavailable` | The signature verification service is currently unavailable. |\n| `unsigned` | The object does not include a signature. |\n| `unknown_signature_type` | A non-PGP signature was found in the commit. |\n| `no_user` | No user was associated with the `committer` email address in the commit. |\n| `unverified_email` | The `committer` email address in the commit was associated with a user, but the email address is not verified on their account. |\n| `bad_email` | The `committer` email address in the commit is not included in the identities of the PGP key that made the signature. |\n| `unknown_key` | The key that made the signature has not been registered with any user's account. |\n| `malformed_signature` | There was an error parsing the signature. |\n| `invalid` | The signature could not be cryptographically verified using the key whose key-id was found in the signature. |\n| `valid` | None of the above errors applied, so the signature is considered to be verified. |", "tags": [ "repos" ], "operationId": "repos/compare-commits", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#compare-two-commits" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/commits/commits#compare-two-commits" }, "parameters": [ { @@ -380228,7 +381150,7 @@ }, { "name": "page", - "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -380237,7 +381159,7 @@ }, { "name": "per_page", - "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -382429,14 +383351,14 @@ "/repos/{owner}/{repo}/contents/{path}": { "get": { "summary": "Get repository content", - "description": "Gets the contents of a file or directory in a repository. Specify the file path or directory with the `path` parameter. If you omit the `path` parameter, you will receive the contents of the repository's root directory.\n\nThis endpoint supports the following custom media types. For more information, see \"[Media types](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/getting-started-with-the-rest-api#media-types).\"\n\n- **`application/vnd.github.raw+json`**: Returns the raw file contents for files and symlinks.\n- **`application/vnd.github.html+json`**: Returns the file contents in HTML. Markup languages are rendered to HTML using GitHub's open-source [Markup library](https://github.com/github/markup).\n- **`application/vnd.github.object+json`**: Returns the contents in a consistent object format regardless of the content type. For example, instead of an array of objects for a directory, the response will be an object with an `entries` attribute containing the array of objects.\n\nIf the content is a directory, the response will be an array of objects, one object for each item in the directory. When listing the contents of a directory, submodules have their \"type\" specified as \"file\". Logically, the value _should_ be \"submodule\". This behavior exists [for backwards compatibility purposes](https://git.io/v1YCW). In the next major version of the API, the type will be returned as \"submodule\".\n\nIf the content is a symlink and the symlink's target is a normal file in the repository, then the API responds with the content of the file. Otherwise, the API responds with an object describing the symlink itself.\n\nIf the content is a submodule, the `submodule_git_url` field identifies the location of the submodule repository, and the `sha` identifies a specific commit within the submodule repository. Git uses the given URL when cloning the submodule repository, and checks out the submodule at that specific commit. If the submodule repository is not hosted on github.com, the Git URLs (`git_url` and `_links[\"git\"]`) and the github.com URLs (`html_url` and `_links[\"html\"]`) will have null values.\n\n**Notes**:\n\n- To get a repository's contents recursively, you can [recursively get the tree](https://docs.github.com/enterprise-cloud@latest//rest/git/trees#get-a-tree).\n- This API has an upper limit of 1,000 files for a directory. If you need to retrieve\nmore files, use the [Git Trees API](https://docs.github.com/enterprise-cloud@latest//rest/git/trees#get-a-tree).\n- Download URLs expire and are meant to be used just once. To ensure the download URL does not expire, please use the contents API to obtain a fresh download URL for each download.\n- If the requested file's size is:\n - 1 MB or smaller: All features of this endpoint are supported.\n - Between 1-100 MB: Only the `raw` or `object` custom media types are supported. Both will work as normal, except that when using the `object` media type, the `content` field will be an empty\nstring and the `encoding` field will be `\"none\"`. To get the contents of these larger files, use the `raw` media type.\n - Greater than 100 MB: This endpoint is not supported.", + "description": "Gets the contents of a file or directory in a repository. Specify the file path or directory with the `path` parameter. If you omit the `path` parameter, you will receive the contents of the repository's root directory.\n\nThis endpoint supports the following custom media types. For more information, see \"[Media types](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types).\"\n\n- **`application/vnd.github.raw+json`**: Returns the raw file contents for files and symlinks.\n- **`application/vnd.github.html+json`**: Returns the file contents in HTML. Markup languages are rendered to HTML using GitHub's open-source [Markup library](https://github.com/github/markup).\n- **`application/vnd.github.object+json`**: Returns the contents in a consistent object format regardless of the content type. For example, instead of an array of objects for a directory, the response will be an object with an `entries` attribute containing the array of objects.\n\nIf the content is a directory, the response will be an array of objects, one object for each item in the directory. When listing the contents of a directory, submodules have their \"type\" specified as \"file\". Logically, the value _should_ be \"submodule\". This behavior exists [for backwards compatibility purposes](https://git.io/v1YCW). In the next major version of the API, the type will be returned as \"submodule\".\n\nIf the content is a symlink and the symlink's target is a normal file in the repository, then the API responds with the content of the file. Otherwise, the API responds with an object describing the symlink itself.\n\nIf the content is a submodule, the `submodule_git_url` field identifies the location of the submodule repository, and the `sha` identifies a specific commit within the submodule repository. Git uses the given URL when cloning the submodule repository, and checks out the submodule at that specific commit. If the submodule repository is not hosted on github.com, the Git URLs (`git_url` and `_links[\"git\"]`) and the github.com URLs (`html_url` and `_links[\"html\"]`) will have null values.\n\n**Notes**:\n\n- To get a repository's contents recursively, you can [recursively get the tree](https://docs.github.com/enterprise-cloud@latest/rest/git/trees#get-a-tree).\n- This API has an upper limit of 1,000 files for a directory. If you need to retrieve\nmore files, use the [Git Trees API](https://docs.github.com/enterprise-cloud@latest/rest/git/trees#get-a-tree).\n- Download URLs expire and are meant to be used just once. To ensure the download URL does not expire, please use the contents API to obtain a fresh download URL for each download.\n- If the requested file's size is:\n - 1 MB or smaller: All features of this endpoint are supported.\n - Between 1-100 MB: Only the `raw` or `object` custom media types are supported. Both will work as normal, except that when using the `object` media type, the `content` field will be an empty\nstring and the `encoding` field will be `\"none\"`. To get the contents of these larger files, use the `raw` media type.\n - Greater than 100 MB: This endpoint is not supported.", "tags": [ "repos" ], "operationId": "repos/get-content", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#get-repository-content" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/repos/contents#get-repository-content" }, "parameters": [ { @@ -383277,14 +384199,14 @@ }, "put": { "summary": "Create or update file contents", - "description": "Creates a new file or replaces an existing file in a repository.\n\n> [!NOTE]\n> If you use this endpoint and the \"[Delete a file](https://docs.github.com/enterprise-cloud@latest//rest/repos/contents/#delete-a-file)\" endpoint in parallel, the concurrent requests will conflict and you will receive errors. You must use these endpoints serially instead.\n\nOAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. The `workflow` scope is also required in order to modify files in the `.github/workflows` directory.", + "description": "Creates a new file or replaces an existing file in a repository.\n\n> [!NOTE]\n> If you use this endpoint and the \"[Delete a file](https://docs.github.com/enterprise-cloud@latest/rest/repos/contents/#delete-a-file)\" endpoint in parallel, the concurrent requests will conflict and you will receive errors. You must use these endpoints serially instead.\n\nOAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. The `workflow` scope is also required in order to modify files in the `.github/workflows` directory.", "tags": [ "repos" ], "operationId": "repos/create-or-update-file-contents", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#create-or-update-file-contents" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/repos/contents#create-or-update-file-contents" }, "parameters": [ { @@ -384035,14 +384957,14 @@ }, "delete": { "summary": "Delete a file", - "description": "Deletes a file in a repository.\n\nYou can provide an additional `committer` parameter, which is an object containing information about the committer. Or, you can provide an `author` parameter, which is an object containing information about the author.\n\nThe `author` section is optional and is filled in with the `committer` information if omitted. If the `committer` information is omitted, the authenticated user's information is used.\n\nYou must provide values for both `name` and `email`, whether you choose to use `author` or `committer`. Otherwise, you'll receive a `422` status code.\n\n> [!NOTE]\n> If you use this endpoint and the \"[Create or update file contents](https://docs.github.com/enterprise-cloud@latest//rest/repos/contents/#create-or-update-file-contents)\" endpoint in parallel, the concurrent requests will conflict and you will receive errors. You must use these endpoints serially instead.", + "description": "Deletes a file in a repository.\n\nYou can provide an additional `committer` parameter, which is an object containing information about the committer. Or, you can provide an `author` parameter, which is an object containing information about the author.\n\nThe `author` section is optional and is filled in with the `committer` information if omitted. If the `committer` information is omitted, the authenticated user's information is used.\n\nYou must provide values for both `name` and `email`, whether you choose to use `author` or `committer`. Otherwise, you'll receive a `422` status code.\n\n> [!NOTE]\n> If you use this endpoint and the \"[Create or update file contents](https://docs.github.com/enterprise-cloud@latest/rest/repos/contents/#create-or-update-file-contents)\" endpoint in parallel, the concurrent requests will conflict and you will receive errors. You must use these endpoints serially instead.", "tags": [ "repos" ], "operationId": "repos/delete-file", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#delete-a-file" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/repos/contents#delete-a-file" }, "parameters": [ { @@ -384510,7 +385432,7 @@ "operationId": "repos/list-contributors", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-contributors" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#list-repository-contributors" }, "parameters": [ { @@ -384542,7 +385464,7 @@ }, { "name": "per_page", - "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -384551,7 +385473,7 @@ }, { "name": "page", - "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -384765,7 +385687,7 @@ "operationId": "dependabot/list-alerts-for-repo", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#list-dependabot-alerts-for-a-repository" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/dependabot/alerts#list-dependabot-alerts-for-a-repository" }, "parameters": [ { @@ -384913,7 +385835,7 @@ }, { "name": "before", - "description": "A cursor, as given in the [Link header](https://docs.github.com/enterprise-cloud@latest//rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for results before this cursor. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "A cursor, as given in the [Link header](https://docs.github.com/enterprise-cloud@latest/rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for results before this cursor. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "required": false, "schema": { @@ -384922,7 +385844,7 @@ }, { "name": "after", - "description": "A cursor, as given in the [Link header](https://docs.github.com/enterprise-cloud@latest//rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for results after this cursor. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "A cursor, as given in the [Link header](https://docs.github.com/enterprise-cloud@latest/rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for results after this cursor. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "required": false, "schema": { @@ -384931,7 +385853,7 @@ }, { "name": "per_page", - "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -386258,7 +387180,7 @@ "operationId": "dependabot/get-alert", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#get-a-dependabot-alert" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/dependabot/alerts#get-a-dependabot-alert" }, "parameters": [ { @@ -387373,14 +388295,14 @@ }, "patch": { "summary": "Update a Dependabot alert", - "description": "The authenticated user must have access to security alerts for the repository to use this endpoint. For more information, see \"[Granting access to security alerts](https://docs.github.com/enterprise-cloud@latest//repositories/managing-your-repositorys-settings-and-features/enabling-features-for-your-repository/managing-security-and-analysis-settings-for-your-repository#granting-access-to-security-alerts).\"\n\nOAuth app tokens and personal access tokens (classic) need the `security_events` scope to use this endpoint. If this endpoint is only used with public repositories, the token can use the `public_repo` scope instead.", + "description": "The authenticated user must have access to security alerts for the repository to use this endpoint. For more information, see \"[Granting access to security alerts](https://docs.github.com/enterprise-cloud@latest/repositories/managing-your-repositorys-settings-and-features/enabling-features-for-your-repository/managing-security-and-analysis-settings-for-your-repository#granting-access-to-security-alerts).\"\n\nOAuth app tokens and personal access tokens (classic) need the `security_events` scope to use this endpoint. If this endpoint is only used with public repositories, the token can use the `public_repo` scope instead.", "tags": [ "dependabot" ], "operationId": "dependabot/update-alert", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#update-a-dependabot-alert" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/dependabot/alerts#update-a-dependabot-alert" }, "parameters": [ { @@ -388671,7 +389593,7 @@ "operationId": "dependabot/list-repo-secrets", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#list-repository-secrets" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/dependabot/secrets#list-repository-secrets" }, "parameters": [ { @@ -388694,7 +389616,7 @@ }, { "name": "per_page", - "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -388703,7 +389625,7 @@ }, { "name": "page", - "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -388805,7 +389727,7 @@ "operationId": "dependabot/get-repo-public-key", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#get-a-repository-public-key" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/dependabot/secrets#get-a-repository-public-key" }, "parameters": [ { @@ -388883,7 +389805,7 @@ "operationId": "dependabot/get-repo-secret", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#get-a-repository-secret" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/dependabot/secrets#get-a-repository-secret" }, "parameters": [ { @@ -388966,14 +389888,14 @@ }, "put": { "summary": "Create or update a repository secret", - "description": "Creates or updates a repository secret with an encrypted value. Encrypt your secret using\n[LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages). For more information, see \"[Encrypting secrets for the REST API](https://docs.github.com/enterprise-cloud@latest//rest/guides/encrypting-secrets-for-the-rest-api).\"\n\nOAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint.", + "description": "Creates or updates a repository secret with an encrypted value. Encrypt your secret using\n[LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages). For more information, see \"[Encrypting secrets for the REST API](https://docs.github.com/enterprise-cloud@latest/rest/guides/encrypting-secrets-for-the-rest-api).\"\n\nOAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint.", "tags": [ "dependabot" ], "operationId": "dependabot/create-or-update-repo-secret", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#create-or-update-a-repository-secret" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/dependabot/secrets#create-or-update-a-repository-secret" }, "parameters": [ { @@ -389013,7 +389935,7 @@ "properties": { "encrypted_value": { "type": "string", - "description": "Value for your secret, encrypted with [LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages) using the public key retrieved from the [Get a repository public key](https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#get-a-repository-public-key) endpoint.", + "description": "Value for your secret, encrypted with [LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages) using the public key retrieved from the [Get a repository public key](https://docs.github.com/enterprise-cloud@latest/rest/dependabot/secrets#get-a-repository-public-key) endpoint.", "pattern": "^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=|[A-Za-z0-9+/]{4})$" }, "key_id": { @@ -389073,7 +389995,7 @@ "operationId": "dependabot/delete-repo-secret", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#delete-a-repository-secret" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/dependabot/secrets#delete-a-repository-secret" }, "parameters": [ { @@ -389127,7 +390049,7 @@ "operationId": "dependency-graph/diff-range", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/dependency-graph/dependency-review#get-a-diff-of-the-dependencies-between-commits" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/dependency-graph/dependency-review#get-a-diff-of-the-dependencies-between-commits" }, "parameters": [ { @@ -389398,7 +390320,7 @@ "operationId": "dependency-graph/export-sbom", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/dependency-graph/sboms#export-a-software-bill-of-materials-sbom-for-a-repository" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/dependency-graph/sboms#export-a-software-bill-of-materials-sbom-for-a-repository" }, "parameters": [ { @@ -389760,7 +390682,7 @@ "operationId": "dependency-graph/fetch-sbom-report", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/dependency-graph/sboms#fetch-a-software-bill-of-materials-sbom-for-a-repository" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/dependency-graph/sboms#fetch-a-software-bill-of-materials-sbom-for-a-repository" }, "parameters": [ { @@ -389876,7 +390798,7 @@ "operationId": "dependency-graph/generate-sbom-report", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/dependency-graph/sboms#request-generation-of-a-software-bill-of-materials-sbom-for-a-repository" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/dependency-graph/sboms#request-generation-of-a-software-bill-of-materials-sbom-for-a-repository" }, "parameters": [ { @@ -389992,7 +390914,7 @@ "operationId": "dependency-graph/create-repository-snapshot", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/dependency-graph/dependency-submission#create-a-snapshot-of-dependencies-for-a-repository" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/dependency-graph/dependency-submission#create-a-snapshot-of-dependencies-for-a-repository" }, "parameters": [ { @@ -390351,7 +391273,7 @@ "operationId": "repos/list-deployments", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#list-deployments" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/deployments/deployments#list-deployments" }, "parameters": [ { @@ -390415,7 +391337,7 @@ }, { "name": "per_page", - "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -390424,7 +391346,7 @@ }, { "name": "page", - "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -391046,14 +391968,14 @@ }, "post": { "summary": "Create a deployment", - "description": "Deployments offer a few configurable parameters with certain defaults.\n\nThe `ref` parameter can be any named branch, tag, or SHA. At GitHub Enterprise Cloud we often deploy branches and verify them\nbefore we merge a pull request.\n\nThe `environment` parameter allows deployments to be issued to different runtime environments. Teams often have\nmultiple environments for verifying their applications, such as `production`, `staging`, and `qa`. This parameter\nmakes it easier to track which environments have requested deployments. The default environment is `production`.\n\nThe `auto_merge` parameter is used to ensure that the requested ref is not behind the repository's default branch. If\nthe ref _is_ behind the default branch for the repository, we will attempt to merge it for you. If the merge succeeds,\nthe API will return a successful merge commit. If merge conflicts prevent the merge from succeeding, the API will\nreturn a failure response.\n\nBy default, [commit statuses](https://docs.github.com/enterprise-cloud@latest//rest/commits/statuses) for every submitted context must be in a `success`\nstate. The `required_contexts` parameter allows you to specify a subset of contexts that must be `success`, or to\nspecify contexts that have not yet been submitted. You are not required to use commit statuses to deploy. If you do\nnot require any contexts or create any commit statuses, the deployment will always succeed.\n\nThe `payload` parameter is available for any extra information that a deployment system might need. It is a JSON text\nfield that will be passed on when a deployment event is dispatched.\n\nThe `task` parameter is used by the deployment system to allow different execution paths. In the web world this might\nbe `deploy:migrations` to run schema changes on the system. In the compiled world this could be a flag to compile an\napplication with debugging enabled.\n\nMerged branch response:\n\nYou will see this response when GitHub automatically merges the base branch into the topic branch instead of creating\na deployment. This auto-merge happens when:\n* Auto-merge option is enabled in the repository\n* Topic branch does not include the latest changes on the base branch, which is `master` in the response example\n* There are no merge conflicts\n\nIf there are no new commits in the base branch, a new request to create a deployment should give a successful\nresponse.\n\nMerge conflict response:\n\nThis error happens when the `auto_merge` option is enabled and when the default branch (in this case `master`), can't\nbe merged into the branch that's being deployed (in this case `topic-branch`), due to merge conflicts.\n\nFailed commit status checks:\n\nThis error happens when the `required_contexts` parameter indicates that one or more contexts need to have a `success`\nstatus for the commit to be deployed, but one or more of the required contexts do not have a state of `success`.\n\nOAuth app tokens and personal access tokens (classic) need the `repo` or `repo_deployment` scope to use this endpoint.", + "description": "Deployments offer a few configurable parameters with certain defaults.\n\nThe `ref` parameter can be any named branch, tag, or SHA. At GitHub Enterprise Cloud we often deploy branches and verify them\nbefore we merge a pull request.\n\nThe `environment` parameter allows deployments to be issued to different runtime environments. Teams often have\nmultiple environments for verifying their applications, such as `production`, `staging`, and `qa`. This parameter\nmakes it easier to track which environments have requested deployments. The default environment is `production`.\n\nThe `auto_merge` parameter is used to ensure that the requested ref is not behind the repository's default branch. If\nthe ref _is_ behind the default branch for the repository, we will attempt to merge it for you. If the merge succeeds,\nthe API will return a successful merge commit. If merge conflicts prevent the merge from succeeding, the API will\nreturn a failure response.\n\nBy default, [commit statuses](https://docs.github.com/enterprise-cloud@latest/rest/commits/statuses) for every submitted context must be in a `success`\nstate. The `required_contexts` parameter allows you to specify a subset of contexts that must be `success`, or to\nspecify contexts that have not yet been submitted. You are not required to use commit statuses to deploy. If you do\nnot require any contexts or create any commit statuses, the deployment will always succeed.\n\nThe `payload` parameter is available for any extra information that a deployment system might need. It is a JSON text\nfield that will be passed on when a deployment event is dispatched.\n\nThe `task` parameter is used by the deployment system to allow different execution paths. In the web world this might\nbe `deploy:migrations` to run schema changes on the system. In the compiled world this could be a flag to compile an\napplication with debugging enabled.\n\nMerged branch response:\n\nYou will see this response when GitHub automatically merges the base branch into the topic branch instead of creating\na deployment. This auto-merge happens when:\n* Auto-merge option is enabled in the repository\n* Topic branch does not include the latest changes on the base branch, which is `master` in the response example\n* There are no merge conflicts\n\nIf there are no new commits in the base branch, a new request to create a deployment should give a successful\nresponse.\n\nMerge conflict response:\n\nThis error happens when the `auto_merge` option is enabled and when the default branch (in this case `master`), can't\nbe merged into the branch that's being deployed (in this case `topic-branch`), due to merge conflicts.\n\nFailed commit status checks:\n\nThis error happens when the `required_contexts` parameter indicates that one or more contexts need to have a `success`\nstatus for the commit to be deployed, but one or more of the required contexts do not have a state of `success`.\n\nOAuth app tokens and personal access tokens (classic) need the `repo` or `repo_deployment` scope to use this endpoint.", "tags": [ "repos" ], "operationId": "repos/create-deployment", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#create-a-deployment" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/deployments/deployments#create-a-deployment" }, "parameters": [ { @@ -391098,7 +392020,7 @@ }, "required_contexts": { "type": "array", - "description": "The [status](https://docs.github.com/enterprise-cloud@latest//rest/commits/statuses) contexts to verify against commit status checks. If you omit this parameter, GitHub verifies all unique contexts before creating a deployment. To bypass checking entirely, pass an empty array. Defaults to all unique contexts.", + "description": "The [status](https://docs.github.com/enterprise-cloud@latest/rest/commits/statuses) contexts to verify against commit status checks. If you omit this parameter, GitHub verifies all unique contexts before creating a deployment. To bypass checking entirely, pass an empty array. Defaults to all unique contexts.", "items": { "type": "string" } @@ -391872,7 +392794,7 @@ "operationId": "repos/get-deployment", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#get-a-deployment" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/deployments/deployments#get-a-deployment" }, "parameters": [ { @@ -392530,14 +393452,14 @@ }, "delete": { "summary": "Delete a deployment", - "description": "If the repository only has one deployment, you can delete the deployment regardless of its status. If the repository has more than one deployment, you can only delete inactive deployments. This ensures that repositories with multiple deployments will always have an active deployment.\n\nTo set a deployment as inactive, you must:\n\n* Create a new deployment that is active so that the system has a record of the current state, then delete the previously active deployment.\n* Mark the active deployment as inactive by adding any non-successful deployment status.\n\nFor more information, see \"[Create a deployment](https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments/#create-a-deployment)\" and \"[Create a deployment status](https://docs.github.com/enterprise-cloud@latest//rest/deployments/statuses#create-a-deployment-status).\"\n\nOAuth app tokens and personal access tokens (classic) need the `repo` or `repo_deployment` scope to use this endpoint.", + "description": "If the repository only has one deployment, you can delete the deployment regardless of its status. If the repository has more than one deployment, you can only delete inactive deployments. This ensures that repositories with multiple deployments will always have an active deployment.\n\nTo set a deployment as inactive, you must:\n\n* Create a new deployment that is active so that the system has a record of the current state, then delete the previously active deployment.\n* Mark the active deployment as inactive by adding any non-successful deployment status.\n\nFor more information, see \"[Create a deployment](https://docs.github.com/enterprise-cloud@latest/rest/deployments/deployments/#create-a-deployment)\" and \"[Create a deployment status](https://docs.github.com/enterprise-cloud@latest/rest/deployments/statuses#create-a-deployment-status).\"\n\nOAuth app tokens and personal access tokens (classic) need the `repo` or `repo_deployment` scope to use this endpoint.", "tags": [ "repos" ], "operationId": "repos/delete-deployment", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#delete-a-deployment" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/deployments/deployments#delete-a-deployment" }, "parameters": [ { @@ -392647,7 +393569,7 @@ "operationId": "repos/list-deployment-statuses", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/deployments/statuses#list-deployment-statuses" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/deployments/statuses#list-deployment-statuses" }, "parameters": [ { @@ -392679,7 +393601,7 @@ }, { "name": "per_page", - "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -392688,7 +393610,7 @@ }, { "name": "page", - "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -393335,7 +394257,7 @@ "operationId": "repos/create-deployment-status", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/deployments/statuses#create-a-deployment-status" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/deployments/statuses#create-a-deployment-status" }, "parameters": [ { @@ -394111,7 +395033,7 @@ "operationId": "repos/get-deployment-status", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/deployments/statuses#get-a-deployment-status" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/deployments/statuses#get-a-deployment-status" }, "parameters": [ { @@ -394778,7 +395700,7 @@ "operationId": "code-scanning/list-dismissal-requests-for-repo", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/alert-dismissal-requests#list-dismissal-requests-for-code-scanning-alerts-for-a-repository" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/code-scanning/alert-dismissal-requests#list-dismissal-requests-for-code-scanning-alerts-for-a-repository" }, "x-github": { "githubCloudOnly": true, @@ -394858,7 +395780,7 @@ }, { "name": "per_page", - "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -394867,7 +395789,7 @@ }, { "name": "page", - "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -395251,7 +396173,7 @@ "operationId": "code-scanning/get-dismissal-request-for-repo", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/alert-dismissal-requests#get-a-dismissal-request-for-a-code-scanning-alert-for-a-repository" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/code-scanning/alert-dismissal-requests#get-a-dismissal-request-for-a-code-scanning-alert-for-a-repository" }, "x-github": { "githubCloudOnly": true, @@ -395615,7 +396537,7 @@ "operationId": "code-scanning/review-dismissal-request-for-repo", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/alert-dismissal-requests#review-a-dismissal-request-for-a-code-scanning-alert-for-a-repository" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/code-scanning/alert-dismissal-requests#review-a-dismissal-request-for-a-code-scanning-alert-for-a-repository" }, "x-github": { "githubCloudOnly": true, @@ -395852,7 +396774,7 @@ "operationId": "dependabot/list-dismissal-requests-for-repo", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alert-dismissal-requests#list-dismissal-requests-for-dependabot-alerts-for-a-repository" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/dependabot/alert-dismissal-requests#list-dismissal-requests-for-dependabot-alerts-for-a-repository" }, "x-github": { "githubCloudOnly": true, @@ -395932,7 +396854,7 @@ }, { "name": "per_page", - "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -395941,7 +396863,7 @@ }, { "name": "page", - "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -396327,7 +397249,7 @@ "operationId": "dependabot/get-dismissal-request-for-repo", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alert-dismissal-requests#get-a-dismissal-request-for-a-dependabot-alert-for-a-repository" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/dependabot/alert-dismissal-requests#get-a-dismissal-request-for-a-dependabot-alert-for-a-repository" }, "x-github": { "githubCloudOnly": true, @@ -396682,7 +397604,7 @@ "operationId": "dependabot/create-dismissal-request-for-repo", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alert-dismissal-requests#create-a-dismissal-request-for-a-dependabot-alert-for-a-repository" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/dependabot/alert-dismissal-requests#create-a-dismissal-request-for-a-dependabot-alert-for-a-repository" }, "x-github": { "githubCloudOnly": true, @@ -397143,7 +398065,7 @@ "operationId": "dependabot/review-dismissal-request-for-repo", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alert-dismissal-requests#review-a-dismissal-request-for-a-dependabot-alert-for-a-repository" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/dependabot/alert-dismissal-requests#review-a-dismissal-request-for-a-dependabot-alert-for-a-repository" }, "x-github": { "githubCloudOnly": true, @@ -397398,7 +398320,7 @@ "operationId": "dependabot/cancel-dismissal-request-for-repo", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alert-dismissal-requests#cancel-a-dismissal-request-for-a-dependabot-alert-for-a-repository" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/dependabot/alert-dismissal-requests#cancel-a-dismissal-request-for-a-dependabot-alert-for-a-repository" }, "x-github": { "githubCloudOnly": true, @@ -397530,7 +398452,7 @@ "operationId": "secret-scanning/list-repo-dismissal-requests", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/alert-dismissal-requests#list-alert-dismissal-requests-for-secret-scanning-for-a-repository" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/secret-scanning/alert-dismissal-requests#list-alert-dismissal-requests-for-secret-scanning-for-a-repository" }, "x-github": { "githubCloudOnly": true, @@ -397612,7 +398534,7 @@ }, { "name": "per_page", - "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -397621,7 +398543,7 @@ }, { "name": "page", - "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -398001,7 +398923,7 @@ "operationId": "secret-scanning/get-dismissal-request", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/alert-dismissal-requests#get-an-alert-dismissal-request-for-secret-scanning" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/secret-scanning/alert-dismissal-requests#get-an-alert-dismissal-request-for-secret-scanning" }, "x-github": { "githubCloudOnly": true, @@ -398361,7 +399283,7 @@ "operationId": "secret-scanning/review-dismissal-request", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/alert-dismissal-requests#review-an-alert-dismissal-request-for-secret-scanning" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/secret-scanning/alert-dismissal-requests#review-an-alert-dismissal-request-for-secret-scanning" }, "x-github": { "githubCloudOnly": true, @@ -398611,14 +399533,14 @@ "/repos/{owner}/{repo}/dispatches": { "post": { "summary": "Create a repository dispatch event", - "description": "You can use this endpoint to trigger a webhook event called `repository_dispatch` when you want activity that happens outside of GitHub Enterprise Cloud to trigger a GitHub Actions workflow or GitHub App webhook. You must configure your GitHub Actions workflow or GitHub App to run when the `repository_dispatch` event occurs. For an example `repository_dispatch` webhook payload, see \"[RepositoryDispatchEvent](https://docs.github.com/enterprise-cloud@latest//webhooks/event-payloads/#repository_dispatch).\"\n\nThe `client_payload` parameter is available for any extra information that your workflow might need. This parameter is a JSON payload that will be passed on when the webhook event is dispatched. For example, the `client_payload` can include a message that a user would like to send using a GitHub Actions workflow. Or the `client_payload` can be used as a test to debug your workflow.\n\nThis input example shows how you can use the `client_payload` as a test to debug your workflow.\n\nOAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint.", + "description": "You can use this endpoint to trigger a webhook event called `repository_dispatch` when you want activity that happens outside of GitHub Enterprise Cloud to trigger a GitHub Actions workflow or GitHub App webhook. You must configure your GitHub Actions workflow or GitHub App to run when the `repository_dispatch` event occurs. For an example `repository_dispatch` webhook payload, see \"[RepositoryDispatchEvent](https://docs.github.com/enterprise-cloud@latest/webhooks/event-payloads/#repository_dispatch).\"\n\nThe `client_payload` parameter is available for any extra information that your workflow might need. This parameter is a JSON payload that will be passed on when the webhook event is dispatched. For example, the `client_payload` can include a message that a user would like to send using a GitHub Actions workflow. Or the `client_payload` can be used as a test to debug your workflow.\n\nThis input example shows how you can use the `client_payload` as a test to debug your workflow.\n\nOAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint.", "tags": [ "repos" ], "operationId": "repos/create-dispatch-event", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#create-a-repository-dispatch-event" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#create-a-repository-dispatch-event" }, "parameters": [ { @@ -398796,7 +399718,7 @@ "operationId": "repos/get-all-environments", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments#list-environments" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/deployments/environments#list-environments" }, "parameters": [ { @@ -398819,7 +399741,7 @@ }, { "name": "per_page", - "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -398828,7 +399750,7 @@ }, { "name": "page", - "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -399470,7 +400392,7 @@ "operationId": "repos/get-environment", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments#get-an-environment" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/deployments/environments#get-an-environment" }, "parameters": [ { @@ -400115,7 +401037,7 @@ "operationId": "repos/create-or-update-environment", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments#create-or-update-an-environment" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/deployments/environments#create-or-update-an-environment" }, "parameters": [ { @@ -400875,7 +401797,7 @@ "operationId": "repos/delete-an-environment", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments#delete-an-environment" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/deployments/environments#delete-an-environment" }, "parameters": [ { @@ -400929,7 +401851,7 @@ "operationId": "repos/list-deployment-branch-policies", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#list-deployment-branch-policies" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/deployments/branch-policies#list-deployment-branch-policies" }, "parameters": [ { @@ -400961,7 +401883,7 @@ }, { "name": "per_page", - "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -400970,7 +401892,7 @@ }, { "name": "page", - "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -401069,7 +401991,7 @@ "operationId": "repos/create-deployment-branch-policy", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#create-a-deployment-branch-policy" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/deployments/branch-policies#create-a-deployment-branch-policy" }, "parameters": [ { @@ -401239,7 +402161,7 @@ "operationId": "repos/get-deployment-branch-policy", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#get-a-deployment-branch-policy" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/deployments/branch-policies#get-a-deployment-branch-policy" }, "parameters": [ { @@ -401343,7 +402265,7 @@ "operationId": "repos/update-deployment-branch-policy", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#update-a-deployment-branch-policy" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/deployments/branch-policies#update-a-deployment-branch-policy" }, "parameters": [ { @@ -401475,7 +402397,7 @@ "operationId": "repos/delete-deployment-branch-policy", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#delete-a-deployment-branch-policy" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/deployments/branch-policies#delete-a-deployment-branch-policy" }, "parameters": [ { @@ -401531,14 +402453,14 @@ "/repos/{owner}/{repo}/environments/{environment_name}/deployment_protection_rules": { "get": { "summary": "Get all deployment protection rules for an environment", - "description": "Gets all custom deployment protection rules that are enabled for an environment. Anyone with read access to the repository can use this endpoint. For more information about environments, see \"[Using environments for deployment](https://docs.github.com/enterprise-cloud@latest//actions/deployment/targeting-different-environments/using-environments-for-deployment).\"\n\nFor more information about the app that is providing this custom deployment rule, see the [documentation for the `GET /apps/{app_slug}` endpoint](https://docs.github.com/enterprise-cloud@latest//rest/apps/apps#get-an-app).\n\nOAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint with a private repository.", + "description": "Gets all custom deployment protection rules that are enabled for an environment. Anyone with read access to the repository can use this endpoint. For more information about environments, see \"[Using environments for deployment](https://docs.github.com/enterprise-cloud@latest/actions/deployment/targeting-different-environments/using-environments-for-deployment).\"\n\nFor more information about the app that is providing this custom deployment rule, see the [documentation for the `GET /apps/{app_slug}` endpoint](https://docs.github.com/enterprise-cloud@latest/rest/apps/apps#get-an-app).\n\nOAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint with a private repository.", "tags": [ "repos" ], "operationId": "repos/get-all-deployment-protection-rules", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/deployments/protection-rules#get-all-deployment-protection-rules-for-an-environment" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/deployments/protection-rules#get-all-deployment-protection-rules-for-an-environment" }, "parameters": [ { @@ -401725,14 +402647,14 @@ }, "post": { "summary": "Create a custom deployment protection rule on an environment", - "description": "Enable a custom deployment protection rule for an environment.\n\nThe authenticated user must have admin or owner permissions to the repository to use this endpoint.\n\nFor more information about the app that is providing this custom deployment rule, see the [documentation for the `GET /apps/{app_slug}` endpoint](https://docs.github.com/enterprise-cloud@latest//rest/apps/apps#get-an-app), as well as the [guide to creating custom deployment protection rules](https://docs.github.com/enterprise-cloud@latest//actions/managing-workflow-runs-and-deployments/managing-deployments/creating-custom-deployment-protection-rules).\n\nOAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint.", + "description": "Enable a custom deployment protection rule for an environment.\n\nThe authenticated user must have admin or owner permissions to the repository to use this endpoint.\n\nFor more information about the app that is providing this custom deployment rule, see the [documentation for the `GET /apps/{app_slug}` endpoint](https://docs.github.com/enterprise-cloud@latest/rest/apps/apps#get-an-app), as well as the [guide to creating custom deployment protection rules](https://docs.github.com/enterprise-cloud@latest/actions/managing-workflow-runs-and-deployments/managing-deployments/creating-custom-deployment-protection-rules).\n\nOAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint.", "tags": [ "repos" ], "operationId": "repos/create-deployment-protection-rule", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/deployments/protection-rules#create-a-custom-deployment-protection-rule-on-an-environment" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/deployments/protection-rules#create-a-custom-deployment-protection-rule-on-an-environment" }, "parameters": [ { @@ -401882,14 +402804,14 @@ "/repos/{owner}/{repo}/environments/{environment_name}/deployment_protection_rules/apps": { "get": { "summary": "List custom deployment rule integrations available for an environment", - "description": "Gets all custom deployment protection rule integrations that are available for an environment.\n\nThe authenticated user must have admin or owner permissions to the repository to use this endpoint.\n\nFor more information about environments, see \"[Using environments for deployment](https://docs.github.com/enterprise-cloud@latest//actions/deployment/targeting-different-environments/using-environments-for-deployment).\"\n\nFor more information about the app that is providing this custom deployment rule, see \"[GET an app](https://docs.github.com/enterprise-cloud@latest//rest/apps/apps#get-an-app)\".\n\nOAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint with a private repository.", + "description": "Gets all custom deployment protection rule integrations that are available for an environment.\n\nThe authenticated user must have admin or owner permissions to the repository to use this endpoint.\n\nFor more information about environments, see \"[Using environments for deployment](https://docs.github.com/enterprise-cloud@latest/actions/deployment/targeting-different-environments/using-environments-for-deployment).\"\n\nFor more information about the app that is providing this custom deployment rule, see \"[GET an app](https://docs.github.com/enterprise-cloud@latest/rest/apps/apps#get-an-app)\".\n\nOAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint with a private repository.", "tags": [ "repos" ], "operationId": "repos/list-custom-deployment-rule-integrations", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/deployments/protection-rules#list-custom-deployment-rule-integrations-available-for-an-environment" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/deployments/protection-rules#list-custom-deployment-rule-integrations-available-for-an-environment" }, "parameters": [ { @@ -401921,7 +402843,7 @@ }, { "name": "page", - "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -401930,7 +402852,7 @@ }, { "name": "per_page", - "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -402029,14 +402951,14 @@ "/repos/{owner}/{repo}/environments/{environment_name}/deployment_protection_rules/{protection_rule_id}": { "get": { "summary": "Get a custom deployment protection rule", - "description": "Gets an enabled custom deployment protection rule for an environment. Anyone with read access to the repository can use this endpoint. For more information about environments, see \"[Using environments for deployment](https://docs.github.com/enterprise-cloud@latest//actions/deployment/targeting-different-environments/using-environments-for-deployment).\"\n\nFor more information about the app that is providing this custom deployment rule, see [`GET /apps/{app_slug}`](https://docs.github.com/enterprise-cloud@latest//rest/apps/apps#get-an-app).\n\nOAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint with a private repository.", + "description": "Gets an enabled custom deployment protection rule for an environment. Anyone with read access to the repository can use this endpoint. For more information about environments, see \"[Using environments for deployment](https://docs.github.com/enterprise-cloud@latest/actions/deployment/targeting-different-environments/using-environments-for-deployment).\"\n\nFor more information about the app that is providing this custom deployment rule, see [`GET /apps/{app_slug}`](https://docs.github.com/enterprise-cloud@latest/rest/apps/apps#get-an-app).\n\nOAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint with a private repository.", "tags": [ "repos" ], "operationId": "repos/get-custom-deployment-protection-rule", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/deployments/protection-rules#get-a-custom-deployment-protection-rule" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/deployments/protection-rules#get-a-custom-deployment-protection-rule" }, "parameters": [ { @@ -402177,7 +403099,7 @@ "operationId": "repos/disable-deployment-protection-rule", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/deployments/protection-rules#disable-a-custom-protection-rule-for-an-environment" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/deployments/protection-rules#disable-a-custom-protection-rule-for-an-environment" }, "parameters": [ { @@ -402240,7 +403162,7 @@ "operationId": "actions/list-environment-secrets", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#list-environment-secrets" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#list-environment-secrets" }, "parameters": [ { @@ -402272,7 +403194,7 @@ }, { "name": "per_page", - "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -402281,7 +403203,7 @@ }, { "name": "page", - "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -402383,7 +403305,7 @@ "operationId": "actions/get-environment-public-key", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-an-environment-public-key" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#get-an-environment-public-key" }, "parameters": [ { @@ -402486,7 +403408,7 @@ "operationId": "actions/get-environment-secret", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-an-environment-secret" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#get-an-environment-secret" }, "parameters": [ { @@ -402578,14 +403500,14 @@ }, "put": { "summary": "Create or update an environment secret", - "description": "Creates or updates an environment secret with an encrypted value. Encrypt your secret using\n[LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages). For more information, see \"[Encrypting secrets for the REST API](https://docs.github.com/enterprise-cloud@latest//rest/guides/encrypting-secrets-for-the-rest-api).\"\n\nAuthenticated users must have collaborator access to a repository to create, update, or read secrets.\n\nOAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint.", + "description": "Creates or updates an environment secret with an encrypted value. Encrypt your secret using\n[LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages). For more information, see \"[Encrypting secrets for the REST API](https://docs.github.com/enterprise-cloud@latest/rest/guides/encrypting-secrets-for-the-rest-api).\"\n\nAuthenticated users must have collaborator access to a repository to create, update, or read secrets.\n\nOAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint.", "tags": [ "actions" ], "operationId": "actions/create-or-update-environment-secret", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#create-or-update-an-environment-secret" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#create-or-update-an-environment-secret" }, "parameters": [ { @@ -402634,7 +403556,7 @@ "properties": { "encrypted_value": { "type": "string", - "description": "Value for your secret, encrypted with [LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages) using the public key retrieved from the [Get an environment public key](https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-an-environment-public-key) endpoint.", + "description": "Value for your secret, encrypted with [LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages) using the public key retrieved from the [Get an environment public key](https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#get-an-environment-public-key) endpoint.", "pattern": "^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=|[A-Za-z0-9+/]{4})$" }, "key_id": { @@ -402698,7 +403620,7 @@ "operationId": "actions/delete-environment-secret", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#delete-an-environment-secret" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#delete-an-environment-secret" }, "parameters": [ { @@ -402761,7 +403683,7 @@ "operationId": "actions/list-environment-variables", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-environment-variables" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#list-environment-variables" }, "parameters": [ { @@ -402793,7 +403715,7 @@ }, { "name": "per_page", - "description": "The number of results per page (max 30). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The number of results per page (max 30). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -402802,7 +403724,7 @@ }, { "name": "page", - "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -402913,7 +403835,7 @@ "operationId": "actions/create-environment-variable", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#create-an-environment-variable" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#create-an-environment-variable" }, "parameters": [ { @@ -403015,7 +403937,7 @@ "operationId": "actions/get-environment-variable", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#get-an-environment-variable" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#get-an-environment-variable" }, "parameters": [ { @@ -403124,7 +404046,7 @@ "operationId": "actions/update-environment-variable", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#update-an-environment-variable" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#update-an-environment-variable" }, "parameters": [ { @@ -403213,7 +404135,7 @@ "operationId": "actions/delete-environment-variable", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#delete-an-environment-variable" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#delete-an-environment-variable" }, "parameters": [ { @@ -403276,7 +404198,7 @@ "operationId": "activity/list-repo-events", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/activity/events#list-repository-events" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/activity/events#list-repository-events" }, "parameters": [ { @@ -403299,7 +404221,7 @@ }, { "name": "per_page", - "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -403308,7 +404230,7 @@ }, { "name": "page", - "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -413612,7 +414534,7 @@ "operationId": "repos/list-forks", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/repos/forks#list-forks" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/repos/forks#list-forks" }, "parameters": [ { @@ -413651,7 +414573,7 @@ }, { "name": "per_page", - "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -413660,7 +414582,7 @@ }, { "name": "page", - "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -414651,7 +415573,7 @@ "operationId": "repos/create-fork", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/repos/forks#create-a-fork" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/repos/forks#create-a-fork" }, "parameters": [ { @@ -418702,7 +419624,7 @@ "operationId": "git/create-blob", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/git/blobs#create-a-blob" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/git/blobs#create-a-blob" }, "parameters": [ { @@ -419000,14 +419922,14 @@ "/repos/{owner}/{repo}/git/blobs/{file_sha}": { "get": { "summary": "Get a blob", - "description": "The `content` in the response will always be Base64 encoded.\n\nThis endpoint supports the following custom media types. For more information, see \"[Media types](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/getting-started-with-the-rest-api#media-types).\"\n\n- **`application/vnd.github.raw+json`**: Returns the raw blob data.\n- **`application/vnd.github+json`**: Returns a JSON representation of the blob with `content` as a base64 encoded string. This is the default if no media type is specified.\n\n**Note** This endpoint supports blobs up to 100 megabytes in size.", + "description": "The `content` in the response will always be Base64 encoded.\n\nThis endpoint supports the following custom media types. For more information, see \"[Media types](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types).\"\n\n- **`application/vnd.github.raw+json`**: Returns the raw blob data.\n- **`application/vnd.github+json`**: Returns a JSON representation of the blob with `content` as a base64 encoded string. This is the default if no media type is specified.\n\n**Note** This endpoint supports blobs up to 100 megabytes in size.", "tags": [ "git" ], "operationId": "git/get-blob", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/git/blobs#get-a-blob" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/git/blobs#get-a-blob" }, "parameters": [ { @@ -419261,7 +420183,7 @@ "operationId": "git/create-commit", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/git/commits#create-a-commit" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/git/commits#create-a-commit" }, "parameters": [ { @@ -419740,7 +420662,7 @@ "operationId": "git/get-commit", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/git/commits#get-a-commit-object" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/git/commits#get-a-commit-object" }, "parameters": [ { @@ -420051,14 +420973,14 @@ "/repos/{owner}/{repo}/git/matching-refs/{ref}": { "get": { "summary": "List matching references", - "description": "Returns an array of references from your Git database that match the supplied name. The `:ref` in the URL must be formatted as `heads/` for branches and `tags/` for tags. If the `:ref` doesn't exist in the repository, but existing refs start with `:ref`, they will be returned as an array.\n\nWhen you use this endpoint without providing a `:ref`, it will return an array of all the references from your Git database, including notes and stashes if they exist on the server. Anything in the namespace is returned, not just `heads` and `tags`.\n\n> [!NOTE]\n> You need to explicitly [request a pull request](https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#get-a-pull-request) to trigger a test merge commit, which checks the mergeability of pull requests. For more information, see \"[Checking mergeability of pull requests](https://docs.github.com/enterprise-cloud@latest//rest/guides/getting-started-with-the-git-database-api#checking-mergeability-of-pull-requests)\".\n\nIf you request matching references for a branch named `feature` but the branch `feature` doesn't exist, the response can still include other matching head refs that start with the word `feature`, such as `featureA` and `featureB`.", + "description": "Returns an array of references from your Git database that match the supplied name. The `:ref` in the URL must be formatted as `heads/` for branches and `tags/` for tags. If the `:ref` doesn't exist in the repository, but existing refs start with `:ref`, they will be returned as an array.\n\nWhen you use this endpoint without providing a `:ref`, it will return an array of all the references from your Git database, including notes and stashes if they exist on the server. Anything in the namespace is returned, not just `heads` and `tags`.\n\n> [!NOTE]\n> You need to explicitly [request a pull request](https://docs.github.com/enterprise-cloud@latest/rest/pulls/pulls#get-a-pull-request) to trigger a test merge commit, which checks the mergeability of pull requests. For more information, see \"[Checking mergeability of pull requests](https://docs.github.com/enterprise-cloud@latest/rest/guides/getting-started-with-the-git-database-api#checking-mergeability-of-pull-requests)\".\n\nIf you request matching references for a branch named `feature` but the branch `feature` doesn't exist, the response can still include other matching head refs that start with the word `feature`, such as `featureA` and `featureB`.", "tags": [ "git" ], "operationId": "git/list-matching-refs", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/git/refs#list-matching-references" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/git/refs#list-matching-references" }, "parameters": [ { @@ -420221,14 +421143,14 @@ "/repos/{owner}/{repo}/git/ref/{ref}": { "get": { "summary": "Get a reference", - "description": "Returns a single reference from your Git database. The `:ref` in the URL must be formatted as `heads/` for branches and `tags/` for tags. If the `:ref` doesn't match an existing ref, a `404` is returned.\n\n> [!NOTE]\n> You need to explicitly [request a pull request](https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#get-a-pull-request) to trigger a test merge commit, which checks the mergeability of pull requests. For more information, see \"[Checking mergeability of pull requests](https://docs.github.com/enterprise-cloud@latest//rest/guides/getting-started-with-the-git-database-api#checking-mergeability-of-pull-requests)\".", + "description": "Returns a single reference from your Git database. The `:ref` in the URL must be formatted as `heads/` for branches and `tags/` for tags. If the `:ref` doesn't match an existing ref, a `404` is returned.\n\n> [!NOTE]\n> You need to explicitly [request a pull request](https://docs.github.com/enterprise-cloud@latest/rest/pulls/pulls#get-a-pull-request) to trigger a test merge commit, which checks the mergeability of pull requests. For more information, see \"[Checking mergeability of pull requests](https://docs.github.com/enterprise-cloud@latest/rest/guides/getting-started-with-the-git-database-api#checking-mergeability-of-pull-requests)\".", "tags": [ "git" ], "operationId": "git/get-ref", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/git/refs#get-a-reference" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/git/refs#get-a-reference" }, "parameters": [ { @@ -420401,7 +421323,7 @@ "operationId": "git/create-ref", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/git/refs#create-a-reference" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/git/refs#create-a-reference" }, "parameters": [ { @@ -420646,7 +421568,7 @@ "operationId": "git/update-ref", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/git/refs#update-a-reference" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/git/refs#update-a-reference" }, "parameters": [ { @@ -420892,7 +421814,7 @@ "operationId": "git/delete-ref", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/git/refs#delete-a-reference" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/git/refs#delete-a-reference" }, "parameters": [ { @@ -420970,14 +421892,14 @@ "/repos/{owner}/{repo}/git/tags": { "post": { "summary": "Create a tag object", - "description": "Note that creating a tag object does not create the reference that makes a tag in Git. If you want to create an annotated tag in Git, you have to do this call to create the tag object, and then [create](https://docs.github.com/enterprise-cloud@latest//rest/git/refs#create-a-reference) the `refs/tags/[tag]` reference. If you want to create a lightweight tag, you only have to [create](https://docs.github.com/enterprise-cloud@latest//rest/git/refs#create-a-reference) the tag reference - this call would be unnecessary.\n\n**Signature verification object**\n\nThe response will include a `verification` object that describes the result of verifying the commit's signature. The following fields are included in the `verification` object:\n\n| Name | Type | Description |\n| ---- | ---- | ----------- |\n| `verified` | `boolean` | Indicates whether GitHub considers the signature in this commit to be verified. |\n| `reason` | `string` | The reason for verified value. Possible values and their meanings are enumerated in table below. |\n| `signature` | `string` | The signature that was extracted from the commit. |\n| `payload` | `string` | The value that was signed. |\n| `verified_at` | `string` | The date the signature was verified by GitHub. |\n\nThese are the possible values for `reason` in the `verification` object:\n\n| Value | Description |\n| ----- | ----------- |\n| `expired_key` | The key that made the signature is expired. |\n| `not_signing_key` | The \"signing\" flag is not among the usage flags in the GPG key that made the signature. |\n| `gpgverify_error` | There was an error communicating with the signature verification service. |\n| `gpgverify_unavailable` | The signature verification service is currently unavailable. |\n| `unsigned` | The object does not include a signature. |\n| `unknown_signature_type` | A non-PGP signature was found in the commit. |\n| `no_user` | No user was associated with the `committer` email address in the commit. |\n| `unverified_email` | The `committer` email address in the commit was associated with a user, but the email address is not verified on their account. |\n| `bad_email` | The `committer` email address in the commit is not included in the identities of the PGP key that made the signature. |\n| `unknown_key` | The key that made the signature has not been registered with any user's account. |\n| `malformed_signature` | There was an error parsing the signature. |\n| `invalid` | The signature could not be cryptographically verified using the key whose key-id was found in the signature. |\n| `valid` | None of the above errors applied, so the signature is considered to be verified. |", + "description": "Note that creating a tag object does not create the reference that makes a tag in Git. If you want to create an annotated tag in Git, you have to do this call to create the tag object, and then [create](https://docs.github.com/enterprise-cloud@latest/rest/git/refs#create-a-reference) the `refs/tags/[tag]` reference. If you want to create a lightweight tag, you only have to [create](https://docs.github.com/enterprise-cloud@latest/rest/git/refs#create-a-reference) the tag reference - this call would be unnecessary.\n\n**Signature verification object**\n\nThe response will include a `verification` object that describes the result of verifying the commit's signature. The following fields are included in the `verification` object:\n\n| Name | Type | Description |\n| ---- | ---- | ----------- |\n| `verified` | `boolean` | Indicates whether GitHub considers the signature in this commit to be verified. |\n| `reason` | `string` | The reason for verified value. Possible values and their meanings are enumerated in table below. |\n| `signature` | `string` | The signature that was extracted from the commit. |\n| `payload` | `string` | The value that was signed. |\n| `verified_at` | `string` | The date the signature was verified by GitHub. |\n\nThese are the possible values for `reason` in the `verification` object:\n\n| Value | Description |\n| ----- | ----------- |\n| `expired_key` | The key that made the signature is expired. |\n| `not_signing_key` | The \"signing\" flag is not among the usage flags in the GPG key that made the signature. |\n| `gpgverify_error` | There was an error communicating with the signature verification service. |\n| `gpgverify_unavailable` | The signature verification service is currently unavailable. |\n| `unsigned` | The object does not include a signature. |\n| `unknown_signature_type` | A non-PGP signature was found in the commit. |\n| `no_user` | No user was associated with the `committer` email address in the commit. |\n| `unverified_email` | The `committer` email address in the commit was associated with a user, but the email address is not verified on their account. |\n| `bad_email` | The `committer` email address in the commit is not included in the identities of the PGP key that made the signature. |\n| `unknown_key` | The key that made the signature has not been registered with any user's account. |\n| `malformed_signature` | There was an error parsing the signature. |\n| `invalid` | The signature could not be cryptographically verified using the key whose key-id was found in the signature. |\n| `valid` | None of the above errors applied, so the signature is considered to be verified. |", "tags": [ "git" ], "operationId": "git/create-tag", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/git/tags#create-a-tag-object" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/git/tags#create-a-tag-object" }, "parameters": [ { @@ -421344,7 +422266,7 @@ "operationId": "git/get-tag", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/git/tags#get-a-tag" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/git/tags#get-a-tag" }, "parameters": [ { @@ -421584,14 +422506,14 @@ "/repos/{owner}/{repo}/git/trees": { "post": { "summary": "Create a tree", - "description": "The tree creation API accepts nested entries. If you specify both a tree and a nested path modifying that tree, this endpoint will overwrite the contents of the tree with the new path contents, and create a new tree structure.\n\nIf you use this endpoint to add, delete, or modify the file contents in a tree, you will need to commit the tree and then update a branch to point to the commit. For more information see \"[Create a commit](https://docs.github.com/enterprise-cloud@latest//rest/git/commits#create-a-commit)\" and \"[Update a reference](https://docs.github.com/enterprise-cloud@latest//rest/git/refs#update-a-reference).\"\n\nReturns an error if you try to delete a file that does not exist.", + "description": "The tree creation API accepts nested entries. If you specify both a tree and a nested path modifying that tree, this endpoint will overwrite the contents of the tree with the new path contents, and create a new tree structure.\n\nIf you use this endpoint to add, delete, or modify the file contents in a tree, you will need to commit the tree and then update a branch to point to the commit. For more information see \"[Create a commit](https://docs.github.com/enterprise-cloud@latest/rest/git/commits#create-a-commit)\" and \"[Update a reference](https://docs.github.com/enterprise-cloud@latest/rest/git/refs#update-a-reference).\"\n\nReturns an error if you try to delete a file that does not exist.", "tags": [ "git" ], "operationId": "git/create-tree", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/git/trees#create-a-tree" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/git/trees#create-a-tree" }, "parameters": [ { @@ -421961,7 +422883,7 @@ "operationId": "git/get-tree", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/git/trees#get-a-tree" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/git/trees#get-a-tree" }, "parameters": [ { @@ -422274,7 +423196,7 @@ "operationId": "repos/list-webhooks", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#list-repository-webhooks" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/repos/webhooks#list-repository-webhooks" }, "parameters": [ { @@ -422297,7 +423219,7 @@ }, { "name": "per_page", - "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -422306,7 +423228,7 @@ }, { "name": "page", - "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -422373,7 +423295,7 @@ }, "secret": { "type": "string", - "description": "If provided, the `secret` will be used as the `key` to generate the HMAC hex digest value for [delivery signature headers](https://docs.github.com/enterprise-cloud@latest//webhooks/event-payloads/#delivery-headers).", + "description": "If provided, the `secret` will be used as the `key` to generate the HMAC hex digest value for [delivery signature headers](https://docs.github.com/enterprise-cloud@latest/webhooks/event-payloads/#delivery-headers).", "example": "\"********\"" }, "insecure_ssl": { @@ -422546,7 +423468,7 @@ "operationId": "repos/create-webhook", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#create-a-repository-webhook" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/repos/webhooks#create-a-repository-webhook" }, "parameters": [ { @@ -422597,7 +423519,7 @@ }, "secret": { "type": "string", - "description": "If provided, the `secret` will be used as the `key` to generate the HMAC hex digest value for [delivery signature headers](https://docs.github.com/enterprise-cloud@latest//webhooks/event-payloads/#delivery-headers).", + "description": "If provided, the `secret` will be used as the `key` to generate the HMAC hex digest value for [delivery signature headers](https://docs.github.com/enterprise-cloud@latest/webhooks/event-payloads/#delivery-headers).", "example": "\"********\"" }, "insecure_ssl": { @@ -422616,7 +423538,7 @@ }, "events": { "type": "array", - "description": "Determines what [events](https://docs.github.com/enterprise-cloud@latest//webhooks/event-payloads) the hook is triggered for.", + "description": "Determines what [events](https://docs.github.com/enterprise-cloud@latest/webhooks/event-payloads) the hook is triggered for.", "default": [ "push" ], @@ -422709,7 +423631,7 @@ }, "secret": { "type": "string", - "description": "If provided, the `secret` will be used as the `key` to generate the HMAC hex digest value for [delivery signature headers](https://docs.github.com/enterprise-cloud@latest//webhooks/event-payloads/#delivery-headers).", + "description": "If provided, the `secret` will be used as the `key` to generate the HMAC hex digest value for [delivery signature headers](https://docs.github.com/enterprise-cloud@latest/webhooks/event-payloads/#delivery-headers).", "example": "\"********\"" }, "insecure_ssl": { @@ -422976,7 +423898,7 @@ "operationId": "repos/get-webhook", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#get-a-repository-webhook" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/repos/webhooks#get-a-repository-webhook" }, "parameters": [ { @@ -423064,7 +423986,7 @@ }, "secret": { "type": "string", - "description": "If provided, the `secret` will be used as the `key` to generate the HMAC hex digest value for [delivery signature headers](https://docs.github.com/enterprise-cloud@latest//webhooks/event-payloads/#delivery-headers).", + "description": "If provided, the `secret` will be used as the `key` to generate the HMAC hex digest value for [delivery signature headers](https://docs.github.com/enterprise-cloud@latest/webhooks/event-payloads/#delivery-headers).", "example": "\"********\"" }, "insecure_ssl": { @@ -423226,7 +424148,7 @@ "operationId": "repos/update-webhook", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#update-a-repository-webhook" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/repos/webhooks#update-a-repository-webhook" }, "parameters": [ { @@ -423282,7 +424204,7 @@ }, "secret": { "type": "string", - "description": "If provided, the `secret` will be used as the `key` to generate the HMAC hex digest value for [delivery signature headers](https://docs.github.com/enterprise-cloud@latest//webhooks/event-payloads/#delivery-headers).", + "description": "If provided, the `secret` will be used as the `key` to generate the HMAC hex digest value for [delivery signature headers](https://docs.github.com/enterprise-cloud@latest/webhooks/event-payloads/#delivery-headers).", "example": "\"********\"" }, "insecure_ssl": { @@ -423301,7 +424223,7 @@ }, "events": { "type": "array", - "description": "Determines what [events](https://docs.github.com/enterprise-cloud@latest//webhooks/event-payloads) the hook is triggered for. This replaces the entire array of events.", + "description": "Determines what [events](https://docs.github.com/enterprise-cloud@latest/webhooks/event-payloads) the hook is triggered for. This replaces the entire array of events.", "default": [ "push" ], @@ -423400,7 +424322,7 @@ }, "secret": { "type": "string", - "description": "If provided, the `secret` will be used as the `key` to generate the HMAC hex digest value for [delivery signature headers](https://docs.github.com/enterprise-cloud@latest//webhooks/event-payloads/#delivery-headers).", + "description": "If provided, the `secret` will be used as the `key` to generate the HMAC hex digest value for [delivery signature headers](https://docs.github.com/enterprise-cloud@latest/webhooks/event-payloads/#delivery-headers).", "example": "\"********\"" }, "insecure_ssl": { @@ -423631,7 +424553,7 @@ "operationId": "repos/delete-webhook", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#delete-a-repository-webhook" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/repos/webhooks#delete-a-repository-webhook" }, "parameters": [ { @@ -423711,7 +424633,7 @@ "operationId": "repos/get-webhook-config-for-repo", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#get-a-webhook-configuration-for-a-repository" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/repos/webhooks#get-a-webhook-configuration-for-a-repository" }, "parameters": [ { @@ -423765,7 +424687,7 @@ }, "secret": { "type": "string", - "description": "If provided, the `secret` will be used as the `key` to generate the HMAC hex digest value for [delivery signature headers](https://docs.github.com/enterprise-cloud@latest//webhooks/event-payloads/#delivery-headers).", + "description": "If provided, the `secret` will be used as the `key` to generate the HMAC hex digest value for [delivery signature headers](https://docs.github.com/enterprise-cloud@latest/webhooks/event-payloads/#delivery-headers).", "example": "\"********\"" }, "insecure_ssl": { @@ -423812,7 +424734,7 @@ "operationId": "repos/update-webhook-config-for-repo", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#update-a-webhook-configuration-for-a-repository" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/repos/webhooks#update-a-webhook-configuration-for-a-repository" }, "parameters": [ { @@ -423864,7 +424786,7 @@ }, "secret": { "type": "string", - "description": "If provided, the `secret` will be used as the `key` to generate the HMAC hex digest value for [delivery signature headers](https://docs.github.com/enterprise-cloud@latest//webhooks/event-payloads/#delivery-headers).", + "description": "If provided, the `secret` will be used as the `key` to generate the HMAC hex digest value for [delivery signature headers](https://docs.github.com/enterprise-cloud@latest/webhooks/event-payloads/#delivery-headers).", "example": "\"********\"" }, "insecure_ssl": { @@ -423916,7 +424838,7 @@ }, "secret": { "type": "string", - "description": "If provided, the `secret` will be used as the `key` to generate the HMAC hex digest value for [delivery signature headers](https://docs.github.com/enterprise-cloud@latest//webhooks/event-payloads/#delivery-headers).", + "description": "If provided, the `secret` will be used as the `key` to generate the HMAC hex digest value for [delivery signature headers](https://docs.github.com/enterprise-cloud@latest/webhooks/event-payloads/#delivery-headers).", "example": "\"********\"" }, "insecure_ssl": { @@ -423965,7 +424887,7 @@ "operationId": "repos/list-webhook-deliveries", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#list-deliveries-for-a-repository-webhook" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/repos/webhooks#list-deliveries-for-a-repository-webhook" }, "parameters": [ { @@ -423997,7 +424919,7 @@ }, { "name": "per_page", - "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -424309,7 +425231,7 @@ "operationId": "repos/get-webhook-delivery", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#get-a-delivery-for-a-repository-webhook" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/repos/webhooks#get-a-delivery-for-a-repository-webhook" }, "parameters": [ { @@ -424687,7 +425609,7 @@ "operationId": "repos/redeliver-webhook-delivery", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#redeliver-a-delivery-for-a-repository-webhook" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/repos/webhooks#redeliver-a-delivery-for-a-repository-webhook" }, "parameters": [ { @@ -424883,14 +425805,14 @@ "/repos/{owner}/{repo}/hooks/{hook_id}/pings": { "post": { "summary": "Ping a repository webhook", - "description": "This will trigger a [ping event](https://docs.github.com/enterprise-cloud@latest//webhooks/#ping-event) to be sent to the hook.", + "description": "This will trigger a [ping event](https://docs.github.com/enterprise-cloud@latest/webhooks/#ping-event) to be sent to the hook.", "tags": [ "repos" ], "operationId": "repos/ping-webhook", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#ping-a-repository-webhook" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/repos/webhooks#ping-a-repository-webhook" }, "parameters": [ { @@ -424970,7 +425892,7 @@ "operationId": "repos/test-push-webhook", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#test-the-push-repository-webhook" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/repos/webhooks#test-the-push-repository-webhook" }, "parameters": [ { @@ -425050,7 +425972,7 @@ "operationId": "repos/check-immutable-releases", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#check-if-immutable-releases-are-enabled-for-a-repository" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#check-if-immutable-releases-are-enabled-for-a-repository" }, "parameters": [ { @@ -425129,7 +426051,7 @@ "operationId": "repos/enable-immutable-releases", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#enable-immutable-releases" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#enable-immutable-releases" }, "parameters": [ { @@ -425198,7 +426120,7 @@ "operationId": "repos/disable-immutable-releases", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#disable-immutable-releases" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#disable-immutable-releases" }, "parameters": [ { @@ -425262,14 +426184,14 @@ "/repos/{owner}/{repo}/import": { "get": { "summary": "Get an import status", - "description": "View the progress of an import.\n\n> [!WARNING]\n> **Endpoint closing down notice:** Due to very low levels of usage and available alternatives, this endpoint is closing down and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation).\n\n**Import status**\n\nThis section includes details about the possible values of the `status` field of the Import Progress response.\n\nAn import that does not have errors will progress through these steps:\n\n* `detecting` - the \"detection\" step of the import is in progress because the request did not include a `vcs` parameter. The import is identifying the type of source control present at the URL.\n* `importing` - the \"raw\" step of the import is in progress. This is where commit data is fetched from the original repository. The import progress response will include `commit_count` (the total number of raw commits that will be imported) and `percent` (0 - 100, the current progress through the import).\n* `mapping` - the \"rewrite\" step of the import is in progress. This is where SVN branches are converted to Git branches, and where author updates are applied. The import progress response does not include progress information.\n* `pushing` - the \"push\" step of the import is in progress. This is where the importer updates the repository on GitHub Enterprise Cloud. The import progress response will include `push_percent`, which is the percent value reported by `git push` when it is \"Writing objects\".\n* `complete` - the import is complete, and the repository is ready on GitHub Enterprise Cloud.\n\nIf there are problems, you will see one of these in the `status` field:\n\n* `auth_failed` - the import requires authentication in order to connect to the original repository. To update authentication for the import, please see the [Update an import](https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#update-an-import) section.\n* `error` - the import encountered an error. The import progress response will include the `failed_step` and an error message. Contact [GitHub Enterprise Cloud Support](https://support.github.com/contact?tags=dotcom-rest-api) for more information.\n* `detection_needs_auth` - the importer requires authentication for the originating repository to continue detection. To update authentication for the import, please see the [Update an import](https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#update-an-import) section.\n* `detection_found_nothing` - the importer didn't recognize any source control at the URL. To resolve, [Cancel the import](https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#cancel-an-import) and [retry](https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#start-an-import) with the correct URL.\n* `detection_found_multiple` - the importer found several projects or repositories at the provided URL. When this is the case, the Import Progress response will also include a `project_choices` field with the possible project choices as values. To update project choice, please see the [Update an import](https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#update-an-import) section.\n\n**The project_choices field**\n\nWhen multiple projects are found at the provided URL, the response hash will include a `project_choices` field, the value of which is an array of hashes each representing a project choice. The exact key/value pairs of the project hashes will differ depending on the version control type.\n\n**Git LFS related fields**\n\nThis section includes details about Git LFS related fields that may be present in the Import Progress response.\n\n* `use_lfs` - describes whether the import has been opted in or out of using Git LFS. The value can be `opt_in`, `opt_out`, or `undecided` if no action has been taken.\n* `has_large_files` - the boolean value describing whether files larger than 100MB were found during the `importing` step.\n* `large_files_size` - the total size in gigabytes of files larger than 100MB found in the originating repository.\n* `large_files_count` - the total number of files larger than 100MB found in the originating repository. To see a list of these files, make a \"Get Large Files\" request.", + "description": "View the progress of an import.\n\n> [!WARNING]\n> **Endpoint closing down notice:** Due to very low levels of usage and available alternatives, this endpoint is closing down and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation).\n\n**Import status**\n\nThis section includes details about the possible values of the `status` field of the Import Progress response.\n\nAn import that does not have errors will progress through these steps:\n\n* `detecting` - the \"detection\" step of the import is in progress because the request did not include a `vcs` parameter. The import is identifying the type of source control present at the URL.\n* `importing` - the \"raw\" step of the import is in progress. This is where commit data is fetched from the original repository. The import progress response will include `commit_count` (the total number of raw commits that will be imported) and `percent` (0 - 100, the current progress through the import).\n* `mapping` - the \"rewrite\" step of the import is in progress. This is where SVN branches are converted to Git branches, and where author updates are applied. The import progress response does not include progress information.\n* `pushing` - the \"push\" step of the import is in progress. This is where the importer updates the repository on GitHub Enterprise Cloud. The import progress response will include `push_percent`, which is the percent value reported by `git push` when it is \"Writing objects\".\n* `complete` - the import is complete, and the repository is ready on GitHub Enterprise Cloud.\n\nIf there are problems, you will see one of these in the `status` field:\n\n* `auth_failed` - the import requires authentication in order to connect to the original repository. To update authentication for the import, please see the [Update an import](https://docs.github.com/enterprise-cloud@latest/rest/migrations/source-imports#update-an-import) section.\n* `error` - the import encountered an error. The import progress response will include the `failed_step` and an error message. Contact [GitHub Enterprise Cloud Support](https://support.github.com/contact?tags=dotcom-rest-api) for more information.\n* `detection_needs_auth` - the importer requires authentication for the originating repository to continue detection. To update authentication for the import, please see the [Update an import](https://docs.github.com/enterprise-cloud@latest/rest/migrations/source-imports#update-an-import) section.\n* `detection_found_nothing` - the importer didn't recognize any source control at the URL. To resolve, [Cancel the import](https://docs.github.com/enterprise-cloud@latest/rest/migrations/source-imports#cancel-an-import) and [retry](https://docs.github.com/enterprise-cloud@latest/rest/migrations/source-imports#start-an-import) with the correct URL.\n* `detection_found_multiple` - the importer found several projects or repositories at the provided URL. When this is the case, the Import Progress response will also include a `project_choices` field with the possible project choices as values. To update project choice, please see the [Update an import](https://docs.github.com/enterprise-cloud@latest/rest/migrations/source-imports#update-an-import) section.\n\n**The project_choices field**\n\nWhen multiple projects are found at the provided URL, the response hash will include a `project_choices` field, the value of which is an array of hashes each representing a project choice. The exact key/value pairs of the project hashes will differ depending on the version control type.\n\n**Git LFS related fields**\n\nThis section includes details about Git LFS related fields that may be present in the Import Progress response.\n\n* `use_lfs` - describes whether the import has been opted in or out of using Git LFS. The value can be `opt_in`, `opt_out`, or `undecided` if no action has been taken.\n* `has_large_files` - the boolean value describing whether files larger than 100MB were found during the `importing` step.\n* `large_files_size` - the total size in gigabytes of files larger than 100MB found in the originating repository.\n* `large_files_count` - the total number of files larger than 100MB found in the originating repository. To see a list of these files, make a \"Get Large Files\" request.", "tags": [ "migrations" ], "operationId": "migrations/get-import-status", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#get-an-import-status" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/migrations/source-imports#get-an-import-status" }, "parameters": [ { @@ -425520,7 +426442,7 @@ "operationId": "migrations/start-import", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#start-an-import" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/migrations/source-imports#start-an-import" }, "parameters": [ { @@ -425900,7 +426822,7 @@ "operationId": "migrations/update-import", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#update-an-import" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/migrations/source-imports#update-an-import" }, "parameters": [ { @@ -426217,7 +427139,7 @@ "operationId": "migrations/cancel-import", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#cancel-an-import" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/migrations/source-imports#cancel-an-import" }, "parameters": [ { @@ -426284,14 +427206,14 @@ "/repos/{owner}/{repo}/import/authors": { "get": { "summary": "Get commit authors", - "description": "Each type of source control system represents authors in a different way. For example, a Git commit author has a display name and an email address, but a Subversion commit author just has a username. The GitHub Enterprise Cloud Importer will make the author information valid, but the author might not be correct. For example, it will change the bare Subversion username `hubot` into something like `hubot `.\n\nThis endpoint and the [Map a commit author](https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#map-a-commit-author) endpoint allow you to provide correct Git author information.\n\n> [!WARNING]\n> **Endpoint closing down notice:** Due to very low levels of usage and available alternatives, this endpoint is closing down and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation).", + "description": "Each type of source control system represents authors in a different way. For example, a Git commit author has a display name and an email address, but a Subversion commit author just has a username. The GitHub Enterprise Cloud Importer will make the author information valid, but the author might not be correct. For example, it will change the bare Subversion username `hubot` into something like `hubot `.\n\nThis endpoint and the [Map a commit author](https://docs.github.com/enterprise-cloud@latest/rest/migrations/source-imports#map-a-commit-author) endpoint allow you to provide correct Git author information.\n\n> [!WARNING]\n> **Endpoint closing down notice:** Due to very low levels of usage and available alternatives, this endpoint is closing down and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation).", "tags": [ "migrations" ], "operationId": "migrations/get-commit-authors", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#get-commit-authors" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/migrations/source-imports#get-commit-authors" }, "parameters": [ { @@ -426479,7 +427401,7 @@ "operationId": "migrations/map-commit-author", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#map-a-commit-author" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/migrations/source-imports#map-a-commit-author" }, "parameters": [ { @@ -426741,7 +427663,7 @@ "operationId": "migrations/get-large-files", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#get-large-files" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/migrations/source-imports#get-large-files" }, "parameters": [ { @@ -426864,14 +427786,14 @@ "/repos/{owner}/{repo}/import/lfs": { "patch": { "summary": "Update Git LFS preference", - "description": "You can import repositories from Subversion, Mercurial, and TFS that include files larger than 100MB. This ability\nis powered by [Git LFS](https://git-lfs.com).\n\nYou can learn more about our LFS feature and working with large files [on our help\nsite](https://docs.github.com/enterprise-cloud@latest//repositories/working-with-files/managing-large-files).\n\n> [!WARNING]\n> **Endpoint closing down notice:** Due to very low levels of usage and available alternatives, this endpoint is closing down and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation).", + "description": "You can import repositories from Subversion, Mercurial, and TFS that include files larger than 100MB. This ability\nis powered by [Git LFS](https://git-lfs.com).\n\nYou can learn more about our LFS feature and working with large files [on our help\nsite](https://docs.github.com/enterprise-cloud@latest/repositories/working-with-files/managing-large-files).\n\n> [!WARNING]\n> **Endpoint closing down notice:** Due to very low levels of usage and available alternatives, this endpoint is closing down and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation).", "tags": [ "migrations" ], "operationId": "migrations/set-lfs-preference", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#update-git-lfs-preference" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/migrations/source-imports#update-git-lfs-preference" }, "parameters": [ { @@ -427190,14 +428112,14 @@ "/repos/{owner}/{repo}/installation": { "get": { "summary": "Get a repository installation for the authenticated app", - "description": "Enables an authenticated GitHub App to find the repository's installation information. The installation's account type will be either an organization or a user account, depending which account the repository belongs to.\n\nYou must use a [JWT](https://docs.github.com/enterprise-cloud@latest//apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.", + "description": "Enables an authenticated GitHub App to find the repository's installation information. The installation's account type will be either an organization or a user account, depending which account the repository belongs to.\n\nYou must use a [JWT](https://docs.github.com/enterprise-cloud@latest/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.", "tags": [ "apps" ], "operationId": "apps/get-repo-installation", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/apps/apps#get-a-repository-installation-for-the-authenticated-app" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/apps/apps#get-a-repository-installation-for-the-authenticated-app" }, "parameters": [ { @@ -428252,7 +429174,7 @@ "operationId": "interactions/get-restrictions-for-repo", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/interactions/repos#get-interaction-restrictions-for-a-repository" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/interactions/repos#get-interaction-restrictions-for-a-repository" }, "parameters": [ { @@ -428348,7 +429270,7 @@ "operationId": "interactions/set-restrictions-for-repo", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/interactions/repos#set-interaction-restrictions-for-a-repository" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/interactions/repos#set-interaction-restrictions-for-a-repository" }, "parameters": [ { @@ -428486,7 +429408,7 @@ "operationId": "interactions/remove-restrictions-for-repo", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/interactions/repos#remove-interaction-restrictions-for-a-repository" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/interactions/repos#remove-interaction-restrictions-for-a-repository" }, "parameters": [ { @@ -428534,7 +429456,7 @@ "operationId": "repos/list-invitations", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#list-repository-invitations" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/collaborators/invitations#list-repository-invitations" }, "parameters": [ { @@ -428557,7 +429479,7 @@ }, { "name": "per_page", - "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -428566,7 +429488,7 @@ }, { "name": "page", - "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -429809,7 +430731,7 @@ "operationId": "repos/update-invitation", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#update-a-repository-invitation" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/collaborators/invitations#update-a-repository-invitation" }, "parameters": [ { @@ -431092,7 +432014,7 @@ "operationId": "repos/delete-invitation", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#delete-a-repository-invitation" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/collaborators/invitations#delete-a-repository-invitation" }, "parameters": [ { @@ -431139,14 +432061,14 @@ "/repos/{owner}/{repo}/issues": { "get": { "summary": "List repository issues", - "description": "List issues in a repository. Only open issues will be listed.\n\n> [!NOTE]\n> GitHub's REST API considers every pull request an issue, but not every issue is a pull request. For this reason, \"Issues\" endpoints may return both issues and pull requests in the response. You can identify pull requests by the `pull_request` key. Be aware that the `id` of a pull request returned from \"Issues\" endpoints will be an _issue id_. To find out the pull request id, use the \"[List pull requests](https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#list-pull-requests)\" endpoint.\n\nThis endpoint supports the following custom media types. For more information, see \"[Media types](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/getting-started-with-the-rest-api#media-types).\"\n\n- **`application/vnd.github.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass any specific media type.\n- **`application/vnd.github.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`.\n- **`application/vnd.github.html+json`**: Returns HTML rendered from the body's markdown. Response will include `body_html`.\n- **`application/vnd.github.full+json`**: Returns raw, text, and HTML representations. Response will include `body`, `body_text`, and `body_html`.", + "description": "List issues in a repository. Only open issues will be listed.\n\n> [!NOTE]\n> GitHub's REST API considers every pull request an issue, but not every issue is a pull request. For this reason, \"Issues\" endpoints may return both issues and pull requests in the response. You can identify pull requests by the `pull_request` key. Be aware that the `id` of a pull request returned from \"Issues\" endpoints will be an _issue id_. To find out the pull request id, use the \"[List pull requests](https://docs.github.com/enterprise-cloud@latest/rest/pulls/pulls#list-pull-requests)\" endpoint.\n\nThis endpoint supports the following custom media types. For more information, see \"[Media types](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types).\"\n\n- **`application/vnd.github.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass any specific media type.\n- **`application/vnd.github.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`.\n- **`application/vnd.github.html+json`**: Returns HTML rendered from the body's markdown. Response will include `body_html`.\n- **`application/vnd.github.full+json`**: Returns raw, text, and HTML representations. Response will include `body`, `body_text`, and `body_html`.", "tags": [ "issues" ], "operationId": "issues/list-for-repo", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#list-repository-issues" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#list-repository-issues" }, "parameters": [ { @@ -431277,7 +432199,7 @@ }, { "name": "per_page", - "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -431286,7 +432208,7 @@ }, { "name": "page", - "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -434565,14 +435487,14 @@ }, "post": { "summary": "Create an issue", - "description": "Any user with pull access to a repository can create an issue. If [issues are disabled in the repository](https://docs.github.com/enterprise-cloud@latest//articles/disabling-issues/), the API returns a `410 Gone` status.\n\nThis endpoint triggers [notifications](https://docs.github.com/enterprise-cloud@latest//github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see \"[Rate limits for the API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/rate-limits-for-the-rest-api#about-secondary-rate-limits)\"\nand \"[Best practices for using the REST API](https://docs.github.com/enterprise-cloud@latest//rest/guides/best-practices-for-using-the-rest-api).\"\n\nThis endpoint supports the following custom media types. For more information, see \"[Media types](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/getting-started-with-the-rest-api#media-types).\"\n\n- **`application/vnd.github.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass any specific media type.\n- **`application/vnd.github.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`.\n- **`application/vnd.github.html+json`**: Returns HTML rendered from the body's markdown. Response will include `body_html`.\n- **`application/vnd.github.full+json`**: Returns raw, text, and HTML representations. Response will include `body`, `body_text`, and `body_html`.", + "description": "Any user with pull access to a repository can create an issue. If [issues are disabled in the repository](https://docs.github.com/enterprise-cloud@latest/articles/disabling-issues/), the API returns a `410 Gone` status.\n\nThis endpoint triggers [notifications](https://docs.github.com/enterprise-cloud@latest/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see \"[Rate limits for the API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/rate-limits-for-the-rest-api#about-secondary-rate-limits)\"\nand \"[Best practices for using the REST API](https://docs.github.com/enterprise-cloud@latest/rest/guides/best-practices-for-using-the-rest-api).\"\n\nThis endpoint supports the following custom media types. For more information, see \"[Media types](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types).\"\n\n- **`application/vnd.github.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass any specific media type.\n- **`application/vnd.github.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`.\n- **`application/vnd.github.html+json`**: Returns HTML rendered from the body's markdown. Response will include `body_html`.\n- **`application/vnd.github.full+json`**: Returns raw, text, and HTML representations. Response will include `body`, `body_text`, and `body_html`.", "tags": [ "issues" ], "operationId": "issues/create", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#create-an-issue" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#create-an-issue" }, "parameters": [ { @@ -438075,14 +438997,14 @@ "/repos/{owner}/{repo}/issues/comments": { "get": { "summary": "List issue comments for a repository", - "description": "You can use the REST API to list comments on issues and pull requests for a repository. Every pull request is an issue, but not every issue is a pull request.\n\nBy default, issue comments are ordered by ascending ID.\n\nThis endpoint supports the following custom media types. For more information, see \"[Media types](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/getting-started-with-the-rest-api#media-types).\"\n\n- **`application/vnd.github.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass any specific media type.\n- **`application/vnd.github.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`.\n- **`application/vnd.github.html+json`**: Returns HTML rendered from the body's markdown. Response will include `body_html`.\n- **`application/vnd.github.full+json`**: Returns raw, text, and HTML representations. Response will include `body`, `body_text`, and `body_html`.", + "description": "You can use the REST API to list comments on issues and pull requests for a repository. Every pull request is an issue, but not every issue is a pull request.\n\nBy default, issue comments are ordered by ascending ID.\n\nThis endpoint supports the following custom media types. For more information, see \"[Media types](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types).\"\n\n- **`application/vnd.github.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass any specific media type.\n- **`application/vnd.github.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`.\n- **`application/vnd.github.html+json`**: Returns HTML rendered from the body's markdown. Response will include `body_html`.\n- **`application/vnd.github.full+json`**: Returns raw, text, and HTML representations. Response will include `body`, `body_text`, and `body_html`.", "tags": [ "issues" ], "operationId": "issues/list-comments-for-repo", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#list-issue-comments-for-a-repository" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/issues/comments#list-issue-comments-for-a-repository" }, "parameters": [ { @@ -438142,7 +439064,7 @@ }, { "name": "per_page", - "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -438151,7 +439073,7 @@ }, { "name": "page", - "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -439024,14 +439946,14 @@ "/repos/{owner}/{repo}/issues/comments/{comment_id}": { "get": { "summary": "Get an issue comment", - "description": "You can use the REST API to get comments on issues and pull requests. Every pull request is an issue, but not every issue is a pull request.\n\nThis endpoint supports the following custom media types. For more information, see \"[Media types](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/getting-started-with-the-rest-api#media-types).\"\n\n- **`application/vnd.github.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass any specific media type.\n- **`application/vnd.github.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`.\n- **`application/vnd.github.html+json`**: Returns HTML rendered from the body's markdown. Response will include `body_html`.\n- **`application/vnd.github.full+json`**: Returns raw, text, and HTML representations. Response will include `body`, `body_text`, and `body_html`.", + "description": "You can use the REST API to get comments on issues and pull requests. Every pull request is an issue, but not every issue is a pull request.\n\nThis endpoint supports the following custom media types. For more information, see \"[Media types](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types).\"\n\n- **`application/vnd.github.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass any specific media type.\n- **`application/vnd.github.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`.\n- **`application/vnd.github.html+json`**: Returns HTML rendered from the body's markdown. Response will include `body_html`.\n- **`application/vnd.github.full+json`**: Returns raw, text, and HTML representations. Response will include `body`, `body_text`, and `body_html`.", "tags": [ "issues" ], "operationId": "issues/get-comment", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#get-an-issue-comment" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/issues/comments#get-an-issue-comment" }, "parameters": [ { @@ -439845,14 +440767,14 @@ }, "patch": { "summary": "Update an issue comment", - "description": "You can use the REST API to update comments on issues and pull requests. Every pull request is an issue, but not every issue is a pull request.\n\nThis endpoint supports the following custom media types. For more information, see \"[Media types](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/getting-started-with-the-rest-api#media-types).\"\n\n- **`application/vnd.github.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass any specific media type.\n- **`application/vnd.github.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`.\n- **`application/vnd.github.html+json`**: Returns HTML rendered from the body's markdown. Response will include `body_html`.\n- **`application/vnd.github.full+json`**: Returns raw, text, and HTML representations. Response will include `body`, `body_text`, and `body_html`.", + "description": "You can use the REST API to update comments on issues and pull requests. Every pull request is an issue, but not every issue is a pull request.\n\nThis endpoint supports the following custom media types. For more information, see \"[Media types](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types).\"\n\n- **`application/vnd.github.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass any specific media type.\n- **`application/vnd.github.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`.\n- **`application/vnd.github.html+json`**: Returns HTML rendered from the body's markdown. Response will include `body_html`.\n- **`application/vnd.github.full+json`**: Returns raw, text, and HTML representations. Response will include `body`, `body_text`, and `body_html`.", "tags": [ "issues" ], "operationId": "issues/update-comment", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#update-an-issue-comment" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/issues/comments#update-an-issue-comment" }, "parameters": [ { @@ -440742,7 +441664,7 @@ "operationId": "issues/delete-comment", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#delete-an-issue-comment" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/issues/comments#delete-an-issue-comment" }, "parameters": [ { @@ -440790,14 +441712,14 @@ "/repos/{owner}/{repo}/issues/comments/{comment_id}/pin": { "put": { "summary": "Pin an issue comment", - "description": "You can use the REST API to pin comments on issues.\n\nThis endpoint supports the following custom media types. For more information, see \"[Media types](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/getting-started-with-the-rest-api#media-types).\"\n\n- **`application/vnd.github.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass any specific media type.\n- **`application/vnd.github.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`.\n- **`application/vnd.github.html+json`**: Returns HTML rendered from the body's markdown. Response will include `body_html`.\n- **`application/vnd.github.full+json`**: Returns raw, text, and HTML representations. Response will include `body`, `body_text`, and `body_html`.", + "description": "You can use the REST API to pin comments on issues.\n\nThis endpoint supports the following custom media types. For more information, see \"[Media types](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types).\"\n\n- **`application/vnd.github.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass any specific media type.\n- **`application/vnd.github.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`.\n- **`application/vnd.github.html+json`**: Returns HTML rendered from the body's markdown. Response will include `body_html`.\n- **`application/vnd.github.full+json`**: Returns raw, text, and HTML representations. Response will include `body`, `body_text`, and `body_html`.", "tags": [ "issues" ], "operationId": "issues/pin-comment", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#pin-an-issue-comment" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/issues/comments#pin-an-issue-comment" }, "parameters": [ { @@ -441787,7 +442709,7 @@ "operationId": "issues/unpin-comment", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#unpin-an-issue-comment" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/issues/comments#unpin-an-issue-comment" }, "parameters": [ { @@ -441960,14 +442882,14 @@ "/repos/{owner}/{repo}/issues/comments/{comment_id}/reactions": { "get": { "summary": "List reactions for an issue comment", - "description": "List the reactions to an [issue comment](https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#get-an-issue-comment).", + "description": "List the reactions to an [issue comment](https://docs.github.com/enterprise-cloud@latest/rest/issues/comments#get-an-issue-comment).", "tags": [ "reactions" ], "operationId": "reactions/list-for-issue-comment", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-an-issue-comment" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/reactions/reactions#list-reactions-for-an-issue-comment" }, "parameters": [ { @@ -442000,7 +442922,7 @@ }, { "name": "content", - "description": "Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to an issue comment.", + "description": "Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest/rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to an issue comment.", "in": "query", "required": false, "schema": { @@ -442019,7 +442941,7 @@ }, { "name": "per_page", - "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -442028,7 +442950,7 @@ }, { "name": "page", - "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -442290,14 +443212,14 @@ }, "post": { "summary": "Create reaction for an issue comment", - "description": "Create a reaction to an [issue comment](https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#get-an-issue-comment). A response with an HTTP `200` status means that you already added the reaction type to this issue comment.", + "description": "Create a reaction to an [issue comment](https://docs.github.com/enterprise-cloud@latest/rest/issues/comments#get-an-issue-comment). A response with an HTTP `200` status means that you already added the reaction type to this issue comment.", "tags": [ "reactions" ], "operationId": "reactions/create-for-issue-comment", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-an-issue-comment" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/reactions/reactions#create-reaction-for-an-issue-comment" }, "parameters": [ { @@ -442338,7 +443260,7 @@ "properties": { "content": { "type": "string", - "description": "The [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions) to add to the issue comment.", + "description": "The [reaction type](https://docs.github.com/enterprise-cloud@latest/rest/reactions/reactions#about-reactions) to add to the issue comment.", "enum": [ "+1", "-1", @@ -442855,14 +443777,14 @@ "/repos/{owner}/{repo}/issues/comments/{comment_id}/reactions/{reaction_id}": { "delete": { "summary": "Delete an issue comment reaction", - "description": "> [!NOTE]\n> You can also specify a repository by `repository_id` using the route `DELETE delete /repositories/:repository_id/issues/comments/:comment_id/reactions/:reaction_id`.\n\nDelete a reaction to an [issue comment](https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#get-an-issue-comment).", + "description": "> [!NOTE]\n> You can also specify a repository by `repository_id` using the route `DELETE delete /repositories/:repository_id/issues/comments/:comment_id/reactions/:reaction_id`.\n\nDelete a reaction to an [issue comment](https://docs.github.com/enterprise-cloud@latest/rest/issues/comments#get-an-issue-comment).", "tags": [ "reactions" ], "operationId": "reactions/delete-for-issue-comment", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-an-issue-comment-reaction" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/reactions/reactions#delete-an-issue-comment-reaction" }, "parameters": [ { @@ -442926,7 +443848,7 @@ "operationId": "issues/list-events-for-repo", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/issues/events#list-issue-events-for-a-repository" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/issues/events#list-issue-events-for-a-repository" }, "parameters": [ { @@ -442949,7 +443871,7 @@ }, { "name": "per_page", - "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -442958,7 +443880,7 @@ }, { "name": "page", - "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -447526,7 +448448,7 @@ "operationId": "issues/get-event", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/issues/events#get-an-issue-event" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/issues/events#get-an-issue-event" }, "parameters": [ { @@ -452144,14 +453066,14 @@ "/repos/{owner}/{repo}/issues/{issue_number}": { "get": { "summary": "Get an issue", - "description": "The API returns a [`301 Moved Permanently` status](https://docs.github.com/enterprise-cloud@latest//rest/guides/best-practices-for-using-the-rest-api#follow-redirects) if the issue was\n[transferred](https://docs.github.com/enterprise-cloud@latest//articles/transferring-an-issue-to-another-repository/) to another repository. If\nthe issue was transferred to or deleted from a repository where the authenticated user lacks read access, the API\nreturns a `404 Not Found` status. If the issue was deleted from a repository where the authenticated user has read\naccess, the API returns a `410 Gone` status. To receive webhook events for transferred and deleted issues, subscribe\nto the [`issues`](https://docs.github.com/enterprise-cloud@latest//webhooks/event-payloads/#issues) webhook.\n\n> [!NOTE]\n> GitHub's REST API considers every pull request an issue, but not every issue is a pull request. For this reason, \"Issues\" endpoints may return both issues and pull requests in the response. You can identify pull requests by the `pull_request` key. Be aware that the `id` of a pull request returned from \"Issues\" endpoints will be an _issue id_. To find out the pull request id, use the \"[List pull requests](https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#list-pull-requests)\" endpoint.\n\nThis endpoint supports the following custom media types. For more information, see \"[Media types](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/getting-started-with-the-rest-api#media-types).\"\n\n- **`application/vnd.github.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass any specific media type.\n- **`application/vnd.github.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`.\n- **`application/vnd.github.html+json`**: Returns HTML rendered from the body's markdown. Response will include `body_html`.\n- **`application/vnd.github.full+json`**: Returns raw, text, and HTML representations. Response will include `body`, `body_text`, and `body_html`.", + "description": "The API returns a [`301 Moved Permanently` status](https://docs.github.com/enterprise-cloud@latest/rest/guides/best-practices-for-using-the-rest-api#follow-redirects) if the issue was\n[transferred](https://docs.github.com/enterprise-cloud@latest/articles/transferring-an-issue-to-another-repository/) to another repository. If\nthe issue was transferred to or deleted from a repository where the authenticated user lacks read access, the API\nreturns a `404 Not Found` status. If the issue was deleted from a repository where the authenticated user has read\naccess, the API returns a `410 Gone` status. To receive webhook events for transferred and deleted issues, subscribe\nto the [`issues`](https://docs.github.com/enterprise-cloud@latest/webhooks/event-payloads/#issues) webhook.\n\n> [!NOTE]\n> GitHub's REST API considers every pull request an issue, but not every issue is a pull request. For this reason, \"Issues\" endpoints may return both issues and pull requests in the response. You can identify pull requests by the `pull_request` key. Be aware that the `id` of a pull request returned from \"Issues\" endpoints will be an _issue id_. To find out the pull request id, use the \"[List pull requests](https://docs.github.com/enterprise-cloud@latest/rest/pulls/pulls#list-pull-requests)\" endpoint.\n\nThis endpoint supports the following custom media types. For more information, see \"[Media types](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types).\"\n\n- **`application/vnd.github.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass any specific media type.\n- **`application/vnd.github.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`.\n- **`application/vnd.github.html+json`**: Returns HTML rendered from the body's markdown. Response will include `body_html`.\n- **`application/vnd.github.full+json`**: Returns raw, text, and HTML representations. Response will include `body`, `body_text`, and `body_html`.", "tags": [ "issues" ], "operationId": "issues/get", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue" }, "parameters": [ { @@ -455620,14 +456542,14 @@ }, "patch": { "summary": "Update an issue", - "description": "Issue owners and users with push access or Triage role can edit an issue.\n\nThis endpoint supports the following custom media types. For more information, see \"[Media types](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/getting-started-with-the-rest-api#media-types).\"\n\n- **`application/vnd.github.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass any specific media type.\n- **`application/vnd.github.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`.\n- **`application/vnd.github.html+json`**: Returns HTML rendered from the body's markdown. Response will include `body_html`.\n- **`application/vnd.github.full+json`**: Returns raw, text, and HTML representations. Response will include `body`, `body_text`, and `body_html`.", + "description": "Issue owners and users with push access or Triage role can edit an issue.\n\nThis endpoint supports the following custom media types. For more information, see \"[Media types](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types).\"\n\n- **`application/vnd.github.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass any specific media type.\n- **`application/vnd.github.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`.\n- **`application/vnd.github.html+json`**: Returns HTML rendered from the body's markdown. Response will include `body_html`.\n- **`application/vnd.github.full+json`**: Returns raw, text, and HTML representations. Response will include `body`, `body_text`, and `body_html`.", "tags": [ "issues" ], "operationId": "issues/update", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#update-an-issue" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#update-an-issue" }, "parameters": [ { @@ -459152,7 +460074,7 @@ "operationId": "issues/add-assignees", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/issues/assignees#add-assignees-to-an-issue" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/issues/assignees#add-assignees-to-an-issue" }, "parameters": [ { @@ -462356,7 +463278,7 @@ "operationId": "issues/remove-assignees", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/issues/assignees#remove-assignees-from-an-issue" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/issues/assignees#remove-assignees-from-an-issue" }, "parameters": [ { @@ -465561,7 +466483,7 @@ "operationId": "issues/check-user-can-be-assigned-to-issue", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/issues/assignees#check-if-a-user-can-be-assigned-to-a-issue" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/issues/assignees#check-if-a-user-can-be-assigned-to-a-issue" }, "parameters": [ { @@ -465642,14 +466564,14 @@ "/repos/{owner}/{repo}/issues/{issue_number}/comments": { "get": { "summary": "List issue comments", - "description": "You can use the REST API to list comments on issues and pull requests. Every pull request is an issue, but not every issue is a pull request.\n\nIssue comments are ordered by ascending ID.\n\nThis endpoint supports the following custom media types. For more information, see \"[Media types](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/getting-started-with-the-rest-api#media-types).\"\n\n- **`application/vnd.github.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass any specific media type.\n- **`application/vnd.github.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`.\n- **`application/vnd.github.html+json`**: Returns HTML rendered from the body's markdown. Response will include `body_html`.\n- **`application/vnd.github.full+json`**: Returns raw, text, and HTML representations. Response will include `body`, `body_text`, and `body_html`.", + "description": "You can use the REST API to list comments on issues and pull requests. Every pull request is an issue, but not every issue is a pull request.\n\nIssue comments are ordered by ascending ID.\n\nThis endpoint supports the following custom media types. For more information, see \"[Media types](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types).\"\n\n- **`application/vnd.github.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass any specific media type.\n- **`application/vnd.github.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`.\n- **`application/vnd.github.html+json`**: Returns HTML rendered from the body's markdown. Response will include `body_html`.\n- **`application/vnd.github.full+json`**: Returns raw, text, and HTML representations. Response will include `body`, `body_text`, and `body_html`.", "tags": [ "issues" ], "operationId": "issues/list-comments", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#list-issue-comments" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/issues/comments#list-issue-comments" }, "parameters": [ { @@ -465691,7 +466613,7 @@ }, { "name": "per_page", - "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -465700,7 +466622,7 @@ }, { "name": "page", - "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -466528,14 +467450,14 @@ }, "post": { "summary": "Create an issue comment", - "description": "You can use the REST API to create comments on issues and pull requests. Every pull request is an issue, but not every issue is a pull request.\n\nThis endpoint triggers [notifications](https://docs.github.com/enterprise-cloud@latest//github/managing-subscriptions-and-notifications-on-github/about-notifications).\nCreating content too quickly using this endpoint may result in secondary rate limiting.\nFor more information, see \"[Rate limits for the API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/rate-limits-for-the-rest-api#about-secondary-rate-limits)\"\nand \"[Best practices for using the REST API](https://docs.github.com/enterprise-cloud@latest//rest/guides/best-practices-for-using-the-rest-api).\"\n\nThis endpoint supports the following custom media types. For more information, see \"[Media types](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/getting-started-with-the-rest-api#media-types).\"\n\n- **`application/vnd.github.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass any specific media type.\n- **`application/vnd.github.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`.\n- **`application/vnd.github.html+json`**: Returns HTML rendered from the body's markdown. Response will include `body_html`.\n- **`application/vnd.github.full+json`**: Returns raw, text, and HTML representations. Response will include `body`, `body_text`, and `body_html`.", + "description": "You can use the REST API to create comments on issues and pull requests. Every pull request is an issue, but not every issue is a pull request.\n\nThis endpoint triggers [notifications](https://docs.github.com/enterprise-cloud@latest/github/managing-subscriptions-and-notifications-on-github/about-notifications).\nCreating content too quickly using this endpoint may result in secondary rate limiting.\nFor more information, see \"[Rate limits for the API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/rate-limits-for-the-rest-api#about-secondary-rate-limits)\"\nand \"[Best practices for using the REST API](https://docs.github.com/enterprise-cloud@latest/rest/guides/best-practices-for-using-the-rest-api).\"\n\nThis endpoint supports the following custom media types. For more information, see \"[Media types](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types).\"\n\n- **`application/vnd.github.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass any specific media type.\n- **`application/vnd.github.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`.\n- **`application/vnd.github.html+json`**: Returns HTML rendered from the body's markdown. Response will include `body_html`.\n- **`application/vnd.github.full+json`**: Returns raw, text, and HTML representations. Response will include `body`, `body_text`, and `body_html`.", "tags": [ "issues" ], "operationId": "issues/create-comment", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#create-an-issue-comment" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/issues/comments#create-an-issue-comment" }, "parameters": [ { @@ -467506,14 +468428,14 @@ "/repos/{owner}/{repo}/issues/{issue_number}/dependencies/blocked_by": { "get": { "summary": "List dependencies an issue is blocked by", - "description": "You can use the REST API to list the dependencies an issue is blocked by.\n\nThis endpoint supports the following custom media types. For more information, see [Media types](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/getting-started-with-the-rest-api#media-types).\n\n- **`application/vnd.github.raw+json`**: Returns the raw Markdown body. Response will include `body`. This is the default if you do not pass any specific media type.\n- **`application/vnd.github.text+json`**: Returns a text only representation of the Markdown body. Response will include `body_text`.\n- **`application/vnd.github.html+json`**: Returns HTML rendered from the body's Markdown. Response will include `body_html`.\n- **`application/vnd.github.full+json`**: Returns raw, text, and HTML representations. Response will include `body`, `body_text`, and `body_html`.", + "description": "You can use the REST API to list the dependencies an issue is blocked by.\n\nThis endpoint supports the following custom media types. For more information, see [Media types](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types).\n\n- **`application/vnd.github.raw+json`**: Returns the raw Markdown body. Response will include `body`. This is the default if you do not pass any specific media type.\n- **`application/vnd.github.text+json`**: Returns a text only representation of the Markdown body. Response will include `body_text`.\n- **`application/vnd.github.html+json`**: Returns HTML rendered from the body's Markdown. Response will include `body_html`.\n- **`application/vnd.github.full+json`**: Returns raw, text, and HTML representations. Response will include `body`, `body_text`, and `body_html`.", "tags": [ "issues" ], "operationId": "issues/list-dependencies-blocked-by", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/issues/issue-dependencies#list-dependencies-an-issue-is-blocked-by" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/issues/issue-dependencies#list-dependencies-an-issue-is-blocked-by" }, "parameters": [ { @@ -467545,7 +468467,7 @@ }, { "name": "per_page", - "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -467554,7 +468476,7 @@ }, { "name": "page", - "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -470790,14 +471712,14 @@ }, "post": { "summary": "Add a dependency an issue is blocked by", - "description": "You can use the REST API to add a 'blocked by' relationship to an issue.\n\nCreating content too quickly using this endpoint may result in secondary rate limiting.\nFor more information, see [Rate limits for the API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/rate-limits-for-the-rest-api#about-secondary-rate-limits)\nand [Best practices for using the REST API](https://docs.github.com/enterprise-cloud@latest//rest/guides/best-practices-for-using-the-rest-api).\n\nThis endpoint supports the following custom media types. For more information, see [Media types](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/getting-started-with-the-rest-api#media-types).\n\n- **`application/vnd.github.raw+json`**: Returns the raw Markdown body. Response will include `body`. This is the default if you do not pass any specific media type.\n- **`application/vnd.github.text+json`**: Returns a text only representation of the Markdown body. Response will include `body_text`.\n- **`application/vnd.github.html+json`**: Returns HTML rendered from the body's Markdown. Response will include `body_html`.\n- **`application/vnd.github.full+json`**: Returns raw, text, and HTML representations. Response will include `body`, `body_text`, and `body_html`.", + "description": "You can use the REST API to add a 'blocked by' relationship to an issue.\n\nCreating content too quickly using this endpoint may result in secondary rate limiting.\nFor more information, see [Rate limits for the API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/rate-limits-for-the-rest-api#about-secondary-rate-limits)\nand [Best practices for using the REST API](https://docs.github.com/enterprise-cloud@latest/rest/guides/best-practices-for-using-the-rest-api).\n\nThis endpoint supports the following custom media types. For more information, see [Media types](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types).\n\n- **`application/vnd.github.raw+json`**: Returns the raw Markdown body. Response will include `body`. This is the default if you do not pass any specific media type.\n- **`application/vnd.github.text+json`**: Returns a text only representation of the Markdown body. Response will include `body_text`.\n- **`application/vnd.github.html+json`**: Returns HTML rendered from the body's Markdown. Response will include `body_html`.\n- **`application/vnd.github.full+json`**: Returns raw, text, and HTML representations. Response will include `body`, `body_text`, and `body_html`.", "tags": [ "issues" ], "operationId": "issues/add-blocked-by-dependency", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/issues/issue-dependencies#add-a-dependency-an-issue-is-blocked-by" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/issues/issue-dependencies#add-a-dependency-an-issue-is-blocked-by" }, "parameters": [ { @@ -474175,14 +475097,14 @@ "/repos/{owner}/{repo}/issues/{issue_number}/dependencies/blocked_by/{issue_id}": { "delete": { "summary": "Remove dependency an issue is blocked by", - "description": "You can use the REST API to remove a dependency that an issue is blocked by.\n\nRemoving content too quickly using this endpoint may result in secondary rate limiting.\nFor more information, see [Rate limits for the API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/rate-limits-for-the-rest-api#about-secondary-rate-limits)\nand [Best practices for using the REST API](https://docs.github.com/enterprise-cloud@latest//rest/guides/best-practices-for-using-the-rest-api).\n\nThis endpoint supports the following custom media types. For more information, see [Media types](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/getting-started-with-the-rest-api#media-types).\n- **`application/vnd.github.raw+json`**: Returns the raw Markdown body. Response will include `body`. This is the default if you do not pass a specific media type.\n- **`application/vnd.github.text+json`**: Returns a text only representation of the Markdown body. Response will include `body_text`.\n- **`application/vnd.github.html+json`**: Returns HTML rendered from the body's Markdown. Response will include `body_html`.\n- **`application/vnd.github.full+json`**: Returns raw, text, and HTML representations. Response will include `body`, `body_text`, and `body_html`.", + "description": "You can use the REST API to remove a dependency that an issue is blocked by.\n\nRemoving content too quickly using this endpoint may result in secondary rate limiting.\nFor more information, see [Rate limits for the API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/rate-limits-for-the-rest-api#about-secondary-rate-limits)\nand [Best practices for using the REST API](https://docs.github.com/enterprise-cloud@latest/rest/guides/best-practices-for-using-the-rest-api).\n\nThis endpoint supports the following custom media types. For more information, see [Media types](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types).\n- **`application/vnd.github.raw+json`**: Returns the raw Markdown body. Response will include `body`. This is the default if you do not pass a specific media type.\n- **`application/vnd.github.text+json`**: Returns a text only representation of the Markdown body. Response will include `body_text`.\n- **`application/vnd.github.html+json`**: Returns HTML rendered from the body's Markdown. Response will include `body_html`.\n- **`application/vnd.github.full+json`**: Returns raw, text, and HTML representations. Response will include `body`, `body_text`, and `body_html`.", "tags": [ "issues" ], "operationId": "issues/remove-dependency-blocked-by", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/issues/issue-dependencies#remove-dependency-an-issue-is-blocked-by" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/issues/issue-dependencies#remove-dependency-an-issue-is-blocked-by" }, "parameters": [ { @@ -477552,14 +478474,14 @@ "/repos/{owner}/{repo}/issues/{issue_number}/dependencies/blocking": { "get": { "summary": "List dependencies an issue is blocking", - "description": "You can use the REST API to list the dependencies an issue is blocking.\n\nThis endpoint supports the following custom media types. For more information, see [Media types](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/getting-started-with-the-rest-api#media-types).\n\n- **`application/vnd.github.raw+json`**: Returns the raw Markdown body. Response will include `body`. This is the default if you do not pass any specific media type.\n- **`application/vnd.github.text+json`**: Returns a text only representation of the Markdown body. Response will include `body_text`.\n- **`application/vnd.github.html+json`**: Returns HTML rendered from the body's Markdown. Response will include `body_html`.\n- **`application/vnd.github.full+json`**: Returns raw, text, and HTML representations. Response will include `body`, `body_text`, and `body_html`.", + "description": "You can use the REST API to list the dependencies an issue is blocking.\n\nThis endpoint supports the following custom media types. For more information, see [Media types](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types).\n\n- **`application/vnd.github.raw+json`**: Returns the raw Markdown body. Response will include `body`. This is the default if you do not pass any specific media type.\n- **`application/vnd.github.text+json`**: Returns a text only representation of the Markdown body. Response will include `body_text`.\n- **`application/vnd.github.html+json`**: Returns HTML rendered from the body's Markdown. Response will include `body_html`.\n- **`application/vnd.github.full+json`**: Returns raw, text, and HTML representations. Response will include `body`, `body_text`, and `body_html`.", "tags": [ "issues" ], "operationId": "issues/list-dependencies-blocking", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/issues/issue-dependencies#list-dependencies-an-issue-is-blocking" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/issues/issue-dependencies#list-dependencies-an-issue-is-blocking" }, "parameters": [ { @@ -477591,7 +478513,7 @@ }, { "name": "per_page", - "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -477600,7 +478522,7 @@ }, { "name": "page", - "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -480845,7 +481767,7 @@ "operationId": "issues/list-events", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/issues/events#list-issue-events" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/issues/events#list-issue-events" }, "parameters": [ { @@ -480877,7 +481799,7 @@ }, { "name": "per_page", - "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -480886,7 +481808,7 @@ }, { "name": "page", - "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -489762,7 +490684,7 @@ "operationId": "issues/list-issue-field-values-for-issue", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/issues/issue-field-values#list-issue-field-values-for-an-issue" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/issues/issue-field-values#list-issue-field-values-for-an-issue" }, "parameters": [ { @@ -489794,7 +490716,7 @@ }, { "name": "per_page", - "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -489803,7 +490725,7 @@ }, { "name": "page", - "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -490033,14 +490955,14 @@ }, "post": { "summary": "Add issue field values to an issue", - "description": "Add custom field values to an issue. You can set values for organization-level issue fields that have been defined for the repository's organization.\nAdding an empty array will clear all existing field values for the issue.\n\nThis endpoint supports the following field data types:\n- **`text`**: String values for text fields\n- **`single_select`**: Option names for single-select fields (must match an existing option name)\n- **`number`**: Numeric values for number fields\n- **`date`**: ISO 8601 date strings for date fields\n\nOnly users with push access to the repository can add issue field values. If you don't have the proper permissions, you'll receive a `403 Forbidden` response.\n\nThis endpoint triggers [notifications](https://docs.github.com/enterprise-cloud@latest//github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see \"[Rate limits for the API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/rate-limits-for-the-rest-api#about-secondary-rate-limits)\"\nand \"[Best practices for using the REST API](https://docs.github.com/enterprise-cloud@latest//rest/guides/best-practices-for-using-the-rest-api).\"", + "description": "Add custom field values to an issue. You can set values for organization-level issue fields that have been defined for the repository's organization.\nAdding an empty array will clear all existing field values for the issue.\n\nThis endpoint supports the following field data types:\n- **`text`**: String values for text fields\n- **`single_select`**: Option names for single-select fields (must match an existing option name)\n- **`number`**: Numeric values for number fields\n- **`date`**: ISO 8601 date strings for date fields\n\nOnly users with push access to the repository can add issue field values. If you don't have the proper permissions, you'll receive a `403 Forbidden` response.\n\nThis endpoint triggers [notifications](https://docs.github.com/enterprise-cloud@latest/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see \"[Rate limits for the API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/rate-limits-for-the-rest-api#about-secondary-rate-limits)\"\nand \"[Best practices for using the REST API](https://docs.github.com/enterprise-cloud@latest/rest/guides/best-practices-for-using-the-rest-api).\"", "tags": [ "issues" ], "operationId": "issues/add-issue-field-values", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/issues/issue-field-values#add-issue-field-values-to-an-issue" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/issues/issue-field-values#add-issue-field-values-to-an-issue" }, "parameters": [ { @@ -490489,14 +491411,14 @@ }, "put": { "summary": "Set issue field values for an issue", - "description": "Set custom field values for an issue, replacing any existing values. You can set values for organization-level issue fields that have been defined for the repository's organization.\n\nThis endpoint supports the following field data types:\n- **`text`**: String values for text fields\n- **`single_select`**: Option names for single-select fields (must match an existing option name)\n- **`number`**: Numeric values for number fields\n- **`date`**: ISO 8601 date strings for date fields\n\nThis operation will replace all existing field values with the provided ones. If you want to add field values without replacing existing ones, use the `POST` endpoint instead.\n\nOnly users with push access to the repository can set issue field values. If you don't have the proper permissions, you'll receive a `403 Forbidden` response.\n\nThis endpoint triggers [notifications](https://docs.github.com/enterprise-cloud@latest//github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see \"[Rate limits for the API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/rate-limits-for-the-rest-api#about-secondary-rate-limits)\"\nand \"[Best practices for using the REST API](https://docs.github.com/enterprise-cloud@latest//rest/guides/best-practices-for-using-the-rest-api).\"", + "description": "Set custom field values for an issue, replacing any existing values. You can set values for organization-level issue fields that have been defined for the repository's organization.\n\nThis endpoint supports the following field data types:\n- **`text`**: String values for text fields\n- **`single_select`**: Option names for single-select fields (must match an existing option name)\n- **`number`**: Numeric values for number fields\n- **`date`**: ISO 8601 date strings for date fields\n\nThis operation will replace all existing field values with the provided ones. If you want to add field values without replacing existing ones, use the `POST` endpoint instead.\n\nOnly users with push access to the repository can set issue field values. If you don't have the proper permissions, you'll receive a `403 Forbidden` response.\n\nThis endpoint triggers [notifications](https://docs.github.com/enterprise-cloud@latest/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see \"[Rate limits for the API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/rate-limits-for-the-rest-api#about-secondary-rate-limits)\"\nand \"[Best practices for using the REST API](https://docs.github.com/enterprise-cloud@latest/rest/guides/best-practices-for-using-the-rest-api).\"", "tags": [ "issues" ], "operationId": "issues/set-issue-field-values", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/issues/issue-field-values#set-issue-field-values-for-an-issue" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/issues/issue-field-values#set-issue-field-values-for-an-issue" }, "parameters": [ { @@ -490947,14 +491869,14 @@ "/repos/{owner}/{repo}/issues/{issue_number}/issue-field-values/{issue_field_id}": { "delete": { "summary": "Delete an issue field value from an issue", - "description": "Remove a specific custom field value from an issue.\n\nOnly users with push access to the repository can delete issue field values. If you don't have the proper permissions, you'll receive a `403 Forbidden` response.\n\nIf the specified field does not have a value set on the issue, this operation will return a `404` error.\n\nThis endpoint triggers [notifications](https://docs.github.com/enterprise-cloud@latest//github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see \"[Rate limits for the API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/rate-limits-for-the-rest-api#about-secondary-rate-limits)\"\nand \"[Best practices for using the REST API](https://docs.github.com/enterprise-cloud@latest//rest/guides/best-practices-for-using-the-rest-api).\"", + "description": "Remove a specific custom field value from an issue.\n\nOnly users with push access to the repository can delete issue field values. If you don't have the proper permissions, you'll receive a `403 Forbidden` response.\n\nIf the specified field does not have a value set on the issue, this operation will return a `404` error.\n\nThis endpoint triggers [notifications](https://docs.github.com/enterprise-cloud@latest/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see \"[Rate limits for the API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/rate-limits-for-the-rest-api#about-secondary-rate-limits)\"\nand \"[Best practices for using the REST API](https://docs.github.com/enterprise-cloud@latest/rest/guides/best-practices-for-using-the-rest-api).\"", "tags": [ "issues" ], "operationId": "issues/delete-issue-field-value", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/issues/issue-field-values#delete-an-issue-field-value-from-an-issue" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/issues/issue-field-values#delete-an-issue-field-value-from-an-issue" }, "parameters": [ { @@ -491160,7 +492082,7 @@ "operationId": "issues/list-labels-on-issue", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#list-labels-for-an-issue" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/issues/labels#list-labels-for-an-issue" }, "parameters": [ { @@ -491192,7 +492114,7 @@ }, { "name": "per_page", - "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -491201,7 +492123,7 @@ }, { "name": "page", - "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -491400,7 +492322,7 @@ "operationId": "issues/add-labels", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#add-labels-to-an-issue" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/issues/labels#add-labels-to-an-issue" }, "parameters": [ { @@ -491443,7 +492365,7 @@ "labels": { "type": "array", "minItems": 1, - "description": "The names of the labels to add to the issue's existing labels. You can also pass an `array` of labels directly, but GitHub recommends passing an object with the `labels` key. To replace all of the labels for an issue, use \"[Set labels for an issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#set-labels-for-an-issue).\"", + "description": "The names of the labels to add to the issue's existing labels. You can also pass an `array` of labels directly, but GitHub recommends passing an object with the `labels` key. To replace all of the labels for an issue, use \"[Set labels for an issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/labels#set-labels-for-an-issue).\"", "items": { "type": "string" } @@ -491737,7 +492659,7 @@ "operationId": "issues/set-labels", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#set-labels-for-an-issue" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/issues/labels#set-labels-for-an-issue" }, "parameters": [ { @@ -491780,7 +492702,7 @@ "labels": { "type": "array", "minItems": 1, - "description": "The names of the labels to set for the issue. The labels you set replace any existing labels. You can pass an empty array to remove all labels. Alternatively, you can pass a single label as a `string` or an `array` of labels directly, but GitHub recommends passing an object with the `labels` key. You can also add labels to the existing labels for an issue. For more information, see \"[Add labels to an issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#add-labels-to-an-issue).\"", + "description": "The names of the labels to set for the issue. The labels you set replace any existing labels. You can pass an empty array to remove all labels. Alternatively, you can pass a single label as a `string` or an `array` of labels directly, but GitHub recommends passing an object with the `labels` key. You can also add labels to the existing labels for an issue. For more information, see \"[Add labels to an issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/labels#add-labels-to-an-issue).\"", "items": { "type": "string" } @@ -492099,7 +493021,7 @@ "operationId": "issues/remove-all-labels", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#remove-all-labels-from-an-issue" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/issues/labels#remove-all-labels-from-an-issue" }, "parameters": [ { @@ -492231,7 +493153,7 @@ "operationId": "issues/remove-label", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#remove-a-label-from-an-issue" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/issues/labels#remove-a-label-from-an-issue" }, "parameters": [ { @@ -492439,14 +493361,14 @@ "/repos/{owner}/{repo}/issues/{issue_number}/lock": { "put": { "summary": "Lock an issue", - "description": "Users with push access can lock an issue or pull request's conversation.\n\nNote that, if you choose not to pass any parameters, you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP method](https://docs.github.com/enterprise-cloud@latest//rest/guides/getting-started-with-the-rest-api#http-method).\"", + "description": "Users with push access can lock an issue or pull request's conversation.\n\nNote that, if you choose not to pass any parameters, you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP method](https://docs.github.com/enterprise-cloud@latest/rest/guides/getting-started-with-the-rest-api#http-method).\"", "tags": [ "issues" ], "operationId": "issues/lock", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#lock-an-issue" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#lock-an-issue" }, "parameters": [ { @@ -492676,7 +493598,7 @@ "operationId": "issues/unlock", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#unlock-an-issue" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#unlock-an-issue" }, "parameters": [ { @@ -492775,14 +493697,14 @@ "/repos/{owner}/{repo}/issues/{issue_number}/parent": { "get": { "summary": "Get parent issue", - "description": "You can use the REST API to get the parent issue of a sub-issue.\n\nThis endpoint supports the following custom media types. For more information, see [Media types](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/getting-started-with-the-rest-api#media-types).\n\n- **`application/vnd.github.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass any specific media type.\n- **`application/vnd.github.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`.\n- **`application/vnd.github.html+json`**: Returns HTML rendered from the body's markdown. Response will include `body_html`.\n- **`application/vnd.github.full+json`**: Returns raw, text, and HTML representations. Response will include `body`, `body_text`, and `body_html`.", + "description": "You can use the REST API to get the parent issue of a sub-issue.\n\nThis endpoint supports the following custom media types. For more information, see [Media types](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types).\n\n- **`application/vnd.github.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass any specific media type.\n- **`application/vnd.github.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`.\n- **`application/vnd.github.html+json`**: Returns HTML rendered from the body's markdown. Response will include `body_html`.\n- **`application/vnd.github.full+json`**: Returns raw, text, and HTML representations. Response will include `body`, `body_text`, and `body_html`.", "tags": [ "issues" ], "operationId": "issues/get-parent", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#get-parent-issue" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/issues/sub-issues#get-parent-issue" }, "parameters": [ { @@ -496030,14 +496952,14 @@ "/repos/{owner}/{repo}/issues/{issue_number}/reactions": { "get": { "summary": "List reactions for an issue", - "description": "List the reactions to an [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue).", + "description": "List the reactions to an [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue).", "tags": [ "reactions" ], "operationId": "reactions/list-for-issue", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-an-issue" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/reactions/reactions#list-reactions-for-an-issue" }, "parameters": [ { @@ -496069,7 +496991,7 @@ }, { "name": "content", - "description": "Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to an issue.", + "description": "Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest/rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to an issue.", "in": "query", "required": false, "schema": { @@ -496088,7 +497010,7 @@ }, { "name": "per_page", - "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -496097,7 +497019,7 @@ }, { "name": "page", - "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -496385,14 +497307,14 @@ }, "post": { "summary": "Create reaction for an issue", - "description": "Create a reaction to an [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue). A response with an HTTP `200` status means that you already added the reaction type to this issue.", + "description": "Create a reaction to an [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue). A response with an HTTP `200` status means that you already added the reaction type to this issue.", "tags": [ "reactions" ], "operationId": "reactions/create-for-issue", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-an-issue" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/reactions/reactions#create-reaction-for-an-issue" }, "parameters": [ { @@ -496432,7 +497354,7 @@ "properties": { "content": { "type": "string", - "description": "The [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions) to add to the issue.", + "description": "The [reaction type](https://docs.github.com/enterprise-cloud@latest/rest/reactions/reactions#about-reactions) to add to the issue.", "enum": [ "+1", "-1", @@ -496949,14 +497871,14 @@ "/repos/{owner}/{repo}/issues/{issue_number}/reactions/{reaction_id}": { "delete": { "summary": "Delete an issue reaction", - "description": "> [!NOTE]\n> You can also specify a repository by `repository_id` using the route `DELETE /repositories/:repository_id/issues/:issue_number/reactions/:reaction_id`.\n\nDelete a reaction to an [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue).", + "description": "> [!NOTE]\n> You can also specify a repository by `repository_id` using the route `DELETE /repositories/:repository_id/issues/:issue_number/reactions/:reaction_id`.\n\nDelete a reaction to an [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue).", "tags": [ "reactions" ], "operationId": "reactions/delete-for-issue", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-an-issue-reaction" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/reactions/reactions#delete-an-issue-reaction" }, "parameters": [ { @@ -497012,14 +497934,14 @@ "/repos/{owner}/{repo}/issues/{issue_number}/sub_issue": { "delete": { "summary": "Remove sub-issue", - "description": "You can use the REST API to remove a sub-issue from an issue.\nRemoving content too quickly using this endpoint may result in secondary rate limiting.\nFor more information, see \"[Rate limits for the API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/rate-limits-for-the-rest-api#about-secondary-rate-limits)\"\nand \"[Best practices for using the REST API](https://docs.github.com/enterprise-cloud@latest//rest/guides/best-practices-for-using-the-rest-api).\"\nThis endpoint supports the following custom media types. For more information, see \"[Media types](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/getting-started-with-the-rest-api#media-types).\"\n- **`application/vnd.github.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass a specific media type.\n- **`application/vnd.github.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`.\n- **`application/vnd.github.html+json`**: Returns HTML rendered from the body's markdown. Response will include `body_html`.\n- **`application/vnd.github.full+json`**: Returns raw, text, and HTML representations. Response will include `body`, `body_text`, and `body_html`.", + "description": "You can use the REST API to remove a sub-issue from an issue.\nRemoving content too quickly using this endpoint may result in secondary rate limiting.\nFor more information, see \"[Rate limits for the API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/rate-limits-for-the-rest-api#about-secondary-rate-limits)\"\nand \"[Best practices for using the REST API](https://docs.github.com/enterprise-cloud@latest/rest/guides/best-practices-for-using-the-rest-api).\"\nThis endpoint supports the following custom media types. For more information, see \"[Media types](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types).\"\n- **`application/vnd.github.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass a specific media type.\n- **`application/vnd.github.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`.\n- **`application/vnd.github.html+json`**: Returns HTML rendered from the body's markdown. Response will include `body_html`.\n- **`application/vnd.github.full+json`**: Returns raw, text, and HTML representations. Response will include `body`, `body_text`, and `body_html`.", "tags": [ "issues" ], "operationId": "issues/remove-sub-issue", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#remove-sub-issue" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/issues/sub-issues#remove-sub-issue" }, "parameters": [ { @@ -500310,14 +501232,14 @@ "/repos/{owner}/{repo}/issues/{issue_number}/sub_issues": { "get": { "summary": "List sub-issues", - "description": "You can use the REST API to list the sub-issues on an issue.\n\nThis endpoint supports the following custom media types. For more information, see [Media types](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/getting-started-with-the-rest-api#media-types).\n\n- **`application/vnd.github.raw+json`**: Returns the raw Markdown body. Response will include `body`. This is the default if you do not pass any specific media type.\n- **`application/vnd.github.text+json`**: Returns a text only representation of the Markdown body. Response will include `body_text`.\n- **`application/vnd.github.html+json`**: Returns HTML rendered from the body's Markdown. Response will include `body_html`.\n- **`application/vnd.github.full+json`**: Returns raw, text, and HTML representations. Response will include `body`, `body_text`, and `body_html`.", + "description": "You can use the REST API to list the sub-issues on an issue.\n\nThis endpoint supports the following custom media types. For more information, see [Media types](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types).\n\n- **`application/vnd.github.raw+json`**: Returns the raw Markdown body. Response will include `body`. This is the default if you do not pass any specific media type.\n- **`application/vnd.github.text+json`**: Returns a text only representation of the Markdown body. Response will include `body_text`.\n- **`application/vnd.github.html+json`**: Returns HTML rendered from the body's Markdown. Response will include `body_html`.\n- **`application/vnd.github.full+json`**: Returns raw, text, and HTML representations. Response will include `body`, `body_text`, and `body_html`.", "tags": [ "issues" ], "operationId": "issues/list-sub-issues", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#list-sub-issues" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/issues/sub-issues#list-sub-issues" }, "parameters": [ { @@ -500349,7 +501271,7 @@ }, { "name": "per_page", - "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -500358,7 +501280,7 @@ }, { "name": "page", - "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -503568,14 +504490,14 @@ }, "post": { "summary": "Add sub-issue", - "description": "You can use the REST API to add sub-issues to issues.\n\nCreating content too quickly using this endpoint may result in secondary rate limiting.\nFor more information, see \"[Rate limits for the API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/rate-limits-for-the-rest-api#about-secondary-rate-limits)\"\nand \"[Best practices for using the REST API](https://docs.github.com/enterprise-cloud@latest//rest/guides/best-practices-for-using-the-rest-api).\"\n\nThis endpoint supports the following custom media types. For more information, see \"[Media types](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/getting-started-with-the-rest-api#media-types).\"\n\n- **`application/vnd.github.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass any specific media type.\n- **`application/vnd.github.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`.\n- **`application/vnd.github.html+json`**: Returns HTML rendered from the body's markdown. Response will include `body_html`.\n- **`application/vnd.github.full+json`**: Returns raw, text, and HTML representations. Response will include `body`, `body_text`, and `body_html`.", + "description": "You can use the REST API to add sub-issues to issues.\n\nCreating content too quickly using this endpoint may result in secondary rate limiting.\nFor more information, see \"[Rate limits for the API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/rate-limits-for-the-rest-api#about-secondary-rate-limits)\"\nand \"[Best practices for using the REST API](https://docs.github.com/enterprise-cloud@latest/rest/guides/best-practices-for-using-the-rest-api).\"\n\nThis endpoint supports the following custom media types. For more information, see \"[Media types](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types).\"\n\n- **`application/vnd.github.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass any specific media type.\n- **`application/vnd.github.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`.\n- **`application/vnd.github.html+json`**: Returns HTML rendered from the body's markdown. Response will include `body_html`.\n- **`application/vnd.github.full+json`**: Returns raw, text, and HTML representations. Response will include `body`, `body_text`, and `body_html`.", "tags": [ "issues" ], "operationId": "issues/add-sub-issue", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#add-sub-issue" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/issues/sub-issues#add-sub-issue" }, "parameters": [ { @@ -506937,7 +507859,7 @@ "operationId": "issues/reprioritize-sub-issue", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#reprioritize-sub-issue" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/issues/sub-issues#reprioritize-sub-issue" }, "parameters": [ { @@ -510253,7 +511175,7 @@ "operationId": "issues/list-events-for-timeline", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/issues/timeline#list-timeline-events-for-an-issue" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/issues/timeline#list-timeline-events-for-an-issue" }, "parameters": [ { @@ -510285,7 +511207,7 @@ }, { "name": "per_page", - "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -510294,7 +511216,7 @@ }, { "name": "page", - "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -524604,7 +525526,7 @@ "operationId": "repos/list-deploy-keys", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#list-deploy-keys" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/deploy-keys/deploy-keys#list-deploy-keys" }, "parameters": [ { @@ -524627,7 +525549,7 @@ }, { "name": "per_page", - "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -524636,7 +525558,7 @@ }, { "name": "page", - "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -524747,7 +525669,7 @@ "operationId": "repos/create-deploy-key", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#create-a-deploy-key" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/deploy-keys/deploy-keys#create-a-deploy-key" }, "parameters": [ { @@ -524786,7 +525708,7 @@ }, "read_only": { "type": "boolean", - "description": "If `true`, the key will only be able to read repository contents. Otherwise, the key will be able to read and write. \n \nDeploy keys with write access can perform the same actions as an organization member with admin access, or a collaborator on a personal repository. For more information, see \"[Repository permission levels for an organization](https://docs.github.com/enterprise-cloud@latest//articles/repository-permission-levels-for-an-organization/)\" and \"[Permission levels for a user account repository](https://docs.github.com/enterprise-cloud@latest//articles/permission-levels-for-a-user-account-repository/).\"" + "description": "If `true`, the key will only be able to read repository contents. Otherwise, the key will be able to read and write. \n \nDeploy keys with write access can perform the same actions as an organization member with admin access, or a collaborator on a personal repository. For more information, see \"[Repository permission levels for an organization](https://docs.github.com/enterprise-cloud@latest/articles/repository-permission-levels-for-an-organization/)\" and \"[Permission levels for a user account repository](https://docs.github.com/enterprise-cloud@latest/articles/permission-levels-for-a-user-account-repository/).\"" } }, "required": [ @@ -524974,7 +525896,7 @@ "operationId": "repos/get-deploy-key", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#get-a-deploy-key" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/deploy-keys/deploy-keys#get-a-deploy-key" }, "parameters": [ { @@ -525121,7 +526043,7 @@ "operationId": "repos/delete-deploy-key", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#delete-a-deploy-key" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/deploy-keys/deploy-keys#delete-a-deploy-key" }, "parameters": [ { @@ -525175,7 +526097,7 @@ "operationId": "issues/list-labels-for-repo", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#list-labels-for-a-repository" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/issues/labels#list-labels-for-a-repository" }, "parameters": [ { @@ -525198,7 +526120,7 @@ }, { "name": "per_page", - "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -525207,7 +526129,7 @@ }, { "name": "page", - "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -525354,7 +526276,7 @@ "operationId": "issues/create-label", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#create-a-label" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/issues/labels#create-a-label" }, "parameters": [ { @@ -525608,7 +526530,7 @@ "operationId": "issues/get-label", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#get-a-label" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/issues/labels#get-a-label" }, "parameters": [ { @@ -525755,7 +526677,7 @@ "operationId": "issues/update-label", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#update-a-label" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/issues/labels#update-a-label" }, "parameters": [ { @@ -525909,7 +526831,7 @@ "operationId": "issues/delete-label", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#delete-a-label" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/issues/labels#delete-a-label" }, "parameters": [ { @@ -525962,7 +526884,7 @@ "operationId": "repos/list-languages", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-languages" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#list-repository-languages" }, "parameters": [ { @@ -526027,7 +526949,7 @@ ], "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/repos/lfs#enable-git-lfs-for-a-repository" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/repos/lfs#enable-git-lfs-for-a-repository" }, "parameters": [ { @@ -526085,7 +527007,7 @@ ], "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/repos/lfs#disable-git-lfs-for-a-repository" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/repos/lfs#disable-git-lfs-for-a-repository" }, "parameters": [ { @@ -526123,14 +527045,14 @@ "/repos/{owner}/{repo}/license": { "get": { "summary": "Get the license for a repository", - "description": "This method returns the contents of the repository's license file, if one is detected.\n\nThis endpoint supports the following custom media types. For more information, see \"[Media types](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/getting-started-with-the-rest-api#media-types).\"\n\n- **`application/vnd.github.raw+json`**: Returns the raw contents of the license.\n- **`application/vnd.github.html+json`**: Returns the license contents in HTML. Markup languages are rendered to HTML using GitHub's open-source [Markup library](https://github.com/github/markup).", + "description": "This method returns the contents of the repository's license file, if one is detected.\n\nThis endpoint supports the following custom media types. For more information, see \"[Media types](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types).\"\n\n- **`application/vnd.github.raw+json`**: Returns the raw contents of the license.\n- **`application/vnd.github.html+json`**: Returns the license contents in HTML. Markup languages are rendered to HTML using GitHub's open-source [Markup library](https://github.com/github/markup).", "tags": [ "licenses" ], "operationId": "licenses/get-for-repo", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/licenses/licenses#get-the-license-for-a-repository" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/licenses/licenses#get-the-license-for-a-repository" }, "parameters": [ { @@ -526372,7 +527294,7 @@ "operationId": "repos/merge-upstream", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#sync-a-fork-branch-with-the-upstream-repository" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/branches/branches#sync-a-fork-branch-with-the-upstream-repository" }, "parameters": [ { @@ -526483,7 +527405,7 @@ "operationId": "repos/merge", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#merge-a-branch" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/branches/branches#merge-a-branch" }, "parameters": [ { @@ -527321,7 +528243,7 @@ "operationId": "issues/list-milestones", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#list-milestones" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/issues/milestones#list-milestones" }, "parameters": [ { @@ -527387,7 +528309,7 @@ }, { "name": "per_page", - "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -527396,7 +528318,7 @@ }, { "name": "page", - "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -527737,7 +528659,7 @@ "operationId": "issues/create-milestone", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#create-a-milestone" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/issues/milestones#create-a-milestone" }, "parameters": [ { @@ -528205,7 +529127,7 @@ "operationId": "issues/get-milestone", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#get-a-milestone" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/issues/milestones#get-a-milestone" }, "parameters": [ { @@ -528556,7 +529478,7 @@ "operationId": "issues/update-milestone", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#update-a-milestone" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/issues/milestones#update-a-milestone" }, "parameters": [ { @@ -528925,7 +529847,7 @@ "operationId": "issues/delete-milestone", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#delete-a-milestone" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/issues/milestones#delete-a-milestone" }, "parameters": [ { @@ -529005,7 +529927,7 @@ "operationId": "issues/list-labels-for-milestone", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#list-labels-for-issues-in-a-milestone" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/issues/labels#list-labels-for-issues-in-a-milestone" }, "parameters": [ { @@ -529037,7 +529959,7 @@ }, { "name": "per_page", - "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -529046,7 +529968,7 @@ }, { "name": "page", - "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -529169,7 +530091,7 @@ "operationId": "activity/list-repo-notifications-for-authenticated-user", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#list-repository-notifications-for-the-authenticated-user" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/activity/notifications#list-repository-notifications-for-the-authenticated-user" }, "parameters": [ { @@ -529232,7 +530154,7 @@ }, { "name": "per_page", - "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -529241,7 +530163,7 @@ }, { "name": "page", - "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -530199,14 +531121,14 @@ }, "put": { "summary": "Mark repository notifications as read", - "description": "Marks all notifications in a repository as \"read\" for the current user. If the number of notifications is too large to complete in one request, you will receive a `202 Accepted` status and GitHub Enterprise Cloud will run an asynchronous process to mark notifications as \"read.\" To check whether any \"unread\" notifications remain, you can use the [List repository notifications for the authenticated user](https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#list-repository-notifications-for-the-authenticated-user) endpoint and pass the query parameter `all=false`.", + "description": "Marks all notifications in a repository as \"read\" for the current user. If the number of notifications is too large to complete in one request, you will receive a `202 Accepted` status and GitHub Enterprise Cloud will run an asynchronous process to mark notifications as \"read.\" To check whether any \"unread\" notifications remain, you can use the [List repository notifications for the authenticated user](https://docs.github.com/enterprise-cloud@latest/rest/activity/notifications#list-repository-notifications-for-the-authenticated-user) endpoint and pass the query parameter `all=false`.", "tags": [ "activity" ], "operationId": "activity/mark-repo-notifications-as-read", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#mark-repository-notifications-as-read" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/activity/notifications#mark-repository-notifications-as-read" }, "parameters": [ { @@ -530300,7 +531222,7 @@ "operationId": "repos/get-pages", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#get-a-apiname-pages-site" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/pages/pages#get-a-apiname-pages-site" }, "parameters": [ { @@ -530550,7 +531472,7 @@ "operationId": "repos/create-pages-site", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#create-a-apiname-pages-site" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/pages/pages#create-a-apiname-pages-site" }, "parameters": [ { @@ -530935,7 +531857,7 @@ "operationId": "repos/update-information-about-pages-site", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#update-information-about-a-apiname-pages-site" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/pages/pages#update-information-about-a-apiname-pages-site" }, "parameters": [ { @@ -530966,7 +531888,7 @@ "properties": { "cname": { "type": "string", - "description": "Specify a custom domain for the repository. Sending a `null` value will remove the custom domain. For more about custom domains, see \"[Using a custom domain with GitHub Pages](https://docs.github.com/enterprise-cloud@latest//pages/configuring-a-custom-domain-for-your-github-pages-site).\"", + "description": "Specify a custom domain for the repository. Sending a `null` value will remove the custom domain. For more about custom domains, see \"[Using a custom domain with GitHub Pages](https://docs.github.com/enterprise-cloud@latest/pages/configuring-a-custom-domain-for-your-github-pages-site).\"", "nullable": true }, "https_enforced": { @@ -531239,7 +532161,7 @@ "operationId": "repos/delete-pages-site", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#delete-a-apiname-pages-site" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/pages/pages#delete-a-apiname-pages-site" }, "parameters": [ { @@ -531405,7 +532327,7 @@ "operationId": "repos/list-pages-builds", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#list-apiname-pages-builds" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/pages/pages#list-apiname-pages-builds" }, "parameters": [ { @@ -531428,7 +532350,7 @@ }, { "name": "per_page", - "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -531437,7 +532359,7 @@ }, { "name": "page", - "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -531693,7 +532615,7 @@ "operationId": "repos/request-pages-build", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#request-a-apiname-pages-build" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/pages/pages#request-a-apiname-pages-build" }, "parameters": [ { @@ -531770,7 +532692,7 @@ "operationId": "repos/get-latest-pages-build", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#get-latest-pages-build" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/pages/pages#get-latest-pages-build" }, "parameters": [ { @@ -532029,7 +532951,7 @@ "operationId": "repos/get-pages-build", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#get-apiname-pages-build" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/pages/pages#get-apiname-pages-build" }, "parameters": [ { @@ -532296,7 +533218,7 @@ "operationId": "repos/create-pages-deployment", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#create-a-github-pages-deployment" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/pages/pages#create-a-github-pages-deployment" }, "parameters": [ { @@ -532599,7 +533521,7 @@ "operationId": "repos/get-pages-deployment", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#get-the-status-of-a-github-pages-deployment" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/pages/pages#get-the-status-of-a-github-pages-deployment" }, "parameters": [ { @@ -532720,7 +533642,7 @@ "operationId": "repos/cancel-pages-deployment", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#cancel-a-github-pages-deployment" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/pages/pages#cancel-a-github-pages-deployment" }, "parameters": [ { @@ -532807,7 +533729,7 @@ "operationId": "repos/get-pages-health-check", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#get-a-dns-health-check-for-github-pages" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/pages/pages#get-a-dns-health-check-for-github-pages" }, "parameters": [ { @@ -533188,14 +534110,14 @@ "/repos/{owner}/{repo}/private-vulnerability-reporting": { "get": { "summary": "Check if private vulnerability reporting is enabled for a repository", - "description": "Returns a boolean indicating whether or not private vulnerability reporting is enabled for the repository. For more information, see \"[Evaluating the security settings of a repository](https://docs.github.com/enterprise-cloud@latest//code-security/security-advisories/working-with-repository-security-advisories/evaluating-the-security-settings-of-a-repository)\".", + "description": "Returns a boolean indicating whether or not private vulnerability reporting is enabled for the repository. For more information, see \"[Evaluating the security settings of a repository](https://docs.github.com/enterprise-cloud@latest/code-security/security-advisories/working-with-repository-security-advisories/evaluating-the-security-settings-of-a-repository)\".", "tags": [ "repos" ], "operationId": "repos/check-private-vulnerability-reporting", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#check-if-private-vulnerability-reporting-is-enabled-for-a-repository" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#check-if-private-vulnerability-reporting-is-enabled-for-a-repository" }, "parameters": [ { @@ -533314,14 +534236,14 @@ }, "put": { "summary": "Enable private vulnerability reporting for a repository", - "description": "Enables private vulnerability reporting for a repository. The authenticated user must have admin access to the repository. For more information, see \"[Privately reporting a security vulnerability](https://docs.github.com/enterprise-cloud@latest//code-security/security-advisories/guidance-on-reporting-and-writing/privately-reporting-a-security-vulnerability).\"", + "description": "Enables private vulnerability reporting for a repository. The authenticated user must have admin access to the repository. For more information, see \"[Privately reporting a security vulnerability](https://docs.github.com/enterprise-cloud@latest/code-security/security-advisories/guidance-on-reporting-and-writing/privately-reporting-a-security-vulnerability).\"", "tags": [ "repos" ], "operationId": "repos/enable-private-vulnerability-reporting", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#enable-private-vulnerability-reporting-for-a-repository" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#enable-private-vulnerability-reporting-for-a-repository" }, "parameters": [ { @@ -533417,14 +534339,14 @@ }, "delete": { "summary": "Disable private vulnerability reporting for a repository", - "description": "Disables private vulnerability reporting for a repository. The authenticated user must have admin access to the repository. For more information, see \"[Privately reporting a security vulnerability](https://docs.github.com/enterprise-cloud@latest//code-security/security-advisories/guidance-on-reporting-and-writing/privately-reporting-a-security-vulnerability)\".", + "description": "Disables private vulnerability reporting for a repository. The authenticated user must have admin access to the repository. For more information, see \"[Privately reporting a security vulnerability](https://docs.github.com/enterprise-cloud@latest/code-security/security-advisories/guidance-on-reporting-and-writing/privately-reporting-a-security-vulnerability)\".", "tags": [ "repos" ], "operationId": "repos/disable-private-vulnerability-reporting", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#disable-private-vulnerability-reporting-for-a-repository" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#disable-private-vulnerability-reporting-for-a-repository" }, "parameters": [ { @@ -533529,7 +534451,7 @@ "operationId": "repos/custom-properties-for-repos-get-repository-values", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/repos/custom-properties#get-all-custom-property-values-for-a-repository" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/repos/custom-properties#get-all-custom-property-values-for-a-repository" }, "parameters": [ { @@ -533679,7 +534601,7 @@ "operationId": "repos/custom-properties-for-repos-create-or-update-repository-values", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/repos/custom-properties#create-or-update-custom-property-values-for-a-repository" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/repos/custom-properties#create-or-update-custom-property-values-for-a-repository" }, "parameters": [ { @@ -533907,14 +534829,14 @@ "/repos/{owner}/{repo}/pulls": { "get": { "summary": "List pull requests", - "description": "Lists pull requests in a specified repository.\n\nDraft pull requests are available in public repositories with GitHub\nFree and GitHub Free for organizations, GitHub Pro, and legacy per-repository billing\nplans, and in public and private repositories with GitHub Team and GitHub Enterprise\nCloud. For more information, see [GitHub's products](https://docs.github.com/enterprise-cloud@latest//github/getting-started-with-github/githubs-products)\nin the GitHub Help documentation.\n\nThis endpoint supports the following custom media types. For more information, see \"[Media types](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/getting-started-with-the-rest-api#media-types).\"\n\n- **`application/vnd.github.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass any specific media type.\n- **`application/vnd.github.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`.\n- **`application/vnd.github.html+json`**: Returns HTML rendered from the body's markdown. Response will include `body_html`.\n- **`application/vnd.github.full+json`**: Returns raw, text, and HTML representations. Response will include `body`, `body_text`, and `body_html`.", + "description": "Lists pull requests in a specified repository.\n\nDraft pull requests are available in public repositories with GitHub\nFree and GitHub Free for organizations, GitHub Pro, and legacy per-repository billing\nplans, and in public and private repositories with GitHub Team and GitHub Enterprise\nCloud. For more information, see [GitHub's products](https://docs.github.com/enterprise-cloud@latest/github/getting-started-with-github/githubs-products)\nin the GitHub Help documentation.\n\nThis endpoint supports the following custom media types. For more information, see \"[Media types](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types).\"\n\n- **`application/vnd.github.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass any specific media type.\n- **`application/vnd.github.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`.\n- **`application/vnd.github.html+json`**: Returns HTML rendered from the body's markdown. Response will include `body_html`.\n- **`application/vnd.github.full+json`**: Returns raw, text, and HTML representations. Response will include `body`, `body_text`, and `body_html`.", "tags": [ "pulls" ], "operationId": "pulls/list", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#list-pull-requests" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/pulls/pulls#list-pull-requests" }, "parameters": [ { @@ -533999,7 +534921,7 @@ }, { "name": "per_page", - "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -534008,7 +534930,7 @@ }, { "name": "page", - "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -537853,14 +538775,14 @@ }, "post": { "summary": "Create a pull request", - "description": "Draft pull requests are available in public repositories with GitHub Free and GitHub Free for organizations, GitHub Pro, and legacy per-repository billing plans, and in public and private repositories with GitHub Team and GitHub Enterprise Cloud. For more information, see [GitHub's products](https://docs.github.com/enterprise-cloud@latest//github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nTo open or update a pull request in a public repository, you must have write access to the head or the source branch. For organization-owned repositories, you must be a member of the organization that owns the repository to open or update a pull request.\n\nThis endpoint triggers [notifications](https://docs.github.com/enterprise-cloud@latest//github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see \"[Rate limits for the API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/rate-limits-for-the-rest-api#about-secondary-rate-limits)\" and \"[Best practices for using the REST API](https://docs.github.com/enterprise-cloud@latest//rest/guides/best-practices-for-using-the-rest-api).\"\n\nThis endpoint supports the following custom media types. For more information, see \"[Media types](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/getting-started-with-the-rest-api#media-types).\"\n\n- **`application/vnd.github.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass any specific media type.\n- **`application/vnd.github.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`.\n- **`application/vnd.github.html+json`**: Returns HTML rendered from the body's markdown. Response will include `body_html`.\n- **`application/vnd.github.full+json`**: Returns raw, text, and HTML representations. Response will include `body`, `body_text`, and `body_html`.", + "description": "Draft pull requests are available in public repositories with GitHub Free and GitHub Free for organizations, GitHub Pro, and legacy per-repository billing plans, and in public and private repositories with GitHub Team and GitHub Enterprise Cloud. For more information, see [GitHub's products](https://docs.github.com/enterprise-cloud@latest/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nTo open or update a pull request in a public repository, you must have write access to the head or the source branch. For organization-owned repositories, you must be a member of the organization that owns the repository to open or update a pull request.\n\nThis endpoint triggers [notifications](https://docs.github.com/enterprise-cloud@latest/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see \"[Rate limits for the API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/rate-limits-for-the-rest-api#about-secondary-rate-limits)\" and \"[Best practices for using the REST API](https://docs.github.com/enterprise-cloud@latest/rest/guides/best-practices-for-using-the-rest-api).\"\n\nThis endpoint supports the following custom media types. For more information, see \"[Media types](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types).\"\n\n- **`application/vnd.github.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass any specific media type.\n- **`application/vnd.github.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`.\n- **`application/vnd.github.html+json`**: Returns HTML rendered from the body's markdown. Response will include `body_html`.\n- **`application/vnd.github.full+json`**: Returns raw, text, and HTML representations. Response will include `body`, `body_text`, and `body_html`.", "tags": [ "pulls" ], "operationId": "pulls/create", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#create-a-pull-request" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/pulls/pulls#create-a-pull-request" }, "parameters": [ { @@ -537913,11 +538835,11 @@ }, "maintainer_can_modify": { "type": "boolean", - "description": "Indicates whether [maintainers can modify](https://docs.github.com/enterprise-cloud@latest//articles/allowing-changes-to-a-pull-request-branch-created-from-a-fork/) the pull request." + "description": "Indicates whether [maintainers can modify](https://docs.github.com/enterprise-cloud@latest/articles/allowing-changes-to-a-pull-request-branch-created-from-a-fork/) the pull request." }, "draft": { "type": "boolean", - "description": "Indicates whether the pull request is a draft. See \"[Draft Pull Requests](https://docs.github.com/enterprise-cloud@latest//articles/about-pull-requests#draft-pull-requests)\" in the GitHub Help documentation to learn more." + "description": "Indicates whether the pull request is a draft. See \"[Draft Pull Requests](https://docs.github.com/enterprise-cloud@latest/articles/about-pull-requests#draft-pull-requests)\" in the GitHub Help documentation to learn more." }, "issue": { "type": "integer", @@ -541898,14 +542820,14 @@ "/repos/{owner}/{repo}/pulls/comments": { "get": { "summary": "List review comments in a repository", - "description": "Lists review comments for all pull requests in a repository. By default,\nreview comments are in ascending order by ID.\n\nThis endpoint supports the following custom media types. For more information, see \"[Media types](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/getting-started-with-the-rest-api#media-types).\"\n\n- **`application/vnd.github-commitcomment.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass any specific media type.\n- **`application/vnd.github-commitcomment.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`.\n- **`application/vnd.github-commitcomment.html+json`**: Returns HTML rendered from the body's markdown. Response will include `body_html`.\n- **`application/vnd.github-commitcomment.full+json`**: Returns raw, text, and HTML representations. Response will include `body`, `body_text`, and `body_html`.", + "description": "Lists review comments for all pull requests in a repository. By default,\nreview comments are in ascending order by ID.\n\nThis endpoint supports the following custom media types. For more information, see \"[Media types](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types).\"\n\n- **`application/vnd.github-commitcomment.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass any specific media type.\n- **`application/vnd.github-commitcomment.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`.\n- **`application/vnd.github-commitcomment.html+json`**: Returns HTML rendered from the body's markdown. Response will include `body_html`.\n- **`application/vnd.github-commitcomment.full+json`**: Returns raw, text, and HTML representations. Response will include `body`, `body_text`, and `body_html`.", "tags": [ "pulls" ], "operationId": "pulls/list-review-comments-for-repo", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments#list-review-comments-in-a-repository" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/pulls/comments#list-review-comments-in-a-repository" }, "parameters": [ { @@ -541964,7 +542886,7 @@ }, { "name": "per_page", - "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -541973,7 +542895,7 @@ }, { "name": "page", - "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -542480,14 +543402,14 @@ "/repos/{owner}/{repo}/pulls/comments/{comment_id}": { "get": { "summary": "Get a review comment for a pull request", - "description": "Provides details for a specified review comment.\n\nThis endpoint supports the following custom media types. For more information, see \"[Media types](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/getting-started-with-the-rest-api#media-types).\"\n\n- **`application/vnd.github-commitcomment.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass any specific media type.\n- **`application/vnd.github-commitcomment.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`.\n- **`application/vnd.github-commitcomment.html+json`**: Returns HTML rendered from the body's markdown. Response will include `body_html`.\n- **`application/vnd.github-commitcomment.full+json`**: Returns raw, text, and HTML representations. Response will include `body`, `body_text`, and `body_html`.", + "description": "Provides details for a specified review comment.\n\nThis endpoint supports the following custom media types. For more information, see \"[Media types](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types).\"\n\n- **`application/vnd.github-commitcomment.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass any specific media type.\n- **`application/vnd.github-commitcomment.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`.\n- **`application/vnd.github-commitcomment.html+json`**: Returns HTML rendered from the body's markdown. Response will include `body_html`.\n- **`application/vnd.github-commitcomment.full+json`**: Returns raw, text, and HTML representations. Response will include `body`, `body_text`, and `body_html`.", "tags": [ "pulls" ], "operationId": "pulls/get-review-comment", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments#get-a-review-comment-for-a-pull-request" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/pulls/comments#get-a-review-comment-for-a-pull-request" }, "parameters": [ { @@ -543029,14 +543951,14 @@ }, "patch": { "summary": "Update a review comment for a pull request", - "description": "Edits the content of a specified review comment.\n\nThis endpoint supports the following custom media types. For more information, see \"[Media types](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/getting-started-with-the-rest-api#media-types).\"\n\n- **`application/vnd.github-commitcomment.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass any specific media type.\n- **`application/vnd.github-commitcomment.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`.\n- **`application/vnd.github-commitcomment.html+json`**: Returns HTML rendered from the body's markdown. Response will include `body_html`.\n- **`application/vnd.github-commitcomment.full+json`**: Returns raw, text, and HTML representations. Response will include `body`, `body_text`, and `body_html`.", + "description": "Edits the content of a specified review comment.\n\nThis endpoint supports the following custom media types. For more information, see \"[Media types](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types).\"\n\n- **`application/vnd.github-commitcomment.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass any specific media type.\n- **`application/vnd.github-commitcomment.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`.\n- **`application/vnd.github-commitcomment.html+json`**: Returns HTML rendered from the body's markdown. Response will include `body_html`.\n- **`application/vnd.github-commitcomment.full+json`**: Returns raw, text, and HTML representations. Response will include `body`, `body_text`, and `body_html`.", "tags": [ "pulls" ], "operationId": "pulls/update-review-comment", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments#update-a-review-comment-for-a-pull-request" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/pulls/comments#update-a-review-comment-for-a-pull-request" }, "parameters": [ { @@ -543585,7 +544507,7 @@ "operationId": "pulls/delete-review-comment", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments#delete-a-review-comment-for-a-pull-request" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/pulls/comments#delete-a-review-comment-for-a-pull-request" }, "parameters": [ { @@ -543659,14 +544581,14 @@ "/repos/{owner}/{repo}/pulls/comments/{comment_id}/reactions": { "get": { "summary": "List reactions for a pull request review comment", - "description": "List the reactions to a [pull request review comment](https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments#get-a-review-comment-for-a-pull-request).", + "description": "List the reactions to a [pull request review comment](https://docs.github.com/enterprise-cloud@latest/rest/pulls/comments#get-a-review-comment-for-a-pull-request).", "tags": [ "reactions" ], "operationId": "reactions/list-for-pull-request-review-comment", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-pull-request-review-comment" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/reactions/reactions#list-reactions-for-a-pull-request-review-comment" }, "parameters": [ { @@ -543699,7 +544621,7 @@ }, { "name": "content", - "description": "Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a pull request review comment.", + "description": "Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest/rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a pull request review comment.", "in": "query", "required": false, "schema": { @@ -543718,7 +544640,7 @@ }, { "name": "per_page", - "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -543727,7 +544649,7 @@ }, { "name": "page", - "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -543989,14 +544911,14 @@ }, "post": { "summary": "Create reaction for a pull request review comment", - "description": "Create a reaction to a [pull request review comment](https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments#get-a-review-comment-for-a-pull-request). A response with an HTTP `200` status means that you already added the reaction type to this pull request review comment.", + "description": "Create a reaction to a [pull request review comment](https://docs.github.com/enterprise-cloud@latest/rest/pulls/comments#get-a-review-comment-for-a-pull-request). A response with an HTTP `200` status means that you already added the reaction type to this pull request review comment.", "tags": [ "reactions" ], "operationId": "reactions/create-for-pull-request-review-comment", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-pull-request-review-comment" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/reactions/reactions#create-reaction-for-a-pull-request-review-comment" }, "parameters": [ { @@ -544037,7 +544959,7 @@ "properties": { "content": { "type": "string", - "description": "The [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions) to add to the pull request review comment.", + "description": "The [reaction type](https://docs.github.com/enterprise-cloud@latest/rest/reactions/reactions#about-reactions) to add to the pull request review comment.", "enum": [ "+1", "-1", @@ -544554,14 +545476,14 @@ "/repos/{owner}/{repo}/pulls/comments/{comment_id}/reactions/{reaction_id}": { "delete": { "summary": "Delete a pull request comment reaction", - "description": "> [!NOTE]\n> You can also specify a repository by `repository_id` using the route `DELETE /repositories/:repository_id/pulls/comments/:comment_id/reactions/:reaction_id.`\n\nDelete a reaction to a [pull request review comment](https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments#get-a-review-comment-for-a-pull-request).", + "description": "> [!NOTE]\n> You can also specify a repository by `repository_id` using the route `DELETE /repositories/:repository_id/pulls/comments/:comment_id/reactions/:reaction_id.`\n\nDelete a reaction to a [pull request review comment](https://docs.github.com/enterprise-cloud@latest/rest/pulls/comments#get-a-review-comment-for-a-pull-request).", "tags": [ "reactions" ], "operationId": "reactions/delete-for-pull-request-comment", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-a-pull-request-comment-reaction" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/reactions/reactions#delete-a-pull-request-comment-reaction" }, "parameters": [ { @@ -544618,14 +545540,14 @@ "/repos/{owner}/{repo}/pulls/{pull_number}": { "get": { "summary": "Get a pull request", - "description": "Draft pull requests are available in public repositories with GitHub Free and GitHub Free for organizations, GitHub Pro, and legacy per-repository billing plans, and in public and private repositories with GitHub Team and GitHub Enterprise Cloud. For more information, see [GitHub's products](https://docs.github.com/enterprise-cloud@latest//github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nLists details of a pull request by providing its number.\n\nWhen you get, [create](https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls/#create-a-pull-request), or [edit](https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#update-a-pull-request) a pull request, GitHub Enterprise Cloud creates a merge commit to test whether the pull request can be automatically merged into the base branch. This test commit is not added to the base branch or the head branch. You can review the status of the test commit using the `mergeable` key. For more information, see \"[Checking mergeability of pull requests](https://docs.github.com/enterprise-cloud@latest//rest/guides/getting-started-with-the-git-database-api#checking-mergeability-of-pull-requests)\".\n\nThe value of the `mergeable` attribute can be `true`, `false`, or `null`. If the value is `null`, then GitHub Enterprise Cloud has started a background job to compute the mergeability. After giving the job time to complete, resubmit the request. When the job finishes, you will see a non-`null` value for the `mergeable` attribute in the response. If `mergeable` is `true`, then `merge_commit_sha` will be the SHA of the _test_ merge commit.\n\nThe value of the `merge_commit_sha` attribute changes depending on the state of the pull request. Before merging a pull request, the `merge_commit_sha` attribute holds the SHA of the _test_ merge commit. After merging a pull request, the `merge_commit_sha` attribute changes depending on how you merged the pull request:\n\n* If merged as a [merge commit](https://docs.github.com/enterprise-cloud@latest//articles/about-merge-methods-on-github/), `merge_commit_sha` represents the SHA of the merge commit.\n* If merged via a [squash](https://docs.github.com/enterprise-cloud@latest//articles/about-merge-methods-on-github/#squashing-your-merge-commits), `merge_commit_sha` represents the SHA of the squashed commit on the base branch.\n* If [rebased](https://docs.github.com/enterprise-cloud@latest//articles/about-merge-methods-on-github/#rebasing-and-merging-your-commits), `merge_commit_sha` represents the commit that the base branch was updated to.\n\nPass the appropriate [media type](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/getting-started-with-the-rest-api#media-types) to fetch diff and patch formats.\n\nThis endpoint supports the following custom media types. For more information, see \"[Media types](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/getting-started-with-the-rest-api#media-types).\"\n\n- **`application/vnd.github.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass any specific media type.\n- **`application/vnd.github.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`.\n- **`application/vnd.github.html+json`**: Returns HTML rendered from the body's markdown. Response will include `body_html`.\n- **`application/vnd.github.full+json`**: Returns raw, text, and HTML representations. Response will include `body`, `body_text`, and `body_html`.\n- **`application/vnd.github.diff`**: For more information, see \"[git-diff](https://git-scm.com/docs/git-diff)\" in the Git documentation. If a diff is corrupt, contact us through the [GitHub Support portal](https://support.github.com/). Include the repository name and pull request ID in your message.", + "description": "Draft pull requests are available in public repositories with GitHub Free and GitHub Free for organizations, GitHub Pro, and legacy per-repository billing plans, and in public and private repositories with GitHub Team and GitHub Enterprise Cloud. For more information, see [GitHub's products](https://docs.github.com/enterprise-cloud@latest/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nLists details of a pull request by providing its number.\n\nWhen you get, [create](https://docs.github.com/enterprise-cloud@latest/rest/pulls/pulls/#create-a-pull-request), or [edit](https://docs.github.com/enterprise-cloud@latest/rest/pulls/pulls#update-a-pull-request) a pull request, GitHub Enterprise Cloud creates a merge commit to test whether the pull request can be automatically merged into the base branch. This test commit is not added to the base branch or the head branch. You can review the status of the test commit using the `mergeable` key. For more information, see \"[Checking mergeability of pull requests](https://docs.github.com/enterprise-cloud@latest/rest/guides/getting-started-with-the-git-database-api#checking-mergeability-of-pull-requests)\".\n\nThe value of the `mergeable` attribute can be `true`, `false`, or `null`. If the value is `null`, then GitHub Enterprise Cloud has started a background job to compute the mergeability. After giving the job time to complete, resubmit the request. When the job finishes, you will see a non-`null` value for the `mergeable` attribute in the response. If `mergeable` is `true`, then `merge_commit_sha` will be the SHA of the _test_ merge commit.\n\nThe value of the `merge_commit_sha` attribute changes depending on the state of the pull request. Before merging a pull request, the `merge_commit_sha` attribute holds the SHA of the _test_ merge commit. After merging a pull request, the `merge_commit_sha` attribute changes depending on how you merged the pull request:\n\n* If merged as a [merge commit](https://docs.github.com/enterprise-cloud@latest/articles/about-merge-methods-on-github/), `merge_commit_sha` represents the SHA of the merge commit.\n* If merged via a [squash](https://docs.github.com/enterprise-cloud@latest/articles/about-merge-methods-on-github/#squashing-your-merge-commits), `merge_commit_sha` represents the SHA of the squashed commit on the base branch.\n* If [rebased](https://docs.github.com/enterprise-cloud@latest/articles/about-merge-methods-on-github/#rebasing-and-merging-your-commits), `merge_commit_sha` represents the commit that the base branch was updated to.\n\nPass the appropriate [media type](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types) to fetch diff and patch formats.\n\nThis endpoint supports the following custom media types. For more information, see \"[Media types](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types).\"\n\n- **`application/vnd.github.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass any specific media type.\n- **`application/vnd.github.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`.\n- **`application/vnd.github.html+json`**: Returns HTML rendered from the body's markdown. Response will include `body_html`.\n- **`application/vnd.github.full+json`**: Returns raw, text, and HTML representations. Response will include `body`, `body_text`, and `body_html`.\n- **`application/vnd.github.diff`**: For more information, see \"[git-diff](https://git-scm.com/docs/git-diff)\" in the Git documentation. If a diff is corrupt, contact us through the [GitHub Support portal](https://support.github.com/). Include the repository name and pull request ID in your message.", "tags": [ "pulls" ], "operationId": "pulls/get", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#get-a-pull-request" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/pulls/pulls#get-a-pull-request" }, "parameters": [ { @@ -544658,7 +545580,7 @@ ], "responses": { "200": { - "description": "Pass the appropriate [media type](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/getting-started-with-the-rest-api#media-types) to fetch diff and patch formats.", + "description": "Pass the appropriate [media type](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types) to fetch diff and patch formats.", "content": { "application/json": { "schema": { @@ -548606,14 +549528,14 @@ }, "patch": { "summary": "Update a pull request", - "description": "Draft pull requests are available in public repositories with GitHub Free and GitHub Free for organizations, GitHub Pro, and legacy per-repository billing plans, and in public and private repositories with GitHub Team and GitHub Enterprise Cloud. For more information, see [GitHub's products](https://docs.github.com/enterprise-cloud@latest//github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nTo open or update a pull request in a public repository, you must have write access to the head or the source branch. For organization-owned repositories, you must be a member of the organization that owns the repository to open or update a pull request.\n\nThis endpoint supports the following custom media types. For more information, see \"[Media types](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/getting-started-with-the-rest-api#media-types).\"\n\n- **`application/vnd.github.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass any specific media type.\n- **`application/vnd.github.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`.\n- **`application/vnd.github.html+json`**: Returns HTML rendered from the body's markdown. Response will include `body_html`.\n- **`application/vnd.github.full+json`**: Returns raw, text, and HTML representations. Response will include `body`, `body_text`, and `body_html`.", + "description": "Draft pull requests are available in public repositories with GitHub Free and GitHub Free for organizations, GitHub Pro, and legacy per-repository billing plans, and in public and private repositories with GitHub Team and GitHub Enterprise Cloud. For more information, see [GitHub's products](https://docs.github.com/enterprise-cloud@latest/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nTo open or update a pull request in a public repository, you must have write access to the head or the source branch. For organization-owned repositories, you must be a member of the organization that owns the repository to open or update a pull request.\n\nThis endpoint supports the following custom media types. For more information, see \"[Media types](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types).\"\n\n- **`application/vnd.github.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass any specific media type.\n- **`application/vnd.github.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`.\n- **`application/vnd.github.html+json`**: Returns HTML rendered from the body's markdown. Response will include `body_html`.\n- **`application/vnd.github.full+json`**: Returns raw, text, and HTML representations. Response will include `body`, `body_text`, and `body_html`.", "tags": [ "pulls" ], "operationId": "pulls/update", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#update-a-pull-request" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/pulls/pulls#update-a-pull-request" }, "parameters": [ { @@ -548673,7 +549595,7 @@ }, "maintainer_can_modify": { "type": "boolean", - "description": "Indicates whether [maintainers can modify](https://docs.github.com/enterprise-cloud@latest//articles/allowing-changes-to-a-pull-request-branch-created-from-a-fork/) the pull request." + "description": "Indicates whether [maintainers can modify](https://docs.github.com/enterprise-cloud@latest/articles/allowing-changes-to-a-pull-request-branch-created-from-a-fork/) the pull request." } } }, @@ -552642,7 +553564,7 @@ "operationId": "pulls/archive", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#archive-a-pull-request" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/pulls/pulls#archive-a-pull-request" }, "parameters": [ { @@ -552815,7 +553737,7 @@ "operationId": "pulls/unarchive", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#unarchive-a-pull-request" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/pulls/pulls#unarchive-a-pull-request" }, "parameters": [ { @@ -552990,7 +553912,7 @@ "operationId": "codespaces/create-with-pr-for-authenticated-user", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#create-a-codespace-from-a-pull-request" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/codespaces/codespaces#create-a-codespace-from-a-pull-request" }, "parameters": [ { @@ -556144,14 +557066,14 @@ "/repos/{owner}/{repo}/pulls/{pull_number}/comments": { "get": { "summary": "List review comments on a pull request", - "description": "Lists all review comments for a specified pull request. By default, review comments\nare in ascending order by ID.\n\nThis endpoint supports the following custom media types. For more information, see \"[Media types](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/getting-started-with-the-rest-api#media-types).\"\n\n- **`application/vnd.github-commitcomment.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass any specific media type.\n- **`application/vnd.github-commitcomment.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`.\n- **`application/vnd.github-commitcomment.html+json`**: Returns HTML rendered from the body's markdown. Response will include `body_html`.\n- **`application/vnd.github-commitcomment.full+json`**: Returns raw, text, and HTML representations. Response will include `body`, `body_text`, and `body_html`.", + "description": "Lists all review comments for a specified pull request. By default, review comments\nare in ascending order by ID.\n\nThis endpoint supports the following custom media types. For more information, see \"[Media types](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types).\"\n\n- **`application/vnd.github-commitcomment.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass any specific media type.\n- **`application/vnd.github-commitcomment.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`.\n- **`application/vnd.github-commitcomment.html+json`**: Returns HTML rendered from the body's markdown. Response will include `body_html`.\n- **`application/vnd.github-commitcomment.full+json`**: Returns raw, text, and HTML representations. Response will include `body`, `body_text`, and `body_html`.", "tags": [ "pulls" ], "operationId": "pulls/list-review-comments", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments#list-review-comments-on-a-pull-request" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/pulls/comments#list-review-comments-on-a-pull-request" }, "parameters": [ { @@ -556220,7 +557142,7 @@ }, { "name": "per_page", - "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -556229,7 +557151,7 @@ }, { "name": "page", - "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -556734,14 +557656,14 @@ }, "post": { "summary": "Create a review comment for a pull request", - "description": "Creates a review comment on the diff of a specified pull request. To add a regular comment to a pull request timeline, see \"[Create an issue comment](https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#create-an-issue-comment).\"\n\nIf your comment applies to more than one line in the pull request diff, you should use the parameters `line`, `side`, and optionally `start_line` and `start_side` in your request.\n\nThe `position` parameter is closing down. If you use `position`, the `line`, `side`, `start_line`, and `start_side` parameters are not required.\n\nThis endpoint triggers [notifications](https://docs.github.com/enterprise-cloud@latest//github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see \"[Rate limits for the API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/rate-limits-for-the-rest-api#about-secondary-rate-limits)\"\nand \"[Best practices for using the REST API](https://docs.github.com/enterprise-cloud@latest//rest/guides/best-practices-for-using-the-rest-api).\"\n\nThis endpoint supports the following custom media types. For more information, see \"[Media types](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/getting-started-with-the-rest-api#media-types).\"\n\n- **`application/vnd.github-commitcomment.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass any specific media type.\n- **`application/vnd.github-commitcomment.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`.\n- **`application/vnd.github-commitcomment.html+json`**: Returns HTML rendered from the body's markdown. Response will include `body_html`.\n- **`application/vnd.github-commitcomment.full+json`**: Returns raw, text, and HTML representations. Response will include `body`, `body_text`, and `body_html`.", + "description": "Creates a review comment on the diff of a specified pull request. To add a regular comment to a pull request timeline, see \"[Create an issue comment](https://docs.github.com/enterprise-cloud@latest/rest/issues/comments#create-an-issue-comment).\"\n\nIf your comment applies to more than one line in the pull request diff, you should use the parameters `line`, `side`, and optionally `start_line` and `start_side` in your request.\n\nThe `position` parameter is closing down. If you use `position`, the `line`, `side`, `start_line`, and `start_side` parameters are not required.\n\nThis endpoint triggers [notifications](https://docs.github.com/enterprise-cloud@latest/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see \"[Rate limits for the API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/rate-limits-for-the-rest-api#about-secondary-rate-limits)\"\nand \"[Best practices for using the REST API](https://docs.github.com/enterprise-cloud@latest/rest/guides/best-practices-for-using-the-rest-api).\"\n\nThis endpoint supports the following custom media types. For more information, see \"[Media types](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types).\"\n\n- **`application/vnd.github-commitcomment.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass any specific media type.\n- **`application/vnd.github-commitcomment.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`.\n- **`application/vnd.github-commitcomment.html+json`**: Returns HTML rendered from the body's markdown. Response will include `body_html`.\n- **`application/vnd.github-commitcomment.full+json`**: Returns raw, text, and HTML representations. Response will include `body`, `body_text`, and `body_html`.", "tags": [ "pulls" ], "operationId": "pulls/create-review-comment", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments#create-a-review-comment-for-a-pull-request" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/pulls/comments#create-a-review-comment-for-a-pull-request" }, "parameters": [ { @@ -556801,7 +557723,7 @@ }, "side": { "type": "string", - "description": "In a split diff view, the side of the diff that the pull request's changes appear on. Can be `LEFT` or `RIGHT`. Use `LEFT` for deletions that appear in red. Use `RIGHT` for additions that appear in green or unchanged lines that appear in white and are shown for context. For a multi-line comment, side represents whether the last line of the comment range is a deletion or addition. For more information, see \"[Diff view options](https://docs.github.com/enterprise-cloud@latest//articles/about-comparing-branches-in-pull-requests#diff-view-options)\" in the GitHub Help documentation.", + "description": "In a split diff view, the side of the diff that the pull request's changes appear on. Can be `LEFT` or `RIGHT`. Use `LEFT` for deletions that appear in red. Use `RIGHT` for additions that appear in green or unchanged lines that appear in white and are shown for context. For a multi-line comment, side represents whether the last line of the comment range is a deletion or addition. For more information, see \"[Diff view options](https://docs.github.com/enterprise-cloud@latest/articles/about-comparing-branches-in-pull-requests#diff-view-options)\" in the GitHub Help documentation.", "enum": [ "LEFT", "RIGHT" @@ -556813,11 +557735,11 @@ }, "start_line": { "type": "integer", - "description": "**Required when using multi-line comments unless using `in_reply_to`**. The `start_line` is the first line in the pull request diff that your multi-line comment applies to. To learn more about multi-line comments, see \"[Commenting on a pull request](https://docs.github.com/enterprise-cloud@latest//articles/commenting-on-a-pull-request#adding-line-comments-to-a-pull-request)\" in the GitHub Help documentation." + "description": "**Required when using multi-line comments unless using `in_reply_to`**. The `start_line` is the first line in the pull request diff that your multi-line comment applies to. To learn more about multi-line comments, see \"[Commenting on a pull request](https://docs.github.com/enterprise-cloud@latest/articles/commenting-on-a-pull-request#adding-line-comments-to-a-pull-request)\" in the GitHub Help documentation." }, "start_side": { "type": "string", - "description": "**Required when using multi-line comments unless using `in_reply_to`**. The `start_side` is the starting side of the diff that the comment applies to. Can be `LEFT` or `RIGHT`. To learn more about multi-line comments, see \"[Commenting on a pull request](https://docs.github.com/enterprise-cloud@latest//articles/commenting-on-a-pull-request#adding-line-comments-to-a-pull-request)\" in the GitHub Help documentation. See `side` in this table for additional context.", + "description": "**Required when using multi-line comments unless using `in_reply_to`**. The `start_side` is the starting side of the diff that the comment applies to. Can be `LEFT` or `RIGHT`. To learn more about multi-line comments, see \"[Commenting on a pull request](https://docs.github.com/enterprise-cloud@latest/articles/commenting-on-a-pull-request#adding-line-comments-to-a-pull-request)\" in the GitHub Help documentation. See `side` in this table for additional context.", "enum": [ "LEFT", "RIGHT", @@ -557451,14 +558373,14 @@ "/repos/{owner}/{repo}/pulls/{pull_number}/comments/{comment_id}/replies": { "post": { "summary": "Create a reply for a review comment", - "description": "Creates a reply to a review comment for a pull request. For the `comment_id`, provide the ID of the review comment you are replying to. This must be the ID of a _top-level review comment_, not a reply to that comment. Replies to replies are not supported.\n\nThis endpoint triggers [notifications](https://docs.github.com/enterprise-cloud@latest//github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see \"[Rate limits for the API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/rate-limits-for-the-rest-api#about-secondary-rate-limits)\"\nand \"[Best practices for using the REST API](https://docs.github.com/enterprise-cloud@latest//rest/guides/best-practices-for-using-the-rest-api).\"\n\nThis endpoint supports the following custom media types. For more information, see \"[Media types](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/getting-started-with-the-rest-api#media-types).\"\n\n- **`application/vnd.github-commitcomment.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass any specific media type.\n- **`application/vnd.github-commitcomment.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`.\n- **`application/vnd.github-commitcomment.html+json`**: Returns HTML rendered from the body's markdown. Response will include `body_html`.\n- **`application/vnd.github-commitcomment.full+json`**: Returns raw, text, and HTML representations. Response will include `body`, `body_text`, and `body_html`.", + "description": "Creates a reply to a review comment for a pull request. For the `comment_id`, provide the ID of the review comment you are replying to. This must be the ID of a _top-level review comment_, not a reply to that comment. Replies to replies are not supported.\n\nThis endpoint triggers [notifications](https://docs.github.com/enterprise-cloud@latest/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see \"[Rate limits for the API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/rate-limits-for-the-rest-api#about-secondary-rate-limits)\"\nand \"[Best practices for using the REST API](https://docs.github.com/enterprise-cloud@latest/rest/guides/best-practices-for-using-the-rest-api).\"\n\nThis endpoint supports the following custom media types. For more information, see \"[Media types](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types).\"\n\n- **`application/vnd.github-commitcomment.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass any specific media type.\n- **`application/vnd.github-commitcomment.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`.\n- **`application/vnd.github-commitcomment.html+json`**: Returns HTML rendered from the body's markdown. Response will include `body_html`.\n- **`application/vnd.github-commitcomment.full+json`**: Returns raw, text, and HTML representations. Response will include `body`, `body_text`, and `body_html`.", "tags": [ "pulls" ], "operationId": "pulls/create-reply-for-review-comment", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments#create-a-reply-for-a-review-comment" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/pulls/comments#create-a-reply-for-a-review-comment" }, "parameters": [ { @@ -558046,14 +558968,14 @@ "/repos/{owner}/{repo}/pulls/{pull_number}/commits": { "get": { "summary": "List commits on a pull request", - "description": "Lists a maximum of 250 commits for a pull request. To receive a complete\ncommit list for pull requests with more than 250 commits, use the [List commits](https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#list-commits)\nendpoint.\n\nThis endpoint supports the following custom media types. For more information, see \"[Media types](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/getting-started-with-the-rest-api#media-types).\"\n\n- **`application/vnd.github.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass any specific media type.\n- **`application/vnd.github.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`.\n- **`application/vnd.github.html+json`**: Returns HTML rendered from the body's markdown. Response will include `body_html`.\n- **`application/vnd.github.full+json`**: Returns raw, text, and HTML representations. Response will include `body`, `body_text`, and `body_html`.", + "description": "Lists a maximum of 250 commits for a pull request. To receive a complete\ncommit list for pull requests with more than 250 commits, use the [List commits](https://docs.github.com/enterprise-cloud@latest/rest/commits/commits#list-commits)\nendpoint.\n\nThis endpoint supports the following custom media types. For more information, see \"[Media types](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types).\"\n\n- **`application/vnd.github.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass any specific media type.\n- **`application/vnd.github.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`.\n- **`application/vnd.github.html+json`**: Returns HTML rendered from the body's markdown. Response will include `body_html`.\n- **`application/vnd.github.full+json`**: Returns raw, text, and HTML representations. Response will include `body`, `body_text`, and `body_html`.", "tags": [ "pulls" ], "operationId": "pulls/list-commits", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#list-commits-on-a-pull-request" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/pulls/pulls#list-commits-on-a-pull-request" }, "parameters": [ { @@ -558085,7 +559007,7 @@ }, { "name": "per_page", - "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -558094,7 +559016,7 @@ }, { "name": "page", - "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -558766,14 +559688,14 @@ "/repos/{owner}/{repo}/pulls/{pull_number}/files": { "get": { "summary": "List pull requests files", - "description": "Lists the files in a specified pull request.\n\n> [!NOTE]\n> Responses include a maximum of 3000 files. The paginated response returns 30 files per page by default.\n\nThis endpoint supports the following custom media types. For more information, see \"[Media types](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/getting-started-with-the-rest-api#media-types).\"\n\n- **`application/vnd.github.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass any specific media type.\n- **`application/vnd.github.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`.\n- **`application/vnd.github.html+json`**: Returns HTML rendered from the body's markdown. Response will include `body_html`.\n- **`application/vnd.github.full+json`**: Returns raw, text, and HTML representations. Response will include `body`, `body_text`, and `body_html`.", + "description": "Lists the files in a specified pull request.\n\n> [!NOTE]\n> Responses include a maximum of 3000 files. The paginated response returns 30 files per page by default.\n\nThis endpoint supports the following custom media types. For more information, see \"[Media types](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types).\"\n\n- **`application/vnd.github.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass any specific media type.\n- **`application/vnd.github.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`.\n- **`application/vnd.github.html+json`**: Returns HTML rendered from the body's markdown. Response will include `body_html`.\n- **`application/vnd.github.full+json`**: Returns raw, text, and HTML representations. Response will include `body`, `body_text`, and `body_html`.", "tags": [ "pulls" ], "operationId": "pulls/list-files", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#list-pull-requests-files" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/pulls/pulls#list-pull-requests-files" }, "parameters": [ { @@ -558805,7 +559727,7 @@ }, { "name": "per_page", - "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -558814,7 +559736,7 @@ }, { "name": "page", - "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -559069,7 +559991,7 @@ "operationId": "pulls/check-if-merged", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#check-if-a-pull-request-has-been-merged" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/pulls/pulls#check-if-a-pull-request-has-been-merged" }, "parameters": [ { @@ -559117,14 +560039,14 @@ }, "put": { "summary": "Merge a pull request", - "description": "Merges a pull request into the base branch.\nThis endpoint triggers [notifications](https://docs.github.com/enterprise-cloud@latest//github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see \"[Rate limits for the API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/rate-limits-for-the-rest-api#about-secondary-rate-limits)\" and \"[Best practices for using the REST API](https://docs.github.com/enterprise-cloud@latest//rest/guides/best-practices-for-using-the-rest-api).\"", + "description": "Merges a pull request into the base branch.\nThis endpoint triggers [notifications](https://docs.github.com/enterprise-cloud@latest/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see \"[Rate limits for the API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/rate-limits-for-the-rest-api#about-secondary-rate-limits)\" and \"[Best practices for using the REST API](https://docs.github.com/enterprise-cloud@latest/rest/guides/best-practices-for-using-the-rest-api).\"", "tags": [ "pulls" ], "operationId": "pulls/merge", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#merge-a-pull-request" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/pulls/pulls#merge-a-pull-request" }, "parameters": [ { @@ -559419,14 +560341,14 @@ "/repos/{owner}/{repo}/pulls/{pull_number}/requested_reviewers": { "get": { "summary": "Get all requested reviewers for a pull request", - "description": "Gets the users or teams whose review is requested for a pull request. Once a requested reviewer submits a review, they are no longer considered a requested reviewer. Their review will instead be returned by the [List reviews for a pull request](https://docs.github.com/enterprise-cloud@latest//rest/pulls/reviews#list-reviews-for-a-pull-request) operation.", + "description": "Gets the users or teams whose review is requested for a pull request. Once a requested reviewer submits a review, they are no longer considered a requested reviewer. Their review will instead be returned by the [List reviews for a pull request](https://docs.github.com/enterprise-cloud@latest/rest/pulls/reviews#list-reviews-for-a-pull-request) operation.", "tags": [ "pulls" ], "operationId": "pulls/list-requested-reviewers", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/pulls/review-requests#get-all-requested-reviewers-for-a-pull-request" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/pulls/review-requests#get-all-requested-reviewers-for-a-pull-request" }, "parameters": [ { @@ -559879,14 +560801,14 @@ }, "post": { "summary": "Request reviewers for a pull request", - "description": "Requests reviews for a pull request from a given set of users and/or teams.\nThis endpoint triggers [notifications](https://docs.github.com/enterprise-cloud@latest//github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see \"[Rate limits for the API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/rate-limits-for-the-rest-api#about-secondary-rate-limits)\" and \"[Best practices for using the REST API](https://docs.github.com/enterprise-cloud@latest//rest/guides/best-practices-for-using-the-rest-api).\"", + "description": "Requests reviews for a pull request from a given set of users and/or teams.\nThis endpoint triggers [notifications](https://docs.github.com/enterprise-cloud@latest/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see \"[Rate limits for the API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/rate-limits-for-the-rest-api#about-secondary-rate-limits)\" and \"[Best practices for using the REST API](https://docs.github.com/enterprise-cloud@latest/rest/guides/best-practices-for-using-the-rest-api).\"", "tags": [ "pulls" ], "operationId": "pulls/request-reviewers", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/pulls/review-requests#request-reviewers-for-a-pull-request" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/pulls/review-requests#request-reviewers-for-a-pull-request" }, "parameters": [ { @@ -563798,7 +564720,7 @@ "operationId": "pulls/remove-requested-reviewers", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/pulls/review-requests#remove-requested-reviewers-from-a-pull-request" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/pulls/review-requests#remove-requested-reviewers-from-a-pull-request" }, "parameters": [ { @@ -567695,14 +568617,14 @@ "/repos/{owner}/{repo}/pulls/{pull_number}/reviews": { "get": { "summary": "List reviews for a pull request", - "description": "Lists all reviews for a specified pull request. The list of reviews returns in chronological order.\n\nThis endpoint supports the following custom media types. For more information, see \"[Media types](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/getting-started-with-the-rest-api#media-types).\"\n\n- **`application/vnd.github-commitcomment.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass any specific media type.\n- **`application/vnd.github-commitcomment.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`.\n- **`application/vnd.github-commitcomment.html+json`**: Returns HTML rendered from the body's markdown. Response will include `body_html`.\n- **`application/vnd.github-commitcomment.full+json`**: Returns raw, text, and HTML representations. Response will include `body`, `body_text`, and `body_html`.", + "description": "Lists all reviews for a specified pull request. The list of reviews returns in chronological order.\n\nThis endpoint supports the following custom media types. For more information, see \"[Media types](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types).\"\n\n- **`application/vnd.github-commitcomment.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass any specific media type.\n- **`application/vnd.github-commitcomment.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`.\n- **`application/vnd.github-commitcomment.html+json`**: Returns HTML rendered from the body's markdown. Response will include `body_html`.\n- **`application/vnd.github-commitcomment.full+json`**: Returns raw, text, and HTML representations. Response will include `body`, `body_text`, and `body_html`.", "tags": [ "pulls" ], "operationId": "pulls/list-reviews", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/pulls/reviews#list-reviews-for-a-pull-request" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/pulls/reviews#list-reviews-for-a-pull-request" }, "parameters": [ { @@ -567734,7 +568656,7 @@ }, { "name": "per_page", - "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -567743,7 +568665,7 @@ }, { "name": "page", - "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -568061,14 +568983,14 @@ }, "post": { "summary": "Create a review for a pull request", - "description": "Creates a review on a specified pull request.\n\nThis endpoint triggers [notifications](https://docs.github.com/enterprise-cloud@latest//github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see \"[Rate limits for the API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/rate-limits-for-the-rest-api#about-secondary-rate-limits)\" and \"[Best practices for using the REST API](https://docs.github.com/enterprise-cloud@latest//rest/guides/best-practices-for-using-the-rest-api).\"\n\nPull request reviews created in the `PENDING` state are not submitted and therefore do not include the `submitted_at` property in the response. To create a pending review for a pull request, leave the `event` parameter blank. For more information about submitting a `PENDING` review, see \"[Submit a review for a pull request](https://docs.github.com/enterprise-cloud@latest//rest/pulls/reviews#submit-a-review-for-a-pull-request).\"\n\n> [!NOTE]\n> To comment on a specific line in a file, you need to first determine the position of that line in the diff. To see a pull request diff, add the `application/vnd.github.v3.diff` media type to the `Accept` header of a call to the [Get a pull request](https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#get-a-pull-request) endpoint.\n\nThe `position` value equals the number of lines down from the first \"@@\" hunk header in the file you want to add a comment. The line just below the \"@@\" line is position 1, the next line is position 2, and so on. The position in the diff continues to increase through lines of whitespace and additional hunks until the beginning of a new file.\n\nThis endpoint supports the following custom media types. For more information, see \"[Media types](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/getting-started-with-the-rest-api#media-types).\"\n\n- **`application/vnd.github-commitcomment.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass any specific media type.\n- **`application/vnd.github-commitcomment.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`.\n- **`application/vnd.github-commitcomment.html+json`**: Returns HTML rendered from the body's markdown. Response will include `body_html`.\n- **`application/vnd.github-commitcomment.full+json`**: Returns raw, text, and HTML representations. Response will include `body`, `body_text`, and `body_html`.", + "description": "Creates a review on a specified pull request.\n\nThis endpoint triggers [notifications](https://docs.github.com/enterprise-cloud@latest/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see \"[Rate limits for the API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/rate-limits-for-the-rest-api#about-secondary-rate-limits)\" and \"[Best practices for using the REST API](https://docs.github.com/enterprise-cloud@latest/rest/guides/best-practices-for-using-the-rest-api).\"\n\nPull request reviews created in the `PENDING` state are not submitted and therefore do not include the `submitted_at` property in the response. To create a pending review for a pull request, leave the `event` parameter blank. For more information about submitting a `PENDING` review, see \"[Submit a review for a pull request](https://docs.github.com/enterprise-cloud@latest/rest/pulls/reviews#submit-a-review-for-a-pull-request).\"\n\n> [!NOTE]\n> To comment on a specific line in a file, you need to first determine the position of that line in the diff. To see a pull request diff, add the `application/vnd.github.v3.diff` media type to the `Accept` header of a call to the [Get a pull request](https://docs.github.com/enterprise-cloud@latest/rest/pulls/pulls#get-a-pull-request) endpoint.\n\nThe `position` value equals the number of lines down from the first \"@@\" hunk header in the file you want to add a comment. The line just below the \"@@\" line is position 1, the next line is position 2, and so on. The position in the diff continues to increase through lines of whitespace and additional hunks until the beginning of a new file.\n\nThis endpoint supports the following custom media types. For more information, see \"[Media types](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types).\"\n\n- **`application/vnd.github-commitcomment.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass any specific media type.\n- **`application/vnd.github-commitcomment.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`.\n- **`application/vnd.github-commitcomment.html+json`**: Returns HTML rendered from the body's markdown. Response will include `body_html`.\n- **`application/vnd.github-commitcomment.full+json`**: Returns raw, text, and HTML representations. Response will include `body`, `body_text`, and `body_html`.", "tags": [ "pulls" ], "operationId": "pulls/create-review", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/pulls/reviews#create-a-review-for-a-pull-request" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/pulls/reviews#create-a-review-for-a-pull-request" }, "parameters": [ { @@ -568116,7 +569038,7 @@ }, "event": { "type": "string", - "description": "The review action you want to perform. The review actions include: `APPROVE`, `REQUEST_CHANGES`, or `COMMENT`. By leaving this blank, you set the review action state to `PENDING`, which means you will need to [submit the pull request review](https://docs.github.com/enterprise-cloud@latest//rest/pulls/reviews#submit-a-review-for-a-pull-request) when you are ready.", + "description": "The review action you want to perform. The review actions include: `APPROVE`, `REQUEST_CHANGES`, or `COMMENT`. By leaving this blank, you set the review action state to `PENDING`, which means you will need to [submit the pull request review](https://docs.github.com/enterprise-cloud@latest/rest/pulls/reviews#submit-a-review-for-a-pull-request) when you are ready.", "enum": [ "APPROVE", "REQUEST_CHANGES", @@ -568541,14 +569463,14 @@ "/repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}": { "get": { "summary": "Get a review for a pull request", - "description": "Retrieves a pull request review by its ID.\n\nThis endpoint supports the following custom media types. For more information, see \"[Media types](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/getting-started-with-the-rest-api#media-types).\"\n\n- **`application/vnd.github-commitcomment.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass any specific media type.\n- **`application/vnd.github-commitcomment.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`.\n- **`application/vnd.github-commitcomment.html+json`**: Returns HTML rendered from the body's markdown. Response will include `body_html`.\n- **`application/vnd.github-commitcomment.full+json`**: Returns raw, text, and HTML representations. Response will include `body`, `body_text`, and `body_html`.", + "description": "Retrieves a pull request review by its ID.\n\nThis endpoint supports the following custom media types. For more information, see \"[Media types](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types).\"\n\n- **`application/vnd.github-commitcomment.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass any specific media type.\n- **`application/vnd.github-commitcomment.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`.\n- **`application/vnd.github-commitcomment.html+json`**: Returns HTML rendered from the body's markdown. Response will include `body_html`.\n- **`application/vnd.github-commitcomment.full+json`**: Returns raw, text, and HTML representations. Response will include `body`, `body_text`, and `body_html`.", "tags": [ "pulls" ], "operationId": "pulls/get-review", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/pulls/reviews#get-a-review-for-a-pull-request" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/pulls/reviews#get-a-review-for-a-pull-request" }, "parameters": [ { @@ -568911,14 +569833,14 @@ }, "put": { "summary": "Update a review for a pull request", - "description": "Updates the contents of a specified review summary comment.\n\nThis endpoint supports the following custom media types. For more information, see \"[Media types](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/getting-started-with-the-rest-api#media-types).\"\n\n- **`application/vnd.github-commitcomment.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass any specific media type.\n- **`application/vnd.github-commitcomment.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`.\n- **`application/vnd.github-commitcomment.html+json`**: Returns HTML rendered from the body's markdown. Response will include `body_html`.\n- **`application/vnd.github-commitcomment.full+json`**: Returns raw, text, and HTML representations. Response will include `body`, `body_text`, and `body_html`.", + "description": "Updates the contents of a specified review summary comment.\n\nThis endpoint supports the following custom media types. For more information, see \"[Media types](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types).\"\n\n- **`application/vnd.github-commitcomment.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass any specific media type.\n- **`application/vnd.github-commitcomment.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`.\n- **`application/vnd.github-commitcomment.html+json`**: Returns HTML rendered from the body's markdown. Response will include `body_html`.\n- **`application/vnd.github-commitcomment.full+json`**: Returns raw, text, and HTML representations. Response will include `body`, `body_text`, and `body_html`.", "tags": [ "pulls" ], "operationId": "pulls/update-review", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/pulls/reviews#update-a-review-for-a-pull-request" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/pulls/reviews#update-a-review-for-a-pull-request" }, "parameters": [ { @@ -569311,14 +570233,14 @@ }, "delete": { "summary": "Delete a pending review for a pull request", - "description": "Deletes a pull request review that has not been submitted. Submitted reviews cannot be deleted.\n\nThis endpoint supports the following custom media types. For more information, see \"[Media types](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/getting-started-with-the-rest-api#media-types).\"\n\n- **`application/vnd.github-commitcomment.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass any specific media type.\n- **`application/vnd.github-commitcomment.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`.\n- **`application/vnd.github-commitcomment.html+json`**: Returns HTML rendered from the body's markdown. Response will include `body_html`.\n- **`application/vnd.github-commitcomment.full+json`**: Returns raw, text, and HTML representations. Response will include `body`, `body_text`, and `body_html`.", + "description": "Deletes a pull request review that has not been submitted. Submitted reviews cannot be deleted.\n\nThis endpoint supports the following custom media types. For more information, see \"[Media types](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types).\"\n\n- **`application/vnd.github-commitcomment.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass any specific media type.\n- **`application/vnd.github-commitcomment.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`.\n- **`application/vnd.github-commitcomment.html+json`**: Returns HTML rendered from the body's markdown. Response will include `body_html`.\n- **`application/vnd.github-commitcomment.full+json`**: Returns raw, text, and HTML representations. Response will include `body`, `body_text`, and `body_html`.", "tags": [ "pulls" ], "operationId": "pulls/delete-pending-review", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/pulls/reviews#delete-a-pending-review-for-a-pull-request" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/pulls/reviews#delete-a-pending-review-for-a-pull-request" }, "parameters": [ { @@ -569713,14 +570635,14 @@ "/repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}/comments": { "get": { "summary": "List comments for a pull request review", - "description": "Lists comments for a specific pull request review.\n\nThis endpoint supports the following custom media types. For more information, see \"[Media types](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/getting-started-with-the-rest-api#media-types).\"\n\n- **`application/vnd.github-commitcomment.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass any specific media type.\n- **`application/vnd.github-commitcomment.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`.\n- **`application/vnd.github-commitcomment.html+json`**: Returns HTML rendered from the body's markdown. Response will include `body_html`.\n- **`application/vnd.github-commitcomment.full+json`**: Returns raw, text, and HTML representations. Response will include `body`, `body_text`, and `body_html`.", + "description": "Lists comments for a specific pull request review.\n\nThis endpoint supports the following custom media types. For more information, see \"[Media types](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types).\"\n\n- **`application/vnd.github-commitcomment.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass any specific media type.\n- **`application/vnd.github-commitcomment.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`.\n- **`application/vnd.github-commitcomment.html+json`**: Returns HTML rendered from the body's markdown. Response will include `body_html`.\n- **`application/vnd.github-commitcomment.full+json`**: Returns raw, text, and HTML representations. Response will include `body`, `body_text`, and `body_html`.", "tags": [ "pulls" ], "operationId": "pulls/list-comments-for-review", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/pulls/reviews#list-comments-for-a-pull-request-review" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/pulls/reviews#list-comments-for-a-pull-request-review" }, "parameters": [ { @@ -569761,7 +570683,7 @@ }, { "name": "per_page", - "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -569770,7 +570692,7 @@ }, { "name": "page", - "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -570285,14 +571207,14 @@ "/repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}/dismissals": { "put": { "summary": "Dismiss a review for a pull request", - "description": "Dismisses a specified review on a pull request.\n\n> [!NOTE]\n> To dismiss a pull request review on a [protected branch](https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection), you must be a repository administrator or be included in the list of people or teams who can dismiss pull request reviews.\n\nThis endpoint supports the following custom media types. For more information, see \"[Media types](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/getting-started-with-the-rest-api#media-types).\"\n\n- **`application/vnd.github-commitcomment.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass any specific media type.\n- **`application/vnd.github-commitcomment.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`.\n- **`application/vnd.github-commitcomment.html+json`**: Returns HTML rendered from the body's markdown. Response will include `body_html`.\n- **`application/vnd.github-commitcomment.full+json`**: Returns raw, text, and HTML representations. Response will include `body`, `body_text`, and `body_html`.", + "description": "Dismisses a specified review on a pull request.\n\n> [!NOTE]\n> To dismiss a pull request review on a [protected branch](https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection), you must be a repository administrator or be included in the list of people or teams who can dismiss pull request reviews.\n\nThis endpoint supports the following custom media types. For more information, see \"[Media types](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types).\"\n\n- **`application/vnd.github-commitcomment.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass any specific media type.\n- **`application/vnd.github-commitcomment.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`.\n- **`application/vnd.github-commitcomment.html+json`**: Returns HTML rendered from the body's markdown. Response will include `body_html`.\n- **`application/vnd.github-commitcomment.full+json`**: Returns raw, text, and HTML representations. Response will include `body`, `body_text`, and `body_html`.", "tags": [ "pulls" ], "operationId": "pulls/dismiss-review", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/pulls/reviews#dismiss-a-review-for-a-pull-request" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/pulls/reviews#dismiss-a-review-for-a-pull-request" }, "parameters": [ { @@ -570721,14 +571643,14 @@ "/repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}/events": { "post": { "summary": "Submit a review for a pull request", - "description": "Submits a pending review for a pull request. For more information about creating a pending review for a pull request, see \"[Create a review for a pull request](https://docs.github.com/enterprise-cloud@latest//rest/pulls/reviews#create-a-review-for-a-pull-request).\"\n\nThis endpoint supports the following custom media types. For more information, see \"[Media types](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/getting-started-with-the-rest-api#media-types).\"\n\n- **`application/vnd.github-commitcomment.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass any specific media type.\n- **`application/vnd.github-commitcomment.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`.\n- **`application/vnd.github-commitcomment.html+json`**: Returns HTML rendered from the body's markdown. Response will include `body_html`.\n- **`application/vnd.github-commitcomment.full+json`**: Returns raw, text, and HTML representations. Response will include `body`, `body_text`, and `body_html`.", + "description": "Submits a pending review for a pull request. For more information about creating a pending review for a pull request, see \"[Create a review for a pull request](https://docs.github.com/enterprise-cloud@latest/rest/pulls/reviews#create-a-review-for-a-pull-request).\"\n\nThis endpoint supports the following custom media types. For more information, see \"[Media types](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types).\"\n\n- **`application/vnd.github-commitcomment.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass any specific media type.\n- **`application/vnd.github-commitcomment.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`.\n- **`application/vnd.github-commitcomment.html+json`**: Returns HTML rendered from the body's markdown. Response will include `body_html`.\n- **`application/vnd.github-commitcomment.full+json`**: Returns raw, text, and HTML representations. Response will include `body`, `body_text`, and `body_html`.", "tags": [ "pulls" ], "operationId": "pulls/submit-review", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/pulls/reviews#submit-a-review-for-a-pull-request" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/pulls/reviews#submit-a-review-for-a-pull-request" }, "parameters": [ { @@ -571192,7 +572114,7 @@ "operationId": "pulls/update-branch", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#update-a-pull-request-branch" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/pulls/pulls#update-a-pull-request-branch" }, "parameters": [ { @@ -571233,7 +572155,7 @@ "properties": { "expected_head_sha": { "type": "string", - "description": "The expected SHA of the pull request's HEAD ref. This is the most recent commit on the pull request's branch. If the expected SHA does not match the pull request's HEAD, you will receive a `422 Unprocessable Entity` status. You can use the \"[List commits](https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#list-commits)\" endpoint to find the most recent commit SHA. Default: SHA of the pull request's current HEAD ref." + "description": "The expected SHA of the pull request's HEAD ref. This is the most recent commit on the pull request's branch. If the expected SHA does not match the pull request's HEAD, you will receive a `422 Unprocessable Entity` status. You can use the \"[List commits](https://docs.github.com/enterprise-cloud@latest/rest/commits/commits#list-commits)\" endpoint to find the most recent commit SHA. Default: SHA of the pull request's current HEAD ref." } } }, @@ -571381,14 +572303,14 @@ "/repos/{owner}/{repo}/readme": { "get": { "summary": "Get a repository README", - "description": "Gets the preferred README for a repository.\n\nThis endpoint supports the following custom media types. For more information, see \"[Media types](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/getting-started-with-the-rest-api#media-types).\"\n\n- **`application/vnd.github.raw+json`**: Returns the raw file contents. This is the default if you do not specify a media type.\n- **`application/vnd.github.html+json`**: Returns the README in HTML. Markup languages are rendered to HTML using GitHub's open-source [Markup library](https://github.com/github/markup).", + "description": "Gets the preferred README for a repository.\n\nThis endpoint supports the following custom media types. For more information, see \"[Media types](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types).\"\n\n- **`application/vnd.github.raw+json`**: Returns the raw file contents. This is the default if you do not specify a media type.\n- **`application/vnd.github.html+json`**: Returns the README in HTML. Markup languages are rendered to HTML using GitHub's open-source [Markup library](https://github.com/github/markup).", "tags": [ "repos" ], "operationId": "repos/get-readme", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#get-a-repository-readme" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/repos/contents#get-a-repository-readme" }, "parameters": [ { @@ -571655,14 +572577,14 @@ "/repos/{owner}/{repo}/readme/{dir}": { "get": { "summary": "Get a repository README for a directory", - "description": "Gets the README from a repository directory.\n\nThis endpoint supports the following custom media types. For more information, see \"[Media types](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/getting-started-with-the-rest-api#media-types).\"\n\n- **`application/vnd.github.raw+json`**: Returns the raw file contents. This is the default if you do not specify a media type.\n- **`application/vnd.github.html+json`**: Returns the README in HTML. Markup languages are rendered to HTML using GitHub's open-source [Markup library](https://github.com/github/markup).", + "description": "Gets the README from a repository directory.\n\nThis endpoint supports the following custom media types. For more information, see \"[Media types](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types).\"\n\n- **`application/vnd.github.raw+json`**: Returns the raw file contents. This is the default if you do not specify a media type.\n- **`application/vnd.github.html+json`**: Returns the README in HTML. Markup languages are rendered to HTML using GitHub's open-source [Markup library](https://github.com/github/markup).", "tags": [ "repos" ], "operationId": "repos/get-readme-in-directory", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#get-a-repository-readme-for-a-directory" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/repos/contents#get-a-repository-readme-for-a-directory" }, "parameters": [ { @@ -571936,14 +572858,14 @@ "/repos/{owner}/{repo}/releases": { "get": { "summary": "List releases", - "description": "This returns a list of releases, which does not include regular Git tags that have not been associated with a release. To get a list of Git tags, use the [Repository Tags API](https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-tags).\n\nInformation about published releases are available to everyone. Only users with push access will receive listings for draft releases.", + "description": "This returns a list of releases, which does not include regular Git tags that have not been associated with a release. To get a list of Git tags, use the [Repository Tags API](https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#list-repository-tags).\n\nInformation about published releases are available to everyone. Only users with push access will receive listings for draft releases.", "tags": [ "repos" ], "operationId": "repos/list-releases", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#list-releases" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/releases/releases#list-releases" }, "parameters": [ { @@ -571966,7 +572888,7 @@ }, { "name": "per_page", - "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -571975,7 +572897,7 @@ }, { "name": "page", - "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -572614,14 +573536,14 @@ }, "post": { "summary": "Create a release", - "description": "Users with push access to the repository can create a release.\n\nThis endpoint triggers [notifications](https://docs.github.com/enterprise-cloud@latest//github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see \"[Rate limits for the API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/rate-limits-for-the-rest-api#about-secondary-rate-limits)\" and \"[Best practices for using the REST API](https://docs.github.com/enterprise-cloud@latest//rest/guides/best-practices-for-using-the-rest-api).\"", + "description": "Users with push access to the repository can create a release.\n\nThis endpoint triggers [notifications](https://docs.github.com/enterprise-cloud@latest/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see \"[Rate limits for the API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/rate-limits-for-the-rest-api#about-secondary-rate-limits)\" and \"[Best practices for using the REST API](https://docs.github.com/enterprise-cloud@latest/rest/guides/best-practices-for-using-the-rest-api).\"", "tags": [ "repos" ], "operationId": "repos/create-release", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#create-a-release" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/releases/releases#create-a-release" }, "parameters": [ { @@ -572678,7 +573600,7 @@ }, "discussion_category_name": { "type": "string", - "description": "If specified, a discussion of the specified category is created and linked to the release. The value must be a category that already exists in the repository. For more information, see \"[Managing categories for discussions in your repository](https://docs.github.com/enterprise-cloud@latest//discussions/managing-discussions-for-your-community/managing-categories-for-discussions-in-your-repository).\"" + "description": "If specified, a discussion of the specified category is created and linked to the release. The value must be a category that already exists in the repository. For more information, see \"[Managing categories for discussions in your repository](https://docs.github.com/enterprise-cloud@latest/discussions/managing-discussions-for-your-community/managing-categories-for-discussions-in-your-repository).\"" }, "generate_release_notes": { "type": "boolean", @@ -573415,14 +574337,14 @@ "/repos/{owner}/{repo}/releases/assets/{asset_id}": { "get": { "summary": "Get a release asset", - "description": "To download the asset's binary content:\n\n- If within a browser, fetch the location specified in the `browser_download_url` key provided in the response.\n- Alternatively, set the `Accept` header of the request to \n [`application/octet-stream`](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/getting-started-with-the-rest-api#media-types). \n The API will either redirect the client to the location, or stream it directly if possible.\n API clients should handle both a `200` or `302` response.", + "description": "To download the asset's binary content:\n\n- If within a browser, fetch the location specified in the `browser_download_url` key provided in the response.\n- Alternatively, set the `Accept` header of the request to \n [`application/octet-stream`](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types). \n The API will either redirect the client to the location, or stream it directly if possible.\n API clients should handle both a `200` or `302` response.", "tags": [ "repos" ], "operationId": "repos/get-release-asset", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/releases/assets#get-a-release-asset" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/releases/assets#get-a-release-asset" }, "parameters": [ { @@ -573746,7 +574668,7 @@ "operationId": "repos/update-release-asset", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/releases/assets#update-a-release-asset" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/releases/assets#update-a-release-asset" }, "parameters": [ { @@ -574073,7 +574995,7 @@ "operationId": "repos/delete-release-asset", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/releases/assets#delete-a-release-asset" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/releases/assets#delete-a-release-asset" }, "parameters": [ { @@ -574146,14 +575068,14 @@ "/repos/{owner}/{repo}/releases/generate-notes": { "post": { "summary": "Generate release notes content for a release", - "description": "Generate a name and body describing a [release](https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#get-a-release). The body content will be markdown formatted and contain information like the changes since last release and users who contributed. The generated release notes are not saved anywhere. They are intended to be generated and used when creating a new release.", + "description": "Generate a name and body describing a [release](https://docs.github.com/enterprise-cloud@latest/rest/releases/releases#get-a-release). The body content will be markdown formatted and contain information like the changes since last release and users who contributed. The generated release notes are not saved anywhere. They are intended to be generated and used when creating a new release.", "tags": [ "repos" ], "operationId": "repos/generate-release-notes", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#generate-release-notes-content-for-a-release" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/releases/releases#generate-release-notes-content-for-a-release" }, "parameters": [ { @@ -574297,7 +575219,7 @@ "operationId": "repos/get-latest-release", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#get-the-latest-release" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/releases/releases#get-the-latest-release" }, "parameters": [ { @@ -574947,7 +575869,7 @@ "operationId": "repos/get-release-by-tag", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#get-a-release-by-tag-name" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/releases/releases#get-a-release-by-tag-name" }, "parameters": [ { @@ -575600,14 +576522,14 @@ "/repos/{owner}/{repo}/releases/{release_id}": { "get": { "summary": "Get a release", - "description": "Gets a public release with the specified release ID.\n\n> [!NOTE]\n> This returns an `upload_url` key corresponding to the endpoint for uploading release assets. This key is a hypermedia resource. For more information, see \"[Getting started with the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/getting-started-with-the-rest-api#hypermedia).\"", + "description": "Gets a public release with the specified release ID.\n\n> [!NOTE]\n> This returns an `upload_url` key corresponding to the endpoint for uploading release assets. This key is a hypermedia resource. For more information, see \"[Getting started with the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/getting-started-with-the-rest-api#hypermedia).\"", "tags": [ "repos" ], "operationId": "repos/get-release", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#get-a-release" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/releases/releases#get-a-release" }, "parameters": [ { @@ -575640,7 +576562,7 @@ ], "responses": { "200": { - "description": "**Note:** This returns an `upload_url` key corresponding to the endpoint for uploading release assets. This key is a hypermedia resource. For more information, see \"[Getting started with the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/getting-started-with-the-rest-api#hypermedia).\"", + "description": "**Note:** This returns an `upload_url` key corresponding to the endpoint for uploading release assets. This key is a hypermedia resource. For more information, see \"[Getting started with the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/getting-started-with-the-rest-api#hypermedia).\"", "content": { "application/json": { "schema": { @@ -576241,7 +577163,7 @@ "operationId": "repos/update-release", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#update-a-release" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/releases/releases#update-a-release" }, "parameters": [ { @@ -576315,7 +577237,7 @@ }, "discussion_category_name": { "type": "string", - "description": "If specified, a discussion of the specified category is created and linked to the release. The value must be a category that already exists in the repository. If there is already a discussion linked to the release, this parameter is ignored. For more information, see \"[Managing categories for discussions in your repository](https://docs.github.com/enterprise-cloud@latest//discussions/managing-discussions-for-your-community/managing-categories-for-discussions-in-your-repository).\"" + "description": "If specified, a discussion of the specified category is created and linked to the release. The value must be a category that already exists in the repository. If there is already a discussion linked to the release, this parameter is ignored. For more information, see \"[Managing categories for discussions in your repository](https://docs.github.com/enterprise-cloud@latest/discussions/managing-discussions-for-your-community/managing-categories-for-discussions-in-your-repository).\"" } } }, @@ -576960,7 +577882,7 @@ "operationId": "repos/delete-release", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#delete-a-release" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/releases/releases#delete-a-release" }, "parameters": [ { @@ -577040,7 +577962,7 @@ "operationId": "repos/list-release-assets", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/releases/assets#list-release-assets" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/releases/assets#list-release-assets" }, "parameters": [ { @@ -577072,7 +577994,7 @@ }, { "name": "per_page", - "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -577081,7 +578003,7 @@ }, { "name": "page", - "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -577359,14 +578281,14 @@ }, "post": { "summary": "Upload a release asset", - "description": "This endpoint makes use of a [Hypermedia relation](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/getting-started-with-the-rest-api#hypermedia) to determine which URL to access. The endpoint you call to upload release assets is specific to your release. Use the `upload_url` returned in\nthe response of the [Create a release endpoint](https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#create-a-release) to upload a release asset.\n\nYou need to use an HTTP client which supports [SNI](http://en.wikipedia.org/wiki/Server_Name_Indication) to make calls to this endpoint.\n\nMost libraries will set the required `Content-Length` header automatically. Use the required `Content-Type` header to provide the media type of the asset. For a list of media types, see [Media Types](https://www.iana.org/assignments/media-types/media-types.xhtml). For example: \n\n`application/zip`\n\nGitHub Enterprise Cloud expects the asset data in its raw binary form, rather than JSON. You will send the raw binary content of the asset as the request body. Everything else about the endpoint is the same as the rest of the API. For example,\nyou'll still need to pass your authentication to be able to upload an asset.\n\nWhen an upstream failure occurs, you will receive a `502 Bad Gateway` status. This may leave an empty asset with a state of `starter`. It can be safely deleted.\n\n**Notes:**\n* GitHub Enterprise Cloud renames asset filenames that have special characters, non-alphanumeric characters, and leading or trailing periods. The \"[List release assets](https://docs.github.com/enterprise-cloud@latest//rest/releases/assets#list-release-assets)\"\nendpoint lists the renamed filenames. For more information and help, contact [GitHub Enterprise Cloud Support](https://support.github.com/contact?tags=dotcom-rest-api).\n* To find the `release_id` query the [`GET /repos/{owner}/{repo}/releases/latest` endpoint](https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#get-the-latest-release). \n* If you upload an asset with the same filename as another uploaded asset, you'll receive an error and must delete the old file before you can re-upload the new asset.", + "description": "This endpoint makes use of a [Hypermedia relation](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/getting-started-with-the-rest-api#hypermedia) to determine which URL to access. The endpoint you call to upload release assets is specific to your release. Use the `upload_url` returned in\nthe response of the [Create a release endpoint](https://docs.github.com/enterprise-cloud@latest/rest/releases/releases#create-a-release) to upload a release asset.\n\nYou need to use an HTTP client which supports [SNI](http://en.wikipedia.org/wiki/Server_Name_Indication) to make calls to this endpoint.\n\nMost libraries will set the required `Content-Length` header automatically. Use the required `Content-Type` header to provide the media type of the asset. For a list of media types, see [Media Types](https://www.iana.org/assignments/media-types/media-types.xhtml). For example: \n\n`application/zip`\n\nGitHub Enterprise Cloud expects the asset data in its raw binary form, rather than JSON. You will send the raw binary content of the asset as the request body. Everything else about the endpoint is the same as the rest of the API. For example,\nyou'll still need to pass your authentication to be able to upload an asset.\n\nWhen an upstream failure occurs, you will receive a `502 Bad Gateway` status. This may leave an empty asset with a state of `starter`. It can be safely deleted.\n\n**Notes:**\n* GitHub Enterprise Cloud renames asset filenames that have special characters, non-alphanumeric characters, and leading or trailing periods. The \"[List release assets](https://docs.github.com/enterprise-cloud@latest/rest/releases/assets#list-release-assets)\"\nendpoint lists the renamed filenames. For more information and help, contact [GitHub Enterprise Cloud Support](https://support.github.com/contact?tags=dotcom-rest-api).\n* To find the `release_id` query the [`GET /repos/{owner}/{repo}/releases/latest` endpoint](https://docs.github.com/enterprise-cloud@latest/rest/releases/releases#get-the-latest-release). \n* If you upload an asset with the same filename as another uploaded asset, you'll receive an error and must delete the old file before you can re-upload the new asset.", "tags": [ "repos" ], "operationId": "repos/upload-release-asset", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/releases/assets#upload-a-release-asset" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/releases/assets#upload-a-release-asset" }, "servers": [ { @@ -577697,14 +578619,14 @@ "/repos/{owner}/{repo}/releases/{release_id}/reactions": { "get": { "summary": "List reactions for a release", - "description": "List the reactions to a [release](https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#get-a-release).", + "description": "List the reactions to a [release](https://docs.github.com/enterprise-cloud@latest/rest/releases/releases#get-a-release).", "tags": [ "reactions" ], "operationId": "reactions/list-for-release", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-release" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/reactions/reactions#list-reactions-for-a-release" }, "parameters": [ { @@ -577736,7 +578658,7 @@ }, { "name": "content", - "description": "Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a release.", + "description": "Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest/rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a release.", "in": "query", "required": false, "schema": { @@ -577753,7 +578675,7 @@ }, { "name": "per_page", - "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -577762,7 +578684,7 @@ }, { "name": "page", - "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -578024,14 +578946,14 @@ }, "post": { "summary": "Create reaction for a release", - "description": "Create a reaction to a [release](https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#get-a-release). A response with a `Status: 200 OK` means that you already added the reaction type to this release.", + "description": "Create a reaction to a [release](https://docs.github.com/enterprise-cloud@latest/rest/releases/releases#get-a-release). A response with a `Status: 200 OK` means that you already added the reaction type to this release.", "tags": [ "reactions" ], "operationId": "reactions/create-for-release", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-release" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/reactions/reactions#create-reaction-for-a-release" }, "parameters": [ { @@ -578071,7 +578993,7 @@ "properties": { "content": { "type": "string", - "description": "The [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions) to add to the release.", + "description": "The [reaction type](https://docs.github.com/enterprise-cloud@latest/rest/reactions/reactions#about-reactions) to add to the release.", "enum": [ "+1", "laugh", @@ -578586,14 +579508,14 @@ "/repos/{owner}/{repo}/releases/{release_id}/reactions/{reaction_id}": { "delete": { "summary": "Delete a release reaction", - "description": "> [!NOTE]\n> You can also specify a repository by `repository_id` using the route `DELETE delete /repositories/:repository_id/releases/:release_id/reactions/:reaction_id`.\n\nDelete a reaction to a [release](https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#get-a-release).", + "description": "> [!NOTE]\n> You can also specify a repository by `repository_id` using the route `DELETE delete /repositories/:repository_id/releases/:release_id/reactions/:reaction_id`.\n\nDelete a reaction to a [release](https://docs.github.com/enterprise-cloud@latest/rest/releases/releases#get-a-release).", "tags": [ "reactions" ], "operationId": "reactions/delete-for-release", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-a-release-reaction" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/reactions/reactions#delete-a-release-reaction" }, "parameters": [ { @@ -578656,7 +579578,7 @@ "operationId": "repos/get-branch-rules", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/repos/rules#get-rules-for-a-branch" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/repos/rules#get-rules-for-a-branch" }, "parameters": [ { @@ -578679,7 +579601,7 @@ }, { "name": "branch", - "description": "The name of the branch. Cannot contain wildcard characters. To use wildcard characters in branch names, use [the GraphQL API](https://docs.github.com/enterprise-cloud@latest//graphql).", + "description": "The name of the branch. Cannot contain wildcard characters. To use wildcard characters in branch names, use [the GraphQL API](https://docs.github.com/enterprise-cloud@latest/graphql).", "in": "path", "required": true, "schema": { @@ -578689,7 +579611,7 @@ }, { "name": "per_page", - "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -578698,7 +579620,7 @@ }, { "name": "page", - "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -580065,7 +580987,7 @@ "properties": { "alerts_threshold": { "type": "string", - "description": "The severity level at which code scanning results that raise alerts block a reference update. For more information on alert severity levels, see \"[About code scanning alerts](https://docs.github.com/enterprise-cloud@latest//code-security/code-scanning/managing-code-scanning-alerts/about-code-scanning-alerts#about-alert-severity-and-security-severity-levels).\"", + "description": "The severity level at which code scanning results that raise alerts block a reference update. For more information on alert severity levels, see \"[About code scanning alerts](https://docs.github.com/enterprise-cloud@latest/code-security/code-scanning/managing-code-scanning-alerts/about-code-scanning-alerts#about-alert-severity-and-security-severity-levels).\"", "enum": [ "none", "errors", @@ -580075,7 +580997,7 @@ }, "security_alerts_threshold": { "type": "string", - "description": "The severity level at which code scanning results that raise security alerts block a reference update. For more information on security severity levels, see \"[About code scanning alerts](https://docs.github.com/enterprise-cloud@latest//code-security/code-scanning/managing-code-scanning-alerts/about-code-scanning-alerts#about-alert-severity-and-security-severity-levels).\"", + "description": "The severity level at which code scanning results that raise security alerts block a reference update. For more information on security severity levels, see \"[About code scanning alerts](https://docs.github.com/enterprise-cloud@latest/code-security/code-scanning/managing-code-scanning-alerts/about-code-scanning-alerts#about-alert-severity-and-security-severity-levels).\"", "enum": [ "none", "critical", @@ -580233,7 +581155,7 @@ "operationId": "repos/get-repo-rulesets", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/repos/rules#get-all-repository-rulesets" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/repos/rules#get-all-repository-rulesets" }, "x-github": { "githubCloudOnly": false, @@ -580262,7 +581184,7 @@ }, { "name": "per_page", - "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -580271,7 +581193,7 @@ }, { "name": "page", - "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -581542,7 +582464,7 @@ "properties": { "alerts_threshold": { "type": "string", - "description": "The severity level at which code scanning results that raise alerts block a reference update. For more information on alert severity levels, see \"[About code scanning alerts](https://docs.github.com/enterprise-cloud@latest//code-security/code-scanning/managing-code-scanning-alerts/about-code-scanning-alerts#about-alert-severity-and-security-severity-levels).\"", + "description": "The severity level at which code scanning results that raise alerts block a reference update. For more information on alert severity levels, see \"[About code scanning alerts](https://docs.github.com/enterprise-cloud@latest/code-security/code-scanning/managing-code-scanning-alerts/about-code-scanning-alerts#about-alert-severity-and-security-severity-levels).\"", "enum": [ "none", "errors", @@ -581552,7 +582474,7 @@ }, "security_alerts_threshold": { "type": "string", - "description": "The severity level at which code scanning results that raise security alerts block a reference update. For more information on security severity levels, see \"[About code scanning alerts](https://docs.github.com/enterprise-cloud@latest//code-security/code-scanning/managing-code-scanning-alerts/about-code-scanning-alerts#about-alert-severity-and-security-severity-levels).\"", + "description": "The severity level at which code scanning results that raise security alerts block a reference update. For more information on security severity levels, see \"[About code scanning alerts](https://docs.github.com/enterprise-cloud@latest/code-security/code-scanning/managing-code-scanning-alerts/about-code-scanning-alerts#about-alert-severity-and-security-severity-levels).\"", "enum": [ "none", "critical", @@ -581731,7 +582653,7 @@ "operationId": "repos/create-repo-ruleset", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/repos/rules#create-a-repository-ruleset" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/repos/rules#create-a-repository-ruleset" }, "x-github": { "githubCloudOnly": false, @@ -582690,7 +583612,7 @@ "properties": { "alerts_threshold": { "type": "string", - "description": "The severity level at which code scanning results that raise alerts block a reference update. For more information on alert severity levels, see \"[About code scanning alerts](https://docs.github.com/enterprise-cloud@latest//code-security/code-scanning/managing-code-scanning-alerts/about-code-scanning-alerts#about-alert-severity-and-security-severity-levels).\"", + "description": "The severity level at which code scanning results that raise alerts block a reference update. For more information on alert severity levels, see \"[About code scanning alerts](https://docs.github.com/enterprise-cloud@latest/code-security/code-scanning/managing-code-scanning-alerts/about-code-scanning-alerts#about-alert-severity-and-security-severity-levels).\"", "enum": [ "none", "errors", @@ -582700,7 +583622,7 @@ }, "security_alerts_threshold": { "type": "string", - "description": "The severity level at which code scanning results that raise security alerts block a reference update. For more information on security severity levels, see \"[About code scanning alerts](https://docs.github.com/enterprise-cloud@latest//code-security/code-scanning/managing-code-scanning-alerts/about-code-scanning-alerts#about-alert-severity-and-security-severity-levels).\"", + "description": "The severity level at which code scanning results that raise security alerts block a reference update. For more information on security severity levels, see \"[About code scanning alerts](https://docs.github.com/enterprise-cloud@latest/code-security/code-scanning/managing-code-scanning-alerts/about-code-scanning-alerts#about-alert-severity-and-security-severity-levels).\"", "enum": [ "none", "critical", @@ -584046,7 +584968,7 @@ "properties": { "alerts_threshold": { "type": "string", - "description": "The severity level at which code scanning results that raise alerts block a reference update. For more information on alert severity levels, see \"[About code scanning alerts](https://docs.github.com/enterprise-cloud@latest//code-security/code-scanning/managing-code-scanning-alerts/about-code-scanning-alerts#about-alert-severity-and-security-severity-levels).\"", + "description": "The severity level at which code scanning results that raise alerts block a reference update. For more information on alert severity levels, see \"[About code scanning alerts](https://docs.github.com/enterprise-cloud@latest/code-security/code-scanning/managing-code-scanning-alerts/about-code-scanning-alerts#about-alert-severity-and-security-severity-levels).\"", "enum": [ "none", "errors", @@ -584056,7 +584978,7 @@ }, "security_alerts_threshold": { "type": "string", - "description": "The severity level at which code scanning results that raise security alerts block a reference update. For more information on security severity levels, see \"[About code scanning alerts](https://docs.github.com/enterprise-cloud@latest//code-security/code-scanning/managing-code-scanning-alerts/about-code-scanning-alerts#about-alert-severity-and-security-severity-levels).\"", + "description": "The severity level at which code scanning results that raise security alerts block a reference update. For more information on security severity levels, see \"[About code scanning alerts](https://docs.github.com/enterprise-cloud@latest/code-security/code-scanning/managing-code-scanning-alerts/about-code-scanning-alerts#about-alert-severity-and-security-severity-levels).\"", "enum": [ "none", "critical", @@ -584306,14 +585228,14 @@ "/repos/{owner}/{repo}/rulesets/rule-suites": { "get": { "summary": "List repository rule suites", - "description": "Lists suites of rule evaluations at the repository level.\nFor more information, see \"[Managing rulesets for a repository](https://docs.github.com/enterprise-cloud@latest//repositories/configuring-branches-and-merges-in-your-repository/managing-rulesets/managing-rulesets-for-a-repository#viewing-insights-for-rulesets).\"", + "description": "Lists suites of rule evaluations at the repository level.\nFor more information, see \"[Managing rulesets for a repository](https://docs.github.com/enterprise-cloud@latest/repositories/configuring-branches-and-merges-in-your-repository/managing-rulesets/managing-rulesets-for-a-repository#viewing-insights-for-rulesets).\"", "tags": [ "repos" ], "operationId": "repos/get-repo-rule-suites", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/repos/rule-suites#list-repository-rule-suites" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/repos/rule-suites#list-repository-rule-suites" }, "parameters": [ { @@ -584384,7 +585306,7 @@ }, { "name": "per_page", - "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -584393,7 +585315,7 @@ }, { "name": "page", - "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -584569,14 +585491,14 @@ "/repos/{owner}/{repo}/rulesets/rule-suites/{rule_suite_id}": { "get": { "summary": "Get a repository rule suite", - "description": "Gets information about a suite of rule evaluations from within a repository.\nFor more information, see \"[Managing rulesets for a repository](https://docs.github.com/enterprise-cloud@latest//repositories/configuring-branches-and-merges-in-your-repository/managing-rulesets/managing-rulesets-for-a-repository#viewing-insights-for-rulesets).\"", + "description": "Gets information about a suite of rule evaluations from within a repository.\nFor more information, see \"[Managing rulesets for a repository](https://docs.github.com/enterprise-cloud@latest/repositories/configuring-branches-and-merges-in-your-repository/managing-rulesets/managing-rulesets-for-a-repository#viewing-insights-for-rulesets).\"", "tags": [ "repos" ], "operationId": "repos/get-repo-rule-suite", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/repos/rule-suites#get-a-repository-rule-suite" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/repos/rule-suites#get-a-repository-rule-suite" }, "parameters": [ { @@ -584599,7 +585521,7 @@ }, { "name": "rule_suite_id", - "description": "The unique identifier of the rule suite result.\nTo get this ID, you can use [GET /repos/{owner}/{repo}/rulesets/rule-suites](https://docs.github.com/enterprise-cloud@latest//rest/repos/rule-suites#list-repository-rule-suites)\nfor repositories and [GET /orgs/{org}/rulesets/rule-suites](https://docs.github.com/enterprise-cloud@latest//rest/orgs/rule-suites#list-organization-rule-suites)\nfor organizations.", + "description": "The unique identifier of the rule suite result.\nTo get this ID, you can use [GET /repos/{owner}/{repo}/rulesets/rule-suites](https://docs.github.com/enterprise-cloud@latest/rest/repos/rule-suites#list-repository-rule-suites)\nfor repositories and [GET /orgs/{org}/rulesets/rule-suites](https://docs.github.com/enterprise-cloud@latest/rest/orgs/rule-suites#list-organization-rule-suites)\nfor organizations.", "in": "path", "required": true, "schema": { @@ -584853,7 +585775,7 @@ "operationId": "repos/get-repo-ruleset", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/repos/rules#get-a-repository-ruleset" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/repos/rules#get-a-repository-ruleset" }, "x-github": { "githubCloudOnly": false, @@ -586141,7 +587063,7 @@ "properties": { "alerts_threshold": { "type": "string", - "description": "The severity level at which code scanning results that raise alerts block a reference update. For more information on alert severity levels, see \"[About code scanning alerts](https://docs.github.com/enterprise-cloud@latest//code-security/code-scanning/managing-code-scanning-alerts/about-code-scanning-alerts#about-alert-severity-and-security-severity-levels).\"", + "description": "The severity level at which code scanning results that raise alerts block a reference update. For more information on alert severity levels, see \"[About code scanning alerts](https://docs.github.com/enterprise-cloud@latest/code-security/code-scanning/managing-code-scanning-alerts/about-code-scanning-alerts#about-alert-severity-and-security-severity-levels).\"", "enum": [ "none", "errors", @@ -586151,7 +587073,7 @@ }, "security_alerts_threshold": { "type": "string", - "description": "The severity level at which code scanning results that raise security alerts block a reference update. For more information on security severity levels, see \"[About code scanning alerts](https://docs.github.com/enterprise-cloud@latest//code-security/code-scanning/managing-code-scanning-alerts/about-code-scanning-alerts#about-alert-severity-and-security-severity-levels).\"", + "description": "The severity level at which code scanning results that raise security alerts block a reference update. For more information on security severity levels, see \"[About code scanning alerts](https://docs.github.com/enterprise-cloud@latest/code-security/code-scanning/managing-code-scanning-alerts/about-code-scanning-alerts#about-alert-severity-and-security-severity-levels).\"", "enum": [ "none", "critical", @@ -586337,7 +587259,7 @@ "operationId": "repos/update-repo-ruleset", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/repos/rules#update-a-repository-ruleset" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/repos/rules#update-a-repository-ruleset" }, "x-github": { "githubCloudOnly": false, @@ -587304,7 +588226,7 @@ "properties": { "alerts_threshold": { "type": "string", - "description": "The severity level at which code scanning results that raise alerts block a reference update. For more information on alert severity levels, see \"[About code scanning alerts](https://docs.github.com/enterprise-cloud@latest//code-security/code-scanning/managing-code-scanning-alerts/about-code-scanning-alerts#about-alert-severity-and-security-severity-levels).\"", + "description": "The severity level at which code scanning results that raise alerts block a reference update. For more information on alert severity levels, see \"[About code scanning alerts](https://docs.github.com/enterprise-cloud@latest/code-security/code-scanning/managing-code-scanning-alerts/about-code-scanning-alerts#about-alert-severity-and-security-severity-levels).\"", "enum": [ "none", "errors", @@ -587314,7 +588236,7 @@ }, "security_alerts_threshold": { "type": "string", - "description": "The severity level at which code scanning results that raise security alerts block a reference update. For more information on security severity levels, see \"[About code scanning alerts](https://docs.github.com/enterprise-cloud@latest//code-security/code-scanning/managing-code-scanning-alerts/about-code-scanning-alerts#about-alert-severity-and-security-severity-levels).\"", + "description": "The severity level at which code scanning results that raise security alerts block a reference update. For more information on security severity levels, see \"[About code scanning alerts](https://docs.github.com/enterprise-cloud@latest/code-security/code-scanning/managing-code-scanning-alerts/about-code-scanning-alerts#about-alert-severity-and-security-severity-levels).\"", "enum": [ "none", "critical", @@ -588656,7 +589578,7 @@ "properties": { "alerts_threshold": { "type": "string", - "description": "The severity level at which code scanning results that raise alerts block a reference update. For more information on alert severity levels, see \"[About code scanning alerts](https://docs.github.com/enterprise-cloud@latest//code-security/code-scanning/managing-code-scanning-alerts/about-code-scanning-alerts#about-alert-severity-and-security-severity-levels).\"", + "description": "The severity level at which code scanning results that raise alerts block a reference update. For more information on alert severity levels, see \"[About code scanning alerts](https://docs.github.com/enterprise-cloud@latest/code-security/code-scanning/managing-code-scanning-alerts/about-code-scanning-alerts#about-alert-severity-and-security-severity-levels).\"", "enum": [ "none", "errors", @@ -588666,7 +589588,7 @@ }, "security_alerts_threshold": { "type": "string", - "description": "The severity level at which code scanning results that raise security alerts block a reference update. For more information on security severity levels, see \"[About code scanning alerts](https://docs.github.com/enterprise-cloud@latest//code-security/code-scanning/managing-code-scanning-alerts/about-code-scanning-alerts#about-alert-severity-and-security-severity-levels).\"", + "description": "The severity level at which code scanning results that raise security alerts block a reference update. For more information on security severity levels, see \"[About code scanning alerts](https://docs.github.com/enterprise-cloud@latest/code-security/code-scanning/managing-code-scanning-alerts/about-code-scanning-alerts#about-alert-severity-and-security-severity-levels).\"", "enum": [ "none", "critical", @@ -588921,7 +589843,7 @@ "operationId": "repos/delete-repo-ruleset", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/repos/rules#delete-a-repository-ruleset" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/repos/rules#delete-a-repository-ruleset" }, "x-github": { "githubCloudOnly": false, @@ -589027,7 +589949,7 @@ "operationId": "repos/get-repo-ruleset-history", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/repos/rules#get-repository-ruleset-history" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/repos/rules#get-repository-ruleset-history" }, "parameters": [ { @@ -589050,7 +589972,7 @@ }, { "name": "per_page", - "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -589059,7 +589981,7 @@ }, { "name": "page", - "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -589220,7 +590142,7 @@ "operationId": "repos/get-repo-ruleset-version", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/repos/rules#get-repository-ruleset-version" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/repos/rules#get-repository-ruleset-version" }, "parameters": [ { @@ -589434,7 +590356,7 @@ "operationId": "secret-scanning/list-alerts-for-repo", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-a-repository" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-a-repository" }, "parameters": [ { @@ -589471,7 +590393,7 @@ { "name": "secret_type", "in": "query", - "description": "A comma-separated list of secret types to return. All default secret patterns are returned. To return generic patterns, pass the token name(s) in the parameter. See \"[Supported secret scanning patterns](https://docs.github.com/enterprise-cloud@latest//code-security/secret-scanning/introduction/supported-secret-scanning-patterns#supported-secrets)\" for a complete list of secret types.", + "description": "A comma-separated list of secret types to return. All default secret patterns are returned. To return generic patterns, pass the token name(s) in the parameter. See \"[Supported secret scanning patterns](https://docs.github.com/enterprise-cloud@latest/code-security/secret-scanning/introduction/supported-secret-scanning-patterns#supported-secrets)\" for a complete list of secret types.", "required": false, "schema": { "type": "string" @@ -589480,7 +590402,7 @@ { "name": "exclude_secret_types", "in": "query", - "description": "A comma-separated list of secret types to exclude from the results. All default secret patterns are returned except those matching the specified types. Cannot be combined with the `secret_type` parameter. See \"[Supported secret scanning patterns](https://docs.github.com/enterprise-cloud@latest//code-security/secret-scanning/introduction/supported-secret-scanning-patterns#supported-secrets)\" for a complete list of secret types.", + "description": "A comma-separated list of secret types to exclude from the results. All default secret patterns are returned except those matching the specified types. Cannot be combined with the `secret_type` parameter. See \"[Supported secret scanning patterns](https://docs.github.com/enterprise-cloud@latest/code-security/secret-scanning/introduction/supported-secret-scanning-patterns#supported-secrets)\" for a complete list of secret types.", "required": false, "schema": { "type": "string" @@ -589566,7 +590488,7 @@ }, { "name": "page", - "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -589575,7 +590497,7 @@ }, { "name": "per_page", - "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -589584,7 +590506,7 @@ }, { "name": "before", - "description": "A cursor, as given in the [Link header](https://docs.github.com/enterprise-cloud@latest//rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for events before this cursor. To receive an initial cursor on your first request, include an empty \"before\" query string.", + "description": "A cursor, as given in the [Link header](https://docs.github.com/enterprise-cloud@latest/rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for events before this cursor. To receive an initial cursor on your first request, include an empty \"before\" query string.", "in": "query", "required": false, "schema": { @@ -589593,7 +590515,7 @@ }, { "name": "after", - "description": "A cursor, as given in the [Link header](https://docs.github.com/enterprise-cloud@latest//rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for events after this cursor. To receive an initial cursor on your first request, include an empty \"after\" query string.", + "description": "A cursor, as given in the [Link header](https://docs.github.com/enterprise-cloud@latest/rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for events after this cursor. To receive an initial cursor on your first request, include an empty \"after\" query string.", "in": "query", "required": false, "schema": { @@ -589846,7 +590768,7 @@ }, "secret_type_display_name": { "type": "string", - "description": "User-friendly name for the detected secret, matching the `secret_type`.\nFor a list of built-in patterns, see \"[Supported secret scanning patterns](https://docs.github.com/enterprise-cloud@latest//code-security/secret-scanning/introduction/supported-secret-scanning-patterns#supported-secrets).\"" + "description": "User-friendly name for the detected secret, matching the `secret_type`.\nFor a list of built-in patterns, see \"[Supported secret scanning patterns](https://docs.github.com/enterprise-cloud@latest/code-security/secret-scanning/introduction/supported-secret-scanning-patterns#supported-secrets).\"" }, "provider": { "type": "string", @@ -590936,7 +591858,7 @@ "operationId": "secret-scanning/get-alert", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/secret-scanning#get-a-secret-scanning-alert" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/secret-scanning/secret-scanning#get-a-secret-scanning-alert" }, "parameters": [ { @@ -591183,7 +592105,7 @@ }, "secret_type_display_name": { "type": "string", - "description": "User-friendly name for the detected secret, matching the `secret_type`.\nFor a list of built-in patterns, see \"[Supported secret scanning patterns](https://docs.github.com/enterprise-cloud@latest//code-security/secret-scanning/introduction/supported-secret-scanning-patterns#supported-secrets).\"" + "description": "User-friendly name for the detected secret, matching the `secret_type`.\nFor a list of built-in patterns, see \"[Supported secret scanning patterns](https://docs.github.com/enterprise-cloud@latest/code-security/secret-scanning/introduction/supported-secret-scanning-patterns#supported-secrets).\"" }, "provider": { "type": "string", @@ -592181,7 +593103,7 @@ ], "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/secret-scanning#update-a-secret-scanning-alert" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/secret-scanning/secret-scanning#update-a-secret-scanning-alert" }, "parameters": [ { @@ -592249,6 +593171,15 @@ "description": "The username of the user to assign to the alert. Set to `null` to unassign the alert.", "type": "string", "nullable": true + }, + "validity": { + "type": "string", + "nullable": true, + "enum": [ + "active", + "inactive" + ], + "description": "Sets the validity of the secret scanning alert. Can be `active`, `inactive`, or `null` to clear the override." } }, "anyOf": [ @@ -592496,7 +593427,7 @@ }, "secret_type_display_name": { "type": "string", - "description": "User-friendly name for the detected secret, matching the `secret_type`.\nFor a list of built-in patterns, see \"[Supported secret scanning patterns](https://docs.github.com/enterprise-cloud@latest//code-security/secret-scanning/introduction/supported-secret-scanning-patterns#supported-secrets).\"" + "description": "User-friendly name for the detected secret, matching the `secret_type`.\nFor a list of built-in patterns, see \"[Supported secret scanning patterns](https://docs.github.com/enterprise-cloud@latest/code-security/secret-scanning/introduction/supported-secret-scanning-patterns#supported-secrets).\"" }, "provider": { "type": "string", @@ -593496,7 +594427,7 @@ "description": "Repository is public, or secret scanning is disabled for the repository, or the resource is not found" }, "422": { - "description": "State does not match the resolution or resolution comment, or assignee does not have write access to the repository" + "description": "State does not match the resolution or resolution comment, assignee does not have write access to the repository, or the requested validity change could not be applied to this alert" }, "503": { "description": "Service unavailable", @@ -593538,7 +594469,7 @@ "operationId": "secret-scanning/list-locations-for-alert", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/secret-scanning#list-locations-for-a-secret-scanning-alert" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/secret-scanning/secret-scanning#list-locations-for-a-secret-scanning-alert" }, "parameters": [ { @@ -593572,7 +594503,7 @@ }, { "name": "page", - "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -593581,7 +594512,7 @@ }, { "name": "per_page", - "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -594114,7 +595045,7 @@ ], "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/secret-scanning#create-a-push-protection-bypass" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/secret-scanning/secret-scanning#create-a-push-protection-bypass" }, "parameters": [ { @@ -594256,14 +595187,14 @@ "/repos/{owner}/{repo}/secret-scanning/scan-history": { "get": { "summary": "Get secret scanning scan history for a repository", - "description": "Lists the latest default incremental and backfill scans by type for a repository.\n\n> [!NOTE]\n> This endpoint requires [GitHub Advanced Security](https://docs.github.com/enterprise-cloud@latest//get-started/learning-about-github/about-github-advanced-security).\n\nOAuth app tokens and personal access tokens (classic) need the `repo` or `security_events` scope to use this endpoint. If this endpoint is only used with public repositories, the token can use the `public_repo` scope instead.", + "description": "Lists the latest default incremental and backfill scans by type for a repository.\n\n> [!NOTE]\n> This endpoint requires [GitHub Advanced Security](https://docs.github.com/enterprise-cloud@latest/get-started/learning-about-github/about-github-advanced-security).\n\nOAuth app tokens and personal access tokens (classic) need the `repo` or `security_events` scope to use this endpoint. If this endpoint is only used with public repositories, the token can use the `public_repo` scope instead.", "tags": [ "secret-scanning" ], "operationId": "secret-scanning/get-scan-history", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/secret-scanning#get-secret-scanning-scan-history-for-a-repository" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/secret-scanning/secret-scanning#get-secret-scanning-scan-history-for-a-repository" }, "parameters": [ { @@ -594570,7 +595501,7 @@ "operationId": "security-advisories/list-repository-advisories", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/security-advisories/repository-advisories#list-repository-security-advisories" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/security-advisories/repository-advisories#list-repository-security-advisories" }, "parameters": [ { @@ -594622,7 +595553,7 @@ }, { "name": "before", - "description": "A cursor, as given in the [Link header](https://docs.github.com/enterprise-cloud@latest//rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for results before this cursor. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "A cursor, as given in the [Link header](https://docs.github.com/enterprise-cloud@latest/rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for results before this cursor. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "required": false, "schema": { @@ -594631,7 +595562,7 @@ }, { "name": "after", - "description": "A cursor, as given in the [Link header](https://docs.github.com/enterprise-cloud@latest//rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for results after this cursor. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "A cursor, as given in the [Link header](https://docs.github.com/enterprise-cloud@latest/rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for results after this cursor. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "required": false, "schema": { @@ -594640,7 +595571,7 @@ }, { "name": "per_page", - "description": "The number of advisories to return per page. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The number of advisories to return per page. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "required": false, "schema": { @@ -596792,7 +597723,7 @@ "operationId": "security-advisories/create-repository-advisory", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/security-advisories/repository-advisories#create-a-repository-security-advisory" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/security-advisories/repository-advisories#create-a-repository-security-advisory" }, "parameters": [ { @@ -599024,14 +599955,14 @@ "/repos/{owner}/{repo}/security-advisories/reports": { "post": { "summary": "Privately report a security vulnerability", - "description": "Report a security vulnerability to the maintainers of the repository.\nSee \"[Privately reporting a security vulnerability](https://docs.github.com/enterprise-cloud@latest//code-security/security-advisories/guidance-on-reporting-and-writing/privately-reporting-a-security-vulnerability)\" for more information about private vulnerability reporting.", + "description": "Report a security vulnerability to the maintainers of the repository.\nSee \"[Privately reporting a security vulnerability](https://docs.github.com/enterprise-cloud@latest/code-security/security-advisories/guidance-on-reporting-and-writing/privately-reporting-a-security-vulnerability)\" for more information about private vulnerability reporting.", "tags": [ "security-advisories" ], "operationId": "security-advisories/create-private-vulnerability-report", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/security-advisories/repository-advisories#privately-report-a-security-vulnerability" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/security-advisories/repository-advisories#privately-report-a-security-vulnerability" }, "parameters": [ { @@ -601067,7 +601998,7 @@ "operationId": "security-advisories/get-repository-advisory", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/security-advisories/repository-advisories#get-a-repository-security-advisory" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/security-advisories/repository-advisories#get-a-repository-security-advisory" }, "parameters": [ { @@ -602998,7 +603929,7 @@ "operationId": "security-advisories/update-repository-advisory", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/security-advisories/repository-advisories#update-a-repository-security-advisory" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/security-advisories/repository-advisories#update-a-repository-security-advisory" }, "parameters": [ { @@ -605493,14 +606424,14 @@ "/repos/{owner}/{repo}/security-advisories/{ghsa_id}/cve": { "post": { "summary": "Request a CVE for a repository security advisory", - "description": "If you want a CVE identification number for the security vulnerability in your project, and don't already have one, you can request a CVE identification number from GitHub. For more information see \"[Requesting a CVE identification number](https://docs.github.com/enterprise-cloud@latest//code-security/security-advisories/repository-security-advisories/publishing-a-repository-security-advisory#requesting-a-cve-identification-number-optional).\"\n\nYou may request a CVE for public repositories, but cannot do so for private repositories.\n\nIn order to request a CVE for a repository security advisory, the authenticated user must be a security manager or administrator of that repository.\n\nOAuth app tokens and personal access tokens (classic) need the `repo` or `repository_advisories:write` scope to use this endpoint.", + "description": "If you want a CVE identification number for the security vulnerability in your project, and don't already have one, you can request a CVE identification number from GitHub. For more information see \"[Requesting a CVE identification number](https://docs.github.com/enterprise-cloud@latest/code-security/security-advisories/repository-security-advisories/publishing-a-repository-security-advisory#requesting-a-cve-identification-number-optional).\"\n\nYou may request a CVE for public repositories, but cannot do so for private repositories.\n\nIn order to request a CVE for a repository security advisory, the authenticated user must be a security manager or administrator of that repository.\n\nOAuth app tokens and personal access tokens (classic) need the `repo` or `repository_advisories:write` scope to use this endpoint.", "tags": [ "security-advisories" ], "operationId": "security-advisories/create-repository-advisory-cve-request", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/security-advisories/repository-advisories#request-a-cve-for-a-repository-security-advisory" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/security-advisories/repository-advisories#request-a-cve-for-a-repository-security-advisory" }, "parameters": [ { @@ -605747,7 +606678,7 @@ "operationId": "security-advisories/create-fork", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/security-advisories/repository-advisories#create-a-temporary-private-fork" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/security-advisories/repository-advisories#create-a-temporary-private-fork" }, "parameters": [ { @@ -609766,14 +610697,14 @@ "/repos/{owner}/{repo}/stargazers": { "get": { "summary": "List stargazers", - "description": "Lists the people that have starred the repository.\n\nThis endpoint supports the following custom media types. For more information, see \"[Media types](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/getting-started-with-the-rest-api#media-types).\"\n\n- **`application/vnd.github.star+json`**: Includes a timestamp of when the star was created.", + "description": "Lists the people that have starred the repository.\n\nThis endpoint supports the following custom media types. For more information, see \"[Media types](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types).\"\n\n- **`application/vnd.github.star+json`**: Includes a timestamp of when the star was created.", "tags": [ "activity" ], "operationId": "activity/list-stargazers-for-repo", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/activity/starring#list-stargazers" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/activity/starring#list-stargazers" }, "parameters": [ { @@ -609796,7 +610727,7 @@ }, { "name": "per_page", - "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -609805,7 +610736,7 @@ }, { "name": "page", - "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -610246,7 +611177,7 @@ "operationId": "repos/get-code-frequency-stats", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/metrics/statistics#get-the-weekly-commit-activity" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/metrics/statistics#get-the-weekly-commit-activity" }, "parameters": [ { @@ -610338,7 +611269,7 @@ "operationId": "repos/get-commit-activity-stats", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/metrics/statistics#get-the-last-year-of-commit-activity" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/metrics/statistics#get-the-last-year-of-commit-activity" }, "parameters": [ { @@ -610462,7 +611393,7 @@ "operationId": "repos/get-contributors-stats", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/metrics/statistics#get-all-contributor-commit-activity" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/metrics/statistics#get-all-contributor-commit-activity" }, "parameters": [ { @@ -610738,7 +611669,7 @@ "operationId": "repos/get-participation-stats", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/metrics/statistics#get-the-weekly-commit-count" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/metrics/statistics#get-the-weekly-commit-count" }, "parameters": [ { @@ -610949,7 +611880,7 @@ "operationId": "repos/get-punch-card-stats", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/metrics/statistics#get-the-hourly-commit-count-for-each-day" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/metrics/statistics#get-the-hourly-commit-count-for-each-day" }, "parameters": [ { @@ -611033,7 +611964,7 @@ "operationId": "repos/create-commit-status", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/commits/statuses#create-a-commit-status" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/commits/statuses#create-a-commit-status" }, "parameters": [ { @@ -611363,7 +612294,7 @@ "operationId": "activity/list-watchers-for-repo", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#list-watchers" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/activity/watching#list-watchers" }, "parameters": [ { @@ -611386,7 +612317,7 @@ }, { "name": "per_page", - "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -611395,7 +612326,7 @@ }, { "name": "page", - "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -611591,7 +612522,7 @@ "operationId": "activity/get-repo-subscription", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#get-a-repository-subscription" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/activity/watching#get-a-repository-subscription" }, "parameters": [ { @@ -611715,14 +612646,14 @@ }, "put": { "summary": "Set a repository subscription", - "description": "If you would like to watch a repository, set `subscribed` to `true`. If you would like to ignore notifications made within a repository, set `ignored` to `true`. If you would like to stop watching a repository, [delete the repository's subscription](https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#delete-a-repository-subscription) completely.", + "description": "If you would like to watch a repository, set `subscribed` to `true`. If you would like to ignore notifications made within a repository, set `ignored` to `true`. If you would like to stop watching a repository, [delete the repository's subscription](https://docs.github.com/enterprise-cloud@latest/rest/activity/watching#delete-a-repository-subscription) completely.", "tags": [ "activity" ], "operationId": "activity/set-repo-subscription", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#set-a-repository-subscription" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/activity/watching#set-a-repository-subscription" }, "parameters": [ { @@ -611845,14 +612776,14 @@ }, "delete": { "summary": "Delete a repository subscription", - "description": "This endpoint should only be used to stop watching a repository. To control whether or not you wish to receive notifications from a repository, [set the repository's subscription manually](https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#set-a-repository-subscription).", + "description": "This endpoint should only be used to stop watching a repository. To control whether or not you wish to receive notifications from a repository, [set the repository's subscription manually](https://docs.github.com/enterprise-cloud@latest/rest/activity/watching#set-a-repository-subscription).", "tags": [ "activity" ], "operationId": "activity/delete-repo-subscription", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#delete-a-repository-subscription" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/activity/watching#delete-a-repository-subscription" }, "parameters": [ { @@ -611897,7 +612828,7 @@ "operationId": "repos/list-tags", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-tags" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#list-repository-tags" }, "parameters": [ { @@ -611920,7 +612851,7 @@ }, { "name": "per_page", - "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -611929,7 +612860,7 @@ }, { "name": "page", - "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -612037,7 +612968,7 @@ ], "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#download-a-repository-archive-tar" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/repos/contents#download-a-repository-archive-tar" }, "operationId": "repos/download-tarball-archive", "parameters": [ @@ -612100,7 +613031,7 @@ "operationId": "repos/list-teams", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-teams" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#list-repository-teams" }, "parameters": [ { @@ -612123,7 +613054,7 @@ }, { "name": "per_page", - "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -612132,7 +613063,7 @@ }, { "name": "page", - "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -612435,7 +613366,7 @@ "operationId": "repos/get-all-topics", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#get-all-repository-topics" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#get-all-repository-topics" }, "parameters": [ { @@ -612458,7 +613389,7 @@ }, { "name": "page", - "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -612467,7 +613398,7 @@ }, { "name": "per_page", - "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -612554,7 +613485,7 @@ "operationId": "repos/replace-all-topics", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#replace-all-repository-topics" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#replace-all-repository-topics" }, "parameters": [ { @@ -612721,7 +613652,7 @@ "operationId": "repos/get-clones", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-repository-clones" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/metrics/traffic#get-repository-clones" }, "parameters": [ { @@ -612939,7 +613870,7 @@ "operationId": "repos/get-top-paths", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-top-referral-paths" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/metrics/traffic#get-top-referral-paths" }, "parameters": [ { @@ -613112,7 +614043,7 @@ "operationId": "repos/get-top-referrers", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-top-referral-sources" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/metrics/traffic#get-top-referral-sources" }, "parameters": [ { @@ -613240,7 +614171,7 @@ "operationId": "repos/get-views", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-page-views" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/metrics/traffic#get-page-views" }, "parameters": [ { @@ -613451,14 +614382,14 @@ "/repos/{owner}/{repo}/transfer": { "post": { "summary": "Transfer a repository", - "description": "A transfer request will need to be accepted by the new owner when transferring a personal repository to another user. The response will contain the original `owner`, and the transfer will continue asynchronously. For more details on the requirements to transfer personal and organization-owned repositories, see [about repository transfers](https://docs.github.com/enterprise-cloud@latest//articles/about-repository-transfers/).", + "description": "A transfer request will need to be accepted by the new owner when transferring a personal repository to another user. The response will contain the original `owner`, and the transfer will continue asynchronously. For more details on the requirements to transfer personal and organization-owned repositories, see [about repository transfers](https://docs.github.com/enterprise-cloud@latest/articles/about-repository-transfers/).", "tags": [ "repos" ], "operationId": "repos/transfer", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#transfer-a-repository" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#transfer-a-repository" }, "parameters": [ { @@ -614539,14 +615470,14 @@ "/repos/{owner}/{repo}/vulnerability-alerts": { "get": { "summary": "Check if vulnerability alerts are enabled for a repository", - "description": "Shows whether dependency alerts are enabled or disabled for a repository. The authenticated user must have admin read access to the repository. For more information, see \"[About security alerts for vulnerable dependencies](https://docs.github.com/enterprise-cloud@latest//articles/about-security-alerts-for-vulnerable-dependencies)\".", + "description": "Shows whether dependency alerts are enabled or disabled for a repository. The authenticated user must have admin read access to the repository. For more information, see \"[About security alerts for vulnerable dependencies](https://docs.github.com/enterprise-cloud@latest/articles/about-security-alerts-for-vulnerable-dependencies)\".", "tags": [ "repos" ], "operationId": "repos/check-vulnerability-alerts", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#check-if-vulnerability-alerts-are-enabled-for-a-repository" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#check-if-vulnerability-alerts-are-enabled-for-a-repository" }, "parameters": [ { @@ -614585,14 +615516,14 @@ }, "put": { "summary": "Enable vulnerability alerts", - "description": "Enables dependency alerts and the dependency graph for a repository. The authenticated user must have admin access to the repository. For more information, see \"[About security alerts for vulnerable dependencies](https://docs.github.com/enterprise-cloud@latest//articles/about-security-alerts-for-vulnerable-dependencies)\".", + "description": "Enables dependency alerts and the dependency graph for a repository. The authenticated user must have admin access to the repository. For more information, see \"[About security alerts for vulnerable dependencies](https://docs.github.com/enterprise-cloud@latest/articles/about-security-alerts-for-vulnerable-dependencies)\".", "tags": [ "repos" ], "operationId": "repos/enable-vulnerability-alerts", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#enable-vulnerability-alerts" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#enable-vulnerability-alerts" }, "parameters": [ { @@ -614628,14 +615559,14 @@ }, "delete": { "summary": "Disable vulnerability alerts", - "description": "Disables dependency alerts and the dependency graph for a repository.\nThe authenticated user must have admin access to the repository. For more information,\nsee \"[About security alerts for vulnerable dependencies](https://docs.github.com/enterprise-cloud@latest//articles/about-security-alerts-for-vulnerable-dependencies)\".", + "description": "Disables dependency alerts and the dependency graph for a repository.\nThe authenticated user must have admin access to the repository. For more information,\nsee \"[About security alerts for vulnerable dependencies](https://docs.github.com/enterprise-cloud@latest/articles/about-security-alerts-for-vulnerable-dependencies)\".", "tags": [ "repos" ], "operationId": "repos/disable-vulnerability-alerts", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#disable-vulnerability-alerts" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#disable-vulnerability-alerts" }, "parameters": [ { @@ -614679,7 +615610,7 @@ ], "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#download-a-repository-archive-zip" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/repos/contents#download-a-repository-archive-zip" }, "operationId": "repos/download-zipball-archive", "parameters": [ @@ -614735,14 +615666,14 @@ "/repos/{template_owner}/{template_repo}/generate": { "post": { "summary": "Create a repository using a template", - "description": "Creates a new repository using a repository template. Use the `template_owner` and `template_repo` route parameters to specify the repository to use as the template. If the repository is not public, the authenticated user must own or be a member of an organization that owns the repository. To check if a repository is available to use as a template, get the repository's information using the [Get a repository](https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#get-a-repository) endpoint and check that the `is_template` key is `true`.\n\nOAuth app tokens and personal access tokens (classic) need the `public_repo` or `repo` scope to create a public repository, and `repo` scope to create a private repository.", + "description": "Creates a new repository using a repository template. Use the `template_owner` and `template_repo` route parameters to specify the repository to use as the template. If the repository is not public, the authenticated user must own or be a member of an organization that owns the repository. To check if a repository is available to use as a template, get the repository's information using the [Get a repository](https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#get-a-repository) endpoint and check that the `is_template` key is `true`.\n\nOAuth app tokens and personal access tokens (classic) need the `public_repo` or `repo` scope to create a public repository, and `repo` scope to create a private repository.", "tags": [ "repos" ], "operationId": "repos/create-using-template", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#create-a-repository-using-a-template" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#create-a-repository-using-a-template" }, "parameters": [ { @@ -618627,14 +619558,14 @@ "/repositories": { "get": { "summary": "List public repositories", - "description": "Lists all public repositories in the order that they were created.\n\nNote:\n- For GitHub Enterprise Server, this endpoint will only list repositories available to all users on the enterprise.\n- Pagination is powered exclusively by the `since` parameter. Use the [Link header](https://docs.github.com/enterprise-cloud@latest//rest/guides/using-pagination-in-the-rest-api#using-link-headers) to get the URL for the next page of repositories.", + "description": "Lists all public repositories in the order that they were created.\n\nNote:\n- For GitHub Enterprise Server, this endpoint will only list repositories available to all users on the enterprise.\n- Pagination is powered exclusively by the `since` parameter. Use the [Link header](https://docs.github.com/enterprise-cloud@latest/rest/guides/using-pagination-in-the-rest-api#using-link-headers) to get the URL for the next page of repositories.", "tags": [ "repos" ], "operationId": "repos/list-public", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-public-repositories" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#list-public-repositories" }, "parameters": [ { @@ -619600,7 +620531,7 @@ ], "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/scim#list-provisioned-scim-groups-for-an-enterprise" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/scim#list-provisioned-scim-groups-for-an-enterprise" }, "parameters": [ { @@ -620134,7 +621065,7 @@ ], "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/scim#provision-a-scim-enterprise-group" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/scim#provision-a-scim-enterprise-group" }, "parameters": [ { @@ -620652,7 +621583,7 @@ ], "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/scim#get-scim-provisioning-information-for-an-enterprise-group" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/scim#get-scim-provisioning-information-for-an-enterprise-group" }, "parameters": [ { @@ -621127,7 +622058,7 @@ ], "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/scim#set-scim-information-for-a-provisioned-enterprise-group" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/scim#set-scim-information-for-a-provisioned-enterprise-group" }, "parameters": [ { @@ -621718,7 +622649,7 @@ ], "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/scim#update-an-attribute-for-a-scim-enterprise-group" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/scim#update-an-attribute-for-a-scim-enterprise-group" }, "parameters": [ { @@ -622308,7 +623239,7 @@ ], "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/scim#delete-a-scim-group-from-an-enterprise" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/scim#delete-a-scim-group-from-an-enterprise" }, "parameters": [ { @@ -622605,7 +623536,7 @@ ], "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/scim#list-scim-provisioned-identities-for-an-enterprise" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/scim#list-scim-provisioned-identities-for-an-enterprise" }, "parameters": [ { @@ -623201,7 +624132,7 @@ ], "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/scim#provision-a-scim-enterprise-user" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/scim#provision-a-scim-enterprise-user" }, "parameters": [ { @@ -623965,7 +624896,7 @@ ], "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/scim#get-scim-provisioning-information-for-an-enterprise-user" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/scim#get-scim-provisioning-information-for-an-enterprise-user" }, "parameters": [ { @@ -624507,7 +625438,7 @@ ], "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/scim#set-scim-information-for-a-provisioned-enterprise-user" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/scim#set-scim-information-for-a-provisioned-enterprise-user" }, "parameters": [ { @@ -625236,7 +626167,7 @@ ], "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/scim#update-an-attribute-for-a-scim-enterprise-user" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/scim#update-an-attribute-for-a-scim-enterprise-user" }, "parameters": [ { @@ -625964,7 +626895,7 @@ ], "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/scim#delete-a-scim-user-from-an-enterprise" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/scim#delete-a-scim-user-from-an-enterprise" }, "parameters": [ { @@ -626260,7 +627191,7 @@ "operationId": "scim/list-provisioned-identities", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#list-scim-provisioned-identities" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/scim/scim#list-scim-provisioned-identities" }, "parameters": [ { @@ -626972,14 +627903,14 @@ }, "post": { "summary": "Provision and invite a SCIM user", - "description": "Provisions organization membership for a user, and sends an activation email to the email address. If the user was previously a member of the organization, the invitation will reinstate any former privileges that the user had. For more information about reinstating former members, see \"[Reinstating a former member of your organization](https://docs.github.com/enterprise-cloud@latest//organizations/managing-membership-in-your-organization/reinstating-a-former-member-of-your-organization).\"", + "description": "Provisions organization membership for a user, and sends an activation email to the email address. If the user was previously a member of the organization, the invitation will reinstate any former privileges that the user had. For more information about reinstating former members, see \"[Reinstating a former member of your organization](https://docs.github.com/enterprise-cloud@latest/organizations/managing-membership-in-your-organization/reinstating-a-former-member-of-your-organization).\"", "tags": [ "scim" ], "operationId": "scim/provision-and-invite-user", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#provision-and-invite-a-scim-user" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/scim/scim#provision-and-invite-a-scim-user" }, "parameters": [ { @@ -627754,7 +628685,7 @@ "operationId": "scim/get-provisioning-information-for-user", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#get-scim-provisioning-information-for-a-user" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/scim/scim#get-scim-provisioning-information-for-a-user" }, "parameters": [ { @@ -628189,14 +629120,14 @@ }, "put": { "summary": "Update a provisioned organization membership", - "description": "Replaces an existing provisioned user's information. You must provide all the information required for the user as if you were provisioning them for the first time. Any existing user information that you don't provide will be removed. If you want to only update a specific attribute, use the [Update an attribute for a SCIM user](https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#update-an-attribute-for-a-scim-user) endpoint instead.\n\nYou must at least provide the required values for the user: `userName`, `name`, and `emails`.\n\n> [!WARNING]\n> Setting `active: false` removes the user from the organization, deletes the external identity, and deletes the associated `{scim_user_id}`.", + "description": "Replaces an existing provisioned user's information. You must provide all the information required for the user as if you were provisioning them for the first time. Any existing user information that you don't provide will be removed. If you want to only update a specific attribute, use the [Update an attribute for a SCIM user](https://docs.github.com/enterprise-cloud@latest/rest/scim/scim#update-an-attribute-for-a-scim-user) endpoint instead.\n\nYou must at least provide the required values for the user: `userName`, `name`, and `emails`.\n\n> [!WARNING]\n> Setting `active: false` removes the user from the organization, deletes the external identity, and deletes the associated `{scim_user_id}`.", "tags": [ "scim" ], "operationId": "scim/set-information-for-provisioned-user", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#update-a-provisioned-organization-membership" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/scim/scim#update-a-provisioned-organization-membership" }, "parameters": [ { @@ -628756,7 +629687,7 @@ "operationId": "scim/update-attribute-for-user", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#update-an-attribute-for-a-scim-user" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/scim/scim#update-an-attribute-for-a-scim-user" }, "parameters": [ { @@ -629410,7 +630341,7 @@ "operationId": "scim/delete-user-from-org", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#delete-a-scim-user-from-an-organization" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/scim/scim#delete-a-scim-user-from-an-organization" }, "parameters": [ { @@ -629597,19 +630528,19 @@ "/search/code": { "get": { "summary": "Search code", - "description": "Searches for query terms inside of a file. This method returns up to 100 results [per page](https://docs.github.com/enterprise-cloud@latest//rest/guides/using-pagination-in-the-rest-api).\n\nWhen searching for code, you can get text match metadata for the file **content** and file **path** fields when you pass the `text-match` media type. For more details about how to receive highlighted search results, see [Text match metadata](https://docs.github.com/enterprise-cloud@latest//rest/search/search#text-match-metadata).\n\nFor example, if you want to find the definition of the `addClass` function inside [jQuery](https://github.com/jquery/jquery) repository, your query would look something like this:\n\n`q=addClass+in:file+language:js+repo:jquery/jquery`\n\nThis query searches for the keyword `addClass` within a file's contents. The query limits the search to files where the language is JavaScript in the `jquery/jquery` repository.\n\nConsiderations for code search:\n\nDue to the complexity of searching code, there are a few restrictions on how searches are performed:\n\n* Only the _default branch_ is considered. In most cases, this will be the `master` branch.\n* Only files smaller than 384 KB are searchable.\n* You must always include at least one search term when searching source code. For example, searching for [`language:go`](https://github.com/search?utf8=%E2%9C%93&q=language%3Ago&type=Code) is not valid, while [`amazing\nlanguage:go`](https://github.com/search?utf8=%E2%9C%93&q=amazing+language%3Ago&type=Code) is.\n\n> [!NOTE]\n> `repository.description`, `repository.owner.type`, and `repository.owner.node_id` are closing down on this endpoint and will return `null` in a future API version. Use the [Get a repository](https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#get-a-repository) endpoint (`GET /repos/{owner}/{repo}`) to retrieve full repository metadata.\n\nThis endpoint requires you to authenticate and limits you to 10 requests per minute.", + "description": "Searches for query terms inside of a file. This method returns up to 100 results [per page](https://docs.github.com/enterprise-cloud@latest/rest/guides/using-pagination-in-the-rest-api).\n\nWhen searching for code, you can get text match metadata for the file **content** and file **path** fields when you pass the `text-match` media type. For more details about how to receive highlighted search results, see [Text match metadata](https://docs.github.com/enterprise-cloud@latest/rest/search/search#text-match-metadata).\n\nFor example, if you want to find the definition of the `addClass` function inside [jQuery](https://github.com/jquery/jquery) repository, your query would look something like this:\n\n`q=addClass+in:file+language:js+repo:jquery/jquery`\n\nThis query searches for the keyword `addClass` within a file's contents. The query limits the search to files where the language is JavaScript in the `jquery/jquery` repository.\n\nConsiderations for code search:\n\nDue to the complexity of searching code, there are a few restrictions on how searches are performed:\n\n* Only the _default branch_ is considered. In most cases, this will be the `master` branch.\n* Only files smaller than 384 KB are searchable.\n* You must always include at least one search term when searching source code. For example, searching for [`language:go`](https://github.com/search?utf8=%E2%9C%93&q=language%3Ago&type=Code) is not valid, while [`amazing\nlanguage:go`](https://github.com/search?utf8=%E2%9C%93&q=amazing+language%3Ago&type=Code) is.\n\n> [!NOTE]\n> `repository.description`, `repository.owner.type`, and `repository.owner.node_id` are closing down on this endpoint and will return `null` in a future API version. Use the [Get a repository](https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#get-a-repository) endpoint (`GET /repos/{owner}/{repo}`) to retrieve full repository metadata.\n\nThis endpoint requires you to authenticate and limits you to 10 requests per minute.", "tags": [ "search" ], "operationId": "search/code", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/search/search#search-code" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/search/search#search-code" }, "parameters": [ { "name": "q", - "description": "The query contains one or more search keywords and qualifiers. Qualifiers allow you to limit your search to specific areas of GitHub Enterprise Cloud. The REST API supports the same qualifiers as the web interface for GitHub Enterprise Cloud. To learn more about the format of the query, see [Constructing a search query](https://docs.github.com/enterprise-cloud@latest//rest/search/search#constructing-a-search-query). See \"[Searching code](https://docs.github.com/enterprise-cloud@latest//search-github/searching-on-github/searching-code)\" for a detailed list of qualifiers.", + "description": "The query contains one or more search keywords and qualifiers. Qualifiers allow you to limit your search to specific areas of GitHub Enterprise Cloud. The REST API supports the same qualifiers as the web interface for GitHub Enterprise Cloud. To learn more about the format of the query, see [Constructing a search query](https://docs.github.com/enterprise-cloud@latest/rest/search/search#constructing-a-search-query). See \"[Searching code](https://docs.github.com/enterprise-cloud@latest/search-github/searching-on-github/searching-code)\" for a detailed list of qualifiers.", "in": "query", "required": true, "schema": { @@ -629619,7 +630550,7 @@ { "name": "sort", "deprecated": true, - "description": "**This field is closing down.** Sorts the results of your query. Can only be `indexed`, which indicates how recently a file has been indexed by the GitHub Enterprise Cloud search infrastructure. Default: [best match](https://docs.github.com/enterprise-cloud@latest//rest/search/search#ranking-search-results)", + "description": "**This field is closing down.** Sorts the results of your query. Can only be `indexed`, which indicates how recently a file has been indexed by the GitHub Enterprise Cloud search infrastructure. Default: [best match](https://docs.github.com/enterprise-cloud@latest/rest/search/search#ranking-search-results)", "in": "query", "required": false, "schema": { @@ -629646,7 +630577,7 @@ }, { "name": "per_page", - "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -629655,7 +630586,7 @@ }, { "name": "page", - "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -630775,19 +631706,19 @@ "/search/commits": { "get": { "summary": "Search commits", - "description": "Find commits via various criteria on the default branch (usually `main`). This method returns up to 100 results [per page](https://docs.github.com/enterprise-cloud@latest//rest/guides/using-pagination-in-the-rest-api).\n\nWhen searching for commits, you can get text match metadata for the **message** field when you provide the `text-match` media type. For more details about how to receive highlighted search results, see [Text match\nmetadata](https://docs.github.com/enterprise-cloud@latest//rest/search/search#text-match-metadata).\n\nFor example, if you want to find commits related to CSS in the [octocat/Spoon-Knife](https://github.com/octocat/Spoon-Knife) repository. Your query would look something like this:\n\n`q=repo:octocat/Spoon-Knife+css`", + "description": "Find commits via various criteria on the default branch (usually `main`). This method returns up to 100 results [per page](https://docs.github.com/enterprise-cloud@latest/rest/guides/using-pagination-in-the-rest-api).\n\nWhen searching for commits, you can get text match metadata for the **message** field when you provide the `text-match` media type. For more details about how to receive highlighted search results, see [Text match\nmetadata](https://docs.github.com/enterprise-cloud@latest/rest/search/search#text-match-metadata).\n\nFor example, if you want to find commits related to CSS in the [octocat/Spoon-Knife](https://github.com/octocat/Spoon-Knife) repository. Your query would look something like this:\n\n`q=repo:octocat/Spoon-Knife+css`", "tags": [ "search" ], "operationId": "search/commits", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/search/search#search-commits" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/search/search#search-commits" }, "parameters": [ { "name": "q", - "description": "The query contains one or more search keywords and qualifiers. Qualifiers allow you to limit your search to specific areas of GitHub Enterprise Cloud. The REST API supports the same qualifiers as the web interface for GitHub Enterprise Cloud. To learn more about the format of the query, see [Constructing a search query](https://docs.github.com/enterprise-cloud@latest//rest/search/search#constructing-a-search-query). See \"[Searching commits](https://docs.github.com/enterprise-cloud@latest//search-github/searching-on-github/searching-commits)\" for a detailed list of qualifiers.", + "description": "The query contains one or more search keywords and qualifiers. Qualifiers allow you to limit your search to specific areas of GitHub Enterprise Cloud. The REST API supports the same qualifiers as the web interface for GitHub Enterprise Cloud. To learn more about the format of the query, see [Constructing a search query](https://docs.github.com/enterprise-cloud@latest/rest/search/search#constructing-a-search-query). See \"[Searching commits](https://docs.github.com/enterprise-cloud@latest/search-github/searching-on-github/searching-commits)\" for a detailed list of qualifiers.", "in": "query", "required": true, "schema": { @@ -630796,7 +631727,7 @@ }, { "name": "sort", - "description": "Sorts the results of your query by `author-date` or `committer-date`. Default: [best match](https://docs.github.com/enterprise-cloud@latest//rest/search/search#ranking-search-results)", + "description": "Sorts the results of your query by `author-date` or `committer-date`. Default: [best match](https://docs.github.com/enterprise-cloud@latest/rest/search/search#ranking-search-results)", "in": "query", "required": false, "schema": { @@ -630823,7 +631754,7 @@ }, { "name": "per_page", - "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -630832,7 +631763,7 @@ }, { "name": "page", - "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -632135,19 +633066,19 @@ "/search/issues": { "get": { "summary": "Search issues and pull requests", - "description": "Find issues by state and keyword. This method returns up to 100 results [per page](https://docs.github.com/enterprise-cloud@latest//rest/guides/using-pagination-in-the-rest-api).\n\nWhen searching for issues, you can get text match metadata for the issue **title**, issue **body**, and issue **comment body** fields when you pass the `text-match` media type. For more details about how to receive highlighted\nsearch results, see [Text match metadata](https://docs.github.com/enterprise-cloud@latest//rest/search/search#text-match-metadata).\n\nFor example, if you want to find the oldest unresolved Python bugs on Windows. Your query might look something like this.\n\n`q=windows+label:bug+language:python+state:open&sort=created&order=asc`\n\nThis query searches for the keyword `windows`, within any open issue that is labeled as `bug`. The search runs across repositories whose primary language is Python. The results are sorted by creation date in ascending order, which means the oldest issues appear first in the search results.\n\n> [!NOTE]\n> For requests made by GitHub Apps with a user access token, you can't retrieve a combination of issues and pull requests in a single query. Requests that don't include the `is:issue` or `is:pull-request` qualifier will receive an HTTP `422 Unprocessable Entity` response. To get results for both issues and pull requests, you must send separate queries for issues and pull requests. For more information about the `is` qualifier, see \"[Searching only issues or pull requests](https://docs.github.com/enterprise-cloud@latest//github/searching-for-information-on-github/searching-issues-and-pull-requests#search-only-issues-or-pull-requests).\"", + "description": "Find issues by state and keyword. This method returns up to 100 results [per page](https://docs.github.com/enterprise-cloud@latest/rest/guides/using-pagination-in-the-rest-api).\n\nWhen searching for issues, you can get text match metadata for the issue **title**, issue **body**, and issue **comment body** fields when you pass the `text-match` media type. For more details about how to receive highlighted\nsearch results, see [Text match metadata](https://docs.github.com/enterprise-cloud@latest/rest/search/search#text-match-metadata).\n\nFor example, if you want to find the oldest unresolved Python bugs on Windows. Your query might look something like this.\n\n`q=windows+label:bug+language:python+state:open&sort=created&order=asc`\n\nThis query searches for the keyword `windows`, within any open issue that is labeled as `bug`. The search runs across repositories whose primary language is Python. The results are sorted by creation date in ascending order, which means the oldest issues appear first in the search results.\n\n> [!NOTE]\n> For requests made by GitHub Apps with a user access token, you can't retrieve a combination of issues and pull requests in a single query. Requests that don't include the `is:issue` or `is:pull-request` qualifier will receive an HTTP `422 Unprocessable Entity` response. To get results for both issues and pull requests, you must send separate queries for issues and pull requests. For more information about the `is` qualifier, see \"[Searching only issues or pull requests](https://docs.github.com/enterprise-cloud@latest/github/searching-for-information-on-github/searching-issues-and-pull-requests#search-only-issues-or-pull-requests).\"", "tags": [ "search" ], "operationId": "search/issues-and-pull-requests", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/search/search#search-issues-and-pull-requests" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/search/search#search-issues-and-pull-requests" }, "parameters": [ { "name": "q", - "description": "The query contains one or more search keywords and qualifiers. Qualifiers allow you to limit your search to specific areas of GitHub Enterprise Cloud. The REST API supports the same qualifiers as the web interface for GitHub Enterprise Cloud. To learn more about the format of the query, see [Constructing a search query](https://docs.github.com/enterprise-cloud@latest//rest/search/search#constructing-a-search-query). See \"[Searching issues and pull requests](https://docs.github.com/enterprise-cloud@latest//search-github/searching-on-github/searching-issues-and-pull-requests)\" for a detailed list of qualifiers.", + "description": "The query contains one or more search keywords and qualifiers. Qualifiers allow you to limit your search to specific areas of GitHub Enterprise Cloud. The REST API supports the same qualifiers as the web interface for GitHub Enterprise Cloud. To learn more about the format of the query, see [Constructing a search query](https://docs.github.com/enterprise-cloud@latest/rest/search/search#constructing-a-search-query). See \"[Searching issues and pull requests](https://docs.github.com/enterprise-cloud@latest/search-github/searching-on-github/searching-issues-and-pull-requests)\" for a detailed list of qualifiers.", "in": "query", "required": true, "schema": { @@ -632156,7 +633087,7 @@ }, { "name": "sort", - "description": "Sorts the results of your query by the number of `comments`, `reactions`, `reactions-+1`, `reactions--1`, `reactions-smile`, `reactions-thinking_face`, `reactions-heart`, `reactions-tada`, or `interactions`. You can also sort results by how recently the items were `created` or `updated`, Default: [best match](https://docs.github.com/enterprise-cloud@latest//rest/search/search#ranking-search-results)", + "description": "Sorts the results of your query by the number of `comments`, `reactions`, `reactions-+1`, `reactions--1`, `reactions-smile`, `reactions-thinking_face`, `reactions-heart`, `reactions-tada`, or `interactions`. You can also sort results by how recently the items were `created` or `updated`, Default: [best match](https://docs.github.com/enterprise-cloud@latest/rest/search/search#ranking-search-results)", "in": "query", "required": false, "schema": { @@ -632192,7 +633123,7 @@ }, { "name": "per_page", - "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -632201,7 +633132,7 @@ }, { "name": "page", - "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -635400,14 +636331,14 @@ "/search/labels": { "get": { "summary": "Search labels", - "description": "Find labels in a repository with names or descriptions that match search keywords. Returns up to 100 results [per page](https://docs.github.com/enterprise-cloud@latest//rest/guides/using-pagination-in-the-rest-api).\n\nWhen searching for labels, you can get text match metadata for the label **name** and **description** fields when you pass the `text-match` media type. For more details about how to receive highlighted search results, see [Text match metadata](https://docs.github.com/enterprise-cloud@latest//rest/search/search#text-match-metadata).\n\nFor example, if you want to find labels in the `linguist` repository that match `bug`, `defect`, or `enhancement`. Your query might look like this:\n\n`q=bug+defect+enhancement&repository_id=64778136`\n\nThe labels that best match the query appear first in the search results.", + "description": "Find labels in a repository with names or descriptions that match search keywords. Returns up to 100 results [per page](https://docs.github.com/enterprise-cloud@latest/rest/guides/using-pagination-in-the-rest-api).\n\nWhen searching for labels, you can get text match metadata for the label **name** and **description** fields when you pass the `text-match` media type. For more details about how to receive highlighted search results, see [Text match metadata](https://docs.github.com/enterprise-cloud@latest/rest/search/search#text-match-metadata).\n\nFor example, if you want to find labels in the `linguist` repository that match `bug`, `defect`, or `enhancement`. Your query might look like this:\n\n`q=bug+defect+enhancement&repository_id=64778136`\n\nThe labels that best match the query appear first in the search results.", "tags": [ "search" ], "operationId": "search/labels", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/search/search#search-labels" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/search/search#search-labels" }, "parameters": [ { @@ -635421,7 +636352,7 @@ }, { "name": "q", - "description": "The search keywords. This endpoint does not accept qualifiers in the query. To learn more about the format of the query, see [Constructing a search query](https://docs.github.com/enterprise-cloud@latest//rest/search/search#constructing-a-search-query).", + "description": "The search keywords. This endpoint does not accept qualifiers in the query. To learn more about the format of the query, see [Constructing a search query](https://docs.github.com/enterprise-cloud@latest/rest/search/search#constructing-a-search-query).", "in": "query", "required": true, "schema": { @@ -635430,7 +636361,7 @@ }, { "name": "sort", - "description": "Sorts the results of your query by when the label was `created` or `updated`. Default: [best match](https://docs.github.com/enterprise-cloud@latest//rest/search/search#ranking-search-results)", + "description": "Sorts the results of your query by when the label was `created` or `updated`. Default: [best match](https://docs.github.com/enterprise-cloud@latest/rest/search/search#ranking-search-results)", "in": "query", "required": false, "schema": { @@ -635457,7 +636388,7 @@ }, { "name": "per_page", - "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -635466,7 +636397,7 @@ }, { "name": "page", - "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -635749,19 +636680,19 @@ "/search/repositories": { "get": { "summary": "Search repositories", - "description": "Find repositories via various criteria. This method returns up to 100 results [per page](https://docs.github.com/enterprise-cloud@latest//rest/guides/using-pagination-in-the-rest-api).\n\nWhen searching for repositories, you can get text match metadata for the **name** and **description** fields when you pass the `text-match` media type. For more details about how to receive highlighted search results, see [Text match metadata](https://docs.github.com/enterprise-cloud@latest//rest/search/search#text-match-metadata).\n\nFor example, if you want to search for popular Tetris repositories written in assembly code, your query might look like this:\n\n`q=tetris+language:assembly&sort=stars&order=desc`\n\nThis query searches for repositories with the word `tetris` in the name, the description, or the README. The results are limited to repositories where the primary language is assembly. The results are sorted by stars in descending order, so that the most popular repositories appear first in the search results.", + "description": "Find repositories via various criteria. This method returns up to 100 results [per page](https://docs.github.com/enterprise-cloud@latest/rest/guides/using-pagination-in-the-rest-api).\n\nWhen searching for repositories, you can get text match metadata for the **name** and **description** fields when you pass the `text-match` media type. For more details about how to receive highlighted search results, see [Text match metadata](https://docs.github.com/enterprise-cloud@latest/rest/search/search#text-match-metadata).\n\nFor example, if you want to search for popular Tetris repositories written in assembly code, your query might look like this:\n\n`q=tetris+language:assembly&sort=stars&order=desc`\n\nThis query searches for repositories with the word `tetris` in the name, the description, or the README. The results are limited to repositories where the primary language is assembly. The results are sorted by stars in descending order, so that the most popular repositories appear first in the search results.", "tags": [ "search" ], "operationId": "search/repos", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/search/search#search-repositories" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/search/search#search-repositories" }, "parameters": [ { "name": "q", - "description": "The query contains one or more search keywords and qualifiers. Qualifiers allow you to limit your search to specific areas of GitHub Enterprise Cloud. The REST API supports the same qualifiers as the web interface for GitHub Enterprise Cloud. To learn more about the format of the query, see [Constructing a search query](https://docs.github.com/enterprise-cloud@latest//rest/search/search#constructing-a-search-query). See \"[Searching for repositories](https://docs.github.com/enterprise-cloud@latest//articles/searching-for-repositories/)\" for a detailed list of qualifiers.", + "description": "The query contains one or more search keywords and qualifiers. Qualifiers allow you to limit your search to specific areas of GitHub Enterprise Cloud. The REST API supports the same qualifiers as the web interface for GitHub Enterprise Cloud. To learn more about the format of the query, see [Constructing a search query](https://docs.github.com/enterprise-cloud@latest/rest/search/search#constructing-a-search-query). See \"[Searching for repositories](https://docs.github.com/enterprise-cloud@latest/articles/searching-for-repositories/)\" for a detailed list of qualifiers.", "in": "query", "required": true, "schema": { @@ -635770,7 +636701,7 @@ }, { "name": "sort", - "description": "Sorts the results of your query by number of `stars`, `forks`, or `help-wanted-issues` or how recently the items were `updated`. Default: [best match](https://docs.github.com/enterprise-cloud@latest//rest/search/search#ranking-search-results)", + "description": "Sorts the results of your query by number of `stars`, `forks`, or `help-wanted-issues` or how recently the items were `updated`. Default: [best match](https://docs.github.com/enterprise-cloud@latest/rest/search/search#ranking-search-results)", "in": "query", "required": false, "schema": { @@ -635799,7 +636730,7 @@ }, { "name": "per_page", - "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -635808,7 +636739,7 @@ }, { "name": "page", - "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -636673,19 +637604,19 @@ "/search/topics": { "get": { "summary": "Search topics", - "description": "Find topics via various criteria. Results are sorted by best match. This method returns up to 100 results [per page](https://docs.github.com/enterprise-cloud@latest//rest/guides/using-pagination-in-the-rest-api). See \"[Searching topics](https://docs.github.com/enterprise-cloud@latest//articles/searching-topics/)\" for a detailed list of qualifiers.\n\nWhen searching for topics, you can get text match metadata for the topic's **short\\_description**, **description**, **name**, or **display\\_name** field when you pass the `text-match` media type. For more details about how to receive highlighted search results, see [Text match metadata](https://docs.github.com/enterprise-cloud@latest//rest/search/search#text-match-metadata).\n\nFor example, if you want to search for topics related to Ruby that are featured on https://github.com/topics. Your query might look like this:\n\n`q=ruby+is:featured`\n\nThis query searches for topics with the keyword `ruby` and limits the results to find only topics that are featured. The topics that are the best match for the query appear first in the search results.", + "description": "Find topics via various criteria. Results are sorted by best match. This method returns up to 100 results [per page](https://docs.github.com/enterprise-cloud@latest/rest/guides/using-pagination-in-the-rest-api). See \"[Searching topics](https://docs.github.com/enterprise-cloud@latest/articles/searching-topics/)\" for a detailed list of qualifiers.\n\nWhen searching for topics, you can get text match metadata for the topic's **short\\_description**, **description**, **name**, or **display\\_name** field when you pass the `text-match` media type. For more details about how to receive highlighted search results, see [Text match metadata](https://docs.github.com/enterprise-cloud@latest/rest/search/search#text-match-metadata).\n\nFor example, if you want to search for topics related to Ruby that are featured on https://github.com/topics. Your query might look like this:\n\n`q=ruby+is:featured`\n\nThis query searches for topics with the keyword `ruby` and limits the results to find only topics that are featured. The topics that are the best match for the query appear first in the search results.", "tags": [ "search" ], "operationId": "search/topics", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/search/search#search-topics" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/search/search#search-topics" }, "parameters": [ { "name": "q", - "description": "The query contains one or more search keywords and qualifiers. Qualifiers allow you to limit your search to specific areas of GitHub Enterprise Cloud. The REST API supports the same qualifiers as the web interface for GitHub Enterprise Cloud. To learn more about the format of the query, see [Constructing a search query](https://docs.github.com/enterprise-cloud@latest//rest/search/search#constructing-a-search-query).", + "description": "The query contains one or more search keywords and qualifiers. Qualifiers allow you to limit your search to specific areas of GitHub Enterprise Cloud. The REST API supports the same qualifiers as the web interface for GitHub Enterprise Cloud. To learn more about the format of the query, see [Constructing a search query](https://docs.github.com/enterprise-cloud@latest/rest/search/search#constructing-a-search-query).", "in": "query", "required": true, "schema": { @@ -636694,7 +637625,7 @@ }, { "name": "per_page", - "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -636703,7 +637634,7 @@ }, { "name": "page", - "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -637001,19 +637932,19 @@ "/search/users": { "get": { "summary": "Search users", - "description": "Find users via various criteria. This method returns up to 100 results [per page](https://docs.github.com/enterprise-cloud@latest//rest/guides/using-pagination-in-the-rest-api).\n\nWhen searching for users, you can get text match metadata for the issue **login**, public **email**, and **name** fields when you pass the `text-match` media type. For more details about highlighting search results, see [Text match metadata](https://docs.github.com/enterprise-cloud@latest//rest/search/search#text-match-metadata). For more details about how to receive highlighted search results, see [Text match metadata](https://docs.github.com/enterprise-cloud@latest//rest/search/search#text-match-metadata).\n\nFor example, if you're looking for a list of popular users, you might try this query:\n\n`q=tom+repos:%3E42+followers:%3E1000`\n\nThis query searches for users with the name `tom`. The results are restricted to users with more than 42 repositories and over 1,000 followers.\n\nThis endpoint does not accept authentication and will only include publicly visible users. As an alternative, you can use the GraphQL API. The GraphQL API requires authentication and will return private users, including Enterprise Managed Users (EMUs), that you are authorized to view. For more information, see \"[GraphQL Queries](https://docs.github.com/enterprise-cloud@latest//graphql/reference/queries#search).\"", + "description": "Find users via various criteria. This method returns up to 100 results [per page](https://docs.github.com/enterprise-cloud@latest/rest/guides/using-pagination-in-the-rest-api).\n\nWhen searching for users, you can get text match metadata for the issue **login**, public **email**, and **name** fields when you pass the `text-match` media type. For more details about highlighting search results, see [Text match metadata](https://docs.github.com/enterprise-cloud@latest/rest/search/search#text-match-metadata). For more details about how to receive highlighted search results, see [Text match metadata](https://docs.github.com/enterprise-cloud@latest/rest/search/search#text-match-metadata).\n\nFor example, if you're looking for a list of popular users, you might try this query:\n\n`q=tom+repos:%3E42+followers:%3E1000`\n\nThis query searches for users with the name `tom`. The results are restricted to users with more than 42 repositories and over 1,000 followers.\n\nThis endpoint does not accept authentication and will only include publicly visible users. As an alternative, you can use the GraphQL API. The GraphQL API requires authentication and will return private users, including Enterprise Managed Users (EMUs), that you are authorized to view. For more information, see \"[GraphQL Queries](https://docs.github.com/enterprise-cloud@latest/graphql/reference/queries#search).\"", "tags": [ "search" ], "operationId": "search/users", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/search/search#search-users" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/search/search#search-users" }, "parameters": [ { "name": "q", - "description": "The query contains one or more search keywords and qualifiers. Qualifiers allow you to limit your search to specific areas of GitHub Enterprise Cloud. The REST API supports the same qualifiers as the web interface for GitHub Enterprise Cloud. To learn more about the format of the query, see [Constructing a search query](https://docs.github.com/enterprise-cloud@latest//rest/search/search#constructing-a-search-query). See \"[Searching users](https://docs.github.com/enterprise-cloud@latest//search-github/searching-on-github/searching-users)\" for a detailed list of qualifiers.", + "description": "The query contains one or more search keywords and qualifiers. Qualifiers allow you to limit your search to specific areas of GitHub Enterprise Cloud. The REST API supports the same qualifiers as the web interface for GitHub Enterprise Cloud. To learn more about the format of the query, see [Constructing a search query](https://docs.github.com/enterprise-cloud@latest/rest/search/search#constructing-a-search-query). See \"[Searching users](https://docs.github.com/enterprise-cloud@latest/search-github/searching-on-github/searching-users)\" for a detailed list of qualifiers.", "in": "query", "required": true, "schema": { @@ -637022,7 +637953,7 @@ }, { "name": "sort", - "description": "Sorts the results of your query by number of `followers` or `repositories`, or when the person `joined` GitHub Enterprise Cloud. Default: [best match](https://docs.github.com/enterprise-cloud@latest//rest/search/search#ranking-search-results)", + "description": "Sorts the results of your query by number of `followers` or `repositories`, or when the person `joined` GitHub Enterprise Cloud. Default: [best match](https://docs.github.com/enterprise-cloud@latest/rest/search/search#ranking-search-results)", "in": "query", "required": false, "schema": { @@ -637050,7 +637981,7 @@ }, { "name": "per_page", - "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -637059,7 +637990,7 @@ }, { "name": "page", - "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -637421,14 +638352,14 @@ "/teams/{team_id}": { "get": { "summary": "Get a team (Legacy)", - "description": "> [!WARNING]\n> **Endpoint closing down notice:** This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the [Get a team by name](https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#get-a-team-by-name) endpoint.", + "description": "> [!WARNING]\n> **Endpoint closing down notice:** This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the [Get a team by name](https://docs.github.com/enterprise-cloud@latest/rest/teams/teams#get-a-team-by-name) endpoint.", "tags": [ "teams" ], "operationId": "teams/get-legacy", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#get-a-team-legacy" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/teams/teams#get-a-team-legacy" }, "parameters": [ { @@ -638043,14 +638974,14 @@ }, "patch": { "summary": "Update a team (Legacy)", - "description": "> [!WARNING]\n> **Endpoint closing down notice:** This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the new [Update a team](https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#update-a-team) endpoint.\n\nTo edit a team, the authenticated user must either be an organization owner or a team maintainer.\n\n> [!NOTE]\n> With nested teams, the `privacy` for parent teams cannot be `secret`.", + "description": "> [!WARNING]\n> **Endpoint closing down notice:** This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the new [Update a team](https://docs.github.com/enterprise-cloud@latest/rest/teams/teams#update-a-team) endpoint.\n\nTo edit a team, the authenticated user must either be an organization owner or a team maintainer.\n\n> [!NOTE]\n> With nested teams, the `privacy` for parent teams cannot be `secret`.", "tags": [ "teams" ], "operationId": "teams/update-legacy", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#update-a-team-legacy" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/teams/teams#update-a-team-legacy" }, "parameters": [ { @@ -639386,14 +640317,14 @@ }, "delete": { "summary": "Delete a team (Legacy)", - "description": "> [!WARNING]\n> **Endpoint closing down notice:** This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the new [Delete a team](https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#delete-a-team) endpoint.\n\nTo delete a team, the authenticated user must be an organization owner or team maintainer.\n\nIf you are an organization owner, deleting a parent team will delete all of its child teams as well.", + "description": "> [!WARNING]\n> **Endpoint closing down notice:** This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the new [Delete a team](https://docs.github.com/enterprise-cloud@latest/rest/teams/teams#delete-a-team) endpoint.\n\nTo delete a team, the authenticated user must be an organization owner or team maintainer.\n\nIf you are an organization owner, deleting a parent team will delete all of its child teams as well.", "tags": [ "teams" ], "operationId": "teams/delete-legacy", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#delete-a-team-legacy" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/teams/teams#delete-a-team-legacy" }, "parameters": [ { @@ -639520,14 +640451,14 @@ "/teams/{team_id}/invitations": { "get": { "summary": "List pending team invitations (Legacy)", - "description": "> [!WARNING]\n> **Endpoint closing down notice:** This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List pending team invitations`](https://docs.github.com/enterprise-cloud@latest//rest/teams/members#list-pending-team-invitations) endpoint.\n\nThe return hash contains a `role` field which refers to the Organization Invitation role and will be one of the following values: `direct_member`, `admin`, `billing_manager`, `hiring_manager`, or `reinstate`. If the invitee is not a GitHub Enterprise Cloud member, the `login` field in the return hash will be `null`.", + "description": "> [!WARNING]\n> **Endpoint closing down notice:** This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List pending team invitations`](https://docs.github.com/enterprise-cloud@latest/rest/teams/members#list-pending-team-invitations) endpoint.\n\nThe return hash contains a `role` field which refers to the Organization Invitation role and will be one of the following values: `direct_member`, `admin`, `billing_manager`, `hiring_manager`, or `reinstate`. If the invitee is not a GitHub Enterprise Cloud member, the `login` field in the return hash will be `null`.", "tags": [ "teams" ], "operationId": "teams/list-pending-invitations-legacy", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/teams/members#list-pending-team-invitations-legacy" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/teams/members#list-pending-team-invitations-legacy" }, "parameters": [ { @@ -639541,7 +640472,7 @@ }, { "name": "per_page", - "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -639550,7 +640481,7 @@ }, { "name": "page", - "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -639814,14 +640745,14 @@ "/teams/{team_id}/members": { "get": { "summary": "List team members (Legacy)", - "description": "> [!WARNING]\n> **Endpoint closing down notice:** This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List team members`](https://docs.github.com/enterprise-cloud@latest//rest/teams/members#list-team-members) endpoint.\n\nTeam members will include the members of child teams.", + "description": "> [!WARNING]\n> **Endpoint closing down notice:** This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List team members`](https://docs.github.com/enterprise-cloud@latest/rest/teams/members#list-team-members) endpoint.\n\nTeam members will include the members of child teams.", "tags": [ "teams" ], "operationId": "teams/list-members-legacy", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/teams/members#list-team-members-legacy" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/teams/members#list-team-members-legacy" }, "parameters": [ { @@ -639850,7 +640781,7 @@ }, { "name": "per_page", - "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -639859,7 +640790,7 @@ }, { "name": "page", - "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -640077,14 +641008,14 @@ "/teams/{team_id}/members/{username}": { "get": { "summary": "Get team member (Legacy)", - "description": "The \"Get team member\" endpoint (described below) is closing down.\n\nWe recommend using the [Get team membership for a user](https://docs.github.com/enterprise-cloud@latest//rest/teams/members#get-team-membership-for-a-user) endpoint instead. It allows you to get both active and pending memberships.\n\nTo list members in a team, the team must be visible to the authenticated user.", + "description": "The \"Get team member\" endpoint (described below) is closing down.\n\nWe recommend using the [Get team membership for a user](https://docs.github.com/enterprise-cloud@latest/rest/teams/members#get-team-membership-for-a-user) endpoint instead. It allows you to get both active and pending memberships.\n\nTo list members in a team, the team must be visible to the authenticated user.", "tags": [ "teams" ], "operationId": "teams/get-member-legacy", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/teams/members#get-team-member-legacy" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/teams/members#get-team-member-legacy" }, "parameters": [ { @@ -640126,14 +641057,14 @@ }, "put": { "summary": "Add team member (Legacy)", - "description": "The \"Add team member\" endpoint (described below) is closing down.\n\nWe recommend using the [Add or update team membership for a user](https://docs.github.com/enterprise-cloud@latest//rest/teams/members#add-or-update-team-membership-for-a-user) endpoint instead. It allows you to invite new organization members to your teams.\n\nTeam synchronization is available for organizations using GitHub Enterprise Cloud. For more information, see [GitHub's products](https://docs.github.com/enterprise-cloud@latest//github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nTo add someone to a team, the authenticated user must be an organization owner or a team maintainer in the team they're changing. The person being added to the team must be a member of the team's organization.\n\n> [!NOTE]\n> When you have team synchronization set up for a team with your organization's identity provider (IdP), you will see an error if you attempt to use the API for making changes to the team's membership. If you have access to manage group membership in your IdP, you can manage GitHub Enterprise Cloud team membership through your identity provider, which automatically adds and removes team members in an organization. For more information, see \"[Synchronizing teams between your identity provider and GitHub Enterprise Cloud](https://docs.github.com/enterprise-cloud@latest//articles/synchronizing-teams-between-your-identity-provider-and-github/).\"\n\nNote that you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP method](https://docs.github.com/enterprise-cloud@latest//rest/guides/getting-started-with-the-rest-api#http-method).\"", + "description": "The \"Add team member\" endpoint (described below) is closing down.\n\nWe recommend using the [Add or update team membership for a user](https://docs.github.com/enterprise-cloud@latest/rest/teams/members#add-or-update-team-membership-for-a-user) endpoint instead. It allows you to invite new organization members to your teams.\n\nTeam synchronization is available for organizations using GitHub Enterprise Cloud. For more information, see [GitHub's products](https://docs.github.com/enterprise-cloud@latest/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nTo add someone to a team, the authenticated user must be an organization owner or a team maintainer in the team they're changing. The person being added to the team must be a member of the team's organization.\n\n> [!NOTE]\n> When you have team synchronization set up for a team with your organization's identity provider (IdP), you will see an error if you attempt to use the API for making changes to the team's membership. If you have access to manage group membership in your IdP, you can manage GitHub Enterprise Cloud team membership through your identity provider, which automatically adds and removes team members in an organization. For more information, see \"[Synchronizing teams between your identity provider and GitHub Enterprise Cloud](https://docs.github.com/enterprise-cloud@latest/articles/synchronizing-teams-between-your-identity-provider-and-github/).\"\n\nNote that you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP method](https://docs.github.com/enterprise-cloud@latest/rest/guides/getting-started-with-the-rest-api#http-method).\"", "tags": [ "teams" ], "operationId": "teams/add-member-legacy", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/teams/members#add-team-member-legacy" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/teams/members#add-team-member-legacy" }, "parameters": [ { @@ -640204,14 +641135,14 @@ }, "delete": { "summary": "Remove team member (Legacy)", - "description": "The \"Remove team member\" endpoint (described below) is closing down.\n\nWe recommend using the [Remove team membership for a user](https://docs.github.com/enterprise-cloud@latest//rest/teams/members#remove-team-membership-for-a-user) endpoint instead. It allows you to remove both active and pending memberships.\n\nTeam synchronization is available for organizations using GitHub Enterprise Cloud. For more information, see [GitHub's products](https://docs.github.com/enterprise-cloud@latest//github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nTo remove a team member, the authenticated user must have 'admin' permissions to the team or be an owner of the org that the team is associated with. Removing a team member does not delete the user, it just removes them from the team.\n\n> [!NOTE]\n> When you have team synchronization set up for a team with your organization's identity provider (IdP), you will see an error if you attempt to use the API for making changes to the team's membership. If you have access to manage group membership in your IdP, you can manage GitHub Enterprise Cloud team membership through your identity provider, which automatically adds and removes team members in an organization. For more information, see \"[Synchronizing teams between your identity provider and GitHub Enterprise Cloud](https://docs.github.com/enterprise-cloud@latest//articles/synchronizing-teams-between-your-identity-provider-and-github/).\"", + "description": "The \"Remove team member\" endpoint (described below) is closing down.\n\nWe recommend using the [Remove team membership for a user](https://docs.github.com/enterprise-cloud@latest/rest/teams/members#remove-team-membership-for-a-user) endpoint instead. It allows you to remove both active and pending memberships.\n\nTeam synchronization is available for organizations using GitHub Enterprise Cloud. For more information, see [GitHub's products](https://docs.github.com/enterprise-cloud@latest/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nTo remove a team member, the authenticated user must have 'admin' permissions to the team or be an owner of the org that the team is associated with. Removing a team member does not delete the user, it just removes them from the team.\n\n> [!NOTE]\n> When you have team synchronization set up for a team with your organization's identity provider (IdP), you will see an error if you attempt to use the API for making changes to the team's membership. If you have access to manage group membership in your IdP, you can manage GitHub Enterprise Cloud team membership through your identity provider, which automatically adds and removes team members in an organization. For more information, see \"[Synchronizing teams between your identity provider and GitHub Enterprise Cloud](https://docs.github.com/enterprise-cloud@latest/articles/synchronizing-teams-between-your-identity-provider-and-github/).\"", "tags": [ "teams" ], "operationId": "teams/remove-member-legacy", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/teams/members#remove-team-member-legacy" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/teams/members#remove-team-member-legacy" }, "parameters": [ { @@ -640255,14 +641186,14 @@ "/teams/{team_id}/memberships/{username}": { "get": { "summary": "Get team membership for a user (Legacy)", - "description": "> [!WARNING]\n> **Endpoint closing down notice:** This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the new [Get team membership for a user](https://docs.github.com/enterprise-cloud@latest//rest/teams/members#get-team-membership-for-a-user) endpoint.\n\nTeam members will include the members of child teams.\n\nTo get a user's membership with a team, the team must be visible to the authenticated user.\n\n**Note:**\nThe response contains the `state` of the membership and the member's `role`.\n\nThe `role` for organization owners is set to `maintainer`. For more information about `maintainer` roles, see [Create a team](https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#create-a-team).", + "description": "> [!WARNING]\n> **Endpoint closing down notice:** This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the new [Get team membership for a user](https://docs.github.com/enterprise-cloud@latest/rest/teams/members#get-team-membership-for-a-user) endpoint.\n\nTeam members will include the members of child teams.\n\nTo get a user's membership with a team, the team must be visible to the authenticated user.\n\n**Note:**\nThe response contains the `state` of the membership and the member's `role`.\n\nThe `role` for organization owners is set to `maintainer`. For more information about `maintainer` roles, see [Create a team](https://docs.github.com/enterprise-cloud@latest/rest/teams/teams#create-a-team).", "tags": [ "teams" ], "operationId": "teams/get-membership-for-user-legacy", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/teams/members#get-team-membership-for-a-user-legacy" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/teams/members#get-team-membership-for-a-user-legacy" }, "parameters": [ { @@ -640375,14 +641306,14 @@ }, "put": { "summary": "Add or update team membership for a user (Legacy)", - "description": "> [!WARNING]\n> **Endpoint closing down notice:** This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the new [Add or update team membership for a user](https://docs.github.com/enterprise-cloud@latest//rest/teams/members#add-or-update-team-membership-for-a-user) endpoint.\n\nTeam synchronization is available for organizations using GitHub Enterprise Cloud. For more information, see [GitHub's products](https://docs.github.com/enterprise-cloud@latest//github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nIf the user is already a member of the team's organization, this endpoint will add the user to the team. To add a membership between an organization member and a team, the authenticated user must be an organization owner or a team maintainer.\n\n> [!NOTE]\n> When you have team synchronization set up for a team with your organization's identity provider (IdP), you will see an error if you attempt to use the API for making changes to the team's membership. If you have access to manage group membership in your IdP, you can manage GitHub Enterprise Cloud team membership through your identity provider, which automatically adds and removes team members in an organization. For more information, see \"[Synchronizing teams between your identity provider and GitHub Enterprise Cloud](https://docs.github.com/enterprise-cloud@latest//articles/synchronizing-teams-between-your-identity-provider-and-github/).\"\n\nIf the user is unaffiliated with the team's organization, this endpoint will send an invitation to the user via email. This newly-created membership will be in the \"pending\" state until the user accepts the invitation, at which point the membership will transition to the \"active\" state and the user will be added as a member of the team. To add a membership between an unaffiliated user and a team, the authenticated user must be an organization owner.\n\nIf the user is already a member of the team, this endpoint will update the role of the team member's role. To update the membership of a team member, the authenticated user must be an organization owner or a team maintainer.", + "description": "> [!WARNING]\n> **Endpoint closing down notice:** This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the new [Add or update team membership for a user](https://docs.github.com/enterprise-cloud@latest/rest/teams/members#add-or-update-team-membership-for-a-user) endpoint.\n\nTeam synchronization is available for organizations using GitHub Enterprise Cloud. For more information, see [GitHub's products](https://docs.github.com/enterprise-cloud@latest/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nIf the user is already a member of the team's organization, this endpoint will add the user to the team. To add a membership between an organization member and a team, the authenticated user must be an organization owner or a team maintainer.\n\n> [!NOTE]\n> When you have team synchronization set up for a team with your organization's identity provider (IdP), you will see an error if you attempt to use the API for making changes to the team's membership. If you have access to manage group membership in your IdP, you can manage GitHub Enterprise Cloud team membership through your identity provider, which automatically adds and removes team members in an organization. For more information, see \"[Synchronizing teams between your identity provider and GitHub Enterprise Cloud](https://docs.github.com/enterprise-cloud@latest/articles/synchronizing-teams-between-your-identity-provider-and-github/).\"\n\nIf the user is unaffiliated with the team's organization, this endpoint will send an invitation to the user via email. This newly-created membership will be in the \"pending\" state until the user accepts the invitation, at which point the membership will transition to the \"active\" state and the user will be added as a member of the team. To add a membership between an unaffiliated user and a team, the authenticated user must be an organization owner.\n\nIf the user is already a member of the team, this endpoint will update the role of the team member's role. To update the membership of a team member, the authenticated user must be an organization owner or a team maintainer.", "tags": [ "teams" ], "operationId": "teams/add-or-update-membership-for-user-legacy", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/teams/members#add-or-update-team-membership-for-a-user-legacy" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/teams/members#add-or-update-team-membership-for-a-user-legacy" }, "parameters": [ { @@ -640530,14 +641461,14 @@ }, "delete": { "summary": "Remove team membership for a user (Legacy)", - "description": "> [!WARNING]\n> **Endpoint closing down notice:** This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the new [Remove team membership for a user](https://docs.github.com/enterprise-cloud@latest//rest/teams/members#remove-team-membership-for-a-user) endpoint.\n\nTeam synchronization is available for organizations using GitHub Enterprise Cloud. For more information, see [GitHub's products](https://docs.github.com/enterprise-cloud@latest//github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nTo remove a membership between a user and a team, the authenticated user must have 'admin' permissions to the team or be an owner of the organization that the team is associated with. Removing team membership does not delete the user, it just removes their membership from the team.\n\n> [!NOTE]\n> When you have team synchronization set up for a team with your organization's identity provider (IdP), you will see an error if you attempt to use the API for making changes to the team's membership. If you have access to manage group membership in your IdP, you can manage GitHub Enterprise Cloud team membership through your identity provider, which automatically adds and removes team members in an organization. For more information, see \"[Synchronizing teams between your identity provider and GitHub Enterprise Cloud](https://docs.github.com/enterprise-cloud@latest//articles/synchronizing-teams-between-your-identity-provider-and-github/).\"", + "description": "> [!WARNING]\n> **Endpoint closing down notice:** This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the new [Remove team membership for a user](https://docs.github.com/enterprise-cloud@latest/rest/teams/members#remove-team-membership-for-a-user) endpoint.\n\nTeam synchronization is available for organizations using GitHub Enterprise Cloud. For more information, see [GitHub's products](https://docs.github.com/enterprise-cloud@latest/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nTo remove a membership between a user and a team, the authenticated user must have 'admin' permissions to the team or be an owner of the organization that the team is associated with. Removing team membership does not delete the user, it just removes their membership from the team.\n\n> [!NOTE]\n> When you have team synchronization set up for a team with your organization's identity provider (IdP), you will see an error if you attempt to use the API for making changes to the team's membership. If you have access to manage group membership in your IdP, you can manage GitHub Enterprise Cloud team membership through your identity provider, which automatically adds and removes team members in an organization. For more information, see \"[Synchronizing teams between your identity provider and GitHub Enterprise Cloud](https://docs.github.com/enterprise-cloud@latest/articles/synchronizing-teams-between-your-identity-provider-and-github/).\"", "tags": [ "teams" ], "operationId": "teams/remove-membership-for-user-legacy", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/teams/members#remove-team-membership-for-a-user-legacy" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/teams/members#remove-team-membership-for-a-user-legacy" }, "parameters": [ { @@ -640581,14 +641512,14 @@ "/teams/{team_id}/repos": { "get": { "summary": "List team repositories (Legacy)", - "description": "> [!WARNING]\n> **Endpoint closing down notice:** This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the new [List team repositories](https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-team-repositories) endpoint.", + "description": "> [!WARNING]\n> **Endpoint closing down notice:** This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the new [List team repositories](https://docs.github.com/enterprise-cloud@latest/rest/teams/teams#list-team-repositories) endpoint.", "tags": [ "teams" ], "operationId": "teams/list-repos-legacy", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-team-repositories-legacy" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/teams/teams#list-team-repositories-legacy" }, "parameters": [ { @@ -640602,7 +641533,7 @@ }, { "name": "per_page", - "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -640611,7 +641542,7 @@ }, { "name": "page", - "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -641573,14 +642504,14 @@ "/teams/{team_id}/repos/{owner}/{repo}": { "get": { "summary": "Check team permissions for a repository (Legacy)", - "description": "> [!WARNING]\n> **Endpoint closing down notice:** This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the new [Check team permissions for a repository](https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#check-team-permissions-for-a-repository) endpoint.\n\n> [!NOTE]\n> Repositories inherited through a parent team will also be checked.\n\nYou can also get information about the specified repository, including what permissions the team grants on it, by passing the following custom [media type](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/getting-started-with-the-rest-api#media-types/) via the `Accept` header:", + "description": "> [!WARNING]\n> **Endpoint closing down notice:** This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the new [Check team permissions for a repository](https://docs.github.com/enterprise-cloud@latest/rest/teams/teams#check-team-permissions-for-a-repository) endpoint.\n\n> [!NOTE]\n> Repositories inherited through a parent team will also be checked.\n\nYou can also get information about the specified repository, including what permissions the team grants on it, by passing the following custom [media type](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types/) via the `Accept` header:", "tags": [ "teams" ], "operationId": "teams/check-permissions-for-repo-legacy", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#check-team-permissions-for-a-repository-legacy" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/teams/teams#check-team-permissions-for-a-repository-legacy" }, "parameters": [ { @@ -642435,14 +643366,14 @@ }, "put": { "summary": "Add or update team repository permissions (Legacy)", - "description": "> [!WARNING]\n> **Endpoint closing down notice:** This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the new \"[Add or update team repository permissions](https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#add-or-update-team-repository-permissions)\" endpoint.\n\nTo add a repository to a team or update the team's permission on a repository, the authenticated user must have admin access to the repository, and must be able to see the team. The repository must be owned by the organization, or a direct fork of a repository owned by the organization. You will get a `422 Unprocessable Entity` status if you attempt to add a repository to a team that is not owned by the organization.\n\nNote that, if you choose not to pass any parameters, you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP method](https://docs.github.com/enterprise-cloud@latest//rest/guides/getting-started-with-the-rest-api#http-method).\"", + "description": "> [!WARNING]\n> **Endpoint closing down notice:** This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the new \"[Add or update team repository permissions](https://docs.github.com/enterprise-cloud@latest/rest/teams/teams#add-or-update-team-repository-permissions)\" endpoint.\n\nTo add a repository to a team or update the team's permission on a repository, the authenticated user must have admin access to the repository, and must be able to see the team. The repository must be owned by the organization, or a direct fork of a repository owned by the organization. You will get a `422 Unprocessable Entity` status if you attempt to add a repository to a team that is not owned by the organization.\n\nNote that, if you choose not to pass any parameters, you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP method](https://docs.github.com/enterprise-cloud@latest/rest/guides/getting-started-with-the-rest-api#http-method).\"", "tags": [ "teams" ], "operationId": "teams/add-or-update-repo-permissions-legacy", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#add-or-update-team-repository-permissions-legacy" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/teams/teams#add-or-update-team-repository-permissions-legacy" }, "parameters": [ { @@ -642614,14 +643545,14 @@ }, "delete": { "summary": "Remove a repository from a team (Legacy)", - "description": "> [!WARNING]\n> **Endpoint closing down notice:** This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the new [Remove a repository from a team](https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#remove-a-repository-from-a-team) endpoint.\n\nIf the authenticated user is an organization owner or a team maintainer, they can remove any repositories from the team. To remove a repository from a team as an organization member, the authenticated user must have admin access to the repository and must be able to see the team. NOTE: This does not delete the repository, it just removes it from the team.", + "description": "> [!WARNING]\n> **Endpoint closing down notice:** This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the new [Remove a repository from a team](https://docs.github.com/enterprise-cloud@latest/rest/teams/teams#remove-a-repository-from-a-team) endpoint.\n\nIf the authenticated user is an organization owner or a team maintainer, they can remove any repositories from the team. To remove a repository from a team as an organization member, the authenticated user must have admin access to the repository and must be able to see the team. NOTE: This does not delete the repository, it just removes it from the team.", "tags": [ "teams" ], "operationId": "teams/remove-repo-legacy", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#remove-a-repository-from-a-team-legacy" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/teams/teams#remove-a-repository-from-a-team-legacy" }, "parameters": [ { @@ -642671,14 +643602,14 @@ "/teams/{team_id}/team-sync/group-mappings": { "get": { "summary": "List IdP groups for a team (Legacy)", - "description": "> [!WARNING]\n> **Endpoint closing down notice:** This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List IdP groups for a team`](https://docs.github.com/enterprise-cloud@latest//rest/teams/team-sync#list-idp-groups-for-a-team) endpoint.\n\nTeam synchronization is available for organizations using GitHub Enterprise Cloud. For more information, see [GitHub's products](https://docs.github.com/enterprise-cloud@latest//github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nList IdP groups connected to a team on GitHub Enterprise Cloud.", + "description": "> [!WARNING]\n> **Endpoint closing down notice:** This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List IdP groups for a team`](https://docs.github.com/enterprise-cloud@latest/rest/teams/team-sync#list-idp-groups-for-a-team) endpoint.\n\nTeam synchronization is available for organizations using GitHub Enterprise Cloud. For more information, see [GitHub's products](https://docs.github.com/enterprise-cloud@latest/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nList IdP groups connected to a team on GitHub Enterprise Cloud.", "tags": [ "teams" ], "operationId": "teams/list-idp-groups-for-legacy", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/teams/team-sync#list-idp-groups-for-a-team-legacy" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/teams/team-sync#list-idp-groups-for-a-team-legacy" }, "parameters": [ { @@ -642841,14 +643772,14 @@ }, "patch": { "summary": "Create or update IdP group connections (Legacy)", - "description": "> [!WARNING]\n> **Endpoint closing down notice:** This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the new [`Create or update IdP group connections`](https://docs.github.com/enterprise-cloud@latest//rest/teams/team-sync#create-or-update-idp-group-connections) endpoint.\n\nTeam synchronization is available for organizations using GitHub Enterprise Cloud. For more information, see [GitHub's products](https://docs.github.com/enterprise-cloud@latest//github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nCreates, updates, or removes a connection between a team and an IdP group. When adding groups to a team, you must include all new and existing groups to avoid replacing existing groups with the new ones. Specifying an empty `groups` array will remove all connections for a team.", + "description": "> [!WARNING]\n> **Endpoint closing down notice:** This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the new [`Create or update IdP group connections`](https://docs.github.com/enterprise-cloud@latest/rest/teams/team-sync#create-or-update-idp-group-connections) endpoint.\n\nTeam synchronization is available for organizations using GitHub Enterprise Cloud. For more information, see [GitHub's products](https://docs.github.com/enterprise-cloud@latest/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nCreates, updates, or removes a connection between a team and an IdP group. When adding groups to a team, you must include all new and existing groups to avoid replacing existing groups with the new ones. Specifying an empty `groups` array will remove all connections for a team.", "tags": [ "teams" ], "operationId": "teams/create-or-update-idp-group-connections-legacy", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/teams/team-sync#create-or-update-idp-group-connections-legacy" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/teams/team-sync#create-or-update-idp-group-connections-legacy" }, "parameters": [ { @@ -643122,14 +644053,14 @@ "/teams/{team_id}/teams": { "get": { "summary": "List child teams (Legacy)", - "description": "> [!WARNING]\n> **Endpoint closing down notice:** This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List child teams`](https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-child-teams) endpoint.", + "description": "> [!WARNING]\n> **Endpoint closing down notice:** This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List child teams`](https://docs.github.com/enterprise-cloud@latest/rest/teams/teams#list-child-teams) endpoint.", "tags": [ "teams" ], "operationId": "teams/list-child-legacy", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-child-teams-legacy" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/teams/teams#list-child-teams-legacy" }, "parameters": [ { @@ -643143,7 +644074,7 @@ }, { "name": "per_page", - "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -643152,7 +644083,7 @@ }, { "name": "page", - "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -643566,7 +644497,7 @@ "operationId": "users/get-authenticated", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/users/users#get-the-authenticated-user" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/users/users#get-the-authenticated-user" }, "parameters": [], "responses": { @@ -644205,7 +645136,7 @@ "operationId": "users/update-authenticated", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/users/users#update-the-authenticated-user" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/users/users#update-the-authenticated-user" }, "parameters": [], "requestBody": { @@ -644750,12 +645681,12 @@ "operationId": "users/list-blocked-by-authenticated-user", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/users/blocking#list-users-blocked-by-the-authenticated-user" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/users/blocking#list-users-blocked-by-the-authenticated-user" }, "parameters": [ { "name": "per_page", - "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -644764,7 +645695,7 @@ }, { "name": "page", - "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -645033,7 +645964,7 @@ "operationId": "users/check-blocked", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/users/blocking#check-if-a-user-is-blocked-by-the-authenticated-user" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/users/blocking#check-if-a-user-is-blocked-by-the-authenticated-user" }, "parameters": [ { @@ -645148,7 +646079,7 @@ "operationId": "users/block", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/users/blocking#block-a-user" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/users/blocking#block-a-user" }, "parameters": [ { @@ -645332,7 +646263,7 @@ "operationId": "users/unblock", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/users/blocking#unblock-a-user" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/users/blocking#unblock-a-user" }, "parameters": [ { @@ -645449,12 +646380,12 @@ "operationId": "codespaces/list-for-authenticated-user", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#list-codespaces-for-the-authenticated-user" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/codespaces/codespaces#list-codespaces-for-the-authenticated-user" }, "parameters": [ { "name": "per_page", - "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -645463,7 +646394,7 @@ }, { "name": "page", - "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -647378,7 +648309,7 @@ "operationId": "codespaces/create-for-authenticated-user", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#create-a-codespace-for-the-authenticated-user" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/codespaces/codespaces#create-a-codespace-for-the-authenticated-user" }, "requestBody": { "required": true, @@ -650581,12 +651512,12 @@ "operationId": "codespaces/list-secrets-for-authenticated-user", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/codespaces/secrets#list-secrets-for-the-authenticated-user" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/codespaces/secrets#list-secrets-for-the-authenticated-user" }, "parameters": [ { "name": "per_page", - "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -650595,7 +651526,7 @@ }, { "name": "page", - "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -650718,7 +651649,7 @@ "operationId": "codespaces/get-public-key-for-authenticated-user", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/codespaces/secrets#get-public-key-for-the-authenticated-user" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/codespaces/secrets#get-public-key-for-the-authenticated-user" }, "responses": { "200": { @@ -650776,7 +651707,7 @@ "operationId": "codespaces/get-secret-for-authenticated-user", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/codespaces/secrets#get-a-secret-for-the-authenticated-user" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/codespaces/secrets#get-a-secret-for-the-authenticated-user" }, "parameters": [ { @@ -650862,14 +651793,14 @@ }, "put": { "summary": "Create or update a secret for the authenticated user", - "description": "Creates or updates a development environment secret for a user's codespace with an encrypted value. Encrypt your secret using\n[LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages). For more information, see \"[Encrypting secrets for the REST API](https://docs.github.com/enterprise-cloud@latest//rest/guides/encrypting-secrets-for-the-rest-api).\"\n\nThe authenticated user must have Codespaces access to use this endpoint.\n\nOAuth app tokens and personal access tokens (classic) need the `codespace` or `codespace:secrets` scope to use this endpoint.", + "description": "Creates or updates a development environment secret for a user's codespace with an encrypted value. Encrypt your secret using\n[LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages). For more information, see \"[Encrypting secrets for the REST API](https://docs.github.com/enterprise-cloud@latest/rest/guides/encrypting-secrets-for-the-rest-api).\"\n\nThe authenticated user must have Codespaces access to use this endpoint.\n\nOAuth app tokens and personal access tokens (classic) need the `codespace` or `codespace:secrets` scope to use this endpoint.", "tags": [ "codespaces" ], "operationId": "codespaces/create-or-update-secret-for-authenticated-user", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/codespaces/secrets#create-or-update-a-secret-for-the-authenticated-user" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/codespaces/secrets#create-or-update-a-secret-for-the-authenticated-user" }, "parameters": [ { @@ -650891,7 +651822,7 @@ "properties": { "encrypted_value": { "type": "string", - "description": "Value for your secret, encrypted with [LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages) using the public key retrieved from the [Get the public key for the authenticated user](https://docs.github.com/enterprise-cloud@latest//rest/codespaces/secrets#get-public-key-for-the-authenticated-user) endpoint.", + "description": "Value for your secret, encrypted with [LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages) using the public key retrieved from the [Get the public key for the authenticated user](https://docs.github.com/enterprise-cloud@latest/rest/codespaces/secrets#get-public-key-for-the-authenticated-user) endpoint.", "pattern": "^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=|[A-Za-z0-9+/]{4})$" }, "key_id": { @@ -650900,7 +651831,7 @@ }, "selected_repository_ids": { "type": "array", - "description": "An array of repository ids that can access the user secret. You can manage the list of selected repositories using the [List selected repositories for a user secret](https://docs.github.com/enterprise-cloud@latest//rest/codespaces/secrets#list-selected-repositories-for-a-user-secret), [Set selected repositories for a user secret](https://docs.github.com/enterprise-cloud@latest//rest/codespaces/secrets#set-selected-repositories-for-a-user-secret), and [Remove a selected repository from a user secret](https://docs.github.com/enterprise-cloud@latest//rest/codespaces/secrets#remove-a-selected-repository-from-a-user-secret) endpoints.", + "description": "An array of repository ids that can access the user secret. You can manage the list of selected repositories using the [List selected repositories for a user secret](https://docs.github.com/enterprise-cloud@latest/rest/codespaces/secrets#list-selected-repositories-for-a-user-secret), [Set selected repositories for a user secret](https://docs.github.com/enterprise-cloud@latest/rest/codespaces/secrets#set-selected-repositories-for-a-user-secret), and [Remove a selected repository from a user secret](https://docs.github.com/enterprise-cloud@latest/rest/codespaces/secrets#remove-a-selected-repository-from-a-user-secret) endpoints.", "items": { "anyOf": [ { @@ -651067,7 +651998,7 @@ "operationId": "codespaces/delete-secret-for-authenticated-user", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/codespaces/secrets#delete-a-secret-for-the-authenticated-user" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/codespaces/secrets#delete-a-secret-for-the-authenticated-user" }, "parameters": [ { @@ -651103,7 +652034,7 @@ "operationId": "codespaces/list-repositories-for-secret-for-authenticated-user", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/codespaces/secrets#list-selected-repositories-for-a-user-secret" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/codespaces/secrets#list-selected-repositories-for-a-user-secret" }, "parameters": [ { @@ -652277,7 +653208,7 @@ "operationId": "codespaces/set-repositories-for-secret-for-authenticated-user", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/codespaces/secrets#set-selected-repositories-for-a-user-secret" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/codespaces/secrets#set-selected-repositories-for-a-user-secret" }, "parameters": [ { @@ -652299,7 +653230,7 @@ "properties": { "selected_repository_ids": { "type": "array", - "description": "An array of repository ids for which a codespace can access the secret. You can manage the list of selected repositories using the [List selected repositories for a user secret](https://docs.github.com/enterprise-cloud@latest//rest/codespaces/secrets#list-selected-repositories-for-a-user-secret), [Add a selected repository to a user secret](https://docs.github.com/enterprise-cloud@latest//rest/codespaces/secrets#add-a-selected-repository-to-a-user-secret), and [Remove a selected repository from a user secret](https://docs.github.com/enterprise-cloud@latest//rest/codespaces/secrets#remove-a-selected-repository-from-a-user-secret) endpoints.", + "description": "An array of repository ids for which a codespace can access the secret. You can manage the list of selected repositories using the [List selected repositories for a user secret](https://docs.github.com/enterprise-cloud@latest/rest/codespaces/secrets#list-selected-repositories-for-a-user-secret), [Add a selected repository to a user secret](https://docs.github.com/enterprise-cloud@latest/rest/codespaces/secrets#add-a-selected-repository-to-a-user-secret), and [Remove a selected repository from a user secret](https://docs.github.com/enterprise-cloud@latest/rest/codespaces/secrets#remove-a-selected-repository-from-a-user-secret) endpoints.", "items": { "type": "integer" } @@ -652449,7 +653380,7 @@ "operationId": "codespaces/add-repository-for-secret-for-authenticated-user", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/codespaces/secrets#add-a-selected-repository-to-a-user-secret" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/codespaces/secrets#add-a-selected-repository-to-a-user-secret" }, "parameters": [ { @@ -652595,7 +653526,7 @@ "operationId": "codespaces/remove-repository-for-secret-for-authenticated-user", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/codespaces/secrets#remove-a-selected-repository-from-a-user-secret" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/codespaces/secrets#remove-a-selected-repository-from-a-user-secret" }, "parameters": [ { @@ -652743,7 +653674,7 @@ "operationId": "codespaces/get-for-authenticated-user", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#get-a-codespace-for-the-authenticated-user" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/codespaces/codespaces#get-a-codespace-for-the-authenticated-user" }, "parameters": [ { @@ -654353,7 +655284,7 @@ "operationId": "codespaces/update-for-authenticated-user", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#update-a-codespace-for-the-authenticated-user" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/codespaces/codespaces#update-a-codespace-for-the-authenticated-user" }, "parameters": [ { @@ -655968,7 +656899,7 @@ "operationId": "codespaces/delete-for-authenticated-user", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#delete-a-codespace-for-the-authenticated-user" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/codespaces/codespaces#delete-a-codespace-for-the-authenticated-user" }, "parameters": [ { @@ -656123,7 +657054,7 @@ "operationId": "codespaces/export-for-authenticated-user", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#export-a-codespace-for-the-authenticated-user" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/codespaces/codespaces#export-a-codespace-for-the-authenticated-user" }, "parameters": [ { @@ -656396,7 +657327,7 @@ "operationId": "codespaces/get-export-details-for-authenticated-user", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#get-details-about-a-codespace-export" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/codespaces/codespaces#get-details-about-a-codespace-export" }, "parameters": [ { @@ -656531,7 +657462,7 @@ "operationId": "codespaces/codespace-machines-for-authenticated-user", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/codespaces/machines#list-machine-types-for-a-codespace" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/codespaces/machines#list-machine-types-for-a-codespace" }, "parameters": [ { @@ -656775,7 +657706,7 @@ "operationId": "codespaces/publish-for-authenticated-user", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#create-a-repository-from-an-unpublished-codespace" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/codespaces/codespaces#create-a-repository-from-an-unpublished-codespace" }, "parameters": [ { @@ -661395,7 +662326,7 @@ "operationId": "codespaces/start-for-authenticated-user", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#start-a-codespace-for-the-authenticated-user" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/codespaces/codespaces#start-a-codespace-for-the-authenticated-user" }, "parameters": [ { @@ -663119,7 +664050,7 @@ "operationId": "codespaces/stop-for-authenticated-user", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#stop-a-codespace-for-the-authenticated-user" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/codespaces/codespaces#stop-a-codespace-for-the-authenticated-user" }, "parameters": [ { @@ -664728,7 +665659,7 @@ "operationId": "packages/list-docker-migration-conflicting-packages-for-authenticated-user", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#get-list-of-conflicting-packages-during-docker-migration-for-authenticated-user" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/packages/packages#get-list-of-conflicting-packages-during-docker-migration-for-authenticated-user" }, "responses": { "200": { @@ -665790,7 +666721,7 @@ "operationId": "users/set-primary-email-visibility-for-authenticated-user", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/users/emails#set-primary-email-visibility-for-the-authenticated-user" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/users/emails#set-primary-email-visibility-for-the-authenticated-user" }, "parameters": [], "requestBody": { @@ -666047,12 +666978,12 @@ "operationId": "users/list-emails-for-authenticated-user", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/users/emails#list-email-addresses-for-the-authenticated-user" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/users/emails#list-email-addresses-for-the-authenticated-user" }, "parameters": [ { "name": "per_page", - "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -666061,7 +666992,7 @@ }, { "name": "page", - "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -666229,7 +667160,7 @@ "operationId": "users/add-email-for-authenticated-user", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/users/emails#add-an-email-address-for-the-authenticated-user" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/users/emails#add-an-email-address-for-the-authenticated-user" }, "parameters": [], "requestBody": { @@ -666523,7 +667454,7 @@ "operationId": "users/delete-email-for-authenticated-user", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/users/emails#delete-an-email-address-for-the-authenticated-user" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/users/emails#delete-an-email-address-for-the-authenticated-user" }, "parameters": [], "requestBody": { @@ -666755,12 +667686,12 @@ "operationId": "users/list-followers-for-authenticated-user", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/users/followers#list-followers-of-the-authenticated-user" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/users/followers#list-followers-of-the-authenticated-user" }, "parameters": [ { "name": "per_page", - "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -666769,7 +667700,7 @@ }, { "name": "page", - "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -667020,12 +667951,12 @@ "operationId": "users/list-followed-by-authenticated-user", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/users/followers#list-the-people-the-authenticated-user-follows" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/users/followers#list-the-people-the-authenticated-user-follows" }, "parameters": [ { "name": "per_page", - "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -667034,7 +667965,7 @@ }, { "name": "page", - "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -667285,7 +668216,7 @@ "operationId": "users/check-person-is-followed-by-authenticated", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/users/followers#check-if-a-person-is-followed-by-the-authenticated-user" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/users/followers#check-if-a-person-is-followed-by-the-authenticated-user" }, "parameters": [ { @@ -667393,14 +668324,14 @@ }, "put": { "summary": "Follow a user", - "description": "Note that you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP verbs](https://docs.github.com/enterprise-cloud@latest//rest/guides/getting-started-with-the-rest-api#http-method).\"\n\nOAuth app tokens and personal access tokens (classic) need the `user:follow` scope to use this endpoint.", + "description": "Note that you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP verbs](https://docs.github.com/enterprise-cloud@latest/rest/guides/getting-started-with-the-rest-api#http-method).\"\n\nOAuth app tokens and personal access tokens (classic) need the `user:follow` scope to use this endpoint.", "tags": [ "users" ], "operationId": "users/follow", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/users/followers#follow-a-user" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/users/followers#follow-a-user" }, "parameters": [ { @@ -667584,7 +668515,7 @@ "operationId": "users/unfollow", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/users/followers#unfollow-a-user" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/users/followers#unfollow-a-user" }, "parameters": [ { @@ -667701,12 +668632,12 @@ "operationId": "users/list-gpg-keys-for-authenticated-user", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/users/gpg-keys#list-gpg-keys-for-the-authenticated-user" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/users/gpg-keys#list-gpg-keys-for-the-authenticated-user" }, "parameters": [ { "name": "per_page", - "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -667715,7 +668646,7 @@ }, { "name": "page", - "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -668061,7 +668992,7 @@ ], "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/users/gpg-keys#create-a-gpg-key-for-the-authenticated-user" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/users/gpg-keys#create-a-gpg-key-for-the-authenticated-user" }, "parameters": [], "requestBody": { @@ -668491,7 +669422,7 @@ "operationId": "users/get-gpg-key-for-authenticated-user", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/users/gpg-keys#get-a-gpg-key-for-the-authenticated-user" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/users/gpg-keys#get-a-gpg-key-for-the-authenticated-user" }, "parameters": [ { @@ -668829,7 +669760,7 @@ "operationId": "users/delete-gpg-key-for-authenticated-user", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/users/gpg-keys#delete-a-gpg-key-for-the-authenticated-user" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/users/gpg-keys#delete-a-gpg-key-for-the-authenticated-user" }, "parameters": [ { @@ -669015,12 +669946,12 @@ "operationId": "apps/list-installations-for-authenticated-user", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/apps/installations#list-app-installations-accessible-to-the-user-access-token" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/apps/installations#list-app-installations-accessible-to-the-user-access-token" }, "parameters": [ { "name": "per_page", - "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -669029,7 +669960,7 @@ }, { "name": "page", - "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -670150,7 +671081,7 @@ "operationId": "apps/list-installation-repos-for-authenticated-user", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/apps/installations#list-repositories-accessible-to-the-user-access-token" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/apps/installations#list-repositories-accessible-to-the-user-access-token" }, "parameters": [ { @@ -670169,7 +671100,7 @@ }, { "name": "per_page", - "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -670178,7 +671109,7 @@ }, { "name": "page", - "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -671174,7 +672105,7 @@ "operationId": "apps/add-repo-to-installation-for-authenticated-user", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/apps/installations#add-a-repository-to-an-app-installation" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/apps/installations#add-a-repository-to-an-app-installation" }, "parameters": [ { @@ -671277,7 +672208,7 @@ "operationId": "apps/remove-repo-from-installation-for-authenticated-user", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/apps/installations#remove-a-repository-from-an-app-installation" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/apps/installations#remove-a-repository-from-an-app-installation" }, "parameters": [ { @@ -671385,7 +672316,7 @@ "operationId": "interactions/get-restrictions-for-authenticated-user", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/interactions/user#get-interaction-restrictions-for-your-public-repositories" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/interactions/user#get-interaction-restrictions-for-your-public-repositories" }, "responses": { "200": { @@ -671464,7 +672395,7 @@ "operationId": "interactions/set-restrictions-for-authenticated-user", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/interactions/user#set-interaction-restrictions-for-your-public-repositories" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/interactions/user#set-interaction-restrictions-for-your-public-repositories" }, "requestBody": { "required": true, @@ -671647,7 +672578,7 @@ "operationId": "interactions/remove-restrictions-for-authenticated-user", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/interactions/user#remove-interaction-restrictions-from-your-public-repositories" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/interactions/user#remove-interaction-restrictions-from-your-public-repositories" }, "responses": { "204": { @@ -671665,14 +672596,14 @@ "/user/issues": { "get": { "summary": "List user account issues assigned to the authenticated user", - "description": "List issues across owned and member repositories assigned to the authenticated user.\n\n> [!NOTE]\n> GitHub's REST API considers every pull request an issue, but not every issue is a pull request. For this reason, \"Issues\" endpoints may return both issues and pull requests in the response. You can identify pull requests by the `pull_request` key. Be aware that the `id` of a pull request returned from \"Issues\" endpoints will be an _issue id_. To find out the pull request id, use the \"[List pull requests](https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#list-pull-requests)\" endpoint.\n\nThis endpoint supports the following custom media types. For more information, see \"[Media types](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/getting-started-with-the-rest-api#media-types).\"\n\n- **`application/vnd.github.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass any specific media type.\n- **`application/vnd.github.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`.\n- **`application/vnd.github.html+json`**: Returns HTML rendered from the body's markdown. Response will include `body_html`.\n- **`application/vnd.github.full+json`**: Returns raw, text, and HTML representations. Response will include `body`, `body_text`, and `body_html`.", + "description": "List issues across owned and member repositories assigned to the authenticated user.\n\n> [!NOTE]\n> GitHub's REST API considers every pull request an issue, but not every issue is a pull request. For this reason, \"Issues\" endpoints may return both issues and pull requests in the response. You can identify pull requests by the `pull_request` key. Be aware that the `id` of a pull request returned from \"Issues\" endpoints will be an _issue id_. To find out the pull request id, use the \"[List pull requests](https://docs.github.com/enterprise-cloud@latest/rest/pulls/pulls#list-pull-requests)\" endpoint.\n\nThis endpoint supports the following custom media types. For more information, see \"[Media types](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types).\"\n\n- **`application/vnd.github.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass any specific media type.\n- **`application/vnd.github.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`.\n- **`application/vnd.github.html+json`**: Returns HTML rendered from the body's markdown. Response will include `body_html`.\n- **`application/vnd.github.full+json`**: Returns raw, text, and HTML representations. Response will include `body`, `body_text`, and `body_html`.", "tags": [ "issues" ], "operationId": "issues/list-for-authenticated-user", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#list-user-account-issues-assigned-to-the-authenticated-user" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#list-user-account-issues-assigned-to-the-authenticated-user" }, "parameters": [ { @@ -671758,7 +672689,7 @@ }, { "name": "per_page", - "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -671767,7 +672698,7 @@ }, { "name": "page", - "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -675064,12 +675995,12 @@ "operationId": "users/list-public-ssh-keys-for-authenticated-user", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/users/keys#list-public-ssh-keys-for-the-authenticated-user" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/users/keys#list-public-ssh-keys-for-the-authenticated-user" }, "parameters": [ { "name": "per_page", - "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -675078,7 +676009,7 @@ }, { "name": "page", - "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -675271,7 +676202,7 @@ ], "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/users/keys#create-a-public-ssh-key-for-the-authenticated-user" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/users/keys#create-a-public-ssh-key-for-the-authenticated-user" }, "parameters": [], "requestBody": { @@ -675541,7 +676472,7 @@ "operationId": "users/get-public-ssh-key-for-authenticated-user", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/users/keys#get-a-public-ssh-key-for-the-authenticated-user" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/users/keys#get-a-public-ssh-key-for-the-authenticated-user" }, "parameters": [ { @@ -675717,7 +676648,7 @@ "operationId": "users/delete-public-ssh-key-for-authenticated-user", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/users/keys#delete-a-public-ssh-key-for-the-authenticated-user" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/users/keys#delete-a-public-ssh-key-for-the-authenticated-user" }, "parameters": [ { @@ -675834,12 +676765,12 @@ "operationId": "apps/list-subscriptions-for-authenticated-user", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/apps/marketplace#list-subscriptions-for-the-authenticated-user" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/apps/marketplace#list-subscriptions-for-the-authenticated-user" }, "parameters": [ { "name": "per_page", - "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -675848,7 +676779,7 @@ }, { "name": "page", - "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -676162,12 +677093,12 @@ "operationId": "apps/list-subscriptions-for-authenticated-user-stubbed", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/apps/marketplace#list-subscriptions-for-the-authenticated-user-stubbed" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/apps/marketplace#list-subscriptions-for-the-authenticated-user-stubbed" }, "parameters": [ { "name": "per_page", - "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -676176,7 +677107,7 @@ }, { "name": "page", - "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -676464,7 +677395,7 @@ "operationId": "orgs/list-memberships-for-authenticated-user", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#list-organization-memberships-for-the-authenticated-user" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/orgs/members#list-organization-memberships-for-the-authenticated-user" }, "parameters": [ { @@ -676482,7 +677413,7 @@ }, { "name": "per_page", - "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -676491,7 +677422,7 @@ }, { "name": "page", - "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -677024,7 +677955,7 @@ "operationId": "orgs/get-membership-for-authenticated-user", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#get-an-organization-membership-for-the-authenticated-user" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/orgs/members#get-an-organization-membership-for-the-authenticated-user" }, "parameters": [ { @@ -677433,7 +678364,7 @@ "operationId": "orgs/update-membership-for-authenticated-user", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#update-an-organization-membership-for-the-authenticated-user" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/orgs/members#update-an-organization-membership-for-the-authenticated-user" }, "parameters": [ { @@ -677942,12 +678873,12 @@ "operationId": "migrations/list-for-authenticated-user", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#list-user-migrations" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/migrations/users#list-user-migrations" }, "parameters": [ { "name": "per_page", - "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -677956,7 +678887,7 @@ }, { "name": "page", - "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -679182,7 +680113,7 @@ "operationId": "migrations/start-for-authenticated-user", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#start-a-user-migration" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/migrations/users#start-a-user-migration" }, "parameters": [], "requestBody": { @@ -680545,14 +681476,14 @@ "/user/migrations/{migration_id}": { "get": { "summary": "Get a user migration status", - "description": "Fetches a single user migration. The response includes the `state` of the migration, which can be one of the following values:\n\n* `pending` - the migration hasn't started yet.\n* `exporting` - the migration is in progress.\n* `exported` - the migration finished successfully.\n* `failed` - the migration failed.\n\nOnce the migration has been `exported` you can [download the migration archive](https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#download-a-user-migration-archive).", + "description": "Fetches a single user migration. The response includes the `state` of the migration, which can be one of the following values:\n\n* `pending` - the migration hasn't started yet.\n* `exporting` - the migration is in progress.\n* `exported` - the migration finished successfully.\n* `failed` - the migration failed.\n\nOnce the migration has been `exported` you can [download the migration archive](https://docs.github.com/enterprise-cloud@latest/rest/migrations/users#download-a-user-migration-archive).", "tags": [ "migrations" ], "operationId": "migrations/get-status-for-authenticated-user", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#get-a-user-migration-status" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/migrations/users#get-a-user-migration-status" }, "parameters": [ { @@ -681810,7 +682741,7 @@ "operationId": "migrations/get-archive-for-authenticated-user", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#download-a-user-migration-archive" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/migrations/users#download-a-user-migration-archive" }, "parameters": [ { @@ -681892,14 +682823,14 @@ }, "delete": { "summary": "Delete a user migration archive", - "description": "Deletes a previous migration archive. Downloadable migration archives are automatically deleted after seven days. Migration metadata, which is returned in the [List user migrations](https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#list-user-migrations) and [Get a user migration status](https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#get-a-user-migration-status) endpoints, will continue to be available even after an archive is deleted.", + "description": "Deletes a previous migration archive. Downloadable migration archives are automatically deleted after seven days. Migration metadata, which is returned in the [List user migrations](https://docs.github.com/enterprise-cloud@latest/rest/migrations/users#list-user-migrations) and [Get a user migration status](https://docs.github.com/enterprise-cloud@latest/rest/migrations/users#get-a-user-migration-status) endpoints, will continue to be available even after an archive is deleted.", "tags": [ "migrations" ], "operationId": "migrations/delete-archive-for-authenticated-user", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#delete-a-user-migration-archive" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/migrations/users#delete-a-user-migration-archive" }, "parameters": [ { @@ -682009,14 +682940,14 @@ "/user/migrations/{migration_id}/repos/{repo_name}/lock": { "delete": { "summary": "Unlock a user repository", - "description": "Unlocks a repository. You can lock repositories when you [start a user migration](https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#start-a-user-migration). Once the migration is complete you can unlock each repository to begin using it again or [delete the repository](https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#delete-a-repository) if you no longer need the source data. Returns a status of `404 Not Found` if the repository is not locked.", + "description": "Unlocks a repository. You can lock repositories when you [start a user migration](https://docs.github.com/enterprise-cloud@latest/rest/migrations/users#start-a-user-migration). Once the migration is complete you can unlock each repository to begin using it again or [delete the repository](https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#delete-a-repository) if you no longer need the source data. Returns a status of `404 Not Found` if the repository is not locked.", "tags": [ "migrations" ], "operationId": "migrations/unlock-repo-for-authenticated-user", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#unlock-a-user-repository" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/migrations/users#unlock-a-user-repository" }, "parameters": [ { @@ -682142,7 +683073,7 @@ "operationId": "migrations/list-repos-for-authenticated-user", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#list-repositories-for-a-user-migration" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/migrations/users#list-repositories-for-a-user-migration" }, "parameters": [ { @@ -682156,7 +683087,7 @@ }, { "name": "per_page", - "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -682165,7 +683096,7 @@ }, { "name": "page", - "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -683131,12 +684062,12 @@ "operationId": "orgs/list-for-authenticated-user", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#list-organizations-for-the-authenticated-user" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/orgs/orgs#list-organizations-for-the-authenticated-user" }, "parameters": [ { "name": "per_page", - "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -683145,7 +684076,7 @@ }, { "name": "page", - "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -683332,14 +684263,14 @@ "/user/packages": { "get": { "summary": "List packages for the authenticated user's namespace", - "description": "Lists packages owned by the authenticated user within the user's namespace.\n\nOAuth app tokens and personal access tokens (classic) need the `read:packages` scope to use this endpoint. For more information, see \"[About permissions for GitHub Packages](https://docs.github.com/enterprise-cloud@latest//packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages).\"", + "description": "Lists packages owned by the authenticated user within the user's namespace.\n\nOAuth app tokens and personal access tokens (classic) need the `read:packages` scope to use this endpoint. For more information, see \"[About permissions for GitHub Packages](https://docs.github.com/enterprise-cloud@latest/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages).\"", "tags": [ "packages" ], "operationId": "packages/list-packages-for-authenticated-user", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#list-packages-for-the-authenticated-users-namespace" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/packages/packages#list-packages-for-the-authenticated-users-namespace" }, "parameters": [ { @@ -683361,7 +684292,7 @@ }, { "name": "visibility", - "description": "The selected visibility of the packages. This parameter is optional and only filters an existing result set.\n\nThe `internal` visibility is only supported for GitHub Packages registries that allow for granular permissions. For other ecosystems `internal` is synonymous with `private`.\nFor the list of GitHub Packages registries that support granular permissions, see \"[About permissions for GitHub Packages](https://docs.github.com/enterprise-cloud@latest//packages/learn-github-packages/about-permissions-for-github-packages#granular-permissions-for-userorganization-scoped-packages).\"", + "description": "The selected visibility of the packages. This parameter is optional and only filters an existing result set.\n\nThe `internal` visibility is only supported for GitHub Packages registries that allow for granular permissions. For other ecosystems `internal` is synonymous with `private`.\nFor the list of GitHub Packages registries that support granular permissions, see \"[About permissions for GitHub Packages](https://docs.github.com/enterprise-cloud@latest/packages/learn-github-packages/about-permissions-for-github-packages#granular-permissions-for-userorganization-scoped-packages).\"", "in": "query", "required": false, "schema": { @@ -683375,7 +684306,7 @@ }, { "name": "page", - "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -683384,7 +684315,7 @@ }, { "name": "per_page", - "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -684448,14 +685379,14 @@ "/user/packages/{package_type}/{package_name}": { "get": { "summary": "Get a package for the authenticated user", - "description": "Gets a specific package for a package owned by the authenticated user.\n\nOAuth app tokens and personal access tokens (classic) need the `read:packages` scope to use this endpoint. For more information, see \"[About permissions for GitHub Packages](https://docs.github.com/enterprise-cloud@latest//packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages).\"", + "description": "Gets a specific package for a package owned by the authenticated user.\n\nOAuth app tokens and personal access tokens (classic) need the `read:packages` scope to use this endpoint. For more information, see \"[About permissions for GitHub Packages](https://docs.github.com/enterprise-cloud@latest/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages).\"", "tags": [ "packages" ], "operationId": "packages/get-package-for-authenticated-user", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#get-a-package-for-the-authenticated-user" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/packages/packages#get-a-package-for-the-authenticated-user" }, "parameters": [ { @@ -685567,14 +686498,14 @@ }, "delete": { "summary": "Delete a package for the authenticated user", - "description": "Deletes a package owned by the authenticated user. You cannot delete a public package if any version of the package has more than 5,000 downloads. In this scenario, contact GitHub support for further assistance.\n\nOAuth app tokens and personal access tokens (classic) need the `read:packages` and `delete:packages` scopes to use this endpoint. For more information, see \"[About permissions for GitHub Packages](https://docs.github.com/enterprise-cloud@latest//packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages).\"", + "description": "Deletes a package owned by the authenticated user. You cannot delete a public package if any version of the package has more than 5,000 downloads. In this scenario, contact GitHub support for further assistance.\n\nOAuth app tokens and personal access tokens (classic) need the `read:packages` and `delete:packages` scopes to use this endpoint. For more information, see \"[About permissions for GitHub Packages](https://docs.github.com/enterprise-cloud@latest/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages).\"", "tags": [ "packages" ], "operationId": "packages/delete-package-for-authenticated-user", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#delete-a-package-for-the-authenticated-user" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/packages/packages#delete-a-package-for-the-authenticated-user" }, "parameters": [ { @@ -685698,14 +686629,14 @@ "/user/packages/{package_type}/{package_name}/restore": { "post": { "summary": "Restore a package for the authenticated user", - "description": "Restores a package owned by the authenticated user.\n\nYou can restore a deleted package under the following conditions:\n - The package was deleted within the last 30 days.\n - The same package namespace and version is still available and not reused for a new package. If the same package namespace is not available, you will not be able to restore your package. In this scenario, to restore the deleted package, you must delete the new package that uses the deleted package's namespace first.\n\nOAuth app tokens and personal access tokens (classic) need the `read:packages` and `write:packages` scopes to use this endpoint. For more information, see \"[About permissions for GitHub Packages](https://docs.github.com/enterprise-cloud@latest//packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages).\"", + "description": "Restores a package owned by the authenticated user.\n\nYou can restore a deleted package under the following conditions:\n - The package was deleted within the last 30 days.\n - The same package namespace and version is still available and not reused for a new package. If the same package namespace is not available, you will not be able to restore your package. In this scenario, to restore the deleted package, you must delete the new package that uses the deleted package's namespace first.\n\nOAuth app tokens and personal access tokens (classic) need the `read:packages` and `write:packages` scopes to use this endpoint. For more information, see \"[About permissions for GitHub Packages](https://docs.github.com/enterprise-cloud@latest/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages).\"", "tags": [ "packages" ], "operationId": "packages/restore-package-for-authenticated-user", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#restore-a-package-for-the-authenticated-user" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/packages/packages#restore-a-package-for-the-authenticated-user" }, "parameters": [ { @@ -685838,14 +686769,14 @@ "/user/packages/{package_type}/{package_name}/versions": { "get": { "summary": "List package versions for a package owned by the authenticated user", - "description": "Lists package versions for a package owned by the authenticated user.\n\nOAuth app tokens and personal access tokens (classic) need the `read:packages` scope to use this endpoint. For more information, see \"[About permissions for GitHub Packages](https://docs.github.com/enterprise-cloud@latest//packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages).\"", + "description": "Lists package versions for a package owned by the authenticated user.\n\nOAuth app tokens and personal access tokens (classic) need the `read:packages` scope to use this endpoint. For more information, see \"[About permissions for GitHub Packages](https://docs.github.com/enterprise-cloud@latest/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages).\"", "tags": [ "packages" ], "operationId": "packages/get-all-package-versions-for-package-owned-by-authenticated-user", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#list-package-versions-for-a-package-owned-by-the-authenticated-user" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/packages/packages#list-package-versions-for-a-package-owned-by-the-authenticated-user" }, "parameters": [ { @@ -685876,7 +686807,7 @@ }, { "name": "page", - "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -685885,7 +686816,7 @@ }, { "name": "per_page", - "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -686156,14 +687087,14 @@ "/user/packages/{package_type}/{package_name}/versions/{package_version_id}": { "get": { "summary": "Get a package version for the authenticated user", - "description": "Gets a specific package version for a package owned by the authenticated user.\n\nOAuth app tokens and personal access tokens (classic) need the `read:packages` scope to use this endpoint. For more information, see \"[About permissions for GitHub Packages](https://docs.github.com/enterprise-cloud@latest//packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages).\"", + "description": "Gets a specific package version for a package owned by the authenticated user.\n\nOAuth app tokens and personal access tokens (classic) need the `read:packages` scope to use this endpoint. For more information, see \"[About permissions for GitHub Packages](https://docs.github.com/enterprise-cloud@latest/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages).\"", "tags": [ "packages" ], "operationId": "packages/get-package-version-for-authenticated-user", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#get-a-package-version-for-the-authenticated-user" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/packages/packages#get-a-package-version-for-the-authenticated-user" }, "parameters": [ { @@ -686351,14 +687282,14 @@ }, "delete": { "summary": "Delete a package version for the authenticated user", - "description": "Deletes a specific package version for a package owned by the authenticated user. If the package is public and the package version has more than 5,000 downloads, you cannot delete the package version. In this scenario, contact GitHub support for further assistance.\n\nThe authenticated user must have admin permissions in the organization to use this endpoint.\n\nOAuth app tokens and personal access tokens (classic) need the `read:packages` and `delete:packages` scopes to use this endpoint. For more information, see \"[About permissions for GitHub Packages](https://docs.github.com/enterprise-cloud@latest//packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages).\"", + "description": "Deletes a specific package version for a package owned by the authenticated user. If the package is public and the package version has more than 5,000 downloads, you cannot delete the package version. In this scenario, contact GitHub support for further assistance.\n\nThe authenticated user must have admin permissions in the organization to use this endpoint.\n\nOAuth app tokens and personal access tokens (classic) need the `read:packages` and `delete:packages` scopes to use this endpoint. For more information, see \"[About permissions for GitHub Packages](https://docs.github.com/enterprise-cloud@latest/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages).\"", "tags": [ "packages" ], "operationId": "packages/delete-package-version-for-authenticated-user", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#delete-a-package-version-for-the-authenticated-user" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/packages/packages#delete-a-package-version-for-the-authenticated-user" }, "parameters": [ { @@ -686491,14 +687422,14 @@ "/user/packages/{package_type}/{package_name}/versions/{package_version_id}/restore": { "post": { "summary": "Restore a package version for the authenticated user", - "description": "Restores a package version owned by the authenticated user.\n\nYou can restore a deleted package version under the following conditions:\n - The package was deleted within the last 30 days.\n - The same package namespace and version is still available and not reused for a new package. If the same package namespace is not available, you will not be able to restore your package. In this scenario, to restore the deleted package, you must delete the new package that uses the deleted package's namespace first.\n\nOAuth app tokens and personal access tokens (classic) need the `read:packages` and `write:packages` scopes to use this endpoint. For more information, see \"[About permissions for GitHub Packages](https://docs.github.com/enterprise-cloud@latest//packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages).\"", + "description": "Restores a package version owned by the authenticated user.\n\nYou can restore a deleted package version under the following conditions:\n - The package was deleted within the last 30 days.\n - The same package namespace and version is still available and not reused for a new package. If the same package namespace is not available, you will not be able to restore your package. In this scenario, to restore the deleted package, you must delete the new package that uses the deleted package's namespace first.\n\nOAuth app tokens and personal access tokens (classic) need the `read:packages` and `write:packages` scopes to use this endpoint. For more information, see \"[About permissions for GitHub Packages](https://docs.github.com/enterprise-cloud@latest/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages).\"", "tags": [ "packages" ], "operationId": "packages/restore-package-version-for-authenticated-user", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#restore-a-package-version-for-the-authenticated-user" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/packages/packages#restore-a-package-version-for-the-authenticated-user" }, "parameters": [ { @@ -686631,19 +687562,19 @@ "/user/public_emails": { "get": { "summary": "List public email addresses for the authenticated user", - "description": "Lists your publicly visible email address, which you can set with the\n[Set primary email visibility for the authenticated user](https://docs.github.com/enterprise-cloud@latest//rest/users/emails#set-primary-email-visibility-for-the-authenticated-user)\nendpoint.\n\nOAuth app tokens and personal access tokens (classic) need the `user:email` scope to use this endpoint.", + "description": "Lists your publicly visible email address, which you can set with the\n[Set primary email visibility for the authenticated user](https://docs.github.com/enterprise-cloud@latest/rest/users/emails#set-primary-email-visibility-for-the-authenticated-user)\nendpoint.\n\nOAuth app tokens and personal access tokens (classic) need the `user:email` scope to use this endpoint.", "tags": [ "users" ], "operationId": "users/list-public-emails-for-authenticated-user", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/users/emails#list-public-email-addresses-for-the-authenticated-user" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/users/emails#list-public-email-addresses-for-the-authenticated-user" }, "parameters": [ { "name": "per_page", - "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -686652,7 +687583,7 @@ }, { "name": "page", - "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -686822,7 +687753,7 @@ "operationId": "repos/list-for-authenticated-user", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repositories-for-the-authenticated-user" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#list-repositories-for-the-authenticated-user" }, "parameters": [ { @@ -686898,7 +687829,7 @@ }, { "name": "per_page", - "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -686907,7 +687838,7 @@ }, { "name": "page", - "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -687969,7 +688900,7 @@ "operationId": "repos/create-for-authenticated-user", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#create-a-repository-for-the-authenticated-user" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#create-a-repository-for-the-authenticated-user" }, "parameters": [], "requestBody": { @@ -692167,12 +693098,12 @@ "operationId": "repos/list-invitations-for-authenticated-user", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#list-repository-invitations-for-the-authenticated-user" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/collaborators/invitations#list-repository-invitations-for-the-authenticated-user" }, "parameters": [ { "name": "per_page", - "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -692181,7 +693112,7 @@ }, { "name": "page", - "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -693505,7 +694436,7 @@ "operationId": "repos/accept-invitation-for-authenticated-user", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#accept-a-repository-invitation" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/collaborators/invitations#accept-a-repository-invitation" }, "parameters": [ { @@ -693620,7 +694551,7 @@ "operationId": "repos/decline-invitation-for-authenticated-user", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#decline-a-repository-invitation" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/collaborators/invitations#decline-a-repository-invitation" }, "parameters": [ { @@ -693737,12 +694668,12 @@ "operationId": "users/list-social-accounts-for-authenticated-user", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/users/social-accounts#list-social-accounts-for-the-authenticated-user" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/users/social-accounts#list-social-accounts-for-the-authenticated-user" }, "parameters": [ { "name": "per_page", - "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -693751,7 +694682,7 @@ }, { "name": "page", - "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -693905,7 +694836,7 @@ "operationId": "users/add-social-account-for-authenticated-user", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/users/social-accounts#add-social-accounts-for-the-authenticated-user" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/users/social-accounts#add-social-accounts-for-the-authenticated-user" }, "parameters": [], "requestBody": { @@ -694156,7 +695087,7 @@ "operationId": "users/delete-social-account-for-authenticated-user", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/users/social-accounts#delete-social-accounts-for-the-authenticated-user" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/users/social-accounts#delete-social-accounts-for-the-authenticated-user" }, "parameters": [], "requestBody": { @@ -694373,12 +695304,12 @@ "operationId": "users/list-ssh-signing-keys-for-authenticated-user", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/users/ssh-signing-keys#list-ssh-signing-keys-for-the-authenticated-user" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/users/ssh-signing-keys#list-ssh-signing-keys-for-the-authenticated-user" }, "parameters": [ { "name": "per_page", - "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -694387,7 +695318,7 @@ }, { "name": "page", - "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -694557,7 +695488,7 @@ ], "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/users/ssh-signing-keys#create-a-ssh-signing-key-for-the-authenticated-user" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/users/ssh-signing-keys#create-a-ssh-signing-key-for-the-authenticated-user" }, "parameters": [], "requestBody": { @@ -694572,7 +695503,7 @@ "example": "Personal MacBook Air" }, "key": { - "description": "The public SSH key to add to your GitHub account. For more information, see \"[Checking for existing SSH keys](https://docs.github.com/enterprise-cloud@latest//authentication/connecting-to-github-with-ssh/checking-for-existing-ssh-keys).\"", + "description": "The public SSH key to add to your GitHub account. For more information, see \"[Checking for existing SSH keys](https://docs.github.com/enterprise-cloud@latest/authentication/connecting-to-github-with-ssh/checking-for-existing-ssh-keys).\"", "type": "string", "pattern": "^ssh-(rsa|dss|ed25519) |^ecdsa-sha2-nistp(256|384|521) |^(sk-ssh-ed25519|sk-ecdsa-sha2-nistp256)@openssh.com " } @@ -694806,7 +695737,7 @@ "operationId": "users/get-ssh-signing-key-for-authenticated-user", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/users/ssh-signing-keys#get-an-ssh-signing-key-for-the-authenticated-user" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/users/ssh-signing-keys#get-an-ssh-signing-key-for-the-authenticated-user" }, "parameters": [ { @@ -694961,7 +695892,7 @@ "operationId": "users/delete-ssh-signing-key-for-authenticated-user", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/users/ssh-signing-keys#delete-an-ssh-signing-key-for-the-authenticated-user" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/users/ssh-signing-keys#delete-an-ssh-signing-key-for-the-authenticated-user" }, "parameters": [ { @@ -695071,14 +696002,14 @@ "/user/starred": { "get": { "summary": "List repositories starred by the authenticated user", - "description": "Lists repositories the authenticated user has starred.\n\nThis endpoint supports the following custom media types. For more information, see \"[Media types](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/getting-started-with-the-rest-api#media-types).\"\n\n- **`application/vnd.github.star+json`**: Includes a timestamp of when the star was created.", + "description": "Lists repositories the authenticated user has starred.\n\nThis endpoint supports the following custom media types. For more information, see \"[Media types](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types).\"\n\n- **`application/vnd.github.star+json`**: Includes a timestamp of when the star was created.", "tags": [ "activity" ], "operationId": "activity/list-repos-starred-by-authenticated-user", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/activity/starring#list-repositories-starred-by-the-authenticated-user" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/activity/starring#list-repositories-starred-by-the-authenticated-user" }, "parameters": [ { @@ -695111,7 +696042,7 @@ }, { "name": "per_page", - "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -695120,7 +696051,7 @@ }, { "name": "page", - "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -696992,7 +697923,7 @@ "operationId": "activity/check-repo-is-starred-by-authenticated-user", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/activity/starring#check-if-a-repository-is-starred-by-the-authenticated-user" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/activity/starring#check-if-a-repository-is-starred-by-the-authenticated-user" }, "parameters": [ { @@ -697109,14 +698040,14 @@ }, "put": { "summary": "Star a repository for the authenticated user", - "description": "Note that you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP method](https://docs.github.com/enterprise-cloud@latest//rest/guides/getting-started-with-the-rest-api#http-method).\"", + "description": "Note that you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP method](https://docs.github.com/enterprise-cloud@latest/rest/guides/getting-started-with-the-rest-api#http-method).\"", "tags": [ "activity" ], "operationId": "activity/star-repo-for-authenticated-user", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/activity/starring#star-a-repository-for-the-authenticated-user" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/activity/starring#star-a-repository-for-the-authenticated-user" }, "parameters": [ { @@ -697240,7 +698171,7 @@ "operationId": "activity/unstar-repo-for-authenticated-user", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/activity/starring#unstar-a-repository-for-the-authenticated-user" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/activity/starring#unstar-a-repository-for-the-authenticated-user" }, "parameters": [ { @@ -697366,12 +698297,12 @@ "operationId": "activity/list-watched-repos-for-authenticated-user", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#list-repositories-watched-by-the-authenticated-user" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/activity/watching#list-repositories-watched-by-the-authenticated-user" }, "parameters": [ { "name": "per_page", - "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -697380,7 +698311,7 @@ }, { "name": "page", - "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -698375,12 +699306,12 @@ "operationId": "teams/list-for-authenticated-user", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-teams-for-the-authenticated-user" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/teams/teams#list-teams-for-the-authenticated-user" }, "parameters": [ { "name": "per_page", - "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -698389,7 +699320,7 @@ }, { "name": "page", - "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -699040,14 +699971,14 @@ "/user/{account_id}": { "get": { "summary": "Get a user using their ID", - "description": "Provides publicly available information about someone with a GitHub account. This method takes their durable user `ID` instead of their `login`, which can change over time.\n\nIf you are requesting information about an [Enterprise Managed User](https://docs.github.com/enterprise-cloud@latest//enterprise-cloud@latest/admin/managing-iam/understanding-iam-for-enterprises/about-enterprise-managed-users), or a GitHub App bot that is installed in an organization that uses Enterprise Managed Users, your requests must be authenticated as a user or GitHub App that has access to the organization to view that account's information. If you are not authorized, the request will return a `404 Not Found` status.\n\nThe `email` key in the following response is the publicly visible email address from your GitHub Enterprise Cloud [profile page](https://github.com/settings/profile). When setting up your profile, you can select a primary email address to be public which provides an email entry for this endpoint. If you do not set a public email address for `email`, then it will have a value of `null`. You only see publicly visible email addresses when authenticated with GitHub Enterprise Cloud. For more information, see [Authentication](https://docs.github.com/enterprise-cloud@latest//rest/guides/getting-started-with-the-rest-api#authentication).\n\nThe Emails API enables you to list all of your email addresses, and toggle a primary email to be visible publicly. For more information, see [Emails API](https://docs.github.com/enterprise-cloud@latest//rest/users/emails).", + "description": "Provides publicly available information about someone with a GitHub account. This method takes their durable user `ID` instead of their `login`, which can change over time.\n\nIf you are requesting information about an [Enterprise Managed User](https://docs.github.com/enterprise-cloud@latest/enterprise-cloud@latest/admin/managing-iam/understanding-iam-for-enterprises/about-enterprise-managed-users), or a GitHub App bot that is installed in an organization that uses Enterprise Managed Users, your requests must be authenticated as a user or GitHub App that has access to the organization to view that account's information. If you are not authorized, the request will return a `404 Not Found` status.\n\nThe `email` key in the following response is the publicly visible email address from your GitHub Enterprise Cloud [profile page](https://github.com/settings/profile). When setting up your profile, you can select a primary email address to be public which provides an email entry for this endpoint. If you do not set a public email address for `email`, then it will have a value of `null`. You only see publicly visible email addresses when authenticated with GitHub Enterprise Cloud. For more information, see [Authentication](https://docs.github.com/enterprise-cloud@latest/rest/guides/getting-started-with-the-rest-api#authentication).\n\nThe Emails API enables you to list all of your email addresses, and toggle a primary email to be visible publicly. For more information, see [Emails API](https://docs.github.com/enterprise-cloud@latest/rest/users/emails).", "tags": [ "users" ], "operationId": "users/get-by-id", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/users/users#get-a-user-using-their-id" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/users/users#get-a-user-using-their-id" }, "parameters": [ { @@ -699663,7 +700594,7 @@ "operationId": "projects/create-draft-item-for-authenticated-user", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/projects/drafts#create-draft-item-for-user-owned-project" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/projects/drafts#create-draft-item-for-user-owned-project" }, "parameters": [ { @@ -706385,14 +707316,14 @@ "/users": { "get": { "summary": "List users", - "description": "Lists all users, in the order that they signed up on GitHub Enterprise Cloud. This list includes personal user accounts and organization accounts.\n\nNote: Pagination is powered exclusively by the `since` parameter. Use the [Link header](https://docs.github.com/enterprise-cloud@latest//rest/guides/using-pagination-in-the-rest-api#using-link-headers) to get the URL for the next page of users.", + "description": "Lists all users, in the order that they signed up on GitHub Enterprise Cloud. This list includes personal user accounts and organization accounts.\n\nNote: Pagination is powered exclusively by the `since` parameter. Use the [Link header](https://docs.github.com/enterprise-cloud@latest/rest/guides/using-pagination-in-the-rest-api#using-link-headers) to get the URL for the next page of users.", "tags": [ "users" ], "operationId": "users/list", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/users/users#list-users" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/users/users#list-users" }, "parameters": [ { @@ -706406,7 +707337,7 @@ }, { "name": "per_page", - "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -706605,7 +707536,7 @@ "operationId": "projects/create-view-for-user", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/projects/views#create-a-view-for-a-user-owned-project" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/projects/views#create-a-view-for-a-user-owned-project" }, "parameters": [ { @@ -706651,7 +707582,7 @@ }, "filter": { "type": "string", - "description": "The filter query for the view. See [Filtering projects](https://docs.github.com/enterprise-cloud@latest//issues/planning-and-tracking-with-projects/customizing-views-in-your-project/filtering-projects) for more information.", + "description": "The filter query for the view. See [Filtering projects](https://docs.github.com/enterprise-cloud@latest/issues/planning-and-tracking-with-projects/customizing-views-in-your-project/filtering-projects) for more information.", "example": "is:issue is:open" }, "visible_fields": { @@ -707328,14 +708259,14 @@ "/users/{username}": { "get": { "summary": "Get a user", - "description": "Provides publicly available information about someone with a GitHub account.\n\nIf you are requesting information about an [Enterprise Managed User](https://docs.github.com/enterprise-cloud@latest//enterprise-cloud@latest/admin/managing-iam/understanding-iam-for-enterprises/about-enterprise-managed-users), or a GitHub App bot that is installed in an organization that uses Enterprise Managed Users, your requests must be authenticated as a user or GitHub App that has access to the organization to view that account's information. If you are not authorized, the request will return a `404 Not Found` status.\n\nThe `email` key in the following response is the publicly visible email address from your GitHub Enterprise Cloud [profile page](https://github.com/settings/profile). When setting up your profile, you can select a primary email address to be public which provides an email entry for this endpoint. If you do not set a public email address for `email`, then it will have a value of `null`. You only see publicly visible email addresses when authenticated with GitHub Enterprise Cloud. For more information, see [Authentication](https://docs.github.com/enterprise-cloud@latest//rest/guides/getting-started-with-the-rest-api#authentication).\n\nThe Emails API enables you to list all of your email addresses, and toggle a primary email to be visible publicly. For more information, see [Emails API](https://docs.github.com/enterprise-cloud@latest//rest/users/emails).", + "description": "Provides publicly available information about someone with a GitHub account.\n\nIf you are requesting information about an [Enterprise Managed User](https://docs.github.com/enterprise-cloud@latest/enterprise-cloud@latest/admin/managing-iam/understanding-iam-for-enterprises/about-enterprise-managed-users), or a GitHub App bot that is installed in an organization that uses Enterprise Managed Users, your requests must be authenticated as a user or GitHub App that has access to the organization to view that account's information. If you are not authorized, the request will return a `404 Not Found` status.\n\nThe `email` key in the following response is the publicly visible email address from your GitHub Enterprise Cloud [profile page](https://github.com/settings/profile). When setting up your profile, you can select a primary email address to be public which provides an email entry for this endpoint. If you do not set a public email address for `email`, then it will have a value of `null`. You only see publicly visible email addresses when authenticated with GitHub Enterprise Cloud. For more information, see [Authentication](https://docs.github.com/enterprise-cloud@latest/rest/guides/getting-started-with-the-rest-api#authentication).\n\nThe Emails API enables you to list all of your email addresses, and toggle a primary email to be visible publicly. For more information, see [Emails API](https://docs.github.com/enterprise-cloud@latest/rest/users/emails).", "tags": [ "users" ], "operationId": "users/get-by-username", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/users/users#get-a-user" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/users/users#get-a-user" }, "parameters": [ { @@ -707944,19 +708875,19 @@ "/users/{username}/attestations/bulk-list": { "post": { "summary": "List attestations by bulk subject digests", - "description": "List a collection of artifact attestations associated with any entry in a list of subject digests owned by a user.\n\nThe collection of attestations returned by this endpoint is filtered according to the authenticated user's permissions; if the authenticated user cannot read a repository, the attestations associated with that repository will not be included in the response. In addition, when using a fine-grained access token the `attestations:read` permission is required.\n\n**Please note:** in order to offer meaningful security benefits, an attestation's signature and timestamps **must** be cryptographically verified, and the identity of the attestation signer **must** be validated. Attestations can be verified using the [GitHub CLI `attestation verify` command](https://cli.github.com/manual/gh_attestation_verify). For more information, see [our guide on how to use artifact attestations to establish a build's provenance](https://docs.github.com/enterprise-cloud@latest//actions/security-guides/using-artifact-attestations-to-establish-provenance-for-builds).", + "description": "List a collection of artifact attestations associated with any entry in a list of subject digests owned by a user.\n\nThe collection of attestations returned by this endpoint is filtered according to the authenticated user's permissions; if the authenticated user cannot read a repository, the attestations associated with that repository will not be included in the response. In addition, when using a fine-grained access token the `attestations:read` permission is required.\n\n**Please note:** in order to offer meaningful security benefits, an attestation's signature and timestamps **must** be cryptographically verified, and the identity of the attestation signer **must** be validated. Attestations can be verified using the [GitHub CLI `attestation verify` command](https://cli.github.com/manual/gh_attestation_verify). For more information, see [our guide on how to use artifact attestations to establish a build's provenance](https://docs.github.com/enterprise-cloud@latest/actions/security-guides/using-artifact-attestations-to-establish-provenance-for-builds).", "tags": [ "users" ], "operationId": "users/list-attestations-bulk", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/users/attestations#list-attestations-by-bulk-subject-digests" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/users/attestations#list-attestations-by-bulk-subject-digests" }, "parameters": [ { "name": "per_page", - "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -707965,7 +708896,7 @@ }, { "name": "before", - "description": "A cursor, as given in the [Link header](https://docs.github.com/enterprise-cloud@latest//rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for results before this cursor. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "A cursor, as given in the [Link header](https://docs.github.com/enterprise-cloud@latest/rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for results before this cursor. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "required": false, "schema": { @@ -707974,7 +708905,7 @@ }, { "name": "after", - "description": "A cursor, as given in the [Link header](https://docs.github.com/enterprise-cloud@latest//rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for results after this cursor. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "A cursor, as given in the [Link header](https://docs.github.com/enterprise-cloud@latest/rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for results after this cursor. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "required": false, "schema": { @@ -708264,7 +709195,7 @@ "operationId": "users/delete-attestations-bulk", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/users/attestations#delete-attestations-in-bulk" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/users/attestations#delete-attestations-in-bulk" }, "parameters": [ { @@ -708391,7 +709322,7 @@ "operationId": "users/delete-attestations-by-subject-digest", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/users/attestations#delete-attestations-by-subject-digest" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/users/attestations#delete-attestations-by-subject-digest" }, "parameters": [ { @@ -708466,7 +709397,7 @@ "operationId": "users/delete-attestations-by-id", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/users/attestations#delete-attestations-by-id" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/users/attestations#delete-attestations-by-id" }, "parameters": [ { @@ -708559,19 +709490,19 @@ "/users/{username}/attestations/{subject_digest}": { "get": { "summary": "List attestations", - "description": "List a collection of artifact attestations with a given subject digest that are associated with repositories owned by a user.\n\nThe collection of attestations returned by this endpoint is filtered according to the authenticated user's permissions; if the authenticated user cannot read a repository, the attestations associated with that repository will not be included in the response. In addition, when using a fine-grained access token the `attestations:read` permission is required.\n\n**Please note:** in order to offer meaningful security benefits, an attestation's signature and timestamps **must** be cryptographically verified, and the identity of the attestation signer **must** be validated. Attestations can be verified using the [GitHub CLI `attestation verify` command](https://cli.github.com/manual/gh_attestation_verify). For more information, see [our guide on how to use artifact attestations to establish a build's provenance](https://docs.github.com/enterprise-cloud@latest//actions/security-guides/using-artifact-attestations-to-establish-provenance-for-builds).", + "description": "List a collection of artifact attestations with a given subject digest that are associated with repositories owned by a user.\n\nThe collection of attestations returned by this endpoint is filtered according to the authenticated user's permissions; if the authenticated user cannot read a repository, the attestations associated with that repository will not be included in the response. In addition, when using a fine-grained access token the `attestations:read` permission is required.\n\n**Please note:** in order to offer meaningful security benefits, an attestation's signature and timestamps **must** be cryptographically verified, and the identity of the attestation signer **must** be validated. Attestations can be verified using the [GitHub CLI `attestation verify` command](https://cli.github.com/manual/gh_attestation_verify). For more information, see [our guide on how to use artifact attestations to establish a build's provenance](https://docs.github.com/enterprise-cloud@latest/actions/security-guides/using-artifact-attestations-to-establish-provenance-for-builds).", "tags": [ "users" ], "operationId": "users/list-attestations", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/users/attestations#list-attestations" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/users/attestations#list-attestations" }, "parameters": [ { "name": "per_page", - "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -708580,7 +709511,7 @@ }, { "name": "before", - "description": "A cursor, as given in the [Link header](https://docs.github.com/enterprise-cloud@latest//rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for results before this cursor. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "A cursor, as given in the [Link header](https://docs.github.com/enterprise-cloud@latest/rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for results before this cursor. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "required": false, "schema": { @@ -708589,7 +709520,7 @@ }, { "name": "after", - "description": "A cursor, as given in the [Link header](https://docs.github.com/enterprise-cloud@latest//rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for results after this cursor. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "A cursor, as given in the [Link header](https://docs.github.com/enterprise-cloud@latest/rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for results after this cursor. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "required": false, "schema": { @@ -708871,7 +709802,7 @@ "operationId": "packages/list-docker-migration-conflicting-packages-for-user", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#get-list-of-conflicting-packages-during-docker-migration-for-user" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/packages/packages#get-list-of-conflicting-packages-during-docker-migration-for-user" }, "parameters": [ { @@ -709996,7 +710927,7 @@ "operationId": "activity/list-events-for-authenticated-user", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/activity/events#list-events-for-the-authenticated-user" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/activity/events#list-events-for-the-authenticated-user" }, "parameters": [ { @@ -710010,7 +710941,7 @@ }, { "name": "per_page", - "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -710019,7 +710950,7 @@ }, { "name": "page", - "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -720323,7 +721254,7 @@ "operationId": "activity/list-org-events-for-authenticated-user", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/activity/events#list-organization-events-for-the-authenticated-user" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/activity/events#list-organization-events-for-the-authenticated-user" }, "parameters": [ { @@ -720346,7 +721277,7 @@ }, { "name": "per_page", - "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -720355,7 +721286,7 @@ }, { "name": "page", - "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -730678,7 +731609,7 @@ "operationId": "activity/list-public-events-for-user", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/activity/events#list-public-events-for-a-user" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/activity/events#list-public-events-for-a-user" }, "parameters": [ { @@ -730692,7 +731623,7 @@ }, { "name": "per_page", - "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -730701,7 +731632,7 @@ }, { "name": "page", - "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -741005,7 +741936,7 @@ "operationId": "users/list-followers-for-user", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/users/followers#list-followers-of-a-user" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/users/followers#list-followers-of-a-user" }, "parameters": [ { @@ -741019,7 +741950,7 @@ }, { "name": "per_page", - "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -741028,7 +741959,7 @@ }, { "name": "page", - "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -741224,7 +742155,7 @@ "operationId": "users/list-following-for-user", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/users/followers#list-the-people-a-user-follows" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/users/followers#list-the-people-a-user-follows" }, "parameters": [ { @@ -741238,7 +742169,7 @@ }, { "name": "per_page", - "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -741247,7 +742178,7 @@ }, { "name": "page", - "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -741443,7 +742374,7 @@ "operationId": "users/check-following-for-user", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/users/followers#check-if-a-user-follows-another-user" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/users/followers#check-if-a-user-follows-another-user" }, "parameters": [ { @@ -741490,7 +742421,7 @@ "operationId": "gists/list-for-user", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#list-gists-for-a-user" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/gists/gists#list-gists-for-a-user" }, "parameters": [ { @@ -741514,7 +742445,7 @@ }, { "name": "per_page", - "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -741523,7 +742454,7 @@ }, { "name": "page", - "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -742059,7 +742990,7 @@ "operationId": "users/list-gpg-keys-for-user", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/users/gpg-keys#list-gpg-keys-for-a-user" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/users/gpg-keys#list-gpg-keys-for-a-user" }, "parameters": [ { @@ -742073,7 +743004,7 @@ }, { "name": "per_page", - "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -742082,7 +743013,7 @@ }, { "name": "page", - "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -742349,7 +743280,7 @@ "operationId": "users/get-context-for-user", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/users/users#get-contextual-information-for-a-user" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/users/users#get-contextual-information-for-a-user" }, "parameters": [ { @@ -742541,14 +743472,14 @@ "/users/{username}/installation": { "get": { "summary": "Get a user installation for the authenticated app", - "description": "Enables an authenticated GitHub App to find the user’s installation information.\n\nYou must use a [JWT](https://docs.github.com/enterprise-cloud@latest//apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.", + "description": "Enables an authenticated GitHub App to find the user’s installation information.\n\nYou must use a [JWT](https://docs.github.com/enterprise-cloud@latest/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.", "tags": [ "apps" ], "operationId": "apps/get-user-installation", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/apps/apps#get-a-user-installation-for-the-authenticated-app" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/apps/apps#get-a-user-installation-for-the-authenticated-app" }, "parameters": [ { @@ -743542,7 +744473,7 @@ "operationId": "users/list-public-keys-for-user", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/users/keys#list-public-keys-for-a-user" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/users/keys#list-public-keys-for-a-user" }, "parameters": [ { @@ -743556,7 +744487,7 @@ }, { "name": "per_page", - "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -743565,7 +744496,7 @@ }, { "name": "page", - "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -743640,14 +744571,14 @@ "/users/{username}/orgs": { "get": { "summary": "List organizations for a user", - "description": "List [public organization memberships](https://docs.github.com/enterprise-cloud@latest//articles/publicizing-or-concealing-organization-membership) for the specified user.\n\nThis method only lists _public_ memberships, regardless of authentication. If you need to fetch all of the organization memberships (public and private) for the authenticated user, use the [List organizations for the authenticated user](https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#list-organizations-for-the-authenticated-user) API instead.", + "description": "List [public organization memberships](https://docs.github.com/enterprise-cloud@latest/articles/publicizing-or-concealing-organization-membership) for the specified user.\n\nThis method only lists _public_ memberships, regardless of authentication. If you need to fetch all of the organization memberships (public and private) for the authenticated user, use the [List organizations for the authenticated user](https://docs.github.com/enterprise-cloud@latest/rest/orgs/orgs#list-organizations-for-the-authenticated-user) API instead.", "tags": [ "orgs" ], "operationId": "orgs/list-for-user", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#list-organizations-for-a-user" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/orgs/orgs#list-organizations-for-a-user" }, "parameters": [ { @@ -743661,7 +744592,7 @@ }, { "name": "per_page", - "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -743670,7 +744601,7 @@ }, { "name": "page", - "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -743802,14 +744733,14 @@ "/users/{username}/packages": { "get": { "summary": "List packages for a user", - "description": "Lists all packages in a user's namespace for which the requesting user has access.\n\nOAuth app tokens and personal access tokens (classic) need the `read:packages` scope to use this endpoint. For more information, see \"[About permissions for GitHub Packages](https://docs.github.com/enterprise-cloud@latest//packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages).\"", + "description": "Lists all packages in a user's namespace for which the requesting user has access.\n\nOAuth app tokens and personal access tokens (classic) need the `read:packages` scope to use this endpoint. For more information, see \"[About permissions for GitHub Packages](https://docs.github.com/enterprise-cloud@latest/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages).\"", "tags": [ "packages" ], "operationId": "packages/list-packages-for-user", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#list-packages-for-a-user" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/packages/packages#list-packages-for-a-user" }, "parameters": [ { @@ -743831,7 +744762,7 @@ }, { "name": "visibility", - "description": "The selected visibility of the packages. This parameter is optional and only filters an existing result set.\n\nThe `internal` visibility is only supported for GitHub Packages registries that allow for granular permissions. For other ecosystems `internal` is synonymous with `private`.\nFor the list of GitHub Packages registries that support granular permissions, see \"[About permissions for GitHub Packages](https://docs.github.com/enterprise-cloud@latest//packages/learn-github-packages/about-permissions-for-github-packages#granular-permissions-for-userorganization-scoped-packages).\"", + "description": "The selected visibility of the packages. This parameter is optional and only filters an existing result set.\n\nThe `internal` visibility is only supported for GitHub Packages registries that allow for granular permissions. For other ecosystems `internal` is synonymous with `private`.\nFor the list of GitHub Packages registries that support granular permissions, see \"[About permissions for GitHub Packages](https://docs.github.com/enterprise-cloud@latest/packages/learn-github-packages/about-permissions-for-github-packages#granular-permissions-for-userorganization-scoped-packages).\"", "in": "query", "required": false, "schema": { @@ -743854,7 +744785,7 @@ }, { "name": "page", - "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -743863,7 +744794,7 @@ }, { "name": "per_page", - "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -744979,14 +745910,14 @@ "/users/{username}/packages/{package_type}/{package_name}": { "get": { "summary": "Get a package for a user", - "description": "Gets a specific package metadata for a public package owned by a user.\n\nOAuth app tokens and personal access tokens (classic) need the `read:packages` scope to use this endpoint. For more information, see \"[About permissions for GitHub Packages](https://docs.github.com/enterprise-cloud@latest//packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages).\"", + "description": "Gets a specific package metadata for a public package owned by a user.\n\nOAuth app tokens and personal access tokens (classic) need the `read:packages` scope to use this endpoint. For more information, see \"[About permissions for GitHub Packages](https://docs.github.com/enterprise-cloud@latest/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages).\"", "tags": [ "packages" ], "operationId": "packages/get-package-for-user", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#get-a-package-for-a-user" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/packages/packages#get-a-package-for-a-user" }, "parameters": [ { @@ -746107,14 +747038,14 @@ }, "delete": { "summary": "Delete a package for a user", - "description": "Deletes an entire package for a user. You cannot delete a public package if any version of the package has more than 5,000 downloads. In this scenario, contact GitHub support for further assistance.\n\nIf the `package_type` belongs to a GitHub Packages registry that supports granular permissions, the authenticated user must have admin permissions to the package. For the list of these registries, see \"[About permissions for GitHub Packages](https://docs.github.com/enterprise-cloud@latest//packages/learn-github-packages/about-permissions-for-github-packages#granular-permissions-for-userorganization-scoped-packages).\"\n\nOAuth app tokens and personal access tokens (classic) need the `read:packages` and `delete:packages` scopes to use this endpoint. For more information, see \"[About permissions for GitHub Packages](https://docs.github.com/enterprise-cloud@latest//packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages).\"", + "description": "Deletes an entire package for a user. You cannot delete a public package if any version of the package has more than 5,000 downloads. In this scenario, contact GitHub support for further assistance.\n\nIf the `package_type` belongs to a GitHub Packages registry that supports granular permissions, the authenticated user must have admin permissions to the package. For the list of these registries, see \"[About permissions for GitHub Packages](https://docs.github.com/enterprise-cloud@latest/packages/learn-github-packages/about-permissions-for-github-packages#granular-permissions-for-userorganization-scoped-packages).\"\n\nOAuth app tokens and personal access tokens (classic) need the `read:packages` and `delete:packages` scopes to use this endpoint. For more information, see \"[About permissions for GitHub Packages](https://docs.github.com/enterprise-cloud@latest/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages).\"", "tags": [ "packages" ], "operationId": "packages/delete-package-for-user", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#delete-a-package-for-a-user" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/packages/packages#delete-a-package-for-a-user" }, "parameters": [ { @@ -746247,14 +747178,14 @@ "/users/{username}/packages/{package_type}/{package_name}/restore": { "post": { "summary": "Restore a package for a user", - "description": "Restores an entire package for a user.\n\nYou can restore a deleted package under the following conditions:\n - The package was deleted within the last 30 days.\n - The same package namespace and version is still available and not reused for a new package. If the same package namespace is not available, you will not be able to restore your package. In this scenario, to restore the deleted package, you must delete the new package that uses the deleted package's namespace first.\n\nIf the `package_type` belongs to a GitHub Packages registry that supports granular permissions, the authenticated user must have admin permissions to the package. For the list of these registries, see \"[About permissions for GitHub Packages](https://docs.github.com/enterprise-cloud@latest//packages/learn-github-packages/about-permissions-for-github-packages#granular-permissions-for-userorganization-scoped-packages).\"\n\nOAuth app tokens and personal access tokens (classic) need the `read:packages` and `write:packages` scopes to use this endpoint. For more information, see \"[About permissions for GitHub Packages](https://docs.github.com/enterprise-cloud@latest//packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages).\"", + "description": "Restores an entire package for a user.\n\nYou can restore a deleted package under the following conditions:\n - The package was deleted within the last 30 days.\n - The same package namespace and version is still available and not reused for a new package. If the same package namespace is not available, you will not be able to restore your package. In this scenario, to restore the deleted package, you must delete the new package that uses the deleted package's namespace first.\n\nIf the `package_type` belongs to a GitHub Packages registry that supports granular permissions, the authenticated user must have admin permissions to the package. For the list of these registries, see \"[About permissions for GitHub Packages](https://docs.github.com/enterprise-cloud@latest/packages/learn-github-packages/about-permissions-for-github-packages#granular-permissions-for-userorganization-scoped-packages).\"\n\nOAuth app tokens and personal access tokens (classic) need the `read:packages` and `write:packages` scopes to use this endpoint. For more information, see \"[About permissions for GitHub Packages](https://docs.github.com/enterprise-cloud@latest/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages).\"", "tags": [ "packages" ], "operationId": "packages/restore-package-for-user", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#restore-a-package-for-a-user" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/packages/packages#restore-a-package-for-a-user" }, "parameters": [ { @@ -746396,14 +747327,14 @@ "/users/{username}/packages/{package_type}/{package_name}/versions": { "get": { "summary": "List package versions for a package owned by a user", - "description": "Lists package versions for a public package owned by a specified user.\n\nOAuth app tokens and personal access tokens (classic) need the `read:packages` scope to use this endpoint. For more information, see \"[About permissions for GitHub Packages](https://docs.github.com/enterprise-cloud@latest//packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages).\"", + "description": "Lists package versions for a public package owned by a specified user.\n\nOAuth app tokens and personal access tokens (classic) need the `read:packages` scope to use this endpoint. For more information, see \"[About permissions for GitHub Packages](https://docs.github.com/enterprise-cloud@latest/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages).\"", "tags": [ "packages" ], "operationId": "packages/get-all-package-versions-for-package-owned-by-user", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#list-package-versions-for-a-package-owned-by-a-user" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/packages/packages#list-package-versions-for-a-package-owned-by-a-user" }, "parameters": [ { @@ -746700,14 +747631,14 @@ "/users/{username}/packages/{package_type}/{package_name}/versions/{package_version_id}": { "get": { "summary": "Get a package version for a user", - "description": "Gets a specific package version for a public package owned by a specified user.\n\nOAuth app tokens and personal access tokens (classic) need the `read:packages` scope to use this endpoint. For more information, see \"[About permissions for GitHub Packages](https://docs.github.com/enterprise-cloud@latest//packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages).\"", + "description": "Gets a specific package version for a public package owned by a specified user.\n\nOAuth app tokens and personal access tokens (classic) need the `read:packages` scope to use this endpoint. For more information, see \"[About permissions for GitHub Packages](https://docs.github.com/enterprise-cloud@latest/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages).\"", "tags": [ "packages" ], "operationId": "packages/get-package-version-for-user", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#get-a-package-version-for-a-user" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/packages/packages#get-a-package-version-for-a-user" }, "parameters": [ { @@ -746901,14 +747832,14 @@ }, "delete": { "summary": "Delete package version for a user", - "description": "Deletes a specific package version for a user. If the package is public and the package version has more than 5,000 downloads, you cannot delete the package version. In this scenario, contact GitHub support for further assistance.\n\nIf the `package_type` belongs to a GitHub Packages registry that supports granular permissions, the authenticated user must have admin permissions to the package. For the list of these registries, see \"[About permissions for GitHub Packages](https://docs.github.com/enterprise-cloud@latest//packages/learn-github-packages/about-permissions-for-github-packages#granular-permissions-for-userorganization-scoped-packages).\"\n\nOAuth app tokens and personal access tokens (classic) need the `read:packages` and `delete:packages` scopes to use this endpoint. For more information, see \"[About permissions for GitHub Packages](https://docs.github.com/enterprise-cloud@latest//packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages).\"", + "description": "Deletes a specific package version for a user. If the package is public and the package version has more than 5,000 downloads, you cannot delete the package version. In this scenario, contact GitHub support for further assistance.\n\nIf the `package_type` belongs to a GitHub Packages registry that supports granular permissions, the authenticated user must have admin permissions to the package. For the list of these registries, see \"[About permissions for GitHub Packages](https://docs.github.com/enterprise-cloud@latest/packages/learn-github-packages/about-permissions-for-github-packages#granular-permissions-for-userorganization-scoped-packages).\"\n\nOAuth app tokens and personal access tokens (classic) need the `read:packages` and `delete:packages` scopes to use this endpoint. For more information, see \"[About permissions for GitHub Packages](https://docs.github.com/enterprise-cloud@latest/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages).\"", "tags": [ "packages" ], "operationId": "packages/delete-package-version-for-user", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#delete-package-version-for-a-user" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/packages/packages#delete-package-version-for-a-user" }, "parameters": [ { @@ -747050,14 +747981,14 @@ "/users/{username}/packages/{package_type}/{package_name}/versions/{package_version_id}/restore": { "post": { "summary": "Restore package version for a user", - "description": "Restores a specific package version for a user.\n\nYou can restore a deleted package under the following conditions:\n - The package was deleted within the last 30 days.\n - The same package namespace and version is still available and not reused for a new package. If the same package namespace is not available, you will not be able to restore your package. In this scenario, to restore the deleted package, you must delete the new package that uses the deleted package's namespace first.\n\nIf the `package_type` belongs to a GitHub Packages registry that supports granular permissions, the authenticated user must have admin permissions to the package. For the list of these registries, see \"[About permissions for GitHub Packages](https://docs.github.com/enterprise-cloud@latest//packages/learn-github-packages/about-permissions-for-github-packages#granular-permissions-for-userorganization-scoped-packages).\"\n\nOAuth app tokens and personal access tokens (classic) need the `read:packages` and `write:packages` scopes to use this endpoint. For more information, see \"[About permissions for GitHub Packages](https://docs.github.com/enterprise-cloud@latest//packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages).\"", + "description": "Restores a specific package version for a user.\n\nYou can restore a deleted package under the following conditions:\n - The package was deleted within the last 30 days.\n - The same package namespace and version is still available and not reused for a new package. If the same package namespace is not available, you will not be able to restore your package. In this scenario, to restore the deleted package, you must delete the new package that uses the deleted package's namespace first.\n\nIf the `package_type` belongs to a GitHub Packages registry that supports granular permissions, the authenticated user must have admin permissions to the package. For the list of these registries, see \"[About permissions for GitHub Packages](https://docs.github.com/enterprise-cloud@latest/packages/learn-github-packages/about-permissions-for-github-packages#granular-permissions-for-userorganization-scoped-packages).\"\n\nOAuth app tokens and personal access tokens (classic) need the `read:packages` and `write:packages` scopes to use this endpoint. For more information, see \"[About permissions for GitHub Packages](https://docs.github.com/enterprise-cloud@latest/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages).\"", "tags": [ "packages" ], "operationId": "packages/restore-package-version-for-user", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#restore-package-version-for-a-user" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/packages/packages#restore-package-version-for-a-user" }, "parameters": [ { @@ -747206,7 +748137,7 @@ "operationId": "projects/list-for-user", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#list-projects-for-user" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/projects/projects#list-projects-for-user" }, "parameters": [ { @@ -747229,7 +748160,7 @@ }, { "name": "before", - "description": "A cursor, as given in the [Link header](https://docs.github.com/enterprise-cloud@latest//rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for results before this cursor. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "A cursor, as given in the [Link header](https://docs.github.com/enterprise-cloud@latest/rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for results before this cursor. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "required": false, "schema": { @@ -747238,7 +748169,7 @@ }, { "name": "after", - "description": "A cursor, as given in the [Link header](https://docs.github.com/enterprise-cloud@latest//rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for results after this cursor. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "A cursor, as given in the [Link header](https://docs.github.com/enterprise-cloud@latest/rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for results after this cursor. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "required": false, "schema": { @@ -747247,7 +748178,7 @@ }, { "name": "per_page", - "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -748094,7 +749025,7 @@ "operationId": "projects/get-for-user", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#get-project-for-user" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/projects/projects#get-project-for-user" }, "parameters": [ { @@ -748952,7 +749883,7 @@ "operationId": "projects/list-fields-for-user", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/projects/fields#list-project-fields-for-user" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/projects/fields#list-project-fields-for-user" }, "parameters": [ { @@ -748975,7 +749906,7 @@ }, { "name": "per_page", - "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -748984,7 +749915,7 @@ }, { "name": "before", - "description": "A cursor, as given in the [Link header](https://docs.github.com/enterprise-cloud@latest//rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for results before this cursor. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "A cursor, as given in the [Link header](https://docs.github.com/enterprise-cloud@latest/rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for results before this cursor. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "required": false, "schema": { @@ -748993,7 +749924,7 @@ }, { "name": "after", - "description": "A cursor, as given in the [Link header](https://docs.github.com/enterprise-cloud@latest//rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for results after this cursor. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "A cursor, as given in the [Link header](https://docs.github.com/enterprise-cloud@latest/rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for results after this cursor. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "required": false, "schema": { @@ -749442,7 +750373,7 @@ "operationId": "projects/add-field-for-user", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/projects/fields#add-field-to-user-owned-project" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/projects/fields#add-field-to-user-owned-project" }, "parameters": [ { @@ -750166,7 +751097,7 @@ "operationId": "projects/get-field-for-user", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/projects/fields#get-project-field-for-user" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/projects/fields#get-project-field-for-user" }, "parameters": [ { @@ -750528,7 +751459,7 @@ "operationId": "projects/list-items-for-user", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/projects/items#list-items-for-a-user-owned-project" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/projects/items#list-items-for-a-user-owned-project" }, "parameters": [ { @@ -750551,7 +751482,7 @@ }, { "name": "before", - "description": "A cursor, as given in the [Link header](https://docs.github.com/enterprise-cloud@latest//rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for results before this cursor. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "A cursor, as given in the [Link header](https://docs.github.com/enterprise-cloud@latest/rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for results before this cursor. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "required": false, "schema": { @@ -750560,7 +751491,7 @@ }, { "name": "after", - "description": "A cursor, as given in the [Link header](https://docs.github.com/enterprise-cloud@latest//rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for results after this cursor. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "A cursor, as given in the [Link header](https://docs.github.com/enterprise-cloud@latest/rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for results after this cursor. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "required": false, "schema": { @@ -750569,7 +751500,7 @@ }, { "name": "per_page", - "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -750578,7 +751509,7 @@ }, { "name": "q", - "description": "Search query to filter items, see [Filtering projects](https://docs.github.com/enterprise-cloud@latest//issues/planning-and-tracking-with-projects/customizing-views-in-your-project/filtering-projects) for more information.", + "description": "Search query to filter items, see [Filtering projects](https://docs.github.com/enterprise-cloud@latest/issues/planning-and-tracking-with-projects/customizing-views-in-your-project/filtering-projects) for more information.", "in": "query", "required": false, "schema": { @@ -751654,7 +752585,7 @@ "operationId": "projects/add-item-for-user", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/projects/items#add-item-to-user-owned-project" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/projects/items#add-item-to-user-owned-project" }, "parameters": [ { @@ -758625,7 +759556,7 @@ "operationId": "projects/get-user-item", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/projects/items#get-an-item-for-a-user-owned-project" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/projects/items#get-an-item-for-a-user-owned-project" }, "parameters": [ { @@ -759721,7 +760652,7 @@ "operationId": "projects/update-item-for-user", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/projects/items#update-project-item-for-user" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/projects/items#update-project-item-for-user" }, "parameters": [ { @@ -763995,7 +764926,7 @@ "operationId": "projects/delete-item-for-user", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/projects/items#delete-project-item-for-user" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/projects/items#delete-project-item-for-user" }, "parameters": [ { @@ -764101,7 +765032,7 @@ "operationId": "projects/list-view-items-for-user", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/projects/items#list-items-for-a-user-project-view" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/projects/items#list-items-for-a-user-project-view" }, "parameters": [ { @@ -764153,7 +765084,7 @@ }, { "name": "before", - "description": "A cursor, as given in the [Link header](https://docs.github.com/enterprise-cloud@latest//rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for results before this cursor. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "A cursor, as given in the [Link header](https://docs.github.com/enterprise-cloud@latest/rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for results before this cursor. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "required": false, "schema": { @@ -764162,7 +765093,7 @@ }, { "name": "after", - "description": "A cursor, as given in the [Link header](https://docs.github.com/enterprise-cloud@latest//rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for results after this cursor. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "A cursor, as given in the [Link header](https://docs.github.com/enterprise-cloud@latest/rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for results after this cursor. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "required": false, "schema": { @@ -764171,7 +765102,7 @@ }, { "name": "per_page", - "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -765255,7 +766186,7 @@ "operationId": "activity/list-received-events-for-user", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/activity/events#list-events-received-by-the-authenticated-user" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/activity/events#list-events-received-by-the-authenticated-user" }, "parameters": [ { @@ -765269,7 +766200,7 @@ }, { "name": "per_page", - "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -765278,7 +766209,7 @@ }, { "name": "page", - "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -775587,7 +776518,7 @@ "operationId": "activity/list-received-public-events-for-user", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/activity/events#list-public-events-received-by-a-user" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/activity/events#list-public-events-received-by-a-user" }, "parameters": [ { @@ -775601,7 +776532,7 @@ }, { "name": "per_page", - "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -775610,7 +776541,7 @@ }, { "name": "page", - "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -785919,7 +786850,7 @@ "operationId": "repos/list-for-user", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repositories-for-a-user" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#list-repositories-for-a-user" }, "parameters": [ { @@ -785977,7 +786908,7 @@ }, { "name": "per_page", - "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -785986,7 +786917,7 @@ }, { "name": "page", - "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -786926,7 +787857,7 @@ "operationId": "users/list-social-accounts-for-user", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/users/social-accounts#list-social-accounts-for-a-user" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/users/social-accounts#list-social-accounts-for-a-user" }, "parameters": [ { @@ -786940,7 +787871,7 @@ }, { "name": "per_page", - "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -786949,7 +787880,7 @@ }, { "name": "page", - "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -787024,7 +787955,7 @@ "operationId": "users/list-ssh-signing-keys-for-user", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/users/ssh-signing-keys#list-ssh-signing-keys-for-a-user" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/users/ssh-signing-keys#list-ssh-signing-keys-for-a-user" }, "parameters": [ { @@ -787038,7 +787969,7 @@ }, { "name": "per_page", - "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -787047,7 +787978,7 @@ }, { "name": "page", - "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -787130,14 +788061,14 @@ "/users/{username}/starred": { "get": { "summary": "List repositories starred by a user", - "description": "Lists repositories a user has starred.\n\nThis endpoint supports the following custom media types. For more information, see \"[Media types](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/getting-started-with-the-rest-api#media-types).\"\n\n- **`application/vnd.github.star+json`**: Includes a timestamp of when the star was created.", + "description": "Lists repositories a user has starred.\n\nThis endpoint supports the following custom media types. For more information, see \"[Media types](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types).\"\n\n- **`application/vnd.github.star+json`**: Includes a timestamp of when the star was created.", "tags": [ "activity" ], "operationId": "activity/list-repos-starred-by-user", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/activity/starring#list-repositories-starred-by-a-user" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/activity/starring#list-repositories-starred-by-a-user" }, "parameters": [ { @@ -787179,7 +788110,7 @@ }, { "name": "per_page", - "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -787188,7 +788119,7 @@ }, { "name": "page", - "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -788874,7 +789805,7 @@ "operationId": "activity/list-repos-watched-by-user", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#list-repositories-watched-by-a-user" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/activity/watching#list-repositories-watched-by-a-user" }, "parameters": [ { @@ -788888,7 +789819,7 @@ }, { "name": "per_page", - "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -788897,7 +789828,7 @@ }, { "name": "page", - "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", "in": "query", "schema": { "type": "integer", @@ -789837,7 +790768,7 @@ "operationId": "meta/get-all-versions", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/meta/meta#get-all-api-versions" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/meta/meta#get-all-api-versions" }, "responses": { "200": { @@ -789909,7 +790840,7 @@ "operationId": "meta/get-zen", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/meta/meta#get-the-zen-of-github" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/meta/meta#get-the-zen-of-github" }, "responses": { "200": { @@ -789941,11 +790872,11 @@ "x-webhooks": { "branch-protection-configuration-disabled": { "post": { - "summary": "This event occurs when there is a change to branch protection configurations for a repository.\nFor more information, see \"[About protected branches](https://docs.github.com/enterprise-cloud@latest//repositories/configuring-branches-and-merges-in-your-repository/defining-the-mergeability-of-pull-requests/about-protected-branches).\"\nFor information about using the APIs to manage branch protection rules, see \"[Branch protection rule](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#branchprotectionrule)\" in the GraphQL documentation or \"[Branch protection](https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Administration\" repository permission.", + "summary": "This event occurs when there is a change to branch protection configurations for a repository.\nFor more information, see \"[About protected branches](https://docs.github.com/enterprise-cloud@latest/repositories/configuring-branches-and-merges-in-your-repository/defining-the-mergeability-of-pull-requests/about-protected-branches).\"\nFor information about using the APIs to manage branch protection rules, see \"[Branch protection rule](https://docs.github.com/enterprise-cloud@latest/graphql/reference/objects#branchprotectionrule)\" in the GraphQL documentation or \"[Branch protection](https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Administration\" repository permission.", "description": "All branch protections were disabled for a repository.", "operationId": "branch-protection-configuration/disabled", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#branch_protection_configuration" + "url": "https://docs.github.com/enterprise-cloud@latest/webhooks/webhook-events-and-payloads#branch_protection_configuration" }, "parameters": [ { @@ -790021,7 +790952,7 @@ }, "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).\"", + "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": { @@ -790089,7 +791020,7 @@ }, "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).\"", + "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": { @@ -791565,11 +792496,11 @@ }, "branch-protection-configuration-enabled": { "post": { - "summary": "This event occurs when there is a change to branch protection configurations for a repository.\nFor more information, see \"[About protected branches](https://docs.github.com/enterprise-cloud@latest//repositories/configuring-branches-and-merges-in-your-repository/defining-the-mergeability-of-pull-requests/about-protected-branches).\"\nFor information about using the APIs to manage branch protection rules, see \"[Branch protection rule](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#branchprotectionrule)\" in the GraphQL documentation or \"[Branch protection](https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Administration\" repository permission.", + "summary": "This event occurs when there is a change to branch protection configurations for a repository.\nFor more information, see \"[About protected branches](https://docs.github.com/enterprise-cloud@latest/repositories/configuring-branches-and-merges-in-your-repository/defining-the-mergeability-of-pull-requests/about-protected-branches).\"\nFor information about using the APIs to manage branch protection rules, see \"[Branch protection rule](https://docs.github.com/enterprise-cloud@latest/graphql/reference/objects#branchprotectionrule)\" in the GraphQL documentation or \"[Branch protection](https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Administration\" repository permission.", "description": "All branch protections were enabled for a repository.", "operationId": "branch-protection-configuration/enabled", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#branch_protection_configuration" + "url": "https://docs.github.com/enterprise-cloud@latest/webhooks/webhook-events-and-payloads#branch_protection_configuration" }, "parameters": [ { @@ -791645,7 +792576,7 @@ }, "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).\"", + "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": { @@ -791713,7 +792644,7 @@ }, "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).\"", + "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": { @@ -793189,11 +794120,11 @@ }, "branch-protection-rule-created": { "post": { - "summary": "This event occurs when there is activity relating to branch protection rules. For more information, see \"[About protected branches](https://docs.github.com/enterprise-cloud@latest//repositories/configuring-branches-and-merges-in-your-repository/defining-the-mergeability-of-pull-requests/about-protected-branches).\" For information about the APIs to manage branch protection rules, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#branchprotectionrule) or \"[Branch protection](https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Administration\" repository permission.", + "summary": "This event occurs when there is activity relating to branch protection rules. For more information, see \"[About protected branches](https://docs.github.com/enterprise-cloud@latest/repositories/configuring-branches-and-merges-in-your-repository/defining-the-mergeability-of-pull-requests/about-protected-branches).\" For information about the APIs to manage branch protection rules, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest/graphql/reference/objects#branchprotectionrule) or \"[Branch protection](https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Administration\" repository permission.", "description": "A branch protection rule was created.", "operationId": "branch-protection-rule/created", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#branch_protection_rule" + "url": "https://docs.github.com/enterprise-cloud@latest/webhooks/webhook-events-and-payloads#branch_protection_rule" }, "parameters": [ { @@ -793269,7 +794200,7 @@ }, "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).\"", + "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": { @@ -793337,7 +794268,7 @@ }, "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).\"", + "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": { @@ -794662,7 +795593,7 @@ }, "rule": { "title": "branch protection rule", - "description": "The branch protection rule. Includes a `name` and all the [branch protection settings](https://docs.github.com/enterprise-cloud@latest//github/administering-a-repository/defining-the-mergeability-of-pull-requests/about-protected-branches#about-branch-protection-settings) applied to branches that match the name. Binary settings are boolean. Multi-level configurations are one of `off`, `non_admins`, or `everyone`. Actor and build lists are arrays of strings.", + "description": "The branch protection rule. Includes a `name` and all the [branch protection settings](https://docs.github.com/enterprise-cloud@latest/github/administering-a-repository/defining-the-mergeability-of-pull-requests/about-protected-branches#about-branch-protection-settings) applied to branches that match the name. Binary settings are boolean. Multi-level configurations are one of `off`, `non_admins`, or `everyone`. Actor and build lists are arrays of strings.", "type": "object", "properties": { "admin_enforced": { @@ -794993,11 +795924,11 @@ }, "branch-protection-rule-deleted": { "post": { - "summary": "This event occurs when there is activity relating to branch protection rules. For more information, see \"[About protected branches](https://docs.github.com/enterprise-cloud@latest//repositories/configuring-branches-and-merges-in-your-repository/defining-the-mergeability-of-pull-requests/about-protected-branches).\" For information about the APIs to manage branch protection rules, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#branchprotectionrule) or \"[Branch protection](https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Administration\" repository permission.", + "summary": "This event occurs when there is activity relating to branch protection rules. For more information, see \"[About protected branches](https://docs.github.com/enterprise-cloud@latest/repositories/configuring-branches-and-merges-in-your-repository/defining-the-mergeability-of-pull-requests/about-protected-branches).\" For information about the APIs to manage branch protection rules, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest/graphql/reference/objects#branchprotectionrule) or \"[Branch protection](https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Administration\" repository permission.", "description": "A branch protection rule was deleted.", "operationId": "branch-protection-rule/deleted", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#branch_protection_rule" + "url": "https://docs.github.com/enterprise-cloud@latest/webhooks/webhook-events-and-payloads#branch_protection_rule" }, "parameters": [ { @@ -795073,7 +796004,7 @@ }, "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).\"", + "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": { @@ -795141,7 +796072,7 @@ }, "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).\"", + "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": { @@ -796466,7 +797397,7 @@ }, "rule": { "title": "branch protection rule", - "description": "The branch protection rule. Includes a `name` and all the [branch protection settings](https://docs.github.com/enterprise-cloud@latest//github/administering-a-repository/defining-the-mergeability-of-pull-requests/about-protected-branches#about-branch-protection-settings) applied to branches that match the name. Binary settings are boolean. Multi-level configurations are one of `off`, `non_admins`, or `everyone`. Actor and build lists are arrays of strings.", + "description": "The branch protection rule. Includes a `name` and all the [branch protection settings](https://docs.github.com/enterprise-cloud@latest/github/administering-a-repository/defining-the-mergeability-of-pull-requests/about-protected-branches#about-branch-protection-settings) applied to branches that match the name. Binary settings are boolean. Multi-level configurations are one of `off`, `non_admins`, or `everyone`. Actor and build lists are arrays of strings.", "type": "object", "properties": { "admin_enforced": { @@ -796797,11 +797728,11 @@ }, "branch-protection-rule-edited": { "post": { - "summary": "This event occurs when there is activity relating to branch protection rules. For more information, see \"[About protected branches](https://docs.github.com/enterprise-cloud@latest//repositories/configuring-branches-and-merges-in-your-repository/defining-the-mergeability-of-pull-requests/about-protected-branches).\" For information about the APIs to manage branch protection rules, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#branchprotectionrule) or \"[Branch protection](https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Administration\" repository permission.", + "summary": "This event occurs when there is activity relating to branch protection rules. For more information, see \"[About protected branches](https://docs.github.com/enterprise-cloud@latest/repositories/configuring-branches-and-merges-in-your-repository/defining-the-mergeability-of-pull-requests/about-protected-branches).\" For information about the APIs to manage branch protection rules, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest/graphql/reference/objects#branchprotectionrule) or \"[Branch protection](https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Administration\" repository permission.", "description": "A branch protection rule was edited.", "operationId": "branch-protection-rule/edited", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#branch_protection_rule" + "url": "https://docs.github.com/enterprise-cloud@latest/webhooks/webhook-events-and-payloads#branch_protection_rule" }, "parameters": [ { @@ -797035,7 +797966,7 @@ }, "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).\"", + "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": { @@ -797103,7 +798034,7 @@ }, "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).\"", + "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": { @@ -798428,7 +799359,7 @@ }, "rule": { "title": "branch protection rule", - "description": "The branch protection rule. Includes a `name` and all the [branch protection settings](https://docs.github.com/enterprise-cloud@latest//github/administering-a-repository/defining-the-mergeability-of-pull-requests/about-protected-branches#about-branch-protection-settings) applied to branches that match the name. Binary settings are boolean. Multi-level configurations are one of `off`, `non_admins`, or `everyone`. Actor and build lists are arrays of strings.", + "description": "The branch protection rule. Includes a `name` and all the [branch protection settings](https://docs.github.com/enterprise-cloud@latest/github/administering-a-repository/defining-the-mergeability-of-pull-requests/about-protected-branches#about-branch-protection-settings) applied to branches that match the name. Binary settings are boolean. Multi-level configurations are one of `off`, `non_admins`, or `everyone`. Actor and build lists are arrays of strings.", "type": "object", "properties": { "admin_enforced": { @@ -798759,11 +799690,11 @@ }, "bypass-request-secret-scanning-cancelled": { "post": { - "summary": "This event occurs when there is activity related to a user's request to bypass secret scanning push protection.\n\nFor more information, see \"[Enabling delegated bypass for push protection](https://docs.github.com/enterprise-cloud@latest//code-security/secret-scanning/using-advanced-secret-scanning-and-push-protection-features/delegated-bypass-for-push-protection/about-delegated-bypass-for-push-protection#enabling-delegated-bypass-for-push-protection).\"\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Secret scanning alerts\" repository permission.\n\nNote: Delegated bypass for push protection is currently in public preview and subject to change.", + "summary": "This event occurs when there is activity related to a user's request to bypass secret scanning push protection.\n\nFor more information, see \"[Enabling delegated bypass for push protection](https://docs.github.com/enterprise-cloud@latest/code-security/secret-scanning/using-advanced-secret-scanning-and-push-protection-features/delegated-bypass-for-push-protection/about-delegated-bypass-for-push-protection#enabling-delegated-bypass-for-push-protection).\"\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Secret scanning alerts\" repository permission.\n\nNote: Delegated bypass for push protection is currently in public preview and subject to change.", "description": "A secret scanning push protection bypass request was cancelled.", "operationId": "exemption-request-secret-scanning/cancelled", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#bypass_request_secret_scanning" + "url": "https://docs.github.com/enterprise-cloud@latest/webhooks/webhook-events-and-payloads#bypass_request_secret_scanning" }, "parameters": [ { @@ -798839,7 +799770,7 @@ }, "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).\"", + "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": { @@ -798907,7 +799838,7 @@ }, "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).\"", + "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": { @@ -800825,11 +801756,11 @@ }, "bypass-request-secret-scanning-completed": { "post": { - "summary": "This event occurs when there is activity related to a user's request to bypass secret scanning push protection.\n\nFor more information, see \"[Enabling delegated bypass for push protection](https://docs.github.com/enterprise-cloud@latest//code-security/secret-scanning/using-advanced-secret-scanning-and-push-protection-features/delegated-bypass-for-push-protection/about-delegated-bypass-for-push-protection#enabling-delegated-bypass-for-push-protection).\"\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Secret scanning alerts\" repository permission.\n\nNote: Delegated bypass for push protection is currently in public preview and subject to change.", + "summary": "This event occurs when there is activity related to a user's request to bypass secret scanning push protection.\n\nFor more information, see \"[Enabling delegated bypass for push protection](https://docs.github.com/enterprise-cloud@latest/code-security/secret-scanning/using-advanced-secret-scanning-and-push-protection-features/delegated-bypass-for-push-protection/about-delegated-bypass-for-push-protection#enabling-delegated-bypass-for-push-protection).\"\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Secret scanning alerts\" repository permission.\n\nNote: Delegated bypass for push protection is currently in public preview and subject to change.", "description": "A secret scanning bypass request was completed.", "operationId": "exemption-request-secret-scanning/completed", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#bypass_request_secret_scanning" + "url": "https://docs.github.com/enterprise-cloud@latest/webhooks/webhook-events-and-payloads#bypass_request_secret_scanning" }, "parameters": [ { @@ -800905,7 +801836,7 @@ }, "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).\"", + "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": { @@ -800973,7 +801904,7 @@ }, "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).\"", + "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": { @@ -802891,11 +803822,11 @@ }, "bypass-request-secret-scanning-created": { "post": { - "summary": "This event occurs when there is activity related to a user's request to bypass secret scanning push protection.\n\nFor more information, see \"[Enabling delegated bypass for push protection](https://docs.github.com/enterprise-cloud@latest//code-security/secret-scanning/using-advanced-secret-scanning-and-push-protection-features/delegated-bypass-for-push-protection/about-delegated-bypass-for-push-protection#enabling-delegated-bypass-for-push-protection).\"\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Secret scanning alerts\" repository permission.\n\nNote: Delegated bypass for push protection is currently in public preview and subject to change.", + "summary": "This event occurs when there is activity related to a user's request to bypass secret scanning push protection.\n\nFor more information, see \"[Enabling delegated bypass for push protection](https://docs.github.com/enterprise-cloud@latest/code-security/secret-scanning/using-advanced-secret-scanning-and-push-protection-features/delegated-bypass-for-push-protection/about-delegated-bypass-for-push-protection#enabling-delegated-bypass-for-push-protection).\"\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Secret scanning alerts\" repository permission.\n\nNote: Delegated bypass for push protection is currently in public preview and subject to change.", "description": "A secret scanning push protection bypass request was created.", "operationId": "exemption-request-secret-scanning/created", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#bypass_request_secret_scanning" + "url": "https://docs.github.com/enterprise-cloud@latest/webhooks/webhook-events-and-payloads#bypass_request_secret_scanning" }, "parameters": [ { @@ -802971,7 +803902,7 @@ }, "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).\"", + "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": { @@ -803039,7 +803970,7 @@ }, "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).\"", + "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": { @@ -804957,11 +805888,11 @@ }, "bypass-request-secret-scanning-response-dismissed": { "post": { - "summary": "This event occurs when there is activity related to a user's request to bypass secret scanning push protection.\n\nFor more information, see \"[Enabling delegated bypass for push protection](https://docs.github.com/enterprise-cloud@latest//code-security/secret-scanning/using-advanced-secret-scanning-and-push-protection-features/delegated-bypass-for-push-protection/about-delegated-bypass-for-push-protection#enabling-delegated-bypass-for-push-protection).\"\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Secret scanning alerts\" repository permission.\n\nNote: Delegated bypass for push protection is currently in public preview and subject to change.", + "summary": "This event occurs when there is activity related to a user's request to bypass secret scanning push protection.\n\nFor more information, see \"[Enabling delegated bypass for push protection](https://docs.github.com/enterprise-cloud@latest/code-security/secret-scanning/using-advanced-secret-scanning-and-push-protection-features/delegated-bypass-for-push-protection/about-delegated-bypass-for-push-protection#enabling-delegated-bypass-for-push-protection).\"\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Secret scanning alerts\" repository permission.\n\nNote: Delegated bypass for push protection is currently in public preview and subject to change.", "description": "A secret scanning push protection bypass response was dismissed.", "operationId": "exemption-request-secret-scanning/response-dismissed", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#bypass_request_secret_scanning" + "url": "https://docs.github.com/enterprise-cloud@latest/webhooks/webhook-events-and-payloads#bypass_request_secret_scanning" }, "parameters": [ { @@ -805037,7 +805968,7 @@ }, "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).\"", + "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": { @@ -805105,7 +806036,7 @@ }, "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).\"", + "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": { @@ -807062,11 +807993,11 @@ }, "bypass-request-secret-scanning-response-submitted": { "post": { - "summary": "This event occurs when there is activity related to a user's request to bypass secret scanning push protection.\n\nFor more information, see \"[Enabling delegated bypass for push protection](https://docs.github.com/enterprise-cloud@latest//code-security/secret-scanning/using-advanced-secret-scanning-and-push-protection-features/delegated-bypass-for-push-protection/about-delegated-bypass-for-push-protection#enabling-delegated-bypass-for-push-protection).\"\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Secret scanning alerts\" repository permission.\n\nNote: Delegated bypass for push protection is currently in public preview and subject to change.", + "summary": "This event occurs when there is activity related to a user's request to bypass secret scanning push protection.\n\nFor more information, see \"[Enabling delegated bypass for push protection](https://docs.github.com/enterprise-cloud@latest/code-security/secret-scanning/using-advanced-secret-scanning-and-push-protection-features/delegated-bypass-for-push-protection/about-delegated-bypass-for-push-protection#enabling-delegated-bypass-for-push-protection).\"\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Secret scanning alerts\" repository permission.\n\nNote: Delegated bypass for push protection is currently in public preview and subject to change.", "description": "A response either approving or rejecting the secret scanning push protection bypass request was submitted.", "operationId": "exemption-request-secret-scanning/response-submitted", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#bypass_request_secret_scanning" + "url": "https://docs.github.com/enterprise-cloud@latest/webhooks/webhook-events-and-payloads#bypass_request_secret_scanning" }, "parameters": [ { @@ -807142,7 +808073,7 @@ }, "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).\"", + "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": { @@ -807210,7 +808141,7 @@ }, "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).\"", + "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": { @@ -809167,11 +810098,11 @@ }, "check-run-completed": { "post": { - "summary": "This event occurs when there is activity relating to a check run. For information about check runs, see \"[Getting started with the Checks API](https://docs.github.com/enterprise-cloud@latest//rest/guides/getting-started-with-the-checks-api).\" For information about the APIs to manage check runs, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#checkrun) or \"[Check Runs](https://docs.github.com/enterprise-cloud@latest//rest/checks/runs)\" in the REST API documentation.\n\nFor activity relating to check suites, use the `check-suite` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Checks\" repository permission. To receive the `rerequested` and `requested_action` event types, the app must have at least write-level access for the \"Checks\" permission. GitHub Apps with write-level access for the \"Checks\" permission are automatically subscribed to this webhook event.\n\nRepository and organization webhooks only receive payloads for the `created` and `completed` event types in repositories.\n\n> [!NOTE]\n> The API only looks for pushes in the repository where the check run was created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`.", + "summary": "This event occurs when there is activity relating to a check run. For information about check runs, see \"[Getting started with the Checks API](https://docs.github.com/enterprise-cloud@latest/rest/guides/getting-started-with-the-checks-api).\" For information about the APIs to manage check runs, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest/graphql/reference/objects#checkrun) or \"[Check Runs](https://docs.github.com/enterprise-cloud@latest/rest/checks/runs)\" in the REST API documentation.\n\nFor activity relating to check suites, use the `check-suite` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Checks\" repository permission. To receive the `rerequested` and `requested_action` event types, the app must have at least write-level access for the \"Checks\" permission. GitHub Apps with write-level access for the \"Checks\" permission are automatically subscribed to this webhook event.\n\nRepository and organization webhooks only receive payloads for the `created` and `completed` event types in repositories.\n\n> [!NOTE]\n> The API only looks for pushes in the repository where the check run was created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`.", "description": "A check run was completed, and a conclusion is available.", "operationId": "check-run/completed", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#check_run" + "url": "https://docs.github.com/enterprise-cloud@latest/webhooks/webhook-events-and-payloads#check_run" }, "parameters": [ { @@ -811423,7 +812354,7 @@ }, "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).\"", + "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": { @@ -811444,7 +812375,7 @@ }, "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).\"", + "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": { @@ -813312,11 +814243,11 @@ }, "check-run-created": { "post": { - "summary": "This event occurs when there is activity relating to a check run. For information about check runs, see \"[Getting started with the Checks API](https://docs.github.com/enterprise-cloud@latest//rest/guides/getting-started-with-the-checks-api).\" For information about the APIs to manage check runs, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#checkrun) or \"[Check Runs](https://docs.github.com/enterprise-cloud@latest//rest/checks/runs)\" in the REST API documentation.\n\nFor activity relating to check suites, use the `check-suite` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Checks\" repository permission. To receive the `rerequested` and `requested_action` event types, the app must have at least write-level access for the \"Checks\" permission. GitHub Apps with write-level access for the \"Checks\" permission are automatically subscribed to this webhook event.\n\nRepository and organization webhooks only receive payloads for the `created` and `completed` event types in repositories.\n\n> [!NOTE]\n> The API only looks for pushes in the repository where the check run was created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`.", + "summary": "This event occurs when there is activity relating to a check run. For information about check runs, see \"[Getting started with the Checks API](https://docs.github.com/enterprise-cloud@latest/rest/guides/getting-started-with-the-checks-api).\" For information about the APIs to manage check runs, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest/graphql/reference/objects#checkrun) or \"[Check Runs](https://docs.github.com/enterprise-cloud@latest/rest/checks/runs)\" in the REST API documentation.\n\nFor activity relating to check suites, use the `check-suite` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Checks\" repository permission. To receive the `rerequested` and `requested_action` event types, the app must have at least write-level access for the \"Checks\" permission. GitHub Apps with write-level access for the \"Checks\" permission are automatically subscribed to this webhook event.\n\nRepository and organization webhooks only receive payloads for the `created` and `completed` event types in repositories.\n\n> [!NOTE]\n> The API only looks for pushes in the repository where the check run was created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`.", "description": "A new check run was created.", "operationId": "check-run/created", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#check_run" + "url": "https://docs.github.com/enterprise-cloud@latest/webhooks/webhook-events-and-payloads#check_run" }, "parameters": [ { @@ -815568,7 +816499,7 @@ }, "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).\"", + "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": { @@ -815589,7 +816520,7 @@ }, "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).\"", + "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": { @@ -817457,11 +818388,11 @@ }, "check-run-requested-action": { "post": { - "summary": "This event occurs when there is activity relating to a check run. For information about check runs, see \"[Getting started with the Checks API](https://docs.github.com/enterprise-cloud@latest//rest/guides/getting-started-with-the-checks-api).\" For information about the APIs to manage check runs, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#checkrun) or \"[Check Runs](https://docs.github.com/enterprise-cloud@latest//rest/checks/runs)\" in the REST API documentation.\n\nFor activity relating to check suites, use the `check-suite` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Checks\" repository permission. To receive the `rerequested` and `requested_action` event types, the app must have at least write-level access for the \"Checks\" permission. GitHub Apps with write-level access for the \"Checks\" permission are automatically subscribed to this webhook event.\n\nRepository and organization webhooks only receive payloads for the `created` and `completed` event types in repositories.\n\n> [!NOTE]\n> The API only looks for pushes in the repository where the check run was created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`.", - "description": "A check run completed, and someone requested a followup action that your app provides. Only the GitHub App someone requests to perform an action will receive the `requested_action` payload. For more information, see \"[Creating CI tests with the Checks API](https://docs.github.com/enterprise-cloud@latest//developers/apps/guides/creating-ci-tests-with-the-checks-api).\"", + "summary": "This event occurs when there is activity relating to a check run. For information about check runs, see \"[Getting started with the Checks API](https://docs.github.com/enterprise-cloud@latest/rest/guides/getting-started-with-the-checks-api).\" For information about the APIs to manage check runs, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest/graphql/reference/objects#checkrun) or \"[Check Runs](https://docs.github.com/enterprise-cloud@latest/rest/checks/runs)\" in the REST API documentation.\n\nFor activity relating to check suites, use the `check-suite` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Checks\" repository permission. To receive the `rerequested` and `requested_action` event types, the app must have at least write-level access for the \"Checks\" permission. GitHub Apps with write-level access for the \"Checks\" permission are automatically subscribed to this webhook event.\n\nRepository and organization webhooks only receive payloads for the `created` and `completed` event types in repositories.\n\n> [!NOTE]\n> The API only looks for pushes in the repository where the check run was created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`.", + "description": "A check run completed, and someone requested a followup action that your app provides. Only the GitHub App someone requests to perform an action will receive the `requested_action` payload. For more information, see \"[Creating CI tests with the Checks API](https://docs.github.com/enterprise-cloud@latest/developers/apps/guides/creating-ci-tests-with-the-checks-api).\"", "operationId": "check-run/requested-action", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#check_run" + "url": "https://docs.github.com/enterprise-cloud@latest/webhooks/webhook-events-and-payloads#check_run" }, "parameters": [ { @@ -819713,7 +820644,7 @@ }, "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).\"", + "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": { @@ -819734,7 +820665,7 @@ }, "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).\"", + "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": { @@ -821615,11 +822546,11 @@ }, "check-run-rerequested": { "post": { - "summary": "This event occurs when there is activity relating to a check run. For information about check runs, see \"[Getting started with the Checks API](https://docs.github.com/enterprise-cloud@latest//rest/guides/getting-started-with-the-checks-api).\" For information about the APIs to manage check runs, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#checkrun) or \"[Check Runs](https://docs.github.com/enterprise-cloud@latest//rest/checks/runs)\" in the REST API documentation.\n\nFor activity relating to check suites, use the `check-suite` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Checks\" repository permission. To receive the `rerequested` and `requested_action` event types, the app must have at least write-level access for the \"Checks\" permission. GitHub Apps with write-level access for the \"Checks\" permission are automatically subscribed to this webhook event.\n\nRepository and organization webhooks only receive payloads for the `created` and `completed` event types in repositories.\n\n> [!NOTE]\n> The API only looks for pushes in the repository where the check run was created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`.", + "summary": "This event occurs when there is activity relating to a check run. For information about check runs, see \"[Getting started with the Checks API](https://docs.github.com/enterprise-cloud@latest/rest/guides/getting-started-with-the-checks-api).\" For information about the APIs to manage check runs, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest/graphql/reference/objects#checkrun) or \"[Check Runs](https://docs.github.com/enterprise-cloud@latest/rest/checks/runs)\" in the REST API documentation.\n\nFor activity relating to check suites, use the `check-suite` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Checks\" repository permission. To receive the `rerequested` and `requested_action` event types, the app must have at least write-level access for the \"Checks\" permission. GitHub Apps with write-level access for the \"Checks\" permission are automatically subscribed to this webhook event.\n\nRepository and organization webhooks only receive payloads for the `created` and `completed` event types in repositories.\n\n> [!NOTE]\n> The API only looks for pushes in the repository where the check run was created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`.", "description": "Someone requested to re-run a check run. Only the GitHub App that someone requests to re-run the check will receive the `rerequested` payload.", "operationId": "check-run/rerequested", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#check_run" + "url": "https://docs.github.com/enterprise-cloud@latest/webhooks/webhook-events-and-payloads#check_run" }, "parameters": [ { @@ -823871,7 +824802,7 @@ }, "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).\"", + "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": { @@ -823892,7 +824823,7 @@ }, "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).\"", + "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": { @@ -825760,11 +826691,11 @@ }, "check-suite-completed": { "post": { - "summary": "This event occurs when there is activity relating to a check suite. For information about check suites, see \"[Getting started with the Checks API](https://docs.github.com/enterprise-cloud@latest//rest/guides/getting-started-with-the-checks-api).\" For information about the APIs to manage check suites, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#checksuite) or \"[Check Suites](https://docs.github.com/enterprise-cloud@latest//rest/checks/suites)\" in the REST API documentation.\n\nFor activity relating to check runs, use the `check_run` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Checks\" permission. To receive the `requested` and `rerequested` event types, the app must have at least write-level access for the \"Checks\" permission. GitHub Apps with write-level access for the \"Checks\" permission are automatically subscribed to this webhook event.\n\nRepository and organization webhooks only receive payloads for the `completed` event types in repositories.\n\n> [!NOTE]\n> The API only looks for pushes in the repository where the check suite was created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`.", + "summary": "This event occurs when there is activity relating to a check suite. For information about check suites, see \"[Getting started with the Checks API](https://docs.github.com/enterprise-cloud@latest/rest/guides/getting-started-with-the-checks-api).\" For information about the APIs to manage check suites, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest/graphql/reference/objects#checksuite) or \"[Check Suites](https://docs.github.com/enterprise-cloud@latest/rest/checks/suites)\" in the REST API documentation.\n\nFor activity relating to check runs, use the `check_run` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Checks\" permission. To receive the `requested` and `rerequested` event types, the app must have at least write-level access for the \"Checks\" permission. GitHub Apps with write-level access for the \"Checks\" permission are automatically subscribed to this webhook event.\n\nRepository and organization webhooks only receive payloads for the `completed` event types in repositories.\n\n> [!NOTE]\n> The API only looks for pushes in the repository where the check suite was created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`.", "description": "All check runs in a check suite have completed, and a conclusion is available.", "operationId": "check-suite/completed", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#check_suite" + "url": "https://docs.github.com/enterprise-cloud@latest/webhooks/webhook-events-and-payloads#check_suite" }, "parameters": [ { @@ -825839,7 +826770,7 @@ ] }, "check_suite": { - "description": "The [check_suite](https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#get-a-check-suite).", + "description": "The [check_suite](https://docs.github.com/enterprise-cloud@latest/rest/checks/suites#get-a-check-suite).", "type": "object", "properties": { "after": { @@ -826588,7 +827519,7 @@ }, "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).\"", + "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": { @@ -826656,7 +827587,7 @@ }, "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).\"", + "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": { @@ -828133,11 +829064,11 @@ }, "check-suite-requested": { "post": { - "summary": "This event occurs when there is activity relating to a check suite. For information about check suites, see \"[Getting started with the Checks API](https://docs.github.com/enterprise-cloud@latest//rest/guides/getting-started-with-the-checks-api).\" For information about the APIs to manage check suites, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#checksuite) or \"[Check Suites](https://docs.github.com/enterprise-cloud@latest//rest/checks/suites)\" in the REST API documentation.\n\nFor activity relating to check runs, use the `check_run` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Checks\" permission. To receive the `requested` and `rerequested` event types, the app must have at least write-level access for the \"Checks\" permission. GitHub Apps with write-level access for the \"Checks\" permission are automatically subscribed to this webhook event.\n\nRepository and organization webhooks only receive payloads for the `completed` event types in repositories.\n\n> [!NOTE]\n> The API only looks for pushes in the repository where the check suite was created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`.", - "description": "Someone requested to run a check suite. By default, check suites are automatically created when you create a check run. For more information, see [the GraphQL API documentation for creating a check run](https://docs.github.com/enterprise-cloud@latest//graphql/reference/mutations#createcheckrun) or \"[Create a check run](https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#create-a-check-run)\" in the REST API documentation.", + "summary": "This event occurs when there is activity relating to a check suite. For information about check suites, see \"[Getting started with the Checks API](https://docs.github.com/enterprise-cloud@latest/rest/guides/getting-started-with-the-checks-api).\" For information about the APIs to manage check suites, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest/graphql/reference/objects#checksuite) or \"[Check Suites](https://docs.github.com/enterprise-cloud@latest/rest/checks/suites)\" in the REST API documentation.\n\nFor activity relating to check runs, use the `check_run` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Checks\" permission. To receive the `requested` and `rerequested` event types, the app must have at least write-level access for the \"Checks\" permission. GitHub Apps with write-level access for the \"Checks\" permission are automatically subscribed to this webhook event.\n\nRepository and organization webhooks only receive payloads for the `completed` event types in repositories.\n\n> [!NOTE]\n> The API only looks for pushes in the repository where the check suite was created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`.", + "description": "Someone requested to run a check suite. By default, check suites are automatically created when you create a check run. For more information, see [the GraphQL API documentation for creating a check run](https://docs.github.com/enterprise-cloud@latest/graphql/reference/mutations#createcheckrun) or \"[Create a check run](https://docs.github.com/enterprise-cloud@latest/rest/checks/runs#create-a-check-run)\" in the REST API documentation.", "operationId": "check-suite/requested", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#check_suite" + "url": "https://docs.github.com/enterprise-cloud@latest/webhooks/webhook-events-and-payloads#check_suite" }, "parameters": [ { @@ -828212,7 +829143,7 @@ ] }, "check_suite": { - "description": "The [check_suite](https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#get-a-check-suite).", + "description": "The [check_suite](https://docs.github.com/enterprise-cloud@latest/rest/checks/suites#get-a-check-suite).", "type": "object", "properties": { "after": { @@ -828994,7 +829925,7 @@ }, "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).\"", + "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": { @@ -829062,7 +829993,7 @@ }, "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).\"", + "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": { @@ -830539,11 +831470,11 @@ }, "check-suite-rerequested": { "post": { - "summary": "This event occurs when there is activity relating to a check suite. For information about check suites, see \"[Getting started with the Checks API](https://docs.github.com/enterprise-cloud@latest//rest/guides/getting-started-with-the-checks-api).\" For information about the APIs to manage check suites, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#checksuite) or \"[Check Suites](https://docs.github.com/enterprise-cloud@latest//rest/checks/suites)\" in the REST API documentation.\n\nFor activity relating to check runs, use the `check_run` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Checks\" permission. To receive the `requested` and `rerequested` event types, the app must have at least write-level access for the \"Checks\" permission. GitHub Apps with write-level access for the \"Checks\" permission are automatically subscribed to this webhook event.\n\nRepository and organization webhooks only receive payloads for the `completed` event types in repositories.\n\n> [!NOTE]\n> The API only looks for pushes in the repository where the check suite was created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`.", - "description": "Someone requested to re-run the check runs in a check suite. For more information, see [the GraphQL API documentation for creating a check suite](https://docs.github.com/enterprise-cloud@latest//graphql/reference/mutations#createchecksuite) or \"[Create a check suite](https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#create-a-check-suite)\" in the REST API documentation.", + "summary": "This event occurs when there is activity relating to a check suite. For information about check suites, see \"[Getting started with the Checks API](https://docs.github.com/enterprise-cloud@latest/rest/guides/getting-started-with-the-checks-api).\" For information about the APIs to manage check suites, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest/graphql/reference/objects#checksuite) or \"[Check Suites](https://docs.github.com/enterprise-cloud@latest/rest/checks/suites)\" in the REST API documentation.\n\nFor activity relating to check runs, use the `check_run` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Checks\" permission. To receive the `requested` and `rerequested` event types, the app must have at least write-level access for the \"Checks\" permission. GitHub Apps with write-level access for the \"Checks\" permission are automatically subscribed to this webhook event.\n\nRepository and organization webhooks only receive payloads for the `completed` event types in repositories.\n\n> [!NOTE]\n> The API only looks for pushes in the repository where the check suite was created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`.", + "description": "Someone requested to re-run the check runs in a check suite. For more information, see [the GraphQL API documentation for creating a check suite](https://docs.github.com/enterprise-cloud@latest/graphql/reference/mutations#createchecksuite) or \"[Create a check suite](https://docs.github.com/enterprise-cloud@latest/rest/checks/suites#create-a-check-suite)\" in the REST API documentation.", "operationId": "check-suite/rerequested", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#check_suite" + "url": "https://docs.github.com/enterprise-cloud@latest/webhooks/webhook-events-and-payloads#check_suite" }, "parameters": [ { @@ -830618,7 +831549,7 @@ ] }, "check_suite": { - "description": "The [check_suite](https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#get-a-check-suite).", + "description": "The [check_suite](https://docs.github.com/enterprise-cloud@latest/rest/checks/suites#get-a-check-suite).", "type": "object", "properties": { "after": { @@ -831394,7 +832325,7 @@ }, "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).\"", + "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": { @@ -831462,7 +832393,7 @@ }, "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).\"", + "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": { @@ -832939,11 +833870,11 @@ }, "code-scanning-alert-appeared-in-branch": { "post": { - "summary": "This event occurs when there is activity relating to code scanning alerts in a repository. For more information, see \"[About code scanning](https://docs.github.com/enterprise-cloud@latest//code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/about-code-scanning)\" and \"[About code scanning alerts](https://docs.github.com/enterprise-cloud@latest//code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/about-code-scanning-alerts).\" For information about the API to manage code scanning, see \"[Code scanning](https://docs.github.com/enterprise-cloud@latest//rest/code-scanning)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Code scanning alerts\" repository permission.", + "summary": "This event occurs when there is activity relating to code scanning alerts in a repository. For more information, see \"[About code scanning](https://docs.github.com/enterprise-cloud@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/about-code-scanning)\" and \"[About code scanning alerts](https://docs.github.com/enterprise-cloud@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/about-code-scanning-alerts).\" For information about the API to manage code scanning, see \"[Code scanning](https://docs.github.com/enterprise-cloud@latest/rest/code-scanning)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Code scanning alerts\" repository permission.", "description": "A previously created code scanning alert appeared in another branch. This can happen when a branch is merged into or created from a branch with a pre-existing code scanning alert.", "operationId": "code-scanning-alert/appeared-in-branch", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#code_scanning_alert" + "url": "https://docs.github.com/enterprise-cloud@latest/webhooks/webhook-events-and-payloads#code_scanning_alert" }, "parameters": [ { @@ -833441,7 +834372,7 @@ }, "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).\"", + "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": { @@ -833509,7 +834440,7 @@ }, "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).\"", + "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": { @@ -834992,11 +835923,11 @@ }, "code-scanning-alert-closed-by-user": { "post": { - "summary": "This event occurs when there is activity relating to code scanning alerts in a repository. For more information, see \"[About code scanning](https://docs.github.com/enterprise-cloud@latest//code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/about-code-scanning)\" and \"[About code scanning alerts](https://docs.github.com/enterprise-cloud@latest//code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/about-code-scanning-alerts).\" For information about the API to manage code scanning, see \"[Code scanning](https://docs.github.com/enterprise-cloud@latest//rest/code-scanning)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Code scanning alerts\" repository permission.", + "summary": "This event occurs when there is activity relating to code scanning alerts in a repository. For more information, see \"[About code scanning](https://docs.github.com/enterprise-cloud@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/about-code-scanning)\" and \"[About code scanning alerts](https://docs.github.com/enterprise-cloud@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/about-code-scanning-alerts).\" For information about the API to manage code scanning, see \"[Code scanning](https://docs.github.com/enterprise-cloud@latest/rest/code-scanning)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Code scanning alerts\" repository permission.", "description": "Someone closed a code scanning alert.", "operationId": "code-scanning-alert/closed-by-user", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#code_scanning_alert" + "url": "https://docs.github.com/enterprise-cloud@latest/webhooks/webhook-events-and-payloads#code_scanning_alert" }, "parameters": [ { @@ -835612,7 +836543,7 @@ }, "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).\"", + "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": { @@ -835680,7 +836611,7 @@ }, "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).\"", + "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": { @@ -837163,11 +838094,11 @@ }, "code-scanning-alert-created": { "post": { - "summary": "This event occurs when there is activity relating to code scanning alerts in a repository. For more information, see \"[About code scanning](https://docs.github.com/enterprise-cloud@latest//code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/about-code-scanning)\" and \"[About code scanning alerts](https://docs.github.com/enterprise-cloud@latest//code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/about-code-scanning-alerts).\" For information about the API to manage code scanning, see \"[Code scanning](https://docs.github.com/enterprise-cloud@latest//rest/code-scanning)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Code scanning alerts\" repository permission.", + "summary": "This event occurs when there is activity relating to code scanning alerts in a repository. For more information, see \"[About code scanning](https://docs.github.com/enterprise-cloud@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/about-code-scanning)\" and \"[About code scanning alerts](https://docs.github.com/enterprise-cloud@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/about-code-scanning-alerts).\" For information about the API to manage code scanning, see \"[Code scanning](https://docs.github.com/enterprise-cloud@latest/rest/code-scanning)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Code scanning alerts\" repository permission.", "description": "A code scanning alert was created in a repository.", "operationId": "code-scanning-alert/created", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#code_scanning_alert" + "url": "https://docs.github.com/enterprise-cloud@latest/webhooks/webhook-events-and-payloads#code_scanning_alert" }, "parameters": [ { @@ -837601,7 +838532,7 @@ }, "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).\"", + "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": { @@ -837669,7 +838600,7 @@ }, "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).\"", + "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": { @@ -839152,11 +840083,11 @@ }, "code-scanning-alert-fixed": { "post": { - "summary": "This event occurs when there is activity relating to code scanning alerts in a repository. For more information, see \"[About code scanning](https://docs.github.com/enterprise-cloud@latest//code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/about-code-scanning)\" and \"[About code scanning alerts](https://docs.github.com/enterprise-cloud@latest//code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/about-code-scanning-alerts).\" For information about the API to manage code scanning, see \"[Code scanning](https://docs.github.com/enterprise-cloud@latest//rest/code-scanning)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Code scanning alerts\" repository permission.", + "summary": "This event occurs when there is activity relating to code scanning alerts in a repository. For more information, see \"[About code scanning](https://docs.github.com/enterprise-cloud@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/about-code-scanning)\" and \"[About code scanning alerts](https://docs.github.com/enterprise-cloud@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/about-code-scanning-alerts).\" For information about the API to manage code scanning, see \"[Code scanning](https://docs.github.com/enterprise-cloud@latest/rest/code-scanning)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Code scanning alerts\" repository permission.", "description": "A code scanning alert was fixed in a branch by a commit.", "operationId": "code-scanning-alert/fixed", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#code_scanning_alert" + "url": "https://docs.github.com/enterprise-cloud@latest/webhooks/webhook-events-and-payloads#code_scanning_alert" }, "parameters": [ { @@ -839682,7 +840613,7 @@ }, "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).\"", + "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": { @@ -839750,7 +840681,7 @@ }, "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).\"", + "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": { @@ -841233,11 +842164,11 @@ }, "code-scanning-alert-reopened": { "post": { - "summary": "This event occurs when there is activity relating to code scanning alerts in a repository. For more information, see \"[About code scanning](https://docs.github.com/enterprise-cloud@latest//code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/about-code-scanning)\" and \"[About code scanning alerts](https://docs.github.com/enterprise-cloud@latest//code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/about-code-scanning-alerts).\" For information about the API to manage code scanning, see \"[Code scanning](https://docs.github.com/enterprise-cloud@latest//rest/code-scanning)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Code scanning alerts\" repository permission.", + "summary": "This event occurs when there is activity relating to code scanning alerts in a repository. For more information, see \"[About code scanning](https://docs.github.com/enterprise-cloud@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/about-code-scanning)\" and \"[About code scanning alerts](https://docs.github.com/enterprise-cloud@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/about-code-scanning-alerts).\" For information about the API to manage code scanning, see \"[Code scanning](https://docs.github.com/enterprise-cloud@latest/rest/code-scanning)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Code scanning alerts\" repository permission.", "description": "A previously fixed code scanning alert reappeared in a branch.", "operationId": "code-scanning-alert/reopened", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#code_scanning_alert" + "url": "https://docs.github.com/enterprise-cloud@latest/webhooks/webhook-events-and-payloads#code_scanning_alert" }, "parameters": [ { @@ -841674,7 +842605,7 @@ }, "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).\"", + "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": { @@ -841742,7 +842673,7 @@ }, "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).\"", + "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": { @@ -843226,11 +844157,11 @@ }, "code-scanning-alert-reopened-by-user": { "post": { - "summary": "This event occurs when there is activity relating to code scanning alerts in a repository. For more information, see \"[About code scanning](https://docs.github.com/enterprise-cloud@latest//code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/about-code-scanning)\" and \"[About code scanning alerts](https://docs.github.com/enterprise-cloud@latest//code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/about-code-scanning-alerts).\" For information about the API to manage code scanning, see \"[Code scanning](https://docs.github.com/enterprise-cloud@latest//rest/code-scanning)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Code scanning alerts\" repository permission.", + "summary": "This event occurs when there is activity relating to code scanning alerts in a repository. For more information, see \"[About code scanning](https://docs.github.com/enterprise-cloud@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/about-code-scanning)\" and \"[About code scanning alerts](https://docs.github.com/enterprise-cloud@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/about-code-scanning-alerts).\" For information about the API to manage code scanning, see \"[Code scanning](https://docs.github.com/enterprise-cloud@latest/rest/code-scanning)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Code scanning alerts\" repository permission.", "description": "Someone reopened a code scanning alert.", "operationId": "code-scanning-alert/reopened-by-user", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#code_scanning_alert" + "url": "https://docs.github.com/enterprise-cloud@latest/webhooks/webhook-events-and-payloads#code_scanning_alert" }, "parameters": [ { @@ -843626,7 +844557,7 @@ }, "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).\"", + "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": { @@ -843694,7 +844625,7 @@ }, "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).\"", + "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": { @@ -845177,11 +846108,11 @@ }, "code-scanning-alert-updated-assignment": { "post": { - "summary": "This event occurs when there is activity relating to code scanning alerts in a repository. For more information, see \"[About code scanning](https://docs.github.com/enterprise-cloud@latest//code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/about-code-scanning)\" and \"[About code scanning alerts](https://docs.github.com/enterprise-cloud@latest//code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/about-code-scanning-alerts).\" For information about the API to manage code scanning, see \"[Code scanning](https://docs.github.com/enterprise-cloud@latest//rest/code-scanning)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Code scanning alerts\" repository permission.", + "summary": "This event occurs when there is activity relating to code scanning alerts in a repository. For more information, see \"[About code scanning](https://docs.github.com/enterprise-cloud@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/about-code-scanning)\" and \"[About code scanning alerts](https://docs.github.com/enterprise-cloud@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/about-code-scanning-alerts).\" For information about the API to manage code scanning, see \"[Code scanning](https://docs.github.com/enterprise-cloud@latest/rest/code-scanning)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Code scanning alerts\" repository permission.", "description": "The assignees list of a code scanning alert has been updated.", "operationId": "code-scanning-alert/updated-assignment", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#code_scanning_alert" + "url": "https://docs.github.com/enterprise-cloud@latest/webhooks/webhook-events-and-payloads#code_scanning_alert" }, "parameters": [ { @@ -845675,7 +846606,7 @@ }, "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).\"", + "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": { @@ -845743,7 +846674,7 @@ }, "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).\"", + "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": { @@ -847220,11 +848151,11 @@ }, "commit-comment-created": { "post": { - "summary": "This event occurs when there is activity relating to commit comments. For more information about commit comments, see \"[Commenting on a pull request](https://docs.github.com/enterprise-cloud@latest//pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/commenting-on-a-pull-request).\" For information about the APIs to manage commit comments, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#commitcomment) or \"[Commit comments](https://docs.github.com/enterprise-cloud@latest//rest/commits/comments)\" in the REST API documentation.\n\nFor activity relating to comments on pull request reviews, use the `pull_request_review_comment` event. For activity relating to issue comments, use the `issue_comment` event. For activity relating to discussion comments, use the `discussion_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Contents\" repository permission.", + "summary": "This event occurs when there is activity relating to commit comments. For more information about commit comments, see \"[Commenting on a pull request](https://docs.github.com/enterprise-cloud@latest/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/commenting-on-a-pull-request).\" For information about the APIs to manage commit comments, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest/graphql/reference/objects#commitcomment) or \"[Commit comments](https://docs.github.com/enterprise-cloud@latest/rest/commits/comments)\" in the REST API documentation.\n\nFor activity relating to comments on pull request reviews, use the `pull_request_review_comment` event. For activity relating to issue comments, use the `issue_comment` event. For activity relating to discussion comments, use the `discussion_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Contents\" repository permission.", "description": "Someone commented on a commit.", "operationId": "commit-comment/created", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#commit_comment" + "url": "https://docs.github.com/enterprise-cloud@latest/webhooks/webhook-events-and-payloads#commit_comment" }, "parameters": [ { @@ -847527,7 +848458,7 @@ }, "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).\"", + "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": { @@ -847595,7 +848526,7 @@ }, "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).\"", + "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": { @@ -849075,7 +850006,7 @@ "summary": "This event occurs when a Git branch or tag is created.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Contents\" repository permission.\n\n**Notes**:\n- This event will not occur when more than three tags are created at once.\n- Payloads are capped at 25 MB. If an event generates a larger payload, GitHub will not deliver a payload for that webhook event. This may happen, for example, if many branches or tags are pushed at once. We suggest monitoring your payload size to ensure delivery.", "operationId": "create", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#create" + "url": "https://docs.github.com/enterprise-cloud@latest/webhooks/webhook-events-and-payloads#create" }, "parameters": [ { @@ -849150,7 +850081,7 @@ }, "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).\"", + "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": { @@ -849218,7 +850149,7 @@ }, "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).\"", + "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": { @@ -849319,7 +850250,7 @@ "type": "string" }, "ref": { - "description": "The [`git ref`](https://docs.github.com/enterprise-cloud@latest//rest/git/refs#get-a-reference) resource.", + "description": "The [`git ref`](https://docs.github.com/enterprise-cloud@latest/rest/git/refs#get-a-reference) resource.", "type": "string" }, "ref_type": { @@ -850718,11 +851649,11 @@ }, "custom-property-created": { "post": { - "summary": "This event occurs when there is activity relating to a custom property.\n\nFor more information, see \"[Managing custom properties for repositories in your organization](https://docs.github.com/enterprise-cloud@latest//organizations/managing-organization-settings/managing-custom-properties-for-repositories-in-your-organization)\". For information about the APIs to manage custom properties, see \"[Custom properties](https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-properties)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Custom properties\" organization permission.", + "summary": "This event occurs when there is activity relating to a custom property.\n\nFor more information, see \"[Managing custom properties for repositories in your organization](https://docs.github.com/enterprise-cloud@latest/organizations/managing-organization-settings/managing-custom-properties-for-repositories-in-your-organization)\". For information about the APIs to manage custom properties, see \"[Custom properties](https://docs.github.com/enterprise-cloud@latest/rest/orgs/custom-properties)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Custom properties\" organization permission.", "description": "A new custom property was created.", "operationId": "custom-property/created", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#custom_property" + "url": "https://docs.github.com/enterprise-cloud@latest/webhooks/webhook-events-and-payloads#custom_property" }, "parameters": [ { @@ -850885,7 +851816,7 @@ }, "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).\"", + "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": { @@ -850953,7 +851884,7 @@ }, "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).\"", + "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": { @@ -851197,11 +852128,11 @@ }, "custom-property-deleted": { "post": { - "summary": "This event occurs when there is activity relating to a custom property.\n\nFor more information, see \"[Managing custom properties for repositories in your organization](https://docs.github.com/enterprise-cloud@latest//organizations/managing-organization-settings/managing-custom-properties-for-repositories-in-your-organization)\". For information about the APIs to manage custom properties, see \"[Custom properties](https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-properties)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Custom properties\" organization permission.", + "summary": "This event occurs when there is activity relating to a custom property.\n\nFor more information, see \"[Managing custom properties for repositories in your organization](https://docs.github.com/enterprise-cloud@latest/organizations/managing-organization-settings/managing-custom-properties-for-repositories-in-your-organization)\". For information about the APIs to manage custom properties, see \"[Custom properties](https://docs.github.com/enterprise-cloud@latest/rest/orgs/custom-properties)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Custom properties\" organization permission.", "description": "A custom property was deleted.", "operationId": "custom-property/deleted", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#custom_property" + "url": "https://docs.github.com/enterprise-cloud@latest/webhooks/webhook-events-and-payloads#custom_property" }, "parameters": [ { @@ -851289,7 +852220,7 @@ }, "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).\"", + "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": { @@ -851357,7 +852288,7 @@ }, "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).\"", + "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": { @@ -851601,11 +852532,11 @@ }, "custom-property-promoted-to-enterprise": { "post": { - "summary": "This event occurs when there is activity relating to a custom property.\n\nFor more information, see \"[Managing custom properties for repositories in your organization](https://docs.github.com/enterprise-cloud@latest//organizations/managing-organization-settings/managing-custom-properties-for-repositories-in-your-organization)\". For information about the APIs to manage custom properties, see \"[Custom properties](https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-properties)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Custom properties\" organization permission.", + "summary": "This event occurs when there is activity relating to a custom property.\n\nFor more information, see \"[Managing custom properties for repositories in your organization](https://docs.github.com/enterprise-cloud@latest/organizations/managing-organization-settings/managing-custom-properties-for-repositories-in-your-organization)\". For information about the APIs to manage custom properties, see \"[Custom properties](https://docs.github.com/enterprise-cloud@latest/rest/orgs/custom-properties)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Custom properties\" organization permission.", "description": "A custom property was promoted to an enterprise.", "operationId": "custom-property/promote-to-enterprise", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#custom_property" + "url": "https://docs.github.com/enterprise-cloud@latest/webhooks/webhook-events-and-payloads#custom_property" }, "parameters": [ { @@ -851768,7 +852699,7 @@ }, "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).\"", + "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": { @@ -851836,7 +852767,7 @@ }, "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).\"", + "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": { @@ -852080,11 +853011,11 @@ }, "custom-property-updated": { "post": { - "summary": "This event occurs when there is activity relating to a custom property.\n\nFor more information, see \"[Managing custom properties for repositories in your organization](https://docs.github.com/enterprise-cloud@latest//organizations/managing-organization-settings/managing-custom-properties-for-repositories-in-your-organization)\". For information about the APIs to manage custom properties, see \"[Custom properties](https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-properties)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Custom properties\" organization permission.", + "summary": "This event occurs when there is activity relating to a custom property.\n\nFor more information, see \"[Managing custom properties for repositories in your organization](https://docs.github.com/enterprise-cloud@latest/organizations/managing-organization-settings/managing-custom-properties-for-repositories-in-your-organization)\". For information about the APIs to manage custom properties, see \"[Custom properties](https://docs.github.com/enterprise-cloud@latest/rest/orgs/custom-properties)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Custom properties\" organization permission.", "description": "A custom property was updated.", "operationId": "custom-property/updated", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#custom_property" + "url": "https://docs.github.com/enterprise-cloud@latest/webhooks/webhook-events-and-payloads#custom_property" }, "parameters": [ { @@ -852247,7 +853178,7 @@ }, "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).\"", + "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": { @@ -852315,7 +853246,7 @@ }, "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).\"", + "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": { @@ -852559,11 +853490,11 @@ }, "custom-property-values-updated": { "post": { - "summary": "This event occurs when there is activity relating to custom property values for a repository.\n\nFor more information, see \"[Managing custom properties for repositories in your organization](https://docs.github.com/enterprise-cloud@latest//organizations/managing-organization-settings/managing-custom-properties-for-repositories-in-your-organization)\". For information about the APIs to manage custom properties for a repository, see \"[Custom properties](https://docs.github.com/enterprise-cloud@latest//rest/repos/custom-properties)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Custom properties\" organization permission.", + "summary": "This event occurs when there is activity relating to custom property values for a repository.\n\nFor more information, see \"[Managing custom properties for repositories in your organization](https://docs.github.com/enterprise-cloud@latest/organizations/managing-organization-settings/managing-custom-properties-for-repositories-in-your-organization)\". For information about the APIs to manage custom properties for a repository, see \"[Custom properties](https://docs.github.com/enterprise-cloud@latest/rest/repos/custom-properties)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Custom properties\" organization permission.", "description": "The custom property values of a repository were updated.", "operationId": "custom-property-values/updated", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#custom-property-values" + "url": "https://docs.github.com/enterprise-cloud@latest/webhooks/webhook-events-and-payloads#custom-property-values" }, "parameters": [ { @@ -852639,7 +853570,7 @@ }, "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).\"", + "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": { @@ -852707,7 +853638,7 @@ }, "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).\"", + "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": { @@ -854256,7 +855187,7 @@ "summary": "This event occurs when a Git branch or tag is deleted. To subscribe to all pushes to a repository, including\nbranch and tag deletions, use the [`push`](#push) webhook event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Contents\" repository permission.\n\n> [!NOTE]\n> This event will not occur when more than three tags are deleted at once.", "operationId": "delete", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#delete" + "url": "https://docs.github.com/enterprise-cloud@latest/webhooks/webhook-events-and-payloads#delete" }, "parameters": [ { @@ -854326,7 +855257,7 @@ "properties": { "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).\"", + "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": { @@ -854394,7 +855325,7 @@ }, "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).\"", + "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": { @@ -854491,7 +855422,7 @@ "type": "string" }, "ref": { - "description": "The [`git ref`](https://docs.github.com/enterprise-cloud@latest//rest/git/refs#get-a-reference) resource.", + "description": "The [`git ref`](https://docs.github.com/enterprise-cloud@latest/rest/git/refs#get-a-reference) resource.", "type": "string" }, "ref_type": { @@ -855888,11 +856819,11 @@ }, "dependabot-alert-assignees-changed": { "post": { - "summary": "This event occurs when there is activity relating to Dependabot alerts.\n\nFor more information about Dependabot alerts, see \"[About Dependabot alerts](https://docs.github.com/enterprise-cloud@latest//code-security/dependabot/dependabot-alerts/about-dependabot-alerts).\" For information about the API to manage Dependabot alerts, see \"[Dependabot alerts](https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Dependabot alerts\" repository permission.", + "summary": "This event occurs when there is activity relating to Dependabot alerts.\n\nFor more information about Dependabot alerts, see \"[About Dependabot alerts](https://docs.github.com/enterprise-cloud@latest/code-security/dependabot/dependabot-alerts/about-dependabot-alerts).\" For information about the API to manage Dependabot alerts, see \"[Dependabot alerts](https://docs.github.com/enterprise-cloud@latest/rest/dependabot/alerts)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Dependabot alerts\" repository permission.", "description": "The assignees for a Dependabot alert were updated.", "operationId": "dependabot-alert/assignees-changed", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#dependabot_alert" + "url": "https://docs.github.com/enterprise-cloud@latest/webhooks/webhook-events-and-payloads#dependabot_alert" }, "parameters": [ { @@ -856828,7 +857759,7 @@ }, "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).\"", + "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": { @@ -856922,7 +857853,7 @@ }, "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).\"", + "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": { @@ -858373,11 +859304,11 @@ }, "dependabot-alert-auto-dismissed": { "post": { - "summary": "This event occurs when there is activity relating to Dependabot alerts.\n\nFor more information about Dependabot alerts, see \"[About Dependabot alerts](https://docs.github.com/enterprise-cloud@latest//code-security/dependabot/dependabot-alerts/about-dependabot-alerts).\" For information about the API to manage Dependabot alerts, see \"[Dependabot alerts](https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Dependabot alerts\" repository permission.", + "summary": "This event occurs when there is activity relating to Dependabot alerts.\n\nFor more information about Dependabot alerts, see \"[About Dependabot alerts](https://docs.github.com/enterprise-cloud@latest/code-security/dependabot/dependabot-alerts/about-dependabot-alerts).\" For information about the API to manage Dependabot alerts, see \"[Dependabot alerts](https://docs.github.com/enterprise-cloud@latest/rest/dependabot/alerts)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Dependabot alerts\" repository permission.", "description": "A Dependabot alert was automatically closed by a Dependabot auto-triage rule.", "operationId": "dependabot-alert/auto-dismissed", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#dependabot_alert" + "url": "https://docs.github.com/enterprise-cloud@latest/webhooks/webhook-events-and-payloads#dependabot_alert" }, "parameters": [ { @@ -859313,7 +860244,7 @@ }, "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).\"", + "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": { @@ -859407,7 +860338,7 @@ }, "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).\"", + "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": { @@ -860858,11 +861789,11 @@ }, "dependabot-alert-auto-reopened": { "post": { - "summary": "This event occurs when there is activity relating to Dependabot alerts.\n\nFor more information about Dependabot alerts, see \"[About Dependabot alerts](https://docs.github.com/enterprise-cloud@latest//code-security/dependabot/dependabot-alerts/about-dependabot-alerts).\" For information about the API to manage Dependabot alerts, see \"[Dependabot alerts](https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Dependabot alerts\" repository permission.", + "summary": "This event occurs when there is activity relating to Dependabot alerts.\n\nFor more information about Dependabot alerts, see \"[About Dependabot alerts](https://docs.github.com/enterprise-cloud@latest/code-security/dependabot/dependabot-alerts/about-dependabot-alerts).\" For information about the API to manage Dependabot alerts, see \"[Dependabot alerts](https://docs.github.com/enterprise-cloud@latest/rest/dependabot/alerts)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Dependabot alerts\" repository permission.", "description": "A Dependabot alert, that had been automatically closed by a Dependabot auto-triage rule, was automatically reopened because the alert metadata or rule changed.", "operationId": "dependabot-alert/auto-reopened", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#dependabot_alert" + "url": "https://docs.github.com/enterprise-cloud@latest/webhooks/webhook-events-and-payloads#dependabot_alert" }, "parameters": [ { @@ -861798,7 +862729,7 @@ }, "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).\"", + "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": { @@ -861892,7 +862823,7 @@ }, "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).\"", + "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": { @@ -863343,11 +864274,11 @@ }, "dependabot-alert-created": { "post": { - "summary": "This event occurs when there is activity relating to Dependabot alerts.\n\nFor more information about Dependabot alerts, see \"[About Dependabot alerts](https://docs.github.com/enterprise-cloud@latest//code-security/dependabot/dependabot-alerts/about-dependabot-alerts).\" For information about the API to manage Dependabot alerts, see \"[Dependabot alerts](https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Dependabot alerts\" repository permission.", + "summary": "This event occurs when there is activity relating to Dependabot alerts.\n\nFor more information about Dependabot alerts, see \"[About Dependabot alerts](https://docs.github.com/enterprise-cloud@latest/code-security/dependabot/dependabot-alerts/about-dependabot-alerts).\" For information about the API to manage Dependabot alerts, see \"[Dependabot alerts](https://docs.github.com/enterprise-cloud@latest/rest/dependabot/alerts)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Dependabot alerts\" repository permission.", "description": "A manifest file change introduced a vulnerable dependency, or a GitHub Security Advisory was published and an existing dependency was found to be vulnerable.", "operationId": "dependabot-alert/created", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#dependabot_alert" + "url": "https://docs.github.com/enterprise-cloud@latest/webhooks/webhook-events-and-payloads#dependabot_alert" }, "parameters": [ { @@ -864283,7 +865214,7 @@ }, "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).\"", + "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": { @@ -864377,7 +865308,7 @@ }, "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).\"", + "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": { @@ -865828,11 +866759,11 @@ }, "dependabot-alert-dismissed": { "post": { - "summary": "This event occurs when there is activity relating to Dependabot alerts.\n\nFor more information about Dependabot alerts, see \"[About Dependabot alerts](https://docs.github.com/enterprise-cloud@latest//code-security/dependabot/dependabot-alerts/about-dependabot-alerts).\" For information about the API to manage Dependabot alerts, see \"[Dependabot alerts](https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Dependabot alerts\" repository permission.", + "summary": "This event occurs when there is activity relating to Dependabot alerts.\n\nFor more information about Dependabot alerts, see \"[About Dependabot alerts](https://docs.github.com/enterprise-cloud@latest/code-security/dependabot/dependabot-alerts/about-dependabot-alerts).\" For information about the API to manage Dependabot alerts, see \"[Dependabot alerts](https://docs.github.com/enterprise-cloud@latest/rest/dependabot/alerts)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Dependabot alerts\" repository permission.", "description": "A Dependabot alert was manually closed.", "operationId": "dependabot-alert/dismissed", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#dependabot_alert" + "url": "https://docs.github.com/enterprise-cloud@latest/webhooks/webhook-events-and-payloads#dependabot_alert" }, "parameters": [ { @@ -866768,7 +867699,7 @@ }, "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).\"", + "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": { @@ -866862,7 +867793,7 @@ }, "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).\"", + "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": { @@ -868313,11 +869244,11 @@ }, "dependabot-alert-fixed": { "post": { - "summary": "This event occurs when there is activity relating to Dependabot alerts.\n\nFor more information about Dependabot alerts, see \"[About Dependabot alerts](https://docs.github.com/enterprise-cloud@latest//code-security/dependabot/dependabot-alerts/about-dependabot-alerts).\" For information about the API to manage Dependabot alerts, see \"[Dependabot alerts](https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Dependabot alerts\" repository permission.", + "summary": "This event occurs when there is activity relating to Dependabot alerts.\n\nFor more information about Dependabot alerts, see \"[About Dependabot alerts](https://docs.github.com/enterprise-cloud@latest/code-security/dependabot/dependabot-alerts/about-dependabot-alerts).\" For information about the API to manage Dependabot alerts, see \"[Dependabot alerts](https://docs.github.com/enterprise-cloud@latest/rest/dependabot/alerts)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Dependabot alerts\" repository permission.", "description": "A manifest file change removed a vulnerability.", "operationId": "dependabot-alert/fixed", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#dependabot_alert" + "url": "https://docs.github.com/enterprise-cloud@latest/webhooks/webhook-events-and-payloads#dependabot_alert" }, "parameters": [ { @@ -869253,7 +870184,7 @@ }, "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).\"", + "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": { @@ -869347,7 +870278,7 @@ }, "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).\"", + "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": { @@ -870798,11 +871729,11 @@ }, "dependabot-alert-reintroduced": { "post": { - "summary": "This event occurs when there is activity relating to Dependabot alerts.\n\nFor more information about Dependabot alerts, see \"[About Dependabot alerts](https://docs.github.com/enterprise-cloud@latest//code-security/dependabot/dependabot-alerts/about-dependabot-alerts).\" For information about the API to manage Dependabot alerts, see \"[Dependabot alerts](https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Dependabot alerts\" repository permission.", + "summary": "This event occurs when there is activity relating to Dependabot alerts.\n\nFor more information about Dependabot alerts, see \"[About Dependabot alerts](https://docs.github.com/enterprise-cloud@latest/code-security/dependabot/dependabot-alerts/about-dependabot-alerts).\" For information about the API to manage Dependabot alerts, see \"[Dependabot alerts](https://docs.github.com/enterprise-cloud@latest/rest/dependabot/alerts)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Dependabot alerts\" repository permission.", "description": "A manifest file change introduced a vulnerable dependency that had previously been fixed.", "operationId": "dependabot-alert/reintroduced", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#dependabot_alert" + "url": "https://docs.github.com/enterprise-cloud@latest/webhooks/webhook-events-and-payloads#dependabot_alert" }, "parameters": [ { @@ -871738,7 +872669,7 @@ }, "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).\"", + "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": { @@ -871832,7 +872763,7 @@ }, "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).\"", + "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": { @@ -873283,11 +874214,11 @@ }, "dependabot-alert-reopened": { "post": { - "summary": "This event occurs when there is activity relating to Dependabot alerts.\n\nFor more information about Dependabot alerts, see \"[About Dependabot alerts](https://docs.github.com/enterprise-cloud@latest//code-security/dependabot/dependabot-alerts/about-dependabot-alerts).\" For information about the API to manage Dependabot alerts, see \"[Dependabot alerts](https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Dependabot alerts\" repository permission.", + "summary": "This event occurs when there is activity relating to Dependabot alerts.\n\nFor more information about Dependabot alerts, see \"[About Dependabot alerts](https://docs.github.com/enterprise-cloud@latest/code-security/dependabot/dependabot-alerts/about-dependabot-alerts).\" For information about the API to manage Dependabot alerts, see \"[Dependabot alerts](https://docs.github.com/enterprise-cloud@latest/rest/dependabot/alerts)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Dependabot alerts\" repository permission.", "description": "A Dependabot alert was manually reopened.", "operationId": "dependabot-alert/reopened", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#dependabot_alert" + "url": "https://docs.github.com/enterprise-cloud@latest/webhooks/webhook-events-and-payloads#dependabot_alert" }, "parameters": [ { @@ -874223,7 +875154,7 @@ }, "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).\"", + "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": { @@ -874317,7 +875248,7 @@ }, "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).\"", + "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": { @@ -875768,11 +876699,11 @@ }, "deploy-key-created": { "post": { - "summary": "This event occurs when there is activity relating to deploy keys. For more information, see \"[Managing deploy keys](https://docs.github.com/enterprise-cloud@latest//developers/overview/managing-deploy-keys).\" For information about the APIs to manage deploy keys, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#deploykey) or \"[Deploy keys](https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Deployments\" repository permission.", + "summary": "This event occurs when there is activity relating to deploy keys. For more information, see \"[Managing deploy keys](https://docs.github.com/enterprise-cloud@latest/developers/overview/managing-deploy-keys).\" For information about the APIs to manage deploy keys, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest/graphql/reference/objects#deploykey) or \"[Deploy keys](https://docs.github.com/enterprise-cloud@latest/rest/deploy-keys)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Deployments\" repository permission.", "description": "A deploy key was created.", "operationId": "deploy-key/created", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#deploy_key" + "url": "https://docs.github.com/enterprise-cloud@latest/webhooks/webhook-events-and-payloads#deploy_key" }, "parameters": [ { @@ -875848,7 +876779,7 @@ }, "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).\"", + "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": { @@ -875916,7 +876847,7 @@ }, "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).\"", + "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": { @@ -875936,7 +876867,7 @@ ] }, "key": { - "description": "The [`deploy key`](https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#get-a-deploy-key) resource.", + "description": "The [`deploy key`](https://docs.github.com/enterprise-cloud@latest/rest/deploy-keys/deploy-keys#get-a-deploy-key) resource.", "type": "object", "properties": { "added_by": { @@ -877441,11 +878372,11 @@ }, "deploy-key-deleted": { "post": { - "summary": "This event occurs when there is activity relating to deploy keys. For more information, see \"[Managing deploy keys](https://docs.github.com/enterprise-cloud@latest//developers/overview/managing-deploy-keys).\" For information about the APIs to manage deploy keys, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#deploykey) or \"[Deploy keys](https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Deployments\" repository permission.", + "summary": "This event occurs when there is activity relating to deploy keys. For more information, see \"[Managing deploy keys](https://docs.github.com/enterprise-cloud@latest/developers/overview/managing-deploy-keys).\" For information about the APIs to manage deploy keys, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest/graphql/reference/objects#deploykey) or \"[Deploy keys](https://docs.github.com/enterprise-cloud@latest/rest/deploy-keys)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Deployments\" repository permission.", "description": "A deploy key was deleted.", "operationId": "deploy-key/deleted", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#deploy_key" + "url": "https://docs.github.com/enterprise-cloud@latest/webhooks/webhook-events-and-payloads#deploy_key" }, "parameters": [ { @@ -877521,7 +878452,7 @@ }, "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).\"", + "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": { @@ -877589,7 +878520,7 @@ }, "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).\"", + "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": { @@ -877609,7 +878540,7 @@ ] }, "key": { - "description": "The [`deploy key`](https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#get-a-deploy-key) resource.", + "description": "The [`deploy key`](https://docs.github.com/enterprise-cloud@latest/rest/deploy-keys/deploy-keys#get-a-deploy-key) resource.", "type": "object", "properties": { "added_by": { @@ -879114,11 +880045,11 @@ }, "deployment-created": { "post": { - "summary": "This event occurs when there is activity relating to deployments. For more information, see \"[About deployments](https://docs.github.com/enterprise-cloud@latest//actions/deployment/about-deployments).\" For information about the APIs to manage deployments, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#deployment) or \"[Deployments](https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments)\" in the REST API documentation.\n\nFor activity relating to deployment status, use the `deployment_status` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Deployments\" repository permission.", + "summary": "This event occurs when there is activity relating to deployments. For more information, see \"[About deployments](https://docs.github.com/enterprise-cloud@latest/actions/deployment/about-deployments).\" For information about the APIs to manage deployments, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest/graphql/reference/objects#deployment) or \"[Deployments](https://docs.github.com/enterprise-cloud@latest/rest/deployments/deployments)\" in the REST API documentation.\n\nFor activity relating to deployment status, use the `deployment_status` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Deployments\" repository permission.", "description": "A deployment was created.", "operationId": "deployment/created", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#deployment" + "url": "https://docs.github.com/enterprise-cloud@latest/webhooks/webhook-events-and-payloads#deployment" }, "parameters": [ { @@ -879194,7 +880125,7 @@ }, "deployment": { "title": "Deployment", - "description": "The [deployment](https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#list-deployments).", + "description": "The [deployment](https://docs.github.com/enterprise-cloud@latest/rest/deployments/deployments#list-deployments).", "type": "object", "properties": { "created_at": { @@ -879828,7 +880759,7 @@ }, "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).\"", + "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": { @@ -879896,7 +880827,7 @@ }, "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).\"", + "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": { @@ -882281,11 +883212,11 @@ }, "deployment-protection-rule-requested": { "post": { - "summary": "This event occurs when there is activity relating to deployment protection rules. For more information, see \"[Using environments for deployment](https://docs.github.com/enterprise-cloud@latest//actions/deployment/targeting-different-environments/using-environments-for-deployment#environment-protection-rules).\" For information about the API to manage deployment protection rules, see [the REST API documentation](https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments).\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Deployments\" repository permission.", + "summary": "This event occurs when there is activity relating to deployment protection rules. For more information, see \"[Using environments for deployment](https://docs.github.com/enterprise-cloud@latest/actions/deployment/targeting-different-environments/using-environments-for-deployment#environment-protection-rules).\" For information about the API to manage deployment protection rules, see [the REST API documentation](https://docs.github.com/enterprise-cloud@latest/rest/deployments/environments).\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Deployments\" repository permission.", "description": "A deployment protection rule was requested for an environment.", "operationId": "deployment-protection-rule/requested", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#deployment_protection_rule" + "url": "https://docs.github.com/enterprise-cloud@latest/webhooks/webhook-events-and-payloads#deployment_protection_rule" }, "parameters": [ { @@ -887521,7 +888452,7 @@ }, "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).\"", + "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": { @@ -887686,11 +888617,11 @@ }, "deployment-review-approved": { "post": { - "summary": "This event occurs when there is activity relating to deployment reviews. For more information, see \"[About deployments](https://docs.github.com/enterprise-cloud@latest//actions/deployment/about-deployments).\" For information about the APIs to manage deployments, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#deployment) or \"[Deployments](https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments)\" in the REST API documentation.\n\nFor activity relating to deployment creation or deployment status, use the `deployment` or `deployment_status` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Deployments\" repository permission.", + "summary": "This event occurs when there is activity relating to deployment reviews. For more information, see \"[About deployments](https://docs.github.com/enterprise-cloud@latest/actions/deployment/about-deployments).\" For information about the APIs to manage deployments, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest/graphql/reference/objects#deployment) or \"[Deployments](https://docs.github.com/enterprise-cloud@latest/rest/deployments/deployments)\" in the REST API documentation.\n\nFor activity relating to deployment creation or deployment status, use the `deployment` or `deployment_status` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Deployments\" repository permission.", "description": "A deployment review was approved.", "operationId": "deployment-review/approved", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#deployment_review" + "url": "https://docs.github.com/enterprise-cloud@latest/webhooks/webhook-events-and-payloads#deployment_review" }, "parameters": [ { @@ -887830,7 +888761,7 @@ }, "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).\"", + "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": { @@ -887898,7 +888829,7 @@ }, "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).\"", + "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": { @@ -890419,11 +891350,11 @@ }, "deployment-review-rejected": { "post": { - "summary": "This event occurs when there is activity relating to deployment reviews. For more information, see \"[About deployments](https://docs.github.com/enterprise-cloud@latest//actions/deployment/about-deployments).\" For information about the APIs to manage deployments, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#deployment) or \"[Deployments](https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments)\" in the REST API documentation.\n\nFor activity relating to deployment creation or deployment status, use the `deployment` or `deployment_status` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Deployments\" repository permission.", + "summary": "This event occurs when there is activity relating to deployment reviews. For more information, see \"[About deployments](https://docs.github.com/enterprise-cloud@latest/actions/deployment/about-deployments).\" For information about the APIs to manage deployments, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest/graphql/reference/objects#deployment) or \"[Deployments](https://docs.github.com/enterprise-cloud@latest/rest/deployments/deployments)\" in the REST API documentation.\n\nFor activity relating to deployment creation or deployment status, use the `deployment` or `deployment_status` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Deployments\" repository permission.", "description": "A deployment review was rejected.", "operationId": "deployment-review/rejected", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#deployment_review" + "url": "https://docs.github.com/enterprise-cloud@latest/webhooks/webhook-events-and-payloads#deployment_review" }, "parameters": [ { @@ -890563,7 +891494,7 @@ }, "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).\"", + "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": { @@ -890631,7 +891562,7 @@ }, "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).\"", + "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": { @@ -893152,11 +894083,11 @@ }, "deployment-review-requested": { "post": { - "summary": "This event occurs when there is activity relating to deployment reviews. For more information, see \"[About deployments](https://docs.github.com/enterprise-cloud@latest//actions/deployment/about-deployments).\" For information about the APIs to manage deployments, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#deployment) or \"[Deployments](https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments)\" in the REST API documentation.\n\nFor activity relating to deployment creation or deployment status, use the `deployment` or `deployment_status` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Deployments\" repository permission.", + "summary": "This event occurs when there is activity relating to deployment reviews. For more information, see \"[About deployments](https://docs.github.com/enterprise-cloud@latest/actions/deployment/about-deployments).\" For information about the APIs to manage deployments, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest/graphql/reference/objects#deployment) or \"[Deployments](https://docs.github.com/enterprise-cloud@latest/rest/deployments/deployments)\" in the REST API documentation.\n\nFor activity relating to deployment creation or deployment status, use the `deployment` or `deployment_status` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Deployments\" repository permission.", "description": "A deployment review was requested.", "operationId": "deployment-review/requested", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#deployment_review" + "url": "https://docs.github.com/enterprise-cloud@latest/webhooks/webhook-events-and-payloads#deployment_review" }, "parameters": [ { @@ -893231,7 +894162,7 @@ }, "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).\"", + "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": { @@ -893302,7 +894233,7 @@ }, "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).\"", + "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": { @@ -895894,11 +896825,11 @@ }, "deployment-status-created": { "post": { - "summary": "This event occurs when there is activity relating to deployment statuses. For more information, see \"[About deployments](https://docs.github.com/enterprise-cloud@latest//actions/deployment/about-deployments).\" For information about the APIs to manage deployments, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#deployment) or \"[Deployments](https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments)\" in the REST API documentation.\n\nFor activity relating to deployment creation, use the `deployment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Deployments\" repository permission.\n\n> [!NOTE]\n> A webhook event is not fired for deployment statuses with an `inactive` state.", + "summary": "This event occurs when there is activity relating to deployment statuses. For more information, see \"[About deployments](https://docs.github.com/enterprise-cloud@latest/actions/deployment/about-deployments).\" For information about the APIs to manage deployments, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest/graphql/reference/objects#deployment) or \"[Deployments](https://docs.github.com/enterprise-cloud@latest/rest/deployments/deployments)\" in the REST API documentation.\n\nFor activity relating to deployment creation, use the `deployment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Deployments\" repository permission.\n\n> [!NOTE]\n> A webhook event is not fired for deployment statuses with an `inactive` state.", "description": "A new deployment status was created.", "operationId": "deployment-status/created", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#deployment_status" + "url": "https://docs.github.com/enterprise-cloud@latest/webhooks/webhook-events-and-payloads#deployment_status" }, "parameters": [ { @@ -896060,7 +896991,7 @@ }, "deployment": { "title": "Deployment", - "description": "The [deployment](https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#list-deployments).", + "description": "The [deployment](https://docs.github.com/enterprise-cloud@latest/rest/deployments/deployments#list-deployments).", "type": "object", "properties": { "created_at": { @@ -896694,7 +897625,7 @@ ] }, "deployment_status": { - "description": "The [deployment status](https://docs.github.com/enterprise-cloud@latest//rest/deployments/statuses#list-deployment-statuses).", + "description": "The [deployment status](https://docs.github.com/enterprise-cloud@latest/rest/deployments/statuses#list-deployment-statuses).", "type": "object", "properties": { "created_at": { @@ -897313,7 +898244,7 @@ }, "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).\"", + "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": { @@ -897381,7 +898312,7 @@ }, "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).\"", + "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": { @@ -899767,11 +900698,11 @@ }, "discussion-answered": { "post": { - "summary": "This event occurs when there is activity relating to a discussion. For more information about discussions, see \"[GitHub Discussions](https://docs.github.com/enterprise-cloud@latest//discussions).\" For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#discussion).\n\nFor activity relating to a comment on a discussion, use the `discussion_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Discussions\" repository permission.\n\n> [!NOTE]\n> Webhook events for GitHub Discussions are currently in public preview and subject to change.", + "summary": "This event occurs when there is activity relating to a discussion. For more information about discussions, see \"[GitHub Discussions](https://docs.github.com/enterprise-cloud@latest/discussions).\" For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest/graphql/reference/objects#discussion).\n\nFor activity relating to a comment on a discussion, use the `discussion_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Discussions\" repository permission.\n\n> [!NOTE]\n> Webhook events for GitHub Discussions are currently in public preview and subject to change.", "description": "A comment on the discussion was marked as the answer.", "operationId": "discussion/answered", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#discussion" + "url": "https://docs.github.com/enterprise-cloud@latest/webhooks/webhook-events-and-payloads#discussion" }, "parameters": [ { @@ -900517,7 +901448,7 @@ }, "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).\"", + "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": { @@ -900585,7 +901516,7 @@ }, "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).\"", + "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": { @@ -902063,11 +902994,11 @@ }, "discussion-category-changed": { "post": { - "summary": "This event occurs when there is activity relating to a discussion. For more information about discussions, see \"[GitHub Discussions](https://docs.github.com/enterprise-cloud@latest//discussions).\" For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#discussion).\n\nFor activity relating to a comment on a discussion, use the `discussion_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Discussions\" repository permission.\n\n> [!NOTE]\n> Webhook events for GitHub Discussions are currently in public preview and subject to change.", + "summary": "This event occurs when there is activity relating to a discussion. For more information about discussions, see \"[GitHub Discussions](https://docs.github.com/enterprise-cloud@latest/discussions).\" For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest/graphql/reference/objects#discussion).\n\nFor activity relating to a comment on a discussion, use the `discussion_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Discussions\" repository permission.\n\n> [!NOTE]\n> Webhook events for GitHub Discussions are currently in public preview and subject to change.", "description": "The category of a discussion was changed.", "operationId": "discussion/category-changed", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#discussion" + "url": "https://docs.github.com/enterprise-cloud@latest/webhooks/webhook-events-and-payloads#discussion" }, "parameters": [ { @@ -902665,7 +903596,7 @@ }, "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).\"", + "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": { @@ -902733,7 +903664,7 @@ }, "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).\"", + "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": { @@ -904211,11 +905142,11 @@ }, "discussion-closed": { "post": { - "summary": "This event occurs when there is activity relating to a discussion. For more information about discussions, see \"[GitHub Discussions](https://docs.github.com/enterprise-cloud@latest//discussions).\" For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#discussion).\n\nFor activity relating to a comment on a discussion, use the `discussion_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Discussions\" repository permission.\n\n> [!NOTE]\n> Webhook events for GitHub Discussions are currently in public preview and subject to change.", + "summary": "This event occurs when there is activity relating to a discussion. For more information about discussions, see \"[GitHub Discussions](https://docs.github.com/enterprise-cloud@latest/discussions).\" For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest/graphql/reference/objects#discussion).\n\nFor activity relating to a comment on a discussion, use the `discussion_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Discussions\" repository permission.\n\n> [!NOTE]\n> Webhook events for GitHub Discussions are currently in public preview and subject to change.", "description": "A discussion was closed.", "operationId": "discussion/closed", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#discussion" + "url": "https://docs.github.com/enterprise-cloud@latest/webhooks/webhook-events-and-payloads#discussion" }, "parameters": [ { @@ -904750,7 +905681,7 @@ }, "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).\"", + "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": { @@ -904818,7 +905749,7 @@ }, "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).\"", + "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": { @@ -906295,11 +907226,11 @@ }, "discussion-comment-created": { "post": { - "summary": "This event occurs when there is activity relating to a comment on a discussion. For more information about discussions, see \"[GitHub Discussions](https://docs.github.com/enterprise-cloud@latest//discussions).\" For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#discussion).\n\nFor activity relating to a discussion as opposed to comments on a discussion, use the `discussion` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Discussions\" repository permission.\n\n> [!NOTE]\n> Webhook events for GitHub Discussions are currently in public preview and subject to change.", + "summary": "This event occurs when there is activity relating to a comment on a discussion. For more information about discussions, see \"[GitHub Discussions](https://docs.github.com/enterprise-cloud@latest/discussions).\" For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest/graphql/reference/objects#discussion).\n\nFor activity relating to a discussion as opposed to comments on a discussion, use the `discussion` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Discussions\" repository permission.\n\n> [!NOTE]\n> Webhook events for GitHub Discussions are currently in public preview and subject to change.", "description": "A comment on a discussion was created.", "operationId": "discussion-comment/created", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#discussion_comment" + "url": "https://docs.github.com/enterprise-cloud@latest/webhooks/webhook-events-and-payloads#discussion_comment" }, "parameters": [ { @@ -907045,7 +907976,7 @@ }, "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).\"", + "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": { @@ -907113,7 +908044,7 @@ }, "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).\"", + "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": { @@ -908591,11 +909522,11 @@ }, "discussion-comment-deleted": { "post": { - "summary": "This event occurs when there is activity relating to a comment on a discussion. For more information about discussions, see \"[GitHub Discussions](https://docs.github.com/enterprise-cloud@latest//discussions).\" For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#discussion).\n\nFor activity relating to a discussion as opposed to comments on a discussion, use the `discussion` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Discussions\" repository permission.\n\n> [!NOTE]\n> Webhook events for GitHub Discussions are currently in public preview and subject to change.", + "summary": "This event occurs when there is activity relating to a comment on a discussion. For more information about discussions, see \"[GitHub Discussions](https://docs.github.com/enterprise-cloud@latest/discussions).\" For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest/graphql/reference/objects#discussion).\n\nFor activity relating to a discussion as opposed to comments on a discussion, use the `discussion` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Discussions\" repository permission.\n\n> [!NOTE]\n> Webhook events for GitHub Discussions are currently in public preview and subject to change.", "description": "A comment on a discussion was deleted.", "operationId": "discussion-comment/deleted", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#discussion_comment" + "url": "https://docs.github.com/enterprise-cloud@latest/webhooks/webhook-events-and-payloads#discussion_comment" }, "parameters": [ { @@ -909341,7 +910272,7 @@ }, "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).\"", + "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": { @@ -909409,7 +910340,7 @@ }, "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).\"", + "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": { @@ -910887,11 +911818,11 @@ }, "discussion-comment-edited": { "post": { - "summary": "This event occurs when there is activity relating to a comment on a discussion. For more information about discussions, see \"[GitHub Discussions](https://docs.github.com/enterprise-cloud@latest//discussions).\" For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#discussion).\n\nFor activity relating to a discussion as opposed to comments on a discussion, use the `discussion` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Discussions\" repository permission.\n\n> [!NOTE]\n> Webhook events for GitHub Discussions are currently in public preview and subject to change.", + "summary": "This event occurs when there is activity relating to a comment on a discussion. For more information about discussions, see \"[GitHub Discussions](https://docs.github.com/enterprise-cloud@latest/discussions).\" For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest/graphql/reference/objects#discussion).\n\nFor activity relating to a discussion as opposed to comments on a discussion, use the `discussion` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Discussions\" repository permission.\n\n> [!NOTE]\n> Webhook events for GitHub Discussions are currently in public preview and subject to change.", "description": "A comment on a discussion was edited.", "operationId": "discussion-comment/edited", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#discussion_comment" + "url": "https://docs.github.com/enterprise-cloud@latest/webhooks/webhook-events-and-payloads#discussion_comment" }, "parameters": [ { @@ -911656,7 +912587,7 @@ }, "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).\"", + "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": { @@ -911724,7 +912655,7 @@ }, "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).\"", + "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": { @@ -913203,11 +914134,11 @@ }, "discussion-created": { "post": { - "summary": "This event occurs when there is activity relating to a discussion. For more information about discussions, see \"[GitHub Discussions](https://docs.github.com/enterprise-cloud@latest//discussions).\" For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#discussion).\n\nFor activity relating to a comment on a discussion, use the `discussion_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Discussions\" repository permission.\n\n> [!NOTE]\n> Webhook events for GitHub Discussions are currently in public preview and subject to change.", + "summary": "This event occurs when there is activity relating to a discussion. For more information about discussions, see \"[GitHub Discussions](https://docs.github.com/enterprise-cloud@latest/discussions).\" For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest/graphql/reference/objects#discussion).\n\nFor activity relating to a comment on a discussion, use the `discussion_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Discussions\" repository permission.\n\n> [!NOTE]\n> Webhook events for GitHub Discussions are currently in public preview and subject to change.", "description": "A discussion was created.", "operationId": "discussion/created", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#discussion" + "url": "https://docs.github.com/enterprise-cloud@latest/webhooks/webhook-events-and-payloads#discussion" }, "parameters": [ { @@ -913742,7 +914673,7 @@ }, "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).\"", + "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": { @@ -913810,7 +914741,7 @@ }, "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).\"", + "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": { @@ -915287,11 +916218,11 @@ }, "discussion-deleted": { "post": { - "summary": "This event occurs when there is activity relating to a discussion. For more information about discussions, see \"[GitHub Discussions](https://docs.github.com/enterprise-cloud@latest//discussions).\" For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#discussion).\n\nFor activity relating to a comment on a discussion, use the `discussion_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Discussions\" repository permission.\n\n> [!NOTE]\n> Webhook events for GitHub Discussions are currently in public preview and subject to change.", + "summary": "This event occurs when there is activity relating to a discussion. For more information about discussions, see \"[GitHub Discussions](https://docs.github.com/enterprise-cloud@latest/discussions).\" For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest/graphql/reference/objects#discussion).\n\nFor activity relating to a comment on a discussion, use the `discussion_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Discussions\" repository permission.\n\n> [!NOTE]\n> Webhook events for GitHub Discussions are currently in public preview and subject to change.", "description": "A discussion was deleted.", "operationId": "discussion/deleted", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#discussion" + "url": "https://docs.github.com/enterprise-cloud@latest/webhooks/webhook-events-and-payloads#discussion" }, "parameters": [ { @@ -915826,7 +916757,7 @@ }, "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).\"", + "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": { @@ -915894,7 +916825,7 @@ }, "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).\"", + "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": { @@ -917371,11 +918302,11 @@ }, "discussion-edited": { "post": { - "summary": "This event occurs when there is activity relating to a discussion. For more information about discussions, see \"[GitHub Discussions](https://docs.github.com/enterprise-cloud@latest//discussions).\" For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#discussion).\n\nFor activity relating to a comment on a discussion, use the `discussion_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Discussions\" repository permission.\n\n> [!NOTE]\n> Webhook events for GitHub Discussions are currently in public preview and subject to change.", + "summary": "This event occurs when there is activity relating to a discussion. For more information about discussions, see \"[GitHub Discussions](https://docs.github.com/enterprise-cloud@latest/discussions).\" For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest/graphql/reference/objects#discussion).\n\nFor activity relating to a comment on a discussion, use the `discussion_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Discussions\" repository permission.\n\n> [!NOTE]\n> Webhook events for GitHub Discussions are currently in public preview and subject to change.", "description": "The title or body on a discussion was edited, or the category of the discussion was changed.", "operationId": "discussion/edited", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#discussion" + "url": "https://docs.github.com/enterprise-cloud@latest/webhooks/webhook-events-and-payloads#discussion" }, "parameters": [ { @@ -917937,7 +918868,7 @@ }, "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).\"", + "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": { @@ -918005,7 +918936,7 @@ }, "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).\"", + "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": { @@ -919482,11 +920413,11 @@ }, "discussion-labeled": { "post": { - "summary": "This event occurs when there is activity relating to a discussion. For more information about discussions, see \"[GitHub Discussions](https://docs.github.com/enterprise-cloud@latest//discussions).\" For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#discussion).\n\nFor activity relating to a comment on a discussion, use the `discussion_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Discussions\" repository permission.\n\n> [!NOTE]\n> Webhook events for GitHub Discussions are currently in public preview and subject to change.", + "summary": "This event occurs when there is activity relating to a discussion. For more information about discussions, see \"[GitHub Discussions](https://docs.github.com/enterprise-cloud@latest/discussions).\" For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest/graphql/reference/objects#discussion).\n\nFor activity relating to a comment on a discussion, use the `discussion_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Discussions\" repository permission.\n\n> [!NOTE]\n> Webhook events for GitHub Discussions are currently in public preview and subject to change.", "description": "A label was added to a discussion.", "operationId": "discussion/labeled", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#discussion" + "url": "https://docs.github.com/enterprise-cloud@latest/webhooks/webhook-events-and-payloads#discussion" }, "parameters": [ { @@ -920021,7 +920952,7 @@ }, "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).\"", + "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": { @@ -920089,7 +921020,7 @@ }, "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).\"", + "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": { @@ -921608,11 +922539,11 @@ }, "discussion-locked": { "post": { - "summary": "This event occurs when there is activity relating to a discussion. For more information about discussions, see \"[GitHub Discussions](https://docs.github.com/enterprise-cloud@latest//discussions).\" For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#discussion).\n\nFor activity relating to a comment on a discussion, use the `discussion_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Discussions\" repository permission.\n\n> [!NOTE]\n> Webhook events for GitHub Discussions are currently in public preview and subject to change.", + "summary": "This event occurs when there is activity relating to a discussion. For more information about discussions, see \"[GitHub Discussions](https://docs.github.com/enterprise-cloud@latest/discussions).\" For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest/graphql/reference/objects#discussion).\n\nFor activity relating to a comment on a discussion, use the `discussion_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Discussions\" repository permission.\n\n> [!NOTE]\n> Webhook events for GitHub Discussions are currently in public preview and subject to change.", "description": "A discussion was locked.", "operationId": "discussion/locked", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#discussion" + "url": "https://docs.github.com/enterprise-cloud@latest/webhooks/webhook-events-and-payloads#discussion" }, "parameters": [ { @@ -922147,7 +923078,7 @@ }, "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).\"", + "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": { @@ -922215,7 +923146,7 @@ }, "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).\"", + "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": { @@ -923692,11 +924623,11 @@ }, "discussion-pinned": { "post": { - "summary": "This event occurs when there is activity relating to a discussion. For more information about discussions, see \"[GitHub Discussions](https://docs.github.com/enterprise-cloud@latest//discussions).\" For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#discussion).\n\nFor activity relating to a comment on a discussion, use the `discussion_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Discussions\" repository permission.\n\n> [!NOTE]\n> Webhook events for GitHub Discussions are currently in public preview and subject to change.", + "summary": "This event occurs when there is activity relating to a discussion. For more information about discussions, see \"[GitHub Discussions](https://docs.github.com/enterprise-cloud@latest/discussions).\" For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest/graphql/reference/objects#discussion).\n\nFor activity relating to a comment on a discussion, use the `discussion_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Discussions\" repository permission.\n\n> [!NOTE]\n> Webhook events for GitHub Discussions are currently in public preview and subject to change.", "description": "A discussion was pinned.", "operationId": "discussion/pinned", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#discussion" + "url": "https://docs.github.com/enterprise-cloud@latest/webhooks/webhook-events-and-payloads#discussion" }, "parameters": [ { @@ -924231,7 +925162,7 @@ }, "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).\"", + "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": { @@ -924299,7 +925230,7 @@ }, "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).\"", + "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": { @@ -925776,11 +926707,11 @@ }, "discussion-reopened": { "post": { - "summary": "This event occurs when there is activity relating to a discussion. For more information about discussions, see \"[GitHub Discussions](https://docs.github.com/enterprise-cloud@latest//discussions).\" For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#discussion).\n\nFor activity relating to a comment on a discussion, use the `discussion_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Discussions\" repository permission.\n\n> [!NOTE]\n> Webhook events for GitHub Discussions are currently in public preview and subject to change.", + "summary": "This event occurs when there is activity relating to a discussion. For more information about discussions, see \"[GitHub Discussions](https://docs.github.com/enterprise-cloud@latest/discussions).\" For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest/graphql/reference/objects#discussion).\n\nFor activity relating to a comment on a discussion, use the `discussion_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Discussions\" repository permission.\n\n> [!NOTE]\n> Webhook events for GitHub Discussions are currently in public preview and subject to change.", "description": "A discussion was reopened.", "operationId": "discussion/reopened", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#discussion" + "url": "https://docs.github.com/enterprise-cloud@latest/webhooks/webhook-events-and-payloads#discussion" }, "parameters": [ { @@ -926315,7 +927246,7 @@ }, "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).\"", + "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": { @@ -926383,7 +927314,7 @@ }, "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).\"", + "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": { @@ -927860,11 +928791,11 @@ }, "discussion-transferred": { "post": { - "summary": "This event occurs when there is activity relating to a discussion. For more information about discussions, see \"[GitHub Discussions](https://docs.github.com/enterprise-cloud@latest//discussions).\" For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#discussion).\n\nFor activity relating to a comment on a discussion, use the `discussion_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Discussions\" repository permission.\n\n> [!NOTE]\n> Webhook events for GitHub Discussions are currently in public preview and subject to change.", + "summary": "This event occurs when there is activity relating to a discussion. For more information about discussions, see \"[GitHub Discussions](https://docs.github.com/enterprise-cloud@latest/discussions).\" For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest/graphql/reference/objects#discussion).\n\nFor activity relating to a comment on a discussion, use the `discussion_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Discussions\" repository permission.\n\n> [!NOTE]\n> Webhook events for GitHub Discussions are currently in public preview and subject to change.", "description": "A discussion was transferred to another repository.", "operationId": "discussion/transferred", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#discussion" + "url": "https://docs.github.com/enterprise-cloud@latest/webhooks/webhook-events-and-payloads#discussion" }, "parameters": [ { @@ -930098,7 +931029,7 @@ }, "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).\"", + "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": { @@ -930166,7 +931097,7 @@ }, "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).\"", + "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": { @@ -931644,11 +932575,11 @@ }, "discussion-unanswered": { "post": { - "summary": "This event occurs when there is activity relating to a discussion. For more information about discussions, see \"[GitHub Discussions](https://docs.github.com/enterprise-cloud@latest//discussions).\" For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#discussion).\n\nFor activity relating to a comment on a discussion, use the `discussion_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Discussions\" repository permission.\n\n> [!NOTE]\n> Webhook events for GitHub Discussions are currently in public preview and subject to change.", + "summary": "This event occurs when there is activity relating to a discussion. For more information about discussions, see \"[GitHub Discussions](https://docs.github.com/enterprise-cloud@latest/discussions).\" For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest/graphql/reference/objects#discussion).\n\nFor activity relating to a comment on a discussion, use the `discussion_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Discussions\" repository permission.\n\n> [!NOTE]\n> Webhook events for GitHub Discussions are currently in public preview and subject to change.", "description": "A comment on the discussion was unmarked as the answer.", "operationId": "discussion/unanswered", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#discussion" + "url": "https://docs.github.com/enterprise-cloud@latest/webhooks/webhook-events-and-payloads#discussion" }, "parameters": [ { @@ -933850,11 +934781,11 @@ }, "discussion-unlabeled": { "post": { - "summary": "This event occurs when there is activity relating to a discussion. For more information about discussions, see \"[GitHub Discussions](https://docs.github.com/enterprise-cloud@latest//discussions).\" For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#discussion).\n\nFor activity relating to a comment on a discussion, use the `discussion_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Discussions\" repository permission.\n\n> [!NOTE]\n> Webhook events for GitHub Discussions are currently in public preview and subject to change.", + "summary": "This event occurs when there is activity relating to a discussion. For more information about discussions, see \"[GitHub Discussions](https://docs.github.com/enterprise-cloud@latest/discussions).\" For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest/graphql/reference/objects#discussion).\n\nFor activity relating to a comment on a discussion, use the `discussion_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Discussions\" repository permission.\n\n> [!NOTE]\n> Webhook events for GitHub Discussions are currently in public preview and subject to change.", "description": "A label was removed from a discussion.", "operationId": "discussion/unlabeled", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#discussion" + "url": "https://docs.github.com/enterprise-cloud@latest/webhooks/webhook-events-and-payloads#discussion" }, "parameters": [ { @@ -934389,7 +935320,7 @@ }, "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).\"", + "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": { @@ -934457,7 +935388,7 @@ }, "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).\"", + "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": { @@ -935976,11 +936907,11 @@ }, "discussion-unlocked": { "post": { - "summary": "This event occurs when there is activity relating to a discussion. For more information about discussions, see \"[GitHub Discussions](https://docs.github.com/enterprise-cloud@latest//discussions).\" For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#discussion).\n\nFor activity relating to a comment on a discussion, use the `discussion_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Discussions\" repository permission.\n\n> [!NOTE]\n> Webhook events for GitHub Discussions are currently in public preview and subject to change.", + "summary": "This event occurs when there is activity relating to a discussion. For more information about discussions, see \"[GitHub Discussions](https://docs.github.com/enterprise-cloud@latest/discussions).\" For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest/graphql/reference/objects#discussion).\n\nFor activity relating to a comment on a discussion, use the `discussion_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Discussions\" repository permission.\n\n> [!NOTE]\n> Webhook events for GitHub Discussions are currently in public preview and subject to change.", "description": "A discussion was unlocked.", "operationId": "discussion/unlocked", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#discussion" + "url": "https://docs.github.com/enterprise-cloud@latest/webhooks/webhook-events-and-payloads#discussion" }, "parameters": [ { @@ -936515,7 +937446,7 @@ }, "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).\"", + "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": { @@ -936583,7 +937514,7 @@ }, "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).\"", + "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": { @@ -938060,11 +938991,11 @@ }, "discussion-unpinned": { "post": { - "summary": "This event occurs when there is activity relating to a discussion. For more information about discussions, see \"[GitHub Discussions](https://docs.github.com/enterprise-cloud@latest//discussions).\" For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#discussion).\n\nFor activity relating to a comment on a discussion, use the `discussion_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Discussions\" repository permission.\n\n> [!NOTE]\n> Webhook events for GitHub Discussions are currently in public preview and subject to change.", + "summary": "This event occurs when there is activity relating to a discussion. For more information about discussions, see \"[GitHub Discussions](https://docs.github.com/enterprise-cloud@latest/discussions).\" For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest/graphql/reference/objects#discussion).\n\nFor activity relating to a comment on a discussion, use the `discussion_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Discussions\" repository permission.\n\n> [!NOTE]\n> Webhook events for GitHub Discussions are currently in public preview and subject to change.", "description": "A discussion was unpinned.", "operationId": "discussion/unpinned", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#discussion" + "url": "https://docs.github.com/enterprise-cloud@latest/webhooks/webhook-events-and-payloads#discussion" }, "parameters": [ { @@ -938599,7 +939530,7 @@ }, "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).\"", + "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": { @@ -938667,7 +939598,7 @@ }, "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).\"", + "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": { @@ -940148,7 +941079,7 @@ "description": "A code scanning alert dismissal request was created.", "operationId": "dismissal-request-code-scanning/created", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#dismissal_request_code_scanning" + "url": "https://docs.github.com/enterprise-cloud@latest/webhooks/webhook-events-and-payloads#dismissal_request_code_scanning" }, "parameters": [ { @@ -940224,7 +941155,7 @@ }, "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).\"", + "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": { @@ -940292,7 +941223,7 @@ }, "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).\"", + "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": { @@ -942214,7 +943145,7 @@ "description": "A code scanning alert dismissal response was submitted.", "operationId": "dismissal-request-code-scanning/response-submitted", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#dismissal_request_code_scanning" + "url": "https://docs.github.com/enterprise-cloud@latest/webhooks/webhook-events-and-payloads#dismissal_request_code_scanning" }, "parameters": [ { @@ -942290,7 +943221,7 @@ }, "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).\"", + "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": { @@ -942358,7 +943289,7 @@ }, "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).\"", + "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": { @@ -944319,7 +945250,7 @@ "description": "A Dependabot alert dismissal request was canceled.", "operationId": "dismissal-request-dependabot/cancelled", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#dismissal_request_dependabot" + "url": "https://docs.github.com/enterprise-cloud@latest/webhooks/webhook-events-and-payloads#dismissal_request_dependabot" }, "parameters": [ { @@ -944395,7 +945326,7 @@ }, "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).\"", + "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": { @@ -944463,7 +945394,7 @@ }, "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).\"", + "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": { @@ -946385,7 +947316,7 @@ "description": "A Dependabot alert dismissal request was created.", "operationId": "dismissal-request-dependabot/created", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#dismissal_request_dependabot" + "url": "https://docs.github.com/enterprise-cloud@latest/webhooks/webhook-events-and-payloads#dismissal_request_dependabot" }, "parameters": [ { @@ -946461,7 +947392,7 @@ }, "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).\"", + "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": { @@ -946529,7 +947460,7 @@ }, "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).\"", + "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": { @@ -948451,7 +949382,7 @@ "description": "A Dependabot alert dismissal request received a response.", "operationId": "dismissal-request-dependabot/response-submitted", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#dismissal_request_dependabot" + "url": "https://docs.github.com/enterprise-cloud@latest/webhooks/webhook-events-and-payloads#dismissal_request_dependabot" }, "parameters": [ { @@ -948527,7 +949458,7 @@ }, "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).\"", + "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": { @@ -948595,7 +949526,7 @@ }, "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).\"", + "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": { @@ -950556,7 +951487,7 @@ "description": "A secret scanning alert dismissal request was canceled.", "operationId": "dismissal-request-secret-scanning/cancelled", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#dismissal_request_secret_scanning" + "url": "https://docs.github.com/enterprise-cloud@latest/webhooks/webhook-events-and-payloads#dismissal_request_secret_scanning" }, "parameters": [ { @@ -950632,7 +951563,7 @@ }, "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).\"", + "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": { @@ -950700,7 +951631,7 @@ }, "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).\"", + "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": { @@ -952622,7 +953553,7 @@ "description": "A secret scanning alert dismissal request was completed.", "operationId": "dismissal-request-secret-scanning/completed", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#dismissal_request_secret_scanning" + "url": "https://docs.github.com/enterprise-cloud@latest/webhooks/webhook-events-and-payloads#dismissal_request_secret_scanning" }, "parameters": [ { @@ -952698,7 +953629,7 @@ }, "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).\"", + "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": { @@ -952766,7 +953697,7 @@ }, "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).\"", + "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": { @@ -954688,7 +955619,7 @@ "description": "A secret scanning alert dismissal request was created.", "operationId": "dismissal-request-secret-scanning/created", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#dismissal_request_secret_scanning" + "url": "https://docs.github.com/enterprise-cloud@latest/webhooks/webhook-events-and-payloads#dismissal_request_secret_scanning" }, "parameters": [ { @@ -954764,7 +955695,7 @@ }, "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).\"", + "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": { @@ -954832,7 +955763,7 @@ }, "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).\"", + "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": { @@ -956754,7 +957685,7 @@ "description": "A secret scanning alert dismissal response was dismissed.", "operationId": "dismissal-request-secret-scanning/response-dismissed", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#dismissal_request_secret_scanning" + "url": "https://docs.github.com/enterprise-cloud@latest/webhooks/webhook-events-and-payloads#dismissal_request_secret_scanning" }, "parameters": [ { @@ -956830,7 +957761,7 @@ }, "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).\"", + "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": { @@ -956898,7 +957829,7 @@ }, "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).\"", + "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": { @@ -958859,7 +959790,7 @@ "description": "A secret scanning alert dismissal response was submitted.", "operationId": "dismissal-request-secret-scanning/response-submitted", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#dismissal_request_secret_scanning" + "url": "https://docs.github.com/enterprise-cloud@latest/webhooks/webhook-events-and-payloads#dismissal_request_secret_scanning" }, "parameters": [ { @@ -958935,7 +959866,7 @@ }, "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).\"", + "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": { @@ -959003,7 +959934,7 @@ }, "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).\"", + "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": { @@ -960960,11 +961891,11 @@ }, "exemption-request-push-ruleset-cancelled": { "post": { - "summary": "This event occurs when there is activity related to a user's request to bypass a set of push rules.\n\nFor more information, see \"[Managing requests to bypass push rulesets](https://docs.github.com/enterprise-cloud@latest//repositories/configuring-branches-and-merges-in-your-repository/managing-rulesets/managing-rulesets-for-a-repository#managing-requests-to-bypass-push-rules).\"\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Administration\" repository permission.", + "summary": "This event occurs when there is activity related to a user's request to bypass a set of push rules.\n\nFor more information, see \"[Managing requests to bypass push rulesets](https://docs.github.com/enterprise-cloud@latest/repositories/configuring-branches-and-merges-in-your-repository/managing-rulesets/managing-rulesets-for-a-repository#managing-requests-to-bypass-push-rules).\"\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Administration\" repository permission.", "description": "A push ruleset bypass request was cancelled.", "operationId": "exemption-request-push-ruleset/cancelled", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#exemption_request_push_ruleset" + "url": "https://docs.github.com/enterprise-cloud@latest/webhooks/webhook-events-and-payloads#exemption_request_push_ruleset" }, "parameters": [ { @@ -961040,7 +961971,7 @@ }, "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).\"", + "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": { @@ -961108,7 +962039,7 @@ }, "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).\"", + "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": { @@ -963026,11 +963957,11 @@ }, "exemption-request-push-ruleset-completed": { "post": { - "summary": "This event occurs when there is activity related to a user's request to bypass a set of push rules.\n\nFor more information, see \"[Managing requests to bypass push rulesets](https://docs.github.com/enterprise-cloud@latest//repositories/configuring-branches-and-merges-in-your-repository/managing-rulesets/managing-rulesets-for-a-repository#managing-requests-to-bypass-push-rules).\"\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Administration\" repository permission.", + "summary": "This event occurs when there is activity related to a user's request to bypass a set of push rules.\n\nFor more information, see \"[Managing requests to bypass push rulesets](https://docs.github.com/enterprise-cloud@latest/repositories/configuring-branches-and-merges-in-your-repository/managing-rulesets/managing-rulesets-for-a-repository#managing-requests-to-bypass-push-rules).\"\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Administration\" repository permission.", "description": "A push ruleset bypass request was completed.", "operationId": "exemption-request-push-ruleset/completed", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#exemption_request_push_ruleset" + "url": "https://docs.github.com/enterprise-cloud@latest/webhooks/webhook-events-and-payloads#exemption_request_push_ruleset" }, "parameters": [ { @@ -963106,7 +964037,7 @@ }, "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).\"", + "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": { @@ -963174,7 +964105,7 @@ }, "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).\"", + "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": { @@ -965092,11 +966023,11 @@ }, "exemption-request-push-ruleset-created": { "post": { - "summary": "This event occurs when there is activity related to a user's request to bypass a set of push rules.\n\nFor more information, see \"[Managing requests to bypass push rulesets](https://docs.github.com/enterprise-cloud@latest//repositories/configuring-branches-and-merges-in-your-repository/managing-rulesets/managing-rulesets-for-a-repository#managing-requests-to-bypass-push-rules).\"\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Administration\" repository permission.", + "summary": "This event occurs when there is activity related to a user's request to bypass a set of push rules.\n\nFor more information, see \"[Managing requests to bypass push rulesets](https://docs.github.com/enterprise-cloud@latest/repositories/configuring-branches-and-merges-in-your-repository/managing-rulesets/managing-rulesets-for-a-repository#managing-requests-to-bypass-push-rules).\"\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Administration\" repository permission.", "description": "A push ruleset bypass request was created.", "operationId": "exemption-request-push-ruleset/created", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#exemption_request_push_ruleset" + "url": "https://docs.github.com/enterprise-cloud@latest/webhooks/webhook-events-and-payloads#exemption_request_push_ruleset" }, "parameters": [ { @@ -965172,7 +966103,7 @@ }, "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).\"", + "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": { @@ -965240,7 +966171,7 @@ }, "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).\"", + "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": { @@ -967158,11 +968089,11 @@ }, "exemption-request-push-ruleset-response-dismissed": { "post": { - "summary": "This event occurs when there is activity related to a user's request to bypass a set of push rules.\n\nFor more information, see \"[Managing requests to bypass push rulesets](https://docs.github.com/enterprise-cloud@latest//repositories/configuring-branches-and-merges-in-your-repository/managing-rulesets/managing-rulesets-for-a-repository#managing-requests-to-bypass-push-rules).\"\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Administration\" repository permission.", + "summary": "This event occurs when there is activity related to a user's request to bypass a set of push rules.\n\nFor more information, see \"[Managing requests to bypass push rulesets](https://docs.github.com/enterprise-cloud@latest/repositories/configuring-branches-and-merges-in-your-repository/managing-rulesets/managing-rulesets-for-a-repository#managing-requests-to-bypass-push-rules).\"\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Administration\" repository permission.", "description": "A push ruleset bypass response was dismissed.", "operationId": "exemption-request-push-ruleset/response-dismissed", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#exemption_request_push_ruleset" + "url": "https://docs.github.com/enterprise-cloud@latest/webhooks/webhook-events-and-payloads#exemption_request_push_ruleset" }, "parameters": [ { @@ -967238,7 +968169,7 @@ }, "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).\"", + "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": { @@ -967306,7 +968237,7 @@ }, "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).\"", + "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": { @@ -969263,11 +970194,11 @@ }, "exemption-request-push-ruleset-response-submitted": { "post": { - "summary": "This event occurs when there is activity related to a user's request to bypass a set of push rules.\n\nFor more information, see \"[Managing requests to bypass push rulesets](https://docs.github.com/enterprise-cloud@latest//repositories/configuring-branches-and-merges-in-your-repository/managing-rulesets/managing-rulesets-for-a-repository#managing-requests-to-bypass-push-rules).\"\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Administration\" repository permission.", + "summary": "This event occurs when there is activity related to a user's request to bypass a set of push rules.\n\nFor more information, see \"[Managing requests to bypass push rulesets](https://docs.github.com/enterprise-cloud@latest/repositories/configuring-branches-and-merges-in-your-repository/managing-rulesets/managing-rulesets-for-a-repository#managing-requests-to-bypass-push-rules).\"\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Administration\" repository permission.", "description": "A response either approving or rejecting the push ruleset bypass request was submitted.", "operationId": "exemption-request-push-ruleset/response-submitted", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#exemption_request_push_ruleset" + "url": "https://docs.github.com/enterprise-cloud@latest/webhooks/webhook-events-and-payloads#exemption_request_push_ruleset" }, "parameters": [ { @@ -969343,7 +970274,7 @@ }, "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).\"", + "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": { @@ -969411,7 +970342,7 @@ }, "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).\"", + "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": { @@ -971368,10 +972299,10 @@ }, "fork": { "post": { - "summary": "This event occurs when someone forks a repository. For more information, see \"[Fork a repo](https://docs.github.com/enterprise-cloud@latest//get-started/quickstart/fork-a-repo).\" For information about the API to manage forks, see \"[Forks](https://docs.github.com/enterprise-cloud@latest//rest/repos/forks)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Contents\" repository permission.", + "summary": "This event occurs when someone forks a repository. For more information, see \"[Fork a repo](https://docs.github.com/enterprise-cloud@latest/get-started/quickstart/fork-a-repo).\" For information about the API to manage forks, see \"[Forks](https://docs.github.com/enterprise-cloud@latest/rest/repos/forks)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Contents\" repository permission.", "operationId": "fork", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#fork" + "url": "https://docs.github.com/enterprise-cloud@latest/webhooks/webhook-events-and-payloads#fork" }, "parameters": [ { @@ -971442,7 +972373,7 @@ "properties": { "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).\"", + "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": { @@ -971509,7 +972440,7 @@ ] }, "forkee": { - "description": "The created [`repository`](https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#get-a-repository) resource.", + "description": "The created [`repository`](https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#get-a-repository) resource.", "allOf": [ { "title": "Repository", @@ -972415,7 +973346,7 @@ }, "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).\"", + "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": { @@ -973892,11 +974823,11 @@ }, "github-app-authorization-revoked": { "post": { - "summary": "This event occurs when a user revokes their authorization of a GitHub App. For more information, see \"[About apps](https://docs.github.com/enterprise-cloud@latest//developers/apps/getting-started-with-apps/about-apps#about-github-apps).\" For information about the API to manage GitHub Apps, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#app) or \"[Apps](https://docs.github.com/enterprise-cloud@latest//rest/apps)\" in the REST API documentation.\n\nA GitHub App receives this webhook by default and cannot unsubscribe from this event.\n\nAnyone can revoke their authorization of a GitHub App from their [GitHub account settings page](https://github.com/settings/apps/authorizations). Revoking the authorization of a GitHub App does not uninstall the GitHub App. You should program your GitHub App so that when it receives this webhook, it stops calling the API on behalf of the person who revoked the token. If your GitHub App continues to use a revoked access token, it will receive the `401 Bad Credentials` error. For details about requests with a user access token, which require GitHub App authorization, see \"[Authenticating with a GitHub App on behalf of a user](https://docs.github.com/enterprise-cloud@latest//apps/creating-github-apps/authenticating-with-a-github-app/authenticating-with-a-github-app-on-behalf-of-a-user).\"", + "summary": "This event occurs when a user revokes their authorization of a GitHub App. For more information, see \"[About apps](https://docs.github.com/enterprise-cloud@latest/developers/apps/getting-started-with-apps/about-apps#about-github-apps).\" For information about the API to manage GitHub Apps, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest/graphql/reference/objects#app) or \"[Apps](https://docs.github.com/enterprise-cloud@latest/rest/apps)\" in the REST API documentation.\n\nA GitHub App receives this webhook by default and cannot unsubscribe from this event.\n\nAnyone can revoke their authorization of a GitHub App from their [GitHub account settings page](https://github.com/settings/apps/authorizations). Revoking the authorization of a GitHub App does not uninstall the GitHub App. You should program your GitHub App so that when it receives this webhook, it stops calling the API on behalf of the person who revoked the token. If your GitHub App continues to use a revoked access token, it will receive the `401 Bad Credentials` error. For details about requests with a user access token, which require GitHub App authorization, see \"[Authenticating with a GitHub App on behalf of a user](https://docs.github.com/enterprise-cloud@latest/apps/creating-github-apps/authenticating-with-a-github-app/authenticating-with-a-github-app-on-behalf-of-a-user).\"", "description": "Someone revoked their authorization of a GitHub App.", "operationId": "github-app-authorization/revoked", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#github_app_authorization" + "url": "https://docs.github.com/enterprise-cloud@latest/webhooks/webhook-events-and-payloads#github_app_authorization" }, "parameters": [ { @@ -974120,10 +975051,10 @@ }, "gollum": { "post": { - "summary": "This event occurs when someone creates or updates a wiki page. For more information, see \"[About wikis](https://docs.github.com/enterprise-cloud@latest//communities/documenting-your-project-with-wikis/about-wikis).\"\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Contents\" repository permission.", + "summary": "This event occurs when someone creates or updates a wiki page. For more information, see \"[About wikis](https://docs.github.com/enterprise-cloud@latest/communities/documenting-your-project-with-wikis/about-wikis).\"\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Contents\" repository permission.", "operationId": "gollum", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#gollum" + "url": "https://docs.github.com/enterprise-cloud@latest/webhooks/webhook-events-and-payloads#gollum" }, "parameters": [ { @@ -974193,7 +975124,7 @@ "properties": { "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).\"", + "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": { @@ -974261,7 +975192,7 @@ }, "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).\"", + "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": { @@ -975783,11 +976714,11 @@ }, "installation-created": { "post": { - "summary": "This event occurs when there is activity relating to a GitHub App installation. All GitHub Apps receive this event by default. You cannot manually subscribe to this event.\n\nFor more information about GitHub Apps, see \"[About apps](https://docs.github.com/enterprise-cloud@latest//developers/apps/getting-started-with-apps/about-apps#about-github-apps).\" For information about the APIs to manage GitHub Apps, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#app) or \"[Apps](https://docs.github.com/enterprise-cloud@latest//rest/apps)\" in the REST API documentation.", + "summary": "This event occurs when there is activity relating to a GitHub App installation. All GitHub Apps receive this event by default. You cannot manually subscribe to this event.\n\nFor more information about GitHub Apps, see \"[About apps](https://docs.github.com/enterprise-cloud@latest/developers/apps/getting-started-with-apps/about-apps#about-github-apps).\" For information about the APIs to manage GitHub Apps, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest/graphql/reference/objects#app) or \"[Apps](https://docs.github.com/enterprise-cloud@latest/rest/apps)\" in the REST API documentation.", "description": "Someone installed a GitHub App on a user or organization account.", "operationId": "installation/created", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#installation" + "url": "https://docs.github.com/enterprise-cloud@latest/webhooks/webhook-events-and-payloads#installation" }, "parameters": [ { @@ -975863,7 +976794,7 @@ }, "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).\"", + "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": { @@ -978413,11 +979344,11 @@ }, "installation-deleted": { "post": { - "summary": "This event occurs when there is activity relating to a GitHub App installation. All GitHub Apps receive this event by default. You cannot manually subscribe to this event.\n\nFor more information about GitHub Apps, see \"[About apps](https://docs.github.com/enterprise-cloud@latest//developers/apps/getting-started-with-apps/about-apps#about-github-apps).\" For information about the APIs to manage GitHub Apps, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#app) or \"[Apps](https://docs.github.com/enterprise-cloud@latest//rest/apps)\" in the REST API documentation.", + "summary": "This event occurs when there is activity relating to a GitHub App installation. All GitHub Apps receive this event by default. You cannot manually subscribe to this event.\n\nFor more information about GitHub Apps, see \"[About apps](https://docs.github.com/enterprise-cloud@latest/developers/apps/getting-started-with-apps/about-apps#about-github-apps).\" For information about the APIs to manage GitHub Apps, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest/graphql/reference/objects#app) or \"[Apps](https://docs.github.com/enterprise-cloud@latest/rest/apps)\" in the REST API documentation.", "description": "Someone uninstalled a GitHub App from their user or organization account.", "operationId": "installation/deleted", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#installation" + "url": "https://docs.github.com/enterprise-cloud@latest/webhooks/webhook-events-and-payloads#installation" }, "parameters": [ { @@ -978493,7 +979424,7 @@ }, "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).\"", + "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": { @@ -980950,11 +981881,11 @@ }, "installation-new-permissions-accepted": { "post": { - "summary": "This event occurs when there is activity relating to a GitHub App installation. All GitHub Apps receive this event by default. You cannot manually subscribe to this event.\n\nFor more information about GitHub Apps, see \"[About apps](https://docs.github.com/enterprise-cloud@latest//developers/apps/getting-started-with-apps/about-apps#about-github-apps).\" For information about the APIs to manage GitHub Apps, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#app) or \"[Apps](https://docs.github.com/enterprise-cloud@latest//rest/apps)\" in the REST API documentation.", + "summary": "This event occurs when there is activity relating to a GitHub App installation. All GitHub Apps receive this event by default. You cannot manually subscribe to this event.\n\nFor more information about GitHub Apps, see \"[About apps](https://docs.github.com/enterprise-cloud@latest/developers/apps/getting-started-with-apps/about-apps#about-github-apps).\" For information about the APIs to manage GitHub Apps, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest/graphql/reference/objects#app) or \"[Apps](https://docs.github.com/enterprise-cloud@latest/rest/apps)\" in the REST API documentation.", "description": "Someone granted new permissions to a GitHub App.", "operationId": "installation/new-permissions-accepted", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#installation" + "url": "https://docs.github.com/enterprise-cloud@latest/webhooks/webhook-events-and-payloads#installation" }, "parameters": [ { @@ -981030,7 +981961,7 @@ }, "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).\"", + "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": { @@ -983487,11 +984418,11 @@ }, "installation-repositories-added": { "post": { - "summary": "This event occurs when there is activity relating to which repositories a GitHub App installation can access. All GitHub Apps receive this event by default. You cannot manually subscribe to this event.\n\nFor more information about GitHub Apps, see \"[About apps](https://docs.github.com/enterprise-cloud@latest//developers/apps/getting-started-with-apps/about-apps#about-github-apps).\" For information about the APIs to manage GitHub Apps, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#app) or \"[Apps](https://docs.github.com/enterprise-cloud@latest//rest/apps)\" in the REST API documentation.", + "summary": "This event occurs when there is activity relating to which repositories a GitHub App installation can access. All GitHub Apps receive this event by default. You cannot manually subscribe to this event.\n\nFor more information about GitHub Apps, see \"[About apps](https://docs.github.com/enterprise-cloud@latest/developers/apps/getting-started-with-apps/about-apps#about-github-apps).\" For information about the APIs to manage GitHub Apps, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest/graphql/reference/objects#app) or \"[Apps](https://docs.github.com/enterprise-cloud@latest/rest/apps)\" in the REST API documentation.", "description": "A GitHub App installation was granted access to one or more repositories.", "operationId": "installation-repositories/added", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#installation_repositories" + "url": "https://docs.github.com/enterprise-cloud@latest/webhooks/webhook-events-and-payloads#installation_repositories" }, "parameters": [ { @@ -983567,7 +984498,7 @@ }, "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).\"", + "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": { @@ -986156,11 +987087,11 @@ }, "installation-repositories-removed": { "post": { - "summary": "This event occurs when there is activity relating to which repositories a GitHub App installation can access. All GitHub Apps receive this event by default. You cannot manually subscribe to this event.\n\nFor more information about GitHub Apps, see \"[About apps](https://docs.github.com/enterprise-cloud@latest//developers/apps/getting-started-with-apps/about-apps#about-github-apps).\" For information about the APIs to manage GitHub Apps, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#app) or \"[Apps](https://docs.github.com/enterprise-cloud@latest//rest/apps)\" in the REST API documentation.", + "summary": "This event occurs when there is activity relating to which repositories a GitHub App installation can access. All GitHub Apps receive this event by default. You cannot manually subscribe to this event.\n\nFor more information about GitHub Apps, see \"[About apps](https://docs.github.com/enterprise-cloud@latest/developers/apps/getting-started-with-apps/about-apps#about-github-apps).\" For information about the APIs to manage GitHub Apps, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest/graphql/reference/objects#app) or \"[Apps](https://docs.github.com/enterprise-cloud@latest/rest/apps)\" in the REST API documentation.", "description": "Access to one or more repositories was revoked for a GitHub App installation.", "operationId": "installation-repositories/removed", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#installation_repositories" + "url": "https://docs.github.com/enterprise-cloud@latest/webhooks/webhook-events-and-payloads#installation_repositories" }, "parameters": [ { @@ -986236,7 +987167,7 @@ }, "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).\"", + "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": { @@ -988832,11 +989763,11 @@ }, "installation-suspend": { "post": { - "summary": "This event occurs when there is activity relating to a GitHub App installation. All GitHub Apps receive this event by default. You cannot manually subscribe to this event.\n\nFor more information about GitHub Apps, see \"[About apps](https://docs.github.com/enterprise-cloud@latest//developers/apps/getting-started-with-apps/about-apps#about-github-apps).\" For information about the APIs to manage GitHub Apps, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#app) or \"[Apps](https://docs.github.com/enterprise-cloud@latest//rest/apps)\" in the REST API documentation.", + "summary": "This event occurs when there is activity relating to a GitHub App installation. All GitHub Apps receive this event by default. You cannot manually subscribe to this event.\n\nFor more information about GitHub Apps, see \"[About apps](https://docs.github.com/enterprise-cloud@latest/developers/apps/getting-started-with-apps/about-apps#about-github-apps).\" For information about the APIs to manage GitHub Apps, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest/graphql/reference/objects#app) or \"[Apps](https://docs.github.com/enterprise-cloud@latest/rest/apps)\" in the REST API documentation.", "description": "Someone blocked access by a GitHub App to their user or organization account.", "operationId": "installation/suspend", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#installation" + "url": "https://docs.github.com/enterprise-cloud@latest/webhooks/webhook-events-and-payloads#installation" }, "parameters": [ { @@ -988912,7 +989843,7 @@ }, "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).\"", + "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": { @@ -991369,11 +992300,11 @@ }, "installation-target-renamed": { "post": { - "summary": "This event occurs when there is activity relating to the user or organization account that a GitHub App is installed on. For more information, see \"[About apps](https://docs.github.com/enterprise-cloud@latest//developers/apps/getting-started-with-apps/about-apps#about-github-apps).\" For information about the APIs to manage GitHub Apps, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#app) or \"[Apps](https://docs.github.com/enterprise-cloud@latest//rest/apps)\" in the REST API documentation.", + "summary": "This event occurs when there is activity relating to the user or organization account that a GitHub App is installed on. For more information, see \"[About apps](https://docs.github.com/enterprise-cloud@latest/developers/apps/getting-started-with-apps/about-apps#about-github-apps).\" For information about the APIs to manage GitHub Apps, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest/graphql/reference/objects#app) or \"[Apps](https://docs.github.com/enterprise-cloud@latest/rest/apps)\" in the REST API documentation.", "description": "Somebody renamed the user or organization account that a GitHub App is installed on.", "operationId": "installation-target/renamed", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#installation_target" + "url": "https://docs.github.com/enterprise-cloud@latest/webhooks/webhook-events-and-payloads#installation_target" }, "parameters": [ { @@ -991598,7 +992529,7 @@ }, "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).\"", + "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": { @@ -991666,7 +992597,7 @@ }, "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).\"", + "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": { @@ -993145,11 +994076,11 @@ }, "installation-unsuspend": { "post": { - "summary": "This event occurs when there is activity relating to a GitHub App installation. All GitHub Apps receive this event by default. You cannot manually subscribe to this event.\n\nFor more information about GitHub Apps, see \"[About apps](https://docs.github.com/enterprise-cloud@latest//developers/apps/getting-started-with-apps/about-apps#about-github-apps).\" For information about the APIs to manage GitHub Apps, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#app) or \"[Apps](https://docs.github.com/enterprise-cloud@latest//rest/apps)\" in the REST API documentation.", + "summary": "This event occurs when there is activity relating to a GitHub App installation. All GitHub Apps receive this event by default. You cannot manually subscribe to this event.\n\nFor more information about GitHub Apps, see \"[About apps](https://docs.github.com/enterprise-cloud@latest/developers/apps/getting-started-with-apps/about-apps#about-github-apps).\" For information about the APIs to manage GitHub Apps, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest/graphql/reference/objects#app) or \"[Apps](https://docs.github.com/enterprise-cloud@latest/rest/apps)\" in the REST API documentation.", "description": "A GitHub App that was blocked from accessing a user or organization account was given access the account again.", "operationId": "installation/unsuspend", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#installation" + "url": "https://docs.github.com/enterprise-cloud@latest/webhooks/webhook-events-and-payloads#installation" }, "parameters": [ { @@ -993225,7 +994156,7 @@ }, "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).\"", + "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": { @@ -995682,11 +996613,11 @@ }, "issue-comment-created": { "post": { - "summary": "This event occurs when there is activity relating to a comment on an issue or pull request. For more information about issues and pull requests, see \"[About issues](https://docs.github.com/enterprise-cloud@latest//issues/tracking-your-work-with-issues/about-issues)\" and \"[About pull requests](https://docs.github.com/enterprise-cloud@latest//pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests).\" For information about the APIs to manage issue comments, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#issuecomment) or \"[Issue comments](https://docs.github.com/enterprise-cloud@latest//rest/issues/comments)\" in the REST API documentation.\n\nFor activity relating to an issue as opposed to comments on an issue, use the `issue` event. For activity related to pull request reviews or pull request review comments, use the `pull_request_review` or `pull_request_review_comment` events. For more information about the different types of pull request comments, see \"[Working with comments](https://docs.github.com/enterprise-cloud@latest//rest/guides/working-with-comments).\"\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Issues\" repository permission.", + "summary": "This event occurs when there is activity relating to a comment on an issue or pull request. For more information about issues and pull requests, see \"[About issues](https://docs.github.com/enterprise-cloud@latest/issues/tracking-your-work-with-issues/about-issues)\" and \"[About pull requests](https://docs.github.com/enterprise-cloud@latest/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests).\" For information about the APIs to manage issue comments, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest/graphql/reference/objects#issuecomment) or \"[Issue comments](https://docs.github.com/enterprise-cloud@latest/rest/issues/comments)\" in the REST API documentation.\n\nFor activity relating to an issue as opposed to comments on an issue, use the `issue` event. For activity related to pull request reviews or pull request review comments, use the `pull_request_review` or `pull_request_review_comment` events. For more information about the different types of pull request comments, see \"[Working with comments](https://docs.github.com/enterprise-cloud@latest/rest/guides/working-with-comments).\"\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Issues\" repository permission.", "description": "A comment on an issue or pull request was created.", "operationId": "issue-comment/created", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#issue_comment" + "url": "https://docs.github.com/enterprise-cloud@latest/webhooks/webhook-events-and-payloads#issue_comment" }, "parameters": [ { @@ -995762,7 +996693,7 @@ }, "comment": { "title": "issue comment", - "description": "The [comment](https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#get-an-issue-comment) itself.", + "description": "The [comment](https://docs.github.com/enterprise-cloud@latest/rest/issues/comments#get-an-issue-comment) itself.", "type": "object", "properties": { "author_association": { @@ -996427,7 +997358,7 @@ }, "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).\"", + "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": { @@ -996495,7 +997426,7 @@ }, "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).\"", + "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": { @@ -996515,11 +997446,11 @@ ] }, "issue": { - "description": "The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) the comment belongs to.", + "description": "The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) the comment belongs to.", "allOf": [ { "title": "Issue", - "description": "The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) itself.", + "description": "The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) itself.", "type": "object", "properties": { "active_lock_reason": { @@ -999599,11 +1000530,11 @@ }, "issue-comment-deleted": { "post": { - "summary": "This event occurs when there is activity relating to a comment on an issue or pull request. For more information about issues and pull requests, see \"[About issues](https://docs.github.com/enterprise-cloud@latest//issues/tracking-your-work-with-issues/about-issues)\" and \"[About pull requests](https://docs.github.com/enterprise-cloud@latest//pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests).\" For information about the APIs to manage issue comments, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#issuecomment) or \"[Issue comments](https://docs.github.com/enterprise-cloud@latest//rest/issues/comments)\" in the REST API documentation.\n\nFor activity relating to an issue as opposed to comments on an issue, use the `issue` event. For activity related to pull request reviews or pull request review comments, use the `pull_request_review` or `pull_request_review_comment` events. For more information about the different types of pull request comments, see \"[Working with comments](https://docs.github.com/enterprise-cloud@latest//rest/guides/working-with-comments).\"\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Issues\" repository permission.", + "summary": "This event occurs when there is activity relating to a comment on an issue or pull request. For more information about issues and pull requests, see \"[About issues](https://docs.github.com/enterprise-cloud@latest/issues/tracking-your-work-with-issues/about-issues)\" and \"[About pull requests](https://docs.github.com/enterprise-cloud@latest/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests).\" For information about the APIs to manage issue comments, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest/graphql/reference/objects#issuecomment) or \"[Issue comments](https://docs.github.com/enterprise-cloud@latest/rest/issues/comments)\" in the REST API documentation.\n\nFor activity relating to an issue as opposed to comments on an issue, use the `issue` event. For activity related to pull request reviews or pull request review comments, use the `pull_request_review` or `pull_request_review_comment` events. For more information about the different types of pull request comments, see \"[Working with comments](https://docs.github.com/enterprise-cloud@latest/rest/guides/working-with-comments).\"\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Issues\" repository permission.", "description": "A comment on an issue or pull request was deleted.", "operationId": "issue-comment/deleted", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#issue_comment" + "url": "https://docs.github.com/enterprise-cloud@latest/webhooks/webhook-events-and-payloads#issue_comment" }, "parameters": [ { @@ -999679,7 +1000610,7 @@ }, "comment": { "title": "issue comment", - "description": "The [comment](https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#get-an-issue-comment) itself.", + "description": "The [comment](https://docs.github.com/enterprise-cloud@latest/rest/issues/comments#get-an-issue-comment) itself.", "type": "object", "properties": { "author_association": { @@ -1000345,7 +1001276,7 @@ }, "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).\"", + "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": { @@ -1000413,7 +1001344,7 @@ }, "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).\"", + "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": { @@ -1000433,11 +1001364,11 @@ ] }, "issue": { - "description": "The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) the comment belongs to.", + "description": "The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) the comment belongs to.", "allOf": [ { "title": "Issue", - "description": "The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) itself.", + "description": "The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) itself.", "type": "object", "properties": { "active_lock_reason": { @@ -1003516,11 +1004447,11 @@ }, "issue-comment-edited": { "post": { - "summary": "This event occurs when there is activity relating to a comment on an issue or pull request. For more information about issues and pull requests, see \"[About issues](https://docs.github.com/enterprise-cloud@latest//issues/tracking-your-work-with-issues/about-issues)\" and \"[About pull requests](https://docs.github.com/enterprise-cloud@latest//pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests).\" For information about the APIs to manage issue comments, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#issuecomment) or \"[Issue comments](https://docs.github.com/enterprise-cloud@latest//rest/issues/comments)\" in the REST API documentation.\n\nFor activity relating to an issue as opposed to comments on an issue, use the `issue` event. For activity related to pull request reviews or pull request review comments, use the `pull_request_review` or `pull_request_review_comment` events. For more information about the different types of pull request comments, see \"[Working with comments](https://docs.github.com/enterprise-cloud@latest//rest/guides/working-with-comments).\"\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Issues\" repository permission.", + "summary": "This event occurs when there is activity relating to a comment on an issue or pull request. For more information about issues and pull requests, see \"[About issues](https://docs.github.com/enterprise-cloud@latest/issues/tracking-your-work-with-issues/about-issues)\" and \"[About pull requests](https://docs.github.com/enterprise-cloud@latest/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests).\" For information about the APIs to manage issue comments, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest/graphql/reference/objects#issuecomment) or \"[Issue comments](https://docs.github.com/enterprise-cloud@latest/rest/issues/comments)\" in the REST API documentation.\n\nFor activity relating to an issue as opposed to comments on an issue, use the `issue` event. For activity related to pull request reviews or pull request review comments, use the `pull_request_review` or `pull_request_review_comment` events. For more information about the different types of pull request comments, see \"[Working with comments](https://docs.github.com/enterprise-cloud@latest/rest/guides/working-with-comments).\"\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Issues\" repository permission.", "description": "A comment on an issue or pull request was edited.", "operationId": "issue-comment/edited", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#issue_comment" + "url": "https://docs.github.com/enterprise-cloud@latest/webhooks/webhook-events-and-payloads#issue_comment" }, "parameters": [ { @@ -1003614,7 +1004545,7 @@ }, "comment": { "title": "issue comment", - "description": "The [comment](https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#get-an-issue-comment) itself.", + "description": "The [comment](https://docs.github.com/enterprise-cloud@latest/rest/issues/comments#get-an-issue-comment) itself.", "type": "object", "properties": { "author_association": { @@ -1004280,7 +1005211,7 @@ }, "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).\"", + "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": { @@ -1004348,7 +1005279,7 @@ }, "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).\"", + "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": { @@ -1004368,11 +1005299,11 @@ ] }, "issue": { - "description": "The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) the comment belongs to.", + "description": "The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) the comment belongs to.", "allOf": [ { "title": "Issue", - "description": "The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) itself.", + "description": "The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) itself.", "type": "object", "properties": { "active_lock_reason": { @@ -1007452,11 +1008383,11 @@ }, "issue-comment-pinned": { "post": { - "summary": "This event occurs when there is activity relating to a comment on an issue or pull request. For more information about issues and pull requests, see \"[About issues](https://docs.github.com/enterprise-cloud@latest//issues/tracking-your-work-with-issues/about-issues)\" and \"[About pull requests](https://docs.github.com/enterprise-cloud@latest//pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests).\" For information about the APIs to manage issue comments, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#issuecomment) or \"[Issue comments](https://docs.github.com/enterprise-cloud@latest//rest/issues/comments)\" in the REST API documentation.\n\nFor activity relating to an issue as opposed to comments on an issue, use the `issue` event. For activity related to pull request reviews or pull request review comments, use the `pull_request_review` or `pull_request_review_comment` events. For more information about the different types of pull request comments, see \"[Working with comments](https://docs.github.com/enterprise-cloud@latest//rest/guides/working-with-comments).\"\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Issues\" repository permission.", + "summary": "This event occurs when there is activity relating to a comment on an issue or pull request. For more information about issues and pull requests, see \"[About issues](https://docs.github.com/enterprise-cloud@latest/issues/tracking-your-work-with-issues/about-issues)\" and \"[About pull requests](https://docs.github.com/enterprise-cloud@latest/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests).\" For information about the APIs to manage issue comments, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest/graphql/reference/objects#issuecomment) or \"[Issue comments](https://docs.github.com/enterprise-cloud@latest/rest/issues/comments)\" in the REST API documentation.\n\nFor activity relating to an issue as opposed to comments on an issue, use the `issue` event. For activity related to pull request reviews or pull request review comments, use the `pull_request_review` or `pull_request_review_comment` events. For more information about the different types of pull request comments, see \"[Working with comments](https://docs.github.com/enterprise-cloud@latest/rest/guides/working-with-comments).\"\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Issues\" repository permission.", "description": "A comment on an issue was pinned.", "operationId": "issue-comment/pinned", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#issue_comment" + "url": "https://docs.github.com/enterprise-cloud@latest/webhooks/webhook-events-and-payloads#issue_comment" }, "parameters": [ { @@ -1007532,7 +1008463,7 @@ }, "comment": { "title": "issue comment", - "description": "The [comment](https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#get-an-issue-comment) itself.", + "description": "The [comment](https://docs.github.com/enterprise-cloud@latest/rest/issues/comments#get-an-issue-comment) itself.", "type": "object", "properties": { "author_association": { @@ -1008198,7 +1009129,7 @@ }, "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).\"", + "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": { @@ -1008266,7 +1009197,7 @@ }, "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).\"", + "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": { @@ -1008286,11 +1009217,11 @@ ] }, "issue": { - "description": "The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) the comment belongs to.", + "description": "The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) the comment belongs to.", "allOf": [ { "title": "Issue", - "description": "The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) itself.", + "description": "The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) itself.", "type": "object", "properties": { "active_lock_reason": { @@ -1011376,11 +1012307,11 @@ }, "issue-comment-unpinned": { "post": { - "summary": "This event occurs when there is activity relating to a comment on an issue or pull request. For more information about issues and pull requests, see \"[About issues](https://docs.github.com/enterprise-cloud@latest//issues/tracking-your-work-with-issues/about-issues)\" and \"[About pull requests](https://docs.github.com/enterprise-cloud@latest//pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests).\" For information about the APIs to manage issue comments, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#issuecomment) or \"[Issue comments](https://docs.github.com/enterprise-cloud@latest//rest/issues/comments)\" in the REST API documentation.\n\nFor activity relating to an issue as opposed to comments on an issue, use the `issue` event. For activity related to pull request reviews or pull request review comments, use the `pull_request_review` or `pull_request_review_comment` events. For more information about the different types of pull request comments, see \"[Working with comments](https://docs.github.com/enterprise-cloud@latest//rest/guides/working-with-comments).\"\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Issues\" repository permission.", + "summary": "This event occurs when there is activity relating to a comment on an issue or pull request. For more information about issues and pull requests, see \"[About issues](https://docs.github.com/enterprise-cloud@latest/issues/tracking-your-work-with-issues/about-issues)\" and \"[About pull requests](https://docs.github.com/enterprise-cloud@latest/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests).\" For information about the APIs to manage issue comments, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest/graphql/reference/objects#issuecomment) or \"[Issue comments](https://docs.github.com/enterprise-cloud@latest/rest/issues/comments)\" in the REST API documentation.\n\nFor activity relating to an issue as opposed to comments on an issue, use the `issue` event. For activity related to pull request reviews or pull request review comments, use the `pull_request_review` or `pull_request_review_comment` events. For more information about the different types of pull request comments, see \"[Working with comments](https://docs.github.com/enterprise-cloud@latest/rest/guides/working-with-comments).\"\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Issues\" repository permission.", "description": "A comment on an issue was unpinned.", "operationId": "issue-comment/unpinned", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#issue_comment" + "url": "https://docs.github.com/enterprise-cloud@latest/webhooks/webhook-events-and-payloads#issue_comment" }, "parameters": [ { @@ -1011456,7 +1012387,7 @@ }, "comment": { "title": "issue comment", - "description": "The [comment](https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#get-an-issue-comment) itself.", + "description": "The [comment](https://docs.github.com/enterprise-cloud@latest/rest/issues/comments#get-an-issue-comment) itself.", "type": "object", "properties": { "author_association": { @@ -1012122,7 +1013053,7 @@ }, "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).\"", + "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": { @@ -1012190,7 +1013121,7 @@ }, "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).\"", + "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": { @@ -1012210,11 +1013141,11 @@ ] }, "issue": { - "description": "The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) the comment belongs to.", + "description": "The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) the comment belongs to.", "allOf": [ { "title": "Issue", - "description": "The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) itself.", + "description": "The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) itself.", "type": "object", "properties": { "active_lock_reason": { @@ -1015304,7 +1016235,7 @@ "description": "An issue was marked as blocked by another issue.", "operationId": "issue-dependencies/blocked-by-added", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#issue-dependencies" + "url": "https://docs.github.com/enterprise-cloud@latest/webhooks/webhook-events-and-payloads#issue-dependencies" }, "parameters": [ { @@ -1022044,7 +1022975,7 @@ }, "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).\"", + "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": { @@ -1023525,7 +1024456,7 @@ "description": "The blocked by relationship between an issue and another issue was removed.", "operationId": "issue-dependencies/blocked-by-removed", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#issue-dependencies" + "url": "https://docs.github.com/enterprise-cloud@latest/webhooks/webhook-events-and-payloads#issue-dependencies" }, "parameters": [ { @@ -1030265,7 +1031196,7 @@ }, "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).\"", + "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": { @@ -1031746,7 +1032677,7 @@ "description": "An issue was marked as blocking another issue.", "operationId": "issue-dependencies/blocking-added", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#issue-dependencies" + "url": "https://docs.github.com/enterprise-cloud@latest/webhooks/webhook-events-and-payloads#issue-dependencies" }, "parameters": [ { @@ -1038486,7 +1039417,7 @@ }, "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).\"", + "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": { @@ -1039967,7 +1040898,7 @@ "description": "The blocking relationship between an issue and another issue was removed.", "operationId": "issue-dependencies/blocking-removed", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#issue-dependencies" + "url": "https://docs.github.com/enterprise-cloud@latest/webhooks/webhook-events-and-payloads#issue-dependencies" }, "parameters": [ { @@ -1046707,7 +1047638,7 @@ }, "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).\"", + "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": { @@ -1048184,11 +1049115,11 @@ }, "issues-assigned": { "post": { - "summary": "This event occurs when there is activity relating to an issue. For more information about issues, see \"[About issues](https://docs.github.com/enterprise-cloud@latest//issues/tracking-your-work-with-issues/about-issues).\" For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#issue) or \"[Issues](https://docs.github.com/enterprise-cloud@latest//rest/issues)\" in the REST API documentation.\n\nFor activity relating to a comment on an issue, use the `issue_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Issues\" repository permission.", + "summary": "This event occurs when there is activity relating to an issue. For more information about issues, see \"[About issues](https://docs.github.com/enterprise-cloud@latest/issues/tracking-your-work-with-issues/about-issues).\" For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest/graphql/reference/objects#issue) or \"[Issues](https://docs.github.com/enterprise-cloud@latest/rest/issues)\" in the REST API documentation.\n\nFor activity relating to a comment on an issue, use the `issue_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Issues\" repository permission.", "description": "An issue was assigned to a user.", "operationId": "issues/assigned", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#issues" + "url": "https://docs.github.com/enterprise-cloud@latest/webhooks/webhook-events-and-payloads#issues" }, "parameters": [ { @@ -1048361,7 +1049292,7 @@ }, "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).\"", + "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": { @@ -1048429,7 +1049360,7 @@ }, "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).\"", + "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": { @@ -1048450,7 +1049381,7 @@ }, "issue": { "title": "Issue", - "description": "The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) itself.", + "description": "The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) itself.", "type": "object", "properties": { "active_lock_reason": { @@ -1051983,11 +1052914,11 @@ }, "issues-closed": { "post": { - "summary": "This event occurs when there is activity relating to an issue. For more information about issues, see \"[About issues](https://docs.github.com/enterprise-cloud@latest//issues/tracking-your-work-with-issues/about-issues).\" For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#issue) or \"[Issues](https://docs.github.com/enterprise-cloud@latest//rest/issues)\" in the REST API documentation.\n\nFor activity relating to a comment on an issue, use the `issue_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Issues\" repository permission.", + "summary": "This event occurs when there is activity relating to an issue. For more information about issues, see \"[About issues](https://docs.github.com/enterprise-cloud@latest/issues/tracking-your-work-with-issues/about-issues).\" For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest/graphql/reference/objects#issue) or \"[Issues](https://docs.github.com/enterprise-cloud@latest/rest/issues)\" in the REST API documentation.\n\nFor activity relating to a comment on an issue, use the `issue_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Issues\" repository permission.", "description": "An issue was closed.", "operationId": "issues/closed", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#issues" + "url": "https://docs.github.com/enterprise-cloud@latest/webhooks/webhook-events-and-payloads#issues" }, "parameters": [ { @@ -1052064,7 +1052995,7 @@ }, "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).\"", + "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": { @@ -1052132,7 +1053063,7 @@ }, "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).\"", + "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": { @@ -1052152,11 +1053083,11 @@ ] }, "issue": { - "description": "The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) itself.", + "description": "The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) itself.", "allOf": [ { "title": "Issue", - "description": "The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) itself.", + "description": "The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) itself.", "type": "object", "properties": { "active_lock_reason": { @@ -1053871,567 +1054802,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,13 +1064395,13 @@ } } }, - "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", + "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", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#issues" + "url": "https://docs.github.com/enterprise-cloud@latest/webhooks/webhook-events-and-payloads#issues" }, "parameters": [ { @@ -1055961,18 +1064466,48 @@ "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).\"", + "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": { @@ -1056040,7 +1064575,7 @@ }, "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).\"", + "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": { @@ -1056061,7 +1064596,7 @@ }, "issue": { "title": "Issue", - "description": "The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) itself.", + "description": "The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) itself.", "type": "object", "properties": { "active_lock_reason": { @@ -1056154,7 +1064689,8 @@ "enum": [ "Bot", "User", - "Organization" + "Organization", + "Mannequin" ] }, "url": { @@ -1056251,15 +1064787,13 @@ "enum": [ "Bot", "User", - "Organization" + "Organization", + "Mannequin" ] }, "url": { "type": "string", "format": "uri" - }, - "user_view_type": { - "type": "string" } }, "required": [ @@ -1056467,7 +1065001,8 @@ "enum": [ "Bot", "User", - "Organization" + "Organization", + "Mannequin" ] }, "url": { @@ -1056625,6 +1065160,8 @@ "watch", "workflow_dispatch", "workflow_run", + "security_and_analysis", + "pull_request_review_thread", "reminder" ] } @@ -1056872,7 +1065409,8 @@ "type": "string", "enum": [ "read", - "write" + "write", + "admin" ] }, "organization_secrets": { @@ -1057936,10 +1066474,6 @@ "type": "string", "format": "uri" }, - "title": { - "description": "Title of the issue", - "type": "string" - }, "type": { "title": "Issue Type", "description": "The type of issue.", @@ -1058000,6 +1066534,10 @@ "description" ] }, + "title": { + "description": "Title of the issue", + "type": "string" + }, "updated_at": { "type": "string", "format": "date-time" @@ -1058089,7 +1066627,8 @@ "enum": [ "Bot", "User", - "Organization" + "Organization", + "Mannequin" ] }, "url": { @@ -1058130,6 +1066669,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 +1068141,7 @@ }, "required": [ "action", + "changes", "issue", "repository", "sender" @@ -1059586,13 +1068167,13 @@ } } }, - "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", + "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 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" + "url": "https://docs.github.com/enterprise-cloud@latest/webhooks/webhook-events-and-payloads#issues" }, "parameters": [ { @@ -1059657,18 +1068238,18 @@ "content": { "application/json": { "schema": { - "title": "issues demilestoned event", + "title": "issues field_added event", "type": "object", "properties": { "action": { "type": "string", "enum": [ - "demilestoned" + "field_added" ] }, "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).\"", + "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": { @@ -1059736,7 +1068317,7 @@ }, "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).\"", + "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": { @@ -1059757,31 +1068338,8 @@ }, "issue": { "title": "Issue", - "description": "The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) itself.", + "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 +1068356,6 @@ "title": "User", "type": "object", "nullable": true, - "required": [ - "login", - "id" - ], "properties": { "avatar_url": { "type": "string", @@ -1059884,8 +1068438,15 @@ "url": { "type": "string", "format": "uri" + }, + "user_view_type": { + "type": "string" } - } + }, + "required": [ + "login", + "id" + ] }, "assignees": { "type": "array", @@ -1059893,10 +1068454,6 @@ "title": "User", "type": "object", "nullable": true, - "required": [ - "login", - "id" - ], "properties": { "avatar_url": { "type": "string", @@ -1059979,8 +1068536,15 @@ "url": { "type": "string", "format": "uri" + }, + "user_view_type": { + "type": "string" } - } + }, + "required": [ + "login", + "id" + ] } }, "author_association": { @@ -1060039,16 +1068603,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 +1068630,16 @@ "type": "string", "format": "uri" } - } + }, + "required": [ + "id", + "node_id", + "url", + "name", + "color", + "default", + "description" + ] } }, "labels_url": { @@ -1060091,24 +1068654,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 +1068671,6 @@ "title": "User", "type": "object", "nullable": true, - "required": [ - "login", - "id" - ], "properties": { "avatar_url": { "type": "string", @@ -1060216,7 +1068757,11 @@ "user_view_type": { "type": "string" } - } + }, + "required": [ + "login", + "id" + ] }, "description": { "type": "string", @@ -1060268,7 +1068813,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 +1068844,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 +1068904,9 @@ "team_add", "watch", "workflow_dispatch", - "workflow_run" + "workflow_run", + "reminder", + "pull_request_review_thread" ] } }, @@ -1060381,10 +1068935,6 @@ "title": "User", "type": "object", "nullable": true, - "required": [ - "login", - "id" - ], "properties": { "avatar_url": { "type": "string", @@ -1060470,7 +1069020,11 @@ "user_view_type": { "type": "string" } - } + }, + "required": [ + "login", + "id" + ] }, "permissions": { "description": "The set of permissions for the GitHub app", @@ -1060726,7 +1069280,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 +1069322,6 @@ "reactions": { "title": "Reactions", "type": "object", - "required": [ - "url", - "total_count", - "+1", - "-1", - "laugh", - "confused", - "heart", - "hooray", - "eyes", - "rocket" - ], "properties": { "+1": { "type": "integer" @@ -1060801,7 +1069354,19 @@ "type": "string", "format": "uri" } - } + }, + "required": [ + "url", + "total_count", + "+1", + "-1", + "laugh", + "confused", + "heart", + "hooray", + "eyes", + "rocket" + ] }, "repository_url": { "type": "string", @@ -1061730,10 +1070295,6 @@ "title": "User", "type": "object", "nullable": true, - "required": [ - "login", - "id" - ], "properties": { "avatar_url": { "type": "string", @@ -1061821,193 +1070382,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 +1071991,7 @@ "required": [ "action", "issue", + "issue_field", "repository", "sender" ] @@ -1063464,13 +1072016,13 @@ } } }, - "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", + "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 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" + "url": "https://docs.github.com/enterprise-cloud@latest/webhooks/webhook-events-and-payloads#issues" }, "parameters": [ { @@ -1063535,48 +1072087,18 @@ "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).\"", + "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": { @@ -1063644,7 +1072166,7 @@ }, "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).\"", + "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": { @@ -1063665,7 +1072187,7 @@ }, "issue": { "title": "Issue", - "description": "The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) itself.", + "description": "The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) itself.", "type": "object", "properties": { "active_lock_reason": { @@ -1063863,6 +1072385,9 @@ "url": { "type": "string", "format": "uri" + }, + "user_view_type": { + "type": "string" } }, "required": [ @@ -1064229,9 +1072754,8 @@ "watch", "workflow_dispatch", "workflow_run", - "security_and_analysis", - "pull_request_review_thread", - "reminder" + "reminder", + "pull_request_review_thread" ] } }, @@ -1065543,6 +1074067,10 @@ "type": "string", "format": "uri" }, + "title": { + "description": "Title of the issue", + "type": "string" + }, "type": { "title": "Issue Type", "description": "The type of issue.", @@ -1065603,10 +1074131,6 @@ "description" ] }, - "title": { - "description": "Title of the issue", - "type": "string" - }, "updated_at": { "type": "string", "format": "date-time" @@ -1065738,45 +1074262,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": { @@ -1067210,8 +1075773,8 @@ }, "required": [ "action", - "changes", "issue", + "issue_field", "repository", "sender" ] @@ -1067238,11 +1075801,11 @@ }, "issues-labeled": { "post": { - "summary": "This event occurs when there is activity relating to an issue. For more information about issues, see \"[About issues](https://docs.github.com/enterprise-cloud@latest//issues/tracking-your-work-with-issues/about-issues).\" For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#issue) or \"[Issues](https://docs.github.com/enterprise-cloud@latest//rest/issues)\" in the REST API documentation.\n\nFor activity relating to a comment on an issue, use the `issue_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Issues\" repository permission.", + "summary": "This event occurs when there is activity relating to an issue. For more information about issues, see \"[About issues](https://docs.github.com/enterprise-cloud@latest/issues/tracking-your-work-with-issues/about-issues).\" For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest/graphql/reference/objects#issue) or \"[Issues](https://docs.github.com/enterprise-cloud@latest/rest/issues)\" in the REST API documentation.\n\nFor activity relating to a comment on an issue, use the `issue_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Issues\" repository permission.", "description": "A label was added to an issue.", "operationId": "issues/labeled", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#issues" + "url": "https://docs.github.com/enterprise-cloud@latest/webhooks/webhook-events-and-payloads#issues" }, "parameters": [ { @@ -1067318,7 +1075881,7 @@ }, "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).\"", + "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": { @@ -1067386,7 +1075949,7 @@ }, "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).\"", + "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": { @@ -1067407,7 +1075970,7 @@ }, "issue": { "title": "Issue", - "description": "The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) itself.", + "description": "The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) itself.", "type": "object", "properties": { "active_lock_reason": { @@ -1070978,11 +1079541,11 @@ }, "issues-locked": { "post": { - "summary": "This event occurs when there is activity relating to an issue. For more information about issues, see \"[About issues](https://docs.github.com/enterprise-cloud@latest//issues/tracking-your-work-with-issues/about-issues).\" For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#issue) or \"[Issues](https://docs.github.com/enterprise-cloud@latest//rest/issues)\" in the REST API documentation.\n\nFor activity relating to a comment on an issue, use the `issue_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Issues\" repository permission.", - "description": "Conversation on an issue was locked. For more information, see \"[Locking conversations](https://docs.github.com/enterprise-cloud@latest//communities/moderating-comments-and-conversations/locking-conversations).\"", + "summary": "This event occurs when there is activity relating to an issue. For more information about issues, see \"[About issues](https://docs.github.com/enterprise-cloud@latest/issues/tracking-your-work-with-issues/about-issues).\" For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest/graphql/reference/objects#issue) or \"[Issues](https://docs.github.com/enterprise-cloud@latest/rest/issues)\" in the REST API documentation.\n\nFor activity relating to a comment on an issue, use the `issue_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Issues\" repository permission.", + "description": "Conversation on an issue was locked. For more information, see \"[Locking conversations](https://docs.github.com/enterprise-cloud@latest/communities/moderating-comments-and-conversations/locking-conversations).\"", "operationId": "issues/locked", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#issues" + "url": "https://docs.github.com/enterprise-cloud@latest/webhooks/webhook-events-and-payloads#issues" }, "parameters": [ { @@ -1071058,7 +1079621,7 @@ }, "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).\"", + "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": { @@ -1071126,7 +1079689,7 @@ }, "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).\"", + "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": { @@ -1071147,7 +1079710,7 @@ }, "issue": { "title": "Issue", - "description": "The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) itself.", + "description": "The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) itself.", "type": "object", "required": [ "active_lock_reason", @@ -1074680,11 +1083243,11 @@ }, "issues-milestoned": { "post": { - "summary": "This event occurs when there is activity relating to an issue. For more information about issues, see \"[About issues](https://docs.github.com/enterprise-cloud@latest//issues/tracking-your-work-with-issues/about-issues).\" For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#issue) or \"[Issues](https://docs.github.com/enterprise-cloud@latest//rest/issues)\" in the REST API documentation.\n\nFor activity relating to a comment on an issue, use the `issue_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Issues\" repository permission.", + "summary": "This event occurs when there is activity relating to an issue. For more information about issues, see \"[About issues](https://docs.github.com/enterprise-cloud@latest/issues/tracking-your-work-with-issues/about-issues).\" For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest/graphql/reference/objects#issue) or \"[Issues](https://docs.github.com/enterprise-cloud@latest/rest/issues)\" in the REST API documentation.\n\nFor activity relating to a comment on an issue, use the `issue_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Issues\" repository permission.", "description": "An issue was added to a milestone.", "operationId": "issues/milestoned", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#issues" + "url": "https://docs.github.com/enterprise-cloud@latest/webhooks/webhook-events-and-payloads#issues" }, "parameters": [ { @@ -1074760,7 +1083323,7 @@ }, "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).\"", + "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": { @@ -1074828,7 +1083391,7 @@ }, "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).\"", + "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": { @@ -1074849,7 +1083412,7 @@ }, "issue": { "title": "Issue", - "description": "The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) itself.", + "description": "The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) itself.", "type": "object", "required": [ "active_lock_reason", @@ -1078557,11 +1087120,11 @@ }, "issues-opened": { "post": { - "summary": "This event occurs when there is activity relating to an issue. For more information about issues, see \"[About issues](https://docs.github.com/enterprise-cloud@latest//issues/tracking-your-work-with-issues/about-issues).\" For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#issue) or \"[Issues](https://docs.github.com/enterprise-cloud@latest//rest/issues)\" in the REST API documentation.\n\nFor activity relating to a comment on an issue, use the `issue_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Issues\" repository permission.", + "summary": "This event occurs when there is activity relating to an issue. For more information about issues, see \"[About issues](https://docs.github.com/enterprise-cloud@latest/issues/tracking-your-work-with-issues/about-issues).\" For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest/graphql/reference/objects#issue) or \"[Issues](https://docs.github.com/enterprise-cloud@latest/rest/issues)\" in the REST API documentation.\n\nFor activity relating to a comment on an issue, use the `issue_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Issues\" repository permission.", "description": "An issue was created. When a closed issue is reopened, the action will be `reopened` instead.", "operationId": "issues/opened", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#issues" + "url": "https://docs.github.com/enterprise-cloud@latest/webhooks/webhook-events-and-payloads#issues" }, "parameters": [ { @@ -1078640,7 +1087203,7 @@ "properties": { "old_issue": { "title": "Issue", - "description": "The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) itself.", + "description": "The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) itself.", "type": "object", "nullable": true, "properties": { @@ -1081316,7 +1089879,7 @@ }, "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).\"", + "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": { @@ -1081384,7 +1089947,7 @@ }, "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).\"", + "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": { @@ -1081405,7 +1089968,7 @@ }, "issue": { "title": "Issue", - "description": "The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) itself.", + "description": "The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) itself.", "type": "object", "properties": { "active_lock_reason": { @@ -1084936,11 +1093499,11 @@ }, "issues-pinned": { "post": { - "summary": "This event occurs when there is activity relating to an issue. For more information about issues, see \"[About issues](https://docs.github.com/enterprise-cloud@latest//issues/tracking-your-work-with-issues/about-issues).\" For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#issue) or \"[Issues](https://docs.github.com/enterprise-cloud@latest//rest/issues)\" in the REST API documentation.\n\nFor activity relating to a comment on an issue, use the `issue_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Issues\" repository permission.", - "description": "An issue was pinned to a repository. For more information, see \"[Pinning an issue to your repository](https://docs.github.com/enterprise-cloud@latest//issues/tracking-your-work-with-issues/pinning-an-issue-to-your-repository).\"", + "summary": "This event occurs when there is activity relating to an issue. For more information about issues, see \"[About issues](https://docs.github.com/enterprise-cloud@latest/issues/tracking-your-work-with-issues/about-issues).\" For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest/graphql/reference/objects#issue) or \"[Issues](https://docs.github.com/enterprise-cloud@latest/rest/issues)\" in the REST API documentation.\n\nFor activity relating to a comment on an issue, use the `issue_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Issues\" repository permission.", + "description": "An issue was pinned to a repository. For more information, see \"[Pinning an issue to your repository](https://docs.github.com/enterprise-cloud@latest/issues/tracking-your-work-with-issues/pinning-an-issue-to-your-repository).\"", "operationId": "issues/pinned", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#issues" + "url": "https://docs.github.com/enterprise-cloud@latest/webhooks/webhook-events-and-payloads#issues" }, "parameters": [ { @@ -1085016,7 +1093579,7 @@ }, "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).\"", + "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": { @@ -1085084,7 +1093647,7 @@ }, "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).\"", + "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": { @@ -1085105,7 +1093668,7 @@ }, "issue": { "title": "Issue", - "description": "The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) itself.", + "description": "The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) itself.", "type": "object", "properties": { "active_lock_reason": { @@ -1088631,11 +1097194,11 @@ }, "issues-reopened": { "post": { - "summary": "This event occurs when there is activity relating to an issue. For more information about issues, see \"[About issues](https://docs.github.com/enterprise-cloud@latest//issues/tracking-your-work-with-issues/about-issues).\" For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#issue) or \"[Issues](https://docs.github.com/enterprise-cloud@latest//rest/issues)\" in the REST API documentation.\n\nFor activity relating to a comment on an issue, use the `issue_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Issues\" repository permission.", + "summary": "This event occurs when there is activity relating to an issue. For more information about issues, see \"[About issues](https://docs.github.com/enterprise-cloud@latest/issues/tracking-your-work-with-issues/about-issues).\" For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest/graphql/reference/objects#issue) or \"[Issues](https://docs.github.com/enterprise-cloud@latest/rest/issues)\" in the REST API documentation.\n\nFor activity relating to a comment on an issue, use the `issue_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Issues\" repository permission.", "description": "A closed issue was reopened.", "operationId": "issues/reopened", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#issues" + "url": "https://docs.github.com/enterprise-cloud@latest/webhooks/webhook-events-and-payloads#issues" }, "parameters": [ { @@ -1088711,7 +1097274,7 @@ }, "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).\"", + "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": { @@ -1088779,7 +1097342,7 @@ }, "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).\"", + "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": { @@ -1088800,7 +1097363,7 @@ }, "issue": { "title": "Issue", - "description": "The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) itself.", + "description": "The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) itself.", "type": "object", "required": [ "active_lock_reason", @@ -1092329,11 +1100892,11 @@ }, "issues-transferred": { "post": { - "summary": "This event occurs when there is activity relating to an issue. For more information about issues, see \"[About issues](https://docs.github.com/enterprise-cloud@latest//issues/tracking-your-work-with-issues/about-issues).\" For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#issue) or \"[Issues](https://docs.github.com/enterprise-cloud@latest//rest/issues)\" in the REST API documentation.\n\nFor activity relating to a comment on an issue, use the `issue_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Issues\" repository permission.", - "description": "An issue was transferred to another repository. For more information, see \"[Transferring an issue to another repository](https://docs.github.com/enterprise-cloud@latest//issues/tracking-your-work-with-issues/transferring-an-issue-to-another-repository).\"", + "summary": "This event occurs when there is activity relating to an issue. For more information about issues, see \"[About issues](https://docs.github.com/enterprise-cloud@latest/issues/tracking-your-work-with-issues/about-issues).\" For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest/graphql/reference/objects#issue) or \"[Issues](https://docs.github.com/enterprise-cloud@latest/rest/issues)\" in the REST API documentation.\n\nFor activity relating to a comment on an issue, use the `issue_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Issues\" repository permission.", + "description": "An issue was transferred to another repository. For more information, see \"[Transferring an issue to another repository](https://docs.github.com/enterprise-cloud@latest/issues/tracking-your-work-with-issues/transferring-an-issue-to-another-repository).\"", "operationId": "issues/transferred", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#issues" + "url": "https://docs.github.com/enterprise-cloud@latest/webhooks/webhook-events-and-payloads#issues" }, "parameters": [ { @@ -1092412,7 +1100975,7 @@ "properties": { "new_issue": { "title": "Issue", - "description": "The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) itself.", + "description": "The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) itself.", "type": "object", "properties": { "active_lock_reason": { @@ -1095108,7 +1103671,7 @@ }, "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).\"", + "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": { @@ -1095176,7 +1103739,7 @@ }, "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).\"", + "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": { @@ -1095197,7 +1103760,7 @@ }, "issue": { "title": "Issue", - "description": "The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) itself.", + "description": "The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) itself.", "type": "object", "properties": { "active_lock_reason": { @@ -1098724,11 +1107287,11 @@ }, "issues-typed": { "post": { - "summary": "This event occurs when there is activity relating to an issue. For more information about issues, see \"[About issues](https://docs.github.com/enterprise-cloud@latest//issues/tracking-your-work-with-issues/about-issues).\" For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#issue) or \"[Issues](https://docs.github.com/enterprise-cloud@latest//rest/issues)\" in the REST API documentation.\n\nFor activity relating to a comment on an issue, use the `issue_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Issues\" repository permission.", + "summary": "This event occurs when there is activity relating to an issue. For more information about issues, see \"[About issues](https://docs.github.com/enterprise-cloud@latest/issues/tracking-your-work-with-issues/about-issues).\" For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest/graphql/reference/objects#issue) or \"[Issues](https://docs.github.com/enterprise-cloud@latest/rest/issues)\" in the REST API documentation.\n\nFor activity relating to a comment on an issue, use the `issue_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Issues\" repository permission.", "description": "An issue type was added to an issue.", "operationId": "issues/typed", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#issues" + "url": "https://docs.github.com/enterprise-cloud@latest/webhooks/webhook-events-and-payloads#issues" }, "parameters": [ { @@ -1098804,7 +1107367,7 @@ }, "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).\"", + "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": { @@ -1098872,7 +1107435,7 @@ }, "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).\"", + "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": { @@ -1098893,7 +1107456,7 @@ }, "issue": { "title": "Issue", - "description": "The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) itself.", + "description": "The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) itself.", "type": "object", "properties": { "active_lock_reason": { @@ -1102487,11 +1111050,11 @@ }, "issues-unassigned": { "post": { - "summary": "This event occurs when there is activity relating to an issue. For more information about issues, see \"[About issues](https://docs.github.com/enterprise-cloud@latest//issues/tracking-your-work-with-issues/about-issues).\" For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#issue) or \"[Issues](https://docs.github.com/enterprise-cloud@latest//rest/issues)\" in the REST API documentation.\n\nFor activity relating to a comment on an issue, use the `issue_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Issues\" repository permission.", + "summary": "This event occurs when there is activity relating to an issue. For more information about issues, see \"[About issues](https://docs.github.com/enterprise-cloud@latest/issues/tracking-your-work-with-issues/about-issues).\" For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest/graphql/reference/objects#issue) or \"[Issues](https://docs.github.com/enterprise-cloud@latest/rest/issues)\" in the REST API documentation.\n\nFor activity relating to a comment on an issue, use the `issue_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Issues\" repository permission.", "description": "A user was unassigned from an issue.", "operationId": "issues/unassigned", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#issues" + "url": "https://docs.github.com/enterprise-cloud@latest/webhooks/webhook-events-and-payloads#issues" }, "parameters": [ { @@ -1102664,7 +1111227,7 @@ }, "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).\"", + "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": { @@ -1102732,7 +1111295,7 @@ }, "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).\"", + "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": { @@ -1102753,7 +1111316,7 @@ }, "issue": { "title": "Issue", - "description": "The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) itself.", + "description": "The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) itself.", "type": "object", "properties": { "active_lock_reason": { @@ -1106286,11 +1114849,11 @@ }, "issues-unlabeled": { "post": { - "summary": "This event occurs when there is activity relating to an issue. For more information about issues, see \"[About issues](https://docs.github.com/enterprise-cloud@latest//issues/tracking-your-work-with-issues/about-issues).\" For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#issue) or \"[Issues](https://docs.github.com/enterprise-cloud@latest//rest/issues)\" in the REST API documentation.\n\nFor activity relating to a comment on an issue, use the `issue_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Issues\" repository permission.", + "summary": "This event occurs when there is activity relating to an issue. For more information about issues, see \"[About issues](https://docs.github.com/enterprise-cloud@latest/issues/tracking-your-work-with-issues/about-issues).\" For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest/graphql/reference/objects#issue) or \"[Issues](https://docs.github.com/enterprise-cloud@latest/rest/issues)\" in the REST API documentation.\n\nFor activity relating to a comment on an issue, use the `issue_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Issues\" repository permission.", "description": "A label was removed from an issue.", "operationId": "issues/unlabeled", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#issues" + "url": "https://docs.github.com/enterprise-cloud@latest/webhooks/webhook-events-and-payloads#issues" }, "parameters": [ { @@ -1106366,7 +1114929,7 @@ }, "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).\"", + "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": { @@ -1106434,7 +1114997,7 @@ }, "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).\"", + "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": { @@ -1106455,7 +1115018,7 @@ }, "issue": { "title": "Issue", - "description": "The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) itself.", + "description": "The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) itself.", "type": "object", "properties": { "active_lock_reason": { @@ -1110029,11 +1118592,11 @@ }, "issues-unlocked": { "post": { - "summary": "This event occurs when there is activity relating to an issue. For more information about issues, see \"[About issues](https://docs.github.com/enterprise-cloud@latest//issues/tracking-your-work-with-issues/about-issues).\" For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#issue) or \"[Issues](https://docs.github.com/enterprise-cloud@latest//rest/issues)\" in the REST API documentation.\n\nFor activity relating to a comment on an issue, use the `issue_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Issues\" repository permission.", - "description": "Conversation on an issue was locked. For more information, see \"[Locking conversations](https://docs.github.com/enterprise-cloud@latest//communities/moderating-comments-and-conversations/locking-conversations).\"", + "summary": "This event occurs when there is activity relating to an issue. For more information about issues, see \"[About issues](https://docs.github.com/enterprise-cloud@latest/issues/tracking-your-work-with-issues/about-issues).\" For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest/graphql/reference/objects#issue) or \"[Issues](https://docs.github.com/enterprise-cloud@latest/rest/issues)\" in the REST API documentation.\n\nFor activity relating to a comment on an issue, use the `issue_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Issues\" repository permission.", + "description": "Conversation on an issue was locked. For more information, see \"[Locking conversations](https://docs.github.com/enterprise-cloud@latest/communities/moderating-comments-and-conversations/locking-conversations).\"", "operationId": "issues/unlocked", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#issues" + "url": "https://docs.github.com/enterprise-cloud@latest/webhooks/webhook-events-and-payloads#issues" }, "parameters": [ { @@ -1110109,7 +1118672,7 @@ }, "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).\"", + "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": { @@ -1110177,7 +1118740,7 @@ }, "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).\"", + "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": { @@ -1110198,7 +1118761,7 @@ }, "issue": { "title": "Issue", - "description": "The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) itself.", + "description": "The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) itself.", "type": "object", "required": [ "active_lock_reason", @@ -1113729,11 +1122292,11 @@ }, "issues-unpinned": { "post": { - "summary": "This event occurs when there is activity relating to an issue. For more information about issues, see \"[About issues](https://docs.github.com/enterprise-cloud@latest//issues/tracking-your-work-with-issues/about-issues).\" For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#issue) or \"[Issues](https://docs.github.com/enterprise-cloud@latest//rest/issues)\" in the REST API documentation.\n\nFor activity relating to a comment on an issue, use the `issue_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Issues\" repository permission.", - "description": "An issue was unpinned from a repository. For more information, see \"[Pinning an issue to your repository](https://docs.github.com/enterprise-cloud@latest//issues/tracking-your-work-with-issues/pinning-an-issue-to-your-repository).\"", + "summary": "This event occurs when there is activity relating to an issue. For more information about issues, see \"[About issues](https://docs.github.com/enterprise-cloud@latest/issues/tracking-your-work-with-issues/about-issues).\" For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest/graphql/reference/objects#issue) or \"[Issues](https://docs.github.com/enterprise-cloud@latest/rest/issues)\" in the REST API documentation.\n\nFor activity relating to a comment on an issue, use the `issue_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Issues\" repository permission.", + "description": "An issue was unpinned from a repository. For more information, see \"[Pinning an issue to your repository](https://docs.github.com/enterprise-cloud@latest/issues/tracking-your-work-with-issues/pinning-an-issue-to-your-repository).\"", "operationId": "issues/unpinned", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#issues" + "url": "https://docs.github.com/enterprise-cloud@latest/webhooks/webhook-events-and-payloads#issues" }, "parameters": [ { @@ -1113809,7 +1122372,7 @@ }, "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).\"", + "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": { @@ -1113877,7 +1122440,7 @@ }, "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).\"", + "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": { @@ -1113898,7 +1122461,7 @@ }, "issue": { "title": "Issue", - "description": "The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) itself.", + "description": "The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) itself.", "type": "object", "properties": { "active_lock_reason": { @@ -1117424,11 +1125987,11 @@ }, "issues-untyped": { "post": { - "summary": "This event occurs when there is activity relating to an issue. For more information about issues, see \"[About issues](https://docs.github.com/enterprise-cloud@latest//issues/tracking-your-work-with-issues/about-issues).\" For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#issue) or \"[Issues](https://docs.github.com/enterprise-cloud@latest//rest/issues)\" in the REST API documentation.\n\nFor activity relating to a comment on an issue, use the `issue_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Issues\" repository permission.", + "summary": "This event occurs when there is activity relating to an issue. For more information about issues, see \"[About issues](https://docs.github.com/enterprise-cloud@latest/issues/tracking-your-work-with-issues/about-issues).\" For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest/graphql/reference/objects#issue) or \"[Issues](https://docs.github.com/enterprise-cloud@latest/rest/issues)\" in the REST API documentation.\n\nFor activity relating to a comment on an issue, use the `issue_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Issues\" repository permission.", "description": "An issue type was removed from an issue.", "operationId": "issues/untyped", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#issues" + "url": "https://docs.github.com/enterprise-cloud@latest/webhooks/webhook-events-and-payloads#issues" }, "parameters": [ { @@ -1117504,7 +1126067,7 @@ }, "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).\"", + "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": { @@ -1117572,7 +1126135,7 @@ }, "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).\"", + "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": { @@ -1117593,7 +1126156,7 @@ }, "issue": { "title": "Issue", - "description": "The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) itself.", + "description": "The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) itself.", "type": "object", "properties": { "active_lock_reason": { @@ -1121187,11 +1129750,11 @@ }, "label-created": { "post": { - "summary": "This event occurs when there is activity relating to labels. For more information, see \"[Managing labels](https://docs.github.com/enterprise-cloud@latest//issues/using-labels-and-milestones-to-track-work/managing-labels).\" For information about the APIs to manage labels, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#label) or \"[Labels](https://docs.github.com/enterprise-cloud@latest//rest/issues/labels)\" in the REST API documentation.\n\nIf you want to receive an event when a label is added to or removed from an issue, pull request, or discussion, use the `labeled` or `unlabeled` action type for the `issues`, `pull_request`, or `discussion` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Metadata\" repository permission.", + "summary": "This event occurs when there is activity relating to labels. For more information, see \"[Managing labels](https://docs.github.com/enterprise-cloud@latest/issues/using-labels-and-milestones-to-track-work/managing-labels).\" For information about the APIs to manage labels, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest/graphql/reference/objects#label) or \"[Labels](https://docs.github.com/enterprise-cloud@latest/rest/issues/labels)\" in the REST API documentation.\n\nIf you want to receive an event when a label is added to or removed from an issue, pull request, or discussion, use the `labeled` or `unlabeled` action type for the `issues`, `pull_request`, or `discussion` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Metadata\" repository permission.", "description": "A label was created.", "operationId": "label/created", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#label" + "url": "https://docs.github.com/enterprise-cloud@latest/webhooks/webhook-events-and-payloads#label" }, "parameters": [ { @@ -1121267,7 +1129830,7 @@ }, "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).\"", + "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": { @@ -1121335,7 +1129898,7 @@ }, "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).\"", + "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": { @@ -1122852,11 +1131415,11 @@ }, "label-deleted": { "post": { - "summary": "This event occurs when there is activity relating to labels. For more information, see \"[Managing labels](https://docs.github.com/enterprise-cloud@latest//issues/using-labels-and-milestones-to-track-work/managing-labels).\" For information about the APIs to manage labels, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#label) or \"[Labels](https://docs.github.com/enterprise-cloud@latest//rest/issues/labels)\" in the REST API documentation.\n\nIf you want to receive an event when a label is added to or removed from an issue, pull request, or discussion, use the `labeled` or `unlabeled` action type for the `issues`, `pull_request`, or `discussion` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Metadata\" repository permission.", + "summary": "This event occurs when there is activity relating to labels. For more information, see \"[Managing labels](https://docs.github.com/enterprise-cloud@latest/issues/using-labels-and-milestones-to-track-work/managing-labels).\" For information about the APIs to manage labels, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest/graphql/reference/objects#label) or \"[Labels](https://docs.github.com/enterprise-cloud@latest/rest/issues/labels)\" in the REST API documentation.\n\nIf you want to receive an event when a label is added to or removed from an issue, pull request, or discussion, use the `labeled` or `unlabeled` action type for the `issues`, `pull_request`, or `discussion` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Metadata\" repository permission.", "description": "A label was deleted.", "operationId": "label/deleted", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#label" + "url": "https://docs.github.com/enterprise-cloud@latest/webhooks/webhook-events-and-payloads#label" }, "parameters": [ { @@ -1122932,7 +1131495,7 @@ }, "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).\"", + "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": { @@ -1123000,7 +1131563,7 @@ }, "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).\"", + "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": { @@ -1124518,11 +1133081,11 @@ }, "label-edited": { "post": { - "summary": "This event occurs when there is activity relating to labels. For more information, see \"[Managing labels](https://docs.github.com/enterprise-cloud@latest//issues/using-labels-and-milestones-to-track-work/managing-labels).\" For information about the APIs to manage labels, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#label) or \"[Labels](https://docs.github.com/enterprise-cloud@latest//rest/issues/labels)\" in the REST API documentation.\n\nIf you want to receive an event when a label is added to or removed from an issue, pull request, or discussion, use the `labeled` or `unlabeled` action type for the `issues`, `pull_request`, or `discussion` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Metadata\" repository permission.", + "summary": "This event occurs when there is activity relating to labels. For more information, see \"[Managing labels](https://docs.github.com/enterprise-cloud@latest/issues/using-labels-and-milestones-to-track-work/managing-labels).\" For information about the APIs to manage labels, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest/graphql/reference/objects#label) or \"[Labels](https://docs.github.com/enterprise-cloud@latest/rest/issues/labels)\" in the REST API documentation.\n\nIf you want to receive an event when a label is added to or removed from an issue, pull request, or discussion, use the `labeled` or `unlabeled` action type for the `issues`, `pull_request`, or `discussion` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Metadata\" repository permission.", "description": "A label's name, description, or color was changed.", "operationId": "label/edited", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#label" + "url": "https://docs.github.com/enterprise-cloud@latest/webhooks/webhook-events-and-payloads#label" }, "parameters": [ { @@ -1124640,7 +1133203,7 @@ }, "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).\"", + "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": { @@ -1124708,7 +1133271,7 @@ }, "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).\"", + "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": { @@ -1126226,11 +1134789,11 @@ }, "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/enterprise-cloud@latest//marketplace).\" For information about the APIs to manage GitHub Marketplace listings, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#marketplacelisting) or \"[GitHub Marketplace](https://docs.github.com/enterprise-cloud@latest//rest/apps/marketplace)\" in the REST API documentation.", + "summary": "This event occurs when there is activity relating to a GitHub Marketplace purchase. For more information, see \"[GitHub Marketplace](https://docs.github.com/enterprise-cloud@latest/marketplace).\" For information about the APIs to manage GitHub Marketplace listings, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest/graphql/reference/objects#marketplacelisting) or \"[GitHub Marketplace](https://docs.github.com/enterprise-cloud@latest/rest/apps/marketplace)\" in the REST API documentation.", "description": "Someone cancelled a GitHub Marketplace plan, and the last billing cycle has ended. The change will take effect on the account immediately.", "operationId": "marketplace-purchase/cancelled", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#marketplace_purchase" + "url": "https://docs.github.com/enterprise-cloud@latest/webhooks/webhook-events-and-payloads#marketplace_purchase" }, "parameters": [ { @@ -1126309,7 +1134872,7 @@ }, "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).\"", + "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": { @@ -1126377,7 +1134940,7 @@ }, "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).\"", + "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": { @@ -1128075,11 +1136638,11 @@ }, "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/enterprise-cloud@latest//marketplace).\" For information about the APIs to manage GitHub Marketplace listings, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#marketplacelisting) or \"[GitHub Marketplace](https://docs.github.com/enterprise-cloud@latest//rest/apps/marketplace)\" in the REST API documentation.", + "summary": "This event occurs when there is activity relating to a GitHub Marketplace purchase. For more information, see \"[GitHub Marketplace](https://docs.github.com/enterprise-cloud@latest/marketplace).\" For information about the APIs to manage GitHub Marketplace listings, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest/graphql/reference/objects#marketplacelisting) or \"[GitHub Marketplace](https://docs.github.com/enterprise-cloud@latest/rest/apps/marketplace)\" in the REST API documentation.", "description": "Someone upgraded or downgraded a GitHub Marketplace plan, and the last billing cycle has ended. The change will take effect on the account immediately.", "operationId": "marketplace-purchase/changed", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#marketplace_purchase" + "url": "https://docs.github.com/enterprise-cloud@latest/webhooks/webhook-events-and-payloads#marketplace_purchase" }, "parameters": [ { @@ -1128158,7 +1136721,7 @@ }, "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).\"", + "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": { @@ -1128226,7 +1136789,7 @@ }, "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).\"", + "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": { @@ -1129926,11 +1138489,11 @@ }, "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/enterprise-cloud@latest//marketplace).\" For information about the APIs to manage GitHub Marketplace listings, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#marketplacelisting) or \"[GitHub Marketplace](https://docs.github.com/enterprise-cloud@latest//rest/apps/marketplace)\" in the REST API documentation.", + "summary": "This event occurs when there is activity relating to a GitHub Marketplace purchase. For more information, see \"[GitHub Marketplace](https://docs.github.com/enterprise-cloud@latest/marketplace).\" For information about the APIs to manage GitHub Marketplace listings, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest/graphql/reference/objects#marketplacelisting) or \"[GitHub Marketplace](https://docs.github.com/enterprise-cloud@latest/rest/apps/marketplace)\" in the REST API documentation.", "description": "Someone downgraded or cancelled a GitHub Marketplace plan. The new plan or cancellation will take effect at the end of the current billing cycle. When the change takes effect, the `changed` or `cancelled` event will be sent.", "operationId": "marketplace-purchase/pending-change", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#marketplace_purchase" + "url": "https://docs.github.com/enterprise-cloud@latest/webhooks/webhook-events-and-payloads#marketplace_purchase" }, "parameters": [ { @@ -1130009,7 +1138572,7 @@ }, "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).\"", + "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": { @@ -1130077,7 +1138640,7 @@ }, "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).\"", + "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": { @@ -1131776,11 +1140339,11 @@ }, "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/enterprise-cloud@latest//marketplace).\" For information about the APIs to manage GitHub Marketplace listings, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#marketplacelisting) or \"[GitHub Marketplace](https://docs.github.com/enterprise-cloud@latest//rest/apps/marketplace)\" in the REST API documentation.", + "summary": "This event occurs when there is activity relating to a GitHub Marketplace purchase. For more information, see \"[GitHub Marketplace](https://docs.github.com/enterprise-cloud@latest/marketplace).\" For information about the APIs to manage GitHub Marketplace listings, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest/graphql/reference/objects#marketplacelisting) or \"[GitHub Marketplace](https://docs.github.com/enterprise-cloud@latest/rest/apps/marketplace)\" in the REST API documentation.", "description": "Someone cancelled a pending change to a GitHub Marketplace plan. Pending changes include plan cancellations and downgrades that will take effect at the end of a billing cycle.", "operationId": "marketplace-purchase/pending-change-cancelled", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#marketplace_purchase" + "url": "https://docs.github.com/enterprise-cloud@latest/webhooks/webhook-events-and-payloads#marketplace_purchase" }, "parameters": [ { @@ -1131859,7 +1140422,7 @@ }, "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).\"", + "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": { @@ -1131927,7 +1140490,7 @@ }, "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).\"", + "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": { @@ -1133623,11 +1142186,11 @@ }, "marketplace-purchase-purchased": { "post": { - "summary": "This event occurs when there is activity relating to a GitHub Marketplace purchase. For more information, see \"[GitHub Marketplace](https://docs.github.com/enterprise-cloud@latest//marketplace).\" For information about the APIs to manage GitHub Marketplace listings, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#marketplacelisting) or \"[GitHub Marketplace](https://docs.github.com/enterprise-cloud@latest//rest/apps/marketplace)\" in the REST API documentation.", + "summary": "This event occurs when there is activity relating to a GitHub Marketplace purchase. For more information, see \"[GitHub Marketplace](https://docs.github.com/enterprise-cloud@latest/marketplace).\" For information about the APIs to manage GitHub Marketplace listings, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest/graphql/reference/objects#marketplacelisting) or \"[GitHub Marketplace](https://docs.github.com/enterprise-cloud@latest/rest/apps/marketplace)\" in the REST API documentation.", "description": "Someone purchased a GitHub Marketplace plan. The change will take effect on the account immediately.", "operationId": "marketplace-purchase/purchased", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#marketplace_purchase" + "url": "https://docs.github.com/enterprise-cloud@latest/webhooks/webhook-events-and-payloads#marketplace_purchase" }, "parameters": [ { @@ -1133706,7 +1142269,7 @@ }, "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).\"", + "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": { @@ -1133774,7 +1142337,7 @@ }, "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).\"", + "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": { @@ -1135472,11 +1144035,11 @@ }, "member-added": { "post": { - "summary": "This event occurs when there is activity relating to collaborators in a repository. For more information, see \"[Adding outside collaborators to repositories in your organization](https://docs.github.com/enterprise-cloud@latest//organizations/managing-user-access-to-your-organizations-repositories/adding-outside-collaborators-to-repositories-in-your-organization).\" For more information about the API to manage repository collaborators, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#repositorycollaboratorconnection) or \"[Collaborators](https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Members\" organization permission.", + "summary": "This event occurs when there is activity relating to collaborators in a repository. For more information, see \"[Adding outside collaborators to repositories in your organization](https://docs.github.com/enterprise-cloud@latest/organizations/managing-user-access-to-your-organizations-repositories/adding-outside-collaborators-to-repositories-in-your-organization).\" For more information about the API to manage repository collaborators, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest/graphql/reference/objects#repositorycollaboratorconnection) or \"[Collaborators](https://docs.github.com/enterprise-cloud@latest/rest/collaborators/collaborators)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Members\" organization permission.", "description": "A GitHub user accepted an invitation to a repository.", "operationId": "member/added", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#member" + "url": "https://docs.github.com/enterprise-cloud@latest/webhooks/webhook-events-and-payloads#member" }, "parameters": [ { @@ -1135586,7 +1144149,7 @@ }, "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).\"", + "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": { @@ -1135654,7 +1144217,7 @@ }, "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).\"", + "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": { @@ -1137228,11 +1145791,11 @@ }, "member-edited": { "post": { - "summary": "This event occurs when there is activity relating to collaborators in a repository. For more information, see \"[Adding outside collaborators to repositories in your organization](https://docs.github.com/enterprise-cloud@latest//organizations/managing-user-access-to-your-organizations-repositories/adding-outside-collaborators-to-repositories-in-your-organization).\" For more information about the API to manage repository collaborators, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#repositorycollaboratorconnection) or \"[Collaborators](https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Members\" organization permission.", + "summary": "This event occurs when there is activity relating to collaborators in a repository. For more information, see \"[Adding outside collaborators to repositories in your organization](https://docs.github.com/enterprise-cloud@latest/organizations/managing-user-access-to-your-organizations-repositories/adding-outside-collaborators-to-repositories-in-your-organization).\" For more information about the API to manage repository collaborators, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest/graphql/reference/objects#repositorycollaboratorconnection) or \"[Collaborators](https://docs.github.com/enterprise-cloud@latest/rest/collaborators/collaborators)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Members\" organization permission.", "description": "Permissions were changed for a collaborator on a repository.", "operationId": "member/edited", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#member" + "url": "https://docs.github.com/enterprise-cloud@latest/webhooks/webhook-events-and-payloads#member" }, "parameters": [ { @@ -1137339,7 +1145902,7 @@ }, "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).\"", + "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": { @@ -1137407,7 +1145970,7 @@ }, "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).\"", + "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": { @@ -1138982,11 +1147545,11 @@ }, "member-removed": { "post": { - "summary": "This event occurs when there is activity relating to collaborators in a repository. For more information, see \"[Adding outside collaborators to repositories in your organization](https://docs.github.com/enterprise-cloud@latest//organizations/managing-user-access-to-your-organizations-repositories/adding-outside-collaborators-to-repositories-in-your-organization).\" For more information about the API to manage repository collaborators, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#repositorycollaboratorconnection) or \"[Collaborators](https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Members\" organization permission.", + "summary": "This event occurs when there is activity relating to collaborators in a repository. For more information, see \"[Adding outside collaborators to repositories in your organization](https://docs.github.com/enterprise-cloud@latest/organizations/managing-user-access-to-your-organizations-repositories/adding-outside-collaborators-to-repositories-in-your-organization).\" For more information about the API to manage repository collaborators, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest/graphql/reference/objects#repositorycollaboratorconnection) or \"[Collaborators](https://docs.github.com/enterprise-cloud@latest/rest/collaborators/collaborators)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Members\" organization permission.", "description": "A collaborator was removed from a repository.", "operationId": "member/removed", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#member" + "url": "https://docs.github.com/enterprise-cloud@latest/webhooks/webhook-events-and-payloads#member" }, "parameters": [ { @@ -1139062,7 +1147625,7 @@ }, "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).\"", + "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": { @@ -1139130,7 +1147693,7 @@ }, "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).\"", + "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": { @@ -1140704,11 +1149267,11 @@ }, "membership-added": { "post": { - "summary": "This event occurs when there is activity relating to team membership. For more information, see \"[About teams](https://docs.github.com/enterprise-cloud@latest//organizations/organizing-members-into-teams/about-teams).\" For more information about the APIs to manage team memberships, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#team) or \"[Team members](https://docs.github.com/enterprise-cloud@latest//rest/teams/members)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Members\" organization permission.", + "summary": "This event occurs when there is activity relating to team membership. For more information, see \"[About teams](https://docs.github.com/enterprise-cloud@latest/organizations/organizing-members-into-teams/about-teams).\" For more information about the APIs to manage team memberships, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest/graphql/reference/objects#team) or \"[Team members](https://docs.github.com/enterprise-cloud@latest/rest/teams/members)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Members\" organization permission.", "description": "An organization member was added to a team.", "operationId": "membership/added", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#membership" + "url": "https://docs.github.com/enterprise-cloud@latest/webhooks/webhook-events-and-payloads#membership" }, "parameters": [ { @@ -1140784,7 +1149347,7 @@ }, "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).\"", + "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": { @@ -1140852,7 +1149415,7 @@ }, "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).\"", + "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": { @@ -1142587,11 +1151150,11 @@ }, "membership-removed": { "post": { - "summary": "This event occurs when there is activity relating to team membership. For more information, see \"[About teams](https://docs.github.com/enterprise-cloud@latest//organizations/organizing-members-into-teams/about-teams).\" For more information about the APIs to manage team memberships, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#team) or \"[Team members](https://docs.github.com/enterprise-cloud@latest//rest/teams/members)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Members\" organization permission.", + "summary": "This event occurs when there is activity relating to team membership. For more information, see \"[About teams](https://docs.github.com/enterprise-cloud@latest/organizations/organizing-members-into-teams/about-teams).\" For more information about the APIs to manage team memberships, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest/graphql/reference/objects#team) or \"[Team members](https://docs.github.com/enterprise-cloud@latest/rest/teams/members)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Members\" organization permission.", "description": "An organization member was removed from a team.", "operationId": "membership/removed", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#membership" + "url": "https://docs.github.com/enterprise-cloud@latest/webhooks/webhook-events-and-payloads#membership" }, "parameters": [ { @@ -1142667,7 +1151230,7 @@ }, "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).\"", + "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": { @@ -1142735,7 +1151298,7 @@ }, "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).\"", + "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": { @@ -1144471,14 +1153034,14 @@ }, "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/enterprise-cloud@latest//repositories/configuring-branches-and-merges-in-your-repository/configuring-pull-request-merges/managing-a-merge-queue).\"\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Merge queues\" repository permission.", + "summary": "This event occurs when there is activity relating to a merge group in a merge queue. For more information, see \"[Managing a merge queue](https://docs.github.com/enterprise-cloud@latest/repositories/configuring-branches-and-merges-in-your-repository/configuring-pull-request-merges/managing-a-merge-queue).\"\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Merge queues\" repository permission.", "description": "Status checks were requested for a merge group. This happens when a merge group is created or added to by the merge queue because a pull request was queued.\n\nWhen you receive this event, you should perform checks on the head SHA and report status back using check runs or commit statuses.", "operationId": "merge-group/checks-requested", "tags": [ "merge-queue" ], "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#merge_group" + "url": "https://docs.github.com/enterprise-cloud@latest/webhooks/webhook-events-and-payloads#merge_group" }, "parameters": [ { @@ -1144553,7 +1153116,7 @@ }, "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).\"", + "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": { @@ -1146135,14 +1154698,14 @@ }, "merge-group-destroyed": { "post": { - "summary": "This event occurs when there is activity relating to a merge group in a merge queue. For more information, see \"[Managing a merge queue](https://docs.github.com/enterprise-cloud@latest//repositories/configuring-branches-and-merges-in-your-repository/configuring-pull-request-merges/managing-a-merge-queue).\"\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Merge queues\" repository permission.", + "summary": "This event occurs when there is activity relating to a merge group in a merge queue. For more information, see \"[Managing a merge queue](https://docs.github.com/enterprise-cloud@latest/repositories/configuring-branches-and-merges-in-your-repository/configuring-pull-request-merges/managing-a-merge-queue).\"\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Merge queues\" repository permission.", "description": "The merge queue groups pull requests together to be merged. This event indicates that one of those merge groups was destroyed. This happens when a pull request is removed from the queue: any group containing that pull request is also destroyed.\n\nWhen you receive this event, you may want to cancel any checks that are running on the head SHA to avoid wasting computing resources on a merge group that will not be used.", "operationId": "merge-group/destroyed", "tags": [ "merge-queue" ], "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#merge_group" + "url": "https://docs.github.com/enterprise-cloud@latest/webhooks/webhook-events-and-payloads#merge_group" }, "parameters": [ { @@ -1146226,7 +1154789,7 @@ }, "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).\"", + "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": { @@ -1147812,7 +1156375,7 @@ "description": "The webhook was deleted.", "operationId": "meta/deleted", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#meta" + "url": "https://docs.github.com/enterprise-cloud@latest/webhooks/webhook-events-and-payloads#meta" }, "parameters": [ { @@ -1147888,7 +1156451,7 @@ }, "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).\"", + "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": { @@ -1148083,7 +1156646,7 @@ }, "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).\"", + "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": { @@ -1149562,11 +1158125,11 @@ }, "milestone-closed": { "post": { - "summary": "This event occurs when there is activity relating to milestones. For more information, see \"[About milestones](https://docs.github.com/enterprise-cloud@latest//issues/using-labels-and-milestones-to-track-work/about-milestones).\" For information about the APIs to manage milestones, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#milestone) or \"[Milestones](https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones)\" in the REST API documentation.\n\nIf you want to receive an event when an issue or pull request is added to or removed from a milestone, use the `milestoned` or `demilestoned` action type for the `issues` or `pull_request` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Issues\" or \"Pull requests\" repository permissions.", + "summary": "This event occurs when there is activity relating to milestones. For more information, see \"[About milestones](https://docs.github.com/enterprise-cloud@latest/issues/using-labels-and-milestones-to-track-work/about-milestones).\" For information about the APIs to manage milestones, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest/graphql/reference/objects#milestone) or \"[Milestones](https://docs.github.com/enterprise-cloud@latest/rest/issues/milestones)\" in the REST API documentation.\n\nIf you want to receive an event when an issue or pull request is added to or removed from a milestone, use the `milestoned` or `demilestoned` action type for the `issues` or `pull_request` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Issues\" or \"Pull requests\" repository permissions.", "description": "A milestone was closed.", "operationId": "milestone/closed", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#milestone" + "url": "https://docs.github.com/enterprise-cloud@latest/webhooks/webhook-events-and-payloads#milestone" }, "parameters": [ { @@ -1149642,7 +1158205,7 @@ }, "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).\"", + "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": { @@ -1149710,7 +1158273,7 @@ }, "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).\"", + "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": { @@ -1151370,11 +1159933,11 @@ }, "milestone-created": { "post": { - "summary": "This event occurs when there is activity relating to milestones. For more information, see \"[About milestones](https://docs.github.com/enterprise-cloud@latest//issues/using-labels-and-milestones-to-track-work/about-milestones).\" For information about the APIs to manage milestones, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#milestone) or \"[Milestones](https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones)\" in the REST API documentation.\n\nIf you want to receive an event when an issue or pull request is added to or removed from a milestone, use the `milestoned` or `demilestoned` action type for the `issues` or `pull_request` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Issues\" or \"Pull requests\" repository permissions.", + "summary": "This event occurs when there is activity relating to milestones. For more information, see \"[About milestones](https://docs.github.com/enterprise-cloud@latest/issues/using-labels-and-milestones-to-track-work/about-milestones).\" For information about the APIs to manage milestones, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest/graphql/reference/objects#milestone) or \"[Milestones](https://docs.github.com/enterprise-cloud@latest/rest/issues/milestones)\" in the REST API documentation.\n\nIf you want to receive an event when an issue or pull request is added to or removed from a milestone, use the `milestoned` or `demilestoned` action type for the `issues` or `pull_request` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Issues\" or \"Pull requests\" repository permissions.", "description": "A milestone was created.", "operationId": "milestone/created", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#milestone" + "url": "https://docs.github.com/enterprise-cloud@latest/webhooks/webhook-events-and-payloads#milestone" }, "parameters": [ { @@ -1151450,7 +1160013,7 @@ }, "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).\"", + "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": { @@ -1151518,7 +1160081,7 @@ }, "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).\"", + "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": { @@ -1153177,11 +1161740,11 @@ }, "milestone-deleted": { "post": { - "summary": "This event occurs when there is activity relating to milestones. For more information, see \"[About milestones](https://docs.github.com/enterprise-cloud@latest//issues/using-labels-and-milestones-to-track-work/about-milestones).\" For information about the APIs to manage milestones, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#milestone) or \"[Milestones](https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones)\" in the REST API documentation.\n\nIf you want to receive an event when an issue or pull request is added to or removed from a milestone, use the `milestoned` or `demilestoned` action type for the `issues` or `pull_request` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Issues\" or \"Pull requests\" repository permissions.", + "summary": "This event occurs when there is activity relating to milestones. For more information, see \"[About milestones](https://docs.github.com/enterprise-cloud@latest/issues/using-labels-and-milestones-to-track-work/about-milestones).\" For information about the APIs to manage milestones, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest/graphql/reference/objects#milestone) or \"[Milestones](https://docs.github.com/enterprise-cloud@latest/rest/issues/milestones)\" in the REST API documentation.\n\nIf you want to receive an event when an issue or pull request is added to or removed from a milestone, use the `milestoned` or `demilestoned` action type for the `issues` or `pull_request` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Issues\" or \"Pull requests\" repository permissions.", "description": "A milestone was deleted.", "operationId": "milestone/deleted", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#milestone" + "url": "https://docs.github.com/enterprise-cloud@latest/webhooks/webhook-events-and-payloads#milestone" }, "parameters": [ { @@ -1153257,7 +1161820,7 @@ }, "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).\"", + "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": { @@ -1153325,7 +1161888,7 @@ }, "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).\"", + "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": { @@ -1154985,11 +1163548,11 @@ }, "milestone-edited": { "post": { - "summary": "This event occurs when there is activity relating to milestones. For more information, see \"[About milestones](https://docs.github.com/enterprise-cloud@latest//issues/using-labels-and-milestones-to-track-work/about-milestones).\" For information about the APIs to manage milestones, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#milestone) or \"[Milestones](https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones)\" in the REST API documentation.\n\nIf you want to receive an event when an issue or pull request is added to or removed from a milestone, use the `milestoned` or `demilestoned` action type for the `issues` or `pull_request` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Issues\" or \"Pull requests\" repository permissions.", + "summary": "This event occurs when there is activity relating to milestones. For more information, see \"[About milestones](https://docs.github.com/enterprise-cloud@latest/issues/using-labels-and-milestones-to-track-work/about-milestones).\" For information about the APIs to manage milestones, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest/graphql/reference/objects#milestone) or \"[Milestones](https://docs.github.com/enterprise-cloud@latest/rest/issues/milestones)\" in the REST API documentation.\n\nIf you want to receive an event when an issue or pull request is added to or removed from a milestone, use the `milestoned` or `demilestoned` action type for the `issues` or `pull_request` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Issues\" or \"Pull requests\" repository permissions.", "description": "A milestone was edited.", "operationId": "milestone/edited", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#milestone" + "url": "https://docs.github.com/enterprise-cloud@latest/webhooks/webhook-events-and-payloads#milestone" }, "parameters": [ { @@ -1155107,7 +1163670,7 @@ }, "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).\"", + "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": { @@ -1155175,7 +1163738,7 @@ }, "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).\"", + "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": { @@ -1156836,11 +1165399,11 @@ }, "milestone-opened": { "post": { - "summary": "This event occurs when there is activity relating to milestones. For more information, see \"[About milestones](https://docs.github.com/enterprise-cloud@latest//issues/using-labels-and-milestones-to-track-work/about-milestones).\" For information about the APIs to manage milestones, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#milestone) or \"[Milestones](https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones)\" in the REST API documentation.\n\nIf you want to receive an event when an issue or pull request is added to or removed from a milestone, use the `milestoned` or `demilestoned` action type for the `issues` or `pull_request` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Issues\" or \"Pull requests\" repository permissions.", + "summary": "This event occurs when there is activity relating to milestones. For more information, see \"[About milestones](https://docs.github.com/enterprise-cloud@latest/issues/using-labels-and-milestones-to-track-work/about-milestones).\" For information about the APIs to manage milestones, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest/graphql/reference/objects#milestone) or \"[Milestones](https://docs.github.com/enterprise-cloud@latest/rest/issues/milestones)\" in the REST API documentation.\n\nIf you want to receive an event when an issue or pull request is added to or removed from a milestone, use the `milestoned` or `demilestoned` action type for the `issues` or `pull_request` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Issues\" or \"Pull requests\" repository permissions.", "description": "A milestone was opened.", "operationId": "milestone/opened", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#milestone" + "url": "https://docs.github.com/enterprise-cloud@latest/webhooks/webhook-events-and-payloads#milestone" }, "parameters": [ { @@ -1156916,7 +1165479,7 @@ }, "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).\"", + "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": { @@ -1156984,7 +1165547,7 @@ }, "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).\"", + "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": { @@ -1158643,11 +1167206,11 @@ }, "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/enterprise-cloud@latest//communities/maintaining-your-safety-on-github/blocking-a-user-from-your-organization).\" For information about the APIs to manage blocked users, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#userblockedevent) or \"[Blocking users](https://docs.github.com/enterprise-cloud@latest//rest/orgs/blocking)\" in the REST API documentation.\n\nIf you want to receive an event when members are added or removed from an organization, use the `organization` event instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Administration\" organization permission.", + "summary": "This event occurs when organization owners or moderators block or unblock a non-member from collaborating on the organization's repositories. For more information, see \"[Blocking a user from your organization](https://docs.github.com/enterprise-cloud@latest/communities/maintaining-your-safety-on-github/blocking-a-user-from-your-organization).\" For information about the APIs to manage blocked users, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest/graphql/reference/objects#userblockedevent) or \"[Blocking users](https://docs.github.com/enterprise-cloud@latest/rest/orgs/blocking)\" in the REST API documentation.\n\nIf you want to receive an event when members are added or removed from an organization, use the `organization` event instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Administration\" organization permission.", "description": "A user was blocked from the organization.", "operationId": "org-block/blocked", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#org_block" + "url": "https://docs.github.com/enterprise-cloud@latest/webhooks/webhook-events-and-payloads#org_block" }, "parameters": [ { @@ -1158819,7 +1167382,7 @@ }, "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).\"", + "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": { @@ -1158887,7 +1167450,7 @@ }, "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).\"", + "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": { @@ -1160364,11 +1168927,11 @@ }, "org-block-unblocked": { "post": { - "summary": "This event occurs when organization owners or moderators block or unblock a non-member from collaborating on the organization's repositories. For more information, see \"[Blocking a user from your organization](https://docs.github.com/enterprise-cloud@latest//communities/maintaining-your-safety-on-github/blocking-a-user-from-your-organization).\" For information about the APIs to manage blocked users, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#userblockedevent) or \"[Blocking users](https://docs.github.com/enterprise-cloud@latest//rest/orgs/blocking)\" in the REST API documentation.\n\nIf you want to receive an event when members are added or removed from an organization, use the `organization` event instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Administration\" organization permission.", + "summary": "This event occurs when organization owners or moderators block or unblock a non-member from collaborating on the organization's repositories. For more information, see \"[Blocking a user from your organization](https://docs.github.com/enterprise-cloud@latest/communities/maintaining-your-safety-on-github/blocking-a-user-from-your-organization).\" For information about the APIs to manage blocked users, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest/graphql/reference/objects#userblockedevent) or \"[Blocking users](https://docs.github.com/enterprise-cloud@latest/rest/orgs/blocking)\" in the REST API documentation.\n\nIf you want to receive an event when members are added or removed from an organization, use the `organization` event instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Administration\" organization permission.", "description": "A previously blocked user was unblocked from the organization.", "operationId": "org-block/unblocked", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#org_block" + "url": "https://docs.github.com/enterprise-cloud@latest/webhooks/webhook-events-and-payloads#org_block" }, "parameters": [ { @@ -1160540,7 +1169103,7 @@ }, "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).\"", + "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": { @@ -1160608,7 +1169171,7 @@ }, "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).\"", + "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": { @@ -1162089,7 +1170652,7 @@ "description": "A new organization custom property was created.", "operationId": "organization-custom-property/created", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#organization_custom_property" + "url": "https://docs.github.com/enterprise-cloud@latest/webhooks/webhook-events-and-payloads#organization_custom_property" }, "parameters": [ { @@ -1162257,7 +1170820,7 @@ }, "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).\"", + "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": { @@ -1162478,7 +1171041,7 @@ "description": "An organization custom property was deleted.", "operationId": "organization-custom-property/deleted", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#organization_custom_property" + "url": "https://docs.github.com/enterprise-cloud@latest/webhooks/webhook-events-and-payloads#organization_custom_property" }, "parameters": [ { @@ -1162566,7 +1171129,7 @@ }, "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).\"", + "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": { @@ -1162634,7 +1171197,7 @@ }, "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).\"", + "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": { @@ -1162808,7 +1171371,7 @@ "description": "An organization custom property was updated.", "operationId": "organization-custom-property/updated", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#organization_custom_property" + "url": "https://docs.github.com/enterprise-cloud@latest/webhooks/webhook-events-and-payloads#organization_custom_property" }, "parameters": [ { @@ -1162976,7 +1171539,7 @@ }, "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).\"", + "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": { @@ -1163044,7 +1171607,7 @@ }, "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).\"", + "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": { @@ -1163218,7 +1171781,7 @@ "description": "The custom property values of an organization were updated.", "operationId": "organization-custom-property-values/updated", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#organization-custom-property-values" + "url": "https://docs.github.com/enterprise-cloud@latest/webhooks/webhook-events-and-payloads#organization-custom-property-values" }, "parameters": [ { @@ -1163294,7 +1171857,7 @@ }, "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).\"", + "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": { @@ -1163362,7 +1171925,7 @@ }, "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).\"", + "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": { @@ -1163677,11 +1172240,11 @@ }, "organization-deleted": { "post": { - "summary": "This event occurs when there is activity relating to an organization and its members. For more information, see \"[About organizations](https://docs.github.com/enterprise-cloud@latest//organizations/collaborating-with-groups-in-organizations/about-organizations).\" For information about the APIs to manage organizations, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#organization) or \"[Organizations](https://docs.github.com/enterprise-cloud@latest//rest/orgs)\" in the REST API documentation.\n\nIf you want to receive an event when a non-member is blocked or unblocked from an organization, use the `org_block` event instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Members\" organization permission.", + "summary": "This event occurs when there is activity relating to an organization and its members. For more information, see \"[About organizations](https://docs.github.com/enterprise-cloud@latest/organizations/collaborating-with-groups-in-organizations/about-organizations).\" For information about the APIs to manage organizations, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest/graphql/reference/objects#organization) or \"[Organizations](https://docs.github.com/enterprise-cloud@latest/rest/orgs)\" in the REST API documentation.\n\nIf you want to receive an event when a non-member is blocked or unblocked from an organization, use the `org_block` event instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Members\" organization permission.", "description": "An organization was deleted.", "operationId": "organization/deleted", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#organization" + "url": "https://docs.github.com/enterprise-cloud@latest/webhooks/webhook-events-and-payloads#organization" }, "parameters": [ { @@ -1163757,7 +1172320,7 @@ }, "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).\"", + "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": { @@ -1163825,7 +1172388,7 @@ }, "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).\"", + "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": { @@ -1165442,11 +1174005,11 @@ }, "organization-member-added": { "post": { - "summary": "This event occurs when there is activity relating to an organization and its members. For more information, see \"[About organizations](https://docs.github.com/enterprise-cloud@latest//organizations/collaborating-with-groups-in-organizations/about-organizations).\" For information about the APIs to manage organizations, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#organization) or \"[Organizations](https://docs.github.com/enterprise-cloud@latest//rest/orgs)\" in the REST API documentation.\n\nIf you want to receive an event when a non-member is blocked or unblocked from an organization, use the `org_block` event instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Members\" organization permission.", + "summary": "This event occurs when there is activity relating to an organization and its members. For more information, see \"[About organizations](https://docs.github.com/enterprise-cloud@latest/organizations/collaborating-with-groups-in-organizations/about-organizations).\" For information about the APIs to manage organizations, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest/graphql/reference/objects#organization) or \"[Organizations](https://docs.github.com/enterprise-cloud@latest/rest/orgs)\" in the REST API documentation.\n\nIf you want to receive an event when a non-member is blocked or unblocked from an organization, use the `org_block` event instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Members\" organization permission.", "description": "A member accepted an invitation to join an organization.", "operationId": "organization/member-added", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#organization" + "url": "https://docs.github.com/enterprise-cloud@latest/webhooks/webhook-events-and-payloads#organization" }, "parameters": [ { @@ -1165522,7 +1174085,7 @@ }, "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).\"", + "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": { @@ -1165590,7 +1174153,7 @@ }, "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).\"", + "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": { @@ -1167208,11 +1175771,11 @@ }, "organization-member-invited": { "post": { - "summary": "This event occurs when there is activity relating to an organization and its members. For more information, see \"[About organizations](https://docs.github.com/enterprise-cloud@latest//organizations/collaborating-with-groups-in-organizations/about-organizations).\" For information about the APIs to manage organizations, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#organization) or \"[Organizations](https://docs.github.com/enterprise-cloud@latest//rest/orgs)\" in the REST API documentation.\n\nIf you want to receive an event when a non-member is blocked or unblocked from an organization, use the `org_block` event instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Members\" organization permission.", + "summary": "This event occurs when there is activity relating to an organization and its members. For more information, see \"[About organizations](https://docs.github.com/enterprise-cloud@latest/organizations/collaborating-with-groups-in-organizations/about-organizations).\" For information about the APIs to manage organizations, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest/graphql/reference/objects#organization) or \"[Organizations](https://docs.github.com/enterprise-cloud@latest/rest/orgs)\" in the REST API documentation.\n\nIf you want to receive an event when a non-member is blocked or unblocked from an organization, use the `org_block` event instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Members\" organization permission.", "description": "A member was invited to join the organization.", "operationId": "organization/member-invited", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#organization" + "url": "https://docs.github.com/enterprise-cloud@latest/webhooks/webhook-events-and-payloads#organization" }, "parameters": [ { @@ -1167288,7 +1175851,7 @@ }, "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).\"", + "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": { @@ -1167356,7 +1175919,7 @@ }, "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).\"", + "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": { @@ -1169083,11 +1177646,11 @@ }, "organization-member-removed": { "post": { - "summary": "This event occurs when there is activity relating to an organization and its members. For more information, see \"[About organizations](https://docs.github.com/enterprise-cloud@latest//organizations/collaborating-with-groups-in-organizations/about-organizations).\" For information about the APIs to manage organizations, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#organization) or \"[Organizations](https://docs.github.com/enterprise-cloud@latest//rest/orgs)\" in the REST API documentation.\n\nIf you want to receive an event when a non-member is blocked or unblocked from an organization, use the `org_block` event instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Members\" organization permission.", + "summary": "This event occurs when there is activity relating to an organization and its members. For more information, see \"[About organizations](https://docs.github.com/enterprise-cloud@latest/organizations/collaborating-with-groups-in-organizations/about-organizations).\" For information about the APIs to manage organizations, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest/graphql/reference/objects#organization) or \"[Organizations](https://docs.github.com/enterprise-cloud@latest/rest/orgs)\" in the REST API documentation.\n\nIf you want to receive an event when a non-member is blocked or unblocked from an organization, use the `org_block` event instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Members\" organization permission.", "description": "A member was removed from the organization.", "operationId": "organization/member-removed", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#organization" + "url": "https://docs.github.com/enterprise-cloud@latest/webhooks/webhook-events-and-payloads#organization" }, "parameters": [ { @@ -1169163,7 +1177726,7 @@ }, "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).\"", + "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": { @@ -1169231,7 +1177794,7 @@ }, "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).\"", + "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": { @@ -1170849,11 +1179412,11 @@ }, "organization-renamed": { "post": { - "summary": "This event occurs when there is activity relating to an organization and its members. For more information, see \"[About organizations](https://docs.github.com/enterprise-cloud@latest//organizations/collaborating-with-groups-in-organizations/about-organizations).\" For information about the APIs to manage organizations, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#organization) or \"[Organizations](https://docs.github.com/enterprise-cloud@latest//rest/orgs)\" in the REST API documentation.\n\nIf you want to receive an event when a non-member is blocked or unblocked from an organization, use the `org_block` event instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Members\" organization permission.", + "summary": "This event occurs when there is activity relating to an organization and its members. For more information, see \"[About organizations](https://docs.github.com/enterprise-cloud@latest/organizations/collaborating-with-groups-in-organizations/about-organizations).\" For information about the APIs to manage organizations, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest/graphql/reference/objects#organization) or \"[Organizations](https://docs.github.com/enterprise-cloud@latest/rest/orgs)\" in the REST API documentation.\n\nIf you want to receive an event when a non-member is blocked or unblocked from an organization, use the `org_block` event instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Members\" organization permission.", "description": "The name of an organization was changed.", "operationId": "organization/renamed", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#organization" + "url": "https://docs.github.com/enterprise-cloud@latest/webhooks/webhook-events-and-payloads#organization" }, "parameters": [ { @@ -1170942,7 +1179505,7 @@ }, "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).\"", + "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": { @@ -1171010,7 +1179573,7 @@ }, "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).\"", + "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": { @@ -1172627,11 +1181190,11 @@ }, "package-published": { "post": { - "summary": "This event occurs when there is activity relating to GitHub Packages. For more information, see \"[Introduction to GitHub Packages](https://docs.github.com/enterprise-cloud@latest//packages/learn-github-packages/introduction-to-github-packages).\" For information about the APIs to manage GitHub Packages, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#package) or \"[Packages](https://docs.github.com/enterprise-cloud@latest//rest/packages)\" in the REST API documentation.", + "summary": "This event occurs when there is activity relating to GitHub Packages. For more information, see \"[Introduction to GitHub Packages](https://docs.github.com/enterprise-cloud@latest/packages/learn-github-packages/introduction-to-github-packages).\" For information about the APIs to manage GitHub Packages, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest/graphql/reference/objects#package) or \"[Packages](https://docs.github.com/enterprise-cloud@latest/rest/packages)\" in the REST API documentation.", "description": "A package was published to a registry.", "operationId": "package/published", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#package" + "url": "https://docs.github.com/enterprise-cloud@latest/webhooks/webhook-events-and-payloads#package" }, "parameters": [ { @@ -1172707,7 +1181270,7 @@ }, "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).\"", + "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": { @@ -1172775,7 +1181338,7 @@ }, "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).\"", + "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": { @@ -1175099,11 +1183662,11 @@ }, "package-updated": { "post": { - "summary": "This event occurs when there is activity relating to GitHub Packages. For more information, see \"[Introduction to GitHub Packages](https://docs.github.com/enterprise-cloud@latest//packages/learn-github-packages/introduction-to-github-packages).\" For information about the APIs to manage GitHub Packages, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#package) or \"[Packages](https://docs.github.com/enterprise-cloud@latest//rest/packages)\" in the REST API documentation.", + "summary": "This event occurs when there is activity relating to GitHub Packages. For more information, see \"[Introduction to GitHub Packages](https://docs.github.com/enterprise-cloud@latest/packages/learn-github-packages/introduction-to-github-packages).\" For information about the APIs to manage GitHub Packages, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest/graphql/reference/objects#package) or \"[Packages](https://docs.github.com/enterprise-cloud@latest/rest/packages)\" in the REST API documentation.", "description": "A previously published package was updated.", "operationId": "package/updated", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#package" + "url": "https://docs.github.com/enterprise-cloud@latest/webhooks/webhook-events-and-payloads#package" }, "parameters": [ { @@ -1175179,7 +1183742,7 @@ }, "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).\"", + "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": { @@ -1175247,7 +1183810,7 @@ }, "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).\"", + "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": { @@ -1177350,10 +1185913,10 @@ }, "page-build": { "post": { - "summary": "This event occurs when there is an attempted build of a GitHub Pages site. This event occurs regardless of whether the build is successful. For more information, see \"[Configuring a publishing source for your GitHub Pages site](https://docs.github.com/enterprise-cloud@latest//pages/getting-started-with-github-pages/configuring-a-publishing-source-for-your-github-pages-site).\" For information about the API to manage GitHub Pages, see \"[Pages](https://docs.github.com/enterprise-cloud@latest//rest/pages)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Pages\" repository permission.", + "summary": "This event occurs when there is an attempted build of a GitHub Pages site. This event occurs regardless of whether the build is successful. For more information, see \"[Configuring a publishing source for your GitHub Pages site](https://docs.github.com/enterprise-cloud@latest/pages/getting-started-with-github-pages/configuring-a-publishing-source-for-your-github-pages-site).\" For information about the API to manage GitHub Pages, see \"[Pages](https://docs.github.com/enterprise-cloud@latest/rest/pages)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Pages\" repository permission.", "operationId": "page-build", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#page_build" + "url": "https://docs.github.com/enterprise-cloud@latest/webhooks/webhook-events-and-payloads#page_build" }, "parameters": [ { @@ -1177422,7 +1185985,7 @@ "type": "object", "properties": { "build": { - "description": "The [List GitHub Pages builds](https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#list-github-pages-builds) itself.", + "description": "The [List GitHub Pages builds](https://docs.github.com/enterprise-cloud@latest/rest/pages/pages#list-github-pages-builds) itself.", "type": "object", "properties": { "commit": { @@ -1177566,7 +1186129,7 @@ }, "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).\"", + "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": { @@ -1177637,7 +1186200,7 @@ }, "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).\"", + "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": { @@ -1179114,11 +1187677,11 @@ }, "personal-access-token-request-approved": { "post": { - "summary": "This event occurs when there is activity relating to a request for a fine-grained personal access token to access resources that belong to a resource owner that requires approval for token access. For more information, see \"[Creating a personal access token](https://docs.github.com/enterprise-cloud@latest//authentication/keeping-your-account-and-data-secure/creating-a-personal-access-token).\"\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Personal access token requests\" organization permission.", + "summary": "This event occurs when there is activity relating to a request for a fine-grained personal access token to access resources that belong to a resource owner that requires approval for token access. For more information, see \"[Creating a personal access token](https://docs.github.com/enterprise-cloud@latest/authentication/keeping-your-account-and-data-secure/creating-a-personal-access-token).\"\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Personal access token requests\" organization permission.", "description": "A fine-grained personal access token request was approved.", "operationId": "personal-access-token-request/approved", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#personal_access_token_request" + "url": "https://docs.github.com/enterprise-cloud@latest/webhooks/webhook-events-and-payloads#personal_access_token_request" }, "parameters": [ { @@ -1179492,7 +1188055,7 @@ }, "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).\"", + "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": { @@ -1179757,7 +1188320,7 @@ }, "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).\"", + "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": { @@ -1179806,11 +1188369,11 @@ }, "personal-access-token-request-cancelled": { "post": { - "summary": "This event occurs when there is activity relating to a request for a fine-grained personal access token to access resources that belong to a resource owner that requires approval for token access. For more information, see \"[Creating a personal access token](https://docs.github.com/enterprise-cloud@latest//authentication/keeping-your-account-and-data-secure/creating-a-personal-access-token).\"\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Personal access token requests\" organization permission.", + "summary": "This event occurs when there is activity relating to a request for a fine-grained personal access token to access resources that belong to a resource owner that requires approval for token access. For more information, see \"[Creating a personal access token](https://docs.github.com/enterprise-cloud@latest/authentication/keeping-your-account-and-data-secure/creating-a-personal-access-token).\"\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Personal access token requests\" organization permission.", "description": "A fine-grained personal access token request was cancelled by the requester.", "operationId": "personal-access-token-request/cancelled", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#personal_access_token_request" + "url": "https://docs.github.com/enterprise-cloud@latest/webhooks/webhook-events-and-payloads#personal_access_token_request" }, "parameters": [ { @@ -1180184,7 +1188747,7 @@ }, "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).\"", + "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": { @@ -1180449,7 +1189012,7 @@ }, "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).\"", + "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": { @@ -1180498,11 +1189061,11 @@ }, "personal-access-token-request-created": { "post": { - "summary": "This event occurs when there is activity relating to a request for a fine-grained personal access token to access resources that belong to a resource owner that requires approval for token access. For more information, see \"[Creating a personal access token](https://docs.github.com/enterprise-cloud@latest//authentication/keeping-your-account-and-data-secure/creating-a-personal-access-token).\"\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Personal access token requests\" organization permission.", + "summary": "This event occurs when there is activity relating to a request for a fine-grained personal access token to access resources that belong to a resource owner that requires approval for token access. For more information, see \"[Creating a personal access token](https://docs.github.com/enterprise-cloud@latest/authentication/keeping-your-account-and-data-secure/creating-a-personal-access-token).\"\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Personal access token requests\" organization permission.", "description": "A fine-grained personal access token request was created.", "operationId": "personal-access-token-request/created", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#personal_access_token_request" + "url": "https://docs.github.com/enterprise-cloud@latest/webhooks/webhook-events-and-payloads#personal_access_token_request" }, "parameters": [ { @@ -1180876,7 +1189439,7 @@ }, "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).\"", + "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": { @@ -1181141,7 +1189704,7 @@ }, "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).\"", + "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": { @@ -1181189,11 +1189752,11 @@ }, "personal-access-token-request-denied": { "post": { - "summary": "This event occurs when there is activity relating to a request for a fine-grained personal access token to access resources that belong to a resource owner that requires approval for token access. For more information, see \"[Creating a personal access token](https://docs.github.com/enterprise-cloud@latest//authentication/keeping-your-account-and-data-secure/creating-a-personal-access-token).\"\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Personal access token requests\" organization permission.", + "summary": "This event occurs when there is activity relating to a request for a fine-grained personal access token to access resources that belong to a resource owner that requires approval for token access. For more information, see \"[Creating a personal access token](https://docs.github.com/enterprise-cloud@latest/authentication/keeping-your-account-and-data-secure/creating-a-personal-access-token).\"\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Personal access token requests\" organization permission.", "description": "A fine-grained personal access token request was denied.", "operationId": "personal-access-token-request/denied", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#personal_access_token_request" + "url": "https://docs.github.com/enterprise-cloud@latest/webhooks/webhook-events-and-payloads#personal_access_token_request" }, "parameters": [ { @@ -1181640,7 +1190203,7 @@ }, "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).\"", + "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": { @@ -1181832,7 +1190395,7 @@ }, "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).\"", + "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": { @@ -1181884,7 +1190447,7 @@ "summary": "This event occurs when you create a new webhook. The ping event is a confirmation from GitHub that you configured the webhook correctly.", "operationId": "ping", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#ping" + "url": "https://docs.github.com/enterprise-cloud@latest/webhooks/webhook-events-and-payloads#ping" }, "parameters": [ { @@ -1181986,7 +1190549,7 @@ }, "secret": { "type": "string", - "description": "If provided, the `secret` will be used as the `key` to generate the HMAC hex digest value for [delivery signature headers](https://docs.github.com/enterprise-cloud@latest//webhooks/event-payloads/#delivery-headers).", + "description": "If provided, the `secret` will be used as the `key` to generate the HMAC hex digest value for [delivery signature headers](https://docs.github.com/enterprise-cloud@latest/webhooks/event-payloads/#delivery-headers).", "example": "\"********\"" }, "url": { @@ -1183708,11 +1192271,11 @@ }, "project-card-converted": { "post": { - "summary": "This event occurs when there is activity relating to a card on a project (classic). For more information, see \"[About projects (classic)](https://docs.github.com/enterprise-cloud@latest//issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards).\" For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#project) or \"[Projects (classic)](https://docs.github.com/enterprise-cloud@latest//rest/projects)\" in the REST API documentation.\n\nFor activity relating to a project (classic) or a column on a project (classic), use the `project` and `project_column` event.\n\nThis event relates to projects (classic) only. For activity relating to the new Projects experience, use the `projects_v2` event instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Projects\" repository or organization permission.", + "summary": "This event occurs when there is activity relating to a card on a project (classic). For more information, see \"[About projects (classic)](https://docs.github.com/enterprise-cloud@latest/issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards).\" For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest/graphql/reference/objects#project) or \"[Projects (classic)](https://docs.github.com/enterprise-cloud@latest/rest/projects)\" in the REST API documentation.\n\nFor activity relating to a project (classic) or a column on a project (classic), use the `project` and `project_column` event.\n\nThis event relates to projects (classic) only. For activity relating to the new Projects experience, use the `projects_v2` event instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Projects\" repository or organization permission.", "description": "A note in a project (classic) was converted to an issue.", "operationId": "project-card/converted", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#project_card" + "url": "https://docs.github.com/enterprise-cloud@latest/webhooks/webhook-events-and-payloads#project_card" }, "parameters": [ { @@ -1183807,7 +1192370,7 @@ }, "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).\"", + "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": { @@ -1183875,7 +1192438,7 @@ }, "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).\"", + "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": { @@ -1185512,11 +1194075,11 @@ }, "project-card-created": { "post": { - "summary": "This event occurs when there is activity relating to a card on a project (classic). For more information, see \"[About projects (classic)](https://docs.github.com/enterprise-cloud@latest//issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards).\" For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#project) or \"[Projects (classic)](https://docs.github.com/enterprise-cloud@latest//rest/projects)\" in the REST API documentation.\n\nFor activity relating to a project (classic) or a column on a project (classic), use the `project` and `project_column` event.\n\nThis event relates to projects (classic) only. For activity relating to the new Projects experience, use the `projects_v2` event instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Projects\" repository or organization permission.", + "summary": "This event occurs when there is activity relating to a card on a project (classic). For more information, see \"[About projects (classic)](https://docs.github.com/enterprise-cloud@latest/issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards).\" For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest/graphql/reference/objects#project) or \"[Projects (classic)](https://docs.github.com/enterprise-cloud@latest/rest/projects)\" in the REST API documentation.\n\nFor activity relating to a project (classic) or a column on a project (classic), use the `project` and `project_column` event.\n\nThis event relates to projects (classic) only. For activity relating to the new Projects experience, use the `projects_v2` event instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Projects\" repository or organization permission.", "description": "A card was added to a project (classic).", "operationId": "project-card/created", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#project_card" + "url": "https://docs.github.com/enterprise-cloud@latest/webhooks/webhook-events-and-payloads#project_card" }, "parameters": [ { @@ -1185592,7 +1194155,7 @@ }, "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).\"", + "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": { @@ -1185660,7 +1194223,7 @@ }, "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).\"", + "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": { @@ -1187296,11 +1195859,11 @@ }, "project-card-deleted": { "post": { - "summary": "This event occurs when there is activity relating to a card on a project (classic). For more information, see \"[About projects (classic)](https://docs.github.com/enterprise-cloud@latest//issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards).\" For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#project) or \"[Projects (classic)](https://docs.github.com/enterprise-cloud@latest//rest/projects)\" in the REST API documentation.\n\nFor activity relating to a project (classic) or a column on a project (classic), use the `project` and `project_column` event.\n\nThis event relates to projects (classic) only. For activity relating to the new Projects experience, use the `projects_v2` event instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Projects\" repository or organization permission.", + "summary": "This event occurs when there is activity relating to a card on a project (classic). For more information, see \"[About projects (classic)](https://docs.github.com/enterprise-cloud@latest/issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards).\" For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest/graphql/reference/objects#project) or \"[Projects (classic)](https://docs.github.com/enterprise-cloud@latest/rest/projects)\" in the REST API documentation.\n\nFor activity relating to a project (classic) or a column on a project (classic), use the `project` and `project_column` event.\n\nThis event relates to projects (classic) only. For activity relating to the new Projects experience, use the `projects_v2` event instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Projects\" repository or organization permission.", "description": "A card on a project (classic) was deleted.", "operationId": "project-card/deleted", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#project_card" + "url": "https://docs.github.com/enterprise-cloud@latest/webhooks/webhook-events-and-payloads#project_card" }, "parameters": [ { @@ -1187376,7 +1195939,7 @@ }, "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).\"", + "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": { @@ -1187444,7 +1196007,7 @@ }, "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).\"", + "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": { @@ -1189083,11 +1197646,11 @@ }, "project-card-edited": { "post": { - "summary": "This event occurs when there is activity relating to a card on a project (classic). For more information, see \"[About projects (classic)](https://docs.github.com/enterprise-cloud@latest//issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards).\" For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#project) or \"[Projects (classic)](https://docs.github.com/enterprise-cloud@latest//rest/projects)\" in the REST API documentation.\n\nFor activity relating to a project (classic) or a column on a project (classic), use the `project` and `project_column` event.\n\nThis event relates to projects (classic) only. For activity relating to the new Projects experience, use the `projects_v2` event instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Projects\" repository or organization permission.", + "summary": "This event occurs when there is activity relating to a card on a project (classic). For more information, see \"[About projects (classic)](https://docs.github.com/enterprise-cloud@latest/issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards).\" For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest/graphql/reference/objects#project) or \"[Projects (classic)](https://docs.github.com/enterprise-cloud@latest/rest/projects)\" in the REST API documentation.\n\nFor activity relating to a project (classic) or a column on a project (classic), use the `project` and `project_column` event.\n\nThis event relates to projects (classic) only. For activity relating to the new Projects experience, use the `projects_v2` event instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Projects\" repository or organization permission.", "description": "A note on a project (classic) was edited.", "operationId": "project-card/edited", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#project_card" + "url": "https://docs.github.com/enterprise-cloud@latest/webhooks/webhook-events-and-payloads#project_card" }, "parameters": [ { @@ -1189183,7 +1197746,7 @@ }, "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).\"", + "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": { @@ -1189251,7 +1197814,7 @@ }, "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).\"", + "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": { @@ -1190888,11 +1199451,11 @@ }, "project-card-moved": { "post": { - "summary": "This event occurs when there is activity relating to a card on a project (classic). For more information, see \"[About projects (classic)](https://docs.github.com/enterprise-cloud@latest//issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards).\" For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#project) or \"[Projects (classic)](https://docs.github.com/enterprise-cloud@latest//rest/projects)\" in the REST API documentation.\n\nFor activity relating to a project (classic) or a column on a project (classic), use the `project` and `project_column` event.\n\nThis event relates to projects (classic) only. For activity relating to the new Projects experience, use the `projects_v2` event instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Projects\" repository or organization permission.", + "summary": "This event occurs when there is activity relating to a card on a project (classic). For more information, see \"[About projects (classic)](https://docs.github.com/enterprise-cloud@latest/issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards).\" For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest/graphql/reference/objects#project) or \"[Projects (classic)](https://docs.github.com/enterprise-cloud@latest/rest/projects)\" in the REST API documentation.\n\nFor activity relating to a project (classic) or a column on a project (classic), use the `project` and `project_column` event.\n\nThis event relates to projects (classic) only. For activity relating to the new Projects experience, use the `projects_v2` event instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Projects\" repository or organization permission.", "description": "A card on a project (classic) was moved to another column or to another position in its column.", "operationId": "project-card/moved", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#project_card" + "url": "https://docs.github.com/enterprise-cloud@latest/webhooks/webhook-events-and-payloads#project_card" }, "parameters": [ { @@ -1190987,7 +1199550,7 @@ }, "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).\"", + "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": { @@ -1191055,7 +1199618,7 @@ }, "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).\"", + "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": { @@ -1192799,11 +1201362,11 @@ }, "project-closed": { "post": { - "summary": "This event occurs when there is activity relating to a project (classic). For more information, see \"[About projects (classic)](https://docs.github.com/enterprise-cloud@latest//issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards).\" For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#project) or \"[Projects (classic)](https://docs.github.com/enterprise-cloud@latest//rest/projects)\" in the REST API documentation.\n\nFor activity relating to a card or column on a project (classic), use the `project_card` and `project_column` event.\n\nThis event relates to projects (classic) only. For activity relating to the new Projects experience, use the `projects_v2` event instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Projects\" repository or organization permission.", + "summary": "This event occurs when there is activity relating to a project (classic). For more information, see \"[About projects (classic)](https://docs.github.com/enterprise-cloud@latest/issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards).\" For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest/graphql/reference/objects#project) or \"[Projects (classic)](https://docs.github.com/enterprise-cloud@latest/rest/projects)\" in the REST API documentation.\n\nFor activity relating to a card or column on a project (classic), use the `project_card` and `project_column` event.\n\nThis event relates to projects (classic) only. For activity relating to the new Projects experience, use the `projects_v2` event instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Projects\" repository or organization permission.", "description": "A project (classic) was closed.", "operationId": "project/closed", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#project" + "url": "https://docs.github.com/enterprise-cloud@latest/webhooks/webhook-events-and-payloads#project" }, "parameters": [ { @@ -1192879,7 +1201442,7 @@ }, "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).\"", + "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": { @@ -1192947,7 +1201510,7 @@ }, "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).\"", + "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": { @@ -1194589,11 +1203152,11 @@ }, "project-column-created": { "post": { - "summary": "This event occurs when there is activity relating to a column on a project (classic). For more information, see \"[About projects (classic)](https://docs.github.com/enterprise-cloud@latest//issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards).\" For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#project) or \"[Projects (classic)](https://docs.github.com/enterprise-cloud@latest//rest/projects)\" in the REST API documentation.\n\nFor activity relating to a project (classic) or a card on a project (classic), use the `project` and `project_card` event.\n\nThis event relates to projects (classic) only. For activity relating to the new Projects experience, use the `projects_v2` event instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Projects\" repository or organization permission.", + "summary": "This event occurs when there is activity relating to a column on a project (classic). For more information, see \"[About projects (classic)](https://docs.github.com/enterprise-cloud@latest/issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards).\" For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest/graphql/reference/objects#project) or \"[Projects (classic)](https://docs.github.com/enterprise-cloud@latest/rest/projects)\" in the REST API documentation.\n\nFor activity relating to a project (classic) or a card on a project (classic), use the `project` and `project_card` event.\n\nThis event relates to projects (classic) only. For activity relating to the new Projects experience, use the `projects_v2` event instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Projects\" repository or organization permission.", "description": "A column was added to a project (classic).", "operationId": "project-column/created", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#project_column" + "url": "https://docs.github.com/enterprise-cloud@latest/webhooks/webhook-events-and-payloads#project_column" }, "parameters": [ { @@ -1194669,7 +1203232,7 @@ }, "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).\"", + "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": { @@ -1194737,7 +1203300,7 @@ }, "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).\"", + "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": { @@ -1196263,11 +1204826,11 @@ }, "project-column-deleted": { "post": { - "summary": "This event occurs when there is activity relating to a column on a project (classic). For more information, see \"[About projects (classic)](https://docs.github.com/enterprise-cloud@latest//issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards).\" For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#project) or \"[Projects (classic)](https://docs.github.com/enterprise-cloud@latest//rest/projects)\" in the REST API documentation.\n\nFor activity relating to a project (classic) or a card on a project (classic), use the `project` and `project_card` event.\n\nThis event relates to projects (classic) only. For activity relating to the new Projects experience, use the `projects_v2` event instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Projects\" repository or organization permission.", + "summary": "This event occurs when there is activity relating to a column on a project (classic). For more information, see \"[About projects (classic)](https://docs.github.com/enterprise-cloud@latest/issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards).\" For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest/graphql/reference/objects#project) or \"[Projects (classic)](https://docs.github.com/enterprise-cloud@latest/rest/projects)\" in the REST API documentation.\n\nFor activity relating to a project (classic) or a card on a project (classic), use the `project` and `project_card` event.\n\nThis event relates to projects (classic) only. For activity relating to the new Projects experience, use the `projects_v2` event instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Projects\" repository or organization permission.", "description": "A column was deleted from a project (classic).", "operationId": "project-column/deleted", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#project_column" + "url": "https://docs.github.com/enterprise-cloud@latest/webhooks/webhook-events-and-payloads#project_column" }, "parameters": [ { @@ -1196343,7 +1204906,7 @@ }, "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).\"", + "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": { @@ -1196411,7 +1204974,7 @@ }, "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).\"", + "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": { @@ -1197938,11 +1206501,11 @@ }, "project-column-edited": { "post": { - "summary": "This event occurs when there is activity relating to a column on a project (classic). For more information, see \"[About projects (classic)](https://docs.github.com/enterprise-cloud@latest//issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards).\" For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#project) or \"[Projects (classic)](https://docs.github.com/enterprise-cloud@latest//rest/projects)\" in the REST API documentation.\n\nFor activity relating to a project (classic) or a card on a project (classic), use the `project` and `project_card` event.\n\nThis event relates to projects (classic) only. For activity relating to the new Projects experience, use the `projects_v2` event instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Projects\" repository or organization permission.", + "summary": "This event occurs when there is activity relating to a column on a project (classic). For more information, see \"[About projects (classic)](https://docs.github.com/enterprise-cloud@latest/issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards).\" For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest/graphql/reference/objects#project) or \"[Projects (classic)](https://docs.github.com/enterprise-cloud@latest/rest/projects)\" in the REST API documentation.\n\nFor activity relating to a project (classic) or a card on a project (classic), use the `project` and `project_card` event.\n\nThis event relates to projects (classic) only. For activity relating to the new Projects experience, use the `projects_v2` event instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Projects\" repository or organization permission.", "description": "The name of a column on a project (classic) was changed.", "operationId": "project-column/edited", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#project_column" + "url": "https://docs.github.com/enterprise-cloud@latest/webhooks/webhook-events-and-payloads#project_column" }, "parameters": [ { @@ -1198034,7 +1206597,7 @@ }, "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).\"", + "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": { @@ -1198102,7 +1206665,7 @@ }, "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).\"", + "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": { @@ -1199629,11 +1208192,11 @@ }, "project-column-moved": { "post": { - "summary": "This event occurs when there is activity relating to a column on a project (classic). For more information, see \"[About projects (classic)](https://docs.github.com/enterprise-cloud@latest//issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards).\" For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#project) or \"[Projects (classic)](https://docs.github.com/enterprise-cloud@latest//rest/projects)\" in the REST API documentation.\n\nFor activity relating to a project (classic) or a card on a project (classic), use the `project` and `project_card` event.\n\nThis event relates to projects (classic) only. For activity relating to the new Projects experience, use the `projects_v2` event instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Projects\" repository or organization permission.", + "summary": "This event occurs when there is activity relating to a column on a project (classic). For more information, see \"[About projects (classic)](https://docs.github.com/enterprise-cloud@latest/issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards).\" For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest/graphql/reference/objects#project) or \"[Projects (classic)](https://docs.github.com/enterprise-cloud@latest/rest/projects)\" in the REST API documentation.\n\nFor activity relating to a project (classic) or a card on a project (classic), use the `project` and `project_card` event.\n\nThis event relates to projects (classic) only. For activity relating to the new Projects experience, use the `projects_v2` event instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Projects\" repository or organization permission.", "description": "A column was moved to a new position on a project (classic).", "operationId": "project-column/moved", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#project_column" + "url": "https://docs.github.com/enterprise-cloud@latest/webhooks/webhook-events-and-payloads#project_column" }, "parameters": [ { @@ -1199709,7 +1208272,7 @@ }, "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).\"", + "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": { @@ -1199777,7 +1208340,7 @@ }, "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).\"", + "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": { @@ -1201304,11 +1209867,11 @@ }, "project-created": { "post": { - "summary": "This event occurs when there is activity relating to a project (classic). For more information, see \"[About projects (classic)](https://docs.github.com/enterprise-cloud@latest//issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards).\" For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#project) or \"[Projects (classic)](https://docs.github.com/enterprise-cloud@latest//rest/projects)\" in the REST API documentation.\n\nFor activity relating to a card or column on a project (classic), use the `project_card` and `project_column` event.\n\nThis event relates to projects (classic) only. For activity relating to the new Projects experience, use the `projects_v2` event instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Projects\" repository or organization permission.", + "summary": "This event occurs when there is activity relating to a project (classic). For more information, see \"[About projects (classic)](https://docs.github.com/enterprise-cloud@latest/issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards).\" For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest/graphql/reference/objects#project) or \"[Projects (classic)](https://docs.github.com/enterprise-cloud@latest/rest/projects)\" in the REST API documentation.\n\nFor activity relating to a card or column on a project (classic), use the `project_card` and `project_column` event.\n\nThis event relates to projects (classic) only. For activity relating to the new Projects experience, use the `projects_v2` event instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Projects\" repository or organization permission.", "description": "A project (classic) was created.", "operationId": "project/created", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#project" + "url": "https://docs.github.com/enterprise-cloud@latest/webhooks/webhook-events-and-payloads#project" }, "parameters": [ { @@ -1201384,7 +1209947,7 @@ }, "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).\"", + "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": { @@ -1201452,7 +1210015,7 @@ }, "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).\"", + "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": { @@ -1203094,11 +1211657,11 @@ }, "project-deleted": { "post": { - "summary": "This event occurs when there is activity relating to a project (classic). For more information, see \"[About projects (classic)](https://docs.github.com/enterprise-cloud@latest//issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards).\" For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#project) or \"[Projects (classic)](https://docs.github.com/enterprise-cloud@latest//rest/projects)\" in the REST API documentation.\n\nFor activity relating to a card or column on a project (classic), use the `project_card` and `project_column` event.\n\nThis event relates to projects (classic) only. For activity relating to the new Projects experience, use the `projects_v2` event instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Projects\" repository or organization permission.", + "summary": "This event occurs when there is activity relating to a project (classic). For more information, see \"[About projects (classic)](https://docs.github.com/enterprise-cloud@latest/issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards).\" For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest/graphql/reference/objects#project) or \"[Projects (classic)](https://docs.github.com/enterprise-cloud@latest/rest/projects)\" in the REST API documentation.\n\nFor activity relating to a card or column on a project (classic), use the `project_card` and `project_column` event.\n\nThis event relates to projects (classic) only. For activity relating to the new Projects experience, use the `projects_v2` event instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Projects\" repository or organization permission.", "description": "A project (classic) was deleted.", "operationId": "project/deleted", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#project" + "url": "https://docs.github.com/enterprise-cloud@latest/webhooks/webhook-events-and-payloads#project" }, "parameters": [ { @@ -1203174,7 +1211737,7 @@ }, "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).\"", + "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": { @@ -1203242,7 +1211805,7 @@ }, "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).\"", + "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": { @@ -1204884,11 +1213447,11 @@ }, "project-edited": { "post": { - "summary": "This event occurs when there is activity relating to a project (classic). For more information, see \"[About projects (classic)](https://docs.github.com/enterprise-cloud@latest//issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards).\" For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#project) or \"[Projects (classic)](https://docs.github.com/enterprise-cloud@latest//rest/projects)\" in the REST API documentation.\n\nFor activity relating to a card or column on a project (classic), use the `project_card` and `project_column` event.\n\nThis event relates to projects (classic) only. For activity relating to the new Projects experience, use the `projects_v2` event instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Projects\" repository or organization permission.", + "summary": "This event occurs when there is activity relating to a project (classic). For more information, see \"[About projects (classic)](https://docs.github.com/enterprise-cloud@latest/issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards).\" For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest/graphql/reference/objects#project) or \"[Projects (classic)](https://docs.github.com/enterprise-cloud@latest/rest/projects)\" in the REST API documentation.\n\nFor activity relating to a card or column on a project (classic), use the `project_card` and `project_column` event.\n\nThis event relates to projects (classic) only. For activity relating to the new Projects experience, use the `projects_v2` event instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Projects\" repository or organization permission.", "description": "The name or description of a project (classic) was changed.", "operationId": "project/edited", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#project" + "url": "https://docs.github.com/enterprise-cloud@latest/webhooks/webhook-events-and-payloads#project" }, "parameters": [ { @@ -1204994,7 +1213557,7 @@ }, "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).\"", + "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": { @@ -1205062,7 +1213625,7 @@ }, "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).\"", + "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": { @@ -1206703,11 +1215266,11 @@ }, "project-reopened": { "post": { - "summary": "This event occurs when there is activity relating to a project (classic). For more information, see \"[About projects (classic)](https://docs.github.com/enterprise-cloud@latest//issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards).\" For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#project) or \"[Projects (classic)](https://docs.github.com/enterprise-cloud@latest//rest/projects)\" in the REST API documentation.\n\nFor activity relating to a card or column on a project (classic), use the `project_card` and `project_column` event.\n\nThis event relates to projects (classic) only. For activity relating to the new Projects experience, use the `projects_v2` event instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Projects\" repository or organization permission.", + "summary": "This event occurs when there is activity relating to a project (classic). For more information, see \"[About projects (classic)](https://docs.github.com/enterprise-cloud@latest/issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards).\" For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest/graphql/reference/objects#project) or \"[Projects (classic)](https://docs.github.com/enterprise-cloud@latest/rest/projects)\" in the REST API documentation.\n\nFor activity relating to a card or column on a project (classic), use the `project_card` and `project_column` event.\n\nThis event relates to projects (classic) only. For activity relating to the new Projects experience, use the `projects_v2` event instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Projects\" repository or organization permission.", "description": "A project (classic) was closed.", "operationId": "project/reopened", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#project" + "url": "https://docs.github.com/enterprise-cloud@latest/webhooks/webhook-events-and-payloads#project" }, "parameters": [ { @@ -1206783,7 +1215346,7 @@ }, "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).\"", + "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": { @@ -1206851,7 +1215414,7 @@ }, "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).\"", + "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": { @@ -1208493,11 +1217056,11 @@ }, "projects-v2-closed": { "post": { - "summary": "This event occurs when there is activity relating to an organization-level project. For more information, see \"[About Projects](https://docs.github.com/enterprise-cloud@latest//issues/planning-and-tracking-with-projects/learning-about-projects/about-projects).\" For information about the Projects API, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#projectv2).\n\nFor activity relating to a item on a project, use the `projects_v2_item` event. For activity relating to Projects (classic), use the `project`, `project_card`, and `project_column` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Projects\" organization permission.\n\n> [!NOTE]\n> Webhook events for projects are currently in public preview and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405).", + "summary": "This event occurs when there is activity relating to an organization-level project. For more information, see \"[About Projects](https://docs.github.com/enterprise-cloud@latest/issues/planning-and-tracking-with-projects/learning-about-projects/about-projects).\" For information about the Projects API, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest/graphql/reference/objects#projectv2).\n\nFor activity relating to a item on a project, use the `projects_v2_item` event. For activity relating to Projects (classic), use the `project`, `project_card`, and `project_column` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Projects\" organization permission.\n\n> [!NOTE]\n> Webhook events for projects are currently in public preview and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405).", "description": "A project in the organization was closed.", "operationId": "projects-v2/closed", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#projects_v2" + "url": "https://docs.github.com/enterprise-cloud@latest/webhooks/webhook-events-and-payloads#projects_v2" }, "parameters": [ { @@ -1208573,7 +1217136,7 @@ }, "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).\"", + "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": { @@ -1209474,11 +1218037,11 @@ }, "projects-v2-created": { "post": { - "summary": "This event occurs when there is activity relating to an organization-level project. For more information, see \"[About Projects](https://docs.github.com/enterprise-cloud@latest//issues/planning-and-tracking-with-projects/learning-about-projects/about-projects).\" For information about the Projects API, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#projectv2).\n\nFor activity relating to a item on a project, use the `projects_v2_item` event. For activity relating to Projects (classic), use the `project`, `project_card`, and `project_column` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Projects\" organization permission.\n\n> [!NOTE]\n> Webhook events for projects are currently in public preview and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405).", + "summary": "This event occurs when there is activity relating to an organization-level project. For more information, see \"[About Projects](https://docs.github.com/enterprise-cloud@latest/issues/planning-and-tracking-with-projects/learning-about-projects/about-projects).\" For information about the Projects API, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest/graphql/reference/objects#projectv2).\n\nFor activity relating to a item on a project, use the `projects_v2_item` event. For activity relating to Projects (classic), use the `project`, `project_card`, and `project_column` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Projects\" organization permission.\n\n> [!NOTE]\n> Webhook events for projects are currently in public preview and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405).", "description": "A project in the organization was created.", "operationId": "projects-v2/created", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#projects_v2" + "url": "https://docs.github.com/enterprise-cloud@latest/webhooks/webhook-events-and-payloads#projects_v2" }, "parameters": [ { @@ -1209554,7 +1218117,7 @@ }, "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).\"", + "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": { @@ -1210455,11 +1219018,11 @@ }, "projects-v2-deleted": { "post": { - "summary": "This event occurs when there is activity relating to an organization-level project. For more information, see \"[About Projects](https://docs.github.com/enterprise-cloud@latest//issues/planning-and-tracking-with-projects/learning-about-projects/about-projects).\" For information about the Projects API, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#projectv2).\n\nFor activity relating to a item on a project, use the `projects_v2_item` event. For activity relating to Projects (classic), use the `project`, `project_card`, and `project_column` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Projects\" organization permission.\n\n> [!NOTE]\n> Webhook events for projects are currently in public preview and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405).", + "summary": "This event occurs when there is activity relating to an organization-level project. For more information, see \"[About Projects](https://docs.github.com/enterprise-cloud@latest/issues/planning-and-tracking-with-projects/learning-about-projects/about-projects).\" For information about the Projects API, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest/graphql/reference/objects#projectv2).\n\nFor activity relating to a item on a project, use the `projects_v2_item` event. For activity relating to Projects (classic), use the `project`, `project_card`, and `project_column` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Projects\" organization permission.\n\n> [!NOTE]\n> Webhook events for projects are currently in public preview and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405).", "description": "A project in the organization was deleted.", "operationId": "projects-v2/deleted", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#projects_v2" + "url": "https://docs.github.com/enterprise-cloud@latest/webhooks/webhook-events-and-payloads#projects_v2" }, "parameters": [ { @@ -1210535,7 +1219098,7 @@ }, "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).\"", + "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": { @@ -1211436,11 +1219999,11 @@ }, "projects-v2-edited": { "post": { - "summary": "This event occurs when there is activity relating to an organization-level project. For more information, see \"[About Projects](https://docs.github.com/enterprise-cloud@latest//issues/planning-and-tracking-with-projects/learning-about-projects/about-projects).\" For information about the Projects API, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#projectv2).\n\nFor activity relating to a item on a project, use the `projects_v2_item` event. For activity relating to Projects (classic), use the `project`, `project_card`, and `project_column` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Projects\" organization permission.\n\n> [!NOTE]\n> Webhook events for projects are currently in public preview and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405).", + "summary": "This event occurs when there is activity relating to an organization-level project. For more information, see \"[About Projects](https://docs.github.com/enterprise-cloud@latest/issues/planning-and-tracking-with-projects/learning-about-projects/about-projects).\" For information about the Projects API, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest/graphql/reference/objects#projectv2).\n\nFor activity relating to a item on a project, use the `projects_v2_item` event. For activity relating to Projects (classic), use the `project`, `project_card`, and `project_column` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Projects\" organization permission.\n\n> [!NOTE]\n> Webhook events for projects are currently in public preview and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405).", "description": "The title, description, or README of a project in the organization was changed.", "operationId": "projects-v2/edited", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#projects_v2" + "url": "https://docs.github.com/enterprise-cloud@latest/webhooks/webhook-events-and-payloads#projects_v2" }, "parameters": [ { @@ -1211569,7 +1220132,7 @@ }, "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).\"", + "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": { @@ -1212471,11 +1221034,11 @@ }, "projects-v2-item-archived": { "post": { - "summary": "This event occurs when there is activity relating to an item on an organization-level project. For more information, see \"[About Projects](https://docs.github.com/enterprise-cloud@latest//issues/planning-and-tracking-with-projects/learning-about-projects/about-projects).\" For information about the Projects API, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#projectv2item).\n\nFor activity relating to a project (instead of an item on a project), use the `projects_v2` event. For activity relating to Projects (classic), use the `project`, `project_card`, and `project_column` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Projects\" organization permission.\n\n> [!NOTE]\n> Webhook events for projects are currently in public preview and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405).", - "description": "An item on an organization project was archived. For more information, see \"[Archiving items from your project](https://docs.github.com/enterprise-cloud@latest//issues/planning-and-tracking-with-projects/managing-items-in-your-project/archiving-items-from-your-project).\"", + "summary": "This event occurs when there is activity relating to an item on an organization-level project. For more information, see \"[About Projects](https://docs.github.com/enterprise-cloud@latest/issues/planning-and-tracking-with-projects/learning-about-projects/about-projects).\" For information about the Projects API, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest/graphql/reference/objects#projectv2item).\n\nFor activity relating to a project (instead of an item on a project), use the `projects_v2` event. For activity relating to Projects (classic), use the `project`, `project_card`, and `project_column` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Projects\" organization permission.\n\n> [!NOTE]\n> Webhook events for projects are currently in public preview and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405).", + "description": "An item on an organization project was archived. For more information, see \"[Archiving items from your project](https://docs.github.com/enterprise-cloud@latest/issues/planning-and-tracking-with-projects/managing-items-in-your-project/archiving-items-from-your-project).\"", "operationId": "projects-v2-item/archived", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#projects_v2_item" + "url": "https://docs.github.com/enterprise-cloud@latest/webhooks/webhook-events-and-payloads#projects_v2_item" }, "parameters": [ { @@ -1212571,7 +1221134,7 @@ }, "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).\"", + "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": { @@ -1213001,11 +1221564,11 @@ }, "projects-v2-item-converted": { "post": { - "summary": "This event occurs when there is activity relating to an item on an organization-level project. For more information, see \"[About Projects](https://docs.github.com/enterprise-cloud@latest//issues/planning-and-tracking-with-projects/learning-about-projects/about-projects).\" For information about the Projects API, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#projectv2item).\n\nFor activity relating to a project (instead of an item on a project), use the `projects_v2` event. For activity relating to Projects (classic), use the `project`, `project_card`, and `project_column` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Projects\" organization permission.\n\n> [!NOTE]\n> Webhook events for projects are currently in public preview and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405).", + "summary": "This event occurs when there is activity relating to an item on an organization-level project. For more information, see \"[About Projects](https://docs.github.com/enterprise-cloud@latest/issues/planning-and-tracking-with-projects/learning-about-projects/about-projects).\" For information about the Projects API, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest/graphql/reference/objects#projectv2item).\n\nFor activity relating to a project (instead of an item on a project), use the `projects_v2` event. For activity relating to Projects (classic), use the `project`, `project_card`, and `project_column` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Projects\" organization permission.\n\n> [!NOTE]\n> Webhook events for projects are currently in public preview and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405).", "description": "A draft issue in an organization project was converted to an issue.", "operationId": "projects-v2-item/converted", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#projects_v2_item" + "url": "https://docs.github.com/enterprise-cloud@latest/webhooks/webhook-events-and-payloads#projects_v2_item" }, "parameters": [ { @@ -1213098,7 +1221661,7 @@ }, "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).\"", + "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": { @@ -1213528,11 +1222091,11 @@ }, "projects-v2-item-created": { "post": { - "summary": "This event occurs when there is activity relating to an item on an organization-level project. For more information, see \"[About Projects](https://docs.github.com/enterprise-cloud@latest//issues/planning-and-tracking-with-projects/learning-about-projects/about-projects).\" For information about the Projects API, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#projectv2item).\n\nFor activity relating to a project (instead of an item on a project), use the `projects_v2` event. For activity relating to Projects (classic), use the `project`, `project_card`, and `project_column` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Projects\" organization permission.\n\n> [!NOTE]\n> Webhook events for projects are currently in public preview and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405).", + "summary": "This event occurs when there is activity relating to an item on an organization-level project. For more information, see \"[About Projects](https://docs.github.com/enterprise-cloud@latest/issues/planning-and-tracking-with-projects/learning-about-projects/about-projects).\" For information about the Projects API, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest/graphql/reference/objects#projectv2item).\n\nFor activity relating to a project (instead of an item on a project), use the `projects_v2` event. For activity relating to Projects (classic), use the `project`, `project_card`, and `project_column` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Projects\" organization permission.\n\n> [!NOTE]\n> Webhook events for projects are currently in public preview and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405).", "description": "An item was added to a project in the organization.", "operationId": "projects-v2-item/created", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#projects_v2_item" + "url": "https://docs.github.com/enterprise-cloud@latest/webhooks/webhook-events-and-payloads#projects_v2_item" }, "parameters": [ { @@ -1213608,7 +1222171,7 @@ }, "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).\"", + "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": { @@ -1214037,11 +1222600,11 @@ }, "projects-v2-item-deleted": { "post": { - "summary": "This event occurs when there is activity relating to an item on an organization-level project. For more information, see \"[About Projects](https://docs.github.com/enterprise-cloud@latest//issues/planning-and-tracking-with-projects/learning-about-projects/about-projects).\" For information about the Projects API, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#projectv2item).\n\nFor activity relating to a project (instead of an item on a project), use the `projects_v2` event. For activity relating to Projects (classic), use the `project`, `project_card`, and `project_column` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Projects\" organization permission.\n\n> [!NOTE]\n> Webhook events for projects are currently in public preview and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405).", + "summary": "This event occurs when there is activity relating to an item on an organization-level project. For more information, see \"[About Projects](https://docs.github.com/enterprise-cloud@latest/issues/planning-and-tracking-with-projects/learning-about-projects/about-projects).\" For information about the Projects API, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest/graphql/reference/objects#projectv2item).\n\nFor activity relating to a project (instead of an item on a project), use the `projects_v2` event. For activity relating to Projects (classic), use the `project`, `project_card`, and `project_column` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Projects\" organization permission.\n\n> [!NOTE]\n> Webhook events for projects are currently in public preview and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405).", "description": "An item was deleted from a project in the organization.", "operationId": "projects-v2-item/deleted", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#projects_v2_item" + "url": "https://docs.github.com/enterprise-cloud@latest/webhooks/webhook-events-and-payloads#projects_v2_item" }, "parameters": [ { @@ -1214117,7 +1222680,7 @@ }, "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).\"", + "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": { @@ -1214546,11 +1223109,11 @@ }, "projects-v2-item-edited": { "post": { - "summary": "This event occurs when there is activity relating to an item on an organization-level project. For more information, see \"[About Projects](https://docs.github.com/enterprise-cloud@latest//issues/planning-and-tracking-with-projects/learning-about-projects/about-projects).\" For information about the Projects API, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#projectv2item).\n\nFor activity relating to a project (instead of an item on a project), use the `projects_v2` event. For activity relating to Projects (classic), use the `project`, `project_card`, and `project_column` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Projects\" organization permission.\n\n> [!NOTE]\n> Webhook events for projects are currently in public preview and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405).", + "summary": "This event occurs when there is activity relating to an item on an organization-level project. For more information, see \"[About Projects](https://docs.github.com/enterprise-cloud@latest/issues/planning-and-tracking-with-projects/learning-about-projects/about-projects).\" For information about the Projects API, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest/graphql/reference/objects#projectv2item).\n\nFor activity relating to a project (instead of an item on a project), use the `projects_v2` event. For activity relating to Projects (classic), use the `project`, `project_card`, and `project_column` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Projects\" organization permission.\n\n> [!NOTE]\n> Webhook events for projects are currently in public preview and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405).", "description": "The values or state of an item in an organization project were changed. For example, the value of a field was updated, the body of a draft issue was changed, or a draft issue was converted to an issue.", "operationId": "projects-v2-item/edited", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#projects_v2_item" + "url": "https://docs.github.com/enterprise-cloud@latest/webhooks/webhook-events-and-payloads#projects_v2_item" }, "parameters": [ { @@ -1214831,7 +1223394,7 @@ }, "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).\"", + "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": { @@ -1215260,11 +1223823,11 @@ }, "projects-v2-item-reordered": { "post": { - "summary": "This event occurs when there is activity relating to an item on an organization-level project. For more information, see \"[About Projects](https://docs.github.com/enterprise-cloud@latest//issues/planning-and-tracking-with-projects/learning-about-projects/about-projects).\" For information about the Projects API, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#projectv2item).\n\nFor activity relating to a project (instead of an item on a project), use the `projects_v2` event. For activity relating to Projects (classic), use the `project`, `project_card`, and `project_column` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Projects\" organization permission.\n\n> [!NOTE]\n> Webhook events for projects are currently in public preview and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405).", + "summary": "This event occurs when there is activity relating to an item on an organization-level project. For more information, see \"[About Projects](https://docs.github.com/enterprise-cloud@latest/issues/planning-and-tracking-with-projects/learning-about-projects/about-projects).\" For information about the Projects API, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest/graphql/reference/objects#projectv2item).\n\nFor activity relating to a project (instead of an item on a project), use the `projects_v2` event. For activity relating to Projects (classic), use the `project`, `project_card`, and `project_column` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Projects\" organization permission.\n\n> [!NOTE]\n> Webhook events for projects are currently in public preview and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405).", "description": "The position of an item in an organization project was changed. For example, an item was moved above or below another item in the table or board layout.", "operationId": "projects-v2-item/reordered", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#projects_v2_item" + "url": "https://docs.github.com/enterprise-cloud@latest/webhooks/webhook-events-and-payloads#projects_v2_item" }, "parameters": [ { @@ -1215358,7 +1223921,7 @@ }, "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).\"", + "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": { @@ -1215788,11 +1224351,11 @@ }, "projects-v2-item-restored": { "post": { - "summary": "This event occurs when there is activity relating to an item on an organization-level project. For more information, see \"[About Projects](https://docs.github.com/enterprise-cloud@latest//issues/planning-and-tracking-with-projects/learning-about-projects/about-projects).\" For information about the Projects API, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#projectv2item).\n\nFor activity relating to a project (instead of an item on a project), use the `projects_v2` event. For activity relating to Projects (classic), use the `project`, `project_card`, and `project_column` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Projects\" organization permission.\n\n> [!NOTE]\n> Webhook events for projects are currently in public preview and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405).", - "description": "An archived item on an organization project was restored from the archive. For more information, see \"[Archiving items from your project](https://docs.github.com/enterprise-cloud@latest//issues/planning-and-tracking-with-projects/managing-items-in-your-project/archiving-items-from-your-project).\"", + "summary": "This event occurs when there is activity relating to an item on an organization-level project. For more information, see \"[About Projects](https://docs.github.com/enterprise-cloud@latest/issues/planning-and-tracking-with-projects/learning-about-projects/about-projects).\" For information about the Projects API, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest/graphql/reference/objects#projectv2item).\n\nFor activity relating to a project (instead of an item on a project), use the `projects_v2` event. For activity relating to Projects (classic), use the `project`, `project_card`, and `project_column` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Projects\" organization permission.\n\n> [!NOTE]\n> Webhook events for projects are currently in public preview and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405).", + "description": "An archived item on an organization project was restored from the archive. For more information, see \"[Archiving items from your project](https://docs.github.com/enterprise-cloud@latest/issues/planning-and-tracking-with-projects/managing-items-in-your-project/archiving-items-from-your-project).\"", "operationId": "projects-v2-item/restored", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#projects_v2_item" + "url": "https://docs.github.com/enterprise-cloud@latest/webhooks/webhook-events-and-payloads#projects_v2_item" }, "parameters": [ { @@ -1215888,7 +1224451,7 @@ }, "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).\"", + "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": { @@ -1216318,11 +1224881,11 @@ }, "projects-v2-reopened": { "post": { - "summary": "This event occurs when there is activity relating to an organization-level project. For more information, see \"[About Projects](https://docs.github.com/enterprise-cloud@latest//issues/planning-and-tracking-with-projects/learning-about-projects/about-projects).\" For information about the Projects API, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#projectv2).\n\nFor activity relating to a item on a project, use the `projects_v2_item` event. For activity relating to Projects (classic), use the `project`, `project_card`, and `project_column` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Projects\" organization permission.\n\n> [!NOTE]\n> Webhook events for projects are currently in public preview and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405).", + "summary": "This event occurs when there is activity relating to an organization-level project. For more information, see \"[About Projects](https://docs.github.com/enterprise-cloud@latest/issues/planning-and-tracking-with-projects/learning-about-projects/about-projects).\" For information about the Projects API, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest/graphql/reference/objects#projectv2).\n\nFor activity relating to a item on a project, use the `projects_v2_item` event. For activity relating to Projects (classic), use the `project`, `project_card`, and `project_column` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Projects\" organization permission.\n\n> [!NOTE]\n> Webhook events for projects are currently in public preview and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405).", "description": "A project in the organization was reopened.", "operationId": "projects-v2/reopened", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#projects_v2" + "url": "https://docs.github.com/enterprise-cloud@latest/webhooks/webhook-events-and-payloads#projects_v2" }, "parameters": [ { @@ -1216398,7 +1224961,7 @@ }, "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).\"", + "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": { @@ -1217299,11 +1225862,11 @@ }, "projects-v2-status-update-created": { "post": { - "summary": "This event occurs when there is activity relating to a status update on an organization-level project. For more information, see \"[About Projects](https://docs.github.com/enterprise-cloud@latest//issues/planning-and-tracking-with-projects/learning-about-projects/about-projects).\"\n\nFor activity relating to a project, use the `projects_v2` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Projects\" organization permission.\n\n> [!NOTE]\n> To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405).", + "summary": "This event occurs when there is activity relating to a status update on an organization-level project. For more information, see \"[About Projects](https://docs.github.com/enterprise-cloud@latest/issues/planning-and-tracking-with-projects/learning-about-projects/about-projects).\"\n\nFor activity relating to a project, use the `projects_v2` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Projects\" organization permission.\n\n> [!NOTE]\n> To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405).", "description": "A status update was added to a project in the organization.", "operationId": "projects-v2-status-update/created", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#projects_v2_status_update" + "url": "https://docs.github.com/enterprise-cloud@latest/webhooks/webhook-events-and-payloads#projects_v2_status_update" }, "parameters": [ { @@ -1217379,7 +1225942,7 @@ }, "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).\"", + "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": { @@ -1217815,11 +1226378,11 @@ }, "projects-v2-status-update-deleted": { "post": { - "summary": "This event occurs when there is activity relating to a status update on an organization-level project. For more information, see \"[About Projects](https://docs.github.com/enterprise-cloud@latest//issues/planning-and-tracking-with-projects/learning-about-projects/about-projects).\"\n\nFor activity relating to a project, use the `projects_v2` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Projects\" organization permission.\n\n> [!NOTE]\n> To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405).", + "summary": "This event occurs when there is activity relating to a status update on an organization-level project. For more information, see \"[About Projects](https://docs.github.com/enterprise-cloud@latest/issues/planning-and-tracking-with-projects/learning-about-projects/about-projects).\"\n\nFor activity relating to a project, use the `projects_v2` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Projects\" organization permission.\n\n> [!NOTE]\n> To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405).", "description": "A status update was removed from a project in the organization.", "operationId": "projects-v2-status-update/deleted", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#projects_v2_status_update" + "url": "https://docs.github.com/enterprise-cloud@latest/webhooks/webhook-events-and-payloads#projects_v2_status_update" }, "parameters": [ { @@ -1217895,7 +1226458,7 @@ }, "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).\"", + "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": { @@ -1218331,11 +1226894,11 @@ }, "projects-v2-status-update-edited": { "post": { - "summary": "This event occurs when there is activity relating to a status update on an organization-level project. For more information, see \"[About Projects](https://docs.github.com/enterprise-cloud@latest//issues/planning-and-tracking-with-projects/learning-about-projects/about-projects).\"\n\nFor activity relating to a project, use the `projects_v2` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Projects\" organization permission.\n\n> [!NOTE]\n> To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405).", + "summary": "This event occurs when there is activity relating to a status update on an organization-level project. For more information, see \"[About Projects](https://docs.github.com/enterprise-cloud@latest/issues/planning-and-tracking-with-projects/learning-about-projects/about-projects).\"\n\nFor activity relating to a project, use the `projects_v2` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Projects\" organization permission.\n\n> [!NOTE]\n> To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405).", "description": "A status update was edited on a project in the organization.", "operationId": "projects-v2-status-update/edited", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#projects_v2_status_update" + "url": "https://docs.github.com/enterprise-cloud@latest/webhooks/webhook-events-and-payloads#projects_v2_status_update" }, "parameters": [ { @@ -1218486,7 +1227049,7 @@ }, "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).\"", + "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": { @@ -1218922,10 +1227485,10 @@ }, "public": { "post": { - "summary": "This event occurs when repository visibility changes from private to public. For more information, see \"[Setting repository visibility](https://docs.github.com/enterprise-cloud@latest//repositories/managing-your-repositorys-settings-and-features/managing-repository-settings/setting-repository-visibility).\"\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Metadata\" repository permission.", + "summary": "This event occurs when repository visibility changes from private to public. For more information, see \"[Setting repository visibility](https://docs.github.com/enterprise-cloud@latest/repositories/managing-your-repositorys-settings-and-features/managing-repository-settings/setting-repository-visibility).\"\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Metadata\" repository permission.", "operationId": "public", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#public" + "url": "https://docs.github.com/enterprise-cloud@latest/webhooks/webhook-events-and-payloads#public" }, "parameters": [ { @@ -1218995,7 +1227558,7 @@ "properties": { "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).\"", + "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": { @@ -1219063,7 +1227626,7 @@ }, "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).\"", + "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": { @@ -1220538,11 +1229101,11 @@ }, "pull-request-assigned": { "post": { - "summary": "This event occurs when there is activity on a pull request. For more information, see \"[About pull requests](https://docs.github.com/enterprise-cloud@latest//pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests).\" For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#pullrequest) or \"[Pulls](https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls)\" in the REST API documentation.\n\nFor activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Pull requests\" repository permission.", + "summary": "This event occurs when there is activity on a pull request. For more information, see \"[About pull requests](https://docs.github.com/enterprise-cloud@latest/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests).\" For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest/graphql/reference/objects#pullrequest) or \"[Pulls](https://docs.github.com/enterprise-cloud@latest/rest/pulls/pulls)\" in the REST API documentation.\n\nFor activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Pull requests\" repository permission.", "description": "A pull request was assigned to a user.", "operationId": "pull-request/assigned", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#pull_request" + "url": "https://docs.github.com/enterprise-cloud@latest/webhooks/webhook-events-and-payloads#pull_request" }, "parameters": [ { @@ -1220714,7 +1229277,7 @@ }, "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).\"", + "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": { @@ -1220782,7 +1229345,7 @@ }, "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).\"", + "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": { @@ -1225246,11 +1233809,11 @@ }, "pull-request-auto-merge-disabled": { "post": { - "summary": "This event occurs when there is activity on a pull request. For more information, see \"[About pull requests](https://docs.github.com/enterprise-cloud@latest//pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests).\" For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#pullrequest) or \"[Pulls](https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls)\" in the REST API documentation.\n\nFor activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Pull requests\" repository permission.", - "description": "Auto merge was disabled for a pull request. For more information, see \"[Automatically merging a pull request](https://docs.github.com/enterprise-cloud@latest//pull-requests/collaborating-with-pull-requests/incorporating-changes-from-a-pull-request/automatically-merging-a-pull-request).\"", + "summary": "This event occurs when there is activity on a pull request. For more information, see \"[About pull requests](https://docs.github.com/enterprise-cloud@latest/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests).\" For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest/graphql/reference/objects#pullrequest) or \"[Pulls](https://docs.github.com/enterprise-cloud@latest/rest/pulls/pulls)\" in the REST API documentation.\n\nFor activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Pull requests\" repository permission.", + "description": "Auto merge was disabled for a pull request. For more information, see \"[Automatically merging a pull request](https://docs.github.com/enterprise-cloud@latest/pull-requests/collaborating-with-pull-requests/incorporating-changes-from-a-pull-request/automatically-merging-a-pull-request).\"", "operationId": "pull-request/auto-merge-disabled", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#pull_request" + "url": "https://docs.github.com/enterprise-cloud@latest/webhooks/webhook-events-and-payloads#pull_request" }, "parameters": [ { @@ -1225326,7 +1233889,7 @@ }, "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).\"", + "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": { @@ -1225394,7 +1233957,7 @@ }, "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).\"", + "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": { @@ -1229852,11 +1238415,11 @@ }, "pull-request-auto-merge-enabled": { "post": { - "summary": "This event occurs when there is activity on a pull request. For more information, see \"[About pull requests](https://docs.github.com/enterprise-cloud@latest//pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests).\" For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#pullrequest) or \"[Pulls](https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls)\" in the REST API documentation.\n\nFor activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Pull requests\" repository permission.", - "description": "Auto merge was enabled for a pull request. For more information, see \"[Automatically merging a pull request](https://docs.github.com/enterprise-cloud@latest//pull-requests/collaborating-with-pull-requests/incorporating-changes-from-a-pull-request/automatically-merging-a-pull-request).\"", + "summary": "This event occurs when there is activity on a pull request. For more information, see \"[About pull requests](https://docs.github.com/enterprise-cloud@latest/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests).\" For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest/graphql/reference/objects#pullrequest) or \"[Pulls](https://docs.github.com/enterprise-cloud@latest/rest/pulls/pulls)\" in the REST API documentation.\n\nFor activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Pull requests\" repository permission.", + "description": "Auto merge was enabled for a pull request. For more information, see \"[Automatically merging a pull request](https://docs.github.com/enterprise-cloud@latest/pull-requests/collaborating-with-pull-requests/incorporating-changes-from-a-pull-request/automatically-merging-a-pull-request).\"", "operationId": "pull-request/auto-merge-enabled", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#pull_request" + "url": "https://docs.github.com/enterprise-cloud@latest/webhooks/webhook-events-and-payloads#pull_request" }, "parameters": [ { @@ -1229932,7 +1238495,7 @@ }, "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).\"", + "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": { @@ -1230000,7 +1238563,7 @@ }, "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).\"", + "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": { @@ -1234457,11 +1243020,11 @@ }, "pull-request-closed": { "post": { - "summary": "This event occurs when there is activity on a pull request. For more information, see \"[About pull requests](https://docs.github.com/enterprise-cloud@latest//pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests).\" For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#pullrequest) or \"[Pulls](https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls)\" in the REST API documentation.\n\nFor activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Pull requests\" repository permission.", + "summary": "This event occurs when there is activity on a pull request. For more information, see \"[About pull requests](https://docs.github.com/enterprise-cloud@latest/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests).\" For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest/graphql/reference/objects#pullrequest) or \"[Pulls](https://docs.github.com/enterprise-cloud@latest/rest/pulls/pulls)\" in the REST API documentation.\n\nFor activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Pull requests\" repository permission.", "description": "A pull request was closed. If `merged` is false in the webhook payload, the pull request was closed with unmerged commits. If `merged` is true in the webhook payload, the pull request was merged.", "operationId": "pull-request/closed", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#pull_request" + "url": "https://docs.github.com/enterprise-cloud@latest/webhooks/webhook-events-and-payloads#pull_request" }, "parameters": [ { @@ -1234537,7 +1243100,7 @@ }, "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).\"", + "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": { @@ -1234605,7 +1243168,7 @@ }, "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).\"", + "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": { @@ -1239439,11 +1248002,11 @@ }, "pull-request-converted-to-draft": { "post": { - "summary": "This event occurs when there is activity on a pull request. For more information, see \"[About pull requests](https://docs.github.com/enterprise-cloud@latest//pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests).\" For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#pullrequest) or \"[Pulls](https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls)\" in the REST API documentation.\n\nFor activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Pull requests\" repository permission.", - "description": "A pull request was converted to a draft. For more information, see \"[Changing the stage of a pull request](https://docs.github.com/enterprise-cloud@latest//pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/changing-the-stage-of-a-pull-request).\"", + "summary": "This event occurs when there is activity on a pull request. For more information, see \"[About pull requests](https://docs.github.com/enterprise-cloud@latest/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests).\" For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest/graphql/reference/objects#pullrequest) or \"[Pulls](https://docs.github.com/enterprise-cloud@latest/rest/pulls/pulls)\" in the REST API documentation.\n\nFor activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Pull requests\" repository permission.", + "description": "A pull request was converted to a draft. For more information, see \"[Changing the stage of a pull request](https://docs.github.com/enterprise-cloud@latest/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/changing-the-stage-of-a-pull-request).\"", "operationId": "pull-request/converted-to-draft", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#pull_request" + "url": "https://docs.github.com/enterprise-cloud@latest/webhooks/webhook-events-and-payloads#pull_request" }, "parameters": [ { @@ -1239519,7 +1248082,7 @@ }, "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).\"", + "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": { @@ -1239587,7 +1248150,7 @@ }, "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).\"", + "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": { @@ -1244421,11 +1252984,11 @@ }, "pull-request-demilestoned": { "post": { - "summary": "This event occurs when there is activity on a pull request. For more information, see \"[About pull requests](https://docs.github.com/enterprise-cloud@latest//pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests).\" For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#pullrequest) or \"[Pulls](https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls)\" in the REST API documentation.\n\nFor activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Pull requests\" repository permission.", + "summary": "This event occurs when there is activity on a pull request. For more information, see \"[About pull requests](https://docs.github.com/enterprise-cloud@latest/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests).\" For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest/graphql/reference/objects#pullrequest) or \"[Pulls](https://docs.github.com/enterprise-cloud@latest/rest/pulls/pulls)\" in the REST API documentation.\n\nFor activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Pull requests\" repository permission.", "description": "A pull request was removed from a milestone.", "operationId": "pull-request/demilestoned", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#pull_request" + "url": "https://docs.github.com/enterprise-cloud@latest/webhooks/webhook-events-and-payloads#pull_request" }, "parameters": [ { @@ -1244501,7 +1253064,7 @@ }, "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).\"", + "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": { @@ -1249221,11 +1257784,11 @@ }, "pull-request-dequeued": { "post": { - "summary": "This event occurs when there is activity on a pull request. For more information, see \"[About pull requests](https://docs.github.com/enterprise-cloud@latest//pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests).\" For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#pullrequest) or \"[Pulls](https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls)\" in the REST API documentation.\n\nFor activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Pull requests\" repository permission.", + "summary": "This event occurs when there is activity on a pull request. For more information, see \"[About pull requests](https://docs.github.com/enterprise-cloud@latest/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests).\" For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest/graphql/reference/objects#pullrequest) or \"[Pulls](https://docs.github.com/enterprise-cloud@latest/rest/pulls/pulls)\" in the REST API documentation.\n\nFor activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Pull requests\" repository permission.", "description": "A pull request was removed from the merge queue.", "operationId": "pull-request/dequeued", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#pull_request" + "url": "https://docs.github.com/enterprise-cloud@latest/webhooks/webhook-events-and-payloads#pull_request" }, "parameters": [ { @@ -1249301,7 +1257864,7 @@ }, "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).\"", + "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": { @@ -1249369,7 +1257932,7 @@ }, "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).\"", + "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": { @@ -1253832,11 +1262395,11 @@ }, "pull-request-edited": { "post": { - "summary": "This event occurs when there is activity on a pull request. For more information, see \"[About pull requests](https://docs.github.com/enterprise-cloud@latest//pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests).\" For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#pullrequest) or \"[Pulls](https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls)\" in the REST API documentation.\n\nFor activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Pull requests\" repository permission.", + "summary": "This event occurs when there is activity on a pull request. For more information, see \"[About pull requests](https://docs.github.com/enterprise-cloud@latest/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests).\" For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest/graphql/reference/objects#pullrequest) or \"[Pulls](https://docs.github.com/enterprise-cloud@latest/rest/pulls/pulls)\" in the REST API documentation.\n\nFor activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Pull requests\" repository permission.", "description": "The title or body of a pull request was edited, or the base branch of a pull request was changed.", "operationId": "pull-request/edited", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#pull_request" + "url": "https://docs.github.com/enterprise-cloud@latest/webhooks/webhook-events-and-payloads#pull_request" }, "parameters": [ { @@ -1253973,7 +1262536,7 @@ }, "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).\"", + "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": { @@ -1254041,7 +1262604,7 @@ }, "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).\"", + "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": { @@ -1258875,11 +1267438,11 @@ }, "pull-request-enqueued": { "post": { - "summary": "This event occurs when there is activity on a pull request. For more information, see \"[About pull requests](https://docs.github.com/enterprise-cloud@latest//pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests).\" For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#pullrequest) or \"[Pulls](https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls)\" in the REST API documentation.\n\nFor activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Pull requests\" repository permission.", + "summary": "This event occurs when there is activity on a pull request. For more information, see \"[About pull requests](https://docs.github.com/enterprise-cloud@latest/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests).\" For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest/graphql/reference/objects#pullrequest) or \"[Pulls](https://docs.github.com/enterprise-cloud@latest/rest/pulls/pulls)\" in the REST API documentation.\n\nFor activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Pull requests\" repository permission.", "description": "A pull request was added to the merge queue.", "operationId": "pull-request/enqueued", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#pull_request" + "url": "https://docs.github.com/enterprise-cloud@latest/webhooks/webhook-events-and-payloads#pull_request" }, "parameters": [ { @@ -1258955,7 +1267518,7 @@ }, "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).\"", + "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": { @@ -1259023,7 +1267586,7 @@ }, "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).\"", + "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": { @@ -1263468,11 +1272031,11 @@ }, "pull-request-labeled": { "post": { - "summary": "This event occurs when there is activity on a pull request. For more information, see \"[About pull requests](https://docs.github.com/enterprise-cloud@latest//pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests).\" For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#pullrequest) or \"[Pulls](https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls)\" in the REST API documentation.\n\nFor activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Pull requests\" repository permission.", + "summary": "This event occurs when there is activity on a pull request. For more information, see \"[About pull requests](https://docs.github.com/enterprise-cloud@latest/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests).\" For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest/graphql/reference/objects#pullrequest) or \"[Pulls](https://docs.github.com/enterprise-cloud@latest/rest/pulls/pulls)\" in the REST API documentation.\n\nFor activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Pull requests\" repository permission.", "description": "A label was added to a pull request.", "operationId": "pull-request/labeled", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#pull_request" + "url": "https://docs.github.com/enterprise-cloud@latest/webhooks/webhook-events-and-payloads#pull_request" }, "parameters": [ { @@ -1263548,7 +1272111,7 @@ }, "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).\"", + "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": { @@ -1263616,7 +1272179,7 @@ }, "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).\"", + "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": { @@ -1268118,11 +1276681,11 @@ }, "pull-request-locked": { "post": { - "summary": "This event occurs when there is activity on a pull request. For more information, see \"[About pull requests](https://docs.github.com/enterprise-cloud@latest//pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests).\" For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#pullrequest) or \"[Pulls](https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls)\" in the REST API documentation.\n\nFor activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Pull requests\" repository permission.", - "description": "Conversation on a pull request was locked. For more information, see \"[Locking conversations](https://docs.github.com/enterprise-cloud@latest//communities/moderating-comments-and-conversations/locking-conversations).\"", + "summary": "This event occurs when there is activity on a pull request. For more information, see \"[About pull requests](https://docs.github.com/enterprise-cloud@latest/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests).\" For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest/graphql/reference/objects#pullrequest) or \"[Pulls](https://docs.github.com/enterprise-cloud@latest/rest/pulls/pulls)\" in the REST API documentation.\n\nFor activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Pull requests\" repository permission.", + "description": "Conversation on a pull request was locked. For more information, see \"[Locking conversations](https://docs.github.com/enterprise-cloud@latest/communities/moderating-comments-and-conversations/locking-conversations).\"", "operationId": "pull-request/locked", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#pull_request" + "url": "https://docs.github.com/enterprise-cloud@latest/webhooks/webhook-events-and-payloads#pull_request" }, "parameters": [ { @@ -1268198,7 +1276761,7 @@ }, "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).\"", + "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": { @@ -1268266,7 +1276829,7 @@ }, "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).\"", + "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": { @@ -1272725,11 +1281288,11 @@ }, "pull-request-milestoned": { "post": { - "summary": "This event occurs when there is activity on a pull request. For more information, see \"[About pull requests](https://docs.github.com/enterprise-cloud@latest//pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests).\" For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#pullrequest) or \"[Pulls](https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls)\" in the REST API documentation.\n\nFor activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Pull requests\" repository permission.", + "summary": "This event occurs when there is activity on a pull request. For more information, see \"[About pull requests](https://docs.github.com/enterprise-cloud@latest/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests).\" For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest/graphql/reference/objects#pullrequest) or \"[Pulls](https://docs.github.com/enterprise-cloud@latest/rest/pulls/pulls)\" in the REST API documentation.\n\nFor activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Pull requests\" repository permission.", "description": "A pull request was added to a milestone.", "operationId": "pull-request/milestoned", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#pull_request" + "url": "https://docs.github.com/enterprise-cloud@latest/webhooks/webhook-events-and-payloads#pull_request" }, "parameters": [ { @@ -1272805,7 +1281368,7 @@ }, "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).\"", + "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": { @@ -1277525,11 +1286088,11 @@ }, "pull-request-opened": { "post": { - "summary": "This event occurs when there is activity on a pull request. For more information, see \"[About pull requests](https://docs.github.com/enterprise-cloud@latest//pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests).\" For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#pullrequest) or \"[Pulls](https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls)\" in the REST API documentation.\n\nFor activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Pull requests\" repository permission.", + "summary": "This event occurs when there is activity on a pull request. For more information, see \"[About pull requests](https://docs.github.com/enterprise-cloud@latest/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests).\" For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest/graphql/reference/objects#pullrequest) or \"[Pulls](https://docs.github.com/enterprise-cloud@latest/rest/pulls/pulls)\" in the REST API documentation.\n\nFor activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Pull requests\" repository permission.", "description": "A pull request was created", "operationId": "pull-request/opened", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#pull_request" + "url": "https://docs.github.com/enterprise-cloud@latest/webhooks/webhook-events-and-payloads#pull_request" }, "parameters": [ { @@ -1277605,7 +1286168,7 @@ }, "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).\"", + "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": { @@ -1277673,7 +1286236,7 @@ }, "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).\"", + "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": { @@ -1282507,11 +1291070,11 @@ }, "pull-request-ready-for-review": { "post": { - "summary": "This event occurs when there is activity on a pull request. For more information, see \"[About pull requests](https://docs.github.com/enterprise-cloud@latest//pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests).\" For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#pullrequest) or \"[Pulls](https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls)\" in the REST API documentation.\n\nFor activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Pull requests\" repository permission.", - "description": "A draft pull request was marked as ready for review. For more information, see \"[Changing the stage of a pull request](https://docs.github.com/enterprise-cloud@latest//pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/changing-the-stage-of-a-pull-request).\"", + "summary": "This event occurs when there is activity on a pull request. For more information, see \"[About pull requests](https://docs.github.com/enterprise-cloud@latest/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests).\" For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest/graphql/reference/objects#pullrequest) or \"[Pulls](https://docs.github.com/enterprise-cloud@latest/rest/pulls/pulls)\" in the REST API documentation.\n\nFor activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Pull requests\" repository permission.", + "description": "A draft pull request was marked as ready for review. For more information, see \"[Changing the stage of a pull request](https://docs.github.com/enterprise-cloud@latest/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/changing-the-stage-of-a-pull-request).\"", "operationId": "pull-request/ready-for-review", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#pull_request" + "url": "https://docs.github.com/enterprise-cloud@latest/webhooks/webhook-events-and-payloads#pull_request" }, "parameters": [ { @@ -1282587,7 +1291150,7 @@ }, "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).\"", + "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": { @@ -1282655,7 +1291218,7 @@ }, "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).\"", + "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": { @@ -1287489,11 +1296052,11 @@ }, "pull-request-reopened": { "post": { - "summary": "This event occurs when there is activity on a pull request. For more information, see \"[About pull requests](https://docs.github.com/enterprise-cloud@latest//pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests).\" For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#pullrequest) or \"[Pulls](https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls)\" in the REST API documentation.\n\nFor activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Pull requests\" repository permission.", + "summary": "This event occurs when there is activity on a pull request. For more information, see \"[About pull requests](https://docs.github.com/enterprise-cloud@latest/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests).\" For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest/graphql/reference/objects#pullrequest) or \"[Pulls](https://docs.github.com/enterprise-cloud@latest/rest/pulls/pulls)\" in the REST API documentation.\n\nFor activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Pull requests\" repository permission.", "description": "A previously closed pull request was reopened.", "operationId": "pull-request/reopened", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#pull_request" + "url": "https://docs.github.com/enterprise-cloud@latest/webhooks/webhook-events-and-payloads#pull_request" }, "parameters": [ { @@ -1287569,7 +1296132,7 @@ }, "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).\"", + "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": { @@ -1287637,7 +1296200,7 @@ }, "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).\"", + "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": { @@ -1292471,11 +1301034,11 @@ }, "pull-request-review-comment-created": { "post": { - "summary": "This event occurs when there is activity relating to a pull request review comment. A pull request review comment is a comment on a pull request's diff. For more information, see \"[Commenting on a pull request](https://docs.github.com/enterprise-cloud@latest//pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/commenting-on-a-pull-request#adding-line-comments-to-a-pull-request).\" For information about the APIs to manage pull request review comments, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#pullrequestreviewcomment) or \"[Pull request review comments](https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments)\" in the REST API documentation.\n\nFor activity related to pull request reviews, pull request comments, or pull request review threads, use the `pull_request_review`, `issue_comment`, or `pull_request_review_thread` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Pull requests\" repository permission.", + "summary": "This event occurs when there is activity relating to a pull request review comment. A pull request review comment is a comment on a pull request's diff. For more information, see \"[Commenting on a pull request](https://docs.github.com/enterprise-cloud@latest/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/commenting-on-a-pull-request#adding-line-comments-to-a-pull-request).\" For information about the APIs to manage pull request review comments, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest/graphql/reference/objects#pullrequestreviewcomment) or \"[Pull request review comments](https://docs.github.com/enterprise-cloud@latest/rest/pulls/comments)\" in the REST API documentation.\n\nFor activity related to pull request reviews, pull request comments, or pull request review threads, use the `pull_request_review`, `issue_comment`, or `pull_request_review_thread` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Pull requests\" repository permission.", "description": "A comment on a pull request diff was created.", "operationId": "pull-request-review-comment/created", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#pull_request_review_comment" + "url": "https://docs.github.com/enterprise-cloud@latest/webhooks/webhook-events-and-payloads#pull_request_review_comment" }, "parameters": [ { @@ -1292551,7 +1301114,7 @@ }, "comment": { "title": "Pull Request Review Comment", - "description": "The [comment](https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments#get-a-review-comment-for-a-pull-request) itself.", + "description": "The [comment](https://docs.github.com/enterprise-cloud@latest/rest/pulls/comments#get-a-review-comment-for-a-pull-request) itself.", "type": "object", "properties": { "_links": { @@ -1292910,7 +1301473,7 @@ }, "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).\"", + "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": { @@ -1292978,7 +1301541,7 @@ }, "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).\"", + "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": { @@ -1297289,11 +1305852,11 @@ }, "pull-request-review-comment-deleted": { "post": { - "summary": "This event occurs when there is activity relating to a pull request review comment. A pull request review comment is a comment on a pull request's diff. For more information, see \"[Commenting on a pull request](https://docs.github.com/enterprise-cloud@latest//pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/commenting-on-a-pull-request#adding-line-comments-to-a-pull-request).\" For information about the APIs to manage pull request review comments, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#pullrequestreviewcomment) or \"[Pull request review comments](https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments)\" in the REST API documentation.\n\nFor activity related to pull request reviews, pull request comments, or pull request review threads, use the `pull_request_review`, `issue_comment`, or `pull_request_review_thread` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Pull requests\" repository permission.", + "summary": "This event occurs when there is activity relating to a pull request review comment. A pull request review comment is a comment on a pull request's diff. For more information, see \"[Commenting on a pull request](https://docs.github.com/enterprise-cloud@latest/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/commenting-on-a-pull-request#adding-line-comments-to-a-pull-request).\" For information about the APIs to manage pull request review comments, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest/graphql/reference/objects#pullrequestreviewcomment) or \"[Pull request review comments](https://docs.github.com/enterprise-cloud@latest/rest/pulls/comments)\" in the REST API documentation.\n\nFor activity related to pull request reviews, pull request comments, or pull request review threads, use the `pull_request_review`, `issue_comment`, or `pull_request_review_thread` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Pull requests\" repository permission.", "description": "A comment on a pull request diff was deleted.", "operationId": "pull-request-review-comment/deleted", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#pull_request_review_comment" + "url": "https://docs.github.com/enterprise-cloud@latest/webhooks/webhook-events-and-payloads#pull_request_review_comment" }, "parameters": [ { @@ -1297369,7 +1305932,7 @@ }, "comment": { "title": "Pull Request Review Comment", - "description": "The [comment](https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments#get-a-review-comment-for-a-pull-request) itself.", + "description": "The [comment](https://docs.github.com/enterprise-cloud@latest/rest/pulls/comments#get-a-review-comment-for-a-pull-request) itself.", "type": "object", "properties": { "_links": { @@ -1297727,7 +1306290,7 @@ }, "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).\"", + "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": { @@ -1297795,7 +1306358,7 @@ }, "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).\"", + "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": { @@ -1302094,11 +1310657,11 @@ }, "pull-request-review-comment-edited": { "post": { - "summary": "This event occurs when there is activity relating to a pull request review comment. A pull request review comment is a comment on a pull request's diff. For more information, see \"[Commenting on a pull request](https://docs.github.com/enterprise-cloud@latest//pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/commenting-on-a-pull-request#adding-line-comments-to-a-pull-request).\" For information about the APIs to manage pull request review comments, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#pullrequestreviewcomment) or \"[Pull request review comments](https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments)\" in the REST API documentation.\n\nFor activity related to pull request reviews, pull request comments, or pull request review threads, use the `pull_request_review`, `issue_comment`, or `pull_request_review_thread` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Pull requests\" repository permission.", + "summary": "This event occurs when there is activity relating to a pull request review comment. A pull request review comment is a comment on a pull request's diff. For more information, see \"[Commenting on a pull request](https://docs.github.com/enterprise-cloud@latest/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/commenting-on-a-pull-request#adding-line-comments-to-a-pull-request).\" For information about the APIs to manage pull request review comments, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest/graphql/reference/objects#pullrequestreviewcomment) or \"[Pull request review comments](https://docs.github.com/enterprise-cloud@latest/rest/pulls/comments)\" in the REST API documentation.\n\nFor activity related to pull request reviews, pull request comments, or pull request review threads, use the `pull_request_review`, `issue_comment`, or `pull_request_review_thread` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Pull requests\" repository permission.", "description": "The content of a comment on a pull request diff was changed.", "operationId": "pull-request-review-comment/edited", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#pull_request_review_comment" + "url": "https://docs.github.com/enterprise-cloud@latest/webhooks/webhook-events-and-payloads#pull_request_review_comment" }, "parameters": [ { @@ -1302192,7 +1310755,7 @@ }, "comment": { "title": "Pull Request Review Comment", - "description": "The [comment](https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments#get-a-review-comment-for-a-pull-request) itself.", + "description": "The [comment](https://docs.github.com/enterprise-cloud@latest/rest/pulls/comments#get-a-review-comment-for-a-pull-request) itself.", "type": "object", "properties": { "_links": { @@ -1302550,7 +1311113,7 @@ }, "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).\"", + "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": { @@ -1302618,7 +1311181,7 @@ }, "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).\"", + "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": { @@ -1306922,11 +1315485,11 @@ }, "pull-request-review-dismissed": { "post": { - "summary": "This event occurs when there is activity relating to a pull request review. A pull request review is a group of pull request review comments in addition to a body comment and a state. For more information, see \"[About pull request reviews](https://docs.github.com/enterprise-cloud@latest//pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/about-pull-request-reviews).\" For information about the APIs to manage pull request reviews, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#pullrequestreview) or \"[Pull request reviews](https://docs.github.com/enterprise-cloud@latest//rest/pulls/reviews)\" in the REST API documentation.\n\nFor activity related to pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Pull requests\" repository permission.", + "summary": "This event occurs when there is activity relating to a pull request review. A pull request review is a group of pull request review comments in addition to a body comment and a state. For more information, see \"[About pull request reviews](https://docs.github.com/enterprise-cloud@latest/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/about-pull-request-reviews).\" For information about the APIs to manage pull request reviews, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest/graphql/reference/objects#pullrequestreview) or \"[Pull request reviews](https://docs.github.com/enterprise-cloud@latest/rest/pulls/reviews)\" in the REST API documentation.\n\nFor activity related to pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Pull requests\" repository permission.", "description": "A review on a pull request was dismissed.", "operationId": "pull-request-review/dismissed", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#pull_request_review" + "url": "https://docs.github.com/enterprise-cloud@latest/webhooks/webhook-events-and-payloads#pull_request_review" }, "parameters": [ { @@ -1307002,7 +1315565,7 @@ }, "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).\"", + "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": { @@ -1307070,7 +1315633,7 @@ }, "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).\"", + "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": { @@ -1311591,11 +1320154,11 @@ }, "pull-request-review-edited": { "post": { - "summary": "This event occurs when there is activity relating to a pull request review. A pull request review is a group of pull request review comments in addition to a body comment and a state. For more information, see \"[About pull request reviews](https://docs.github.com/enterprise-cloud@latest//pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/about-pull-request-reviews).\" For information about the APIs to manage pull request reviews, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#pullrequestreview) or \"[Pull request reviews](https://docs.github.com/enterprise-cloud@latest//rest/pulls/reviews)\" in the REST API documentation.\n\nFor activity related to pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Pull requests\" repository permission.", + "summary": "This event occurs when there is activity relating to a pull request review. A pull request review is a group of pull request review comments in addition to a body comment and a state. For more information, see \"[About pull request reviews](https://docs.github.com/enterprise-cloud@latest/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/about-pull-request-reviews).\" For information about the APIs to manage pull request reviews, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest/graphql/reference/objects#pullrequestreview) or \"[Pull request reviews](https://docs.github.com/enterprise-cloud@latest/rest/pulls/reviews)\" in the REST API documentation.\n\nFor activity related to pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Pull requests\" repository permission.", "description": "The body comment on a pull request review was edited.", "operationId": "pull-request-review/edited", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#pull_request_review" + "url": "https://docs.github.com/enterprise-cloud@latest/webhooks/webhook-events-and-payloads#pull_request_review" }, "parameters": [ { @@ -1311688,7 +1320251,7 @@ }, "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).\"", + "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": { @@ -1311756,7 +1320319,7 @@ }, "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).\"", + "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": { @@ -1316150,11 +1324713,11 @@ }, "pull-request-review-request-removed": { "post": { - "summary": "This event occurs when there is activity on a pull request. For more information, see \"[About pull requests](https://docs.github.com/enterprise-cloud@latest//pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests).\" For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#pullrequest) or \"[Pulls](https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls)\" in the REST API documentation.\n\nFor activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Pull requests\" repository permission.", + "summary": "This event occurs when there is activity on a pull request. For more information, see \"[About pull requests](https://docs.github.com/enterprise-cloud@latest/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests).\" For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest/graphql/reference/objects#pullrequest) or \"[Pulls](https://docs.github.com/enterprise-cloud@latest/rest/pulls/pulls)\" in the REST API documentation.\n\nFor activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Pull requests\" repository permission.", "description": "A request for review by a person or team was removed from a pull request.", "operationId": "pull-request/review-request-removed", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#pull_request" + "url": "https://docs.github.com/enterprise-cloud@latest/webhooks/webhook-events-and-payloads#pull_request" }, "parameters": [ { @@ -1316232,7 +1324795,7 @@ }, "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).\"", + "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": { @@ -1316300,7 +1324863,7 @@ }, "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).\"", + "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": { @@ -1320850,7 +1329413,7 @@ }, "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).\"", + "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": { @@ -1320918,7 +1329481,7 @@ }, "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).\"", + "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": { @@ -1325524,11 +1334087,11 @@ }, "pull-request-review-requested": { "post": { - "summary": "This event occurs when there is activity on a pull request. For more information, see \"[About pull requests](https://docs.github.com/enterprise-cloud@latest//pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests).\" For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#pullrequest) or \"[Pulls](https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls)\" in the REST API documentation.\n\nFor activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Pull requests\" repository permission.", - "description": "Review by a person or team was requested for a pull request. For more information, see \"[Requesting a pull request review](https://docs.github.com/enterprise-cloud@latest//pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/requesting-a-pull-request-review).\"", + "summary": "This event occurs when there is activity on a pull request. For more information, see \"[About pull requests](https://docs.github.com/enterprise-cloud@latest/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests).\" For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest/graphql/reference/objects#pullrequest) or \"[Pulls](https://docs.github.com/enterprise-cloud@latest/rest/pulls/pulls)\" in the REST API documentation.\n\nFor activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Pull requests\" repository permission.", + "description": "Review by a person or team was requested for a pull request. For more information, see \"[Requesting a pull request review](https://docs.github.com/enterprise-cloud@latest/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/requesting-a-pull-request-review).\"", "operationId": "pull-request/review-requested", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#pull_request" + "url": "https://docs.github.com/enterprise-cloud@latest/webhooks/webhook-events-and-payloads#pull_request" }, "parameters": [ { @@ -1325606,7 +1334169,7 @@ }, "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).\"", + "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": { @@ -1325674,7 +1334237,7 @@ }, "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).\"", + "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": { @@ -1330220,7 +1338783,7 @@ }, "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).\"", + "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": { @@ -1330288,7 +1338851,7 @@ }, "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).\"", + "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": { @@ -1334871,11 +1343434,11 @@ }, "pull-request-review-submitted": { "post": { - "summary": "This event occurs when there is activity relating to a pull request review. A pull request review is a group of pull request review comments in addition to a body comment and a state. For more information, see \"[About pull request reviews](https://docs.github.com/enterprise-cloud@latest//pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/about-pull-request-reviews).\" For information about the APIs to manage pull request reviews, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#pullrequestreview) or \"[Pull request reviews](https://docs.github.com/enterprise-cloud@latest//rest/pulls/reviews)\" in the REST API documentation.\n\nFor activity related to pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Pull requests\" repository permission.", + "summary": "This event occurs when there is activity relating to a pull request review. A pull request review is a group of pull request review comments in addition to a body comment and a state. For more information, see \"[About pull request reviews](https://docs.github.com/enterprise-cloud@latest/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/about-pull-request-reviews).\" For information about the APIs to manage pull request reviews, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest/graphql/reference/objects#pullrequestreview) or \"[Pull request reviews](https://docs.github.com/enterprise-cloud@latest/rest/pulls/reviews)\" in the REST API documentation.\n\nFor activity related to pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Pull requests\" repository permission.", "description": "A review on a pull request was submitted.", "operationId": "pull-request-review/submitted", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#pull_request_review" + "url": "https://docs.github.com/enterprise-cloud@latest/webhooks/webhook-events-and-payloads#pull_request_review" }, "parameters": [ { @@ -1334951,7 +1343514,7 @@ }, "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).\"", + "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": { @@ -1335019,7 +1343582,7 @@ }, "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).\"", + "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": { @@ -1339537,11 +1348100,11 @@ }, "pull-request-review-thread-resolved": { "post": { - "summary": "This event occurs when there is activity relating to a comment thread on a pull request. For more information, see \"[About pull request reviews](https://docs.github.com/enterprise-cloud@latest//pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/about-pull-request-reviews).\" For information about the APIs to manage pull request reviews, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#pullrequestreviewthread) or \"[Pull request review comments](https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments)\" in the REST API documentation.\n\nFor activity related to pull request review comments, pull request comments, or pull request reviews, use the `pull_request_review_comment`, `issue_comment`, or `pull_request_review` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Pull requests\" repository permission.", + "summary": "This event occurs when there is activity relating to a comment thread on a pull request. For more information, see \"[About pull request reviews](https://docs.github.com/enterprise-cloud@latest/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/about-pull-request-reviews).\" For information about the APIs to manage pull request reviews, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest/graphql/reference/objects#pullrequestreviewthread) or \"[Pull request review comments](https://docs.github.com/enterprise-cloud@latest/rest/pulls/comments)\" in the REST API documentation.\n\nFor activity related to pull request review comments, pull request comments, or pull request reviews, use the `pull_request_review_comment`, `issue_comment`, or `pull_request_review` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Pull requests\" repository permission.", "description": "A comment thread on a pull request was marked as resolved.", "operationId": "pull-request-review-thread/resolved", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#pull_request_review_thread" + "url": "https://docs.github.com/enterprise-cloud@latest/webhooks/webhook-events-and-payloads#pull_request_review_thread" }, "parameters": [ { @@ -1339617,7 +1348180,7 @@ }, "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).\"", + "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": { @@ -1339685,7 +1348248,7 @@ }, "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).\"", + "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": { @@ -1343896,7 +1352459,7 @@ "type": "array", "items": { "title": "Pull Request Review Comment", - "description": "The [comment](https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments#get-a-review-comment-for-a-pull-request) itself.", + "description": "The [comment](https://docs.github.com/enterprise-cloud@latest/rest/pulls/comments#get-a-review-comment-for-a-pull-request) itself.", "type": "object", "properties": { "_links": { @@ -1344299,11 +1352862,11 @@ }, "pull-request-review-thread-unresolved": { "post": { - "summary": "This event occurs when there is activity relating to a comment thread on a pull request. For more information, see \"[About pull request reviews](https://docs.github.com/enterprise-cloud@latest//pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/about-pull-request-reviews).\" For information about the APIs to manage pull request reviews, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#pullrequestreviewthread) or \"[Pull request review comments](https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments)\" in the REST API documentation.\n\nFor activity related to pull request review comments, pull request comments, or pull request reviews, use the `pull_request_review_comment`, `issue_comment`, or `pull_request_review` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Pull requests\" repository permission.", + "summary": "This event occurs when there is activity relating to a comment thread on a pull request. For more information, see \"[About pull request reviews](https://docs.github.com/enterprise-cloud@latest/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/about-pull-request-reviews).\" For information about the APIs to manage pull request reviews, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest/graphql/reference/objects#pullrequestreviewthread) or \"[Pull request review comments](https://docs.github.com/enterprise-cloud@latest/rest/pulls/comments)\" in the REST API documentation.\n\nFor activity related to pull request review comments, pull request comments, or pull request reviews, use the `pull_request_review_comment`, `issue_comment`, or `pull_request_review` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Pull requests\" repository permission.", "description": "A previously resolved comment thread on a pull request was marked as unresolved.", "operationId": "pull-request-review-thread/unresolved", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#pull_request_review_thread" + "url": "https://docs.github.com/enterprise-cloud@latest/webhooks/webhook-events-and-payloads#pull_request_review_thread" }, "parameters": [ { @@ -1344379,7 +1352942,7 @@ }, "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).\"", + "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": { @@ -1344447,7 +1353010,7 @@ }, "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).\"", + "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": { @@ -1348644,7 +1357207,7 @@ "type": "array", "items": { "title": "Pull Request Review Comment", - "description": "The [comment](https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments#get-a-review-comment-for-a-pull-request) itself.", + "description": "The [comment](https://docs.github.com/enterprise-cloud@latest/rest/pulls/comments#get-a-review-comment-for-a-pull-request) itself.", "type": "object", "properties": { "_links": { @@ -1349045,11 +1357608,11 @@ }, "pull-request-synchronize": { "post": { - "summary": "This event occurs when there is activity on a pull request. For more information, see \"[About pull requests](https://docs.github.com/enterprise-cloud@latest//pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests).\" For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#pullrequest) or \"[Pulls](https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls)\" in the REST API documentation.\n\nFor activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Pull requests\" repository permission.", + "summary": "This event occurs when there is activity on a pull request. For more information, see \"[About pull requests](https://docs.github.com/enterprise-cloud@latest/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests).\" For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest/graphql/reference/objects#pullrequest) or \"[Pulls](https://docs.github.com/enterprise-cloud@latest/rest/pulls/pulls)\" in the REST API documentation.\n\nFor activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Pull requests\" repository permission.", "description": "A pull request's head branch was updated. For example, the head branch was updated from the base branch or new commits were pushed to the head branch.", "operationId": "pull-request/synchronize", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#pull_request" + "url": "https://docs.github.com/enterprise-cloud@latest/webhooks/webhook-events-and-payloads#pull_request" }, "parameters": [ { @@ -1349131,7 +1357694,7 @@ }, "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).\"", + "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": { @@ -1349199,7 +1357762,7 @@ }, "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).\"", + "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": { @@ -1353659,11 +1362222,11 @@ }, "pull-request-unassigned": { "post": { - "summary": "This event occurs when there is activity on a pull request. For more information, see \"[About pull requests](https://docs.github.com/enterprise-cloud@latest//pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests).\" For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#pullrequest) or \"[Pulls](https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls)\" in the REST API documentation.\n\nFor activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Pull requests\" repository permission.", + "summary": "This event occurs when there is activity on a pull request. For more information, see \"[About pull requests](https://docs.github.com/enterprise-cloud@latest/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests).\" For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest/graphql/reference/objects#pullrequest) or \"[Pulls](https://docs.github.com/enterprise-cloud@latest/rest/pulls/pulls)\" in the REST API documentation.\n\nFor activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Pull requests\" repository permission.", "description": "A user was unassigned from a pull request.", "operationId": "pull-request/unassigned", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#pull_request" + "url": "https://docs.github.com/enterprise-cloud@latest/webhooks/webhook-events-and-payloads#pull_request" }, "parameters": [ { @@ -1353835,7 +1362398,7 @@ }, "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).\"", + "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": { @@ -1353903,7 +1362466,7 @@ }, "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).\"", + "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": { @@ -1358364,11 +1366927,11 @@ }, "pull-request-unlabeled": { "post": { - "summary": "This event occurs when there is activity on a pull request. For more information, see \"[About pull requests](https://docs.github.com/enterprise-cloud@latest//pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests).\" For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#pullrequest) or \"[Pulls](https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls)\" in the REST API documentation.\n\nFor activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Pull requests\" repository permission.", + "summary": "This event occurs when there is activity on a pull request. For more information, see \"[About pull requests](https://docs.github.com/enterprise-cloud@latest/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests).\" For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest/graphql/reference/objects#pullrequest) or \"[Pulls](https://docs.github.com/enterprise-cloud@latest/rest/pulls/pulls)\" in the REST API documentation.\n\nFor activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Pull requests\" repository permission.", "description": "A label was removed from a pull request.", "operationId": "pull-request/unlabeled", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#pull_request" + "url": "https://docs.github.com/enterprise-cloud@latest/webhooks/webhook-events-and-payloads#pull_request" }, "parameters": [ { @@ -1358444,7 +1367007,7 @@ }, "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).\"", + "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": { @@ -1358512,7 +1367075,7 @@ }, "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).\"", + "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": { @@ -1363013,11 +1371576,11 @@ }, "pull-request-unlocked": { "post": { - "summary": "This event occurs when there is activity on a pull request. For more information, see \"[About pull requests](https://docs.github.com/enterprise-cloud@latest//pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests).\" For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#pullrequest) or \"[Pulls](https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls)\" in the REST API documentation.\n\nFor activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Pull requests\" repository permission.", - "description": "Conversation on a pull request was unlocked. For more information, see \"[Locking conversations](https://docs.github.com/enterprise-cloud@latest//communities/moderating-comments-and-conversations/locking-conversations).\"", + "summary": "This event occurs when there is activity on a pull request. For more information, see \"[About pull requests](https://docs.github.com/enterprise-cloud@latest/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests).\" For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest/graphql/reference/objects#pullrequest) or \"[Pulls](https://docs.github.com/enterprise-cloud@latest/rest/pulls/pulls)\" in the REST API documentation.\n\nFor activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Pull requests\" repository permission.", + "description": "Conversation on a pull request was unlocked. For more information, see \"[Locking conversations](https://docs.github.com/enterprise-cloud@latest/communities/moderating-comments-and-conversations/locking-conversations).\"", "operationId": "pull-request/unlocked", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#pull_request" + "url": "https://docs.github.com/enterprise-cloud@latest/webhooks/webhook-events-and-payloads#pull_request" }, "parameters": [ { @@ -1363093,7 +1371656,7 @@ }, "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).\"", + "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": { @@ -1363161,7 +1371724,7 @@ }, "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).\"", + "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": { @@ -1367608,7 +1376171,7 @@ "summary": "This event occurs when there is a push to a repository branch. This includes when a commit is pushed, when a commit tag is pushed,\nwhen a branch is deleted, when a tag is deleted, or when a repository is created from a template. To subscribe to only branch\nand tag deletions, use the [`delete`](#delete) webhook event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Contents\" repository permission.\n\n> [!NOTE]\n> Events will not be created if more than 5000 branches are pushed at once. Events will not be created for tags when more than three tags are pushed at once.", "operationId": "push", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#push" + "url": "https://docs.github.com/enterprise-cloud@latest/webhooks/webhook-events-and-payloads#push" }, "parameters": [ { @@ -1367689,7 +1376252,7 @@ "type": "string" }, "commits": { - "description": "An array of commit objects describing the pushed commits. (Pushed commits are all commits that are included in the `compare` between the `before` commit and the `after` commit.) The array includes a maximum of 2048 commits. If necessary, you can use the [Commits API](https://docs.github.com/enterprise-cloud@latest//rest/commits) to fetch additional commits.", + "description": "An array of commit objects describing the pushed commits. (Pushed commits are all commits that are included in the `compare` between the `before` commit and the `after` commit.) The array includes a maximum of 2048 commits. If necessary, you can use the [Commits API](https://docs.github.com/enterprise-cloud@latest/rest/commits) to fetch additional commits.", "type": "array", "items": { "title": "Commit", @@ -1367821,7 +1376384,7 @@ }, "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).\"", + "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": { @@ -1368009,7 +1376572,7 @@ }, "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).\"", + "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": { @@ -1368913,11 +1377476,11 @@ }, "registry-package-published": { "post": { - "summary": "This event occurs when there is activity relating to GitHub Packages. For more information, see \"[Introduction to GitHub Packages](https://docs.github.com/enterprise-cloud@latest//packages/learn-github-packages/introduction-to-github-packages).\" For information about the APIs to manage GitHub Packages, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#package) or \"[Packages](https://docs.github.com/enterprise-cloud@latest//rest/packages)\" in the REST API documentation.\n\nTo install this event on a GitHub App, the app must have at least read-level access for the \"Packages\" repository permission.\n\n> [!NOTE]\n> GitHub recommends that you use the newer `package` event instead.", + "summary": "This event occurs when there is activity relating to GitHub Packages. For more information, see \"[Introduction to GitHub Packages](https://docs.github.com/enterprise-cloud@latest/packages/learn-github-packages/introduction-to-github-packages).\" For information about the APIs to manage GitHub Packages, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest/graphql/reference/objects#package) or \"[Packages](https://docs.github.com/enterprise-cloud@latest/rest/packages)\" in the REST API documentation.\n\nTo install this event on a GitHub App, the app must have at least read-level access for the \"Packages\" repository permission.\n\n> [!NOTE]\n> GitHub recommends that you use the newer `package` event instead.", "description": "A package was published to a registry.", "operationId": "registry-package/published", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#registry_package" + "url": "https://docs.github.com/enterprise-cloud@latest/webhooks/webhook-events-and-payloads#registry_package" }, "parameters": [ { @@ -1368992,7 +1377555,7 @@ }, "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).\"", + "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": { @@ -1369060,7 +1377623,7 @@ }, "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).\"", + "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": { @@ -1371334,11 +1379897,11 @@ }, "registry-package-updated": { "post": { - "summary": "This event occurs when there is activity relating to GitHub Packages. For more information, see \"[Introduction to GitHub Packages](https://docs.github.com/enterprise-cloud@latest//packages/learn-github-packages/introduction-to-github-packages).\" For information about the APIs to manage GitHub Packages, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#package) or \"[Packages](https://docs.github.com/enterprise-cloud@latest//rest/packages)\" in the REST API documentation.\n\nTo install this event on a GitHub App, the app must have at least read-level access for the \"Packages\" repository permission.\n\n> [!NOTE]\n> GitHub recommends that you use the newer `package` event instead.", + "summary": "This event occurs when there is activity relating to GitHub Packages. For more information, see \"[Introduction to GitHub Packages](https://docs.github.com/enterprise-cloud@latest/packages/learn-github-packages/introduction-to-github-packages).\" For information about the APIs to manage GitHub Packages, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest/graphql/reference/objects#package) or \"[Packages](https://docs.github.com/enterprise-cloud@latest/rest/packages)\" in the REST API documentation.\n\nTo install this event on a GitHub App, the app must have at least read-level access for the \"Packages\" repository permission.\n\n> [!NOTE]\n> GitHub recommends that you use the newer `package` event instead.", "description": "A package that was previously published to a registry was updated.", "operationId": "registry-package/updated", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#registry_package" + "url": "https://docs.github.com/enterprise-cloud@latest/webhooks/webhook-events-and-payloads#registry_package" }, "parameters": [ { @@ -1371413,7 +1379976,7 @@ }, "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).\"", + "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": { @@ -1371481,7 +1380044,7 @@ }, "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).\"", + "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": { @@ -1373497,11 +1382060,11 @@ }, "release-created": { "post": { - "summary": "This event occurs when there is activity relating to releases. For more information, see \"[About releases](https://docs.github.com/enterprise-cloud@latest//repositories/releasing-projects-on-github/about-releases).\" For information about the APIs to manage releases, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#release) or \"[Releases](https://docs.github.com/enterprise-cloud@latest//rest/releases)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Contents\" repository permission.", + "summary": "This event occurs when there is activity relating to releases. For more information, see \"[About releases](https://docs.github.com/enterprise-cloud@latest/repositories/releasing-projects-on-github/about-releases).\" For information about the APIs to manage releases, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest/graphql/reference/objects#release) or \"[Releases](https://docs.github.com/enterprise-cloud@latest/rest/releases)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Contents\" repository permission.", "description": "A draft was saved, or a release or pre-release was published without previously being saved as a draft.", "operationId": "release/created", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#release" + "url": "https://docs.github.com/enterprise-cloud@latest/webhooks/webhook-events-and-payloads#release" }, "parameters": [ { @@ -1373577,7 +1382140,7 @@ }, "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).\"", + "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": { @@ -1373645,7 +1382208,7 @@ }, "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).\"", + "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": { @@ -1373739,7 +1382302,7 @@ }, "release": { "title": "Release", - "description": "The [release](https://docs.github.com/enterprise-cloud@latest//rest/releases/releases/#get-a-release) object.", + "description": "The [release](https://docs.github.com/enterprise-cloud@latest/rest/releases/releases/#get-a-release) object.", "type": "object", "properties": { "assets": { @@ -1375541,11 +1384104,11 @@ }, "release-deleted": { "post": { - "summary": "This event occurs when there is activity relating to releases. For more information, see \"[About releases](https://docs.github.com/enterprise-cloud@latest//repositories/releasing-projects-on-github/about-releases).\" For information about the APIs to manage releases, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#release) or \"[Releases](https://docs.github.com/enterprise-cloud@latest//rest/releases)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Contents\" repository permission.", + "summary": "This event occurs when there is activity relating to releases. For more information, see \"[About releases](https://docs.github.com/enterprise-cloud@latest/repositories/releasing-projects-on-github/about-releases).\" For information about the APIs to manage releases, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest/graphql/reference/objects#release) or \"[Releases](https://docs.github.com/enterprise-cloud@latest/rest/releases)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Contents\" repository permission.", "description": "A release, pre-release, or draft release was deleted.", "operationId": "release/deleted", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#release" + "url": "https://docs.github.com/enterprise-cloud@latest/webhooks/webhook-events-and-payloads#release" }, "parameters": [ { @@ -1375621,7 +1384184,7 @@ }, "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).\"", + "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": { @@ -1375689,7 +1384252,7 @@ }, "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).\"", + "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": { @@ -1375783,7 +1384346,7 @@ }, "release": { "title": "Release", - "description": "The [release](https://docs.github.com/enterprise-cloud@latest//rest/releases/releases/#get-a-release) object.", + "description": "The [release](https://docs.github.com/enterprise-cloud@latest/rest/releases/releases/#get-a-release) object.", "type": "object", "properties": { "assets": { @@ -1377585,11 +1386148,11 @@ }, "release-edited": { "post": { - "summary": "This event occurs when there is activity relating to releases. For more information, see \"[About releases](https://docs.github.com/enterprise-cloud@latest//repositories/releasing-projects-on-github/about-releases).\" For information about the APIs to manage releases, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#release) or \"[Releases](https://docs.github.com/enterprise-cloud@latest//rest/releases)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Contents\" repository permission.", - "description": "The details of a release, pre-release, or draft release were edited. For more information, see \"[Managing releases in a repository](https://docs.github.com/enterprise-cloud@latest//repositories/releasing-projects-on-github/managing-releases-in-a-repository#editing-a-release).\"", + "summary": "This event occurs when there is activity relating to releases. For more information, see \"[About releases](https://docs.github.com/enterprise-cloud@latest/repositories/releasing-projects-on-github/about-releases).\" For information about the APIs to manage releases, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest/graphql/reference/objects#release) or \"[Releases](https://docs.github.com/enterprise-cloud@latest/rest/releases)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Contents\" repository permission.", + "description": "The details of a release, pre-release, or draft release were edited. For more information, see \"[Managing releases in a repository](https://docs.github.com/enterprise-cloud@latest/repositories/releasing-projects-on-github/managing-releases-in-a-repository#editing-a-release).\"", "operationId": "release/edited", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#release" + "url": "https://docs.github.com/enterprise-cloud@latest/webhooks/webhook-events-and-payloads#release" }, "parameters": [ { @@ -1377718,7 +1386281,7 @@ }, "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).\"", + "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": { @@ -1377786,7 +1386349,7 @@ }, "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).\"", + "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": { @@ -1377880,7 +1386443,7 @@ }, "release": { "title": "Release", - "description": "The [release](https://docs.github.com/enterprise-cloud@latest//rest/releases/releases/#get-a-release) object.", + "description": "The [release](https://docs.github.com/enterprise-cloud@latest/rest/releases/releases/#get-a-release) object.", "type": "object", "properties": { "assets": { @@ -1379682,11 +1388245,11 @@ }, "release-prereleased": { "post": { - "summary": "This event occurs when there is activity relating to releases. For more information, see \"[About releases](https://docs.github.com/enterprise-cloud@latest//repositories/releasing-projects-on-github/about-releases).\" For information about the APIs to manage releases, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#release) or \"[Releases](https://docs.github.com/enterprise-cloud@latest//rest/releases)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Contents\" repository permission.", + "summary": "This event occurs when there is activity relating to releases. For more information, see \"[About releases](https://docs.github.com/enterprise-cloud@latest/repositories/releasing-projects-on-github/about-releases).\" For information about the APIs to manage releases, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest/graphql/reference/objects#release) or \"[Releases](https://docs.github.com/enterprise-cloud@latest/rest/releases)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Contents\" repository permission.", "description": "A release was created and identified as a pre-release. A pre-release is a release that is not ready for production and may be unstable.", "operationId": "release/prereleased", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#release" + "url": "https://docs.github.com/enterprise-cloud@latest/webhooks/webhook-events-and-payloads#release" }, "parameters": [ { @@ -1379762,7 +1388325,7 @@ }, "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).\"", + "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": { @@ -1379830,7 +1388393,7 @@ }, "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).\"", + "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": { @@ -1379924,7 +1388487,7 @@ }, "release": { "title": "Release", - "description": "The [release](https://docs.github.com/enterprise-cloud@latest//rest/releases/releases/#get-a-release) object.", + "description": "The [release](https://docs.github.com/enterprise-cloud@latest/rest/releases/releases/#get-a-release) object.", "type": "object", "required": [ "assets", @@ -1381729,11 +1390292,11 @@ }, "release-published": { "post": { - "summary": "This event occurs when there is activity relating to releases. For more information, see \"[About releases](https://docs.github.com/enterprise-cloud@latest//repositories/releasing-projects-on-github/about-releases).\" For information about the APIs to manage releases, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#release) or \"[Releases](https://docs.github.com/enterprise-cloud@latest//rest/releases)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Contents\" repository permission.", + "summary": "This event occurs when there is activity relating to releases. For more information, see \"[About releases](https://docs.github.com/enterprise-cloud@latest/repositories/releasing-projects-on-github/about-releases).\" For information about the APIs to manage releases, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest/graphql/reference/objects#release) or \"[Releases](https://docs.github.com/enterprise-cloud@latest/rest/releases)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Contents\" repository permission.", "description": "A release, pre-release, or draft of a release was published.", "operationId": "release/published", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#release" + "url": "https://docs.github.com/enterprise-cloud@latest/webhooks/webhook-events-and-payloads#release" }, "parameters": [ { @@ -1381809,7 +1390372,7 @@ }, "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).\"", + "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": { @@ -1381877,7 +1390440,7 @@ }, "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).\"", + "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": { @@ -1381971,7 +1390534,7 @@ }, "release": { "title": "Release", - "description": "The [release](https://docs.github.com/enterprise-cloud@latest//rest/releases/releases/#get-a-release) object.", + "description": "The [release](https://docs.github.com/enterprise-cloud@latest/rest/releases/releases/#get-a-release) object.", "type": "object", "required": [ "assets", @@ -1383773,11 +1392336,11 @@ }, "release-released": { "post": { - "summary": "This event occurs when there is activity relating to releases. For more information, see \"[About releases](https://docs.github.com/enterprise-cloud@latest//repositories/releasing-projects-on-github/about-releases).\" For information about the APIs to manage releases, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#release) or \"[Releases](https://docs.github.com/enterprise-cloud@latest//rest/releases)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Contents\" repository permission.", + "summary": "This event occurs when there is activity relating to releases. For more information, see \"[About releases](https://docs.github.com/enterprise-cloud@latest/repositories/releasing-projects-on-github/about-releases).\" For information about the APIs to manage releases, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest/graphql/reference/objects#release) or \"[Releases](https://docs.github.com/enterprise-cloud@latest/rest/releases)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Contents\" repository permission.", "description": "A release was published, or a pre-release was changed to a release.", "operationId": "release/released", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#release" + "url": "https://docs.github.com/enterprise-cloud@latest/webhooks/webhook-events-and-payloads#release" }, "parameters": [ { @@ -1383853,7 +1392416,7 @@ }, "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).\"", + "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": { @@ -1383921,7 +1392484,7 @@ }, "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).\"", + "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": { @@ -1384015,7 +1392578,7 @@ }, "release": { "title": "Release", - "description": "The [release](https://docs.github.com/enterprise-cloud@latest//rest/releases/releases/#get-a-release) object.", + "description": "The [release](https://docs.github.com/enterprise-cloud@latest/rest/releases/releases/#get-a-release) object.", "type": "object", "properties": { "assets": { @@ -1385816,11 +1394379,11 @@ }, "release-unpublished": { "post": { - "summary": "This event occurs when there is activity relating to releases. For more information, see \"[About releases](https://docs.github.com/enterprise-cloud@latest//repositories/releasing-projects-on-github/about-releases).\" For information about the APIs to manage releases, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#release) or \"[Releases](https://docs.github.com/enterprise-cloud@latest//rest/releases)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Contents\" repository permission.", + "summary": "This event occurs when there is activity relating to releases. For more information, see \"[About releases](https://docs.github.com/enterprise-cloud@latest/repositories/releasing-projects-on-github/about-releases).\" For information about the APIs to manage releases, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest/graphql/reference/objects#release) or \"[Releases](https://docs.github.com/enterprise-cloud@latest/rest/releases)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Contents\" repository permission.", "description": "A release or pre-release was unpublished.", "operationId": "release/unpublished", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#release" + "url": "https://docs.github.com/enterprise-cloud@latest/webhooks/webhook-events-and-payloads#release" }, "parameters": [ { @@ -1385896,7 +1394459,7 @@ }, "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).\"", + "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": { @@ -1385964,7 +1394527,7 @@ }, "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).\"", + "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": { @@ -1386058,7 +1394621,7 @@ }, "release": { "title": "Release", - "description": "The [release](https://docs.github.com/enterprise-cloud@latest//rest/releases/releases/#get-a-release) object.", + "description": "The [release](https://docs.github.com/enterprise-cloud@latest/rest/releases/releases/#get-a-release) object.", "type": "object", "required": [ "assets", @@ -1387860,11 +1396423,11 @@ }, "repository-advisory-published": { "post": { - "summary": "This event occurs when there is activity relating to a repository security advisory. For more information about repository security advisories, see \"[About GitHub Security Advisories for repositories](https://docs.github.com/enterprise-cloud@latest//code-security/repository-security-advisories/about-github-security-advisories-for-repositories).\"\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Repository security advisories\" permission.", + "summary": "This event occurs when there is activity relating to a repository security advisory. For more information about repository security advisories, see \"[About GitHub Security Advisories for repositories](https://docs.github.com/enterprise-cloud@latest/code-security/repository-security-advisories/about-github-security-advisories-for-repositories).\"\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Repository security advisories\" permission.", "description": "A repository security advisory was published.", "operationId": "repository-advisory/published", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#repository_advisory" + "url": "https://docs.github.com/enterprise-cloud@latest/webhooks/webhook-events-and-payloads#repository_advisory" }, "parameters": [ { @@ -1387940,7 +1396503,7 @@ }, "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).\"", + "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": { @@ -1388008,7 +1396571,7 @@ }, "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).\"", + "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": { @@ -1391052,11 +1399615,11 @@ }, "repository-advisory-reported": { "post": { - "summary": "This event occurs when there is activity relating to a repository security advisory. For more information about repository security advisories, see \"[About GitHub Security Advisories for repositories](https://docs.github.com/enterprise-cloud@latest//code-security/repository-security-advisories/about-github-security-advisories-for-repositories).\"\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Repository security advisories\" permission.", + "summary": "This event occurs when there is activity relating to a repository security advisory. For more information about repository security advisories, see \"[About GitHub Security Advisories for repositories](https://docs.github.com/enterprise-cloud@latest/code-security/repository-security-advisories/about-github-security-advisories-for-repositories).\"\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Repository security advisories\" permission.", "description": "A private vulnerability report was submitted.", "operationId": "repository-advisory/reported", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#repository_advisory" + "url": "https://docs.github.com/enterprise-cloud@latest/webhooks/webhook-events-and-payloads#repository_advisory" }, "parameters": [ { @@ -1391132,7 +1399695,7 @@ }, "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).\"", + "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": { @@ -1391200,7 +1399763,7 @@ }, "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).\"", + "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": { @@ -1394244,11 +1402807,11 @@ }, "repository-archived": { "post": { - "summary": "This event occurs when there is activity relating to repositories. For more information, see \"[About repositories](https://docs.github.com/enterprise-cloud@latest//repositories/creating-and-managing-repositories/about-repositories).\" For information about the APIs to manage repositories, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#repository) or \"[Repositories](https://docs.github.com/enterprise-cloud@latest//rest/repos)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Metadata\" repository permission.", + "summary": "This event occurs when there is activity relating to repositories. For more information, see \"[About repositories](https://docs.github.com/enterprise-cloud@latest/repositories/creating-and-managing-repositories/about-repositories).\" For information about the APIs to manage repositories, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest/graphql/reference/objects#repository) or \"[Repositories](https://docs.github.com/enterprise-cloud@latest/rest/repos)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Metadata\" repository permission.", "description": "A repository was archived.", "operationId": "repository/archived", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#repository" + "url": "https://docs.github.com/enterprise-cloud@latest/webhooks/webhook-events-and-payloads#repository" }, "parameters": [ { @@ -1394324,7 +1402887,7 @@ }, "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).\"", + "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": { @@ -1394392,7 +1402955,7 @@ }, "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).\"", + "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": { @@ -1395869,11 +1404432,11 @@ }, "repository-created": { "post": { - "summary": "This event occurs when there is activity relating to repositories. For more information, see \"[About repositories](https://docs.github.com/enterprise-cloud@latest//repositories/creating-and-managing-repositories/about-repositories).\" For information about the APIs to manage repositories, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#repository) or \"[Repositories](https://docs.github.com/enterprise-cloud@latest//rest/repos)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Metadata\" repository permission.", + "summary": "This event occurs when there is activity relating to repositories. For more information, see \"[About repositories](https://docs.github.com/enterprise-cloud@latest/repositories/creating-and-managing-repositories/about-repositories).\" For information about the APIs to manage repositories, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest/graphql/reference/objects#repository) or \"[Repositories](https://docs.github.com/enterprise-cloud@latest/rest/repos)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Metadata\" repository permission.", "description": "A repository was created.", "operationId": "repository/created", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#repository" + "url": "https://docs.github.com/enterprise-cloud@latest/webhooks/webhook-events-and-payloads#repository" }, "parameters": [ { @@ -1395949,7 +1404512,7 @@ }, "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).\"", + "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": { @@ -1396017,7 +1404580,7 @@ }, "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).\"", + "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": { @@ -1397494,11 +1406057,11 @@ }, "repository-deleted": { "post": { - "summary": "This event occurs when there is activity relating to repositories. For more information, see \"[About repositories](https://docs.github.com/enterprise-cloud@latest//repositories/creating-and-managing-repositories/about-repositories).\" For information about the APIs to manage repositories, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#repository) or \"[Repositories](https://docs.github.com/enterprise-cloud@latest//rest/repos)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Metadata\" repository permission.", + "summary": "This event occurs when there is activity relating to repositories. For more information, see \"[About repositories](https://docs.github.com/enterprise-cloud@latest/repositories/creating-and-managing-repositories/about-repositories).\" For information about the APIs to manage repositories, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest/graphql/reference/objects#repository) or \"[Repositories](https://docs.github.com/enterprise-cloud@latest/rest/repos)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Metadata\" repository permission.", "description": "A repository was deleted. GitHub Apps and repository webhooks will not receive this event.", "operationId": "repository/deleted", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#repository" + "url": "https://docs.github.com/enterprise-cloud@latest/webhooks/webhook-events-and-payloads#repository" }, "parameters": [ { @@ -1397574,7 +1406137,7 @@ }, "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).\"", + "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": { @@ -1397642,7 +1406205,7 @@ }, "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).\"", + "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": { @@ -1399119,10 +1407682,10 @@ }, "repository-dispatch-sample.collected": { "post": { - "summary": "This event occurs when a GitHub App sends a `POST` request to `/repos/{owner}/{repo}/dispatches`. For more information, see [the REST API documentation for creating a repository dispatch event](https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#create-a-repository-dispatch-event). In the payload, the `action` will be the `event_type` that was specified in the `POST /repos/{owner}/{repo}/dispatches` request body.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Contents\" repository permission.", + "summary": "This event occurs when a GitHub App sends a `POST` request to `/repos/{owner}/{repo}/dispatches`. For more information, see [the REST API documentation for creating a repository dispatch event](https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#create-a-repository-dispatch-event). In the payload, the `action` will be the `event_type` that was specified in the `POST /repos/{owner}/{repo}/dispatches` request body.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Contents\" repository permission.", "operationId": "repository-dispatch/sample.collected", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#repository_dispatch" + "url": "https://docs.github.com/enterprise-cloud@latest/webhooks/webhook-events-and-payloads#repository_dispatch" }, "parameters": [ { @@ -1399205,7 +1407768,7 @@ }, "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).\"", + "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": { @@ -1399273,7 +1407836,7 @@ }, "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).\"", + "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": { @@ -1400750,11 +1409313,11 @@ }, "repository-edited": { "post": { - "summary": "This event occurs when there is activity relating to repositories. For more information, see \"[About repositories](https://docs.github.com/enterprise-cloud@latest//repositories/creating-and-managing-repositories/about-repositories).\" For information about the APIs to manage repositories, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#repository) or \"[Repositories](https://docs.github.com/enterprise-cloud@latest//rest/repos)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Metadata\" repository permission.", + "summary": "This event occurs when there is activity relating to repositories. For more information, see \"[About repositories](https://docs.github.com/enterprise-cloud@latest/repositories/creating-and-managing-repositories/about-repositories).\" For information about the APIs to manage repositories, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest/graphql/reference/objects#repository) or \"[Repositories](https://docs.github.com/enterprise-cloud@latest/rest/repos)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Metadata\" repository permission.", "description": "The topics, default branch, description, or homepage of a repository was changed.", "operationId": "repository/edited", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#repository" + "url": "https://docs.github.com/enterprise-cloud@latest/webhooks/webhook-events-and-payloads#repository" }, "parameters": [ { @@ -1400882,7 +1409445,7 @@ }, "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).\"", + "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": { @@ -1400950,7 +1409513,7 @@ }, "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).\"", + "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": { @@ -1402428,10 +1410991,10 @@ }, "repository-import": { "post": { - "summary": "This event occurs when a repository is imported to GitHub Enterprise Cloud. For more information, see \"[Importing a repository with GitHub Importer](https://docs.github.com/enterprise-cloud@latest//get-started/importing-your-projects-to-github/importing-source-code-to-github/importing-a-repository-with-github-importer).\" For more information about the API to manage imports, see [the REST API documentation](https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports).", + "summary": "This event occurs when a repository is imported to GitHub Enterprise Cloud. For more information, see \"[Importing a repository with GitHub Importer](https://docs.github.com/enterprise-cloud@latest/get-started/importing-your-projects-to-github/importing-source-code-to-github/importing-a-repository-with-github-importer).\" For more information about the API to manage imports, see [the REST API documentation](https://docs.github.com/enterprise-cloud@latest/rest/migrations/source-imports).", "operationId": "repository-import", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#repository_import" + "url": "https://docs.github.com/enterprise-cloud@latest/webhooks/webhook-events-and-payloads#repository_import" }, "parameters": [ { @@ -1402501,7 +1411064,7 @@ "properties": { "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).\"", + "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": { @@ -1402569,7 +1411132,7 @@ }, "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).\"", + "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": { @@ -1404052,11 +1412615,11 @@ }, "repository-privatized": { "post": { - "summary": "This event occurs when there is activity relating to repositories. For more information, see \"[About repositories](https://docs.github.com/enterprise-cloud@latest//repositories/creating-and-managing-repositories/about-repositories).\" For information about the APIs to manage repositories, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#repository) or \"[Repositories](https://docs.github.com/enterprise-cloud@latest//rest/repos)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Metadata\" repository permission.", + "summary": "This event occurs when there is activity relating to repositories. For more information, see \"[About repositories](https://docs.github.com/enterprise-cloud@latest/repositories/creating-and-managing-repositories/about-repositories).\" For information about the APIs to manage repositories, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest/graphql/reference/objects#repository) or \"[Repositories](https://docs.github.com/enterprise-cloud@latest/rest/repos)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Metadata\" repository permission.", "description": "The visibility of a repository was changed to `private`.", "operationId": "repository/privatized", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#repository" + "url": "https://docs.github.com/enterprise-cloud@latest/webhooks/webhook-events-and-payloads#repository" }, "parameters": [ { @@ -1404132,7 +1412695,7 @@ }, "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).\"", + "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": { @@ -1404200,7 +1412763,7 @@ }, "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).\"", + "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": { @@ -1405677,11 +1414240,11 @@ }, "repository-publicized": { "post": { - "summary": "This event occurs when there is activity relating to repositories. For more information, see \"[About repositories](https://docs.github.com/enterprise-cloud@latest//repositories/creating-and-managing-repositories/about-repositories).\" For information about the APIs to manage repositories, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#repository) or \"[Repositories](https://docs.github.com/enterprise-cloud@latest//rest/repos)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Metadata\" repository permission.", + "summary": "This event occurs when there is activity relating to repositories. For more information, see \"[About repositories](https://docs.github.com/enterprise-cloud@latest/repositories/creating-and-managing-repositories/about-repositories).\" For information about the APIs to manage repositories, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest/graphql/reference/objects#repository) or \"[Repositories](https://docs.github.com/enterprise-cloud@latest/rest/repos)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Metadata\" repository permission.", "description": "The visibility of a repository was changed to `public`.", "operationId": "repository/publicized", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#repository" + "url": "https://docs.github.com/enterprise-cloud@latest/webhooks/webhook-events-and-payloads#repository" }, "parameters": [ { @@ -1405757,7 +1414320,7 @@ }, "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).\"", + "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": { @@ -1405825,7 +1414388,7 @@ }, "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).\"", + "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": { @@ -1407302,11 +1415865,11 @@ }, "repository-renamed": { "post": { - "summary": "This event occurs when there is activity relating to repositories. For more information, see \"[About repositories](https://docs.github.com/enterprise-cloud@latest//repositories/creating-and-managing-repositories/about-repositories).\" For information about the APIs to manage repositories, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#repository) or \"[Repositories](https://docs.github.com/enterprise-cloud@latest//rest/repos)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Metadata\" repository permission.", + "summary": "This event occurs when there is activity relating to repositories. For more information, see \"[About repositories](https://docs.github.com/enterprise-cloud@latest/repositories/creating-and-managing-repositories/about-repositories).\" For information about the APIs to manage repositories, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest/graphql/reference/objects#repository) or \"[Repositories](https://docs.github.com/enterprise-cloud@latest/rest/repos)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Metadata\" repository permission.", "description": "The name of a repository was changed.", "operationId": "repository/renamed", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#repository" + "url": "https://docs.github.com/enterprise-cloud@latest/webhooks/webhook-events-and-payloads#repository" }, "parameters": [ { @@ -1407409,7 +1415972,7 @@ }, "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).\"", + "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": { @@ -1407477,7 +1416040,7 @@ }, "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).\"", + "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": { @@ -1408955,11 +1417518,11 @@ }, "repository-ruleset-created": { "post": { - "summary": "This event occurs when there is activity relating to repository rulesets.\nFor more information about repository rulesets, see \"[Managing rulesets](https://docs.github.com/enterprise-cloud@latest//repositories/configuring-branches-and-merges-in-your-repository/managing-rulesets).\"\nFor more information on managing rulesets via the APIs, see [Repository ruleset](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#repositoryruleset) in the GraphQL documentation or \"[Repository rules](https://docs.github.com/enterprise-cloud@latest//rest/repos/rules)\" and \"[Organization rules](https://docs.github.com/enterprise-cloud@latest//rest/orgs/rules) in the REST API documentation.\"\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Administration\" repository or organization permission.", + "summary": "This event occurs when there is activity relating to repository rulesets.\nFor more information about repository rulesets, see \"[Managing rulesets](https://docs.github.com/enterprise-cloud@latest/repositories/configuring-branches-and-merges-in-your-repository/managing-rulesets).\"\nFor more information on managing rulesets via the APIs, see [Repository ruleset](https://docs.github.com/enterprise-cloud@latest/graphql/reference/objects#repositoryruleset) in the GraphQL documentation or \"[Repository rules](https://docs.github.com/enterprise-cloud@latest/rest/repos/rules)\" and \"[Organization rules](https://docs.github.com/enterprise-cloud@latest/rest/orgs/rules) in the REST API documentation.\"\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Administration\" repository or organization permission.", "description": "A repository ruleset was created.", "operationId": "repository-ruleset/created", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#repository_ruleset" + "url": "https://docs.github.com/enterprise-cloud@latest/webhooks/webhook-events-and-payloads#repository_ruleset" }, "parameters": [ { @@ -1409035,7 +1417598,7 @@ }, "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).\"", + "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": { @@ -1409103,7 +1417666,7 @@ }, "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).\"", + "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": { @@ -1411662,7 +1420225,7 @@ "properties": { "alerts_threshold": { "type": "string", - "description": "The severity level at which code scanning results that raise alerts block a reference update. For more information on alert severity levels, see \"[About code scanning alerts](https://docs.github.com/enterprise-cloud@latest//code-security/code-scanning/managing-code-scanning-alerts/about-code-scanning-alerts#about-alert-severity-and-security-severity-levels).\"", + "description": "The severity level at which code scanning results that raise alerts block a reference update. For more information on alert severity levels, see \"[About code scanning alerts](https://docs.github.com/enterprise-cloud@latest/code-security/code-scanning/managing-code-scanning-alerts/about-code-scanning-alerts#about-alert-severity-and-security-severity-levels).\"", "enum": [ "none", "errors", @@ -1411672,7 +1420235,7 @@ }, "security_alerts_threshold": { "type": "string", - "description": "The severity level at which code scanning results that raise security alerts block a reference update. For more information on security severity levels, see \"[About code scanning alerts](https://docs.github.com/enterprise-cloud@latest//code-security/code-scanning/managing-code-scanning-alerts/about-code-scanning-alerts#about-alert-severity-and-security-severity-levels).\"", + "description": "The severity level at which code scanning results that raise security alerts block a reference update. For more information on security severity levels, see \"[About code scanning alerts](https://docs.github.com/enterprise-cloud@latest/code-security/code-scanning/managing-code-scanning-alerts/about-code-scanning-alerts#about-alert-severity-and-security-severity-levels).\"", "enum": [ "none", "critical", @@ -1411895,11 +1420458,11 @@ }, "repository-ruleset-deleted": { "post": { - "summary": "This event occurs when there is activity relating to repository rulesets.\nFor more information about repository rulesets, see \"[Managing rulesets](https://docs.github.com/enterprise-cloud@latest//repositories/configuring-branches-and-merges-in-your-repository/managing-rulesets).\"\nFor more information on managing rulesets via the APIs, see [Repository ruleset](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#repositoryruleset) in the GraphQL documentation or \"[Repository rules](https://docs.github.com/enterprise-cloud@latest//rest/repos/rules)\" and \"[Organization rules](https://docs.github.com/enterprise-cloud@latest//rest/orgs/rules) in the REST API documentation.\"\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Administration\" repository or organization permission.", + "summary": "This event occurs when there is activity relating to repository rulesets.\nFor more information about repository rulesets, see \"[Managing rulesets](https://docs.github.com/enterprise-cloud@latest/repositories/configuring-branches-and-merges-in-your-repository/managing-rulesets).\"\nFor more information on managing rulesets via the APIs, see [Repository ruleset](https://docs.github.com/enterprise-cloud@latest/graphql/reference/objects#repositoryruleset) in the GraphQL documentation or \"[Repository rules](https://docs.github.com/enterprise-cloud@latest/rest/repos/rules)\" and \"[Organization rules](https://docs.github.com/enterprise-cloud@latest/rest/orgs/rules) in the REST API documentation.\"\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Administration\" repository or organization permission.", "description": "A repository ruleset was deleted.", "operationId": "repository-ruleset/deleted", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#repository_ruleset" + "url": "https://docs.github.com/enterprise-cloud@latest/webhooks/webhook-events-and-payloads#repository_ruleset" }, "parameters": [ { @@ -1411975,7 +1420538,7 @@ }, "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).\"", + "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": { @@ -1412043,7 +1420606,7 @@ }, "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).\"", + "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": { @@ -1414602,7 +1423165,7 @@ "properties": { "alerts_threshold": { "type": "string", - "description": "The severity level at which code scanning results that raise alerts block a reference update. For more information on alert severity levels, see \"[About code scanning alerts](https://docs.github.com/enterprise-cloud@latest//code-security/code-scanning/managing-code-scanning-alerts/about-code-scanning-alerts#about-alert-severity-and-security-severity-levels).\"", + "description": "The severity level at which code scanning results that raise alerts block a reference update. For more information on alert severity levels, see \"[About code scanning alerts](https://docs.github.com/enterprise-cloud@latest/code-security/code-scanning/managing-code-scanning-alerts/about-code-scanning-alerts#about-alert-severity-and-security-severity-levels).\"", "enum": [ "none", "errors", @@ -1414612,7 +1423175,7 @@ }, "security_alerts_threshold": { "type": "string", - "description": "The severity level at which code scanning results that raise security alerts block a reference update. For more information on security severity levels, see \"[About code scanning alerts](https://docs.github.com/enterprise-cloud@latest//code-security/code-scanning/managing-code-scanning-alerts/about-code-scanning-alerts#about-alert-severity-and-security-severity-levels).\"", + "description": "The severity level at which code scanning results that raise security alerts block a reference update. For more information on security severity levels, see \"[About code scanning alerts](https://docs.github.com/enterprise-cloud@latest/code-security/code-scanning/managing-code-scanning-alerts/about-code-scanning-alerts#about-alert-severity-and-security-severity-levels).\"", "enum": [ "none", "critical", @@ -1414835,11 +1423398,11 @@ }, "repository-ruleset-edited": { "post": { - "summary": "This event occurs when there is activity relating to repository rulesets.\nFor more information about repository rulesets, see \"[Managing rulesets](https://docs.github.com/enterprise-cloud@latest//repositories/configuring-branches-and-merges-in-your-repository/managing-rulesets).\"\nFor more information on managing rulesets via the APIs, see [Repository ruleset](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#repositoryruleset) in the GraphQL documentation or \"[Repository rules](https://docs.github.com/enterprise-cloud@latest//rest/repos/rules)\" and \"[Organization rules](https://docs.github.com/enterprise-cloud@latest//rest/orgs/rules) in the REST API documentation.\"\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Administration\" repository or organization permission.", + "summary": "This event occurs when there is activity relating to repository rulesets.\nFor more information about repository rulesets, see \"[Managing rulesets](https://docs.github.com/enterprise-cloud@latest/repositories/configuring-branches-and-merges-in-your-repository/managing-rulesets).\"\nFor more information on managing rulesets via the APIs, see [Repository ruleset](https://docs.github.com/enterprise-cloud@latest/graphql/reference/objects#repositoryruleset) in the GraphQL documentation or \"[Repository rules](https://docs.github.com/enterprise-cloud@latest/rest/repos/rules)\" and \"[Organization rules](https://docs.github.com/enterprise-cloud@latest/rest/orgs/rules) in the REST API documentation.\"\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Administration\" repository or organization permission.", "description": "A repository ruleset was edited.", "operationId": "repository-ruleset/edited", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#repository_ruleset" + "url": "https://docs.github.com/enterprise-cloud@latest/webhooks/webhook-events-and-payloads#repository_ruleset" }, "parameters": [ { @@ -1414915,7 +1423478,7 @@ }, "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).\"", + "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": { @@ -1414983,7 +1423546,7 @@ }, "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).\"", + "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": { @@ -1417542,7 +1426105,7 @@ "properties": { "alerts_threshold": { "type": "string", - "description": "The severity level at which code scanning results that raise alerts block a reference update. For more information on alert severity levels, see \"[About code scanning alerts](https://docs.github.com/enterprise-cloud@latest//code-security/code-scanning/managing-code-scanning-alerts/about-code-scanning-alerts#about-alert-severity-and-security-severity-levels).\"", + "description": "The severity level at which code scanning results that raise alerts block a reference update. For more information on alert severity levels, see \"[About code scanning alerts](https://docs.github.com/enterprise-cloud@latest/code-security/code-scanning/managing-code-scanning-alerts/about-code-scanning-alerts#about-alert-severity-and-security-severity-levels).\"", "enum": [ "none", "errors", @@ -1417552,7 +1426115,7 @@ }, "security_alerts_threshold": { "type": "string", - "description": "The severity level at which code scanning results that raise security alerts block a reference update. For more information on security severity levels, see \"[About code scanning alerts](https://docs.github.com/enterprise-cloud@latest//code-security/code-scanning/managing-code-scanning-alerts/about-code-scanning-alerts#about-alert-severity-and-security-severity-levels).\"", + "description": "The severity level at which code scanning results that raise security alerts block a reference update. For more information on security severity levels, see \"[About code scanning alerts](https://docs.github.com/enterprise-cloud@latest/code-security/code-scanning/managing-code-scanning-alerts/about-code-scanning-alerts#about-alert-severity-and-security-severity-levels).\"", "enum": [ "none", "critical", @@ -1418616,7 +1427179,7 @@ "properties": { "alerts_threshold": { "type": "string", - "description": "The severity level at which code scanning results that raise alerts block a reference update. For more information on alert severity levels, see \"[About code scanning alerts](https://docs.github.com/enterprise-cloud@latest//code-security/code-scanning/managing-code-scanning-alerts/about-code-scanning-alerts#about-alert-severity-and-security-severity-levels).\"", + "description": "The severity level at which code scanning results that raise alerts block a reference update. For more information on alert severity levels, see \"[About code scanning alerts](https://docs.github.com/enterprise-cloud@latest/code-security/code-scanning/managing-code-scanning-alerts/about-code-scanning-alerts#about-alert-severity-and-security-severity-levels).\"", "enum": [ "none", "errors", @@ -1418626,7 +1427189,7 @@ }, "security_alerts_threshold": { "type": "string", - "description": "The severity level at which code scanning results that raise security alerts block a reference update. For more information on security severity levels, see \"[About code scanning alerts](https://docs.github.com/enterprise-cloud@latest//code-security/code-scanning/managing-code-scanning-alerts/about-code-scanning-alerts#about-alert-severity-and-security-severity-levels).\"", + "description": "The severity level at which code scanning results that raise security alerts block a reference update. For more information on security severity levels, see \"[About code scanning alerts](https://docs.github.com/enterprise-cloud@latest/code-security/code-scanning/managing-code-scanning-alerts/about-code-scanning-alerts#about-alert-severity-and-security-severity-levels).\"", "enum": [ "none", "critical", @@ -1419518,7 +1428081,7 @@ "properties": { "alerts_threshold": { "type": "string", - "description": "The severity level at which code scanning results that raise alerts block a reference update. For more information on alert severity levels, see \"[About code scanning alerts](https://docs.github.com/enterprise-cloud@latest//code-security/code-scanning/managing-code-scanning-alerts/about-code-scanning-alerts#about-alert-severity-and-security-severity-levels).\"", + "description": "The severity level at which code scanning results that raise alerts block a reference update. For more information on alert severity levels, see \"[About code scanning alerts](https://docs.github.com/enterprise-cloud@latest/code-security/code-scanning/managing-code-scanning-alerts/about-code-scanning-alerts#about-alert-severity-and-security-severity-levels).\"", "enum": [ "none", "errors", @@ -1419528,7 +1428091,7 @@ }, "security_alerts_threshold": { "type": "string", - "description": "The severity level at which code scanning results that raise security alerts block a reference update. For more information on security severity levels, see \"[About code scanning alerts](https://docs.github.com/enterprise-cloud@latest//code-security/code-scanning/managing-code-scanning-alerts/about-code-scanning-alerts#about-alert-severity-and-security-severity-levels).\"", + "description": "The severity level at which code scanning results that raise security alerts block a reference update. For more information on security severity levels, see \"[About code scanning alerts](https://docs.github.com/enterprise-cloud@latest/code-security/code-scanning/managing-code-scanning-alerts/about-code-scanning-alerts#about-alert-severity-and-security-severity-levels).\"", "enum": [ "none", "critical", @@ -1420423,7 +1428986,7 @@ "properties": { "alerts_threshold": { "type": "string", - "description": "The severity level at which code scanning results that raise alerts block a reference update. For more information on alert severity levels, see \"[About code scanning alerts](https://docs.github.com/enterprise-cloud@latest//code-security/code-scanning/managing-code-scanning-alerts/about-code-scanning-alerts#about-alert-severity-and-security-severity-levels).\"", + "description": "The severity level at which code scanning results that raise alerts block a reference update. For more information on alert severity levels, see \"[About code scanning alerts](https://docs.github.com/enterprise-cloud@latest/code-security/code-scanning/managing-code-scanning-alerts/about-code-scanning-alerts#about-alert-severity-and-security-severity-levels).\"", "enum": [ "none", "errors", @@ -1420433,7 +1428996,7 @@ }, "security_alerts_threshold": { "type": "string", - "description": "The severity level at which code scanning results that raise security alerts block a reference update. For more information on security severity levels, see \"[About code scanning alerts](https://docs.github.com/enterprise-cloud@latest//code-security/code-scanning/managing-code-scanning-alerts/about-code-scanning-alerts#about-alert-severity-and-security-severity-levels).\"", + "description": "The severity level at which code scanning results that raise security alerts block a reference update. For more information on security severity levels, see \"[About code scanning alerts](https://docs.github.com/enterprise-cloud@latest/code-security/code-scanning/managing-code-scanning-alerts/about-code-scanning-alerts#about-alert-severity-and-security-severity-levels).\"", "enum": [ "none", "critical", @@ -1420681,11 +1429244,11 @@ }, "repository-transferred": { "post": { - "summary": "This event occurs when there is activity relating to repositories. For more information, see \"[About repositories](https://docs.github.com/enterprise-cloud@latest//repositories/creating-and-managing-repositories/about-repositories).\" For information about the APIs to manage repositories, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#repository) or \"[Repositories](https://docs.github.com/enterprise-cloud@latest//rest/repos)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Metadata\" repository permission.", + "summary": "This event occurs when there is activity relating to repositories. For more information, see \"[About repositories](https://docs.github.com/enterprise-cloud@latest/repositories/creating-and-managing-repositories/about-repositories).\" For information about the APIs to manage repositories, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest/graphql/reference/objects#repository) or \"[Repositories](https://docs.github.com/enterprise-cloud@latest/rest/repos)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Metadata\" repository permission.", "description": "Ownership of the repository was transferred to a user or organization account. This event is only sent to the account where the ownership is transferred. To receive the `repository.transferred` event, the new owner account must have the GitHub App installed, and the App must be subscribed to \"Repository\" events.", "operationId": "repository/transferred", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#repository" + "url": "https://docs.github.com/enterprise-cloud@latest/webhooks/webhook-events-and-payloads#repository" }, "parameters": [ { @@ -1420947,7 +1429510,7 @@ }, "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).\"", + "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": { @@ -1421015,7 +1429578,7 @@ }, "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).\"", + "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": { @@ -1422493,11 +1431056,11 @@ }, "repository-unarchived": { "post": { - "summary": "This event occurs when there is activity relating to repositories. For more information, see \"[About repositories](https://docs.github.com/enterprise-cloud@latest//repositories/creating-and-managing-repositories/about-repositories).\" For information about the APIs to manage repositories, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#repository) or \"[Repositories](https://docs.github.com/enterprise-cloud@latest//rest/repos)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Metadata\" repository permission.", + "summary": "This event occurs when there is activity relating to repositories. For more information, see \"[About repositories](https://docs.github.com/enterprise-cloud@latest/repositories/creating-and-managing-repositories/about-repositories).\" For information about the APIs to manage repositories, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest/graphql/reference/objects#repository) or \"[Repositories](https://docs.github.com/enterprise-cloud@latest/rest/repos)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Metadata\" repository permission.", "description": "A previously archived repository was unarchived.", "operationId": "repository/unarchived", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#repository" + "url": "https://docs.github.com/enterprise-cloud@latest/webhooks/webhook-events-and-payloads#repository" }, "parameters": [ { @@ -1422573,7 +1431136,7 @@ }, "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).\"", + "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": { @@ -1422641,7 +1431204,7 @@ }, "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).\"", + "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": { @@ -1424122,7 +1432685,7 @@ "description": "A repository vulnerability alert was created.", "operationId": "repository-vulnerability-alert/create", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#repository_vulnerability_alert" + "url": "https://docs.github.com/enterprise-cloud@latest/webhooks/webhook-events-and-payloads#repository_vulnerability_alert" }, "parameters": [ { @@ -1424365,7 +1432928,7 @@ }, "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).\"", + "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": { @@ -1424433,7 +1432996,7 @@ }, "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).\"", + "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": { @@ -1425913,7 +1434476,7 @@ "description": "A repository vulnerability alert was dismissed.", "operationId": "repository-vulnerability-alert/dismiss", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#repository_vulnerability_alert" + "url": "https://docs.github.com/enterprise-cloud@latest/webhooks/webhook-events-and-payloads#repository_vulnerability_alert" }, "parameters": [ { @@ -1426165,7 +1434728,7 @@ }, "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).\"", + "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": { @@ -1426233,7 +1434796,7 @@ }, "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).\"", + "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": { @@ -1427713,7 +1436276,7 @@ "description": "A previously dismissed or resolved repository vulnerability alert was reopened.", "operationId": "repository-vulnerability-alert/reopen", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#repository_vulnerability_alert" + "url": "https://docs.github.com/enterprise-cloud@latest/webhooks/webhook-events-and-payloads#repository_vulnerability_alert" }, "parameters": [ { @@ -1427956,7 +1436519,7 @@ }, "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).\"", + "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": { @@ -1428024,7 +1436587,7 @@ }, "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).\"", + "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": { @@ -1429504,7 +1438067,7 @@ "description": "A repository vulnerability alert was marked as resolved.", "operationId": "repository-vulnerability-alert/resolve", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#repository_vulnerability_alert" + "url": "https://docs.github.com/enterprise-cloud@latest/webhooks/webhook-events-and-payloads#repository_vulnerability_alert" }, "parameters": [ { @@ -1429747,7 +1438310,7 @@ }, "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).\"", + "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": { @@ -1429815,7 +1438378,7 @@ }, "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).\"", + "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": { @@ -1431291,11 +1439854,11 @@ }, "secret-scanning-alert-assigned": { "post": { - "summary": "This event occurs when there is activity relating to a secret scanning alert. For more information about secret scanning, see \"[About secret scanning](https://docs.github.com/enterprise-cloud@latest//code-security/secret-scanning/about-secret-scanning).\" For information about the API to manage secret scanning alerts, see \"[Secret scanning](https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning)\" in the REST API documentation.\n\nFor activity relating to secret scanning alert locations, use the `secret_scanning_alert_location` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Secret scanning alerts\" repository permission.", + "summary": "This event occurs when there is activity relating to a secret scanning alert. For more information about secret scanning, see \"[About secret scanning](https://docs.github.com/enterprise-cloud@latest/code-security/secret-scanning/about-secret-scanning).\" For information about the API to manage secret scanning alerts, see \"[Secret scanning](https://docs.github.com/enterprise-cloud@latest/rest/secret-scanning)\" in the REST API documentation.\n\nFor activity relating to secret scanning alert locations, use the `secret_scanning_alert_location` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Secret scanning alerts\" repository permission.", "description": "A secret scanning alert was assigned.", "operationId": "secret-scanning-alert/assigned", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#secret_scanning_alert" + "url": "https://docs.github.com/enterprise-cloud@latest/webhooks/webhook-events-and-payloads#secret_scanning_alert" }, "parameters": [ { @@ -1431562,7 +1440125,7 @@ }, "secret_type_display_name": { "type": "string", - "description": "User-friendly name for the detected secret, matching the `secret_type`.\nFor a list of built-in patterns, see \"[Supported secret scanning patterns](https://docs.github.com/enterprise-cloud@latest//code-security/secret-scanning/introduction/supported-secret-scanning-patterns#supported-secrets).\"" + "description": "User-friendly name for the detected secret, matching the `secret_type`.\nFor a list of built-in patterns, see \"[Supported secret scanning patterns](https://docs.github.com/enterprise-cloud@latest/code-security/secret-scanning/introduction/supported-secret-scanning-patterns#supported-secrets).\"" }, "provider": { "type": "string", @@ -1432258,7 +1440821,7 @@ }, "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).\"", + "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": { @@ -1432326,7 +1440889,7 @@ }, "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).\"", + "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": { @@ -1433802,11 +1442365,11 @@ }, "secret-scanning-alert-created": { "post": { - "summary": "This event occurs when there is activity relating to a secret scanning alert. For more information about secret scanning, see \"[About secret scanning](https://docs.github.com/enterprise-cloud@latest//code-security/secret-scanning/about-secret-scanning).\" For information about the API to manage secret scanning alerts, see \"[Secret scanning](https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning)\" in the REST API documentation.\n\nFor activity relating to secret scanning alert locations, use the `secret_scanning_alert_location` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Secret scanning alerts\" repository permission.", + "summary": "This event occurs when there is activity relating to a secret scanning alert. For more information about secret scanning, see \"[About secret scanning](https://docs.github.com/enterprise-cloud@latest/code-security/secret-scanning/about-secret-scanning).\" For information about the API to manage secret scanning alerts, see \"[Secret scanning](https://docs.github.com/enterprise-cloud@latest/rest/secret-scanning)\" in the REST API documentation.\n\nFor activity relating to secret scanning alert locations, use the `secret_scanning_alert_location` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Secret scanning alerts\" repository permission.", "description": "A secret scanning alert was created.", "operationId": "secret-scanning-alert/created", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#secret_scanning_alert" + "url": "https://docs.github.com/enterprise-cloud@latest/webhooks/webhook-events-and-payloads#secret_scanning_alert" }, "parameters": [ { @@ -1434073,7 +1442636,7 @@ }, "secret_type_display_name": { "type": "string", - "description": "User-friendly name for the detected secret, matching the `secret_type`.\nFor a list of built-in patterns, see \"[Supported secret scanning patterns](https://docs.github.com/enterprise-cloud@latest//code-security/secret-scanning/introduction/supported-secret-scanning-patterns#supported-secrets).\"" + "description": "User-friendly name for the detected secret, matching the `secret_type`.\nFor a list of built-in patterns, see \"[Supported secret scanning patterns](https://docs.github.com/enterprise-cloud@latest/code-security/secret-scanning/introduction/supported-secret-scanning-patterns#supported-secrets).\"" }, "provider": { "type": "string", @@ -1434645,7 +1443208,7 @@ }, "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).\"", + "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": { @@ -1434713,7 +1443276,7 @@ }, "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).\"", + "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": { @@ -1436189,11 +1444752,11 @@ }, "secret-scanning-alert-location-created": { "post": { - "summary": "This event occurs when there is activity relating to the locations of a secret in a secret scanning alert.\n\nFor more information about secret scanning, see \"[About secret scanning](https://docs.github.com/enterprise-cloud@latest//code-security/secret-scanning/about-secret-scanning).\" For information about the API to manage secret scanning alerts, see \"[Secret scanning](https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning)\" in the REST API documentation.\n\nFor activity relating to secret scanning alerts, use the `secret_scanning_alert` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Secret scanning alerts\" repository permission.", + "summary": "This event occurs when there is activity relating to the locations of a secret in a secret scanning alert.\n\nFor more information about secret scanning, see \"[About secret scanning](https://docs.github.com/enterprise-cloud@latest/code-security/secret-scanning/about-secret-scanning).\" For information about the API to manage secret scanning alerts, see \"[Secret scanning](https://docs.github.com/enterprise-cloud@latest/rest/secret-scanning)\" in the REST API documentation.\n\nFor activity relating to secret scanning alerts, use the `secret_scanning_alert` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Secret scanning alerts\" repository permission.", "description": "A new instance of a previously detected secret was detected in a repository, and the location of the secret was added to the existing alert.", "operationId": "secret-scanning-alert-location/created", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#secret_scanning_alert_location" + "url": "https://docs.github.com/enterprise-cloud@latest/webhooks/webhook-events-and-payloads#secret_scanning_alert_location" }, "parameters": [ { @@ -1436460,7 +1445023,7 @@ }, "secret_type_display_name": { "type": "string", - "description": "User-friendly name for the detected secret, matching the `secret_type`.\nFor a list of built-in patterns, see \"[Supported secret scanning patterns](https://docs.github.com/enterprise-cloud@latest//code-security/secret-scanning/introduction/supported-secret-scanning-patterns#supported-secrets).\"" + "description": "User-friendly name for the detected secret, matching the `secret_type`.\nFor a list of built-in patterns, see \"[Supported secret scanning patterns](https://docs.github.com/enterprise-cloud@latest/code-security/secret-scanning/introduction/supported-secret-scanning-patterns#supported-secrets).\"" }, "provider": { "type": "string", @@ -1437032,7 +1445595,7 @@ }, "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).\"", + "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": { @@ -1439046,11 +1447609,11 @@ }, "secret-scanning-alert-publicly-leaked": { "post": { - "summary": "This event occurs when there is activity relating to a secret scanning alert. For more information about secret scanning, see \"[About secret scanning](https://docs.github.com/enterprise-cloud@latest//code-security/secret-scanning/about-secret-scanning).\" For information about the API to manage secret scanning alerts, see \"[Secret scanning](https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning)\" in the REST API documentation.\n\nFor activity relating to secret scanning alert locations, use the `secret_scanning_alert_location` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Secret scanning alerts\" repository permission.", + "summary": "This event occurs when there is activity relating to a secret scanning alert. For more information about secret scanning, see \"[About secret scanning](https://docs.github.com/enterprise-cloud@latest/code-security/secret-scanning/about-secret-scanning).\" For information about the API to manage secret scanning alerts, see \"[Secret scanning](https://docs.github.com/enterprise-cloud@latest/rest/secret-scanning)\" in the REST API documentation.\n\nFor activity relating to secret scanning alert locations, use the `secret_scanning_alert_location` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Secret scanning alerts\" repository permission.", "description": "A secret scanning alert was detected in a public repo.", "operationId": "secret-scanning-alert/publicly-leaked", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#secret_scanning_alert" + "url": "https://docs.github.com/enterprise-cloud@latest/webhooks/webhook-events-and-payloads#secret_scanning_alert" }, "parameters": [ { @@ -1439317,7 +1447880,7 @@ }, "secret_type_display_name": { "type": "string", - "description": "User-friendly name for the detected secret, matching the `secret_type`.\nFor a list of built-in patterns, see \"[Supported secret scanning patterns](https://docs.github.com/enterprise-cloud@latest//code-security/secret-scanning/introduction/supported-secret-scanning-patterns#supported-secrets).\"" + "description": "User-friendly name for the detected secret, matching the `secret_type`.\nFor a list of built-in patterns, see \"[Supported secret scanning patterns](https://docs.github.com/enterprise-cloud@latest/code-security/secret-scanning/introduction/supported-secret-scanning-patterns#supported-secrets).\"" }, "provider": { "type": "string", @@ -1439889,7 +1448452,7 @@ }, "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).\"", + "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": { @@ -1439957,7 +1448520,7 @@ }, "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).\"", + "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": { @@ -1441433,11 +1449996,11 @@ }, "secret-scanning-alert-reopened": { "post": { - "summary": "This event occurs when there is activity relating to a secret scanning alert. For more information about secret scanning, see \"[About secret scanning](https://docs.github.com/enterprise-cloud@latest//code-security/secret-scanning/about-secret-scanning).\" For information about the API to manage secret scanning alerts, see \"[Secret scanning](https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning)\" in the REST API documentation.\n\nFor activity relating to secret scanning alert locations, use the `secret_scanning_alert_location` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Secret scanning alerts\" repository permission.", + "summary": "This event occurs when there is activity relating to a secret scanning alert. For more information about secret scanning, see \"[About secret scanning](https://docs.github.com/enterprise-cloud@latest/code-security/secret-scanning/about-secret-scanning).\" For information about the API to manage secret scanning alerts, see \"[Secret scanning](https://docs.github.com/enterprise-cloud@latest/rest/secret-scanning)\" in the REST API documentation.\n\nFor activity relating to secret scanning alert locations, use the `secret_scanning_alert_location` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Secret scanning alerts\" repository permission.", "description": "A previously closed secret scanning alert was reopened.", "operationId": "secret-scanning-alert/reopened", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#secret_scanning_alert" + "url": "https://docs.github.com/enterprise-cloud@latest/webhooks/webhook-events-and-payloads#secret_scanning_alert" }, "parameters": [ { @@ -1441704,7 +1450267,7 @@ }, "secret_type_display_name": { "type": "string", - "description": "User-friendly name for the detected secret, matching the `secret_type`.\nFor a list of built-in patterns, see \"[Supported secret scanning patterns](https://docs.github.com/enterprise-cloud@latest//code-security/secret-scanning/introduction/supported-secret-scanning-patterns#supported-secrets).\"" + "description": "User-friendly name for the detected secret, matching the `secret_type`.\nFor a list of built-in patterns, see \"[Supported secret scanning patterns](https://docs.github.com/enterprise-cloud@latest/code-security/secret-scanning/introduction/supported-secret-scanning-patterns#supported-secrets).\"" }, "provider": { "type": "string", @@ -1442276,7 +1450839,7 @@ }, "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).\"", + "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": { @@ -1442344,7 +1450907,7 @@ }, "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).\"", + "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": { @@ -1443820,11 +1452383,11 @@ }, "secret-scanning-alert-resolved": { "post": { - "summary": "This event occurs when there is activity relating to a secret scanning alert. For more information about secret scanning, see \"[About secret scanning](https://docs.github.com/enterprise-cloud@latest//code-security/secret-scanning/about-secret-scanning).\" For information about the API to manage secret scanning alerts, see \"[Secret scanning](https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning)\" in the REST API documentation.\n\nFor activity relating to secret scanning alert locations, use the `secret_scanning_alert_location` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Secret scanning alerts\" repository permission.", + "summary": "This event occurs when there is activity relating to a secret scanning alert. For more information about secret scanning, see \"[About secret scanning](https://docs.github.com/enterprise-cloud@latest/code-security/secret-scanning/about-secret-scanning).\" For information about the API to manage secret scanning alerts, see \"[Secret scanning](https://docs.github.com/enterprise-cloud@latest/rest/secret-scanning)\" in the REST API documentation.\n\nFor activity relating to secret scanning alert locations, use the `secret_scanning_alert_location` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Secret scanning alerts\" repository permission.", "description": "A secret scanning alert was closed.", "operationId": "secret-scanning-alert/resolved", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#secret_scanning_alert" + "url": "https://docs.github.com/enterprise-cloud@latest/webhooks/webhook-events-and-payloads#secret_scanning_alert" }, "parameters": [ { @@ -1444091,7 +1452654,7 @@ }, "secret_type_display_name": { "type": "string", - "description": "User-friendly name for the detected secret, matching the `secret_type`.\nFor a list of built-in patterns, see \"[Supported secret scanning patterns](https://docs.github.com/enterprise-cloud@latest//code-security/secret-scanning/introduction/supported-secret-scanning-patterns#supported-secrets).\"" + "description": "User-friendly name for the detected secret, matching the `secret_type`.\nFor a list of built-in patterns, see \"[Supported secret scanning patterns](https://docs.github.com/enterprise-cloud@latest/code-security/secret-scanning/introduction/supported-secret-scanning-patterns#supported-secrets).\"" }, "provider": { "type": "string", @@ -1444663,7 +1453226,7 @@ }, "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).\"", + "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": { @@ -1444731,7 +1453294,7 @@ }, "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).\"", + "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": { @@ -1446207,11 +1454770,11 @@ }, "secret-scanning-alert-unassigned": { "post": { - "summary": "This event occurs when there is activity relating to a secret scanning alert. For more information about secret scanning, see \"[About secret scanning](https://docs.github.com/enterprise-cloud@latest//code-security/secret-scanning/about-secret-scanning).\" For information about the API to manage secret scanning alerts, see \"[Secret scanning](https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning)\" in the REST API documentation.\n\nFor activity relating to secret scanning alert locations, use the `secret_scanning_alert_location` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Secret scanning alerts\" repository permission.", + "summary": "This event occurs when there is activity relating to a secret scanning alert. For more information about secret scanning, see \"[About secret scanning](https://docs.github.com/enterprise-cloud@latest/code-security/secret-scanning/about-secret-scanning).\" For information about the API to manage secret scanning alerts, see \"[Secret scanning](https://docs.github.com/enterprise-cloud@latest/rest/secret-scanning)\" in the REST API documentation.\n\nFor activity relating to secret scanning alert locations, use the `secret_scanning_alert_location` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Secret scanning alerts\" repository permission.", "description": "A secret scanning alert was unassigned.", "operationId": "secret-scanning-alert/unassigned", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#secret_scanning_alert" + "url": "https://docs.github.com/enterprise-cloud@latest/webhooks/webhook-events-and-payloads#secret_scanning_alert" }, "parameters": [ { @@ -1446478,7 +1455041,7 @@ }, "secret_type_display_name": { "type": "string", - "description": "User-friendly name for the detected secret, matching the `secret_type`.\nFor a list of built-in patterns, see \"[Supported secret scanning patterns](https://docs.github.com/enterprise-cloud@latest//code-security/secret-scanning/introduction/supported-secret-scanning-patterns#supported-secrets).\"" + "description": "User-friendly name for the detected secret, matching the `secret_type`.\nFor a list of built-in patterns, see \"[Supported secret scanning patterns](https://docs.github.com/enterprise-cloud@latest/code-security/secret-scanning/introduction/supported-secret-scanning-patterns#supported-secrets).\"" }, "provider": { "type": "string", @@ -1447174,7 +1455737,7 @@ }, "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).\"", + "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": { @@ -1447242,7 +1455805,7 @@ }, "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).\"", + "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": { @@ -1448718,11 +1457281,11 @@ }, "secret-scanning-alert-validated": { "post": { - "summary": "This event occurs when there is activity relating to a secret scanning alert. For more information about secret scanning, see \"[About secret scanning](https://docs.github.com/enterprise-cloud@latest//code-security/secret-scanning/about-secret-scanning).\" For information about the API to manage secret scanning alerts, see \"[Secret scanning](https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning)\" in the REST API documentation.\n\nFor activity relating to secret scanning alert locations, use the `secret_scanning_alert_location` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Secret scanning alerts\" repository permission.", + "summary": "This event occurs when there is activity relating to a secret scanning alert. For more information about secret scanning, see \"[About secret scanning](https://docs.github.com/enterprise-cloud@latest/code-security/secret-scanning/about-secret-scanning).\" For information about the API to manage secret scanning alerts, see \"[Secret scanning](https://docs.github.com/enterprise-cloud@latest/rest/secret-scanning)\" in the REST API documentation.\n\nFor activity relating to secret scanning alert locations, use the `secret_scanning_alert_location` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Secret scanning alerts\" repository permission.", "description": "A secret scanning alert was validated.", "operationId": "secret-scanning-alert/validated", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#secret_scanning_alert" + "url": "https://docs.github.com/enterprise-cloud@latest/webhooks/webhook-events-and-payloads#secret_scanning_alert" }, "parameters": [ { @@ -1448989,7 +1457552,7 @@ }, "secret_type_display_name": { "type": "string", - "description": "User-friendly name for the detected secret, matching the `secret_type`.\nFor a list of built-in patterns, see \"[Supported secret scanning patterns](https://docs.github.com/enterprise-cloud@latest//code-security/secret-scanning/introduction/supported-secret-scanning-patterns#supported-secrets).\"" + "description": "User-friendly name for the detected secret, matching the `secret_type`.\nFor a list of built-in patterns, see \"[Supported secret scanning patterns](https://docs.github.com/enterprise-cloud@latest/code-security/secret-scanning/introduction/supported-secret-scanning-patterns#supported-secrets).\"" }, "provider": { "type": "string", @@ -1449561,7 +1458124,7 @@ }, "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).\"", + "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": { @@ -1449629,7 +1458192,7 @@ }, "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).\"", + "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": { @@ -1451105,11 +1459668,11 @@ }, "secret-scanning-scan-completed": { "post": { - "summary": "This event occurs when secret scanning completes certain scans on a repository. For more information about secret scanning, see \"[About secret scanning](https://docs.github.com/enterprise-cloud@latest//code-security/secret-scanning/about-secret-scanning).\"\n\nScans can originate from multiple events such as updates to a custom pattern, a push to a repository, or updates\nto patterns from partners. For more information on custom patterns, see \"[About custom patterns](https://docs.github.com/enterprise-cloud@latest//code-security/secret-scanning/using-advanced-secret-scanning-and-push-protection-features/custom-patterns).\"\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Secret scanning alerts\" repository permission.", + "summary": "This event occurs when secret scanning completes certain scans on a repository. For more information about secret scanning, see \"[About secret scanning](https://docs.github.com/enterprise-cloud@latest/code-security/secret-scanning/about-secret-scanning).\"\n\nScans can originate from multiple events such as updates to a custom pattern, a push to a repository, or updates\nto patterns from partners. For more information on custom patterns, see \"[About custom patterns](https://docs.github.com/enterprise-cloud@latest/code-security/secret-scanning/using-advanced-secret-scanning-and-push-protection-features/custom-patterns).\"\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Secret scanning alerts\" repository permission.", "description": "A secret scanning scan was completed.", "operationId": "secret-scanning-scan/completed", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#secret_scanning_scan" + "url": "https://docs.github.com/enterprise-cloud@latest/webhooks/webhook-events-and-payloads#secret_scanning_scan" }, "parameters": [ { @@ -1452469,7 +1461032,7 @@ }, "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).\"", + "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": { @@ -1452537,7 +1461100,7 @@ }, "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).\"", + "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": { @@ -1452784,11 +1461347,11 @@ }, "security-advisory-published": { "post": { - "summary": "This event occurs when there is activity relating to a global security advisory that was reviewed by GitHub. A GitHub-reviewed global security advisory provides information about security vulnerabilities or malware that have been mapped to packages in ecosystems we support. For more information about global security advisories, see \"[About global security advisories](https://docs.github.com/enterprise-cloud@latest//code-security/security-advisories/working-with-global-security-advisories-from-the-github-advisory-database/about-global-security-advisories).\" For information about the API to manage security advisories, see [the REST API documentation](https://docs.github.com/enterprise-cloud@latest//rest/security-advisories/global-advisories) or [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#securityadvisory).\n\nGitHub Dependabot alerts are also powered by the security advisory dataset. For more information, see \"[About Dependabot alerts](https://docs.github.com/enterprise-cloud@latest//code-security/dependabot/dependabot-alerts/about-dependabot-alerts).\"", + "summary": "This event occurs when there is activity relating to a global security advisory that was reviewed by GitHub. A GitHub-reviewed global security advisory provides information about security vulnerabilities or malware that have been mapped to packages in ecosystems we support. For more information about global security advisories, see \"[About global security advisories](https://docs.github.com/enterprise-cloud@latest/code-security/security-advisories/working-with-global-security-advisories-from-the-github-advisory-database/about-global-security-advisories).\" For information about the API to manage security advisories, see [the REST API documentation](https://docs.github.com/enterprise-cloud@latest/rest/security-advisories/global-advisories) or [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest/graphql/reference/objects#securityadvisory).\n\nGitHub Dependabot alerts are also powered by the security advisory dataset. For more information, see \"[About Dependabot alerts](https://docs.github.com/enterprise-cloud@latest/code-security/dependabot/dependabot-alerts/about-dependabot-alerts).\"", "description": "A security advisory was published to the GitHub community.", "operationId": "security-advisory/published", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#security_advisory" + "url": "https://docs.github.com/enterprise-cloud@latest/webhooks/webhook-events-and-payloads#security_advisory" }, "parameters": [ { @@ -1452864,7 +1461427,7 @@ }, "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).\"", + "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": { @@ -1452932,7 +1461495,7 @@ }, "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).\"", + "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": { @@ -1454613,11 +1463176,11 @@ }, "security-advisory-updated": { "post": { - "summary": "This event occurs when there is activity relating to a global security advisory that was reviewed by GitHub. A GitHub-reviewed global security advisory provides information about security vulnerabilities or malware that have been mapped to packages in ecosystems we support. For more information about global security advisories, see \"[About global security advisories](https://docs.github.com/enterprise-cloud@latest//code-security/security-advisories/working-with-global-security-advisories-from-the-github-advisory-database/about-global-security-advisories).\" For information about the API to manage security advisories, see [the REST API documentation](https://docs.github.com/enterprise-cloud@latest//rest/security-advisories/global-advisories) or [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#securityadvisory).\n\nGitHub Dependabot alerts are also powered by the security advisory dataset. For more information, see \"[About Dependabot alerts](https://docs.github.com/enterprise-cloud@latest//code-security/dependabot/dependabot-alerts/about-dependabot-alerts).\"", + "summary": "This event occurs when there is activity relating to a global security advisory that was reviewed by GitHub. A GitHub-reviewed global security advisory provides information about security vulnerabilities or malware that have been mapped to packages in ecosystems we support. For more information about global security advisories, see \"[About global security advisories](https://docs.github.com/enterprise-cloud@latest/code-security/security-advisories/working-with-global-security-advisories-from-the-github-advisory-database/about-global-security-advisories).\" For information about the API to manage security advisories, see [the REST API documentation](https://docs.github.com/enterprise-cloud@latest/rest/security-advisories/global-advisories) or [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest/graphql/reference/objects#securityadvisory).\n\nGitHub Dependabot alerts are also powered by the security advisory dataset. For more information, see \"[About Dependabot alerts](https://docs.github.com/enterprise-cloud@latest/code-security/dependabot/dependabot-alerts/about-dependabot-alerts).\"", "description": "The metadata or description of a security advisory was changed.", "operationId": "security-advisory/updated", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#security_advisory" + "url": "https://docs.github.com/enterprise-cloud@latest/webhooks/webhook-events-and-payloads#security_advisory" }, "parameters": [ { @@ -1454693,7 +1463256,7 @@ }, "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).\"", + "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": { @@ -1454761,7 +1463324,7 @@ }, "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).\"", + "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": { @@ -1456442,11 +1465005,11 @@ }, "security-advisory-withdrawn": { "post": { - "summary": "This event occurs when there is activity relating to a global security advisory that was reviewed by GitHub. A GitHub-reviewed global security advisory provides information about security vulnerabilities or malware that have been mapped to packages in ecosystems we support. For more information about global security advisories, see \"[About global security advisories](https://docs.github.com/enterprise-cloud@latest//code-security/security-advisories/working-with-global-security-advisories-from-the-github-advisory-database/about-global-security-advisories).\" For information about the API to manage security advisories, see [the REST API documentation](https://docs.github.com/enterprise-cloud@latest//rest/security-advisories/global-advisories) or [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#securityadvisory).\n\nGitHub Dependabot alerts are also powered by the security advisory dataset. For more information, see \"[About Dependabot alerts](https://docs.github.com/enterprise-cloud@latest//code-security/dependabot/dependabot-alerts/about-dependabot-alerts).\"", + "summary": "This event occurs when there is activity relating to a global security advisory that was reviewed by GitHub. A GitHub-reviewed global security advisory provides information about security vulnerabilities or malware that have been mapped to packages in ecosystems we support. For more information about global security advisories, see \"[About global security advisories](https://docs.github.com/enterprise-cloud@latest/code-security/security-advisories/working-with-global-security-advisories-from-the-github-advisory-database/about-global-security-advisories).\" For information about the API to manage security advisories, see [the REST API documentation](https://docs.github.com/enterprise-cloud@latest/rest/security-advisories/global-advisories) or [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest/graphql/reference/objects#securityadvisory).\n\nGitHub Dependabot alerts are also powered by the security advisory dataset. For more information, see \"[About Dependabot alerts](https://docs.github.com/enterprise-cloud@latest/code-security/dependabot/dependabot-alerts/about-dependabot-alerts).\"", "description": "A previously published security advisory was withdrawn.", "operationId": "security-advisory/withdrawn", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#security_advisory" + "url": "https://docs.github.com/enterprise-cloud@latest/webhooks/webhook-events-and-payloads#security_advisory" }, "parameters": [ { @@ -1456522,7 +1465085,7 @@ }, "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).\"", + "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": { @@ -1456590,7 +1465153,7 @@ }, "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).\"", + "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": { @@ -1458270,10 +1466833,10 @@ }, "security-and-analysis": { "post": { - "summary": "This event occurs when code security and analysis features are enabled or disabled for a repository. For more information, see \"[GitHub security features](https://docs.github.com/enterprise-cloud@latest//code-security/getting-started/github-security-features).\"\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Administration\" repository permission.", + "summary": "This event occurs when code security and analysis features are enabled or disabled for a repository. For more information, see \"[GitHub security features](https://docs.github.com/enterprise-cloud@latest/code-security/getting-started/github-security-features).\"\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Administration\" repository permission.", "operationId": "security-and-analysis", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#security_and_analysis" + "url": "https://docs.github.com/enterprise-cloud@latest/webhooks/webhook-events-and-payloads#security_and_analysis" }, "parameters": [ { @@ -1458521,7 +1467084,7 @@ }, "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).\"", + "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": { @@ -1458589,7 +1467152,7 @@ }, "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).\"", + "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": { @@ -1462106,11 +1470669,11 @@ }, "sponsorship-cancelled": { "post": { - "summary": "This event occurs when there is activity relating to a sponsorship listing. For more information, see \"[About GitHub Sponsors](https://docs.github.com/enterprise-cloud@latest//sponsors/getting-started-with-github-sponsors/about-github-sponsors).\" For information about the API to manage sponsors, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#sponsorship).\n\nYou can only create a sponsorship webhook on GitHub.com. For more information, see \"[Configuring webhooks for events in your sponsored account](https://docs.github.com/enterprise-cloud@latest//sponsors/integrating-with-github-sponsors/configuring-webhooks-for-events-in-your-sponsored-account).\"", + "summary": "This event occurs when there is activity relating to a sponsorship listing. For more information, see \"[About GitHub Sponsors](https://docs.github.com/enterprise-cloud@latest/sponsors/getting-started-with-github-sponsors/about-github-sponsors).\" For information about the API to manage sponsors, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest/graphql/reference/objects#sponsorship).\n\nYou can only create a sponsorship webhook on GitHub.com. For more information, see \"[Configuring webhooks for events in your sponsored account](https://docs.github.com/enterprise-cloud@latest/sponsors/integrating-with-github-sponsors/configuring-webhooks-for-events-in-your-sponsored-account).\"", "description": "A sponsorship was cancelled and the last billing cycle has ended.\n\nThis event is only sent when a recurring (monthly) sponsorship is cancelled; it is not sent for one-time sponsorships.", "operationId": "sponsorship/cancelled", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#sponsorship" + "url": "https://docs.github.com/enterprise-cloud@latest/webhooks/webhook-events-and-payloads#sponsorship" }, "parameters": [ { @@ -1462186,7 +1470749,7 @@ }, "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).\"", + "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": { @@ -1462254,7 +1470817,7 @@ }, "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).\"", + "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": { @@ -1464045,11 +1472608,11 @@ }, "sponsorship-created": { "post": { - "summary": "This event occurs when there is activity relating to a sponsorship listing. For more information, see \"[About GitHub Sponsors](https://docs.github.com/enterprise-cloud@latest//sponsors/getting-started-with-github-sponsors/about-github-sponsors).\" For information about the API to manage sponsors, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#sponsorship).\n\nYou can only create a sponsorship webhook on GitHub.com. For more information, see \"[Configuring webhooks for events in your sponsored account](https://docs.github.com/enterprise-cloud@latest//sponsors/integrating-with-github-sponsors/configuring-webhooks-for-events-in-your-sponsored-account).\"", + "summary": "This event occurs when there is activity relating to a sponsorship listing. For more information, see \"[About GitHub Sponsors](https://docs.github.com/enterprise-cloud@latest/sponsors/getting-started-with-github-sponsors/about-github-sponsors).\" For information about the API to manage sponsors, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest/graphql/reference/objects#sponsorship).\n\nYou can only create a sponsorship webhook on GitHub.com. For more information, see \"[Configuring webhooks for events in your sponsored account](https://docs.github.com/enterprise-cloud@latest/sponsors/integrating-with-github-sponsors/configuring-webhooks-for-events-in-your-sponsored-account).\"", "description": "A sponsor created a sponsorship for a sponsored account. This event occurs once the payment is successfully processed.", "operationId": "sponsorship/created", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#sponsorship" + "url": "https://docs.github.com/enterprise-cloud@latest/webhooks/webhook-events-and-payloads#sponsorship" }, "parameters": [ { @@ -1464125,7 +1472688,7 @@ }, "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).\"", + "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": { @@ -1464193,7 +1472756,7 @@ }, "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).\"", + "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": { @@ -1465984,11 +1474547,11 @@ }, "sponsorship-edited": { "post": { - "summary": "This event occurs when there is activity relating to a sponsorship listing. For more information, see \"[About GitHub Sponsors](https://docs.github.com/enterprise-cloud@latest//sponsors/getting-started-with-github-sponsors/about-github-sponsors).\" For information about the API to manage sponsors, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#sponsorship).\n\nYou can only create a sponsorship webhook on GitHub.com. For more information, see \"[Configuring webhooks for events in your sponsored account](https://docs.github.com/enterprise-cloud@latest//sponsors/integrating-with-github-sponsors/configuring-webhooks-for-events-in-your-sponsored-account).\"", + "summary": "This event occurs when there is activity relating to a sponsorship listing. For more information, see \"[About GitHub Sponsors](https://docs.github.com/enterprise-cloud@latest/sponsors/getting-started-with-github-sponsors/about-github-sponsors).\" For information about the API to manage sponsors, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest/graphql/reference/objects#sponsorship).\n\nYou can only create a sponsorship webhook on GitHub.com. For more information, see \"[Configuring webhooks for events in your sponsored account](https://docs.github.com/enterprise-cloud@latest/sponsors/integrating-with-github-sponsors/configuring-webhooks-for-events-in-your-sponsored-account).\"", "description": "A monthly sponsor changed who can see their sponsorship. If you recognize your sponsors publicly, you may want to update your sponsor recognition to reflect the change when this event occurs.", "operationId": "sponsorship/edited", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#sponsorship" + "url": "https://docs.github.com/enterprise-cloud@latest/webhooks/webhook-events-and-payloads#sponsorship" }, "parameters": [ { @@ -1466081,7 +1474644,7 @@ }, "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).\"", + "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": { @@ -1466149,7 +1474712,7 @@ }, "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).\"", + "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": { @@ -1467941,11 +1476504,11 @@ }, "sponsorship-pending-cancellation": { "post": { - "summary": "This event occurs when there is activity relating to a sponsorship listing. For more information, see \"[About GitHub Sponsors](https://docs.github.com/enterprise-cloud@latest//sponsors/getting-started-with-github-sponsors/about-github-sponsors).\" For information about the API to manage sponsors, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#sponsorship).\n\nYou can only create a sponsorship webhook on GitHub.com. For more information, see \"[Configuring webhooks for events in your sponsored account](https://docs.github.com/enterprise-cloud@latest//sponsors/integrating-with-github-sponsors/configuring-webhooks-for-events-in-your-sponsored-account).\"", + "summary": "This event occurs when there is activity relating to a sponsorship listing. For more information, see \"[About GitHub Sponsors](https://docs.github.com/enterprise-cloud@latest/sponsors/getting-started-with-github-sponsors/about-github-sponsors).\" For information about the API to manage sponsors, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest/graphql/reference/objects#sponsorship).\n\nYou can only create a sponsorship webhook on GitHub.com. For more information, see \"[Configuring webhooks for events in your sponsored account](https://docs.github.com/enterprise-cloud@latest/sponsors/integrating-with-github-sponsors/configuring-webhooks-for-events-in-your-sponsored-account).\"", "description": "A sponsor scheduled a cancellation for their sponsorship. The cancellation will become effective on their next billing date.\n\nThis event is only sent when a recurring (monthly) sponsorship is cancelled; it is not sent for one-time sponsorships.", "operationId": "sponsorship/pending-cancellation", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#sponsorship" + "url": "https://docs.github.com/enterprise-cloud@latest/webhooks/webhook-events-and-payloads#sponsorship" }, "parameters": [ { @@ -1468025,7 +1476588,7 @@ }, "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).\"", + "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": { @@ -1468093,7 +1476656,7 @@ }, "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).\"", + "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": { @@ -1469884,11 +1478447,11 @@ }, "sponsorship-pending-tier-change": { "post": { - "summary": "This event occurs when there is activity relating to a sponsorship listing. For more information, see \"[About GitHub Sponsors](https://docs.github.com/enterprise-cloud@latest//sponsors/getting-started-with-github-sponsors/about-github-sponsors).\" For information about the API to manage sponsors, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#sponsorship).\n\nYou can only create a sponsorship webhook on GitHub.com. For more information, see \"[Configuring webhooks for events in your sponsored account](https://docs.github.com/enterprise-cloud@latest//sponsors/integrating-with-github-sponsors/configuring-webhooks-for-events-in-your-sponsored-account).\"", + "summary": "This event occurs when there is activity relating to a sponsorship listing. For more information, see \"[About GitHub Sponsors](https://docs.github.com/enterprise-cloud@latest/sponsors/getting-started-with-github-sponsors/about-github-sponsors).\" For information about the API to manage sponsors, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest/graphql/reference/objects#sponsorship).\n\nYou can only create a sponsorship webhook on GitHub.com. For more information, see \"[Configuring webhooks for events in your sponsored account](https://docs.github.com/enterprise-cloud@latest/sponsors/integrating-with-github-sponsors/configuring-webhooks-for-events-in-your-sponsored-account).\"", "description": "A sponsor scheduled a downgrade to a lower sponsorship tier. The new tier will become effective on their next billing date.", "operationId": "sponsorship/pending-tier-change", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#sponsorship" + "url": "https://docs.github.com/enterprise-cloud@latest/webhooks/webhook-events-and-payloads#sponsorship" }, "parameters": [ { @@ -1470027,7 +1478590,7 @@ }, "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).\"", + "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": { @@ -1470095,7 +1478658,7 @@ }, "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).\"", + "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": { @@ -1471887,11 +1480450,11 @@ }, "sponsorship-tier-changed": { "post": { - "summary": "This event occurs when there is activity relating to a sponsorship listing. For more information, see \"[About GitHub Sponsors](https://docs.github.com/enterprise-cloud@latest//sponsors/getting-started-with-github-sponsors/about-github-sponsors).\" For information about the API to manage sponsors, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#sponsorship).\n\nYou can only create a sponsorship webhook on GitHub.com. For more information, see \"[Configuring webhooks for events in your sponsored account](https://docs.github.com/enterprise-cloud@latest//sponsors/integrating-with-github-sponsors/configuring-webhooks-for-events-in-your-sponsored-account).\"", + "summary": "This event occurs when there is activity relating to a sponsorship listing. For more information, see \"[About GitHub Sponsors](https://docs.github.com/enterprise-cloud@latest/sponsors/getting-started-with-github-sponsors/about-github-sponsors).\" For information about the API to manage sponsors, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest/graphql/reference/objects#sponsorship).\n\nYou can only create a sponsorship webhook on GitHub.com. For more information, see \"[Configuring webhooks for events in your sponsored account](https://docs.github.com/enterprise-cloud@latest/sponsors/integrating-with-github-sponsors/configuring-webhooks-for-events-in-your-sponsored-account).\"", "description": "A sponsor changed the tier of their sponsorship and the change has taken effect. If a sponsor upgraded their tier, the change took effect immediately. If a sponsor downgraded their tier, the change took effect at the beginning of the sponsor's next billing cycle.", "operationId": "sponsorship/tier-changed", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#sponsorship" + "url": "https://docs.github.com/enterprise-cloud@latest/webhooks/webhook-events-and-payloads#sponsorship" }, "parameters": [ { @@ -1472026,7 +1480589,7 @@ }, "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).\"", + "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": { @@ -1472094,7 +1480657,7 @@ }, "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).\"", + "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": { @@ -1473886,11 +1482449,11 @@ }, "star-created": { "post": { - "summary": "This event occurs when there is activity relating to repository stars. For more information about stars, see \"[Saving repositories with stars](https://docs.github.com/enterprise-cloud@latest//get-started/exploring-projects-on-github/saving-repositories-with-stars).\" For information about the APIs to manage stars, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#starredrepositoryconnection) or \"[Starring](https://docs.github.com/enterprise-cloud@latest//rest/activity/starring)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Metadata\" repository permission.", + "summary": "This event occurs when there is activity relating to repository stars. For more information about stars, see \"[Saving repositories with stars](https://docs.github.com/enterprise-cloud@latest/get-started/exploring-projects-on-github/saving-repositories-with-stars).\" For information about the APIs to manage stars, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest/graphql/reference/objects#starredrepositoryconnection) or \"[Starring](https://docs.github.com/enterprise-cloud@latest/rest/activity/starring)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Metadata\" repository permission.", "description": "Someone starred a repository.", "operationId": "star/created", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#star" + "url": "https://docs.github.com/enterprise-cloud@latest/webhooks/webhook-events-and-payloads#star" }, "parameters": [ { @@ -1473966,7 +1482529,7 @@ }, "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).\"", + "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": { @@ -1474034,7 +1482597,7 @@ }, "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).\"", + "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": { @@ -1475516,11 +1484079,11 @@ }, "star-deleted": { "post": { - "summary": "This event occurs when there is activity relating to repository stars. For more information about stars, see \"[Saving repositories with stars](https://docs.github.com/enterprise-cloud@latest//get-started/exploring-projects-on-github/saving-repositories-with-stars).\" For information about the APIs to manage stars, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#starredrepositoryconnection) or \"[Starring](https://docs.github.com/enterprise-cloud@latest//rest/activity/starring)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Metadata\" repository permission.", + "summary": "This event occurs when there is activity relating to repository stars. For more information about stars, see \"[Saving repositories with stars](https://docs.github.com/enterprise-cloud@latest/get-started/exploring-projects-on-github/saving-repositories-with-stars).\" For information about the APIs to manage stars, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest/graphql/reference/objects#starredrepositoryconnection) or \"[Starring](https://docs.github.com/enterprise-cloud@latest/rest/activity/starring)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Metadata\" repository permission.", "description": "Someone unstarred the repository.", "operationId": "star/deleted", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#star" + "url": "https://docs.github.com/enterprise-cloud@latest/webhooks/webhook-events-and-payloads#star" }, "parameters": [ { @@ -1475596,7 +1484159,7 @@ }, "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).\"", + "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": { @@ -1475664,7 +1484227,7 @@ }, "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).\"", + "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": { @@ -1477145,10 +1485708,10 @@ }, "status": { "post": { - "summary": "This event occurs when the status of a Git commit changes. For example, commits can be marked as `error`, `failure`, `pending`, or `success`. For more information, see \"[About status checks](https://docs.github.com/enterprise-cloud@latest//pull-requests/collaborating-with-pull-requests/collaborating-on-repositories-with-code-quality-features/about-status-checks).\" For information about the APIs to manage commit statuses, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#status) or \"[Commit statuses](https://docs.github.com/enterprise-cloud@latest//rest/commits/statuses)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Commit statuses\" repository permission.", + "summary": "This event occurs when the status of a Git commit changes. For example, commits can be marked as `error`, `failure`, `pending`, or `success`. For more information, see \"[About status checks](https://docs.github.com/enterprise-cloud@latest/pull-requests/collaborating-with-pull-requests/collaborating-on-repositories-with-code-quality-features/about-status-checks).\" For information about the APIs to manage commit statuses, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest/graphql/reference/objects#status) or \"[Commit statuses](https://docs.github.com/enterprise-cloud@latest/rest/commits/statuses)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Commit statuses\" repository permission.", "operationId": "status", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#status" + "url": "https://docs.github.com/enterprise-cloud@latest/webhooks/webhook-events-and-payloads#status" }, "parameters": [ { @@ -1477689,7 +1486252,7 @@ }, "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).\"", + "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": { @@ -1477761,7 +1486324,7 @@ }, "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).\"", + "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": { @@ -1479276,7 +1487839,7 @@ "description": "A parent issue was added to an issue.", "operationId": "sub-issues/parent-issue-added", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#sub-issues" + "url": "https://docs.github.com/enterprise-cloud@latest/webhooks/webhook-events-and-payloads#sub-issues" }, "parameters": [ { @@ -1486016,7 +1494579,7 @@ }, "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).\"", + "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": { @@ -1487499,7 +1496062,7 @@ "description": "A parent issue was removed from an issue.", "operationId": "sub-issues/parent-issue-removed", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#sub-issues" + "url": "https://docs.github.com/enterprise-cloud@latest/webhooks/webhook-events-and-payloads#sub-issues" }, "parameters": [ { @@ -1494239,7 +1502802,7 @@ }, "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).\"", + "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": { @@ -1495722,7 +1504285,7 @@ "description": "A sub-issue was added to an issue.", "operationId": "sub-issues/sub-issue-added", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#sub-issues" + "url": "https://docs.github.com/enterprise-cloud@latest/webhooks/webhook-events-and-payloads#sub-issues" }, "parameters": [ { @@ -1502462,7 +1511025,7 @@ }, "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).\"", + "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": { @@ -1503945,7 +1512508,7 @@ "description": "A sub-issue was removed from an issue.", "operationId": "sub-issues/sub-issue-removed", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#sub-issues" + "url": "https://docs.github.com/enterprise-cloud@latest/webhooks/webhook-events-and-payloads#sub-issues" }, "parameters": [ { @@ -1510685,7 +1519248,7 @@ }, "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).\"", + "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": { @@ -1512164,10 +1520727,10 @@ }, "team-add": { "post": { - "summary": "This event occurs when a team is added to a repository.\nFor more information, see \"[Managing teams and people with access to your repository](https://docs.github.com/enterprise-cloud@latest//repositories/managing-your-repositorys-settings-and-features/managing-repository-settings/managing-teams-and-people-with-access-to-your-repository).\"\n\nFor activity relating to teams, see the `teams` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Members\" organization permission.", + "summary": "This event occurs when a team is added to a repository.\nFor more information, see \"[Managing teams and people with access to your repository](https://docs.github.com/enterprise-cloud@latest/repositories/managing-your-repositorys-settings-and-features/managing-repository-settings/managing-teams-and-people-with-access-to-your-repository).\"\n\nFor activity relating to teams, see the `teams` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Members\" organization permission.", "operationId": "team-add", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#team_add" + "url": "https://docs.github.com/enterprise-cloud@latest/webhooks/webhook-events-and-payloads#team_add" }, "parameters": [ { @@ -1512237,7 +1520800,7 @@ "properties": { "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).\"", + "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": { @@ -1512305,7 +1520868,7 @@ }, "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).\"", + "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": { @@ -1513964,11 +1522527,11 @@ }, "team-added-to-repository": { "post": { - "summary": "This event occurs when there is activity relating to teams in an organization.\nFor more information, see \"[About teams](https://docs.github.com/enterprise-cloud@latest//organizations/organizing-members-into-teams/about-teams).\"\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Members\" organization permission.", + "summary": "This event occurs when there is activity relating to teams in an organization.\nFor more information, see \"[About teams](https://docs.github.com/enterprise-cloud@latest/organizations/organizing-members-into-teams/about-teams).\"\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Members\" organization permission.", "description": "A team was granted access to a repository.", "operationId": "team/added-to-repository", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#team" + "url": "https://docs.github.com/enterprise-cloud@latest/webhooks/webhook-events-and-payloads#team" }, "parameters": [ { @@ -1514044,7 +1522607,7 @@ }, "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).\"", + "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": { @@ -1514112,7 +1522675,7 @@ }, "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).\"", + "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": { @@ -1515137,11 +1523700,11 @@ }, "team-created": { "post": { - "summary": "This event occurs when there is activity relating to teams in an organization.\nFor more information, see \"[About teams](https://docs.github.com/enterprise-cloud@latest//organizations/organizing-members-into-teams/about-teams).\"\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Members\" organization permission.", + "summary": "This event occurs when there is activity relating to teams in an organization.\nFor more information, see \"[About teams](https://docs.github.com/enterprise-cloud@latest/organizations/organizing-members-into-teams/about-teams).\"\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Members\" organization permission.", "description": "A team was created.", "operationId": "team/created", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#team" + "url": "https://docs.github.com/enterprise-cloud@latest/webhooks/webhook-events-and-payloads#team" }, "parameters": [ { @@ -1515217,7 +1523780,7 @@ }, "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).\"", + "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": { @@ -1515285,7 +1523848,7 @@ }, "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).\"", + "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": { @@ -1516311,11 +1524874,11 @@ }, "team-deleted": { "post": { - "summary": "This event occurs when there is activity relating to teams in an organization.\nFor more information, see \"[About teams](https://docs.github.com/enterprise-cloud@latest//organizations/organizing-members-into-teams/about-teams).\"\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Members\" organization permission.", + "summary": "This event occurs when there is activity relating to teams in an organization.\nFor more information, see \"[About teams](https://docs.github.com/enterprise-cloud@latest/organizations/organizing-members-into-teams/about-teams).\"\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Members\" organization permission.", "description": "A team was deleted.", "operationId": "team/deleted", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#team" + "url": "https://docs.github.com/enterprise-cloud@latest/webhooks/webhook-events-and-payloads#team" }, "parameters": [ { @@ -1516391,7 +1524954,7 @@ }, "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).\"", + "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": { @@ -1516459,7 +1525022,7 @@ }, "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).\"", + "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": { @@ -1517484,11 +1526047,11 @@ }, "team-edited": { "post": { - "summary": "This event occurs when there is activity relating to teams in an organization.\nFor more information, see \"[About teams](https://docs.github.com/enterprise-cloud@latest//organizations/organizing-members-into-teams/about-teams).\"\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Members\" organization permission.", + "summary": "This event occurs when there is activity relating to teams in an organization.\nFor more information, see \"[About teams](https://docs.github.com/enterprise-cloud@latest/organizations/organizing-members-into-teams/about-teams).\"\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Members\" organization permission.", "description": "The name, description, or visibility of a team was changed.", "operationId": "team/edited", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#team" + "url": "https://docs.github.com/enterprise-cloud@latest/webhooks/webhook-events-and-payloads#team" }, "parameters": [ { @@ -1517651,7 +1526214,7 @@ }, "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).\"", + "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": { @@ -1517719,7 +1526282,7 @@ }, "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).\"", + "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": { @@ -1518746,11 +1527309,11 @@ }, "team-removed-from-repository": { "post": { - "summary": "This event occurs when there is activity relating to teams in an organization.\nFor more information, see \"[About teams](https://docs.github.com/enterprise-cloud@latest//organizations/organizing-members-into-teams/about-teams).\"\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Members\" organization permission.", + "summary": "This event occurs when there is activity relating to teams in an organization.\nFor more information, see \"[About teams](https://docs.github.com/enterprise-cloud@latest/organizations/organizing-members-into-teams/about-teams).\"\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Members\" organization permission.", "description": "A team's access to a repository was removed.", "operationId": "team/removed-from-repository", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#team" + "url": "https://docs.github.com/enterprise-cloud@latest/webhooks/webhook-events-and-payloads#team" }, "parameters": [ { @@ -1518826,7 +1527389,7 @@ }, "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).\"", + "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": { @@ -1518894,7 +1527457,7 @@ }, "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).\"", + "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": { @@ -1519920,11 +1528483,11 @@ }, "watch-started": { "post": { - "summary": "This event occurs when there is activity relating to watching, or subscribing to, a repository. For more information about watching, see \"[Managing your subscriptions](https://docs.github.com/enterprise-cloud@latest//account-and-profile/managing-subscriptions-and-notifications-on-github/managing-subscriptions-for-activity-on-github/managing-your-subscriptions).\" For information about the APIs to manage watching, see \"[Watching](https://docs.github.com/enterprise-cloud@latest//rest/activity/watching)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Metadata\" repository permission.", + "summary": "This event occurs when there is activity relating to watching, or subscribing to, a repository. For more information about watching, see \"[Managing your subscriptions](https://docs.github.com/enterprise-cloud@latest/account-and-profile/managing-subscriptions-and-notifications-on-github/managing-subscriptions-for-activity-on-github/managing-your-subscriptions).\" For information about the APIs to manage watching, see \"[Watching](https://docs.github.com/enterprise-cloud@latest/rest/activity/watching)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Metadata\" repository permission.", "description": "Someone started watching the repository.", "operationId": "watch/started", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#watch" + "url": "https://docs.github.com/enterprise-cloud@latest/webhooks/webhook-events-and-payloads#watch" }, "parameters": [ { @@ -1520000,7 +1528563,7 @@ }, "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).\"", + "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": { @@ -1520068,7 +1528631,7 @@ }, "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).\"", + "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": { @@ -1521544,10 +1530107,10 @@ }, "workflow-dispatch": { "post": { - "summary": "This event occurs when a GitHub Actions workflow is manually triggered. For more information, see \"[Manually running a workflow](https://docs.github.com/enterprise-cloud@latest//actions/managing-workflow-runs/manually-running-a-workflow).\"\n\nFor activity relating to workflow runs, use the `workflow_run` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Contents\" repository permission.", + "summary": "This event occurs when a GitHub Actions workflow is manually triggered. For more information, see \"[Manually running a workflow](https://docs.github.com/enterprise-cloud@latest/actions/managing-workflow-runs/manually-running-a-workflow).\"\n\nFor activity relating to workflow runs, use the `workflow_run` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Contents\" repository permission.", "operationId": "workflow-dispatch", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#workflow_dispatch" + "url": "https://docs.github.com/enterprise-cloud@latest/webhooks/webhook-events-and-payloads#workflow_dispatch" }, "parameters": [ { @@ -1521617,7 +1530180,7 @@ "properties": { "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).\"", + "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": { @@ -1521690,7 +1530253,7 @@ }, "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).\"", + "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": { @@ -1523172,11 +1531735,11 @@ }, "workflow-job-completed": { "post": { - "summary": "This event occurs when there is activity relating to a job in a GitHub Actions workflow. For more information, see \"[Using jobs in a workflow](https://docs.github.com/enterprise-cloud@latest//actions/using-jobs/using-jobs-in-a-workflow).\" For information about the API to manage workflow jobs, see \"[Workflow jobs](https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-jobs)\" in the REST API documentation.\n\nFor activity relating to a workflow run instead of a job in a workflow run, use the `workflow_run` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Actions\" repository permission.", + "summary": "This event occurs when there is activity relating to a job in a GitHub Actions workflow. For more information, see \"[Using jobs in a workflow](https://docs.github.com/enterprise-cloud@latest/actions/using-jobs/using-jobs-in-a-workflow).\" For information about the API to manage workflow jobs, see \"[Workflow jobs](https://docs.github.com/enterprise-cloud@latest/rest/actions/workflow-jobs)\" in the REST API documentation.\n\nFor activity relating to a workflow run instead of a job in a workflow run, use the `workflow_run` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Actions\" repository permission.", "description": "A job in a workflow run finished. This event occurs when a job in a workflow is completed, regardless of whether the job was successful or unsuccessful.", "operationId": "workflow-job/completed", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#workflow_job" + "url": "https://docs.github.com/enterprise-cloud@latest/webhooks/webhook-events-and-payloads#workflow_job" }, "parameters": [ { @@ -1523252,7 +1531815,7 @@ }, "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).\"", + "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": { @@ -1523320,7 +1531883,7 @@ }, "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).\"", + "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": { @@ -1524811,7 +1533374,7 @@ "type": "integer" }, "labels": { - "description": "Custom labels for the job. Specified by the [`\"runs-on\"` attribute](https://docs.github.com/enterprise-cloud@latest//actions/reference/workflow-syntax-for-github-actions#jobsjob_idruns-on) in the workflow YAML.", + "description": "Custom labels for the job. Specified by the [`\"runs-on\"` attribute](https://docs.github.com/enterprise-cloud@latest/actions/reference/workflow-syntax-for-github-actions#jobsjob_idruns-on) in the workflow YAML.", "type": "array", "items": { "type": "string" @@ -1525634,11 +1534197,11 @@ }, "workflow-job-in-progress": { "post": { - "summary": "This event occurs when there is activity relating to a job in a GitHub Actions workflow. For more information, see \"[Using jobs in a workflow](https://docs.github.com/enterprise-cloud@latest//actions/using-jobs/using-jobs-in-a-workflow).\" For information about the API to manage workflow jobs, see \"[Workflow jobs](https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-jobs)\" in the REST API documentation.\n\nFor activity relating to a workflow run instead of a job in a workflow run, use the `workflow_run` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Actions\" repository permission.", + "summary": "This event occurs when there is activity relating to a job in a GitHub Actions workflow. For more information, see \"[Using jobs in a workflow](https://docs.github.com/enterprise-cloud@latest/actions/using-jobs/using-jobs-in-a-workflow).\" For information about the API to manage workflow jobs, see \"[Workflow jobs](https://docs.github.com/enterprise-cloud@latest/rest/actions/workflow-jobs)\" in the REST API documentation.\n\nFor activity relating to a workflow run instead of a job in a workflow run, use the `workflow_run` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Actions\" repository permission.", "description": "A job in a workflow run started processing on a runner.", "operationId": "workflow-job/in-progress", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#workflow_job" + "url": "https://docs.github.com/enterprise-cloud@latest/webhooks/webhook-events-and-payloads#workflow_job" }, "parameters": [ { @@ -1525714,7 +1534277,7 @@ }, "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).\"", + "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": { @@ -1525782,7 +1534345,7 @@ }, "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).\"", + "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": { @@ -1527270,7 +1535833,7 @@ "type": "integer" }, "labels": { - "description": "Custom labels for the job. Specified by the [`\"runs-on\"` attribute](https://docs.github.com/enterprise-cloud@latest//actions/reference/workflow-syntax-for-github-actions#jobsjob_idruns-on) in the workflow YAML.", + "description": "Custom labels for the job. Specified by the [`\"runs-on\"` attribute](https://docs.github.com/enterprise-cloud@latest/actions/reference/workflow-syntax-for-github-actions#jobsjob_idruns-on) in the workflow YAML.", "type": "array", "items": { "type": "string" @@ -1528128,11 +1536691,11 @@ }, "workflow-job-queued": { "post": { - "summary": "This event occurs when there is activity relating to a job in a GitHub Actions workflow. For more information, see \"[Using jobs in a workflow](https://docs.github.com/enterprise-cloud@latest//actions/using-jobs/using-jobs-in-a-workflow).\" For information about the API to manage workflow jobs, see \"[Workflow jobs](https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-jobs)\" in the REST API documentation.\n\nFor activity relating to a workflow run instead of a job in a workflow run, use the `workflow_run` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Actions\" repository permission.", + "summary": "This event occurs when there is activity relating to a job in a GitHub Actions workflow. For more information, see \"[Using jobs in a workflow](https://docs.github.com/enterprise-cloud@latest/actions/using-jobs/using-jobs-in-a-workflow).\" For information about the API to manage workflow jobs, see \"[Workflow jobs](https://docs.github.com/enterprise-cloud@latest/rest/actions/workflow-jobs)\" in the REST API documentation.\n\nFor activity relating to a workflow run instead of a job in a workflow run, use the `workflow_run` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Actions\" repository permission.", "description": "A job in a workflow run was created.", "operationId": "workflow-job/queued", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#workflow_job" + "url": "https://docs.github.com/enterprise-cloud@latest/webhooks/webhook-events-and-payloads#workflow_job" }, "parameters": [ { @@ -1528208,7 +1536771,7 @@ }, "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).\"", + "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": { @@ -1528276,7 +1536839,7 @@ }, "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).\"", + "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": { @@ -1530467,11 +1539030,11 @@ }, "workflow-job-waiting": { "post": { - "summary": "This event occurs when there is activity relating to a job in a GitHub Actions workflow. For more information, see \"[Using jobs in a workflow](https://docs.github.com/enterprise-cloud@latest//actions/using-jobs/using-jobs-in-a-workflow).\" For information about the API to manage workflow jobs, see \"[Workflow jobs](https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-jobs)\" in the REST API documentation.\n\nFor activity relating to a workflow run instead of a job in a workflow run, use the `workflow_run` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Actions\" repository permission.", + "summary": "This event occurs when there is activity relating to a job in a GitHub Actions workflow. For more information, see \"[Using jobs in a workflow](https://docs.github.com/enterprise-cloud@latest/actions/using-jobs/using-jobs-in-a-workflow).\" For information about the API to manage workflow jobs, see \"[Workflow jobs](https://docs.github.com/enterprise-cloud@latest/rest/actions/workflow-jobs)\" in the REST API documentation.\n\nFor activity relating to a workflow run instead of a job in a workflow run, use the `workflow_run` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Actions\" repository permission.", "description": "A job in a workflow run was created and is waiting for approvals.", "operationId": "workflow-job/waiting", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#workflow_job" + "url": "https://docs.github.com/enterprise-cloud@latest/webhooks/webhook-events-and-payloads#workflow_job" }, "parameters": [ { @@ -1530547,7 +1539110,7 @@ }, "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).\"", + "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": { @@ -1530615,7 +1539178,7 @@ }, "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).\"", + "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": { @@ -1532807,11 +1541370,11 @@ }, "workflow-run-completed": { "post": { - "summary": "This event occurs when there is activity relating to a run of a GitHub Actions workflow. For more information, see \"[About workflows](https://docs.github.com/enterprise-cloud@latest//actions/using-workflows/about-workflows).\" For information about the APIs to manage workflow runs, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#workflowrun) or \"[Workflow runs](https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs)\" in the REST API documentation.\n\nFor activity relating to a job in a workflow run, use the `workflow_job` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Actions\" repository permission.", + "summary": "This event occurs when there is activity relating to a run of a GitHub Actions workflow. For more information, see \"[About workflows](https://docs.github.com/enterprise-cloud@latest/actions/using-workflows/about-workflows).\" For information about the APIs to manage workflow runs, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest/graphql/reference/objects#workflowrun) or \"[Workflow runs](https://docs.github.com/enterprise-cloud@latest/rest/actions/workflow-runs)\" in the REST API documentation.\n\nFor activity relating to a job in a workflow run, use the `workflow_job` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Actions\" repository permission.", "description": "A workflow run finished. This event occurs when a workflow run is completed, regardless of whether the workflow was successful or unsuccessful.", "operationId": "workflow-run/completed", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#workflow_run" + "url": "https://docs.github.com/enterprise-cloud@latest/webhooks/webhook-events-and-payloads#workflow_run" }, "parameters": [ { @@ -1532887,7 +1541450,7 @@ }, "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).\"", + "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": { @@ -1532955,7 +1541518,7 @@ }, "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).\"", + "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": { @@ -1535695,11 +1544258,11 @@ }, "workflow-run-in-progress": { "post": { - "summary": "This event occurs when there is activity relating to a run of a GitHub Actions workflow. For more information, see \"[About workflows](https://docs.github.com/enterprise-cloud@latest//actions/using-workflows/about-workflows).\" For information about the APIs to manage workflow runs, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#workflowrun) or \"[Workflow runs](https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs)\" in the REST API documentation.\n\nFor activity relating to a job in a workflow run, use the `workflow_job` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Actions\" repository permission.", + "summary": "This event occurs when there is activity relating to a run of a GitHub Actions workflow. For more information, see \"[About workflows](https://docs.github.com/enterprise-cloud@latest/actions/using-workflows/about-workflows).\" For information about the APIs to manage workflow runs, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest/graphql/reference/objects#workflowrun) or \"[Workflow runs](https://docs.github.com/enterprise-cloud@latest/rest/actions/workflow-runs)\" in the REST API documentation.\n\nFor activity relating to a job in a workflow run, use the `workflow_job` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Actions\" repository permission.", "description": "A workflow run started processing on a runner.", "operationId": "workflow-run/in-progress", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#workflow_run" + "url": "https://docs.github.com/enterprise-cloud@latest/webhooks/webhook-events-and-payloads#workflow_run" }, "parameters": [ { @@ -1535775,7 +1544338,7 @@ }, "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).\"", + "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": { @@ -1535843,7 +1544406,7 @@ }, "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).\"", + "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": { @@ -1538565,11 +1547128,11 @@ }, "workflow-run-requested": { "post": { - "summary": "This event occurs when there is activity relating to a run of a GitHub Actions workflow. For more information, see \"[About workflows](https://docs.github.com/enterprise-cloud@latest//actions/using-workflows/about-workflows).\" For information about the APIs to manage workflow runs, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#workflowrun) or \"[Workflow runs](https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs)\" in the REST API documentation.\n\nFor activity relating to a job in a workflow run, use the `workflow_job` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Actions\" repository permission.", + "summary": "This event occurs when there is activity relating to a run of a GitHub Actions workflow. For more information, see \"[About workflows](https://docs.github.com/enterprise-cloud@latest/actions/using-workflows/about-workflows).\" For information about the APIs to manage workflow runs, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest/graphql/reference/objects#workflowrun) or \"[Workflow runs](https://docs.github.com/enterprise-cloud@latest/rest/actions/workflow-runs)\" in the REST API documentation.\n\nFor activity relating to a job in a workflow run, use the `workflow_job` event.\n\nTo subscribe to this event, a GitHub App must {"code":"deadline_exceeded","msg":"operation timed out"}