diff --git a/descriptions-next/api.github.com/api.github.com.2022-11-28.json b/descriptions-next/api.github.com/api.github.com.2022-11-28.json index 5e80a30bd..a0d941b1b 100644 --- a/descriptions-next/api.github.com/api.github.com.2022-11-28.json +++ b/descriptions-next/api.github.com/api.github.com.2022-11-28.json @@ -18155,6 +18155,473 @@ } } }, + "/orgs/{org}/private-registries": { + "get": { + "summary": "List private registries for an organization", + "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nLists all private registry configurations available at the organization-level without revealing their encrypted\nvalues.\n\nOAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint.", + "tags": [ + "private-registries" + ], + "operationId": "private-registries/list-org-private-registries", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/private-registries/organization-configurations#list-private-registries-for-an-organization" + }, + "parameters": [ + { + "$ref": "#/components/parameters/org" + }, + { + "$ref": "#/components/parameters/per-page" + }, + { + "$ref": "#/components/parameters/page" + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "total_count", + "configurations" + ], + "properties": { + "total_count": { + "type": "integer" + }, + "configurations": { + "type": "array", + "items": { + "$ref": "#/components/schemas/org-private-registry-configuration" + } + } + } + }, + "examples": { + "default": { + "$ref": "#/components/examples/org-private-registry-configurations-paginated" + } + } + } + }, + "headers": { + "Link": { + "$ref": "#/components/headers/link" + } + } + }, + "400": { + "$ref": "#/components/responses/bad_request" + }, + "404": { + "$ref": "#/components/responses/not_found" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "private-registries", + "subcategory": "organization-configurations" + } + }, + "post": { + "summary": "Create a private registry for an organization", + "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\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/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": [ + "private-registries" + ], + "operationId": "private-registries/create-org-private-registry", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/private-registries/organization-configurations#create-a-private-registry-for-an-organization" + }, + "parameters": [ + { + "$ref": "#/components/parameters/org" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "registry_type": { + "description": "The registry type.", + "type": "string", + "enum": [ + "maven_repository" + ] + }, + "username": { + "description": "The username to use when authenticating with the private registry. This field should be omitted if the private registry does not require a username for authentication.", + "type": [ + "string", + "null" + ] + }, + "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/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})$" + }, + "key_id": { + "description": "The ID of the key you used to encrypt the secret.", + "type": "string" + }, + "visibility": { + "description": "Which type of organization repositories have access to the private registry. `selected` means only the repositories specified by `selected_repository_ids` can access the private registry.", + "type": "string", + "enum": [ + "all", + "private", + "selected" + ] + }, + "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/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" + } + } + }, + "required": [ + "registry_type", + "encrypted_value", + "key_id", + "visibility" + ] + }, + "examples": { + "org-private-registry-with-private-visibility": { + "summary": "Example of a private registry configuration with private visibility", + "value": { + "registry_type": "maven_repository", + "username": "monalisa", + "encrypted_value": "c2VjcmV0", + "key_id": "012345678912345678", + "visibility": "private" + } + }, + "org-private-registry-with-selected-visibility": { + "summary": "Example of a private registry configuration with selected visibility", + "value": { + "registry_type": "maven_repository", + "username": "monalisa", + "encrypted_value": "c2VjcmV0", + "key_id": "012345678912345678", + "visibility": "selected", + "selected_repository_ids": [ + 1296269, + 1296280 + ] + } + } + } + } + } + }, + "responses": { + "201": { + "description": "The organization private registry configuration", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/org-private-registry-configuration-with-selected-repositories" + }, + "examples": { + "org-private-registry-with-selected-visibility": { + "$ref": "#/components/examples/org-private-registry-configuration" + }, + "org-private-registry-with-private-visibility": { + "$ref": "#/components/examples/org-private-registry-configuration-with-selected-repositories" + } + } + } + } + }, + "404": { + "$ref": "#/components/responses/not_found" + }, + "422": { + "$ref": "#/components/responses/validation_failed" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "private-registries", + "subcategory": "organization-configurations" + } + } + }, + "/orgs/{org}/private-registries/public-key": { + "get": { + "summary": "Get private registries public key for an organization", + "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nGets the org public key, which is needed to encrypt private registry secrets. You need to encrypt a secret before you can create or update secrets.\n\nOAuth tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint.", + "tags": [ + "private-registries" + ], + "operationId": "private-registries/get-org-public-key", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/private-registries/organization-configurations#get-private-registries-public-key-for-an-organization" + }, + "parameters": [ + { + "$ref": "#/components/parameters/org" + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "key_id", + "key" + ], + "properties": { + "key_id": { + "description": "The identifier for the key.", + "type": "string", + "examples": [ + "012345678912345678" + ] + }, + "key": { + "description": "The Base64 encoded public key.", + "type": "string", + "examples": [ + "2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234" + ] + } + } + }, + "examples": { + "default": { + "$ref": "#/components/examples/private-registries-public-key" + } + } + } + }, + "headers": { + "Link": { + "$ref": "#/components/headers/link" + } + } + }, + "404": { + "$ref": "#/components/responses/not_found" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "private-registries", + "subcategory": "organization-configurations" + } + } + }, + "/orgs/{org}/private-registries/{secret_name}": { + "get": { + "summary": "Get a private registry for an organization", + "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nGet the configuration of a single private registry defined for an organization, omitting its encrypted value.\n\nOAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint.", + "tags": [ + "private-registries" + ], + "operationId": "private-registries/get-org-private-registry", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/private-registries/organization-configurations#get-a-private-registry-for-an-organization" + }, + "parameters": [ + { + "$ref": "#/components/parameters/org" + }, + { + "$ref": "#/components/parameters/secret-name" + } + ], + "responses": { + "200": { + "description": "The specified private registry configuration for the organization", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/org-private-registry-configuration" + }, + "examples": { + "default": { + "$ref": "#/components/examples/org-private-registry-configuration" + } + } + } + } + }, + "404": { + "$ref": "#/components/responses/not_found" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "private-registries", + "subcategory": "organization-configurations" + } + }, + "patch": { + "summary": "Update a private registry for an organization", + "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\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/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": [ + "private-registries" + ], + "operationId": "private-registries/update-org-private-registry", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/private-registries/organization-configurations#update-a-private-registry-for-an-organization" + }, + "parameters": [ + { + "$ref": "#/components/parameters/org" + }, + { + "$ref": "#/components/parameters/secret-name" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "registry_type": { + "description": "The registry type.", + "type": "string", + "enum": [ + "maven_repository" + ] + }, + "username": { + "description": "The username to use when authenticating with the private registry. This field should be omitted if the private registry does not require a username for authentication.", + "type": [ + "string", + "null" + ] + }, + "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/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})$" + }, + "key_id": { + "description": "The ID of the key you used to encrypt the secret.", + "type": "string" + }, + "visibility": { + "description": "Which type of organization repositories have access to the private registry. `selected` means only the repositories specified by `selected_repository_ids` can access the private registry.", + "type": "string", + "enum": [ + "all", + "private", + "selected" + ] + }, + "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`. This field should be omitted if `visibility` is set to `all` or `private`.", + "type": "array", + "items": { + "type": "integer" + } + } + } + }, + "examples": { + "update-username-and-encrypted-value": { + "value": { + "username": "monalisa", + "encrypted_value": "c2VjcmV0", + "key_id": "012345678912345678" + } + }, + "update-with-selected-visibility": { + "value": { + "visibility": "selected", + "selected_repository_ids": [ + 1296269, + 1296280 + ] + } + } + } + } + } + }, + "responses": { + "204": { + "description": "Response" + }, + "404": { + "$ref": "#/components/responses/not_found" + }, + "422": { + "$ref": "#/components/responses/validation_failed" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "private-registries", + "subcategory": "organization-configurations" + } + }, + "delete": { + "summary": "Delete a private registry for an organization", + "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nDelete a private registry configuration at the organization-level.\n\nOAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint.", + "tags": [ + "private-registries" + ], + "operationId": "private-registries/delete-org-private-registry", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/private-registries/organization-configurations#delete-a-private-registry-for-an-organization" + }, + "parameters": [ + { + "$ref": "#/components/parameters/org" + }, + { + "$ref": "#/components/parameters/secret-name" + } + ], + "responses": { + "204": { + "description": "Response" + }, + "400": { + "$ref": "#/components/responses/bad_request" + }, + "404": { + "$ref": "#/components/responses/not_found" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "private-registries", + "subcategory": "organization-configurations" + } + } + }, "/orgs/{org}/projects": { "get": { "summary": "List organization projects", @@ -104909,6 +105376,120 @@ "token_last_used_at" ] }, + "org-private-registry-configuration": { + "title": "Organization private registry", + "description": "Private registry configuration for an organization", + "type": "object", + "properties": { + "name": { + "description": "The name of the private registry configuration.", + "type": "string", + "examples": [ + "MAVEN_REPOSITORY_SECRET" + ] + }, + "registry_type": { + "description": "The registry type.", + "enum": [ + "maven_repository" + ], + "type": "string" + }, + "username": { + "description": "The username to use when authenticating with the private registry.", + "type": [ + "string", + "null" + ], + "examples": [ + "monalisa" + ] + }, + "visibility": { + "description": "Which type of organization repositories have access to the private registry.", + "enum": [ + "all", + "private", + "selected" + ], + "type": "string" + }, + "created_at": { + "type": "string", + "format": "date-time" + }, + "updated_at": { + "type": "string", + "format": "date-time" + } + }, + "required": [ + "name", + "registry_type", + "visibility", + "created_at", + "updated_at" + ] + }, + "org-private-registry-configuration-with-selected-repositories": { + "title": "Organization private registry", + "description": "Private registry configuration for an organization", + "type": "object", + "properties": { + "name": { + "description": "The name of the private registry configuration.", + "type": "string", + "examples": [ + "MAVEN_REPOSITORY_SECRET" + ] + }, + "registry_type": { + "description": "The registry type.", + "enum": [ + "maven_repository" + ], + "type": "string" + }, + "username": { + "description": "The username to use when authenticating with the private registry.", + "type": "string", + "examples": [ + "monalisa" + ] + }, + "visibility": { + "description": "Which type of organization repositories have access to the private registry. `selected` means only the repositories specified by `selected_repository_ids` can access the private registry.", + "enum": [ + "all", + "private", + "selected" + ], + "type": "string" + }, + "selected_repository_ids": { + "type": "array", + "description": "An array of repository IDs that can access the organization private registry when `visibility` is set to `selected`.", + "items": { + "type": "integer" + } + }, + "created_at": { + "type": "string", + "format": "date-time" + }, + "updated_at": { + "type": "string", + "format": "date-time" + } + }, + "required": [ + "name", + "registry_type", + "visibility", + "created_at", + "updated_at" + ] + }, "project": { "title": "Project", "description": "Projects are a way to organize columns and cards of work.", @@ -281851,6 +282432,51 @@ } ] }, + "org-private-registry-configurations-paginated": { + "value": { + "total_count": 1, + "configurations": [ + { + "name": "MAVEN_REPOSITORY_SECRET", + "registry_type": "maven_repository", + "username": "monalisa", + "created_at": "2019-08-10T14:59:22Z", + "updated_at": "2020-01-10T14:59:22Z", + "visibility": "selected" + } + ] + } + }, + "org-private-registry-configuration": { + "value": { + "name": "MAVEN_REPOSITORY_SECRET", + "registry_type": "maven_repository", + "username": "monalisa", + "visibility": "private", + "created_at": "2019-08-10T14:59:22Z", + "updated_at": "2020-01-10T14:59:22Z" + } + }, + "org-private-registry-configuration-with-selected-repositories": { + "value": { + "name": "MAVEN_REPOSITORY_SECRET", + "registry_type": "maven_repository", + "username": "monalisa", + "visibility": "selected", + "selected_repository_ids": [ + 1296269, + 1296280 + ], + "created_at": "2019-08-10T14:59:22Z", + "updated_at": "2020-01-10T14:59:22Z" + } + }, + "private-registries-public-key": { + "value": { + "key_id": "012345678912345678", + "key": "2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234" + } + }, "project-items": { "value": [ { diff --git a/descriptions-next/api.github.com/api.github.com.2022-11-28.yaml b/descriptions-next/api.github.com/api.github.com.2022-11-28.yaml index dede89558..22993dc0d 100644 --- a/descriptions-next/api.github.com/api.github.com.2022-11-28.yaml +++ b/descriptions-next/api.github.com/api.github.com.2022-11-28.yaml @@ -13140,6 +13140,381 @@ paths: enabledForGitHubApps: true category: orgs subcategory: personal-access-tokens + "/orgs/{org}/private-registries": + get: + summary: List private registries for an organization + description: |- + > [!NOTE] + > This endpoint is in public preview and is subject to change. + + Lists all private registry configurations available at the organization-level without revealing their encrypted + values. + + OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + tags: + - private-registries + operationId: private-registries/list-org-private-registries + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/private-registries/organization-configurations#list-private-registries-for-an-organization + parameters: + - "$ref": "#/components/parameters/org" + - "$ref": "#/components/parameters/per-page" + - "$ref": "#/components/parameters/page" + responses: + '200': + description: Response + content: + application/json: + schema: + type: object + required: + - total_count + - configurations + properties: + total_count: + type: integer + configurations: + type: array + items: + "$ref": "#/components/schemas/org-private-registry-configuration" + examples: + default: + "$ref": "#/components/examples/org-private-registry-configurations-paginated" + headers: + Link: + "$ref": "#/components/headers/link" + '400': + "$ref": "#/components/responses/bad_request" + '404': + "$ref": "#/components/responses/not_found" + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: private-registries + subcategory: organization-configurations + post: + summary: Create a private registry for an organization + description: |- + > [!NOTE] + > This endpoint is in public preview and is subject to change. + + Creates 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/rest/guides/encrypting-secrets-for-the-rest-api)." + + OAuth 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/rest/private-registries/organization-configurations#create-a-private-registry-for-an-organization + parameters: + - "$ref": "#/components/parameters/org" + requestBody: + required: true + content: + application/json: + schema: + type: object + properties: + registry_type: + description: The registry type. + type: string + enum: + - maven_repository + username: + description: The username to use when authenticating with the private + registry. This field should be omitted if the private registry + does not require a username for authentication. + type: + - string + - 'null' + 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/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})$" + key_id: + description: The ID of the key you used to encrypt the secret. + type: string + visibility: + description: Which type of organization repositories have access + to the private registry. `selected` means only the repositories + specified by `selected_repository_ids` can access the private + registry. + type: string + enum: + - all + - private + - selected + 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/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 + required: + - registry_type + - encrypted_value + - key_id + - visibility + examples: + org-private-registry-with-private-visibility: + summary: Example of a private registry configuration with private + visibility + value: + registry_type: maven_repository + username: monalisa + encrypted_value: c2VjcmV0 + key_id: '012345678912345678' + visibility: private + org-private-registry-with-selected-visibility: + summary: Example of a private registry configuration with selected + visibility + value: + registry_type: maven_repository + username: monalisa + encrypted_value: c2VjcmV0 + key_id: '012345678912345678' + visibility: selected + selected_repository_ids: + - 1296269 + - 1296280 + responses: + '201': + description: The organization private registry configuration + content: + application/json: + schema: + "$ref": "#/components/schemas/org-private-registry-configuration-with-selected-repositories" + examples: + org-private-registry-with-selected-visibility: + "$ref": "#/components/examples/org-private-registry-configuration" + org-private-registry-with-private-visibility: + "$ref": "#/components/examples/org-private-registry-configuration-with-selected-repositories" + '404': + "$ref": "#/components/responses/not_found" + '422': + "$ref": "#/components/responses/validation_failed" + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: private-registries + subcategory: organization-configurations + "/orgs/{org}/private-registries/public-key": + get: + summary: Get private registries public key for an organization + description: |- + > [!NOTE] + > This endpoint is in public preview and is subject to change. + + Gets the org public key, which is needed to encrypt private registry secrets. You need to encrypt a secret before you can create or update secrets. + + OAuth tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + tags: + - private-registries + operationId: private-registries/get-org-public-key + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/private-registries/organization-configurations#get-private-registries-public-key-for-an-organization + parameters: + - "$ref": "#/components/parameters/org" + responses: + '200': + description: Response + content: + application/json: + schema: + type: object + required: + - key_id + - key + properties: + key_id: + description: The identifier for the key. + type: string + examples: + - '012345678912345678' + key: + description: The Base64 encoded public key. + type: string + examples: + - 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 + examples: + default: + "$ref": "#/components/examples/private-registries-public-key" + headers: + Link: + "$ref": "#/components/headers/link" + '404': + "$ref": "#/components/responses/not_found" + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: private-registries + subcategory: organization-configurations + "/orgs/{org}/private-registries/{secret_name}": + get: + summary: Get a private registry for an organization + description: |- + > [!NOTE] + > This endpoint is in public preview and is subject to change. + + Get the configuration of a single private registry defined for an organization, omitting its encrypted value. + + OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + tags: + - private-registries + operationId: private-registries/get-org-private-registry + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/private-registries/organization-configurations#get-a-private-registry-for-an-organization + parameters: + - "$ref": "#/components/parameters/org" + - "$ref": "#/components/parameters/secret-name" + responses: + '200': + description: The specified private registry configuration for the organization + content: + application/json: + schema: + "$ref": "#/components/schemas/org-private-registry-configuration" + examples: + default: + "$ref": "#/components/examples/org-private-registry-configuration" + '404': + "$ref": "#/components/responses/not_found" + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: private-registries + subcategory: organization-configurations + patch: + summary: Update a private registry for an organization + description: |- + > [!NOTE] + > This endpoint is in public preview and is subject to change. + + Updates 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/rest/guides/encrypting-secrets-for-the-rest-api)." + + OAuth 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/rest/private-registries/organization-configurations#update-a-private-registry-for-an-organization + parameters: + - "$ref": "#/components/parameters/org" + - "$ref": "#/components/parameters/secret-name" + requestBody: + required: true + content: + application/json: + schema: + type: object + properties: + registry_type: + description: The registry type. + type: string + enum: + - maven_repository + username: + description: The username to use when authenticating with the private + registry. This field should be omitted if the private registry + does not require a username for authentication. + type: + - string + - 'null' + 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/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})$" + key_id: + description: The ID of the key you used to encrypt the secret. + type: string + visibility: + description: Which type of organization repositories have access + to the private registry. `selected` means only the repositories + specified by `selected_repository_ids` can access the private + registry. + type: string + enum: + - all + - private + - selected + 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`. This field should be omitted + if `visibility` is set to `all` or `private`. + type: array + items: + type: integer + examples: + update-username-and-encrypted-value: + value: + username: monalisa + encrypted_value: c2VjcmV0 + key_id: '012345678912345678' + update-with-selected-visibility: + value: + visibility: selected + selected_repository_ids: + - 1296269 + - 1296280 + responses: + '204': + description: Response + '404': + "$ref": "#/components/responses/not_found" + '422': + "$ref": "#/components/responses/validation_failed" + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: private-registries + subcategory: organization-configurations + delete: + summary: Delete a private registry for an organization + description: |- + > [!NOTE] + > This endpoint is in public preview and is subject to change. + + Delete a private registry configuration at the organization-level. + + OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + tags: + - private-registries + operationId: private-registries/delete-org-private-registry + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/private-registries/organization-configurations#delete-a-private-registry-for-an-organization + parameters: + - "$ref": "#/components/parameters/org" + - "$ref": "#/components/parameters/secret-name" + responses: + '204': + description: Response + '400': + "$ref": "#/components/responses/bad_request" + '404': + "$ref": "#/components/responses/not_found" + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: private-registries + subcategory: organization-configurations "/orgs/{org}/projects": get: summary: List organization projects @@ -76063,6 +76438,95 @@ components: - token_expired - token_expires_at - token_last_used_at + org-private-registry-configuration: + title: Organization private registry + description: Private registry configuration for an organization + type: object + properties: + name: + description: The name of the private registry configuration. + type: string + examples: + - MAVEN_REPOSITORY_SECRET + registry_type: + description: The registry type. + enum: + - maven_repository + type: string + username: + description: The username to use when authenticating with the private registry. + type: + - string + - 'null' + examples: + - monalisa + visibility: + description: Which type of organization repositories have access to the + private registry. + enum: + - all + - private + - selected + type: string + created_at: + type: string + format: date-time + updated_at: + type: string + format: date-time + required: + - name + - registry_type + - visibility + - created_at + - updated_at + org-private-registry-configuration-with-selected-repositories: + title: Organization private registry + description: Private registry configuration for an organization + type: object + properties: + name: + description: The name of the private registry configuration. + type: string + examples: + - MAVEN_REPOSITORY_SECRET + registry_type: + description: The registry type. + enum: + - maven_repository + type: string + username: + description: The username to use when authenticating with the private registry. + type: string + examples: + - monalisa + visibility: + description: Which type of organization repositories have access to the + private registry. `selected` means only the repositories specified by + `selected_repository_ids` can access the private registry. + enum: + - all + - private + - selected + type: string + selected_repository_ids: + type: array + description: An array of repository IDs that can access the organization + private registry when `visibility` is set to `selected`. + items: + type: integer + created_at: + type: string + format: date-time + updated_at: + type: string + format: date-time + required: + - name + - registry_type + - visibility + - created_at + - updated_at project: title: Project description: Projects are a way to organize columns and cards of work. @@ -208404,6 +208868,39 @@ components: token_expired: false token_expires_at: '2023-11-16T08:47:09.000-07:00' token_last_used_at: + org-private-registry-configurations-paginated: + value: + total_count: 1 + configurations: + - name: MAVEN_REPOSITORY_SECRET + registry_type: maven_repository + username: monalisa + created_at: '2019-08-10T14:59:22Z' + updated_at: '2020-01-10T14:59:22Z' + visibility: selected + org-private-registry-configuration: + value: + name: MAVEN_REPOSITORY_SECRET + registry_type: maven_repository + username: monalisa + visibility: private + created_at: '2019-08-10T14:59:22Z' + updated_at: '2020-01-10T14:59:22Z' + org-private-registry-configuration-with-selected-repositories: + value: + name: MAVEN_REPOSITORY_SECRET + registry_type: maven_repository + username: monalisa + visibility: selected + selected_repository_ids: + - 1296269 + - 1296280 + created_at: '2019-08-10T14:59:22Z' + updated_at: '2020-01-10T14:59:22Z' + private-registries-public-key: + value: + key_id: '012345678912345678' + key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 project-items: value: - owner_url: https://api.github.com/orgs/octocat diff --git a/descriptions-next/api.github.com/api.github.com.json b/descriptions-next/api.github.com/api.github.com.json index 5e80a30bd..a0d941b1b 100644 --- a/descriptions-next/api.github.com/api.github.com.json +++ b/descriptions-next/api.github.com/api.github.com.json @@ -18155,6 +18155,473 @@ } } }, + "/orgs/{org}/private-registries": { + "get": { + "summary": "List private registries for an organization", + "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nLists all private registry configurations available at the organization-level without revealing their encrypted\nvalues.\n\nOAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint.", + "tags": [ + "private-registries" + ], + "operationId": "private-registries/list-org-private-registries", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/private-registries/organization-configurations#list-private-registries-for-an-organization" + }, + "parameters": [ + { + "$ref": "#/components/parameters/org" + }, + { + "$ref": "#/components/parameters/per-page" + }, + { + "$ref": "#/components/parameters/page" + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "total_count", + "configurations" + ], + "properties": { + "total_count": { + "type": "integer" + }, + "configurations": { + "type": "array", + "items": { + "$ref": "#/components/schemas/org-private-registry-configuration" + } + } + } + }, + "examples": { + "default": { + "$ref": "#/components/examples/org-private-registry-configurations-paginated" + } + } + } + }, + "headers": { + "Link": { + "$ref": "#/components/headers/link" + } + } + }, + "400": { + "$ref": "#/components/responses/bad_request" + }, + "404": { + "$ref": "#/components/responses/not_found" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "private-registries", + "subcategory": "organization-configurations" + } + }, + "post": { + "summary": "Create a private registry for an organization", + "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\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/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": [ + "private-registries" + ], + "operationId": "private-registries/create-org-private-registry", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/private-registries/organization-configurations#create-a-private-registry-for-an-organization" + }, + "parameters": [ + { + "$ref": "#/components/parameters/org" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "registry_type": { + "description": "The registry type.", + "type": "string", + "enum": [ + "maven_repository" + ] + }, + "username": { + "description": "The username to use when authenticating with the private registry. This field should be omitted if the private registry does not require a username for authentication.", + "type": [ + "string", + "null" + ] + }, + "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/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})$" + }, + "key_id": { + "description": "The ID of the key you used to encrypt the secret.", + "type": "string" + }, + "visibility": { + "description": "Which type of organization repositories have access to the private registry. `selected` means only the repositories specified by `selected_repository_ids` can access the private registry.", + "type": "string", + "enum": [ + "all", + "private", + "selected" + ] + }, + "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/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" + } + } + }, + "required": [ + "registry_type", + "encrypted_value", + "key_id", + "visibility" + ] + }, + "examples": { + "org-private-registry-with-private-visibility": { + "summary": "Example of a private registry configuration with private visibility", + "value": { + "registry_type": "maven_repository", + "username": "monalisa", + "encrypted_value": "c2VjcmV0", + "key_id": "012345678912345678", + "visibility": "private" + } + }, + "org-private-registry-with-selected-visibility": { + "summary": "Example of a private registry configuration with selected visibility", + "value": { + "registry_type": "maven_repository", + "username": "monalisa", + "encrypted_value": "c2VjcmV0", + "key_id": "012345678912345678", + "visibility": "selected", + "selected_repository_ids": [ + 1296269, + 1296280 + ] + } + } + } + } + } + }, + "responses": { + "201": { + "description": "The organization private registry configuration", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/org-private-registry-configuration-with-selected-repositories" + }, + "examples": { + "org-private-registry-with-selected-visibility": { + "$ref": "#/components/examples/org-private-registry-configuration" + }, + "org-private-registry-with-private-visibility": { + "$ref": "#/components/examples/org-private-registry-configuration-with-selected-repositories" + } + } + } + } + }, + "404": { + "$ref": "#/components/responses/not_found" + }, + "422": { + "$ref": "#/components/responses/validation_failed" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "private-registries", + "subcategory": "organization-configurations" + } + } + }, + "/orgs/{org}/private-registries/public-key": { + "get": { + "summary": "Get private registries public key for an organization", + "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nGets the org public key, which is needed to encrypt private registry secrets. You need to encrypt a secret before you can create or update secrets.\n\nOAuth tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint.", + "tags": [ + "private-registries" + ], + "operationId": "private-registries/get-org-public-key", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/private-registries/organization-configurations#get-private-registries-public-key-for-an-organization" + }, + "parameters": [ + { + "$ref": "#/components/parameters/org" + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "key_id", + "key" + ], + "properties": { + "key_id": { + "description": "The identifier for the key.", + "type": "string", + "examples": [ + "012345678912345678" + ] + }, + "key": { + "description": "The Base64 encoded public key.", + "type": "string", + "examples": [ + "2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234" + ] + } + } + }, + "examples": { + "default": { + "$ref": "#/components/examples/private-registries-public-key" + } + } + } + }, + "headers": { + "Link": { + "$ref": "#/components/headers/link" + } + } + }, + "404": { + "$ref": "#/components/responses/not_found" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "private-registries", + "subcategory": "organization-configurations" + } + } + }, + "/orgs/{org}/private-registries/{secret_name}": { + "get": { + "summary": "Get a private registry for an organization", + "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nGet the configuration of a single private registry defined for an organization, omitting its encrypted value.\n\nOAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint.", + "tags": [ + "private-registries" + ], + "operationId": "private-registries/get-org-private-registry", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/private-registries/organization-configurations#get-a-private-registry-for-an-organization" + }, + "parameters": [ + { + "$ref": "#/components/parameters/org" + }, + { + "$ref": "#/components/parameters/secret-name" + } + ], + "responses": { + "200": { + "description": "The specified private registry configuration for the organization", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/org-private-registry-configuration" + }, + "examples": { + "default": { + "$ref": "#/components/examples/org-private-registry-configuration" + } + } + } + } + }, + "404": { + "$ref": "#/components/responses/not_found" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "private-registries", + "subcategory": "organization-configurations" + } + }, + "patch": { + "summary": "Update a private registry for an organization", + "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\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/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": [ + "private-registries" + ], + "operationId": "private-registries/update-org-private-registry", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/private-registries/organization-configurations#update-a-private-registry-for-an-organization" + }, + "parameters": [ + { + "$ref": "#/components/parameters/org" + }, + { + "$ref": "#/components/parameters/secret-name" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "registry_type": { + "description": "The registry type.", + "type": "string", + "enum": [ + "maven_repository" + ] + }, + "username": { + "description": "The username to use when authenticating with the private registry. This field should be omitted if the private registry does not require a username for authentication.", + "type": [ + "string", + "null" + ] + }, + "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/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})$" + }, + "key_id": { + "description": "The ID of the key you used to encrypt the secret.", + "type": "string" + }, + "visibility": { + "description": "Which type of organization repositories have access to the private registry. `selected` means only the repositories specified by `selected_repository_ids` can access the private registry.", + "type": "string", + "enum": [ + "all", + "private", + "selected" + ] + }, + "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`. This field should be omitted if `visibility` is set to `all` or `private`.", + "type": "array", + "items": { + "type": "integer" + } + } + } + }, + "examples": { + "update-username-and-encrypted-value": { + "value": { + "username": "monalisa", + "encrypted_value": "c2VjcmV0", + "key_id": "012345678912345678" + } + }, + "update-with-selected-visibility": { + "value": { + "visibility": "selected", + "selected_repository_ids": [ + 1296269, + 1296280 + ] + } + } + } + } + } + }, + "responses": { + "204": { + "description": "Response" + }, + "404": { + "$ref": "#/components/responses/not_found" + }, + "422": { + "$ref": "#/components/responses/validation_failed" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "private-registries", + "subcategory": "organization-configurations" + } + }, + "delete": { + "summary": "Delete a private registry for an organization", + "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nDelete a private registry configuration at the organization-level.\n\nOAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint.", + "tags": [ + "private-registries" + ], + "operationId": "private-registries/delete-org-private-registry", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/private-registries/organization-configurations#delete-a-private-registry-for-an-organization" + }, + "parameters": [ + { + "$ref": "#/components/parameters/org" + }, + { + "$ref": "#/components/parameters/secret-name" + } + ], + "responses": { + "204": { + "description": "Response" + }, + "400": { + "$ref": "#/components/responses/bad_request" + }, + "404": { + "$ref": "#/components/responses/not_found" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "private-registries", + "subcategory": "organization-configurations" + } + } + }, "/orgs/{org}/projects": { "get": { "summary": "List organization projects", @@ -104909,6 +105376,120 @@ "token_last_used_at" ] }, + "org-private-registry-configuration": { + "title": "Organization private registry", + "description": "Private registry configuration for an organization", + "type": "object", + "properties": { + "name": { + "description": "The name of the private registry configuration.", + "type": "string", + "examples": [ + "MAVEN_REPOSITORY_SECRET" + ] + }, + "registry_type": { + "description": "The registry type.", + "enum": [ + "maven_repository" + ], + "type": "string" + }, + "username": { + "description": "The username to use when authenticating with the private registry.", + "type": [ + "string", + "null" + ], + "examples": [ + "monalisa" + ] + }, + "visibility": { + "description": "Which type of organization repositories have access to the private registry.", + "enum": [ + "all", + "private", + "selected" + ], + "type": "string" + }, + "created_at": { + "type": "string", + "format": "date-time" + }, + "updated_at": { + "type": "string", + "format": "date-time" + } + }, + "required": [ + "name", + "registry_type", + "visibility", + "created_at", + "updated_at" + ] + }, + "org-private-registry-configuration-with-selected-repositories": { + "title": "Organization private registry", + "description": "Private registry configuration for an organization", + "type": "object", + "properties": { + "name": { + "description": "The name of the private registry configuration.", + "type": "string", + "examples": [ + "MAVEN_REPOSITORY_SECRET" + ] + }, + "registry_type": { + "description": "The registry type.", + "enum": [ + "maven_repository" + ], + "type": "string" + }, + "username": { + "description": "The username to use when authenticating with the private registry.", + "type": "string", + "examples": [ + "monalisa" + ] + }, + "visibility": { + "description": "Which type of organization repositories have access to the private registry. `selected` means only the repositories specified by `selected_repository_ids` can access the private registry.", + "enum": [ + "all", + "private", + "selected" + ], + "type": "string" + }, + "selected_repository_ids": { + "type": "array", + "description": "An array of repository IDs that can access the organization private registry when `visibility` is set to `selected`.", + "items": { + "type": "integer" + } + }, + "created_at": { + "type": "string", + "format": "date-time" + }, + "updated_at": { + "type": "string", + "format": "date-time" + } + }, + "required": [ + "name", + "registry_type", + "visibility", + "created_at", + "updated_at" + ] + }, "project": { "title": "Project", "description": "Projects are a way to organize columns and cards of work.", @@ -281851,6 +282432,51 @@ } ] }, + "org-private-registry-configurations-paginated": { + "value": { + "total_count": 1, + "configurations": [ + { + "name": "MAVEN_REPOSITORY_SECRET", + "registry_type": "maven_repository", + "username": "monalisa", + "created_at": "2019-08-10T14:59:22Z", + "updated_at": "2020-01-10T14:59:22Z", + "visibility": "selected" + } + ] + } + }, + "org-private-registry-configuration": { + "value": { + "name": "MAVEN_REPOSITORY_SECRET", + "registry_type": "maven_repository", + "username": "monalisa", + "visibility": "private", + "created_at": "2019-08-10T14:59:22Z", + "updated_at": "2020-01-10T14:59:22Z" + } + }, + "org-private-registry-configuration-with-selected-repositories": { + "value": { + "name": "MAVEN_REPOSITORY_SECRET", + "registry_type": "maven_repository", + "username": "monalisa", + "visibility": "selected", + "selected_repository_ids": [ + 1296269, + 1296280 + ], + "created_at": "2019-08-10T14:59:22Z", + "updated_at": "2020-01-10T14:59:22Z" + } + }, + "private-registries-public-key": { + "value": { + "key_id": "012345678912345678", + "key": "2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234" + } + }, "project-items": { "value": [ { diff --git a/descriptions-next/api.github.com/api.github.com.yaml b/descriptions-next/api.github.com/api.github.com.yaml index dede89558..22993dc0d 100644 --- a/descriptions-next/api.github.com/api.github.com.yaml +++ b/descriptions-next/api.github.com/api.github.com.yaml @@ -13140,6 +13140,381 @@ paths: enabledForGitHubApps: true category: orgs subcategory: personal-access-tokens + "/orgs/{org}/private-registries": + get: + summary: List private registries for an organization + description: |- + > [!NOTE] + > This endpoint is in public preview and is subject to change. + + Lists all private registry configurations available at the organization-level without revealing their encrypted + values. + + OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + tags: + - private-registries + operationId: private-registries/list-org-private-registries + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/private-registries/organization-configurations#list-private-registries-for-an-organization + parameters: + - "$ref": "#/components/parameters/org" + - "$ref": "#/components/parameters/per-page" + - "$ref": "#/components/parameters/page" + responses: + '200': + description: Response + content: + application/json: + schema: + type: object + required: + - total_count + - configurations + properties: + total_count: + type: integer + configurations: + type: array + items: + "$ref": "#/components/schemas/org-private-registry-configuration" + examples: + default: + "$ref": "#/components/examples/org-private-registry-configurations-paginated" + headers: + Link: + "$ref": "#/components/headers/link" + '400': + "$ref": "#/components/responses/bad_request" + '404': + "$ref": "#/components/responses/not_found" + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: private-registries + subcategory: organization-configurations + post: + summary: Create a private registry for an organization + description: |- + > [!NOTE] + > This endpoint is in public preview and is subject to change. + + Creates 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/rest/guides/encrypting-secrets-for-the-rest-api)." + + OAuth 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/rest/private-registries/organization-configurations#create-a-private-registry-for-an-organization + parameters: + - "$ref": "#/components/parameters/org" + requestBody: + required: true + content: + application/json: + schema: + type: object + properties: + registry_type: + description: The registry type. + type: string + enum: + - maven_repository + username: + description: The username to use when authenticating with the private + registry. This field should be omitted if the private registry + does not require a username for authentication. + type: + - string + - 'null' + 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/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})$" + key_id: + description: The ID of the key you used to encrypt the secret. + type: string + visibility: + description: Which type of organization repositories have access + to the private registry. `selected` means only the repositories + specified by `selected_repository_ids` can access the private + registry. + type: string + enum: + - all + - private + - selected + 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/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 + required: + - registry_type + - encrypted_value + - key_id + - visibility + examples: + org-private-registry-with-private-visibility: + summary: Example of a private registry configuration with private + visibility + value: + registry_type: maven_repository + username: monalisa + encrypted_value: c2VjcmV0 + key_id: '012345678912345678' + visibility: private + org-private-registry-with-selected-visibility: + summary: Example of a private registry configuration with selected + visibility + value: + registry_type: maven_repository + username: monalisa + encrypted_value: c2VjcmV0 + key_id: '012345678912345678' + visibility: selected + selected_repository_ids: + - 1296269 + - 1296280 + responses: + '201': + description: The organization private registry configuration + content: + application/json: + schema: + "$ref": "#/components/schemas/org-private-registry-configuration-with-selected-repositories" + examples: + org-private-registry-with-selected-visibility: + "$ref": "#/components/examples/org-private-registry-configuration" + org-private-registry-with-private-visibility: + "$ref": "#/components/examples/org-private-registry-configuration-with-selected-repositories" + '404': + "$ref": "#/components/responses/not_found" + '422': + "$ref": "#/components/responses/validation_failed" + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: private-registries + subcategory: organization-configurations + "/orgs/{org}/private-registries/public-key": + get: + summary: Get private registries public key for an organization + description: |- + > [!NOTE] + > This endpoint is in public preview and is subject to change. + + Gets the org public key, which is needed to encrypt private registry secrets. You need to encrypt a secret before you can create or update secrets. + + OAuth tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + tags: + - private-registries + operationId: private-registries/get-org-public-key + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/private-registries/organization-configurations#get-private-registries-public-key-for-an-organization + parameters: + - "$ref": "#/components/parameters/org" + responses: + '200': + description: Response + content: + application/json: + schema: + type: object + required: + - key_id + - key + properties: + key_id: + description: The identifier for the key. + type: string + examples: + - '012345678912345678' + key: + description: The Base64 encoded public key. + type: string + examples: + - 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 + examples: + default: + "$ref": "#/components/examples/private-registries-public-key" + headers: + Link: + "$ref": "#/components/headers/link" + '404': + "$ref": "#/components/responses/not_found" + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: private-registries + subcategory: organization-configurations + "/orgs/{org}/private-registries/{secret_name}": + get: + summary: Get a private registry for an organization + description: |- + > [!NOTE] + > This endpoint is in public preview and is subject to change. + + Get the configuration of a single private registry defined for an organization, omitting its encrypted value. + + OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + tags: + - private-registries + operationId: private-registries/get-org-private-registry + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/private-registries/organization-configurations#get-a-private-registry-for-an-organization + parameters: + - "$ref": "#/components/parameters/org" + - "$ref": "#/components/parameters/secret-name" + responses: + '200': + description: The specified private registry configuration for the organization + content: + application/json: + schema: + "$ref": "#/components/schemas/org-private-registry-configuration" + examples: + default: + "$ref": "#/components/examples/org-private-registry-configuration" + '404': + "$ref": "#/components/responses/not_found" + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: private-registries + subcategory: organization-configurations + patch: + summary: Update a private registry for an organization + description: |- + > [!NOTE] + > This endpoint is in public preview and is subject to change. + + Updates 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/rest/guides/encrypting-secrets-for-the-rest-api)." + + OAuth 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/rest/private-registries/organization-configurations#update-a-private-registry-for-an-organization + parameters: + - "$ref": "#/components/parameters/org" + - "$ref": "#/components/parameters/secret-name" + requestBody: + required: true + content: + application/json: + schema: + type: object + properties: + registry_type: + description: The registry type. + type: string + enum: + - maven_repository + username: + description: The username to use when authenticating with the private + registry. This field should be omitted if the private registry + does not require a username for authentication. + type: + - string + - 'null' + 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/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})$" + key_id: + description: The ID of the key you used to encrypt the secret. + type: string + visibility: + description: Which type of organization repositories have access + to the private registry. `selected` means only the repositories + specified by `selected_repository_ids` can access the private + registry. + type: string + enum: + - all + - private + - selected + 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`. This field should be omitted + if `visibility` is set to `all` or `private`. + type: array + items: + type: integer + examples: + update-username-and-encrypted-value: + value: + username: monalisa + encrypted_value: c2VjcmV0 + key_id: '012345678912345678' + update-with-selected-visibility: + value: + visibility: selected + selected_repository_ids: + - 1296269 + - 1296280 + responses: + '204': + description: Response + '404': + "$ref": "#/components/responses/not_found" + '422': + "$ref": "#/components/responses/validation_failed" + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: private-registries + subcategory: organization-configurations + delete: + summary: Delete a private registry for an organization + description: |- + > [!NOTE] + > This endpoint is in public preview and is subject to change. + + Delete a private registry configuration at the organization-level. + + OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + tags: + - private-registries + operationId: private-registries/delete-org-private-registry + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/private-registries/organization-configurations#delete-a-private-registry-for-an-organization + parameters: + - "$ref": "#/components/parameters/org" + - "$ref": "#/components/parameters/secret-name" + responses: + '204': + description: Response + '400': + "$ref": "#/components/responses/bad_request" + '404': + "$ref": "#/components/responses/not_found" + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: private-registries + subcategory: organization-configurations "/orgs/{org}/projects": get: summary: List organization projects @@ -76063,6 +76438,95 @@ components: - token_expired - token_expires_at - token_last_used_at + org-private-registry-configuration: + title: Organization private registry + description: Private registry configuration for an organization + type: object + properties: + name: + description: The name of the private registry configuration. + type: string + examples: + - MAVEN_REPOSITORY_SECRET + registry_type: + description: The registry type. + enum: + - maven_repository + type: string + username: + description: The username to use when authenticating with the private registry. + type: + - string + - 'null' + examples: + - monalisa + visibility: + description: Which type of organization repositories have access to the + private registry. + enum: + - all + - private + - selected + type: string + created_at: + type: string + format: date-time + updated_at: + type: string + format: date-time + required: + - name + - registry_type + - visibility + - created_at + - updated_at + org-private-registry-configuration-with-selected-repositories: + title: Organization private registry + description: Private registry configuration for an organization + type: object + properties: + name: + description: The name of the private registry configuration. + type: string + examples: + - MAVEN_REPOSITORY_SECRET + registry_type: + description: The registry type. + enum: + - maven_repository + type: string + username: + description: The username to use when authenticating with the private registry. + type: string + examples: + - monalisa + visibility: + description: Which type of organization repositories have access to the + private registry. `selected` means only the repositories specified by + `selected_repository_ids` can access the private registry. + enum: + - all + - private + - selected + type: string + selected_repository_ids: + type: array + description: An array of repository IDs that can access the organization + private registry when `visibility` is set to `selected`. + items: + type: integer + created_at: + type: string + format: date-time + updated_at: + type: string + format: date-time + required: + - name + - registry_type + - visibility + - created_at + - updated_at project: title: Project description: Projects are a way to organize columns and cards of work. @@ -208404,6 +208868,39 @@ components: token_expired: false token_expires_at: '2023-11-16T08:47:09.000-07:00' token_last_used_at: + org-private-registry-configurations-paginated: + value: + total_count: 1 + configurations: + - name: MAVEN_REPOSITORY_SECRET + registry_type: maven_repository + username: monalisa + created_at: '2019-08-10T14:59:22Z' + updated_at: '2020-01-10T14:59:22Z' + visibility: selected + org-private-registry-configuration: + value: + name: MAVEN_REPOSITORY_SECRET + registry_type: maven_repository + username: monalisa + visibility: private + created_at: '2019-08-10T14:59:22Z' + updated_at: '2020-01-10T14:59:22Z' + org-private-registry-configuration-with-selected-repositories: + value: + name: MAVEN_REPOSITORY_SECRET + registry_type: maven_repository + username: monalisa + visibility: selected + selected_repository_ids: + - 1296269 + - 1296280 + created_at: '2019-08-10T14:59:22Z' + updated_at: '2020-01-10T14:59:22Z' + private-registries-public-key: + value: + key_id: '012345678912345678' + key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 project-items: value: - owner_url: https://api.github.com/orgs/octocat diff --git a/descriptions-next/api.github.com/dereferenced/api.github.com.2022-11-28.deref.json b/descriptions-next/api.github.com/dereferenced/api.github.com.2022-11-28.deref.json index 37622de38..242439e34 100644 --- a/descriptions-next/api.github.com/dereferenced/api.github.com.2022-11-28.deref.json +++ b/descriptions-next/api.github.com/dereferenced/api.github.com.2022-11-28.deref.json @@ -127282,6 +127282,1157 @@ } } }, + "/orgs/{org}/private-registries": { + "get": { + "summary": "List private registries for an organization", + "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nLists all private registry configurations available at the organization-level without revealing their encrypted\nvalues.\n\nOAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint.", + "tags": [ + "private-registries" + ], + "operationId": "private-registries/list-org-private-registries", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/private-registries/organization-configurations#list-private-registries-for-an-organization" + }, + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "per_page", + "description": "The number of results per page (max 100). 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).\"", + "in": "query", + "schema": { + "type": "integer", + "default": 30 + } + }, + { + "name": "page", + "description": "The page number of the results to fetch. 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).\"", + "in": "query", + "schema": { + "type": "integer", + "default": 1 + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "total_count", + "configurations" + ], + "properties": { + "total_count": { + "type": "integer" + }, + "configurations": { + "type": "array", + "items": { + "title": "Organization private registry", + "description": "Private registry configuration for an organization", + "type": "object", + "properties": { + "name": { + "description": "The name of the private registry configuration.", + "type": "string", + "examples": [ + "MAVEN_REPOSITORY_SECRET" + ] + }, + "registry_type": { + "description": "The registry type.", + "enum": [ + "maven_repository" + ], + "type": "string" + }, + "username": { + "description": "The username to use when authenticating with the private registry.", + "type": [ + "string", + "null" + ], + "examples": [ + "monalisa" + ] + }, + "visibility": { + "description": "Which type of organization repositories have access to the private registry.", + "enum": [ + "all", + "private", + "selected" + ], + "type": "string" + }, + "created_at": { + "type": "string", + "format": "date-time" + }, + "updated_at": { + "type": "string", + "format": "date-time" + } + }, + "required": [ + "name", + "registry_type", + "visibility", + "created_at", + "updated_at" + ] + } + } + } + }, + "examples": { + "default": { + "value": { + "total_count": 1, + "configurations": [ + { + "name": "MAVEN_REPOSITORY_SECRET", + "registry_type": "maven_repository", + "username": "monalisa", + "created_at": "2019-08-10T14:59:22Z", + "updated_at": "2020-01-10T14:59:22Z", + "visibility": "selected" + } + ] + } + } + } + } + }, + "headers": { + "Link": { + "example": "; rel=\"next\", ; rel=\"last\"", + "schema": { + "type": "string" + } + } + } + }, + "400": { + "description": "Bad Request", + "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" + } + } + } + }, + "application/scim+json": { + "schema": { + "title": "Scim Error", + "description": "Scim Error", + "type": "object", + "properties": { + "message": { + "type": [ + "string", + "null" + ] + }, + "documentation_url": { + "type": [ + "string", + "null" + ] + }, + "detail": { + "type": [ + "string", + "null" + ] + }, + "status": { + "type": "integer" + }, + "scimType": { + "type": [ + "string", + "null" + ] + }, + "schemas": { + "type": "array", + "items": { + "type": "string" + } + } + } + } + } + } + }, + "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": true, + "category": "private-registries", + "subcategory": "organization-configurations" + } + }, + "post": { + "summary": "Create a private registry for an organization", + "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\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/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": [ + "private-registries" + ], + "operationId": "private-registries/create-org-private-registry", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/private-registries/organization-configurations#create-a-private-registry-for-an-organization" + }, + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "registry_type": { + "description": "The registry type.", + "type": "string", + "enum": [ + "maven_repository" + ] + }, + "username": { + "description": "The username to use when authenticating with the private registry. This field should be omitted if the private registry does not require a username for authentication.", + "type": [ + "string", + "null" + ] + }, + "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/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})$" + }, + "key_id": { + "description": "The ID of the key you used to encrypt the secret.", + "type": "string" + }, + "visibility": { + "description": "Which type of organization repositories have access to the private registry. `selected` means only the repositories specified by `selected_repository_ids` can access the private registry.", + "type": "string", + "enum": [ + "all", + "private", + "selected" + ] + }, + "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/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" + } + } + }, + "required": [ + "registry_type", + "encrypted_value", + "key_id", + "visibility" + ] + }, + "examples": { + "org-private-registry-with-private-visibility": { + "summary": "Example of a private registry configuration with private visibility", + "value": { + "registry_type": "maven_repository", + "username": "monalisa", + "encrypted_value": "c2VjcmV0", + "key_id": "012345678912345678", + "visibility": "private" + } + }, + "org-private-registry-with-selected-visibility": { + "summary": "Example of a private registry configuration with selected visibility", + "value": { + "registry_type": "maven_repository", + "username": "monalisa", + "encrypted_value": "c2VjcmV0", + "key_id": "012345678912345678", + "visibility": "selected", + "selected_repository_ids": [ + 1296269, + 1296280 + ] + } + } + } + } + } + }, + "responses": { + "201": { + "description": "The organization private registry configuration", + "content": { + "application/json": { + "schema": { + "title": "Organization private registry", + "description": "Private registry configuration for an organization", + "type": "object", + "properties": { + "name": { + "description": "The name of the private registry configuration.", + "type": "string", + "examples": [ + "MAVEN_REPOSITORY_SECRET" + ] + }, + "registry_type": { + "description": "The registry type.", + "enum": [ + "maven_repository" + ], + "type": "string" + }, + "username": { + "description": "The username to use when authenticating with the private registry.", + "type": "string", + "examples": [ + "monalisa" + ] + }, + "visibility": { + "description": "Which type of organization repositories have access to the private registry. `selected` means only the repositories specified by `selected_repository_ids` can access the private registry.", + "enum": [ + "all", + "private", + "selected" + ], + "type": "string" + }, + "selected_repository_ids": { + "type": "array", + "description": "An array of repository IDs that can access the organization private registry when `visibility` is set to `selected`.", + "items": { + "type": "integer" + } + }, + "created_at": { + "type": "string", + "format": "date-time" + }, + "updated_at": { + "type": "string", + "format": "date-time" + } + }, + "required": [ + "name", + "registry_type", + "visibility", + "created_at", + "updated_at" + ] + }, + "examples": { + "org-private-registry-with-selected-visibility": { + "value": { + "name": "MAVEN_REPOSITORY_SECRET", + "registry_type": "maven_repository", + "username": "monalisa", + "visibility": "private", + "created_at": "2019-08-10T14:59:22Z", + "updated_at": "2020-01-10T14:59:22Z" + } + }, + "org-private-registry-with-private-visibility": { + "value": { + "name": "MAVEN_REPOSITORY_SECRET", + "registry_type": "maven_repository", + "username": "monalisa", + "visibility": "selected", + "selected_repository_ids": [ + 1296269, + 1296280 + ], + "created_at": "2019-08-10T14:59:22Z", + "updated_at": "2020-01-10T14:59:22Z" + } + } + } + } + } + }, + "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" + } + } + } + } + } + }, + "422": { + "description": "Validation failed, or the endpoint has been spammed.", + "content": { + "application/json": { + "schema": { + "title": "Validation Error", + "description": "Validation Error", + "type": "object", + "required": [ + "message", + "documentation_url" + ], + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "errors": { + "type": "array", + "items": { + "type": "object", + "required": [ + "code" + ], + "properties": { + "resource": { + "type": "string" + }, + "field": { + "type": "string" + }, + "message": { + "type": "string" + }, + "code": { + "type": "string" + }, + "index": { + "type": "integer" + }, + "value": { + "oneOf": [ + { + "type": [ + "string", + "null" + ] + }, + { + "type": [ + "integer", + "null" + ] + }, + { + "type": [ + "array", + "null" + ], + "items": { + "type": "string" + } + } + ] + } + } + } + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "private-registries", + "subcategory": "organization-configurations" + } + } + }, + "/orgs/{org}/private-registries/public-key": { + "get": { + "summary": "Get private registries public key for an organization", + "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nGets the org public key, which is needed to encrypt private registry secrets. You need to encrypt a secret before you can create or update secrets.\n\nOAuth tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint.", + "tags": [ + "private-registries" + ], + "operationId": "private-registries/get-org-public-key", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/private-registries/organization-configurations#get-private-registries-public-key-for-an-organization" + }, + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "key_id", + "key" + ], + "properties": { + "key_id": { + "description": "The identifier for the key.", + "type": "string", + "examples": [ + "012345678912345678" + ] + }, + "key": { + "description": "The Base64 encoded public key.", + "type": "string", + "examples": [ + "2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234" + ] + } + } + }, + "examples": { + "default": { + "value": { + "key_id": "012345678912345678", + "key": "2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234" + } + } + } + } + }, + "headers": { + "Link": { + "example": "; rel=\"next\", ; rel=\"last\"", + "schema": { + "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": true, + "category": "private-registries", + "subcategory": "organization-configurations" + } + } + }, + "/orgs/{org}/private-registries/{secret_name}": { + "get": { + "summary": "Get a private registry for an organization", + "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nGet the configuration of a single private registry defined for an organization, omitting its encrypted value.\n\nOAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint.", + "tags": [ + "private-registries" + ], + "operationId": "private-registries/get-org-private-registry", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/private-registries/organization-configurations#get-a-private-registry-for-an-organization" + }, + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "secret_name", + "description": "The name of the secret.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "The specified private registry configuration for the organization", + "content": { + "application/json": { + "schema": { + "title": "Organization private registry", + "description": "Private registry configuration for an organization", + "type": "object", + "properties": { + "name": { + "description": "The name of the private registry configuration.", + "type": "string", + "examples": [ + "MAVEN_REPOSITORY_SECRET" + ] + }, + "registry_type": { + "description": "The registry type.", + "enum": [ + "maven_repository" + ], + "type": "string" + }, + "username": { + "description": "The username to use when authenticating with the private registry.", + "type": [ + "string", + "null" + ], + "examples": [ + "monalisa" + ] + }, + "visibility": { + "description": "Which type of organization repositories have access to the private registry.", + "enum": [ + "all", + "private", + "selected" + ], + "type": "string" + }, + "created_at": { + "type": "string", + "format": "date-time" + }, + "updated_at": { + "type": "string", + "format": "date-time" + } + }, + "required": [ + "name", + "registry_type", + "visibility", + "created_at", + "updated_at" + ] + }, + "examples": { + "default": { + "value": { + "name": "MAVEN_REPOSITORY_SECRET", + "registry_type": "maven_repository", + "username": "monalisa", + "visibility": "private", + "created_at": "2019-08-10T14:59:22Z", + "updated_at": "2020-01-10T14:59:22Z" + } + } + } + } + } + }, + "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": true, + "category": "private-registries", + "subcategory": "organization-configurations" + } + }, + "patch": { + "summary": "Update a private registry for an organization", + "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\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/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": [ + "private-registries" + ], + "operationId": "private-registries/update-org-private-registry", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/private-registries/organization-configurations#update-a-private-registry-for-an-organization" + }, + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "secret_name", + "description": "The name of the secret.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "registry_type": { + "description": "The registry type.", + "type": "string", + "enum": [ + "maven_repository" + ] + }, + "username": { + "description": "The username to use when authenticating with the private registry. This field should be omitted if the private registry does not require a username for authentication.", + "type": [ + "string", + "null" + ] + }, + "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/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})$" + }, + "key_id": { + "description": "The ID of the key you used to encrypt the secret.", + "type": "string" + }, + "visibility": { + "description": "Which type of organization repositories have access to the private registry. `selected` means only the repositories specified by `selected_repository_ids` can access the private registry.", + "type": "string", + "enum": [ + "all", + "private", + "selected" + ] + }, + "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`. This field should be omitted if `visibility` is set to `all` or `private`.", + "type": "array", + "items": { + "type": "integer" + } + } + } + }, + "examples": { + "update-username-and-encrypted-value": { + "value": { + "username": "monalisa", + "encrypted_value": "c2VjcmV0", + "key_id": "012345678912345678" + } + }, + "update-with-selected-visibility": { + "value": { + "visibility": "selected", + "selected_repository_ids": [ + 1296269, + 1296280 + ] + } + } + } + } + } + }, + "responses": { + "204": { + "description": "Response" + }, + "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" + } + } + } + } + } + }, + "422": { + "description": "Validation failed, or the endpoint has been spammed.", + "content": { + "application/json": { + "schema": { + "title": "Validation Error", + "description": "Validation Error", + "type": "object", + "required": [ + "message", + "documentation_url" + ], + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "errors": { + "type": "array", + "items": { + "type": "object", + "required": [ + "code" + ], + "properties": { + "resource": { + "type": "string" + }, + "field": { + "type": "string" + }, + "message": { + "type": "string" + }, + "code": { + "type": "string" + }, + "index": { + "type": "integer" + }, + "value": { + "oneOf": [ + { + "type": [ + "string", + "null" + ] + }, + { + "type": [ + "integer", + "null" + ] + }, + { + "type": [ + "array", + "null" + ], + "items": { + "type": "string" + } + } + ] + } + } + } + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "private-registries", + "subcategory": "organization-configurations" + } + }, + "delete": { + "summary": "Delete a private registry for an organization", + "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nDelete a private registry configuration at the organization-level.\n\nOAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint.", + "tags": [ + "private-registries" + ], + "operationId": "private-registries/delete-org-private-registry", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/private-registries/organization-configurations#delete-a-private-registry-for-an-organization" + }, + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "secret_name", + "description": "The name of the secret.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "204": { + "description": "Response" + }, + "400": { + "description": "Bad Request", + "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" + } + } + } + }, + "application/scim+json": { + "schema": { + "title": "Scim Error", + "description": "Scim Error", + "type": "object", + "properties": { + "message": { + "type": [ + "string", + "null" + ] + }, + "documentation_url": { + "type": [ + "string", + "null" + ] + }, + "detail": { + "type": [ + "string", + "null" + ] + }, + "status": { + "type": "integer" + }, + "scimType": { + "type": [ + "string", + "null" + ] + }, + "schemas": { + "type": "array", + "items": { + "type": "string" + } + } + } + } + } + } + }, + "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": true, + "category": "private-registries", + "subcategory": "organization-configurations" + } + } + }, "/orgs/{org}/projects": { "get": { "summary": "List organization projects", diff --git a/descriptions-next/api.github.com/dereferenced/api.github.com.2022-11-28.deref.yaml b/descriptions-next/api.github.com/dereferenced/api.github.com.2022-11-28.deref.yaml index e2f464c41..a1aab4b4e 100644 --- a/descriptions-next/api.github.com/dereferenced/api.github.com.2022-11-28.deref.yaml +++ b/descriptions-next/api.github.com/dereferenced/api.github.com.2022-11-28.deref.yaml @@ -888,7 +888,7 @@ paths: - subscriptions_url - type - url - type: &225 + type: &227 type: string description: The type of credit the user is receiving. enum: @@ -1054,7 +1054,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/global-advisories#get-a-global-security-advisory parameters: - - &536 + - &538 name: ghsa_id description: The GHSA (GitHub Security Advisory) identifier of the advisory. in: path @@ -8830,7 +8830,7 @@ paths: - development - runtime - - security_advisory: &390 + security_advisory: &392 type: object description: Details for the GitHub Security Advisory. readOnly: true @@ -9097,7 +9097,7 @@ paths: and was considered fixed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' format: date-time readOnly: true - auto_dismissed_at: &391 + auto_dismissed_at: &393 type: - string - 'null' @@ -9468,7 +9468,7 @@ paths: url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-enterprise parameters: - *39 - - &216 + - &218 name: state in: query description: Set to `open` or `resolved` to only list secret scanning alerts @@ -9479,7 +9479,7 @@ paths: enum: - open - resolved - - &217 + - &219 name: secret_type in: query description: A comma-separated list of secret types to return. All default @@ -9489,7 +9489,7 @@ paths: required: false schema: type: string - - &218 + - &220 name: resolution in: query description: A comma-separated list of resolutions. Only secret scanning alerts @@ -9498,7 +9498,7 @@ paths: required: false schema: type: string - - &219 + - &221 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. @@ -9514,7 +9514,7 @@ paths: - *17 - *37 - *38 - - &220 + - &222 name: validity in: query description: A comma-separated list of validities that, when present, will @@ -9523,7 +9523,7 @@ paths: required: false schema: type: string - - &221 + - &223 name: is_publicly_leaked in: query description: A boolean value representing whether or not to filter alerts @@ -9532,7 +9532,7 @@ paths: schema: type: boolean default: false - - &222 + - &224 name: is_multi_repo in: query description: A boolean value representing whether or not to filter alerts @@ -9548,7 +9548,7 @@ paths: application/json: schema: type: array - items: &223 + items: &225 type: object properties: number: *51 @@ -9564,14 +9564,14 @@ paths: format: uri description: The REST API URL of the code locations for this alert. - state: &528 + state: &530 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: &529 + resolution: &531 type: - string - 'null' @@ -9670,7 +9670,7 @@ paths: description: Whether the detected secret was found in multiple repositories in the same organization or enterprise. examples: - default: &224 + default: &226 value: - number: 2 created_at: '2020-11-06T18:48:51Z' @@ -10123,7 +10123,7 @@ paths: milestone: anyOf: - type: 'null' - - &378 + - &380 title: Milestone description: A collection of related issues and pull requests. @@ -10387,7 +10387,7 @@ paths: - author_association - created_at - updated_at - comment: &437 + comment: &439 title: Issue Comment description: Comments provide a way for people to collaborate on an issue. @@ -10960,7 +10960,7 @@ paths: url: type: string format: uri - user: &559 + user: &561 title: Public User description: Public User type: object @@ -14312,14 +14312,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-public-events-for-a-network-of-repositories parameters: - - &246 + - &248 name: owner description: The account owner of the repository. The name is not case sensitive. in: path required: true schema: type: string - - &247 + - &249 name: repo description: The name of the repository without the `.git` extension. The name is not case sensitive. @@ -14390,7 +14390,7 @@ paths: '404': *6 '403': *27 '304': *35 - '301': &258 + '301': &260 description: Moved permanently content: application/json: @@ -14412,7 +14412,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#list-notifications-for-the-authenticated-user parameters: - - &466 + - &468 name: all description: If `true`, show notifications marked as read. in: query @@ -14420,7 +14420,7 @@ paths: schema: type: boolean default: false - - &467 + - &469 name: participating description: If `true`, only shows notifications in which the user is directly participating or mentioned. @@ -14430,7 +14430,7 @@ paths: type: boolean default: false - *63 - - &468 + - &470 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: @@ -14801,7 +14801,7 @@ paths: type: boolean examples: - false - security_and_analysis: &207 + security_and_analysis: &209 type: - object - 'null' @@ -14948,7 +14948,7 @@ paths: - url - subscription_url examples: - default: &469 + default: &471 value: - id: '1' repository: @@ -15569,7 +15569,7 @@ paths: - avatar_url - description examples: - default: &576 + default: &578 value: - login: github id: 1 @@ -16542,7 +16542,7 @@ paths: type: integer repository_cache_usages: type: array - items: &263 + items: &265 title: Actions Cache Usage by repository description: GitHub Actions Cache Usage by repository. type: object @@ -16715,7 +16715,7 @@ paths: - all - local_only - selected - selected_actions_url: &269 + selected_actions_url: &271 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` @@ -16805,7 +16805,7 @@ paths: type: array items: *58 examples: - default: &570 + default: &572 value: total_count: 1 repositories: @@ -17133,7 +17133,7 @@ paths: description: Response content: application/json: - schema: &273 + schema: &275 type: object properties: default_workflow_permissions: &101 @@ -17184,7 +17184,7 @@ paths: required: false content: application/json: - schema: &274 + schema: &276 type: object properties: default_workflow_permissions: *101 @@ -17622,7 +17622,7 @@ paths: type: array items: *107 examples: - default: &562 + default: &564 value: total_count: 1 repositories: @@ -18265,7 +18265,7 @@ paths: application/json: schema: type: array - items: &275 + items: &277 title: Runner Application description: Runner Application type: object @@ -18290,7 +18290,7 @@ paths: - download_url - filename examples: - default: &276 + default: &278 value: - os: osx architecture: x64 @@ -18376,7 +18376,7 @@ paths: - no-gpu work_folder: _work responses: - '201': &277 + '201': &279 description: Response content: application/json: @@ -18490,7 +18490,7 @@ paths: - token - expires_at examples: - default: &278 + default: &280 value: token: LLBF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-22T12:13:35.123-08:00' @@ -18529,7 +18529,7 @@ paths: application/json: schema: *111 examples: - default: &279 + default: &281 value: token: AABF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-29T12:13:35.123-08:00' @@ -18563,7 +18563,7 @@ paths: application/json: schema: *109 examples: - default: &280 + default: &282 value: id: 23 name: MBP @@ -18787,7 +18787,7 @@ paths: - *89 - *108 responses: - '200': &281 + '200': &283 description: Response content: application/json: @@ -18844,7 +18844,7 @@ paths: parameters: - *89 - *108 - - &282 + - &284 name: name description: The name of a self-hosted runner's custom label. in: path @@ -18976,7 +18976,7 @@ paths: description: Response content: application/json: - schema: &294 + schema: &296 title: ActionsPublicKey description: The public key used for setting Actions Secrets. type: object @@ -19011,7 +19011,7 @@ paths: - key_id - key examples: - default: &295 + default: &297 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -19422,7 +19422,7 @@ paths: url: https://docs.github.com/rest/actions/variables#list-organization-variables parameters: - *89 - - &268 + - &270 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)." @@ -19954,7 +19954,7 @@ paths: bundle_url: type: string examples: - default: &308 + default: &310 value: attestations: - bundle: @@ -20191,7 +20191,7 @@ paths: url: https://docs.github.com/rest/code-scanning/code-scanning#list-code-scanning-alerts-for-an-organization parameters: - *89 - - &333 + - &335 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`, @@ -20201,7 +20201,7 @@ paths: schema: &123 type: string description: The name of the tool used to generate the code scanning analysis. - - &334 + - &336 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 @@ -20225,7 +20225,7 @@ paths: be returned. in: query required: false - schema: &336 + schema: &338 type: string description: State of a code scanning alert. enum: @@ -20248,7 +20248,7 @@ paths: be returned. in: query required: false - schema: &337 + schema: &339 type: string description: Severity of a code scanning alert. enum: @@ -20274,7 +20274,7 @@ paths: updated_at: *53 url: *54 html_url: *55 - instances_url: &338 + instances_url: &340 type: string description: The REST API URL for fetching the list of instances for an alert. @@ -20296,7 +20296,7 @@ paths: - type: 'null' - *4 dismissed_at: *122 - dismissed_reason: &339 + dismissed_reason: &341 type: - string - 'null' @@ -20307,14 +20307,14 @@ paths: - won't fix - used in tests - - dismissed_comment: &340 + dismissed_comment: &342 type: - string - 'null' description: The dismissal comment associated with the dismissal of the alert. maxLength: 280 - rule: &341 + rule: &343 type: object properties: id: @@ -20375,7 +20375,7 @@ paths: - 'null' description: A link to the documentation for the rule used to detect the alert. - tool: &342 + tool: &344 type: object properties: name: *123 @@ -20386,15 +20386,15 @@ paths: description: The version of the tool used to generate the code scanning analysis. guid: *124 - most_recent_instance: &343 + most_recent_instance: &345 type: object properties: - ref: &335 + ref: &337 type: string description: |- The Git reference, formatted as `refs/pull//merge`, `refs/pull//head`, `refs/heads/` or simply ``. - analysis_key: &353 + analysis_key: &355 type: string description: Identifies the configuration under which the analysis was executed. For example, in GitHub Actions @@ -20405,7 +20405,7 @@ paths: the environment in which the analysis that generated this alert instance was performed, such as the language that was analyzed. - category: &354 + category: &356 type: string description: Identifies the configuration under which the analysis was executed. Used to distinguish between multiple @@ -21624,7 +21624,7 @@ paths: machine: anyOf: - type: 'null' - - &366 + - &368 type: object title: Codespace machine description: A description of the machine powering a codespace. @@ -22576,7 +22576,7 @@ paths: - updated_at - visibility examples: - default: &367 + default: &369 value: total_count: 2 secrets: @@ -22614,7 +22614,7 @@ paths: description: Response content: application/json: - schema: &368 + schema: &370 title: CodespacesPublicKey description: The public key used for setting Codespaces secrets. type: object @@ -22649,7 +22649,7 @@ paths: - key_id - key examples: - default: &369 + default: &371 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -22681,7 +22681,7 @@ paths: application/json: schema: *133 examples: - default: &371 + default: &373 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -23872,7 +23872,7 @@ paths: application/json: schema: type: array - items: &226 + items: &228 title: Copilot Usage Metrics description: Copilot usage metrics for a given day. type: object @@ -24188,7 +24188,7 @@ paths: - date additionalProperties: true examples: - default: &227 + default: &229 value: - date: '2024-06-24' total_active_users: 24 @@ -24290,7 +24290,7 @@ paths: '500': *132 '403': *27 '404': *6 - '422': &228 + '422': &230 description: Copilot Usage Merics API setting is disabled at the organization or enterprise level. content: @@ -24358,7 +24358,7 @@ paths: application/json: schema: type: array - items: &229 + items: &231 title: Copilot Usage Metrics description: Summary of Copilot usage. type: object @@ -24446,7 +24446,7 @@ paths: - breakdown additionalProperties: false examples: - default: &230 + default: &232 value: - day: '2023-10-15' total_suggestions_count: 1000 @@ -24680,7 +24680,7 @@ paths: description: Response content: application/json: - schema: &394 + schema: &396 title: DependabotPublicKey description: The public key used for setting Dependabot Secrets. type: object @@ -24699,7 +24699,7 @@ paths: - key_id - key examples: - default: &395 + default: &397 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -26520,7 +26520,7 @@ paths: application/json: schema: *20 examples: - default: &433 + default: &435 value: id: 1 account: @@ -26748,7 +26748,7 @@ paths: required: true content: application/json: - schema: &434 + schema: &436 title: Interaction Restrictions description: Limit interactions to a specific type of user for a specified duration @@ -27360,7 +27360,7 @@ paths: application/json: schema: *175 examples: - default: &365 + default: &367 value: id: 1 name: monalisa-octocat-hello-world-g4wpq6h95q @@ -28598,7 +28598,7 @@ paths: parameters: - *89 - *182 - - &575 + - &577 name: repo_name description: repo_name parameter in: path @@ -29641,7 +29641,7 @@ paths: - nuget - container - *89 - - &577 + - &579 name: visibility description: |- The selected visibility of the packages. This parameter is optional and only filters an existing result set. @@ -29682,7 +29682,7 @@ paths: default: *189 '403': *27 '401': *23 - '400': &579 + '400': &581 description: The value of `per_page` multiplied by `page` cannot be greater than 10000. x-github: @@ -30823,6 +30823,480 @@ paths: enabledForGitHubApps: true category: orgs subcategory: personal-access-tokens + "/orgs/{org}/private-registries": + get: + summary: List private registries for an organization + description: |- + > [!NOTE] + > This endpoint is in public preview and is subject to change. + + Lists all private registry configurations available at the organization-level without revealing their encrypted + values. + + OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + tags: + - private-registries + operationId: private-registries/list-org-private-registries + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/private-registries/organization-configurations#list-private-registries-for-an-organization + parameters: + - *89 + - *17 + - *18 + responses: + '200': + description: Response + content: + application/json: + schema: + type: object + required: + - total_count + - configurations + properties: + total_count: + type: integer + configurations: + type: array + items: &201 + title: Organization private registry + description: Private registry configuration for an organization + type: object + properties: + name: + description: The name of the private registry configuration. + type: string + examples: + - MAVEN_REPOSITORY_SECRET + registry_type: + description: The registry type. + enum: + - maven_repository + type: string + username: + description: The username to use when authenticating with + the private registry. + type: + - string + - 'null' + examples: + - monalisa + visibility: + description: Which type of organization repositories have + access to the private registry. + enum: + - all + - private + - selected + type: string + created_at: + type: string + format: date-time + updated_at: + type: string + format: date-time + required: + - name + - registry_type + - visibility + - created_at + - updated_at + examples: + default: + value: + total_count: 1 + configurations: + - name: MAVEN_REPOSITORY_SECRET + registry_type: maven_repository + username: monalisa + created_at: '2019-08-10T14:59:22Z' + updated_at: '2020-01-10T14:59:22Z' + visibility: selected + headers: + Link: *56 + '400': *14 + '404': *6 + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: private-registries + subcategory: organization-configurations + post: + summary: Create a private registry for an organization + description: |- + > [!NOTE] + > This endpoint is in public preview and is subject to change. + + Creates 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/rest/guides/encrypting-secrets-for-the-rest-api)." + + OAuth 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/rest/private-registries/organization-configurations#create-a-private-registry-for-an-organization + parameters: + - *89 + requestBody: + required: true + content: + application/json: + schema: + type: object + properties: + registry_type: + description: The registry type. + type: string + enum: + - maven_repository + username: + description: The username to use when authenticating with the private + registry. This field should be omitted if the private registry + does not require a username for authentication. + type: + - string + - 'null' + 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/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})$" + key_id: + description: The ID of the key you used to encrypt the secret. + type: string + visibility: + description: Which type of organization repositories have access + to the private registry. `selected` means only the repositories + specified by `selected_repository_ids` can access the private + registry. + type: string + enum: + - all + - private + - selected + 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/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 + required: + - registry_type + - encrypted_value + - key_id + - visibility + examples: + org-private-registry-with-private-visibility: + summary: Example of a private registry configuration with private + visibility + value: + registry_type: maven_repository + username: monalisa + encrypted_value: c2VjcmV0 + key_id: '012345678912345678' + visibility: private + org-private-registry-with-selected-visibility: + summary: Example of a private registry configuration with selected + visibility + value: + registry_type: maven_repository + username: monalisa + encrypted_value: c2VjcmV0 + key_id: '012345678912345678' + visibility: selected + selected_repository_ids: + - 1296269 + - 1296280 + responses: + '201': + description: The organization private registry configuration + content: + application/json: + schema: + title: Organization private registry + description: Private registry configuration for an organization + type: object + properties: + name: + description: The name of the private registry configuration. + type: string + examples: + - MAVEN_REPOSITORY_SECRET + registry_type: + description: The registry type. + enum: + - maven_repository + type: string + username: + description: The username to use when authenticating with the + private registry. + type: string + examples: + - monalisa + visibility: + description: Which type of organization repositories have access + to the private registry. `selected` means only the repositories + specified by `selected_repository_ids` can access the private + registry. + enum: + - all + - private + - selected + type: string + selected_repository_ids: + type: array + description: An array of repository IDs that can access the organization + private registry when `visibility` is set to `selected`. + items: + type: integer + created_at: + type: string + format: date-time + updated_at: + type: string + format: date-time + required: + - name + - registry_type + - visibility + - created_at + - updated_at + examples: + org-private-registry-with-selected-visibility: &202 + value: + name: MAVEN_REPOSITORY_SECRET + registry_type: maven_repository + username: monalisa + visibility: private + created_at: '2019-08-10T14:59:22Z' + updated_at: '2020-01-10T14:59:22Z' + org-private-registry-with-private-visibility: + value: + name: MAVEN_REPOSITORY_SECRET + registry_type: maven_repository + username: monalisa + visibility: selected + selected_repository_ids: + - 1296269 + - 1296280 + created_at: '2019-08-10T14:59:22Z' + updated_at: '2020-01-10T14:59:22Z' + '404': *6 + '422': *15 + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: private-registries + subcategory: organization-configurations + "/orgs/{org}/private-registries/public-key": + get: + summary: Get private registries public key for an organization + description: |- + > [!NOTE] + > This endpoint is in public preview and is subject to change. + + Gets the org public key, which is needed to encrypt private registry secrets. You need to encrypt a secret before you can create or update secrets. + + OAuth tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + tags: + - private-registries + operationId: private-registries/get-org-public-key + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/private-registries/organization-configurations#get-private-registries-public-key-for-an-organization + parameters: + - *89 + responses: + '200': + description: Response + content: + application/json: + schema: + type: object + required: + - key_id + - key + properties: + key_id: + description: The identifier for the key. + type: string + examples: + - '012345678912345678' + key: + description: The Base64 encoded public key. + type: string + examples: + - 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 + examples: + default: + value: + key_id: '012345678912345678' + key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 + headers: + Link: *56 + '404': *6 + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: private-registries + subcategory: organization-configurations + "/orgs/{org}/private-registries/{secret_name}": + get: + summary: Get a private registry for an organization + description: |- + > [!NOTE] + > This endpoint is in public preview and is subject to change. + + Get the configuration of a single private registry defined for an organization, omitting its encrypted value. + + OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + tags: + - private-registries + operationId: private-registries/get-org-private-registry + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/private-registries/organization-configurations#get-a-private-registry-for-an-organization + parameters: + - *89 + - *115 + responses: + '200': + description: The specified private registry configuration for the organization + content: + application/json: + schema: *201 + examples: + default: *202 + '404': *6 + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: private-registries + subcategory: organization-configurations + patch: + summary: Update a private registry for an organization + description: |- + > [!NOTE] + > This endpoint is in public preview and is subject to change. + + Updates 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/rest/guides/encrypting-secrets-for-the-rest-api)." + + OAuth 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/rest/private-registries/organization-configurations#update-a-private-registry-for-an-organization + parameters: + - *89 + - *115 + requestBody: + required: true + content: + application/json: + schema: + type: object + properties: + registry_type: + description: The registry type. + type: string + enum: + - maven_repository + username: + description: The username to use when authenticating with the private + registry. This field should be omitted if the private registry + does not require a username for authentication. + type: + - string + - 'null' + 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/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})$" + key_id: + description: The ID of the key you used to encrypt the secret. + type: string + visibility: + description: Which type of organization repositories have access + to the private registry. `selected` means only the repositories + specified by `selected_repository_ids` can access the private + registry. + type: string + enum: + - all + - private + - selected + 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`. This field should be omitted + if `visibility` is set to `all` or `private`. + type: array + items: + type: integer + examples: + update-username-and-encrypted-value: + value: + username: monalisa + encrypted_value: c2VjcmV0 + key_id: '012345678912345678' + update-with-selected-visibility: + value: + visibility: selected + selected_repository_ids: + - 1296269 + - 1296280 + responses: + '204': + description: Response + '404': *6 + '422': *15 + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: private-registries + subcategory: organization-configurations + delete: + summary: Delete a private registry for an organization + description: |- + > [!NOTE] + > This endpoint is in public preview and is subject to change. + + Delete a private registry configuration at the organization-level. + + OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + tags: + - private-registries + operationId: private-registries/delete-org-private-registry + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/private-registries/organization-configurations#delete-a-private-registry-for-an-organization + parameters: + - *89 + - *115 + responses: + '204': + description: Response + '400': *14 + '404': *6 + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: private-registries + subcategory: organization-configurations "/orgs/{org}/projects": get: summary: List organization projects @@ -30858,7 +31332,7 @@ paths: application/json: schema: type: array - items: &201 + items: &203 title: Project description: Projects are a way to organize columns and cards of work. @@ -31037,7 +31511,7 @@ paths: description: Response content: application/json: - schema: *201 + schema: *203 examples: default: value: @@ -31075,7 +31549,7 @@ paths: '401': *23 '403': *27 '404': *6 - '410': &255 + '410': &257 description: Gone content: application/json: @@ -31107,7 +31581,7 @@ paths: application/json: schema: type: array - items: &202 + items: &204 title: Organization Custom Property description: Custom property defined on an organization type: object @@ -31183,7 +31657,7 @@ paths: - property_name - value_type examples: - default: &203 + default: &205 value: - property_name: environment url: https://api.github.com/orgs/github/properties/schema/environment @@ -31238,7 +31712,7 @@ paths: properties: type: array description: The array of custom properties to create or update. - items: *202 + items: *204 minItems: 1 maxItems: 100 required: @@ -31268,9 +31742,9 @@ paths: application/json: schema: type: array - items: *202 + items: *204 examples: - default: *203 + default: *205 '403': *27 '404': *6 x-github: @@ -31292,7 +31766,7 @@ paths: url: https://docs.github.com/rest/orgs/custom-properties#get-a-custom-property-for-an-organization parameters: - *89 - - &204 + - &206 name: custom_property_name description: The custom property name in: path @@ -31304,9 +31778,9 @@ paths: description: Response content: application/json: - schema: *202 + schema: *204 examples: - default: &205 + default: &207 value: property_name: environment url: https://api.github.com/orgs/github/properties/schema/environment @@ -31341,7 +31815,7 @@ paths: url: https://docs.github.com/rest/orgs/custom-properties#create-or-update-a-custom-property-for-an-organization parameters: - *89 - - *204 + - *206 requestBody: required: true content: @@ -31408,9 +31882,9 @@ paths: description: Response content: application/json: - schema: *202 + schema: *204 examples: - default: *205 + default: *207 '403': *27 '404': *6 x-github: @@ -31434,7 +31908,7 @@ paths: url: https://docs.github.com/rest/orgs/custom-properties#remove-a-custom-property-for-an-organization parameters: - *89 - - *204 + - *206 responses: '204': *129 '403': *27 @@ -31498,7 +31972,7 @@ paths: - octocat/Hello-World properties: type: array - items: &206 + items: &208 title: Custom Property Value description: Custom property name and associated value type: object @@ -31588,7 +32062,7 @@ paths: type: array description: List of custom property names and associated values to apply to the repositories. - items: *206 + items: *208 required: - repository_names - properties @@ -31983,7 +32457,7 @@ paths: description: Response content: application/json: - schema: &257 + schema: &259 title: Full Repository description: Full Repository type: object @@ -32448,7 +32922,7 @@ paths: description: Whether anonymous git access is allowed. default: true type: boolean - code_of_conduct: &384 + code_of_conduct: &386 title: Code Of Conduct Simple description: Code of Conduct Simple type: object @@ -32478,7 +32952,7 @@ paths: - key - name - html_url - security_and_analysis: *207 + security_and_analysis: *209 custom_properties: type: object description: The custom properties that were defined for the repository. @@ -32562,7 +33036,7 @@ paths: - network_count - subscribers_count examples: - default: &259 + default: &261 value: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -33083,7 +33557,7 @@ paths: - *89 - *17 - *18 - - &515 + - &517 name: targets description: | A comma-separated list of rule targets to filter by. @@ -33102,7 +33576,7 @@ paths: application/json: schema: type: array - items: &214 + items: &216 title: Repository ruleset type: object description: A set of rules to apply when specified conditions are @@ -33137,7 +33611,7 @@ paths: source: type: string description: The name of the source - enforcement: &210 + enforcement: &212 type: string description: The enforcement level of the ruleset. `evaluate` allows admins to test rules before enforcing them. Admins @@ -33150,7 +33624,7 @@ paths: bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: &211 + items: &213 title: Repository Ruleset Bypass Actor type: object description: An actor that can bypass rules in a ruleset @@ -33216,7 +33690,7 @@ paths: description: The html URL of the ruleset conditions: anyOf: - - &208 + - &210 title: Repository ruleset conditions for ref names type: object description: Parameters for a repository ruleset ref name @@ -33240,7 +33714,7 @@ paths: match. items: type: string - - &212 + - &214 title: Organization ruleset conditions type: object description: |- @@ -33254,7 +33728,7 @@ paths: description: Conditions to target repositories by name and refs by name allOf: - - *208 + - *210 - title: Repository ruleset conditions for repository names type: object description: Parameters for a repository name condition @@ -33288,7 +33762,7 @@ paths: description: Conditions to target repositories by id and refs by name allOf: - - *208 + - *210 - title: Repository ruleset conditions for repository IDs type: object description: Parameters for a repository ID condition @@ -33310,7 +33784,7 @@ paths: description: Conditions to target repositories by property and refs by name allOf: - - *208 + - *210 - title: Repository ruleset conditions for repository properties type: object description: Parameters for a repository property condition @@ -33323,7 +33797,7 @@ paths: description: The repository properties and values to include. All of these properties must match for the condition to pass. - items: &209 + items: &211 title: Repository ruleset property targeting definition type: object @@ -33356,7 +33830,7 @@ paths: description: The repository properties and values to exclude. The condition will not pass if any of these properties match. - items: *209 + items: *211 required: - repository_property type: @@ -33364,12 +33838,12 @@ paths: - object rules: type: array - items: &213 + items: &215 title: Repository Rule type: object description: A repository rule. oneOf: - - &497 + - &499 title: creation description: Only allow users with bypass permission to create matching refs. @@ -33381,7 +33855,7 @@ paths: type: string enum: - creation - - &498 + - &500 title: update description: Only allow users with bypass permission to update matching refs. @@ -33402,7 +33876,7 @@ paths: repository required: - update_allows_fetch_and_merge - - &500 + - &502 title: deletion description: Only allow users with bypass permissions to delete matching refs. @@ -33414,7 +33888,7 @@ paths: type: string enum: - deletion - - &501 + - &503 title: required_linear_history description: Prevent merge commits from being pushed to matching refs. @@ -33426,7 +33900,7 @@ paths: type: string enum: - required_linear_history - - &502 + - &504 title: merge_queue description: Merges must be performed via a merge queue. type: object @@ -33504,7 +33978,7 @@ paths: - merge_method - min_entries_to_merge - min_entries_to_merge_wait_minutes - - &503 + - &505 title: required_deployments description: Choose which environments must be successfully deployed to before refs can be pushed into a ref that @@ -33528,7 +34002,7 @@ paths: type: string required: - required_deployment_environments - - &504 + - &506 title: required_signatures description: Commits pushed to matching refs must have verified signatures. @@ -33540,7 +34014,7 @@ paths: type: string enum: - required_signatures - - &505 + - &507 title: pull_request description: Require all commits be made to a non-target branch and submitted via a pull request before they can @@ -33593,7 +34067,7 @@ paths: - require_last_push_approval - required_approving_review_count - required_review_thread_resolution - - &506 + - &508 title: required_status_checks description: Choose which status checks must pass before the ref is updated. When enabled, commits must first be @@ -33641,7 +34115,7 @@ paths: required: - required_status_checks - strict_required_status_checks_policy - - &507 + - &509 title: non_fast_forward description: Prevent users with push access from force pushing to refs. @@ -33653,7 +34127,7 @@ paths: type: string enum: - non_fast_forward - - &508 + - &510 title: commit_message_pattern description: Parameters to be used for the commit_message_pattern rule @@ -33689,7 +34163,7 @@ paths: required: - operator - pattern - - &509 + - &511 title: commit_author_email_pattern description: Parameters to be used for the commit_author_email_pattern rule @@ -33725,7 +34199,7 @@ paths: required: - operator - pattern - - &510 + - &512 title: committer_email_pattern description: Parameters to be used for the committer_email_pattern rule @@ -33761,7 +34235,7 @@ paths: required: - operator - pattern - - &511 + - &513 title: branch_name_pattern description: Parameters to be used for the branch_name_pattern rule @@ -33797,7 +34271,7 @@ paths: required: - operator - pattern - - &512 + - &514 title: tag_name_pattern description: Parameters to be used for the tag_name_pattern rule @@ -33923,7 +34397,7 @@ paths: maximum: 100 required: - max_file_size - - &513 + - &515 title: workflows description: Require all changes made to a targeted branch to pass the specified workflows before they can be merged. @@ -33973,7 +34447,7 @@ paths: - repository_id required: - workflows - - &514 + - &516 title: code_scanning description: Choose which tools must provide code scanning results before the reference is updated. When configured, @@ -34107,16 +34581,16 @@ paths: - push - repository default: branch - enforcement: *210 + enforcement: *212 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *211 - conditions: *212 + items: *213 + conditions: *214 rules: type: array description: An array of rules within the ruleset. - items: *213 + items: *215 required: - name - enforcement @@ -34154,9 +34628,9 @@ paths: description: Response content: application/json: - schema: *214 + schema: *216 examples: - default: &215 + default: &217 value: id: 21 name: super cool ruleset @@ -34211,7 +34685,7 @@ paths: url: https://docs.github.com/rest/orgs/rule-suites#list-organization-rule-suites parameters: - *89 - - &516 + - &518 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 @@ -34226,7 +34700,7 @@ paths: in: query schema: type: string - - &517 + - &519 name: time_period description: |- The time period to filter by. @@ -34242,14 +34716,14 @@ paths: - week - month default: day - - &518 + - &520 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 - - &519 + - &521 name: rule_suite_result description: The rule results to filter on. When specified, only suites with this result will be returned. @@ -34269,7 +34743,7 @@ paths: description: Response content: application/json: - schema: &520 + schema: &522 title: Rule Suites description: Response type: array @@ -34325,7 +34799,7 @@ paths: whether rules would pass or fail if all rules in the rule suite were `active`. examples: - default: &521 + default: &523 value: - id: 21 actor_id: 12 @@ -34369,7 +34843,7 @@ paths: url: https://docs.github.com/rest/orgs/rule-suites#get-an-organization-rule-suite parameters: - *89 - - &522 + - &524 name: rule_suite_id description: |- The unique identifier of the rule suite result. @@ -34385,7 +34859,7 @@ paths: description: Response content: application/json: - schema: &523 + schema: &525 title: Rule Suite description: Response type: object @@ -34492,7 +34966,7 @@ paths: description: The detailed failure message for the rule. Null if the rule passed. examples: - default: &524 + default: &526 value: id: 21 actor_id: 12 @@ -34565,9 +35039,9 @@ paths: description: Response content: application/json: - schema: *214 + schema: *216 examples: - default: *215 + default: *217 '404': *6 '500': *132 put: @@ -34611,16 +35085,16 @@ paths: - tag - push - repository - enforcement: *210 + enforcement: *212 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *211 - conditions: *212 + items: *213 + conditions: *214 rules: description: An array of rules within the ruleset. type: array - items: *213 + items: *215 examples: default: value: @@ -34655,9 +35129,9 @@ paths: description: Response content: application/json: - schema: *214 + schema: *216 examples: - default: *215 + default: *217 '404': *6 '500': *132 delete: @@ -34704,14 +35178,14 @@ paths: url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-organization parameters: - *89 - - *216 - - *217 - *218 - *219 + - *220 + - *221 - *46 - *18 - *17 - - &526 + - &528 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 @@ -34721,7 +35195,7 @@ paths: required: false schema: type: string - - &527 + - &529 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 @@ -34731,9 +35205,9 @@ paths: required: false schema: type: string - - *220 - - *221 - *222 + - *223 + - *224 responses: '200': description: Response @@ -34741,9 +35215,9 @@ paths: application/json: schema: type: array - items: *223 + items: *225 examples: - default: *224 + default: *226 headers: Link: *56 '404': *6 @@ -34813,7 +35287,7 @@ paths: application/json: schema: type: array - items: &534 + items: &536 description: A repository security advisory. type: object properties: @@ -35057,7 +35531,7 @@ paths: login: type: string description: The username of the user credited. - type: *225 + type: *227 credits_detailed: type: - array @@ -35068,7 +35542,7 @@ paths: type: object properties: user: *4 - type: *225 + type: *227 state: type: string description: The state of the user's acceptance of the @@ -35132,7 +35606,7 @@ paths: - private_fork additionalProperties: false examples: - default: &535 + default: &537 value: - ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -35606,7 +36080,7 @@ paths: description: Response content: application/json: - schema: &593 + schema: &595 type: object properties: total_minutes_used: @@ -35676,7 +36150,7 @@ paths: - included_minutes - minutes_used_breakdown examples: - default: &594 + default: &596 value: total_minutes_used: 305 total_paid_minutes_used: 0 @@ -35712,7 +36186,7 @@ paths: description: Response content: application/json: - schema: &595 + schema: &597 type: object properties: total_gigabytes_bandwidth_used: @@ -35730,7 +36204,7 @@ paths: - total_paid_gigabytes_bandwidth_used - included_gigabytes_bandwidth examples: - default: &596 + default: &598 value: total_gigabytes_bandwidth_used: 50 total_paid_gigabytes_bandwidth_used: 40 @@ -35762,7 +36236,7 @@ paths: description: Response content: application/json: - schema: &597 + schema: &599 type: object properties: days_left_in_billing_cycle: @@ -35780,7 +36254,7 @@ paths: - estimated_paid_storage_for_month - estimated_storage_for_month examples: - default: &598 + default: &600 value: days_left_in_billing_cycle: 20 estimated_paid_storage_for_month: 15 @@ -35847,13 +36321,13 @@ paths: application/json: schema: type: array - items: *226 + items: *228 examples: - default: *227 + default: *229 '500': *132 '403': *27 '404': *6 - '422': *228 + '422': *230 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -35920,9 +36394,9 @@ paths: application/json: schema: type: array - items: *229 + items: *231 examples: - default: *230 + default: *232 '500': *132 '401': *23 '403': *27 @@ -36050,7 +36524,7 @@ paths: description: Response content: application/json: - schema: &231 + schema: &233 title: Full Team description: Groups of organization members that gives permissions on specified repositories. @@ -36430,7 +36904,7 @@ paths: - repos_count - organization examples: - default: &232 + default: &234 value: id: 1 node_id: MDQ6VGVhbTE= @@ -36507,9 +36981,9 @@ paths: description: Response content: application/json: - schema: *231 + schema: *233 examples: - default: *232 + default: *234 '404': *6 x-github: githubCloudOnly: false @@ -36594,16 +37068,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *231 + schema: *233 examples: - default: *232 + default: *234 '201': description: Response content: application/json: - schema: *231 + schema: *233 examples: - default: *232 + default: *234 '404': *6 '422': *15 '403': *27 @@ -36673,7 +37147,7 @@ paths: application/json: schema: type: array - items: &233 + items: &235 title: Team Discussion description: A team discussion is a persistent record of a free-form conversation within a team. @@ -36784,7 +37258,7 @@ paths: - updated_at - url examples: - default: &549 + default: &551 value: - author: login: octocat @@ -36893,9 +37367,9 @@ paths: description: Response content: application/json: - schema: *233 + schema: *235 examples: - default: &234 + default: &236 value: author: login: octocat @@ -36969,7 +37443,7 @@ paths: parameters: - *89 - *183 - - &235 + - &237 name: discussion_number description: The number that identifies the discussion. in: path @@ -36981,9 +37455,9 @@ paths: description: Response content: application/json: - schema: *233 + schema: *235 examples: - default: *234 + default: *236 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -37007,7 +37481,7 @@ paths: parameters: - *89 - *183 - - *235 + - *237 requestBody: required: false content: @@ -37030,9 +37504,9 @@ paths: description: Response content: application/json: - schema: *233 + schema: *235 examples: - default: &550 + default: &552 value: author: login: octocat @@ -37104,7 +37578,7 @@ paths: parameters: - *89 - *183 - - *235 + - *237 responses: '204': description: Response @@ -37132,7 +37606,7 @@ paths: parameters: - *89 - *183 - - *235 + - *237 - *46 - *17 - *18 @@ -37143,7 +37617,7 @@ paths: application/json: schema: type: array - items: &236 + items: &238 title: Team Discussion Comment description: A reply to a discussion within a team. type: object @@ -37223,7 +37697,7 @@ paths: - updated_at - url examples: - default: &551 + default: &553 value: - author: login: octocat @@ -37293,7 +37767,7 @@ paths: parameters: - *89 - *183 - - *235 + - *237 requestBody: required: true content: @@ -37315,9 +37789,9 @@ paths: description: Response content: application/json: - schema: *236 + schema: *238 examples: - default: &237 + default: &239 value: author: login: octocat @@ -37385,8 +37859,8 @@ paths: parameters: - *89 - *183 - - *235 - - &238 + - *237 + - &240 name: comment_number description: The number that identifies the comment. in: path @@ -37398,9 +37872,9 @@ paths: description: Response content: application/json: - schema: *236 + schema: *238 examples: - default: *237 + default: *239 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -37424,8 +37898,8 @@ paths: parameters: - *89 - *183 - - *235 - - *238 + - *237 + - *240 requestBody: required: true content: @@ -37447,9 +37921,9 @@ paths: description: Response content: application/json: - schema: *236 + schema: *238 examples: - default: &552 + default: &554 value: author: login: octocat @@ -37515,8 +37989,8 @@ paths: parameters: - *89 - *183 - - *235 - - *238 + - *237 + - *240 responses: '204': description: Response @@ -37544,8 +38018,8 @@ paths: parameters: - *89 - *183 - - *235 - - *238 + - *237 + - *240 - 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 team discussion comment. @@ -37571,7 +38045,7 @@ paths: application/json: schema: type: array - items: &239 + items: &241 title: Reaction description: Reactions to conversations provide a way to help people express their feelings more simply and effectively. @@ -37615,7 +38089,7 @@ paths: - content - created_at examples: - default: &241 + default: &243 value: - id: 1 node_id: MDg6UmVhY3Rpb24x @@ -37667,8 +38141,8 @@ paths: parameters: - *89 - *183 - - *235 - - *238 + - *237 + - *240 requestBody: required: true content: @@ -37701,9 +38175,9 @@ paths: team discussion comment content: application/json: - schema: *239 + schema: *241 examples: - default: &240 + default: &242 value: id: 1 node_id: MDg6UmVhY3Rpb24x @@ -37732,9 +38206,9 @@ paths: description: Response content: application/json: - schema: *239 + schema: *241 examples: - default: *240 + default: *242 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -37759,9 +38233,9 @@ paths: parameters: - *89 - *183 - - *235 - - *238 - - &242 + - *237 + - *240 + - &244 name: reaction_id description: The unique identifier of the reaction. in: path @@ -37795,7 +38269,7 @@ paths: parameters: - *89 - *183 - - *235 + - *237 - 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 team discussion. @@ -37821,9 +38295,9 @@ paths: application/json: schema: type: array - items: *239 + items: *241 examples: - default: *241 + default: *243 headers: Link: *56 x-github: @@ -37851,7 +38325,7 @@ paths: parameters: - *89 - *183 - - *235 + - *237 requestBody: required: true content: @@ -37883,16 +38357,16 @@ paths: description: Response content: application/json: - schema: *239 + schema: *241 examples: - default: *240 + default: *242 '201': description: Response content: application/json: - schema: *239 + schema: *241 examples: - default: *240 + default: *242 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -37917,8 +38391,8 @@ paths: parameters: - *89 - *183 - - *235 - - *242 + - *237 + - *244 responses: '204': description: Response @@ -38039,7 +38513,7 @@ paths: description: Response content: application/json: - schema: &243 + schema: &245 title: Team Membership description: Team Membership type: object @@ -38067,7 +38541,7 @@ paths: - state - url examples: - response-if-user-is-a-team-maintainer: &553 + response-if-user-is-a-team-maintainer: &555 summary: Response if user is a team maintainer value: url: https://api.github.com/teams/1/memberships/octocat @@ -38130,9 +38604,9 @@ paths: description: Response content: application/json: - schema: *243 + schema: *245 examples: - response-if-users-membership-with-team-is-now-pending: &554 + response-if-users-membership-with-team-is-now-pending: &556 summary: Response if user's membership with team is now pending value: url: https://api.github.com/teams/1/memberships/octocat @@ -38206,7 +38680,7 @@ paths: application/json: schema: type: array - items: &244 + items: &246 title: Team Project description: A team's access to a project. type: object @@ -38275,7 +38749,7 @@ paths: - updated_at - permissions examples: - default: &555 + default: &557 value: - owner_url: https://api.github.com/orgs/octocat url: https://api.github.com/projects/1002605 @@ -38338,7 +38812,7 @@ paths: parameters: - *89 - *183 - - &245 + - &247 name: project_id description: The unique identifier of the project. in: path @@ -38350,9 +38824,9 @@ paths: description: Response content: application/json: - schema: *244 + schema: *246 examples: - default: &556 + default: &558 value: owner_url: https://api.github.com/orgs/octocat url: https://api.github.com/projects/1002605 @@ -38414,7 +38888,7 @@ paths: parameters: - *89 - *183 - - *245 + - *247 requestBody: required: false content: @@ -38481,7 +38955,7 @@ paths: parameters: - *89 - *183 - - *245 + - *247 responses: '204': description: Response @@ -38549,14 +39023,14 @@ paths: parameters: - *89 - *183 - - *246 - - *247 + - *248 + - *249 responses: '200': description: Alternative response with repository permissions content: application/json: - schema: &557 + schema: &559 title: Team Repository description: A team's access to a repository. type: object @@ -39199,8 +39673,8 @@ paths: parameters: - *89 - *183 - - *246 - - *247 + - *248 + - *249 requestBody: required: false content: @@ -39247,8 +39721,8 @@ paths: parameters: - *89 - *183 - - *246 - - *247 + - *248 + - *249 responses: '204': description: Response @@ -39285,7 +39759,7 @@ paths: type: array items: *171 examples: - response-if-child-teams-exist: &558 + response-if-child-teams-exist: &560 value: - id: 2 node_id: MDQ6VGVhbTI= @@ -39409,7 +39883,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/cards#get-a-project-card parameters: - - &248 + - &250 name: card_id description: The unique identifier of the card. in: path @@ -39421,7 +39895,7 @@ paths: description: Response content: application/json: - schema: &249 + schema: &251 title: Project Card description: Project cards represent a scope of work. type: object @@ -39496,7 +39970,7 @@ paths: - created_at - updated_at examples: - default: &250 + default: &252 value: url: https://api.github.com/projects/columns/cards/1478 id: 1478 @@ -39546,7 +40020,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/cards#update-an-existing-project-card parameters: - - *248 + - *250 requestBody: required: false content: @@ -39576,9 +40050,9 @@ paths: description: Response content: application/json: - schema: *249 + schema: *251 examples: - default: *250 + default: *252 '304': *35 '403': *27 '401': *23 @@ -39599,7 +40073,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/cards#delete-a-project-card parameters: - - *248 + - *250 responses: '204': description: Response @@ -39637,7 +40111,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/cards#move-a-project-card parameters: - - *248 + - *250 requestBody: required: true content: @@ -39744,7 +40218,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/columns#get-a-project-column parameters: - - &251 + - &253 name: column_id description: The unique identifier of the column. in: path @@ -39756,7 +40230,7 @@ paths: description: Response content: application/json: - schema: &252 + schema: &254 title: Project Column description: Project columns contain cards of work. type: object @@ -39810,7 +40284,7 @@ paths: - created_at - updated_at examples: - default: &253 + default: &255 value: url: https://api.github.com/projects/columns/367 project_url: https://api.github.com/projects/120 @@ -39839,7 +40313,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/columns#update-an-existing-project-column parameters: - - *251 + - *253 requestBody: required: true content: @@ -39864,9 +40338,9 @@ paths: description: Response content: application/json: - schema: *252 + schema: *254 examples: - default: *253 + default: *255 '304': *35 '403': *27 '401': *23 @@ -39885,7 +40359,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/columns#delete-a-project-column parameters: - - *251 + - *253 responses: '204': description: Response @@ -39908,7 +40382,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/cards#list-project-cards parameters: - - *251 + - *253 - name: archived_state description: Filters the project cards that are returned by the card's state. in: query @@ -39929,7 +40403,7 @@ paths: application/json: schema: type: array - items: *249 + items: *251 examples: default: value: @@ -39982,7 +40456,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/cards#create-a-project-card parameters: - - *251 + - *253 requestBody: required: true content: @@ -40026,9 +40500,9 @@ paths: description: Response content: application/json: - schema: *249 + schema: *251 examples: - default: *250 + default: *252 '304': *35 '403': *27 '401': *23 @@ -40078,7 +40552,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/columns#move-a-project-column parameters: - - *251 + - *253 requestBody: required: true content: @@ -40135,15 +40609,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/projects#get-a-project parameters: - - *245 + - *247 responses: '200': description: Response content: application/json: - schema: *201 + schema: *203 examples: - default: &254 + default: &256 value: owner_url: https://api.github.com/repos/api-playground/projects-test url: https://api.github.com/projects/1002604 @@ -40196,7 +40670,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/projects#update-a-project parameters: - - *245 + - *247 requestBody: required: false content: @@ -40245,9 +40719,9 @@ paths: description: Response content: application/json: - schema: *201 + schema: *203 examples: - default: *254 + default: *256 '404': description: Not Found if the authenticated user does not have access to the project @@ -40268,7 +40742,7 @@ paths: items: type: string '401': *23 - '410': *255 + '410': *257 '422': *7 x-github: githubCloudOnly: false @@ -40286,7 +40760,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/projects#delete-a-project parameters: - - *245 + - *247 responses: '204': description: Delete Success @@ -40307,7 +40781,7 @@ paths: items: type: string '401': *23 - '410': *255 + '410': *257 '404': *6 x-github: githubCloudOnly: false @@ -40330,7 +40804,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/collaborators#list-project-collaborators parameters: - - *245 + - *247 - name: affiliation description: Filters the collaborators by their affiliation. `outside` means outside collaborators of a project that are not a member of the project's @@ -40382,7 +40856,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/collaborators#add-project-collaborator parameters: - - *245 + - *247 - *120 requestBody: required: false @@ -40432,7 +40906,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/collaborators#remove-user-as-a-collaborator parameters: - - *245 + - *247 - *120 responses: '204': @@ -40461,7 +40935,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/collaborators#get-project-permission-for-a-user parameters: - - *245 + - *247 - *120 responses: '200': @@ -40526,7 +41000,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/columns#list-project-columns parameters: - - *245 + - *247 - *17 - *18 responses: @@ -40536,7 +41010,7 @@ paths: application/json: schema: type: array - items: *252 + items: *254 examples: default: value: @@ -40568,7 +41042,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/columns#create-a-project-column parameters: - - *245 + - *247 requestBody: required: true content: @@ -40592,7 +41066,7 @@ paths: description: Response content: application/json: - schema: *252 + schema: *254 examples: default: value: @@ -40653,7 +41127,7 @@ paths: resources: type: object properties: - core: &256 + core: &258 title: Rate Limit type: object properties: @@ -40670,20 +41144,20 @@ paths: - remaining - reset - used - graphql: *256 - search: *256 - code_search: *256 - source_import: *256 - integration_manifest: *256 - code_scanning_upload: *256 - actions_runner_registration: *256 - scim: *256 - dependency_snapshots: *256 - code_scanning_autofix: *256 + graphql: *258 + search: *258 + code_search: *258 + source_import: *258 + integration_manifest: *258 + code_scanning_upload: *258 + actions_runner_registration: *258 + scim: *258 + dependency_snapshots: *258 + code_scanning_autofix: *258 required: - core - search - rate: *256 + rate: *258 required: - rate - resources @@ -40787,14 +41261,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#get-a-repository parameters: - - *246 - - *247 + - *248 + - *249 responses: '200': description: Response content: application/json: - schema: *257 + schema: *259 examples: default-response: summary: Default response @@ -41295,7 +41769,7 @@ paths: status: disabled '403': *27 '404': *6 - '301': *258 + '301': *260 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -41313,8 +41787,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#update-a-repository parameters: - - *246 - - *247 + - *248 + - *249 requestBody: required: false content: @@ -41551,10 +42025,10 @@ paths: description: Response content: application/json: - schema: *257 + schema: *259 examples: - default: *259 - '307': &260 + default: *261 + '307': &262 description: Temporary Redirect content: application/json: @@ -41583,8 +42057,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#delete-a-repository parameters: - - *246 - - *247 + - *248 + - *249 responses: '204': description: Response @@ -41606,7 +42080,7 @@ paths: value: message: Organization members cannot delete repositories. documentation_url: https://docs.github.com/rest/repos/repos#delete-a-repository - '307': *260 + '307': *262 '404': *6 x-github: githubCloudOnly: false @@ -41629,11 +42103,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#list-artifacts-for-a-repository parameters: - - *246 - - *247 + - *248 + - *249 - *17 - *18 - - &286 + - &288 name: name description: The name field of an artifact. When specified, only artifacts with this name will be returned. @@ -41656,7 +42130,7 @@ paths: type: integer artifacts: type: array - items: &261 + items: &263 title: Artifact description: An artifact type: object @@ -41742,7 +42216,7 @@ paths: - expires_at - updated_at examples: - default: &287 + default: &289 value: total_count: 2 artifacts: @@ -41801,9 +42275,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#get-an-artifact parameters: - - *246 - - *247 - - &262 + - *248 + - *249 + - &264 name: artifact_id description: The unique identifier of the artifact. in: path @@ -41815,7 +42289,7 @@ paths: description: Response content: application/json: - schema: *261 + schema: *263 examples: default: value: @@ -41852,9 +42326,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#delete-an-artifact parameters: - - *246 - - *247 - - *262 + - *248 + - *249 + - *264 responses: '204': description: Response @@ -41878,9 +42352,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#download-an-artifact parameters: - - *246 - - *247 - - *262 + - *248 + - *249 + - *264 - name: archive_format in: path required: true @@ -41894,7 +42368,7 @@ paths: 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': *255 + '410': *257 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -41917,14 +42391,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#get-github-actions-cache-usage-for-a-repository parameters: - - *246 - - *247 + - *248 + - *249 responses: '200': description: Response content: application/json: - schema: *263 + schema: *265 examples: default: value: @@ -41950,11 +42424,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#list-github-actions-caches-for-a-repository parameters: - - *246 - - *247 + - *248 + - *249 - *17 - *18 - - &264 + - &266 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 @@ -41988,7 +42462,7 @@ paths: description: Response content: application/json: - schema: &265 + schema: &267 title: Repository actions caches description: Repository actions caches type: object @@ -42038,7 +42512,7 @@ paths: - total_count - actions_caches examples: - default: &266 + default: &268 value: total_count: 1 actions_caches: @@ -42070,23 +42544,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: - - *246 - - *247 + - *248 + - *249 - name: key description: A key for identifying the cache. in: query required: true schema: type: string - - *264 + - *266 responses: '200': description: Response content: application/json: - schema: *265 + schema: *267 examples: - default: *266 + default: *268 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -42106,8 +42580,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: - - *246 - - *247 + - *248 + - *249 - name: cache_id description: The unique identifier of the GitHub Actions cache. in: path @@ -42138,9 +42612,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#get-a-job-for-a-workflow-run parameters: - - *246 - - *247 - - &267 + - *248 + - *249 + - &269 name: job_id description: The unique identifier of the job. in: path @@ -42152,7 +42626,7 @@ paths: description: Response content: application/json: - schema: &290 + schema: &292 title: Job description: Information of a job execution in a workflow run type: object @@ -42499,9 +42973,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#download-job-logs-for-a-workflow-run parameters: - - *246 - - *247 - - *267 + - *248 + - *249 + - *269 responses: '302': description: Response @@ -42529,9 +43003,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#re-run-a-job-from-a-workflow-run parameters: - - *246 - - *247 - - *267 + - *248 + - *249 + - *269 requestBody: required: false content: @@ -42577,8 +43051,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: - - *246 - - *247 + - *248 + - *249 responses: '200': description: Status response @@ -42628,8 +43102,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: - - *246 - - *247 + - *248 + - *249 requestBody: required: true content: @@ -42692,8 +43166,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-repository-organization-secrets parameters: - - *246 - - *247 + - *248 + - *249 - *17 - *18 responses: @@ -42711,7 +43185,7 @@ paths: type: integer secrets: type: array - items: &292 + items: &294 title: Actions Secret description: Set secrets for GitHub Actions. type: object @@ -42732,7 +43206,7 @@ paths: - created_at - updated_at examples: - default: &293 + default: &295 value: total_count: 2 secrets: @@ -42765,9 +43239,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-repository-organization-variables parameters: - - *246 - - *247 - - *268 + - *248 + - *249 + - *270 - *18 responses: '200': @@ -42784,7 +43258,7 @@ paths: type: integer variables: type: array - items: &296 + items: &298 title: Actions Variable type: object properties: @@ -42818,7 +43292,7 @@ paths: - created_at - updated_at examples: - default: &297 + default: &299 value: total_count: 2 variables: @@ -42851,8 +43325,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-github-actions-permissions-for-a-repository parameters: - - *246 - - *247 + - *248 + - *249 responses: '200': description: Response @@ -42861,11 +43335,11 @@ paths: schema: type: object properties: - enabled: &270 + enabled: &272 type: boolean description: Whether GitHub Actions is enabled on the repository. allowed_actions: *97 - selected_actions_url: *269 + selected_actions_url: *271 required: - enabled examples: @@ -42892,8 +43366,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-github-actions-permissions-for-a-repository parameters: - - *246 - - *247 + - *248 + - *249 responses: '204': description: Response @@ -42904,7 +43378,7 @@ paths: schema: type: object properties: - enabled: *270 + enabled: *272 allowed_actions: *97 required: - enabled @@ -42934,14 +43408,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: - - *246 - - *247 + - *248 + - *249 responses: '200': description: Response content: application/json: - schema: &271 + schema: &273 type: object properties: access_level: @@ -42958,7 +43432,7 @@ paths: required: - access_level examples: - default: &272 + default: &274 value: access_level: organization x-github: @@ -42982,15 +43456,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: - - *246 - - *247 + - *248 + - *249 requestBody: required: true content: application/json: - schema: *271 + schema: *273 examples: - default: *272 + default: *274 responses: '204': description: Response @@ -43014,8 +43488,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-allowed-actions-and-reusable-workflows-for-a-repository parameters: - - *246 - - *247 + - *248 + - *249 responses: '200': description: Response @@ -43042,8 +43516,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-allowed-actions-and-reusable-workflows-for-a-repository parameters: - - *246 - - *247 + - *248 + - *249 responses: '204': description: Response @@ -43075,14 +43549,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-default-workflow-permissions-for-a-repository parameters: - - *246 - - *247 + - *248 + - *249 responses: '200': description: Response content: application/json: - schema: *273 + schema: *275 examples: default: *103 x-github: @@ -43105,8 +43579,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-default-workflow-permissions-for-a-repository parameters: - - *246 - - *247 + - *248 + - *249 responses: '204': description: Success response @@ -43117,7 +43591,7 @@ paths: required: true content: application/json: - schema: *274 + schema: *276 examples: default: *103 x-github: @@ -43146,8 +43620,8 @@ paths: in: query schema: type: string - - *246 - - *247 + - *248 + - *249 - *17 - *18 responses: @@ -43191,8 +43665,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#list-runner-applications-for-a-repository parameters: - - *246 - - *247 + - *248 + - *249 responses: '200': description: Response @@ -43200,9 +43674,9 @@ paths: application/json: schema: type: array - items: *275 + items: *277 examples: - default: *276 + default: *278 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -43224,8 +43698,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: - - *246 - - *247 + - *248 + - *249 requestBody: required: true content: @@ -43268,7 +43742,7 @@ paths: - no-gpu work_folder: _work responses: - '201': *277 + '201': *279 '404': *6 '422': *7 x-github: @@ -43298,8 +43772,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#create-a-registration-token-for-a-repository parameters: - - *246 - - *247 + - *248 + - *249 responses: '201': description: Response @@ -43307,7 +43781,7 @@ paths: application/json: schema: *111 examples: - default: *278 + default: *280 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -43335,8 +43809,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#create-a-remove-token-for-a-repository parameters: - - *246 - - *247 + - *248 + - *249 responses: '201': description: Response @@ -43344,7 +43818,7 @@ paths: application/json: schema: *111 examples: - default: *279 + default: *281 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -43366,8 +43840,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#get-a-self-hosted-runner-for-a-repository parameters: - - *246 - - *247 + - *248 + - *249 - *108 responses: '200': @@ -43376,7 +43850,7 @@ paths: application/json: schema: *109 examples: - default: *280 + default: *282 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -43397,8 +43871,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#delete-a-self-hosted-runner-from-a-repository parameters: - - *246 - - *247 + - *248 + - *249 - *108 responses: '204': @@ -43424,8 +43898,8 @@ 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: - - *246 - - *247 + - *248 + - *249 - *108 responses: '200': *113 @@ -43450,8 +43924,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-a-repository parameters: - - *246 - - *247 + - *248 + - *249 - *108 requestBody: required: true @@ -43500,8 +43974,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-a-repository parameters: - - *246 - - *247 + - *248 + - *249 - *108 requestBody: required: true @@ -43551,11 +44025,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: - - *246 - - *247 + - *248 + - *249 - *108 responses: - '200': *281 + '200': *283 '404': *6 x-github: githubCloudOnly: false @@ -43582,10 +44056,10 @@ 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: - - *246 - - *247 + - *248 + - *249 - *108 - - *282 + - *284 responses: '200': *113 '404': *6 @@ -43613,9 +44087,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#list-workflow-runs-for-a-repository parameters: - - *246 - - *247 - - &300 + - *248 + - *249 + - &302 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. @@ -43623,7 +44097,7 @@ paths: required: false schema: type: string - - &301 + - &303 name: branch description: Returns workflow runs associated with a branch. Use the name of the branch of the `push`. @@ -43631,7 +44105,7 @@ paths: required: false schema: type: string - - &302 + - &304 name: event description: Returns workflow run triggered by the event you specify. For example, `push`, `pull_request` or `issue`. For more information, see "[Events @@ -43640,7 +44114,7 @@ paths: required: false schema: type: string - - &303 + - &305 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 @@ -43667,7 +44141,7 @@ paths: - pending - *17 - *18 - - &304 + - &306 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)." @@ -43676,7 +44150,7 @@ paths: schema: type: string format: date-time - - &283 + - &285 name: exclude_pull_requests description: If `true` pull requests are omitted from the response (empty array). @@ -43685,13 +44159,13 @@ paths: schema: type: boolean default: false - - &305 + - &307 name: check_suite_id description: Returns workflow runs with the `check_suite_id` that you specify. in: query schema: type: integer - - &306 + - &308 name: head_sha description: Only returns workflow runs that are associated with the specified `head_sha`. @@ -43714,7 +44188,7 @@ paths: type: integer workflow_runs: type: array - items: &284 + items: &286 title: Workflow Run description: An invocation of a workflow type: object @@ -43831,7 +44305,7 @@ paths: type: - array - 'null' - items: &325 + items: &327 title: Pull Request Minimal type: object properties: @@ -43958,7 +44432,7 @@ paths: head_commit: anyOf: - type: 'null' - - &329 + - &331 title: Simple Commit description: A commit. type: object @@ -44073,7 +44547,7 @@ paths: - workflow_url - pull_requests examples: - default: &307 + default: &309 value: total_count: 1 workflow_runs: @@ -44309,24 +44783,24 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-a-workflow-run parameters: - - *246 - - *247 - - &285 + - *248 + - *249 + - &287 name: run_id description: The unique identifier of the workflow run. in: path required: true schema: type: integer - - *283 + - *285 responses: '200': description: Response content: application/json: - schema: *284 + schema: *286 examples: - default: &288 + default: &290 value: id: 30433642 name: Build @@ -44567,9 +45041,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#delete-a-workflow-run parameters: - - *246 - - *247 - - *285 + - *248 + - *249 + - *287 responses: '204': description: Response @@ -44592,9 +45066,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-the-review-history-for-a-workflow-run parameters: - - *246 - - *247 - - *285 + - *248 + - *249 + - *287 responses: '200': description: Response @@ -44722,9 +45196,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#approve-a-workflow-run-for-a-fork-pull-request parameters: - - *246 - - *247 - - *285 + - *248 + - *249 + - *287 responses: '201': description: Response @@ -44757,12 +45231,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#list-workflow-run-artifacts parameters: - - *246 - - *247 - - *285 + - *248 + - *249 + - *287 - *17 - *18 - - *286 + - *288 responses: '200': description: Response @@ -44778,9 +45252,9 @@ paths: type: integer artifacts: type: array - items: *261 + items: *263 examples: - default: *287 + default: *289 headers: Link: *56 x-github: @@ -44804,25 +45278,25 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-a-workflow-run-attempt parameters: - - *246 - - *247 - - *285 - - &289 + - *248 + - *249 + - *287 + - &291 name: attempt_number description: The attempt number of the workflow run. in: path required: true schema: type: integer - - *283 + - *285 responses: '200': description: Response content: application/json: - schema: *284 + schema: *286 examples: - default: *288 + default: *290 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -44845,10 +45319,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#list-jobs-for-a-workflow-run-attempt parameters: - - *246 - - *247 - - *285 - - *289 + - *248 + - *249 + - *287 + - *291 - *17 - *18 responses: @@ -44866,9 +45340,9 @@ paths: type: integer jobs: type: array - items: *290 + items: *292 examples: - default: &291 + default: &293 value: total_count: 1 jobs: @@ -44981,10 +45455,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#download-workflow-run-attempt-logs parameters: - - *246 - - *247 - - *285 - - *289 + - *248 + - *249 + - *287 + - *291 responses: '302': description: Response @@ -45012,9 +45486,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#cancel-a-workflow-run parameters: - - *246 - - *247 - - *285 + - *248 + - *249 + - *287 responses: '202': description: Response @@ -45047,9 +45521,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: - - *246 - - *247 - - *285 + - *248 + - *249 + - *287 requestBody: required: true content: @@ -45116,9 +45590,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#force-cancel-a-workflow-run parameters: - - *246 - - *247 - - *285 + - *248 + - *249 + - *287 responses: '202': description: Response @@ -45151,9 +45625,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#list-jobs-for-a-workflow-run parameters: - - *246 - - *247 - - *285 + - *248 + - *249 + - *287 - 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 @@ -45183,9 +45657,9 @@ paths: type: integer jobs: type: array - items: *290 + items: *292 examples: - default: *291 + default: *293 headers: Link: *56 x-github: @@ -45210,9 +45684,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#download-workflow-run-logs parameters: - - *246 - - *247 - - *285 + - *248 + - *249 + - *287 responses: '302': description: Response @@ -45239,9 +45713,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#delete-workflow-run-logs parameters: - - *246 - - *247 - - *285 + - *248 + - *249 + - *287 responses: '204': description: Response @@ -45268,9 +45742,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-pending-deployments-for-a-workflow-run parameters: - - *246 - - *247 - - *285 + - *248 + - *249 + - *287 responses: '200': description: Response @@ -45339,7 +45813,7 @@ paths: items: type: object properties: - type: &403 + type: &405 type: string description: The type of reviewer. enum: @@ -45425,9 +45899,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#review-pending-deployments-for-a-workflow-run parameters: - - *246 - - *247 - - *285 + - *248 + - *249 + - *287 requestBody: required: true content: @@ -45477,7 +45951,7 @@ paths: application/json: schema: type: array - items: &398 + items: &400 title: Deployment description: A request for a specific ref(branch,sha,tag) to be deployed @@ -45589,7 +46063,7 @@ paths: - created_at - updated_at examples: - default: &399 + default: &401 value: - url: https://api.github.com/repos/octocat/example/deployments/1 id: 1 @@ -45645,9 +46119,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#re-run-a-workflow parameters: - - *246 - - *247 - - *285 + - *248 + - *249 + - *287 requestBody: required: false content: @@ -45692,9 +46166,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#re-run-failed-jobs-from-a-workflow-run parameters: - - *246 - - *247 - - *285 + - *248 + - *249 + - *287 requestBody: required: false content: @@ -45741,9 +46215,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-workflow-run-usage parameters: - - *246 - - *247 - - *285 + - *248 + - *249 + - *287 responses: '200': description: Response @@ -45880,8 +46354,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-repository-secrets parameters: - - *246 - - *247 + - *248 + - *249 - *17 - *18 responses: @@ -45899,9 +46373,9 @@ paths: type: integer secrets: type: array - items: *292 + items: *294 examples: - default: *293 + default: *295 headers: Link: *56 x-github: @@ -45926,16 +46400,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-a-repository-public-key parameters: - - *246 - - *247 + - *248 + - *249 responses: '200': description: Response content: application/json: - schema: *294 + schema: *296 examples: - default: *295 + default: *297 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -45957,17 +46431,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-a-repository-secret parameters: - - *246 - - *247 + - *248 + - *249 - *115 responses: '200': description: Response content: application/json: - schema: *292 + schema: *294 examples: - default: &416 + default: &418 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -45993,8 +46467,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#create-or-update-a-repository-secret parameters: - - *246 - - *247 + - *248 + - *249 - *115 requestBody: required: true @@ -46049,8 +46523,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#delete-a-repository-secret parameters: - - *246 - - *247 + - *248 + - *249 - *115 responses: '204': @@ -46076,9 +46550,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-repository-variables parameters: - - *246 - - *247 - - *268 + - *248 + - *249 + - *270 - *18 responses: '200': @@ -46095,9 +46569,9 @@ paths: type: integer variables: type: array - items: *296 + items: *298 examples: - default: *297 + default: *299 headers: Link: *56 x-github: @@ -46120,8 +46594,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#create-a-repository-variable parameters: - - *246 - - *247 + - *248 + - *249 requestBody: required: true content: @@ -46173,17 +46647,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#get-a-repository-variable parameters: - - *246 - - *247 + - *248 + - *249 - *118 responses: '200': description: Response content: application/json: - schema: *296 + schema: *298 examples: - default: &417 + default: &419 value: name: USERNAME value: octocat @@ -46209,8 +46683,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#update-a-repository-variable parameters: - - *246 - - *247 + - *248 + - *249 - *118 requestBody: required: true @@ -46253,8 +46727,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#delete-a-repository-variable parameters: - - *246 - - *247 + - *248 + - *249 - *118 responses: '204': @@ -46280,8 +46754,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#list-repository-workflows parameters: - - *246 - - *247 + - *248 + - *249 - *17 - *18 responses: @@ -46299,7 +46773,7 @@ paths: type: integer workflows: type: array - items: &298 + items: &300 title: Workflow description: A GitHub Actions workflow type: object @@ -46417,9 +46891,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#get-a-workflow parameters: - - *246 - - *247 - - &299 + - *248 + - *249 + - &301 name: workflow_id in: path description: The ID of the workflow. You can also pass the workflow file name @@ -46434,7 +46908,7 @@ paths: description: Response content: application/json: - schema: *298 + schema: *300 examples: default: value: @@ -46467,9 +46941,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#disable-a-workflow parameters: - - *246 - - *247 - - *299 + - *248 + - *249 + - *301 responses: '204': description: Response @@ -46494,9 +46968,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#create-a-workflow-dispatch-event parameters: - - *246 - - *247 - - *299 + - *248 + - *249 + - *301 responses: '204': description: Response @@ -46547,9 +47021,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#enable-a-workflow parameters: - - *246 - - *247 - - *299 + - *248 + - *249 + - *301 responses: '204': description: Response @@ -46576,19 +47050,19 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#list-workflow-runs-for-a-workflow parameters: - - *246 - - *247 - - *299 - - *300 + - *248 + - *249 - *301 - *302 - *303 - - *17 - - *18 - *304 - - *283 - *305 + - *17 + - *18 - *306 + - *285 + - *307 + - *308 responses: '200': description: Response @@ -46604,9 +47078,9 @@ paths: type: integer workflow_runs: type: array - items: *284 + items: *286 examples: - default: *307 + default: *309 headers: Link: *56 x-github: @@ -46632,9 +47106,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#get-workflow-usage parameters: - - *246 - - *247 - - *299 + - *248 + - *249 + - *301 responses: '200': description: Response @@ -46695,8 +47169,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-activities parameters: - - *246 - - *247 + - *248 + - *249 - *46 - *17 - *37 @@ -46864,8 +47338,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#list-assignees parameters: - - *246 - - *247 + - *248 + - *249 - *17 - *18 responses: @@ -46902,8 +47376,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#check-if-a-user-can-be-assigned parameters: - - *246 - - *247 + - *248 + - *249 - name: assignee in: path required: true @@ -46939,8 +47413,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#create-an-attestation parameters: - - *246 - - *247 + - *248 + - *249 requestBody: required: true content: @@ -47052,8 +47526,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-attestations parameters: - - *246 - - *247 + - *248 + - *249 - *17 - *37 - *38 @@ -47099,7 +47573,7 @@ paths: bundle_url: type: string examples: - default: *308 + default: *310 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -47119,8 +47593,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#get-all-autolinks-of-a-repository parameters: - - *246 - - *247 + - *248 + - *249 responses: '200': description: Response @@ -47128,7 +47602,7 @@ paths: application/json: schema: type: array - items: &309 + items: &311 title: Autolink reference description: An autolink reference. type: object @@ -47182,8 +47656,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#create-an-autolink-reference-for-a-repository parameters: - - *246 - - *247 + - *248 + - *249 requestBody: required: true content: @@ -47222,9 +47696,9 @@ paths: description: response content: application/json: - schema: *309 + schema: *311 examples: - default: &310 + default: &312 value: id: 1 key_prefix: TICKET- @@ -47255,9 +47729,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#get-an-autolink-reference-of-a-repository parameters: - - *246 - - *247 - - &311 + - *248 + - *249 + - &313 name: autolink_id description: The unique identifier of the autolink. in: path @@ -47269,9 +47743,9 @@ paths: description: Response content: application/json: - schema: *309 + schema: *311 examples: - default: *310 + default: *312 '404': *6 x-github: githubCloudOnly: false @@ -47291,9 +47765,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#delete-an-autolink-reference-from-a-repository parameters: - - *246 - - *247 - - *311 + - *248 + - *249 + - *313 responses: '204': description: Response @@ -47317,8 +47791,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#check-if-automated-security-fixes-are-enabled-for-a-repository parameters: - - *246 - - *247 + - *248 + - *249 responses: '200': description: Response if Dependabot is enabled @@ -47368,8 +47842,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-automated-security-fixes parameters: - - *246 - - *247 + - *248 + - *249 responses: '204': description: Response @@ -47390,8 +47864,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-automated-security-fixes parameters: - - *246 - - *247 + - *248 + - *249 responses: '204': description: Response @@ -47411,8 +47885,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#list-branches parameters: - - *246 - - *247 + - *248 + - *249 - name: protected description: Setting to `true` returns only branches protected by branch protections or rulesets. When set to `false`, only unprotected branches are returned. @@ -47450,7 +47924,7 @@ paths: - url protected: type: boolean - protection: &313 + protection: &315 title: Branch Protection description: Branch Protection type: object @@ -47493,7 +47967,7 @@ paths: required: - contexts - checks - enforce_admins: &316 + enforce_admins: &318 title: Protected Branch Admin Enforced description: Protected Branch Admin Enforced type: object @@ -47510,7 +47984,7 @@ paths: required: - url - enabled - required_pull_request_reviews: &318 + required_pull_request_reviews: &320 title: Protected Branch Pull Request Review description: Protected Branch Pull Request Review type: object @@ -47594,7 +48068,7 @@ paths: required: - dismiss_stale_reviews - require_code_owner_reviews - restrictions: &315 + restrictions: &317 title: Branch Restriction Policy description: Branch Restriction Policy type: object @@ -47919,9 +48393,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#get-a-branch parameters: - - *246 - - *247 - - &314 + - *248 + - *249 + - &316 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). @@ -47935,14 +48409,14 @@ paths: description: Response content: application/json: - schema: &324 + schema: &326 title: Branch With Protection description: Branch With Protection type: object properties: name: type: string - commit: &374 + commit: &376 title: Commit description: Commit type: object @@ -47981,7 +48455,7 @@ paths: author: anyOf: - type: 'null' - - &312 + - &314 title: Git User description: Metaproperties for Git author/committer information. @@ -48002,7 +48476,7 @@ paths: committer: anyOf: - type: 'null' - - *312 + - *314 message: type: string examples: @@ -48026,7 +48500,7 @@ paths: required: - sha - url - verification: &423 + verification: &425 title: Verification type: object properties: @@ -48105,7 +48579,7 @@ paths: type: integer files: type: array - items: &386 + items: &388 title: Diff Entry description: Diff Entry type: object @@ -48199,7 +48673,7 @@ paths: - self protected: type: boolean - protection: *313 + protection: *315 protection_url: type: string format: uri @@ -48308,7 +48782,7 @@ paths: contexts: [] checks: [] protection_url: https://api.github.com/repos/octocat/Hello-World/branches/main/protection - '301': *258 + '301': *260 '404': *6 x-github: githubCloudOnly: false @@ -48330,15 +48804,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-branch-protection parameters: - - *246 - - *247 - - *314 + - *248 + - *249 + - *316 responses: '200': description: Response content: application/json: - schema: *313 + schema: *315 examples: default: value: @@ -48532,9 +49006,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#update-branch-protection parameters: - - *246 - - *247 - - *314 + - *248 + - *249 + - *316 requestBody: required: true content: @@ -48794,7 +49268,7 @@ paths: url: type: string format: uri - required_status_checks: &321 + required_status_checks: &323 title: Status Check Policy description: Status Check Policy type: object @@ -48953,7 +49427,7 @@ paths: additionalProperties: false required: - enabled - restrictions: *315 + restrictions: *317 required_conversation_resolution: type: object properties: @@ -49065,9 +49539,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-branch-protection parameters: - - *246 - - *247 - - *314 + - *248 + - *249 + - *316 responses: '204': description: Response @@ -49092,17 +49566,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-admin-branch-protection parameters: - - *246 - - *247 - - *314 + - *248 + - *249 + - *316 responses: '200': description: Response content: application/json: - schema: *316 + schema: *318 examples: - default: &317 + default: &319 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/enforce_admins enabled: true @@ -49124,17 +49598,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-admin-branch-protection parameters: - - *246 - - *247 - - *314 + - *248 + - *249 + - *316 responses: '200': description: Response content: application/json: - schema: *316 + schema: *318 examples: - default: *317 + default: *319 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -49153,9 +49627,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-admin-branch-protection parameters: - - *246 - - *247 - - *314 + - *248 + - *249 + - *316 responses: '204': description: Response @@ -49180,17 +49654,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-pull-request-review-protection parameters: - - *246 - - *247 - - *314 + - *248 + - *249 + - *316 responses: '200': description: Response content: application/json: - schema: *318 + schema: *320 examples: - default: &319 + default: &321 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_pull_request_reviews dismissal_restrictions: @@ -49286,9 +49760,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#update-pull-request-review-protection parameters: - - *246 - - *247 - - *314 + - *248 + - *249 + - *316 requestBody: required: false content: @@ -49386,9 +49860,9 @@ paths: description: Response content: application/json: - schema: *318 + schema: *320 examples: - default: *319 + default: *321 '422': *15 x-github: githubCloudOnly: false @@ -49409,9 +49883,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-pull-request-review-protection parameters: - - *246 - - *247 - - *314 + - *248 + - *249 + - *316 responses: '204': description: Response @@ -49438,17 +49912,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-commit-signature-protection parameters: - - *246 - - *247 - - *314 + - *248 + - *249 + - *316 responses: '200': description: Response content: application/json: - schema: *316 + schema: *318 examples: - default: &320 + default: &322 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_signatures enabled: true @@ -49471,17 +49945,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#create-commit-signature-protection parameters: - - *246 - - *247 - - *314 + - *248 + - *249 + - *316 responses: '200': description: Response content: application/json: - schema: *316 + schema: *318 examples: - default: *320 + default: *322 '404': *6 x-github: githubCloudOnly: false @@ -49501,9 +49975,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-commit-signature-protection parameters: - - *246 - - *247 - - *314 + - *248 + - *249 + - *316 responses: '204': description: Response @@ -49528,17 +50002,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-status-checks-protection parameters: - - *246 - - *247 - - *314 + - *248 + - *249 + - *316 responses: '200': description: Response content: application/json: - schema: *321 + schema: *323 examples: - default: &322 + default: &324 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_status_checks strict: true @@ -49564,9 +50038,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#update-status-check-protection parameters: - - *246 - - *247 - - *314 + - *248 + - *249 + - *316 requestBody: required: false content: @@ -49618,9 +50092,9 @@ paths: description: Response content: application/json: - schema: *321 + schema: *323 examples: - default: *322 + default: *324 '404': *6 '422': *15 x-github: @@ -49642,9 +50116,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-status-check-protection parameters: - - *246 - - *247 - - *314 + - *248 + - *249 + - *316 responses: '204': description: Response @@ -49668,9 +50142,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-all-status-check-contexts parameters: - - *246 - - *247 - - *314 + - *248 + - *249 + - *316 responses: '200': description: Response @@ -49704,9 +50178,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-status-check-contexts parameters: - - *246 - - *247 - - *314 + - *248 + - *249 + - *316 requestBody: required: false content: @@ -49773,9 +50247,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-status-check-contexts parameters: - - *246 - - *247 - - *314 + - *248 + - *249 + - *316 requestBody: required: false content: @@ -49839,9 +50313,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-status-check-contexts parameters: - - *246 - - *247 - - *314 + - *248 + - *249 + - *316 requestBody: content: application/json: @@ -49907,15 +50381,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-access-restrictions parameters: - - *246 - - *247 - - *314 + - *248 + - *249 + - *316 responses: '200': description: Response content: application/json: - schema: *315 + schema: *317 examples: default: value: @@ -50006,9 +50480,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-access-restrictions parameters: - - *246 - - *247 - - *314 + - *248 + - *249 + - *316 responses: '204': description: Response @@ -50031,9 +50505,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-apps-with-access-to-the-protected-branch parameters: - - *246 - - *247 - - *314 + - *248 + - *249 + - *316 responses: '200': description: Response @@ -50043,7 +50517,7 @@ paths: type: array items: *5 examples: - default: &323 + default: &325 value: - id: 1 slug: octoapp @@ -50100,9 +50574,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-app-access-restrictions parameters: - - *246 - - *247 - - *314 + - *248 + - *249 + - *316 requestBody: required: true content: @@ -50136,7 +50610,7 @@ paths: type: array items: *5 examples: - default: *323 + default: *325 '422': *15 x-github: githubCloudOnly: false @@ -50157,9 +50631,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-app-access-restrictions parameters: - - *246 - - *247 - - *314 + - *248 + - *249 + - *316 requestBody: required: true content: @@ -50193,7 +50667,7 @@ paths: type: array items: *5 examples: - default: *323 + default: *325 '422': *15 x-github: githubCloudOnly: false @@ -50214,9 +50688,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-app-access-restrictions parameters: - - *246 - - *247 - - *314 + - *248 + - *249 + - *316 requestBody: required: true content: @@ -50250,7 +50724,7 @@ paths: type: array items: *5 examples: - default: *323 + default: *325 '422': *15 x-github: githubCloudOnly: false @@ -50272,9 +50746,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-teams-with-access-to-the-protected-branch parameters: - - *246 - - *247 - - *314 + - *248 + - *249 + - *316 responses: '200': description: Response @@ -50304,9 +50778,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-team-access-restrictions parameters: - - *246 - - *247 - - *314 + - *248 + - *249 + - *316 requestBody: required: false content: @@ -50365,9 +50839,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-team-access-restrictions parameters: - - *246 - - *247 - - *314 + - *248 + - *249 + - *316 requestBody: required: false content: @@ -50426,9 +50900,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-team-access-restrictions parameters: - - *246 - - *247 - - *314 + - *248 + - *249 + - *316 requestBody: content: application/json: @@ -50487,9 +50961,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-users-with-access-to-the-protected-branch parameters: - - *246 - - *247 - - *314 + - *248 + - *249 + - *316 responses: '200': description: Response @@ -50523,9 +50997,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-user-access-restrictions parameters: - - *246 - - *247 - - *314 + - *248 + - *249 + - *316 requestBody: required: true content: @@ -50583,9 +51057,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-user-access-restrictions parameters: - - *246 - - *247 - - *314 + - *248 + - *249 + - *316 requestBody: required: true content: @@ -50643,9 +51117,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-user-access-restrictions parameters: - - *246 - - *247 - - *314 + - *248 + - *249 + - *316 requestBody: required: true content: @@ -50705,9 +51179,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#rename-a-branch parameters: - - *246 - - *247 - - *314 + - *248 + - *249 + - *316 requestBody: required: true content: @@ -50729,7 +51203,7 @@ paths: description: Response content: application/json: - schema: *324 + schema: *326 examples: default: value: @@ -50845,8 +51319,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#create-a-check-run parameters: - - *246 - - *247 + - *248 + - *249 requestBody: required: true content: @@ -51125,7 +51599,7 @@ paths: description: Response content: application/json: - schema: &326 + schema: &328 title: CheckRun description: A check performed on the code of a given code change type: object @@ -51260,8 +51734,8 @@ paths: do not necessarily indicate pull requests that triggered the check. type: array - items: *325 - deployment: &607 + items: *327 + deployment: &609 title: Deployment description: A deployment created as the result of an Actions check run from a workflow that references an environment @@ -51548,9 +52022,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#get-a-check-run parameters: - - *246 - - *247 - - &327 + - *248 + - *249 + - &329 name: check_run_id description: The unique identifier of the check run. in: path @@ -51562,9 +52036,9 @@ paths: description: Response content: application/json: - schema: *326 + schema: *328 examples: - default: &328 + default: &330 value: id: 4 head_sha: ce587453ced02b1526dfb4cb910479d431683101 @@ -51664,9 +52138,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#update-a-check-run parameters: - - *246 - - *247 - - *327 + - *248 + - *249 + - *329 requestBody: required: true content: @@ -51906,9 +52380,9 @@ paths: description: Response content: application/json: - schema: *326 + schema: *328 examples: - default: *328 + default: *330 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -51928,9 +52402,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#list-check-run-annotations parameters: - - *246 - - *247 - - *327 + - *248 + - *249 + - *329 - *17 - *18 responses: @@ -52042,9 +52516,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#rerequest-a-check-run parameters: - - *246 - - *247 - - *327 + - *248 + - *249 + - *329 responses: '201': description: Response @@ -52088,8 +52562,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#create-a-check-suite parameters: - - *246 - - *247 + - *248 + - *249 requestBody: required: true content: @@ -52111,7 +52585,7 @@ paths: description: Response when the suite already exists content: application/json: - schema: &330 + schema: &332 title: CheckSuite description: A suite of checks performed on the code of a given code change @@ -52193,7 +52667,7 @@ paths: type: - array - 'null' - items: *325 + items: *327 app: anyOf: - type: 'null' @@ -52209,7 +52683,7 @@ paths: - string - 'null' format: date-time - head_commit: *329 + head_commit: *331 latest_check_runs_count: type: integer check_runs_url: @@ -52237,7 +52711,7 @@ paths: - check_runs_url - pull_requests examples: - default: &331 + default: &333 value: id: 5 node_id: MDEwOkNoZWNrU3VpdGU1 @@ -52528,9 +53002,9 @@ paths: description: Response when the suite was created content: application/json: - schema: *330 + schema: *332 examples: - default: *331 + default: *333 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -52549,8 +53023,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#update-repository-preferences-for-check-suites parameters: - - *246 - - *247 + - *248 + - *249 requestBody: required: true content: @@ -52859,9 +53333,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#get-a-check-suite parameters: - - *246 - - *247 - - &332 + - *248 + - *249 + - &334 name: check_suite_id description: The unique identifier of the check suite. in: path @@ -52873,9 +53347,9 @@ paths: description: Response content: application/json: - schema: *330 + schema: *332 examples: - default: *331 + default: *333 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -52898,17 +53372,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#list-check-runs-in-a-check-suite parameters: - - *246 - - *247 - - *332 - - &381 + - *248 + - *249 + - *334 + - &383 name: check_name description: Returns check runs with the specified `name`. in: query required: false schema: type: string - - &382 + - &384 name: status description: Returns check runs with the specified `status`. in: query @@ -52947,9 +53421,9 @@ paths: type: integer check_runs: type: array - items: *326 + items: *328 examples: - default: &383 + default: &385 value: total_count: 1 check_runs: @@ -53051,9 +53525,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#rerequest-a-check-suite parameters: - - *246 - - *247 - - *332 + - *248 + - *249 + - *334 responses: '201': description: Response @@ -53086,21 +53560,21 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-code-scanning-alerts-for-a-repository parameters: - - *246 - - *247 - - *333 - - *334 + - *248 + - *249 + - *335 + - *336 - *18 - *17 - - &351 + - &353 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: *335 - - &352 + schema: *337 + - &354 name: pr description: The number of the pull request for the results you want to list. in: query @@ -53125,13 +53599,13 @@ paths: be returned. in: query required: false - schema: *336 + schema: *338 - name: severity description: If specified, only code scanning alerts with this severity will be returned. in: query required: false - schema: *337 + schema: *339 responses: '200': description: Response @@ -53147,7 +53621,7 @@ paths: updated_at: *53 url: *54 html_url: *55 - instances_url: *338 + instances_url: *340 state: *125 fixed_at: *121 dismissed_by: @@ -53155,11 +53629,11 @@ paths: - type: 'null' - *4 dismissed_at: *122 - dismissed_reason: *339 - dismissed_comment: *340 - rule: *341 - tool: *342 - most_recent_instance: *343 + dismissed_reason: *341 + dismissed_comment: *342 + rule: *343 + tool: *344 + most_recent_instance: *345 required: - number - created_at @@ -53275,7 +53749,7 @@ paths: classifications: [] instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/3/instances '304': *35 - '403': &344 + '403': &346 description: Response if GitHub Advanced Security is not enabled for this repository content: @@ -53302,9 +53776,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-a-code-scanning-alert parameters: - - *246 - - *247 - - &345 + - *248 + - *249 + - &347 name: alert_number in: path description: The number that identifies an alert. You can find this at the @@ -53318,7 +53792,7 @@ paths: description: Response content: application/json: - schema: &346 + schema: &348 type: object properties: number: *51 @@ -53326,7 +53800,7 @@ paths: updated_at: *53 url: *54 html_url: *55 - instances_url: *338 + instances_url: *340 state: *125 fixed_at: *121 dismissed_by: @@ -53334,8 +53808,8 @@ paths: - type: 'null' - *4 dismissed_at: *122 - dismissed_reason: *339 - dismissed_comment: *340 + dismissed_reason: *341 + dismissed_comment: *342 rule: type: object properties: @@ -53397,8 +53871,8 @@ paths: - 'null' description: A link to the documentation for the rule used to detect the alert. - tool: *342 - most_recent_instance: *343 + tool: *344 + most_recent_instance: *345 required: - number - created_at @@ -53487,7 +53961,7 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '304': *35 - '403': *344 + '403': *346 '404': *6 '503': *61 x-github: @@ -53507,9 +53981,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#update-a-code-scanning-alert parameters: - - *246 - - *247 - - *345 + - *248 + - *249 + - *347 requestBody: required: true content: @@ -53524,8 +53998,8 @@ paths: enum: - open - dismissed - dismissed_reason: *339 - dismissed_comment: *340 + dismissed_reason: *341 + dismissed_comment: *342 required: - state examples: @@ -53540,7 +54014,7 @@ paths: description: Response content: application/json: - schema: *346 + schema: *348 examples: default: value: @@ -53615,7 +54089,7 @@ paths: classifications: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances - '403': &350 + '403': &352 description: Response if the repository is archived or if GitHub Advanced Security is not enabled for this repository content: @@ -53642,15 +54116,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: - - *246 - - *247 - - *345 + - *248 + - *249 + - *347 responses: '200': description: Response content: application/json: - schema: &347 + schema: &349 type: object properties: status: @@ -53677,13 +54151,13 @@ paths: - description - started_at examples: - default: &348 + default: &350 value: status: success description: This fixes an XSS vulnerability by escaping the user input. started_at: '2024-02-14T12:29:18Z' - '400': &349 + '400': &351 description: Bad Request content: application/json: @@ -53694,7 +54168,7 @@ 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': *344 + '403': *346 '404': *6 '503': *61 x-github: @@ -53719,29 +54193,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: - - *246 - - *247 - - *345 + - *248 + - *249 + - *347 responses: '200': description: OK content: application/json: - schema: *347 + schema: *349 examples: - default: *348 + default: *350 '202': description: Accepted content: application/json: - schema: *347 + schema: *349 examples: default: value: status: pending description: started_at: '2024-02-14T12:29:18Z' - '400': *349 + '400': *351 '403': description: Response if the repository is archived, if GitHub Advanced Security is not enabled for this repository or if rate limit is exceeded @@ -53773,9 +54247,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: - - *246 - - *247 - - *345 + - *248 + - *249 + - *347 requestBody: required: false content: @@ -53821,8 +54295,8 @@ paths: value: target_ref: refs/heads/main sha: 178f4f6090b3fccad4a65b3e83d076a622d59652 - '400': *349 - '403': *350 + '400': *351 + '403': *352 '404': *6 '422': description: Unprocessable Entity @@ -53846,13 +54320,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-instances-of-a-code-scanning-alert parameters: - - *246 - - *247 - - *345 + - *248 + - *249 + - *347 - *18 - *17 - - *351 - - *352 + - *353 + - *354 responses: '200': description: Response @@ -53860,7 +54334,7 @@ paths: application/json: schema: type: array - items: *343 + items: *345 examples: default: value: @@ -53899,7 +54373,7 @@ paths: end_column: 50 classifications: - source - '403': *344 + '403': *346 '404': *6 '503': *61 x-github: @@ -53933,25 +54407,25 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-code-scanning-analyses-for-a-repository parameters: - - *246 - - *247 - - *333 - - *334 + - *248 + - *249 + - *335 + - *336 - *18 - *17 - - *352 + - *354 - 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: *335 + schema: *337 - name: sarif_id in: query description: Filter analyses belonging to the same SARIF upload. required: false - schema: &355 + schema: &357 type: string description: An identifier for the upload. examples: @@ -53973,23 +54447,23 @@ paths: application/json: schema: type: array - items: &356 + items: &358 type: object properties: - ref: *335 - commit_sha: &364 + ref: *337 + commit_sha: &366 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: *353 + analysis_key: *355 environment: type: string description: Identifies the variable values associated with the environment in which this analysis was performed. - category: *354 + category: *356 error: type: string examples: @@ -54014,8 +54488,8 @@ paths: description: The REST API URL of the analysis resource. format: uri readOnly: true - sarif_id: *355 - tool: *342 + sarif_id: *357 + tool: *344 deletable: type: boolean warning: @@ -54077,7 +54551,7 @@ paths: version: 1.2.0 deletable: true warning: '' - '403': *344 + '403': *346 '404': *6 '503': *61 x-github: @@ -54113,8 +54587,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: - - *246 - - *247 + - *248 + - *249 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -54127,7 +54601,7 @@ paths: description: Response content: application/json: - schema: *356 + schema: *358 examples: response: summary: application/json response @@ -54181,7 +54655,7 @@ paths: properties: - github/alertNumber: 2 - github/alertUrl: https://api.github.com/repos/monalisa/monalisa/code-scanning/alerts/2 - '403': *344 + '403': *346 '404': *6 '503': *61 x-github: @@ -54263,8 +54737,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: - - *246 - - *247 + - *248 + - *249 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -54320,7 +54794,7 @@ 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': *350 + '403': *352 '404': *6 '503': *61 x-github: @@ -54342,8 +54816,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-codeql-databases-for-a-repository parameters: - - *246 - - *247 + - *248 + - *249 responses: '200': description: Response @@ -54351,7 +54825,7 @@ paths: application/json: schema: type: array - items: &357 + items: &359 title: CodeQL Database description: A CodeQL database. type: object @@ -54463,7 +54937,7 @@ 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': *344 + '403': *346 '404': *6 '503': *61 x-github: @@ -54492,8 +54966,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-a-codeql-database-for-a-repository parameters: - - *246 - - *247 + - *248 + - *249 - name: language in: path description: The language of the CodeQL database. @@ -54505,7 +54979,7 @@ paths: description: Response content: application/json: - schema: *357 + schema: *359 examples: default: value: @@ -54537,9 +55011,9 @@ 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': &388 + '302': &390 description: Found - '403': *344 + '403': *346 '404': *6 '503': *61 x-github: @@ -54561,8 +55035,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#delete-a-codeql-database parameters: - - *246 - - *247 + - *248 + - *249 - name: language in: path description: The language of the CodeQL database. @@ -54572,7 +55046,7 @@ paths: responses: '204': description: Response - '403': *350 + '403': *352 '404': *6 '503': *61 x-github: @@ -54600,8 +55074,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#create-a-codeql-variant-analysis parameters: - - *246 - - *247 + - *248 + - *249 requestBody: required: true content: @@ -54610,7 +55084,7 @@ paths: type: object additionalProperties: false properties: - language: &358 + language: &360 type: string description: The language targeted by the CodeQL query enum: @@ -54688,7 +55162,7 @@ paths: description: Variant analysis submitted for processing content: application/json: - schema: &362 + schema: &364 title: Variant Analysis description: A run of a CodeQL query against one or more repositories. type: object @@ -54698,7 +55172,7 @@ paths: description: The ID of the variant analysis. controller_repo: *50 actor: *4 - query_language: *358 + query_language: *360 query_pack_url: type: string description: The download url for the query pack. @@ -54746,7 +55220,7 @@ paths: items: type: object properties: - repository: &359 + repository: &361 title: Repository Identifier description: Repository Identifier type: object @@ -54788,7 +55262,7 @@ paths: - private - stargazers_count - updated_at - analysis_status: &363 + analysis_status: &365 type: string description: The new status of the CodeQL variant analysis repository task. @@ -54820,7 +55294,7 @@ paths: from processing. This information is only available to the user that initiated the variant analysis. properties: - access_mismatch_repos: &360 + access_mismatch_repos: &362 type: object properties: repository_count: @@ -54835,7 +55309,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: *359 + items: *361 required: - repository_count - repositories @@ -54858,8 +55332,8 @@ paths: required: - repository_count - repository_full_names - no_codeql_db_repos: *360 - over_limit_repos: *360 + no_codeql_db_repos: *362 + over_limit_repos: *362 required: - access_mismatch_repos - not_found_repos @@ -54875,7 +55349,7 @@ paths: examples: repositories_parameter: summary: Response for a successful variant analysis submission - value: &361 + value: &363 summary: Default response value: id: 1 @@ -55027,10 +55501,10 @@ paths: private: false repository_owners: summary: Response for a successful variant analysis submission - value: *361 + value: *363 repository_lists: summary: Response for a successful variant analysis submission - value: *361 + value: *363 '404': *6 '422': description: Unable to process variant analysis submission @@ -55058,8 +55532,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: - - *246 - - *247 + - *248 + - *249 - name: codeql_variant_analysis_id in: path description: The unique identifier of the variant analysis. @@ -55071,9 +55545,9 @@ paths: description: Response content: application/json: - schema: *362 + schema: *364 examples: - default: *361 + default: *363 '404': *6 '503': *61 x-github: @@ -55096,7 +55570,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: - - *246 + - *248 - name: repo in: path description: The name of the controller repository. @@ -55131,7 +55605,7 @@ paths: type: object properties: repository: *50 - analysis_status: *363 + analysis_status: *365 artifact_size_in_bytes: type: integer description: The size of the artifact. This is only available @@ -55256,8 +55730,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-a-code-scanning-default-setup-configuration parameters: - - *246 - - *247 + - *248 + - *249 responses: '200': description: Response @@ -55322,7 +55796,7 @@ paths: query_suite: default updated_at: '2023-01-19T11:21:34Z' schedule: weekly - '403': *344 + '403': *346 '404': *6 '503': *61 x-github: @@ -55343,8 +55817,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#update-a-code-scanning-default-setup-configuration parameters: - - *246 - - *247 + - *248 + - *249 requestBody: required: true content: @@ -55427,7 +55901,7 @@ paths: value: run_id: 42 run_url: https://api.github.com/repos/octoorg/octocat/actions/runs/42 - '403': *350 + '403': *352 '404': *6 '409': description: Response if there is already a validation run in progress with @@ -55492,8 +55966,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#upload-an-analysis-as-sarif-data parameters: - - *246 - - *247 + - *248 + - *249 requestBody: required: true content: @@ -55501,7 +55975,7 @@ paths: schema: type: object properties: - commit_sha: *364 + commit_sha: *366 ref: type: string description: |- @@ -55561,7 +56035,7 @@ paths: schema: type: object properties: - id: *355 + id: *357 url: type: string description: The REST API URL for checking the status of the upload. @@ -55575,7 +56049,7 @@ 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': *350 + '403': *352 '404': *6 '413': description: Payload Too Large if the sarif field is too large @@ -55598,8 +56072,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-information-about-a-sarif-upload parameters: - - *246 - - *247 + - *248 + - *249 - name: sarif_id description: The SARIF ID obtained after uploading. in: path @@ -55647,7 +56121,7 @@ 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': *344 + '403': *346 '404': description: Not Found if the sarif id does not match any upload '503': *61 @@ -55672,8 +56146,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: - - *246 - - *247 + - *248 + - *249 responses: '200': description: Response @@ -55751,8 +56225,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-codeowners-errors parameters: - - *246 - - *247 + - *248 + - *249 - 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 @@ -55880,8 +56354,8 @@ paths: parameters: - *17 - *18 - - *246 - - *247 + - *248 + - *249 responses: '200': description: Response @@ -56195,8 +56669,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#create-a-codespace-in-a-repository parameters: - - *246 - - *247 + - *248 + - *249 requestBody: required: true content: @@ -56262,7 +56736,7 @@ paths: application/json: schema: *175 examples: - default: *365 + default: *367 '202': description: Response when the codespace creation partially failed but is being retried in the background @@ -56270,7 +56744,7 @@ paths: application/json: schema: *175 examples: - default: *365 + default: *367 '400': *14 '401': *23 '403': *27 @@ -56299,8 +56773,8 @@ paths: parameters: - *17 - *18 - - *246 - - *247 + - *248 + - *249 responses: '200': description: Response @@ -56364,8 +56838,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/machines#list-available-machine-types-for-a-repository parameters: - - *246 - - *247 + - *248 + - *249 - name: location description: The location to check for available machines. Assigned by IP if not provided. @@ -56402,9 +56876,9 @@ paths: type: integer machines: type: array - items: *366 + items: *368 examples: - default: &565 + default: &567 value: total_count: 2 machines: @@ -56444,8 +56918,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#get-default-attributes-for-a-codespace parameters: - - *246 - - *247 + - *248 + - *249 - name: ref description: The branch or commit to check for a default devcontainer path. If not specified, the default branch will be checked. @@ -56532,8 +57006,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: - - *246 - - *247 + - *248 + - *249 - 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 @@ -56602,8 +57076,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#list-repository-secrets parameters: - - *246 - - *247 + - *248 + - *249 - *17 - *18 responses: @@ -56621,7 +57095,7 @@ paths: type: integer secrets: type: array - items: &370 + items: &372 title: Codespaces Secret description: Set repository secrets for GitHub Codespaces. type: object @@ -56642,7 +57116,7 @@ paths: - created_at - updated_at examples: - default: *367 + default: *369 headers: Link: *56 x-github: @@ -56665,16 +57139,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#get-a-repository-public-key parameters: - - *246 - - *247 + - *248 + - *249 responses: '200': description: Response content: application/json: - schema: *368 + schema: *370 examples: - default: *369 + default: *371 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -56694,17 +57168,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#get-a-repository-secret parameters: - - *246 - - *247 + - *248 + - *249 - *115 responses: '200': description: Response content: application/json: - schema: *370 + schema: *372 examples: - default: *371 + default: *373 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -56724,8 +57198,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#create-or-update-a-repository-secret parameters: - - *246 - - *247 + - *248 + - *249 - *115 requestBody: required: true @@ -56778,8 +57252,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#delete-a-repository-secret parameters: - - *246 - - *247 + - *248 + - *249 - *115 responses: '204': @@ -56808,8 +57282,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#list-repository-collaborators parameters: - - *246 - - *247 + - *248 + - *249 - name: affiliation description: Filter collaborators returned by their affiliation. `outside` means all outside collaborators of an organization-owned repository. `direct` @@ -56847,7 +57321,7 @@ paths: application/json: schema: type: array - items: &372 + items: &374 title: Collaborator description: Collaborator type: object @@ -57040,8 +57514,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#check-if-a-user-is-a-repository-collaborator parameters: - - *246 - - *247 + - *248 + - *249 - *120 responses: '204': @@ -57084,8 +57558,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#add-a-repository-collaborator parameters: - - *246 - - *247 + - *248 + - *249 - *120 requestBody: required: false @@ -57112,7 +57586,7 @@ paths: description: Response when a new invitation is created content: application/json: - schema: &436 + schema: &438 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -57333,8 +57807,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#remove-a-repository-collaborator parameters: - - *246 - - *247 + - *248 + - *249 - *120 responses: '204': @@ -57364,8 +57838,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#get-repository-permissions-for-a-user parameters: - - *246 - - *247 + - *248 + - *249 - *120 responses: '200': @@ -57386,7 +57860,7 @@ paths: user: anyOf: - type: 'null' - - *372 + - *374 required: - permission - role_name @@ -57440,8 +57914,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#list-commit-comments-for-a-repository parameters: - - *246 - - *247 + - *248 + - *249 - *17 - *18 responses: @@ -57451,7 +57925,7 @@ paths: application/json: schema: type: array - items: &373 + items: &375 title: Commit Comment description: Commit Comment type: object @@ -57509,7 +57983,7 @@ paths: - created_at - updated_at examples: - default: &376 + default: &378 value: - html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -57568,17 +58042,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#get-a-commit-comment parameters: - - *246 - - *247 + - *248 + - *249 - *72 responses: '200': description: Response content: application/json: - schema: *373 + schema: *375 examples: - default: &377 + default: &379 value: html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -57635,8 +58109,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#update-a-commit-comment parameters: - - *246 - - *247 + - *248 + - *249 - *72 requestBody: required: true @@ -57659,7 +58133,7 @@ paths: description: Response content: application/json: - schema: *373 + schema: *375 examples: default: value: @@ -57710,8 +58184,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#delete-a-commit-comment parameters: - - *246 - - *247 + - *248 + - *249 - *72 responses: '204': @@ -57733,8 +58207,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-commit-comment parameters: - - *246 - - *247 + - *248 + - *249 - *72 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). @@ -57761,9 +58235,9 @@ paths: application/json: schema: type: array - items: *239 + items: *241 examples: - default: *241 + default: *243 headers: Link: *56 '404': *6 @@ -57784,8 +58258,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-commit-comment parameters: - - *246 - - *247 + - *248 + - *249 - *72 requestBody: required: true @@ -57818,16 +58292,16 @@ paths: description: Reaction exists content: application/json: - schema: *239 + schema: *241 examples: - default: *240 + default: *242 '201': description: Reaction created content: application/json: - schema: *239 + schema: *241 examples: - default: *240 + default: *242 '422': *15 x-github: githubCloudOnly: false @@ -57849,10 +58323,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-a-commit-comment-reaction parameters: - - *246 - - *247 + - *248 + - *249 - *72 - - *242 + - *244 responses: '204': description: Response @@ -57901,8 +58375,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#list-commits parameters: - - *246 - - *247 + - *248 + - *249 - name: sha description: 'SHA or branch to start listing commits from. Default: the repository’s default branch (usually `main`).' @@ -57958,9 +58432,9 @@ paths: application/json: schema: type: array - items: *374 + items: *376 examples: - default: &484 + default: &486 value: - url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -58054,9 +58528,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#list-branches-for-head-commit parameters: - - *246 - - *247 - - &375 + - *248 + - *249 + - &377 name: commit_sha description: The SHA of the commit. in: path @@ -58128,9 +58602,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#list-commit-comments parameters: - - *246 - - *247 - - *375 + - *248 + - *249 + - *377 - *17 - *18 responses: @@ -58140,9 +58614,9 @@ paths: application/json: schema: type: array - items: *373 + items: *375 examples: - default: *376 + default: *378 headers: Link: *56 x-github: @@ -58170,9 +58644,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#create-a-commit-comment parameters: - - *246 - - *247 - - *375 + - *248 + - *249 + - *377 requestBody: required: true content: @@ -58207,9 +58681,9 @@ paths: description: Response content: application/json: - schema: *373 + schema: *375 examples: - default: *377 + default: *379 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -58237,9 +58711,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#list-pull-requests-associated-with-a-commit parameters: - - *246 - - *247 - - *375 + - *248 + - *249 + - *377 - *17 - *18 responses: @@ -58249,7 +58723,7 @@ paths: application/json: schema: type: array - items: &475 + items: &477 title: Pull Request Simple description: Pull Request Simple type: object @@ -58369,7 +58843,7 @@ paths: milestone: anyOf: - type: 'null' - - *378 + - *380 active_lock_reason: type: - string @@ -58468,7 +58942,7 @@ paths: _links: type: object properties: - comments: &379 + comments: &381 title: Link description: Hypermedia Link type: object @@ -58477,13 +58951,13 @@ paths: type: string required: - href - commits: *379 - statuses: *379 - html: *379 - issue: *379 - review_comments: *379 - review_comment: *379 - self: *379 + commits: *381 + statuses: *381 + html: *381 + issue: *381 + review_comments: *381 + review_comment: *381 + self: *381 required: - comments - commits @@ -58494,7 +58968,7 @@ paths: - review_comment - self author_association: *59 - auto_merge: &477 + auto_merge: &479 title: Auto merge description: The status of auto merging a pull request. type: @@ -58559,7 +59033,7 @@ paths: - author_association - auto_merge examples: - default: &476 + default: &478 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -59096,11 +59570,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#get-a-commit parameters: - - *246 - - *247 + - *248 + - *249 - *18 - *17 - - &380 + - &382 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)" @@ -59115,9 +59589,9 @@ paths: description: Response content: application/json: - schema: *374 + schema: *376 examples: - default: &463 + default: &465 value: url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -59230,11 +59704,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#list-check-runs-for-a-git-reference parameters: - - *246 - - *247 - - *380 - - *381 + - *248 + - *249 - *382 + - *383 + - *384 - name: filter description: Filters check runs by their `completed_at` timestamp. `latest` returns the most recent check runs. @@ -59268,9 +59742,9 @@ paths: type: integer check_runs: type: array - items: *326 + items: *328 examples: - default: *383 + default: *385 headers: Link: *56 x-github: @@ -59295,9 +59769,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#list-check-suites-for-a-git-reference parameters: - - *246 - - *247 - - *380 + - *248 + - *249 + - *382 - name: app_id description: Filters check suites by GitHub App `id`. in: query @@ -59305,7 +59779,7 @@ paths: schema: type: integer example: 1 - - *381 + - *383 - *17 - *18 responses: @@ -59323,7 +59797,7 @@ paths: type: integer check_suites: type: array - items: *330 + items: *332 examples: default: value: @@ -59523,9 +59997,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/statuses#get-the-combined-status-for-a-specific-reference parameters: - - *246 - - *247 - - *380 + - *248 + - *249 + - *382 - *17 - *18 responses: @@ -59727,9 +60201,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/statuses#list-commit-statuses-for-a-reference parameters: - - *246 - - *247 - - *380 + - *248 + - *249 + - *382 - *17 - *18 responses: @@ -59739,7 +60213,7 @@ paths: application/json: schema: type: array - items: &539 + items: &541 title: Status description: The status of a commit. type: object @@ -59820,7 +60294,7 @@ paths: site_admin: false headers: Link: *56 - '301': *258 + '301': *260 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -59848,8 +60322,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/community#get-community-profile-metrics parameters: - - *246 - - *247 + - *248 + - *249 responses: '200': description: Response @@ -59882,11 +60356,11 @@ paths: code_of_conduct: anyOf: - type: 'null' - - *384 + - *386 code_of_conduct_file: anyOf: - type: 'null' - - &385 + - &387 title: Community Health File type: object properties: @@ -59906,19 +60380,19 @@ paths: contributing: anyOf: - type: 'null' - - *385 + - *387 readme: anyOf: - type: 'null' - - *385 + - *387 issue_template: anyOf: - type: 'null' - - *385 + - *387 pull_request_template: anyOf: - type: 'null' - - *385 + - *387 required: - code_of_conduct - code_of_conduct_file @@ -60047,8 +60521,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#compare-two-commits parameters: - - *246 - - *247 + - *248 + - *249 - *18 - *17 - name: basehead @@ -60096,8 +60570,8 @@ paths: format: uri examples: - https://github.com/octocat/Hello-World/compare/master...topic.patch - base_commit: *374 - merge_base_commit: *374 + base_commit: *376 + merge_base_commit: *376 status: type: string enum: @@ -60121,10 +60595,10 @@ paths: - 6 commits: type: array - items: *374 + items: *376 files: type: array - items: *386 + items: *388 required: - url - html_url @@ -60410,8 +60884,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#get-repository-content parameters: - - *246 - - *247 + - *248 + - *249 - name: path description: path parameter in: path @@ -60562,7 +61036,7 @@ paths: - type - url examples: - response-if-content-is-a-file: &387 + response-if-content-is-a-file: &389 summary: Response if content is a file value: type: file @@ -60699,7 +61173,7 @@ paths: - size - type - url - - &489 + - &491 title: Content File description: Content File type: object @@ -60917,7 +61391,7 @@ paths: - url - submodule_git_url examples: - response-if-content-is-a-file: *387 + response-if-content-is-a-file: *389 response-if-content-is-a-directory: summary: Response if content is a directory and the application/json media type is requested @@ -60986,7 +61460,7 @@ paths: html: https://github.com/jquery/qunit/tree/6ca3721222109997540bd6d9ccd396902e0ad2f9 '404': *6 '403': *27 - '302': *388 + '302': *390 '304': *35 x-github: githubCloudOnly: false @@ -61009,8 +61483,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#create-or-update-file-contents parameters: - - *246 - - *247 + - *248 + - *249 - name: path description: path parameter in: path @@ -61105,7 +61579,7 @@ paths: description: Response content: application/json: - schema: &389 + schema: &391 title: File Commit description: File Commit type: object @@ -61261,7 +61735,7 @@ paths: description: Response content: application/json: - schema: *389 + schema: *391 examples: example-for-creating-a-file: value: @@ -61315,7 +61789,7 @@ paths: schema: oneOf: - *3 - - &418 + - &420 description: Repository rule violation was detected type: object properties: @@ -61336,7 +61810,7 @@ paths: items: type: object properties: - placeholder_id: &531 + placeholder_id: &533 description: The ID of the push protection bypass placeholder. This value is returned on any push protected routes. @@ -61368,8 +61842,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#delete-a-file parameters: - - *246 - - *247 + - *248 + - *249 - name: path description: path parameter in: path @@ -61430,7 +61904,7 @@ paths: description: Response content: application/json: - schema: *389 + schema: *391 examples: default: value: @@ -61485,8 +61959,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-contributors parameters: - - *246 - - *247 + - *248 + - *249 - name: anon description: Set to `1` or `true` to include anonymous contributors in results. in: query @@ -61610,8 +62084,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#list-dependabot-alerts-for-a-repository parameters: - - *246 - - *247 + - *248 + - *249 - *135 - *136 - *137 @@ -61652,7 +62126,7 @@ paths: application/json: schema: type: array - items: &392 + items: &394 type: object description: A Dependabot alert. properties: @@ -61687,7 +62161,7 @@ paths: - development - runtime - - security_advisory: *390 + security_advisory: *392 security_vulnerability: *49 url: *54 html_url: *55 @@ -61718,7 +62192,7 @@ paths: dismissal. maxLength: 280 fixed_at: *121 - auto_dismissed_at: *391 + auto_dismissed_at: *393 required: - number - state @@ -61945,9 +62419,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#get-a-dependabot-alert parameters: - - *246 - - *247 - - &393 + - *248 + - *249 + - &395 name: alert_number in: path description: |- @@ -61962,7 +62436,7 @@ paths: description: Response content: application/json: - schema: *392 + schema: *394 examples: default: value: @@ -62072,9 +62546,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#update-a-dependabot-alert parameters: - - *246 - - *247 - - *393 + - *248 + - *249 + - *395 requestBody: required: true content: @@ -62119,7 +62593,7 @@ paths: description: Response content: application/json: - schema: *392 + schema: *394 examples: default: value: @@ -62248,8 +62722,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#list-repository-secrets parameters: - - *246 - - *247 + - *248 + - *249 - *17 - *18 responses: @@ -62267,7 +62741,7 @@ paths: type: integer secrets: type: array - items: &396 + items: &398 title: Dependabot Secret description: Set secrets for Dependabot. type: object @@ -62321,16 +62795,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#get-a-repository-public-key parameters: - - *246 - - *247 + - *248 + - *249 responses: '200': description: Response content: application/json: - schema: *394 + schema: *396 examples: - default: *395 + default: *397 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -62350,15 +62824,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#get-a-repository-secret parameters: - - *246 - - *247 + - *248 + - *249 - *115 responses: '200': description: Response content: application/json: - schema: *396 + schema: *398 examples: default: value: @@ -62384,8 +62858,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#create-or-update-a-repository-secret parameters: - - *246 - - *247 + - *248 + - *249 - *115 requestBody: required: true @@ -62438,8 +62912,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#delete-a-repository-secret parameters: - - *246 - - *247 + - *248 + - *249 - *115 responses: '204': @@ -62462,8 +62936,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: - - *246 - - *247 + - *248 + - *249 - 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 @@ -62637,8 +63111,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: - - *246 - - *247 + - *248 + - *249 responses: '200': description: Response @@ -62898,8 +63372,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: - - *246 - - *247 + - *248 + - *249 requestBody: required: true content: @@ -62982,7 +63456,7 @@ paths: - version - url additionalProperties: false - metadata: &397 + metadata: &399 title: metadata description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -63021,7 +63495,7 @@ paths: examples: - "/src/build/package-lock.json" additionalProperties: false - metadata: *397 + metadata: *399 resolved: type: object description: A collection of resolved package dependencies. @@ -63035,7 +63509,7 @@ paths: pattern: "^pkg" examples: - pkg:/npm/%40actions/http-client@1.0.11 - metadata: *397 + metadata: *399 relationship: type: string description: A notation of whether a dependency is requested @@ -63168,8 +63642,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#list-deployments parameters: - - *246 - - *247 + - *248 + - *249 - name: sha description: The SHA recorded at creation time. in: query @@ -63210,9 +63684,9 @@ paths: application/json: schema: type: array - items: *398 + items: *400 examples: - default: *399 + default: *401 headers: Link: *56 x-github: @@ -63278,8 +63752,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#create-a-deployment parameters: - - *246 - - *247 + - *248 + - *249 requestBody: required: true content: @@ -63361,7 +63835,7 @@ paths: description: Response content: application/json: - schema: *398 + schema: *400 examples: simple-example: summary: Simple example @@ -63434,9 +63908,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#get-a-deployment parameters: - - *246 - - *247 - - &400 + - *248 + - *249 + - &402 name: deployment_id description: deployment_id parameter in: path @@ -63448,7 +63922,7 @@ paths: description: Response content: application/json: - schema: *398 + schema: *400 examples: default: value: @@ -63513,9 +63987,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#delete-a-deployment parameters: - - *246 - - *247 - - *400 + - *248 + - *249 + - *402 responses: '204': description: Response @@ -63537,9 +64011,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/statuses#list-deployment-statuses parameters: - - *246 - - *247 - - *400 + - *248 + - *249 + - *402 - *17 - *18 responses: @@ -63549,7 +64023,7 @@ paths: application/json: schema: type: array - items: &401 + items: &403 title: Deployment Status description: The status of a deployment. type: object @@ -63713,9 +64187,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/statuses#create-a-deployment-status parameters: - - *246 - - *247 - - *400 + - *248 + - *249 + - *402 requestBody: required: true content: @@ -63790,9 +64264,9 @@ paths: description: Response content: application/json: - schema: *401 + schema: *403 examples: - default: &402 + default: &404 value: url: https://api.github.com/repos/octocat/example/deployments/42/statuses/1 id: 1 @@ -63848,9 +64322,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/statuses#get-a-deployment-status parameters: - - *246 - - *247 - - *400 + - *248 + - *249 + - *402 - name: status_id in: path required: true @@ -63861,9 +64335,9 @@ paths: description: Response content: application/json: - schema: *401 + schema: *403 examples: - default: *402 + default: *404 '404': *6 x-github: githubCloudOnly: false @@ -63888,8 +64362,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#create-a-repository-dispatch-event parameters: - - *246 - - *247 + - *248 + - *249 requestBody: required: true content: @@ -63946,8 +64420,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#list-environments parameters: - - *246 - - *247 + - *248 + - *249 - *17 - *18 responses: @@ -63965,7 +64439,7 @@ paths: - 5 environments: type: array - items: &404 + items: &406 title: Environment description: Details of a deployment environment type: object @@ -64027,7 +64501,7 @@ paths: type: string examples: - wait_timer - wait_timer: &406 + wait_timer: &408 type: integer description: The amount of time to delay a job after the job is initially triggered. The time (in minutes) @@ -64069,7 +64543,7 @@ paths: items: type: object properties: - type: *403 + type: *405 reviewer: anyOf: - *4 @@ -64096,7 +64570,7 @@ paths: - id - node_id - type - deployment_branch_policy: &407 + deployment_branch_policy: &409 type: - object - 'null' @@ -64213,9 +64687,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#get-an-environment parameters: - - *246 - - *247 - - &405 + - *248 + - *249 + - &407 name: environment_name in: path required: true @@ -64228,9 +64702,9 @@ paths: description: Response content: application/json: - schema: *404 + schema: *406 examples: - default: &408 + default: &410 value: id: 161088068 node_id: MDExOkVudmlyb25tZW50MTYxMDg4MDY4 @@ -64314,9 +64788,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#create-or-update-an-environment parameters: - - *246 - - *247 - - *405 + - *248 + - *249 + - *407 requestBody: required: false content: @@ -64326,7 +64800,7 @@ paths: - object - 'null' properties: - wait_timer: *406 + wait_timer: *408 prevent_self_review: type: boolean description: Whether or not a user who created the job is prevented @@ -64345,14 +64819,14 @@ paths: items: type: object properties: - type: *403 + type: *405 id: type: integer description: The id of the user or team who can review the deployment examples: - 4532992 - deployment_branch_policy: *407 + deployment_branch_policy: *409 additionalProperties: false examples: default: @@ -64372,9 +64846,9 @@ paths: description: Response content: application/json: - schema: *404 + schema: *406 examples: - default: *408 + default: *410 '422': description: Validation error when the environment name is invalid or when `protected_branches` and `custom_branch_policies` in `deployment_branch_policy` @@ -64398,9 +64872,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#delete-an-environment parameters: - - *246 - - *247 - - *405 + - *248 + - *249 + - *407 responses: '204': description: Default response @@ -64425,9 +64899,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#list-deployment-branch-policies parameters: - - *246 - - *247 - - *405 + - *248 + - *249 + - *407 - *17 - *18 responses: @@ -64446,7 +64920,7 @@ paths: - 2 branch_policies: type: array - items: &409 + items: &411 title: Deployment branch policy description: Details of a deployment branch or tag policy. type: object @@ -64507,9 +64981,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#create-a-deployment-branch-policy parameters: - - *246 - - *247 - - *405 + - *248 + - *249 + - *407 requestBody: required: true content: @@ -64557,9 +65031,9 @@ paths: description: Response content: application/json: - schema: *409 + schema: *411 examples: - example-wildcard: &410 + example-wildcard: &412 value: id: 364662 node_id: MDE2OkdhdGVCcmFuY2hQb2xpY3kzNjQ2NjI= @@ -64601,10 +65075,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#get-a-deployment-branch-policy parameters: - - *246 - - *247 - - *405 - - &411 + - *248 + - *249 + - *407 + - &413 name: branch_policy_id in: path required: true @@ -64616,9 +65090,9 @@ paths: description: Response content: application/json: - schema: *409 + schema: *411 examples: - default: *410 + default: *412 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -64637,10 +65111,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#update-a-deployment-branch-policy parameters: - - *246 - - *247 - - *405 - - *411 + - *248 + - *249 + - *407 + - *413 requestBody: required: true content: @@ -64669,9 +65143,9 @@ paths: description: Response content: application/json: - schema: *409 + schema: *411 examples: - default: *410 + default: *412 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -64690,10 +65164,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#delete-a-deployment-branch-policy parameters: - - *246 - - *247 - - *405 - - *411 + - *248 + - *249 + - *407 + - *413 responses: '204': description: Response @@ -64718,9 +65192,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#get-all-deployment-protection-rules-for-an-environment parameters: - - *405 - - *247 - - *246 + - *407 + - *249 + - *248 responses: '200': description: List of deployment protection rules @@ -64737,7 +65211,7 @@ paths: - 10 custom_deployment_protection_rules: type: array - items: &412 + items: &414 title: Deployment protection rule description: Deployment protection rule type: object @@ -64759,7 +65233,7 @@ paths: for the environment. examples: - true - app: &413 + app: &415 title: Custom deployment protection rule app description: A GitHub App that is providing a custom deployment protection rule. @@ -64862,9 +65336,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: - - *405 - - *247 - - *246 + - *407 + - *249 + - *248 requestBody: content: application/json: @@ -64885,9 +65359,9 @@ paths: description: The enabled custom deployment protection rule content: application/json: - schema: *412 + schema: *414 examples: - default: &414 + default: &416 value: id: 3 node_id: IEH37kRlcGxveW1lbnRTdGF0ddiv @@ -64922,9 +65396,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: - - *405 - - *247 - - *246 + - *407 + - *249 + - *248 - *18 - *17 responses: @@ -64944,7 +65418,7 @@ paths: - 35 available_custom_deployment_protection_rule_integrations: type: array - items: *413 + items: *415 examples: default: value: @@ -64979,10 +65453,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#get-a-custom-deployment-protection-rule parameters: - - *246 - - *247 - - *405 - - &415 + - *248 + - *249 + - *407 + - &417 name: protection_rule_id description: The unique identifier of the protection rule. in: path @@ -64994,9 +65468,9 @@ paths: description: Response content: application/json: - schema: *412 + schema: *414 examples: - default: *414 + default: *416 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -65017,10 +65491,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#disable-a-custom-protection-rule-for-an-environment parameters: - - *405 - - *247 - - *246 - - *415 + - *407 + - *249 + - *248 + - *417 responses: '204': description: Response @@ -65046,9 +65520,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-environment-secrets parameters: - - *246 - - *247 - - *405 + - *248 + - *249 + - *407 - *17 - *18 responses: @@ -65066,9 +65540,9 @@ paths: type: integer secrets: type: array - items: *292 + items: *294 examples: - default: *293 + default: *295 headers: Link: *56 x-github: @@ -65093,17 +65567,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-an-environment-public-key parameters: - - *246 - - *247 - - *405 + - *248 + - *249 + - *407 responses: '200': description: Response content: application/json: - schema: *294 + schema: *296 examples: - default: *295 + default: *297 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -65125,18 +65599,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-an-environment-secret parameters: - - *246 - - *247 - - *405 + - *248 + - *249 + - *407 - *115 responses: '200': description: Response content: application/json: - schema: *292 + schema: *294 examples: - default: *416 + default: *418 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -65158,9 +65632,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#create-or-update-an-environment-secret parameters: - - *246 - - *247 - - *405 + - *248 + - *249 + - *407 - *115 requestBody: required: true @@ -65218,9 +65692,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#delete-an-environment-secret parameters: - - *246 - - *247 - - *405 + - *248 + - *249 + - *407 - *115 responses: '204': @@ -65246,10 +65720,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-environment-variables parameters: - - *246 - - *247 - - *405 - - *268 + - *248 + - *249 + - *407 + - *270 - *18 responses: '200': @@ -65266,9 +65740,9 @@ paths: type: integer variables: type: array - items: *296 + items: *298 examples: - default: *297 + default: *299 headers: Link: *56 x-github: @@ -65291,9 +65765,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#create-an-environment-variable parameters: - - *246 - - *247 - - *405 + - *248 + - *249 + - *407 requestBody: required: true content: @@ -65345,18 +65819,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#get-an-environment-variable parameters: - - *246 - - *247 - - *405 + - *248 + - *249 + - *407 - *118 responses: '200': description: Response content: application/json: - schema: *296 + schema: *298 examples: - default: *417 + default: *419 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -65377,10 +65851,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#update-an-environment-variable parameters: - - *246 - - *247 + - *248 + - *249 - *118 - - *405 + - *407 requestBody: required: true content: @@ -65422,10 +65896,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#delete-an-environment-variable parameters: - - *246 - - *247 + - *248 + - *249 - *118 - - *405 + - *407 responses: '204': description: Response @@ -65447,8 +65921,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-repository-events parameters: - - *246 - - *247 + - *248 + - *249 - *17 - *18 responses: @@ -65525,8 +65999,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/forks#list-forks parameters: - - *246 - - *247 + - *248 + - *249 - name: sort description: The sort order. `stargazers` will sort by star count. in: query @@ -65685,8 +66159,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/forks#create-a-fork parameters: - - *246 - - *247 + - *248 + - *249 requestBody: required: false content: @@ -65719,9 +66193,9 @@ paths: description: Response content: application/json: - schema: *257 + schema: *259 examples: - default: *259 + default: *261 '400': *14 '422': *15 '403': *27 @@ -65742,8 +66216,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/blobs#create-a-blob parameters: - - *246 - - *247 + - *248 + - *249 requestBody: required: true content: @@ -65803,7 +66277,7 @@ paths: schema: oneOf: - *92 - - *418 + - *420 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -65828,8 +66302,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/blobs#get-a-blob parameters: - - *246 - - *247 + - *248 + - *249 - name: file_sha in: path required: true @@ -65929,8 +66403,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/commits#create-a-commit parameters: - - *246 - - *247 + - *248 + - *249 requestBody: required: true content: @@ -66039,7 +66513,7 @@ paths: description: Response content: application/json: - schema: &419 + schema: &421 title: Git Commit description: Low-level Git commit operations within a repository type: object @@ -66265,15 +66739,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/commits#get-a-commit-object parameters: - - *246 - - *247 - - *375 + - *248 + - *249 + - *377 responses: '200': description: Response content: application/json: - schema: *419 + schema: *421 examples: default: value: @@ -66329,9 +66803,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#list-matching-references parameters: - - *246 - - *247 - - &420 + - *248 + - *249 + - &422 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. @@ -66348,7 +66822,7 @@ paths: application/json: schema: type: array - items: &421 + items: &423 title: Git Reference description: Git references within a repository type: object @@ -66424,17 +66898,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#get-a-reference parameters: - - *246 - - *247 - - *420 + - *248 + - *249 + - *422 responses: '200': description: Response content: application/json: - schema: *421 + schema: *423 examples: - default: &422 + default: &424 value: ref: refs/heads/featureA node_id: MDM6UmVmcmVmcy9oZWFkcy9mZWF0dXJlQQ== @@ -66463,8 +66937,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#create-a-reference parameters: - - *246 - - *247 + - *248 + - *249 requestBody: required: true content: @@ -66493,9 +66967,9 @@ paths: description: Response content: application/json: - schema: *421 + schema: *423 examples: - default: *422 + default: *424 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/git/refs/heads/featureA @@ -66521,9 +66995,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#update-a-reference parameters: - - *246 - - *247 - - *420 + - *248 + - *249 + - *422 requestBody: required: true content: @@ -66552,9 +67026,9 @@ paths: description: Response content: application/json: - schema: *421 + schema: *423 examples: - default: *422 + default: *424 '422': *15 '409': *44 x-github: @@ -66572,9 +67046,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#delete-a-reference parameters: - - *246 - - *247 - - *420 + - *248 + - *249 + - *422 responses: '204': description: Response @@ -66627,8 +67101,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/tags#create-a-tag-object parameters: - - *246 - - *247 + - *248 + - *249 requestBody: required: true content: @@ -66695,7 +67169,7 @@ paths: description: Response content: application/json: - schema: &424 + schema: &426 title: Git Tag description: Metadata for a Git tag type: object @@ -66751,7 +67225,7 @@ paths: - sha - type - url - verification: *423 + verification: *425 required: - sha - url @@ -66761,7 +67235,7 @@ paths: - tag - message examples: - default: &425 + default: &427 value: node_id: MDM6VGFnOTQwYmQzMzYyNDhlZmFlMGY5ZWU1YmM3YjJkNWM5ODU4ODdiMTZhYw== tag: v0.0.1 @@ -66834,8 +67308,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/tags#get-a-tag parameters: - - *246 - - *247 + - *248 + - *249 - name: tag_sha in: path required: true @@ -66846,9 +67320,9 @@ paths: description: Response content: application/json: - schema: *424 + schema: *426 examples: - default: *425 + default: *427 '404': *6 '409': *44 x-github: @@ -66872,8 +67346,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/trees#create-a-tree parameters: - - *246 - - *247 + - *248 + - *249 requestBody: required: true content: @@ -66947,7 +67421,7 @@ paths: description: Response content: application/json: - schema: &426 + schema: &428 title: Git Tree description: The hierarchy between files in a Git repository. type: object @@ -67065,8 +67539,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/trees#get-a-tree parameters: - - *246 - - *247 + - *248 + - *249 - name: tree_sha description: The SHA1 value or ref (branch or tag) name of the tree. in: path @@ -67089,7 +67563,7 @@ paths: description: Response content: application/json: - schema: *426 + schema: *428 examples: default-response: summary: Default response @@ -67148,8 +67622,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#list-repository-webhooks parameters: - - *246 - - *247 + - *248 + - *249 - *17 - *18 responses: @@ -67159,7 +67633,7 @@ paths: application/json: schema: type: array - items: &427 + items: &429 title: Webhook description: Webhooks for repositories. type: object @@ -67222,7 +67696,7 @@ paths: format: uri examples: - https://api.github.com/repos/octocat/Hello-World/hooks/1/deliveries - last_response: &638 + last_response: &640 title: Hook Response type: object properties: @@ -67299,8 +67773,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#create-a-repository-webhook parameters: - - *246 - - *247 + - *248 + - *249 requestBody: required: false content: @@ -67353,9 +67827,9 @@ paths: description: Response content: application/json: - schema: *427 + schema: *429 examples: - default: &428 + default: &430 value: type: Repository id: 12345678 @@ -67403,17 +67877,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#get-a-repository-webhook parameters: - - *246 - - *247 + - *248 + - *249 - *148 responses: '200': description: Response content: application/json: - schema: *427 + schema: *429 examples: - default: *428 + default: *430 '404': *6 x-github: githubCloudOnly: false @@ -67433,8 +67907,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#update-a-repository-webhook parameters: - - *246 - - *247 + - *248 + - *249 - *148 requestBody: required: true @@ -67480,9 +67954,9 @@ paths: description: Response content: application/json: - schema: *427 + schema: *429 examples: - default: *428 + default: *430 '422': *15 '404': *6 x-github: @@ -67503,8 +67977,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#delete-a-repository-webhook parameters: - - *246 - - *247 + - *248 + - *249 - *148 responses: '204': @@ -67529,8 +68003,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#get-a-webhook-configuration-for-a-repository parameters: - - *246 - - *247 + - *248 + - *249 - *148 responses: '200': @@ -67558,8 +68032,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#update-a-webhook-configuration-for-a-repository parameters: - - *246 - - *247 + - *248 + - *249 - *148 requestBody: required: false @@ -67604,8 +68078,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#list-deliveries-for-a-repository-webhook parameters: - - *246 - - *247 + - *248 + - *249 - *148 - *17 - *149 @@ -67637,8 +68111,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#get-a-delivery-for-a-repository-webhook parameters: - - *246 - - *247 + - *248 + - *249 - *148 - *16 responses: @@ -67667,8 +68141,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#redeliver-a-delivery-for-a-repository-webhook parameters: - - *246 - - *247 + - *248 + - *249 - *148 - *16 responses: @@ -67692,8 +68166,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#ping-a-repository-webhook parameters: - - *246 - - *247 + - *248 + - *249 - *148 responses: '204': @@ -67719,8 +68193,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#test-the-push-repository-webhook parameters: - - *246 - - *247 + - *248 + - *249 - *148 responses: '204': @@ -67779,14 +68253,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#get-an-import-status parameters: - - *246 - - *247 + - *248 + - *249 responses: '200': description: Response content: application/json: - schema: &429 + schema: &431 title: Import description: A repository import from an external source. type: object @@ -67893,7 +68367,7 @@ paths: - html_url - authors_url examples: - default: &432 + default: &434 value: vcs: subversion use_lfs: true @@ -67909,7 +68383,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': &430 + '503': &432 description: Unavailable due to service under maintenance. content: application/json: @@ -67938,8 +68412,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#start-an-import parameters: - - *246 - - *247 + - *248 + - *249 requestBody: required: true content: @@ -67987,7 +68461,7 @@ paths: description: Response content: application/json: - schema: *429 + schema: *431 examples: default: value: @@ -68012,7 +68486,7 @@ paths: type: string '422': *15 '404': *6 - '503': *430 + '503': *432 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -68040,8 +68514,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#update-an-import parameters: - - *246 - - *247 + - *248 + - *249 requestBody: required: false content: @@ -68093,7 +68567,7 @@ paths: description: Response content: application/json: - schema: *429 + schema: *431 examples: example-1: summary: Example 1 @@ -68141,7 +68615,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': *430 + '503': *432 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -68164,12 +68638,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#cancel-an-import parameters: - - *246 - - *247 + - *248 + - *249 responses: '204': description: Response - '503': *430 + '503': *432 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -68195,9 +68669,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#get-commit-authors parameters: - - *246 - - *247 - - &588 + - *248 + - *249 + - &590 name: since description: A user ID. Only return users with an ID greater than this ID. in: query @@ -68211,7 +68685,7 @@ paths: application/json: schema: type: array - items: &431 + items: &433 title: Porter Author description: Porter Author type: object @@ -68265,7 +68739,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': *430 + '503': *432 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -68290,8 +68764,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#map-a-commit-author parameters: - - *246 - - *247 + - *248 + - *249 - name: author_id in: path required: true @@ -68321,7 +68795,7 @@ paths: description: Response content: application/json: - schema: *431 + schema: *433 examples: default: value: @@ -68334,7 +68808,7 @@ paths: import_url: https://api.github.com/repos/octocat/socm/import '422': *15 '404': *6 - '503': *430 + '503': *432 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -68358,8 +68832,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#get-large-files parameters: - - *246 - - *247 + - *248 + - *249 responses: '200': description: Response @@ -68400,7 +68874,7 @@ paths: path: foo/bar/3 oid: c20ad4d76fe97759aa27a0c99bff6710 size: 12582912 - '503': *430 + '503': *432 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -68428,8 +68902,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#update-git-lfs-preference parameters: - - *246 - - *247 + - *248 + - *249 requestBody: required: true content: @@ -68456,11 +68930,11 @@ paths: description: Response content: application/json: - schema: *429 + schema: *431 examples: - default: *432 + default: *434 '422': *15 - '503': *430 + '503': *432 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -68483,8 +68957,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/apps/apps#get-a-repository-installation-for-the-authenticated-app parameters: - - *246 - - *247 + - *248 + - *249 responses: '200': description: Response @@ -68492,8 +68966,8 @@ paths: application/json: schema: *20 examples: - default: *433 - '301': *258 + default: *435 + '301': *260 '404': *6 x-github: githubCloudOnly: false @@ -68513,8 +68987,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/repos#get-interaction-restrictions-for-a-repository parameters: - - *246 - - *247 + - *248 + - *249 responses: '200': description: Response @@ -68527,7 +69001,7 @@ paths: properties: {} additionalProperties: false examples: - default: &435 + default: &437 value: limit: collaborators_only origin: repository @@ -68552,13 +69026,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/repos#set-interaction-restrictions-for-a-repository parameters: - - *246 - - *247 + - *248 + - *249 requestBody: required: true content: application/json: - schema: *434 + schema: *436 examples: default: summary: Example request body @@ -68572,7 +69046,7 @@ paths: application/json: schema: *166 examples: - default: *435 + default: *437 '409': description: Response x-github: @@ -68594,8 +69068,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/repos#remove-interaction-restrictions-for-a-repository parameters: - - *246 - - *247 + - *248 + - *249 responses: '204': description: Response @@ -68618,8 +69092,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#list-repository-invitations parameters: - - *246 - - *247 + - *248 + - *249 - *17 - *18 responses: @@ -68629,9 +69103,9 @@ paths: application/json: schema: type: array - items: *436 + items: *438 examples: - default: &581 + default: &583 value: - id: 1 repository: @@ -68762,8 +69236,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#update-a-repository-invitation parameters: - - *246 - - *247 + - *248 + - *249 - *170 requestBody: required: false @@ -68793,7 +69267,7 @@ paths: description: Response content: application/json: - schema: *436 + schema: *438 examples: default: value: @@ -68924,8 +69398,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#delete-a-repository-invitation parameters: - - *246 - - *247 + - *248 + - *249 - *170 responses: '204': @@ -68957,8 +69431,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#list-repository-issues parameters: - - *246 - - *247 + - *248 + - *249 - 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 @@ -69023,7 +69497,7 @@ paths: type: array items: *73 examples: - default: &445 + default: &447 value: - id: 1 node_id: MDU6SXNzdWUx @@ -69171,7 +69645,7 @@ paths: state_reason: completed headers: Link: *56 - '301': *258 + '301': *260 '422': *15 '404': *6 x-github: @@ -69200,8 +69674,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#create-an-issue parameters: - - *246 - - *247 + - *248 + - *249 requestBody: required: true content: @@ -69284,7 +69758,7 @@ paths: application/json: schema: *73 examples: - default: &440 + default: &442 value: id: 1 node_id: MDU6SXNzdWUx @@ -69440,7 +69914,7 @@ paths: '422': *15 '503': *61 '404': *6 - '410': *255 + '410': *257 x-github: triggersNotification: true githubCloudOnly: false @@ -69468,8 +69942,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#list-issue-comments-for-a-repository parameters: - - *246 - - *247 + - *248 + - *249 - *82 - name: direction description: Either `asc` or `desc`. Ignored without the `sort` parameter. @@ -69490,9 +69964,9 @@ paths: application/json: schema: type: array - items: *437 + items: *439 examples: - default: &442 + default: &444 value: - id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -69550,17 +70024,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#get-an-issue-comment parameters: - - *246 - - *247 + - *248 + - *249 - *72 responses: '200': description: Response content: application/json: - schema: *437 + schema: *439 examples: - default: &438 + default: &440 value: id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -69614,8 +70088,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#update-an-issue-comment parameters: - - *246 - - *247 + - *248 + - *249 - *72 requestBody: required: true @@ -69638,9 +70112,9 @@ paths: description: Response content: application/json: - schema: *437 + schema: *439 examples: - default: *438 + default: *440 '422': *15 x-github: githubCloudOnly: false @@ -69658,8 +70132,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#delete-an-issue-comment parameters: - - *246 - - *247 + - *248 + - *249 - *72 responses: '204': @@ -69680,8 +70154,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-an-issue-comment parameters: - - *246 - - *247 + - *248 + - *249 - *72 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). @@ -69708,9 +70182,9 @@ paths: application/json: schema: type: array - items: *239 + items: *241 examples: - default: *241 + default: *243 headers: Link: *56 '404': *6 @@ -69731,8 +70205,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-an-issue-comment parameters: - - *246 - - *247 + - *248 + - *249 - *72 requestBody: required: true @@ -69765,16 +70239,16 @@ paths: description: Reaction exists content: application/json: - schema: *239 + schema: *241 examples: - default: *240 + default: *242 '201': description: Reaction created content: application/json: - schema: *239 + schema: *241 examples: - default: *240 + default: *242 '422': *15 x-github: githubCloudOnly: false @@ -69796,10 +70270,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-an-issue-comment-reaction parameters: - - *246 - - *247 + - *248 + - *249 - *72 - - *242 + - *244 responses: '204': description: Response @@ -69819,8 +70293,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/events#list-issue-events-for-a-repository parameters: - - *246 - - *247 + - *248 + - *249 - *17 - *18 responses: @@ -69830,7 +70304,7 @@ paths: application/json: schema: type: array - items: &439 + items: &441 title: Issue Event description: Issue Event type: object @@ -70169,8 +70643,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/events#get-an-issue-event parameters: - - *246 - - *247 + - *248 + - *249 - name: event_id in: path required: true @@ -70181,7 +70655,7 @@ paths: description: Response content: application/json: - schema: *439 + schema: *441 examples: default: value: @@ -70374,7 +70848,7 @@ paths: author_association: COLLABORATOR state_reason: completed '404': *6 - '410': *255 + '410': *257 '403': *27 x-github: githubCloudOnly: false @@ -70408,9 +70882,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#get-an-issue parameters: - - *246 - - *247 - - &441 + - *248 + - *249 + - &443 name: issue_number description: The number that identifies the issue. in: path @@ -70424,10 +70898,10 @@ paths: application/json: schema: *73 examples: - default: *440 - '301': *258 + default: *442 + '301': *260 '404': *6 - '410': *255 + '410': *257 '304': *35 x-github: githubCloudOnly: false @@ -70452,9 +70926,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#update-an-issue parameters: - - *246 - - *247 - - *441 + - *248 + - *249 + - *443 requestBody: required: false content: @@ -70564,13 +71038,13 @@ paths: application/json: schema: *73 examples: - default: *440 + default: *442 '422': *15 '503': *61 '403': *27 - '301': *258 + '301': *260 '404': *6 - '410': *255 + '410': *257 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -70588,9 +71062,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#add-assignees-to-an-issue parameters: - - *246 - - *247 - - *441 + - *248 + - *249 + - *443 requestBody: required: false content: @@ -70618,7 +71092,7 @@ paths: application/json: schema: *73 examples: - default: *440 + default: *442 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -70634,9 +71108,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#remove-assignees-from-an-issue parameters: - - *246 - - *247 - - *441 + - *248 + - *249 + - *443 requestBody: content: application/json: @@ -70663,7 +71137,7 @@ paths: application/json: schema: *73 examples: - default: *440 + default: *442 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -70685,9 +71159,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: - - *246 - - *247 - - *441 + - *248 + - *249 + - *443 - name: assignee in: path required: true @@ -70727,9 +71201,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#list-issue-comments parameters: - - *246 - - *247 - - *441 + - *248 + - *249 + - *443 - *63 - *17 - *18 @@ -70740,13 +71214,13 @@ paths: application/json: schema: type: array - items: *437 + items: *439 examples: - default: *442 + default: *444 headers: Link: *56 '404': *6 - '410': *255 + '410': *257 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -70775,9 +71249,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#create-an-issue-comment parameters: - - *246 - - *247 - - *441 + - *248 + - *249 + - *443 requestBody: required: true content: @@ -70799,16 +71273,16 @@ paths: description: Response content: application/json: - schema: *437 + schema: *439 examples: - default: *438 + default: *440 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1 schema: type: string '403': *27 - '410': *255 + '410': *257 '422': *15 '404': *6 x-github: @@ -70828,9 +71302,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/events#list-issue-events parameters: - - *246 - - *247 - - *441 + - *248 + - *249 + - *443 - *17 - *18 responses: @@ -70844,7 +71318,7 @@ paths: title: Issue Event for Issue description: Issue Event for Issue anyOf: - - &446 + - &448 title: Labeled Issue Event description: Labeled Issue Event type: object @@ -70893,7 +71367,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &447 + - &449 title: Unlabeled Issue Event description: Unlabeled Issue Event type: object @@ -71021,7 +71495,7 @@ paths: - performed_via_github_app - assignee - assigner - - &448 + - &450 title: Milestoned Issue Event description: Milestoned Issue Event type: object @@ -71067,7 +71541,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &449 + - &451 title: Demilestoned Issue Event description: Demilestoned Issue Event type: object @@ -71113,7 +71587,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &450 + - &452 title: Renamed Issue Event description: Renamed Issue Event type: object @@ -71162,7 +71636,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &451 + - &453 title: Review Requested Issue Event description: Review Requested Issue Event type: object @@ -71204,7 +71678,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &452 + - &454 title: Review Request Removed Issue Event description: Review Request Removed Issue Event type: object @@ -71246,7 +71720,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &453 + - &455 title: Review Dismissed Issue Event description: Review Dismissed Issue Event type: object @@ -71302,7 +71776,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &454 + - &456 title: Locked Issue Event description: Locked Issue Event type: object @@ -71347,7 +71821,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &455 + - &457 title: Added to Project Issue Event description: Added to Project Issue Event type: object @@ -71408,7 +71882,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &456 + - &458 title: Moved Column in Project Issue Event description: Moved Column in Project Issue Event type: object @@ -71469,7 +71943,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &457 + - &459 title: Removed from Project Issue Event description: Removed from Project Issue Event type: object @@ -71530,7 +72004,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &458 + - &460 title: Converted Note to Issue Issue Event description: Converted Note to Issue Issue Event type: object @@ -71623,7 +72097,7 @@ paths: color: red headers: Link: *56 - '410': *255 + '410': *257 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71640,9 +72114,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#list-labels-for-an-issue parameters: - - *246 - - *247 - - *441 + - *248 + - *249 + - *443 - *17 - *18 responses: @@ -71652,7 +72126,7 @@ paths: application/json: schema: type: array - items: &443 + items: &445 title: Label description: Color-coded labels help you categorize and filter your issues (just like labels in Gmail). @@ -71707,7 +72181,7 @@ paths: - color - default examples: - default: &444 + default: &446 value: - id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -71725,9 +72199,9 @@ paths: default: false headers: Link: *56 - '301': *258 + '301': *260 '404': *6 - '410': *255 + '410': *257 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71744,9 +72218,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#add-labels-to-an-issue parameters: - - *246 - - *247 - - *441 + - *248 + - *249 + - *443 requestBody: required: false content: @@ -71805,12 +72279,12 @@ paths: application/json: schema: type: array - items: *443 + items: *445 examples: - default: *444 - '301': *258 + default: *446 + '301': *260 '404': *6 - '410': *255 + '410': *257 '422': *15 x-github: githubCloudOnly: false @@ -71827,9 +72301,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#set-labels-for-an-issue parameters: - - *246 - - *247 - - *441 + - *248 + - *249 + - *443 requestBody: required: false content: @@ -71889,12 +72363,12 @@ paths: application/json: schema: type: array - items: *443 + items: *445 examples: - default: *444 - '301': *258 + default: *446 + '301': *260 '404': *6 - '410': *255 + '410': *257 '422': *15 x-github: githubCloudOnly: false @@ -71911,15 +72385,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#remove-all-labels-from-an-issue parameters: - - *246 - - *247 - - *441 + - *248 + - *249 + - *443 responses: '204': description: Response - '301': *258 + '301': *260 '404': *6 - '410': *255 + '410': *257 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71938,9 +72412,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#remove-a-label-from-an-issue parameters: - - *246 - - *247 - - *441 + - *248 + - *249 + - *443 - name: name in: path required: true @@ -71953,7 +72427,7 @@ paths: application/json: schema: type: array - items: *443 + items: *445 examples: default: value: @@ -71964,9 +72438,9 @@ paths: description: Something isn't working color: f29513 default: true - '301': *258 + '301': *260 '404': *6 - '410': *255 + '410': *257 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71986,9 +72460,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#lock-an-issue parameters: - - *246 - - *247 - - *441 + - *248 + - *249 + - *443 requestBody: required: false content: @@ -72017,7 +72491,7 @@ paths: '204': description: Response '403': *27 - '410': *255 + '410': *257 '404': *6 '422': *15 x-github: @@ -72035,9 +72509,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#unlock-an-issue parameters: - - *246 - - *247 - - *441 + - *248 + - *249 + - *443 responses: '204': description: Response @@ -72059,9 +72533,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-an-issue parameters: - - *246 - - *247 - - *441 + - *248 + - *249 + - *443 - 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. @@ -72087,13 +72561,13 @@ paths: application/json: schema: type: array - items: *239 + items: *241 examples: - default: *241 + default: *243 headers: Link: *56 '404': *6 - '410': *255 + '410': *257 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72111,9 +72585,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-an-issue parameters: - - *246 - - *247 - - *441 + - *248 + - *249 + - *443 requestBody: required: true content: @@ -72145,16 +72619,16 @@ paths: description: Response content: application/json: - schema: *239 + schema: *241 examples: - default: *240 + default: *242 '201': description: Response content: application/json: - schema: *239 + schema: *241 examples: - default: *240 + default: *242 '422': *15 x-github: githubCloudOnly: false @@ -72176,10 +72650,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-an-issue-reaction parameters: - - *246 - - *247 - - *441 - - *242 + - *248 + - *249 + - *443 + - *244 responses: '204': description: Response @@ -72208,9 +72682,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#remove-sub-issue parameters: - - *246 - - *247 - - *441 + - *248 + - *249 + - *443 requestBody: required: true content: @@ -72234,7 +72708,7 @@ paths: application/json: schema: *73 examples: - default: *440 + default: *442 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/1/sub-issue @@ -72267,9 +72741,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#list-sub-issues parameters: - - *246 - - *247 - - *441 + - *248 + - *249 + - *443 - *17 - *18 responses: @@ -72281,11 +72755,11 @@ paths: type: array items: *73 examples: - default: *445 + default: *447 headers: Link: *56 '404': *6 - '410': *255 + '410': *257 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72313,9 +72787,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#add-sub-issue parameters: - - *246 - - *247 - - *441 + - *248 + - *249 + - *443 requestBody: required: true content: @@ -72343,14 +72817,14 @@ paths: application/json: schema: *73 examples: - default: *440 + default: *442 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/sub-issues/1 schema: type: string '403': *27 - '410': *255 + '410': *257 '422': *15 '404': *6 x-github: @@ -72370,9 +72844,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#reprioritize-sub-issue parameters: - - *246 - - *247 - - *441 + - *248 + - *249 + - *443 requestBody: required: true content: @@ -72405,7 +72879,7 @@ paths: application/json: schema: *73 examples: - default: *440 + default: *442 '403': *27 '404': *6 '422': *7 @@ -72427,9 +72901,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/timeline#list-timeline-events-for-an-issue parameters: - - *246 - - *247 - - *441 + - *248 + - *249 + - *443 - *17 - *18 responses: @@ -72444,8 +72918,6 @@ paths: description: Timeline Event type: object anyOf: - - *446 - - *447 - *448 - *449 - *450 @@ -72457,6 +72929,8 @@ paths: - *456 - *457 - *458 + - *459 + - *460 - title: Timeline Comment Event description: Timeline Comment Event type: object @@ -72779,7 +73253,7 @@ paths: type: string comments: type: array - items: &478 + items: &480 title: Pull Request Review Comment description: Pull Request Review Comments are comments on a portion of the Pull Request's diff. @@ -73017,7 +73491,7 @@ paths: type: string comments: type: array - items: *373 + items: *375 - title: Timeline Assigned Issue Event description: Timeline Assigned Issue Event type: object @@ -73292,7 +73766,7 @@ paths: headers: Link: *56 '404': *6 - '410': *255 + '410': *257 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73309,8 +73783,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#list-deploy-keys parameters: - - *246 - - *247 + - *248 + - *249 - *17 - *18 responses: @@ -73320,7 +73794,7 @@ paths: application/json: schema: type: array - items: &459 + items: &461 title: Deploy Key description: An SSH key granting access to a single repository. type: object @@ -73387,8 +73861,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#create-a-deploy-key parameters: - - *246 - - *247 + - *248 + - *249 requestBody: required: true content: @@ -73424,9 +73898,9 @@ paths: description: Response content: application/json: - schema: *459 + schema: *461 examples: - default: &460 + default: &462 value: id: 1 key: ssh-rsa AAA... @@ -73460,9 +73934,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#get-a-deploy-key parameters: - - *246 - - *247 - - &461 + - *248 + - *249 + - &463 name: key_id description: The unique identifier of the key. in: path @@ -73474,9 +73948,9 @@ paths: description: Response content: application/json: - schema: *459 + schema: *461 examples: - default: *460 + default: *462 '404': *6 x-github: githubCloudOnly: false @@ -73494,9 +73968,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#delete-a-deploy-key parameters: - - *246 - - *247 - - *461 + - *248 + - *249 + - *463 responses: '204': description: Response @@ -73516,8 +73990,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#list-labels-for-a-repository parameters: - - *246 - - *247 + - *248 + - *249 - *17 - *18 responses: @@ -73527,9 +74001,9 @@ paths: application/json: schema: type: array - items: *443 + items: *445 examples: - default: *444 + default: *446 headers: Link: *56 '404': *6 @@ -73550,8 +74024,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#create-a-label parameters: - - *246 - - *247 + - *248 + - *249 requestBody: required: true content: @@ -73587,9 +74061,9 @@ paths: description: Response content: application/json: - schema: *443 + schema: *445 examples: - default: &462 + default: &464 value: id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -73621,8 +74095,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#get-a-label parameters: - - *246 - - *247 + - *248 + - *249 - name: name in: path required: true @@ -73633,9 +74107,9 @@ paths: description: Response content: application/json: - schema: *443 + schema: *445 examples: - default: *462 + default: *464 '404': *6 x-github: githubCloudOnly: false @@ -73652,8 +74126,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#update-a-label parameters: - - *246 - - *247 + - *248 + - *249 - name: name in: path required: true @@ -73692,7 +74166,7 @@ paths: description: Response content: application/json: - schema: *443 + schema: *445 examples: default: value: @@ -73718,8 +74192,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#delete-a-label parameters: - - *246 - - *247 + - *248 + - *249 - name: name in: path required: true @@ -73745,8 +74219,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-languages parameters: - - *246 - - *247 + - *248 + - *249 responses: '200': description: Response @@ -73785,9 +74259,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/licenses/licenses#get-the-license-for-a-repository parameters: - - *246 - - *247 - - *351 + - *248 + - *249 + - *353 responses: '200': description: Response @@ -73934,8 +74408,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#sync-a-fork-branch-with-the-upstream-repository parameters: - - *246 - - *247 + - *248 + - *249 requestBody: required: true content: @@ -74000,8 +74474,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#merge-a-branch parameters: - - *246 - - *247 + - *248 + - *249 requestBody: required: true content: @@ -74035,9 +74509,9 @@ paths: description: Successful Response (The resulting merge commit) content: application/json: - schema: *374 + schema: *376 examples: - default: *463 + default: *465 '204': description: Response when already merged '404': @@ -74062,8 +74536,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#list-milestones parameters: - - *246 - - *247 + - *248 + - *249 - name: state description: The state of the milestone. Either `open`, `closed`, or `all`. in: query @@ -74104,7 +74578,7 @@ paths: application/json: schema: type: array - items: *378 + items: *380 examples: default: value: @@ -74160,8 +74634,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#create-a-milestone parameters: - - *246 - - *247 + - *248 + - *249 requestBody: required: true content: @@ -74201,9 +74675,9 @@ paths: description: Response content: application/json: - schema: *378 + schema: *380 examples: - default: &464 + default: &466 value: url: https://api.github.com/repos/octocat/Hello-World/milestones/1 html_url: https://github.com/octocat/Hello-World/milestones/v1.0 @@ -74262,9 +74736,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#get-a-milestone parameters: - - *246 - - *247 - - &465 + - *248 + - *249 + - &467 name: milestone_number description: The number that identifies the milestone. in: path @@ -74276,9 +74750,9 @@ paths: description: Response content: application/json: - schema: *378 + schema: *380 examples: - default: *464 + default: *466 '404': *6 x-github: githubCloudOnly: false @@ -74295,9 +74769,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#update-a-milestone parameters: - - *246 - - *247 - - *465 + - *248 + - *249 + - *467 requestBody: required: false content: @@ -74335,9 +74809,9 @@ paths: description: Response content: application/json: - schema: *378 + schema: *380 examples: - default: *464 + default: *466 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74353,9 +74827,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#delete-a-milestone parameters: - - *246 - - *247 - - *465 + - *248 + - *249 + - *467 responses: '204': description: Response @@ -74376,9 +74850,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#list-labels-for-issues-in-a-milestone parameters: - - *246 - - *247 - - *465 + - *248 + - *249 + - *467 - *17 - *18 responses: @@ -74388,9 +74862,9 @@ paths: application/json: schema: type: array - items: *443 + items: *445 examples: - default: *444 + default: *446 headers: Link: *56 x-github: @@ -74409,12 +74883,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#list-repository-notifications-for-the-authenticated-user parameters: - - *246 - - *247 - - *466 - - *467 - - *63 + - *248 + - *249 - *468 + - *469 + - *63 + - *470 - *17 - *18 responses: @@ -74426,7 +74900,7 @@ paths: type: array items: *85 examples: - default: *469 + default: *471 headers: Link: *56 x-github: @@ -74450,8 +74924,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#mark-repository-notifications-as-read parameters: - - *246 - - *247 + - *248 + - *249 requestBody: required: false content: @@ -74509,14 +74983,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-a-apiname-pages-site parameters: - - *246 - - *247 + - *248 + - *249 responses: '200': description: Response content: application/json: - schema: &470 + schema: &472 title: GitHub Pages description: The configuration for GitHub Pages for a repository. type: object @@ -74660,7 +75134,7 @@ paths: - custom_404 - public examples: - default: &471 + default: &473 value: url: https://api.github.com/repos/github/developer.github.com/pages status: built @@ -74701,8 +75175,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#create-a-apiname-pages-site parameters: - - *246 - - *247 + - *248 + - *249 requestBody: required: true content: @@ -74757,9 +75231,9 @@ paths: description: Response content: application/json: - schema: *470 + schema: *472 examples: - default: *471 + default: *473 '422': *15 '409': *44 x-github: @@ -74782,8 +75256,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#update-information-about-a-apiname-pages-site parameters: - - *246 - - *247 + - *248 + - *249 requestBody: required: true content: @@ -74883,8 +75357,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#delete-a-apiname-pages-site parameters: - - *246 - - *247 + - *248 + - *249 responses: '204': description: Response @@ -74910,8 +75384,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#list-apiname-pages-builds parameters: - - *246 - - *247 + - *248 + - *249 - *17 - *18 responses: @@ -74921,7 +75395,7 @@ paths: application/json: schema: type: array - items: &472 + items: &474 title: Page Build description: Page Build type: object @@ -75013,8 +75487,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#request-a-apiname-pages-build parameters: - - *246 - - *247 + - *248 + - *249 responses: '201': description: Response @@ -75061,16 +75535,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-latest-pages-build parameters: - - *246 - - *247 + - *248 + - *249 responses: '200': description: Response content: application/json: - schema: *472 + schema: *474 examples: - default: &473 + default: &475 value: url: https://api.github.com/repos/github/developer.github.com/pages/builds/5472601 status: built @@ -75118,8 +75592,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-apiname-pages-build parameters: - - *246 - - *247 + - *248 + - *249 - name: build_id in: path required: true @@ -75130,9 +75604,9 @@ paths: description: Response content: application/json: - schema: *472 + schema: *474 examples: - default: *473 + default: *475 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75152,8 +75626,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#create-a-github-pages-deployment parameters: - - *246 - - *247 + - *248 + - *249 requestBody: required: true content: @@ -75262,9 +75736,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-the-status-of-a-github-pages-deployment parameters: - - *246 - - *247 - - &474 + - *248 + - *249 + - &476 name: pages_deployment_id description: The ID of the Pages deployment. You can also give the commit SHA of the deployment. @@ -75322,9 +75796,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#cancel-a-github-pages-deployment parameters: - - *246 - - *247 - - *474 + - *248 + - *249 + - *476 responses: '204': *129 '404': *6 @@ -75351,8 +75825,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-a-dns-health-check-for-github-pages parameters: - - *246 - - *247 + - *248 + - *249 responses: '200': description: Response @@ -75647,8 +76121,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: - - *246 - - *247 + - *248 + - *249 responses: '200': description: Private vulnerability reporting status @@ -75685,8 +76159,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-private-vulnerability-reporting-for-a-repository parameters: - - *246 - - *247 + - *248 + - *249 responses: '204': *129 '422': *14 @@ -75707,8 +76181,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-private-vulnerability-reporting-for-a-repository parameters: - - *246 - - *247 + - *248 + - *249 responses: '204': *129 '422': *14 @@ -75731,8 +76205,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/projects#list-repository-projects parameters: - - *246 - - *247 + - *248 + - *249 - name: state description: Indicates the state of the projects to return. in: query @@ -75753,7 +76227,7 @@ paths: application/json: schema: type: array - items: *201 + items: *203 examples: default: value: @@ -75793,7 +76267,7 @@ paths: '401': *23 '403': *27 '404': *6 - '410': *255 + '410': *257 '422': *7 x-github: githubCloudOnly: false @@ -75813,8 +76287,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/projects#create-a-repository-project parameters: - - *246 - - *247 + - *248 + - *249 requestBody: required: true content: @@ -75840,13 +76314,13 @@ paths: description: Response content: application/json: - schema: *201 + schema: *203 examples: - default: *254 + default: *256 '401': *23 '403': *27 '404': *6 - '410': *255 + '410': *257 '422': *7 x-github: githubCloudOnly: false @@ -75866,8 +76340,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/custom-properties#get-all-custom-property-values-for-a-repository parameters: - - *246 - - *247 + - *248 + - *249 responses: '200': description: Response @@ -75875,7 +76349,7 @@ paths: application/json: schema: type: array - items: *206 + items: *208 examples: default: value: @@ -75906,8 +76380,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: - - *246 - - *247 + - *248 + - *249 requestBody: required: true content: @@ -75919,7 +76393,7 @@ paths: type: array description: A list of custom property names and associated values to apply to the repositories. - items: *206 + items: *208 required: - properties examples: @@ -75969,8 +76443,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#list-pull-requests parameters: - - *246 - - *247 + - *248 + - *249 - name: state description: Either `open`, `closed`, or `all` to filter by state. in: query @@ -76030,9 +76504,9 @@ paths: application/json: schema: type: array - items: *475 + items: *477 examples: - default: *476 + default: *478 headers: Link: *56 '304': *35 @@ -76064,8 +76538,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#create-a-pull-request parameters: - - *246 - - *247 + - *248 + - *249 requestBody: required: true content: @@ -76132,7 +76606,7 @@ paths: description: Response content: application/json: - schema: &480 + schema: &482 type: object title: Pull Request description: Pull requests let you tell others about changes you've @@ -76261,7 +76735,7 @@ paths: milestone: anyOf: - type: 'null' - - *378 + - *380 active_lock_reason: type: - string @@ -76354,14 +76828,14 @@ paths: _links: type: object properties: - comments: *379 - commits: *379 - statuses: *379 - html: *379 - issue: *379 - review_comments: *379 - review_comment: *379 - self: *379 + comments: *381 + commits: *381 + statuses: *381 + html: *381 + issue: *381 + review_comments: *381 + review_comment: *381 + self: *381 required: - comments - commits @@ -76372,7 +76846,7 @@ paths: - review_comment - self author_association: *59 - auto_merge: *477 + auto_merge: *479 draft: description: Indicates whether or not the pull request is a draft. type: boolean @@ -76474,7 +76948,7 @@ paths: - merged_by - review_comments examples: - default: &481 + default: &483 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -77001,8 +77475,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#list-review-comments-in-a-repository parameters: - - *246 - - *247 + - *248 + - *249 - name: sort in: query required: false @@ -77031,9 +77505,9 @@ paths: application/json: schema: type: array - items: *478 + items: *480 examples: - default: &483 + default: &485 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -77110,17 +77584,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#get-a-review-comment-for-a-pull-request parameters: - - *246 - - *247 + - *248 + - *249 - *72 responses: '200': description: Response content: application/json: - schema: *478 + schema: *480 examples: - default: &479 + default: &481 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -77195,8 +77669,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#update-a-review-comment-for-a-pull-request parameters: - - *246 - - *247 + - *248 + - *249 - *72 requestBody: required: true @@ -77219,9 +77693,9 @@ paths: description: Response content: application/json: - schema: *478 + schema: *480 examples: - default: *479 + default: *481 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77237,8 +77711,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#delete-a-review-comment-for-a-pull-request parameters: - - *246 - - *247 + - *248 + - *249 - *72 responses: '204': @@ -77260,8 +77734,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-pull-request-review-comment parameters: - - *246 - - *247 + - *248 + - *249 - *72 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). @@ -77288,9 +77762,9 @@ paths: application/json: schema: type: array - items: *239 + items: *241 examples: - default: *241 + default: *243 headers: Link: *56 '404': *6 @@ -77311,8 +77785,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-pull-request-review-comment parameters: - - *246 - - *247 + - *248 + - *249 - *72 requestBody: required: true @@ -77345,16 +77819,16 @@ paths: description: Reaction exists content: application/json: - schema: *239 + schema: *241 examples: - default: *240 + default: *242 '201': description: Reaction created content: application/json: - schema: *239 + schema: *241 examples: - default: *240 + default: *242 '422': *15 x-github: githubCloudOnly: false @@ -77376,10 +77850,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-a-pull-request-comment-reaction parameters: - - *246 - - *247 + - *248 + - *249 - *72 - - *242 + - *244 responses: '204': description: Response @@ -77422,9 +77896,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#get-a-pull-request parameters: - - *246 - - *247 - - &482 + - *248 + - *249 + - &484 name: pull_number description: The number that identifies the pull request. in: path @@ -77437,9 +77911,9 @@ paths: to fetch diff and patch formats. content: application/json: - schema: *480 + schema: *482 examples: - default: *481 + default: *483 '304': *35 '404': *6 '406': @@ -77474,9 +77948,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#update-a-pull-request parameters: - - *246 - - *247 - - *482 + - *248 + - *249 + - *484 requestBody: required: false content: @@ -77518,9 +77992,9 @@ paths: description: Response content: application/json: - schema: *480 + schema: *482 examples: - default: *481 + default: *483 '422': *15 '403': *27 x-github: @@ -77542,9 +78016,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#create-a-codespace-from-a-pull-request parameters: - - *246 - - *247 - - *482 + - *248 + - *249 + - *484 requestBody: required: true content: @@ -77607,7 +78081,7 @@ paths: application/json: schema: *175 examples: - default: *365 + default: *367 '202': description: Response when the codespace creation partially failed but is being retried in the background @@ -77615,7 +78089,7 @@ paths: application/json: schema: *175 examples: - default: *365 + default: *367 '401': *23 '403': *27 '404': *6 @@ -77645,9 +78119,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#list-review-comments-on-a-pull-request parameters: - - *246 - - *247 - - *482 + - *248 + - *249 + - *484 - *82 - name: direction description: The direction to sort results. Ignored without `sort` parameter. @@ -77668,9 +78142,9 @@ paths: application/json: schema: type: array - items: *478 + items: *480 examples: - default: *483 + default: *485 headers: Link: *56 x-github: @@ -77703,9 +78177,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#create-a-review-comment-for-a-pull-request parameters: - - *246 - - *247 - - *482 + - *248 + - *249 + - *484 requestBody: required: true content: @@ -77811,7 +78285,7 @@ paths: description: Response content: application/json: - schema: *478 + schema: *480 examples: example-for-a-multi-line-comment: value: @@ -77899,9 +78373,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#create-a-reply-for-a-review-comment parameters: - - *246 - - *247 - - *482 + - *248 + - *249 + - *484 - *72 requestBody: required: true @@ -77924,7 +78398,7 @@ paths: description: Response content: application/json: - schema: *478 + schema: *480 examples: default: value: @@ -78010,9 +78484,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#list-commits-on-a-pull-request parameters: - - *246 - - *247 - - *482 + - *248 + - *249 + - *484 - *17 - *18 responses: @@ -78022,9 +78496,9 @@ paths: application/json: schema: type: array - items: *374 + items: *376 examples: - default: *484 + default: *486 headers: Link: *56 x-github: @@ -78054,9 +78528,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#list-pull-requests-files parameters: - - *246 - - *247 - - *482 + - *248 + - *249 + - *484 - *17 - *18 responses: @@ -78066,7 +78540,7 @@ paths: application/json: schema: type: array - items: *386 + items: *388 examples: default: value: @@ -78104,9 +78578,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#check-if-a-pull-request-has-been-merged parameters: - - *246 - - *247 - - *482 + - *248 + - *249 + - *484 responses: '204': description: Response if pull request has been merged @@ -78129,9 +78603,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#merge-a-pull-request parameters: - - *246 - - *247 - - *482 + - *248 + - *249 + - *484 requestBody: required: false content: @@ -78243,9 +78717,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/review-requests#get-all-requested-reviewers-for-a-pull-request parameters: - - *246 - - *247 - - *482 + - *248 + - *249 + - *484 responses: '200': description: Response @@ -78320,9 +78794,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/review-requests#request-reviewers-for-a-pull-request parameters: - - *246 - - *247 - - *482 + - *248 + - *249 + - *484 requestBody: required: false content: @@ -78359,7 +78833,7 @@ paths: description: Response content: application/json: - schema: *475 + schema: *477 examples: default: value: @@ -78895,9 +79369,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/review-requests#remove-requested-reviewers-from-a-pull-request parameters: - - *246 - - *247 - - *482 + - *248 + - *249 + - *484 requestBody: required: true content: @@ -78931,7 +79405,7 @@ paths: description: Response content: application/json: - schema: *475 + schema: *477 examples: default: value: @@ -79436,9 +79910,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#list-reviews-for-a-pull-request parameters: - - *246 - - *247 - - *482 + - *248 + - *249 + - *484 - *17 - *18 responses: @@ -79448,7 +79922,7 @@ paths: application/json: schema: type: array - items: &485 + items: &487 title: Pull Request Review description: Pull Request Reviews are reviews on pull requests. type: object @@ -79604,9 +80078,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#create-a-review-for-a-pull-request parameters: - - *246 - - *247 - - *482 + - *248 + - *249 + - *484 requestBody: required: false content: @@ -79696,9 +80170,9 @@ paths: description: Response content: application/json: - schema: *485 + schema: *487 examples: - default: &487 + default: &489 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -79761,10 +80235,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#get-a-review-for-a-pull-request parameters: - - *246 - - *247 - - *482 - - &486 + - *248 + - *249 + - *484 + - &488 name: review_id description: The unique identifier of the review. in: path @@ -79776,9 +80250,9 @@ paths: description: Response content: application/json: - schema: *485 + schema: *487 examples: - default: &488 + default: &490 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -79837,10 +80311,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#update-a-review-for-a-pull-request parameters: - - *246 - - *247 - - *482 - - *486 + - *248 + - *249 + - *484 + - *488 requestBody: required: true content: @@ -79863,7 +80337,7 @@ paths: description: Response content: application/json: - schema: *485 + schema: *487 examples: default: value: @@ -79925,18 +80399,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#delete-a-pending-review-for-a-pull-request parameters: - - *246 - - *247 - - *482 - - *486 + - *248 + - *249 + - *484 + - *488 responses: '200': description: Response content: application/json: - schema: *485 + schema: *487 examples: - default: *487 + default: *489 '422': *7 '404': *6 x-github: @@ -79963,10 +80437,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#list-comments-for-a-pull-request-review parameters: - - *246 - - *247 - - *482 - - *486 + - *248 + - *249 + - *484 + - *488 - *17 - *18 responses: @@ -80064,9 +80538,9 @@ paths: _links: type: object properties: - self: *379 - html: *379 - pull_request: *379 + self: *381 + html: *381 + pull_request: *381 required: - self - html @@ -80217,10 +80691,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#dismiss-a-review-for-a-pull-request parameters: - - *246 - - *247 - - *482 - - *486 + - *248 + - *249 + - *484 + - *488 requestBody: required: true content: @@ -80249,7 +80723,7 @@ paths: description: Response content: application/json: - schema: *485 + schema: *487 examples: default: value: @@ -80312,10 +80786,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#submit-a-review-for-a-pull-request parameters: - - *246 - - *247 - - *482 - - *486 + - *248 + - *249 + - *484 + - *488 requestBody: required: true content: @@ -80350,9 +80824,9 @@ paths: description: Response content: application/json: - schema: *485 + schema: *487 examples: - default: *488 + default: *490 '404': *6 '422': *7 '403': *27 @@ -80374,9 +80848,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#update-a-pull-request-branch parameters: - - *246 - - *247 - - *482 + - *248 + - *249 + - *484 requestBody: required: false content: @@ -80440,8 +80914,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#get-a-repository-readme parameters: - - *246 - - *247 + - *248 + - *249 - name: ref description: 'The name of the commit/branch/tag. Default: the repository’s default branch.' @@ -80454,9 +80928,9 @@ paths: description: Response content: application/json: - schema: *489 + schema: *491 examples: - default: &490 + default: &492 value: type: file encoding: base64 @@ -80498,8 +80972,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#get-a-repository-readme-for-a-directory parameters: - - *246 - - *247 + - *248 + - *249 - name: dir description: The alternate path to look for a README file in: path @@ -80519,9 +80993,9 @@ paths: description: Response content: application/json: - schema: *489 + schema: *491 examples: - default: *490 + default: *492 '404': *6 '422': *15 x-github: @@ -80543,8 +81017,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#list-releases parameters: - - *246 - - *247 + - *248 + - *249 - *17 - *18 responses: @@ -80554,7 +81028,7 @@ paths: application/json: schema: type: array - items: &491 + items: &493 title: Release description: A release. type: object @@ -80626,7 +81100,7 @@ paths: author: *4 assets: type: array - items: &492 + items: &494 title: Release Asset description: Data related to a release. type: object @@ -80806,8 +81280,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#create-a-release parameters: - - *246 - - *247 + - *248 + - *249 requestBody: required: true content: @@ -80883,9 +81357,9 @@ paths: description: Response content: application/json: - schema: *491 + schema: *493 examples: - default: &495 + default: &497 value: url: https://api.github.com/repos/octocat/Hello-World/releases/1 html_url: https://github.com/octocat/Hello-World/releases/v1.0.0 @@ -80988,9 +81462,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#get-a-release-asset parameters: - - *246 - - *247 - - &493 + - *248 + - *249 + - &495 name: asset_id description: The unique identifier of the asset. in: path @@ -81002,9 +81476,9 @@ paths: description: Response content: application/json: - schema: *492 + schema: *494 examples: - default: &494 + default: &496 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 @@ -81038,7 +81512,7 @@ paths: type: User site_admin: false '404': *6 - '302': *388 + '302': *390 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -81054,9 +81528,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#update-a-release-asset parameters: - - *246 - - *247 - - *493 + - *248 + - *249 + - *495 requestBody: required: false content: @@ -81085,9 +81559,9 @@ paths: description: Response content: application/json: - schema: *492 + schema: *494 examples: - default: *494 + default: *496 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -81103,9 +81577,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#delete-a-release-asset parameters: - - *246 - - *247 - - *493 + - *248 + - *249 + - *495 responses: '204': description: Response @@ -81129,8 +81603,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#generate-release-notes-content-for-a-release parameters: - - *246 - - *247 + - *248 + - *249 requestBody: required: true content: @@ -81216,16 +81690,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#get-the-latest-release parameters: - - *246 - - *247 + - *248 + - *249 responses: '200': description: Response content: application/json: - schema: *491 + schema: *493 examples: - default: *495 + default: *497 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -81242,8 +81716,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#get-a-release-by-tag-name parameters: - - *246 - - *247 + - *248 + - *249 - name: tag description: tag parameter in: path @@ -81256,9 +81730,9 @@ paths: description: Response content: application/json: - schema: *491 + schema: *493 examples: - default: *495 + default: *497 '404': *6 x-github: githubCloudOnly: false @@ -81280,9 +81754,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#get-a-release parameters: - - *246 - - *247 - - &496 + - *248 + - *249 + - &498 name: release_id description: The unique identifier of the release. in: path @@ -81296,9 +81770,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: *491 + schema: *493 examples: - default: *495 + default: *497 '401': description: Unauthorized x-github: @@ -81316,9 +81790,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#update-a-release parameters: - - *246 - - *247 - - *496 + - *248 + - *249 + - *498 requestBody: required: false content: @@ -81382,9 +81856,9 @@ paths: description: Response content: application/json: - schema: *491 + schema: *493 examples: - default: *495 + default: *497 '404': description: Not Found if the discussion category name is invalid content: @@ -81405,9 +81879,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#delete-a-release parameters: - - *246 - - *247 - - *496 + - *248 + - *249 + - *498 responses: '204': description: Response @@ -81427,9 +81901,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#list-release-assets parameters: - - *246 - - *247 - - *496 + - *248 + - *249 + - *498 - *17 - *18 responses: @@ -81439,7 +81913,7 @@ paths: application/json: schema: type: array - items: *492 + items: *494 examples: default: value: @@ -81519,9 +81993,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: - - *246 - - *247 - - *496 + - *248 + - *249 + - *498 - name: name in: query required: true @@ -81547,7 +82021,7 @@ paths: description: Response for successful upload content: application/json: - schema: *492 + schema: *494 examples: response-for-successful-upload: value: @@ -81601,9 +82075,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-release parameters: - - *246 - - *247 - - *496 + - *248 + - *249 + - *498 - 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. @@ -81627,9 +82101,9 @@ paths: application/json: schema: type: array - items: *239 + items: *241 examples: - default: *241 + default: *243 headers: Link: *56 '404': *6 @@ -81650,9 +82124,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-release parameters: - - *246 - - *247 - - *496 + - *248 + - *249 + - *498 requestBody: required: true content: @@ -81682,16 +82156,16 @@ paths: description: Reaction exists content: application/json: - schema: *239 + schema: *241 examples: - default: *240 + default: *242 '201': description: Reaction created content: application/json: - schema: *239 + schema: *241 examples: - default: *240 + default: *242 '422': *15 x-github: githubCloudOnly: false @@ -81713,10 +82187,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-a-release-reaction parameters: - - *246 - - *247 - - *496 - - *242 + - *248 + - *249 + - *498 + - *244 responses: '204': description: Response @@ -81740,9 +82214,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rules#get-rules-for-a-branch parameters: - - *246 - - *247 - - *314 + - *248 + - *249 + - *316 - *17 - *18 responses: @@ -81758,8 +82232,8 @@ paths: description: A repository rule with ruleset details. oneOf: - allOf: - - *497 - - &499 + - *499 + - &501 title: repository ruleset data for rule description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -81778,54 +82252,54 @@ paths: ruleset_id: type: integer description: The ID of the ruleset that includes this rule. - - allOf: - - *498 - - *499 - allOf: - *500 - - *499 - - allOf: - *501 - - *499 - allOf: - *502 - - *499 + - *501 - allOf: - *503 - - *499 + - *501 - allOf: - *504 - - *499 + - *501 - allOf: - *505 - - *499 + - *501 - allOf: - *506 - - *499 + - *501 - allOf: - *507 - - *499 + - *501 - allOf: - *508 - - *499 + - *501 - allOf: - *509 - - *499 + - *501 - allOf: - *510 - - *499 + - *501 - allOf: - *511 - - *499 + - *501 - allOf: - *512 - - *499 + - *501 - allOf: - *513 - - *499 + - *501 - allOf: - *514 - - *499 + - *501 + - allOf: + - *515 + - *501 + - allOf: + - *516 + - *501 examples: default: value: @@ -81864,8 +82338,8 @@ paths: category: repos subcategory: rules parameters: - - *246 - - *247 + - *248 + - *249 - *17 - *18 - name: includes_parents @@ -81876,7 +82350,7 @@ paths: schema: type: boolean default: true - - *515 + - *517 responses: '200': description: Response @@ -81884,7 +82358,7 @@ paths: application/json: schema: type: array - items: *214 + items: *216 examples: default: value: @@ -81931,8 +82405,8 @@ paths: category: repos subcategory: rules parameters: - - *246 - - *247 + - *248 + - *249 requestBody: description: Request body required: true @@ -81952,16 +82426,16 @@ paths: - tag - push default: branch - enforcement: *210 + enforcement: *212 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *211 - conditions: *208 + items: *213 + conditions: *210 rules: type: array description: An array of rules within the ruleset. - items: *213 + items: *215 required: - name - enforcement @@ -81992,9 +82466,9 @@ paths: description: Response content: application/json: - schema: *214 + schema: *216 examples: - default: &525 + default: &527 value: id: 42 name: super cool ruleset @@ -82041,12 +82515,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rule-suites#list-repository-rule-suites parameters: - - *246 - - *247 - - *516 - - *517 + - *248 + - *249 - *518 - *519 + - *520 + - *521 - *17 - *18 responses: @@ -82054,9 +82528,9 @@ paths: description: Response content: application/json: - schema: *520 + schema: *522 examples: - default: *521 + default: *523 '404': *6 '500': *132 x-github: @@ -82077,17 +82551,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rule-suites#get-a-repository-rule-suite parameters: - - *246 - - *247 - - *522 + - *248 + - *249 + - *524 responses: '200': description: Response content: application/json: - schema: *523 + schema: *525 examples: - default: *524 + default: *526 '404': *6 '500': *132 x-github: @@ -82115,8 +82589,8 @@ paths: category: repos subcategory: rules parameters: - - *246 - - *247 + - *248 + - *249 - name: ruleset_id description: The ID of the ruleset. in: path @@ -82136,9 +82610,9 @@ paths: description: Response content: application/json: - schema: *214 + schema: *216 examples: - default: *525 + default: *527 '404': *6 '500': *132 put: @@ -82156,8 +82630,8 @@ paths: category: repos subcategory: rules parameters: - - *246 - - *247 + - *248 + - *249 - name: ruleset_id description: The ID of the ruleset. in: path @@ -82182,16 +82656,16 @@ paths: - branch - tag - push - enforcement: *210 + enforcement: *212 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *211 - conditions: *208 + items: *213 + conditions: *210 rules: description: An array of rules within the ruleset. type: array - items: *213 + items: *215 examples: default: value: @@ -82219,9 +82693,9 @@ paths: description: Response content: application/json: - schema: *214 + schema: *216 examples: - default: *525 + default: *527 '404': *6 '500': *132 delete: @@ -82239,8 +82713,8 @@ paths: category: repos subcategory: rules parameters: - - *246 - - *247 + - *248 + - *249 - name: ruleset_id description: The ID of the ruleset. in: path @@ -82268,20 +82742,20 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-a-repository parameters: - - *246 - - *247 - - *216 - - *217 + - *248 + - *249 - *218 - *219 + - *220 + - *221 - *46 - *18 - *17 - - *526 - - *527 - - *220 - - *221 + - *528 + - *529 - *222 + - *223 + - *224 responses: '200': description: Response @@ -82289,7 +82763,7 @@ paths: application/json: schema: type: array - items: &530 + items: &532 type: object properties: number: *51 @@ -82305,8 +82779,8 @@ paths: format: uri description: The REST API URL of the code locations for this alert. - state: *528 - resolution: *529 + state: *530 + resolution: *531 resolved_at: type: - string @@ -82519,15 +82993,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#get-a-secret-scanning-alert parameters: - - *246 - - *247 - - *345 + - *248 + - *249 + - *347 responses: '200': description: Response content: application/json: - schema: *530 + schema: *532 examples: default: value: @@ -82579,9 +83053,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#update-a-secret-scanning-alert parameters: - - *246 - - *247 - - *345 + - *248 + - *249 + - *347 requestBody: required: true content: @@ -82589,8 +83063,8 @@ paths: schema: type: object properties: - state: *528 - resolution: *529 + state: *530 + resolution: *531 resolution_comment: description: An optional comment when closing an alert. Cannot be updated or deleted. Must be `null` when changing `state` to `open`. @@ -82609,7 +83083,7 @@ paths: description: Response content: application/json: - schema: *530 + schema: *532 examples: default: value: @@ -82684,9 +83158,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-locations-for-a-secret-scanning-alert parameters: - - *246 - - *247 - - *345 + - *248 + - *249 + - *347 - *18 - *17 responses: @@ -82697,7 +83171,7 @@ paths: schema: type: array description: List of locations where the secret was detected - items: &659 + items: &661 type: object properties: type: @@ -83076,8 +83550,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#create-a-push-protection-bypass parameters: - - *246 - - *247 + - *248 + - *249 requestBody: required: true content: @@ -83085,14 +83559,14 @@ paths: schema: type: object properties: - reason: &532 + reason: &534 description: The reason for bypassing push protection. type: string enum: - false_positive - used_in_tests - will_fix_later - placeholder_id: *531 + placeholder_id: *533 required: - reason - placeholder_id @@ -83109,7 +83583,7 @@ paths: schema: type: object properties: - reason: *532 + reason: *534 expire_at: type: - string @@ -83153,8 +83627,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#get-secret-scanning-scan-history-for-a-repository parameters: - - *246 - - *247 + - *248 + - *249 responses: '404': description: Repository does not have GitHub Advanced Security or secret @@ -83169,7 +83643,7 @@ paths: properties: incremental_scans: type: array - items: &533 + items: &535 description: Information on a single scan performed by secret scanning on the repository type: object @@ -83197,15 +83671,15 @@ paths: the scan is pending pattern_update_scans: type: array - items: *533 + items: *535 backfill_scans: type: array - items: *533 + items: *535 custom_pattern_backfill_scans: type: array items: allOf: - - *533 + - *535 - type: object properties: pattern_name: @@ -83275,8 +83749,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#list-repository-security-advisories parameters: - - *246 - - *247 + - *248 + - *249 - *46 - name: sort description: The property to sort the results by. @@ -83320,9 +83794,9 @@ paths: application/json: schema: type: array - items: *534 + items: *536 examples: - default: *535 + default: *537 '400': *14 '404': *6 x-github: @@ -83345,8 +83819,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#create-a-repository-security-advisory parameters: - - *246 - - *247 + - *248 + - *249 requestBody: required: true content: @@ -83426,7 +83900,7 @@ paths: login: type: string description: The username of the user credited. - type: *225 + type: *227 required: - login - type @@ -83516,9 +83990,9 @@ paths: description: Response content: application/json: - schema: *534 + schema: *536 examples: - default: &537 + default: &539 value: ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -83751,8 +84225,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#privately-report-a-security-vulnerability parameters: - - *246 - - *247 + - *248 + - *249 requestBody: required: true content: @@ -83865,7 +84339,7 @@ paths: description: Response content: application/json: - schema: *534 + schema: *536 examples: default: value: @@ -84012,17 +84486,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#get-a-repository-security-advisory parameters: - - *246 - - *247 - - *536 + - *248 + - *249 + - *538 responses: '200': description: Response content: application/json: - schema: *534 + schema: *536 examples: - default: *537 + default: *539 '403': *27 '404': *6 x-github: @@ -84046,9 +84520,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#update-a-repository-security-advisory parameters: - - *246 - - *247 - - *536 + - *248 + - *249 + - *538 requestBody: required: true content: @@ -84128,7 +84602,7 @@ paths: login: type: string description: The username of the user credited. - type: *225 + type: *227 required: - login - type @@ -84219,10 +84693,10 @@ paths: description: Response content: application/json: - schema: *534 + schema: *536 examples: - default: *537 - add_credit: *537 + default: *539 + add_credit: *539 '403': *27 '404': *6 '422': @@ -84260,9 +84734,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: - - *246 - - *247 - - *536 + - *248 + - *249 + - *538 responses: '202': *45 '400': *14 @@ -84289,17 +84763,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#create-a-temporary-private-fork parameters: - - *246 - - *247 - - *536 + - *248 + - *249 + - *538 responses: '202': description: Response content: application/json: - schema: *257 + schema: *259 examples: - default: *259 + default: *261 '400': *14 '422': *15 '403': *27 @@ -84325,8 +84799,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#list-stargazers parameters: - - *246 - - *247 + - *248 + - *249 - *17 - *18 responses: @@ -84422,8 +84896,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-weekly-commit-activity parameters: - - *246 - - *247 + - *248 + - *249 responses: '200': description: Returns a weekly aggregate of the number of additions and deletions @@ -84432,7 +84906,7 @@ paths: application/json: schema: type: array - items: &538 + items: &540 title: Code Frequency Stat description: Code Frequency Stat type: array @@ -84465,8 +84939,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-last-year-of-commit-activity parameters: - - *246 - - *247 + - *248 + - *249 responses: '200': description: Response @@ -84544,8 +85018,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-all-contributor-commit-activity parameters: - - *246 - - *247 + - *248 + - *249 responses: '200': description: Response @@ -84639,8 +85113,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-weekly-commit-count parameters: - - *246 - - *247 + - *248 + - *249 responses: '200': description: The array order is oldest week (index 0) to most recent week. @@ -84794,8 +85268,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-hourly-commit-count-for-each-day parameters: - - *246 - - *247 + - *248 + - *249 responses: '200': description: For example, `[2, 14, 25]` indicates that there were 25 total @@ -84805,7 +85279,7 @@ paths: application/json: schema: type: array - items: *538 + items: *540 examples: default: value: @@ -84838,8 +85312,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/statuses#create-a-commit-status parameters: - - *246 - - *247 + - *248 + - *249 - name: sha in: path required: true @@ -84895,7 +85369,7 @@ paths: description: Response content: application/json: - schema: *539 + schema: *541 examples: default: value: @@ -84949,8 +85423,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#list-watchers parameters: - - *246 - - *247 + - *248 + - *249 - *17 - *18 responses: @@ -84982,14 +85456,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#get-a-repository-subscription parameters: - - *246 - - *247 + - *248 + - *249 responses: '200': description: if you subscribe to the repository content: application/json: - schema: &540 + schema: &542 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -85062,8 +85536,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#set-a-repository-subscription parameters: - - *246 - - *247 + - *248 + - *249 requestBody: required: false content: @@ -85089,7 +85563,7 @@ paths: description: Response content: application/json: - schema: *540 + schema: *542 examples: default: value: @@ -85116,8 +85590,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#delete-a-repository-subscription parameters: - - *246 - - *247 + - *248 + - *249 responses: '204': description: Response @@ -85137,8 +85611,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-tags parameters: - - *246 - - *247 + - *248 + - *249 - *17 - *18 responses: @@ -85220,8 +85694,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/tags#closing-down---list-tag-protection-states-for-a-repository parameters: - - *246 - - *247 + - *248 + - *249 responses: '200': description: Response @@ -85229,7 +85703,7 @@ paths: application/json: schema: type: array - items: &541 + items: &543 title: Tag protection description: Tag protection type: object @@ -85286,8 +85760,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/tags#closing-down---create-a-tag-protection-state-for-a-repository parameters: - - *246 - - *247 + - *248 + - *249 requestBody: required: true content: @@ -85310,7 +85784,7 @@ paths: description: Response content: application/json: - schema: *541 + schema: *543 examples: default: value: @@ -85341,8 +85815,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/tags#closing-down---delete-a-tag-protection-state-for-a-repository parameters: - - *246 - - *247 + - *248 + - *249 - name: tag_protection_id description: The unique identifier of the tag protection. in: path @@ -85379,8 +85853,8 @@ paths: url: https://docs.github.com/rest/repos/contents#download-a-repository-archive-tar operationId: repos/download-tarball-archive parameters: - - *246 - - *247 + - *248 + - *249 - name: ref in: path required: true @@ -85416,8 +85890,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-teams parameters: - - *246 - - *247 + - *248 + - *249 - *17 - *18 responses: @@ -85449,8 +85923,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#get-all-repository-topics parameters: - - *246 - - *247 + - *248 + - *249 - *18 - *17 responses: @@ -85458,7 +85932,7 @@ paths: description: Response content: application/json: - schema: &542 + schema: &544 title: Topic description: A topic aggregates entities that are related to a subject. type: object @@ -85470,7 +85944,7 @@ paths: required: - names examples: - default: &543 + default: &545 value: names: - octocat @@ -85493,8 +85967,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#replace-all-repository-topics parameters: - - *246 - - *247 + - *248 + - *249 requestBody: required: true content: @@ -85525,9 +85999,9 @@ paths: description: Response content: application/json: - schema: *542 + schema: *544 examples: - default: *543 + default: *545 '404': *6 '422': *7 x-github: @@ -85548,9 +86022,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-repository-clones parameters: - - *246 - - *247 - - &544 + - *248 + - *249 + - &546 name: per description: The time frame to display results for. in: query @@ -85581,7 +86055,7 @@ paths: - 128 clones: type: array - items: &545 + items: &547 title: Traffic type: object properties: @@ -85668,8 +86142,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-top-referral-paths parameters: - - *246 - - *247 + - *248 + - *249 responses: '200': description: Response @@ -85763,8 +86237,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-top-referral-sources parameters: - - *246 - - *247 + - *248 + - *249 responses: '200': description: Response @@ -85827,9 +86301,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-page-views parameters: - - *246 - - *247 - - *544 + - *248 + - *249 + - *546 responses: '200': description: Response @@ -85850,7 +86324,7 @@ paths: - 3782 views: type: array - items: *545 + items: *547 required: - uniques - count @@ -85927,8 +86401,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#transfer-a-repository parameters: - - *246 - - *247 + - *248 + - *249 requestBody: required: true content: @@ -86202,8 +86676,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#check-if-vulnerability-alerts-are-enabled-for-a-repository parameters: - - *246 - - *247 + - *248 + - *249 responses: '204': description: Response if repository is enabled with vulnerability alerts @@ -86226,8 +86700,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-vulnerability-alerts parameters: - - *246 - - *247 + - *248 + - *249 responses: '204': description: Response @@ -86249,8 +86723,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-vulnerability-alerts parameters: - - *246 - - *247 + - *248 + - *249 responses: '204': description: Response @@ -86276,8 +86750,8 @@ paths: url: https://docs.github.com/rest/repos/contents#download-a-repository-archive-zip operationId: repos/download-zipball-archive parameters: - - *246 - - *247 + - *248 + - *249 - name: ref in: path required: true @@ -86369,9 +86843,9 @@ paths: description: Response content: application/json: - schema: *257 + schema: *259 examples: - default: *259 + default: *261 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -86620,7 +87094,7 @@ paths: examples: - 73..77 - 77..78 - text_matches: &546 + text_matches: &548 title: Search Result Text Matches type: array items: @@ -86783,7 +87257,7 @@ paths: enum: - author-date - committer-date - - &547 + - &549 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 @@ -86852,7 +87326,7 @@ paths: committer: anyOf: - type: 'null' - - *312 + - *314 comment_count: type: integer message: @@ -86871,7 +87345,7 @@ paths: url: type: string format: uri - verification: *423 + verification: *425 required: - author - committer @@ -86886,7 +87360,7 @@ paths: committer: anyOf: - type: 'null' - - *312 + - *314 parents: type: array items: @@ -86903,7 +87377,7 @@ paths: type: number node_id: type: string - text_matches: *546 + text_matches: *548 required: - sha - node_id @@ -87095,7 +87569,7 @@ paths: - interactions - created - updated - - *547 + - *549 - *17 - *18 responses: @@ -87211,7 +87685,7 @@ paths: milestone: anyOf: - type: 'null' - - *378 + - *380 comments: type: integer created_at: @@ -87225,7 +87699,7 @@ paths: - string - 'null' format: date-time - text_matches: *546 + text_matches: *548 pull_request: type: object properties: @@ -87447,7 +87921,7 @@ paths: enum: - created - updated - - *547 + - *549 - *17 - *18 responses: @@ -87492,7 +87966,7 @@ paths: - 'null' score: type: number - text_matches: *546 + text_matches: *548 required: - id - node_id @@ -87577,7 +88051,7 @@ paths: - forks - help-wanted-issues - updated - - *547 + - *549 - *17 - *18 responses: @@ -87814,7 +88288,7 @@ paths: - admin - pull - push - text_matches: *546 + text_matches: *548 temp_clone_token: type: string allow_merge_commit: @@ -88122,7 +88596,7 @@ paths: - string - 'null' format: uri - text_matches: *546 + text_matches: *548 related: type: - array @@ -88315,7 +88789,7 @@ paths: - followers - repositories - joined - - *547 + - *549 - *17 - *18 responses: @@ -88425,7 +88899,7 @@ paths: type: - boolean - 'null' - text_matches: *546 + text_matches: *548 blog: type: - string @@ -88507,7 +88981,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#get-a-team-legacy parameters: - - &548 + - &550 name: team_id description: The unique identifier of the team. in: path @@ -88519,9 +88993,9 @@ paths: description: Response content: application/json: - schema: *231 + schema: *233 examples: - default: *232 + default: *234 '404': *6 x-github: githubCloudOnly: false @@ -88548,7 +89022,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#update-a-team-legacy parameters: - - *548 + - *550 requestBody: required: true content: @@ -88612,16 +89086,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *231 + schema: *233 examples: - default: *232 + default: *234 '201': description: Response content: application/json: - schema: *231 + schema: *233 examples: - default: *232 + default: *234 '404': *6 '422': *15 '403': *27 @@ -88649,7 +89123,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#delete-a-team-legacy parameters: - - *548 + - *550 responses: '204': description: Response @@ -88680,7 +89154,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#list-discussions-legacy parameters: - - *548 + - *550 - *46 - *17 - *18 @@ -88691,9 +89165,9 @@ paths: application/json: schema: type: array - items: *233 + items: *235 examples: - default: *549 + default: *551 headers: Link: *56 x-github: @@ -88722,7 +89196,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#create-a-discussion-legacy parameters: - - *548 + - *550 requestBody: required: true content: @@ -88756,9 +89230,9 @@ paths: description: Response content: application/json: - schema: *233 + schema: *235 examples: - default: *234 + default: *236 x-github: triggersNotification: true githubCloudOnly: false @@ -88785,16 +89259,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#get-a-discussion-legacy parameters: - - *548 - - *235 + - *550 + - *237 responses: '200': description: Response content: application/json: - schema: *233 + schema: *235 examples: - default: *234 + default: *236 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88819,8 +89293,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#update-a-discussion-legacy parameters: - - *548 - - *235 + - *550 + - *237 requestBody: required: false content: @@ -88843,9 +89317,9 @@ paths: description: Response content: application/json: - schema: *233 + schema: *235 examples: - default: *550 + default: *552 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88870,8 +89344,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#delete-a-discussion-legacy parameters: - - *548 - - *235 + - *550 + - *237 responses: '204': description: Response @@ -88900,8 +89374,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#list-discussion-comments-legacy parameters: - - *548 - - *235 + - *550 + - *237 - *46 - *17 - *18 @@ -88912,9 +89386,9 @@ paths: application/json: schema: type: array - items: *236 + items: *238 examples: - default: *551 + default: *553 headers: Link: *56 x-github: @@ -88943,8 +89417,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#create-a-discussion-comment-legacy parameters: - - *548 - - *235 + - *550 + - *237 requestBody: required: true content: @@ -88966,9 +89440,9 @@ paths: description: Response content: application/json: - schema: *236 + schema: *238 examples: - default: *237 + default: *239 x-github: triggersNotification: true githubCloudOnly: false @@ -88995,17 +89469,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#get-a-discussion-comment-legacy parameters: - - *548 - - *235 - - *238 + - *550 + - *237 + - *240 responses: '200': description: Response content: application/json: - schema: *236 + schema: *238 examples: - default: *237 + default: *239 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89030,9 +89504,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#update-a-discussion-comment-legacy parameters: - - *548 - - *235 - - *238 + - *550 + - *237 + - *240 requestBody: required: true content: @@ -89054,9 +89528,9 @@ paths: description: Response content: application/json: - schema: *236 + schema: *238 examples: - default: *552 + default: *554 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89081,9 +89555,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#delete-a-discussion-comment-legacy parameters: - - *548 - - *235 - - *238 + - *550 + - *237 + - *240 responses: '204': description: Response @@ -89112,9 +89586,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-team-discussion-comment-legacy parameters: - - *548 - - *235 - - *238 + - *550 + - *237 + - *240 - 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 team discussion comment. @@ -89140,9 +89614,9 @@ paths: application/json: schema: type: array - items: *239 + items: *241 examples: - default: *241 + default: *243 headers: Link: *56 x-github: @@ -89171,9 +89645,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-team-discussion-comment-legacy parameters: - - *548 - - *235 - - *238 + - *550 + - *237 + - *240 requestBody: required: true content: @@ -89205,9 +89679,9 @@ paths: description: Response content: application/json: - schema: *239 + schema: *241 examples: - default: *240 + default: *242 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89233,8 +89707,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-team-discussion-legacy parameters: - - *548 - - *235 + - *550 + - *237 - 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 team discussion. @@ -89260,9 +89734,9 @@ paths: application/json: schema: type: array - items: *239 + items: *241 examples: - default: *241 + default: *243 headers: Link: *56 x-github: @@ -89291,8 +89765,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-team-discussion-legacy parameters: - - *548 - - *235 + - *550 + - *237 requestBody: required: true content: @@ -89324,9 +89798,9 @@ paths: description: Response content: application/json: - schema: *239 + schema: *241 examples: - default: *240 + default: *242 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -89350,7 +89824,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#list-pending-team-invitations-legacy parameters: - - *548 + - *550 - *17 - *18 responses: @@ -89388,7 +89862,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#list-team-members-legacy parameters: - - *548 + - *550 - name: role description: Filters members returned by their role in the team. in: query @@ -89439,7 +89913,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#get-team-member-legacy parameters: - - *548 + - *550 - *120 responses: '204': @@ -89476,7 +89950,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#add-team-member-legacy parameters: - - *548 + - *550 - *120 responses: '204': @@ -89516,7 +89990,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#remove-team-member-legacy parameters: - - *548 + - *550 - *120 responses: '204': @@ -89553,16 +90027,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#get-team-membership-for-a-user-legacy parameters: - - *548 + - *550 - *120 responses: '200': description: Response content: application/json: - schema: *243 + schema: *245 examples: - response-if-user-is-a-team-maintainer: *553 + response-if-user-is-a-team-maintainer: *555 '404': *6 x-github: githubCloudOnly: false @@ -89595,7 +90069,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#add-or-update-team-membership-for-a-user-legacy parameters: - - *548 + - *550 - *120 requestBody: required: false @@ -89621,9 +90095,9 @@ paths: description: Response content: application/json: - schema: *243 + schema: *245 examples: - response-if-users-membership-with-team-is-now-pending: *554 + response-if-users-membership-with-team-is-now-pending: *556 '403': description: Forbidden if team synchronization is set up '422': @@ -89657,7 +90131,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#remove-team-membership-for-a-user-legacy parameters: - - *548 + - *550 - *120 responses: '204': @@ -89687,7 +90161,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-team-projects-legacy parameters: - - *548 + - *550 - *17 - *18 responses: @@ -89697,9 +90171,9 @@ paths: application/json: schema: type: array - items: *244 + items: *246 examples: - default: *555 + default: *557 headers: Link: *56 '404': *6 @@ -89726,16 +90200,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-project-legacy parameters: - - *548 - - *245 + - *550 + - *247 responses: '200': description: Response content: application/json: - schema: *244 + schema: *246 examples: - default: *556 + default: *558 '404': description: Not Found if project is not managed by this team x-github: @@ -89760,8 +90234,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#add-or-update-team-project-permissions-legacy parameters: - - *548 - - *245 + - *550 + - *247 requestBody: required: false content: @@ -89829,8 +90303,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#remove-a-project-from-a-team-legacy parameters: - - *548 - - *245 + - *550 + - *247 responses: '204': description: Response @@ -89857,7 +90331,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-team-repositories-legacy parameters: - - *548 + - *550 - *17 - *18 responses: @@ -89899,15 +90373,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-repository-legacy parameters: - - *548 - - *246 - - *247 + - *550 + - *248 + - *249 responses: '200': description: Alternative response with extra repository information content: application/json: - schema: *557 + schema: *559 examples: alternative-response-with-extra-repository-information: value: @@ -90058,9 +90532,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#add-or-update-team-repository-permissions-legacy parameters: - - *548 - - *246 - - *247 + - *550 + - *248 + - *249 requestBody: required: false content: @@ -90110,9 +90584,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#remove-a-repository-from-a-team-legacy parameters: - - *548 - - *246 - - *247 + - *550 + - *248 + - *249 responses: '204': description: Response @@ -90137,7 +90611,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-child-teams-legacy parameters: - - *548 + - *550 - *17 - *18 responses: @@ -90149,7 +90623,7 @@ paths: type: array items: *171 examples: - response-if-child-teams-exist: *558 + response-if-child-teams-exist: *560 headers: Link: *56 '404': *6 @@ -90182,7 +90656,7 @@ paths: application/json: schema: oneOf: - - &560 + - &562 title: Private User description: Private User type: object @@ -90432,7 +90906,7 @@ paths: - private_gists - total_private_repos - two_factor_authentication - - *559 + - *561 examples: response-with-public-and-private-profile-information: summary: Response with public and private profile information @@ -90592,7 +91066,7 @@ paths: description: Response content: application/json: - schema: *560 + schema: *562 examples: default: value: @@ -90938,7 +91412,7 @@ paths: application/json: schema: *175 examples: - default: *365 + default: *367 '202': description: Response when the codespace creation partially failed but is being retried in the background @@ -90946,7 +91420,7 @@ paths: application/json: schema: *175 examples: - default: *365 + default: *367 '401': *23 '403': *27 '404': *6 @@ -90990,7 +91464,7 @@ paths: type: integer secrets: type: array - items: &561 + items: &563 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -91032,7 +91506,7 @@ paths: - visibility - selected_repositories_url examples: - default: *367 + default: *369 headers: Link: *56 x-github: @@ -91110,7 +91584,7 @@ paths: description: Response content: application/json: - schema: *561 + schema: *563 examples: default: value: @@ -91256,7 +91730,7 @@ paths: type: array items: *107 examples: - default: *562 + default: *564 '401': *23 '403': *27 '404': *6 @@ -91408,7 +91882,7 @@ paths: application/json: schema: *175 examples: - default: *365 + default: *367 '304': *35 '500': *132 '401': *23 @@ -91466,7 +91940,7 @@ paths: application/json: schema: *175 examples: - default: *365 + default: *367 '401': *23 '403': *27 '404': *6 @@ -91523,7 +91997,7 @@ paths: description: Response content: application/json: - schema: &563 + schema: &565 type: object title: Fetches information about an export of a codespace. description: An export of a codespace. Also, latest export details @@ -91576,7 +92050,7 @@ paths: examples: - https://github.com/octocat/hello-world/tree/:branch examples: - default: &564 + default: &566 value: state: succeeded completed_at: '2022-01-01T14:59:22Z' @@ -91621,9 +92095,9 @@ paths: description: Response content: application/json: - schema: *563 + schema: *565 examples: - default: *564 + default: *566 '404': *6 x-github: githubCloudOnly: false @@ -91660,9 +92134,9 @@ paths: type: integer machines: type: array - items: *366 + items: *368 examples: - default: *565 + default: *567 '304': *35 '500': *132 '401': *23 @@ -91747,11 +92221,11 @@ paths: - 26a7c758-7299-4a73-b978-5a92a7ae98a0 owner: *4 billable_owner: *4 - repository: *257 + repository: *259 machine: anyOf: - type: 'null' - - *366 + - *368 devcontainer_path: description: Path to devcontainer.json from repo root used to create Codespace. @@ -92556,7 +93030,7 @@ paths: application/json: schema: *175 examples: - default: *365 + default: *367 '304': *35 '500': *132 '400': *14 @@ -92596,7 +93070,7 @@ paths: application/json: schema: *175 examples: - default: *365 + default: *367 '500': *132 '401': *23 '403': *27 @@ -92628,7 +93102,7 @@ paths: type: array items: *188 examples: - default: &578 + default: &580 value: - id: 197 name: hello_docker @@ -92729,7 +93203,7 @@ paths: application/json: schema: type: array - items: &566 + items: &568 title: Email description: Email type: object @@ -92799,9 +93273,9 @@ paths: application/json: schema: type: array - items: *566 + items: *568 examples: - default: &580 + default: &582 value: - email: octocat@github.com verified: true @@ -92878,7 +93352,7 @@ paths: application/json: schema: type: array - items: *566 + items: *568 examples: default: value: @@ -93136,7 +93610,7 @@ paths: application/json: schema: type: array - items: &567 + items: &569 title: GPG Key description: A unique encryption key type: object @@ -93281,7 +93755,7 @@ paths: - subkeys - revoked examples: - default: &591 + default: &593 value: - id: 3 name: Octocat's GPG Key @@ -93366,9 +93840,9 @@ paths: description: Response content: application/json: - schema: *567 + schema: *569 examples: - default: &568 + default: &570 value: id: 3 name: Octocat's GPG Key @@ -93425,7 +93899,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/gpg-keys#get-a-gpg-key-for-the-authenticated-user parameters: - - &569 + - &571 name: gpg_key_id description: The unique identifier of the GPG key. in: path @@ -93437,9 +93911,9 @@ paths: description: Response content: application/json: - schema: *567 + schema: *569 examples: - default: *568 + default: *570 '404': *6 '304': *35 '403': *27 @@ -93462,7 +93936,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/gpg-keys#delete-a-gpg-key-for-the-authenticated-user parameters: - - *569 + - *571 responses: '204': description: Response @@ -93653,7 +94127,7 @@ paths: type: array items: *58 examples: - default: *570 + default: *572 headers: Link: *56 '404': *6 @@ -93767,7 +94241,7 @@ paths: required: true content: application/json: - schema: *434 + schema: *436 examples: default: value: @@ -93917,7 +94391,7 @@ paths: application/json: schema: type: array - items: &571 + items: &573 title: Key description: Key type: object @@ -94015,9 +94489,9 @@ paths: description: Response content: application/json: - schema: *571 + schema: *573 examples: - default: &572 + default: &574 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -94050,15 +94524,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/keys#get-a-public-ssh-key-for-the-authenticated-user parameters: - - *461 + - *463 responses: '200': description: Response content: application/json: - schema: *571 + schema: *573 examples: - default: *572 + default: *574 '404': *6 '304': *35 '403': *27 @@ -94081,7 +94555,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/keys#delete-a-public-ssh-key-for-the-authenticated-user parameters: - - *461 + - *463 responses: '204': description: Response @@ -94114,7 +94588,7 @@ paths: application/json: schema: type: array - items: &573 + items: &575 title: User Marketplace Purchase description: User Marketplace Purchase type: object @@ -94193,7 +94667,7 @@ paths: - account - plan examples: - default: &574 + default: &576 value: - billing_cycle: monthly next_billing_date: '2017-11-11T00:00:00Z' @@ -94255,9 +94729,9 @@ paths: application/json: schema: type: array - items: *573 + items: *575 examples: - default: *574 + default: *576 headers: Link: *56 '304': *35 @@ -95261,7 +95735,7 @@ paths: url: https://docs.github.com/rest/migrations/users#unlock-a-user-repository parameters: - *182 - - *575 + - *577 responses: '204': description: Response @@ -95334,7 +95808,7 @@ paths: type: array items: *134 examples: - default: *576 + default: *578 headers: Link: *56 '304': *35 @@ -95376,7 +95850,7 @@ paths: - docker - nuget - container - - *577 + - *579 - *18 - *17 responses: @@ -95388,8 +95862,8 @@ paths: type: array items: *188 examples: - default: *578 - '400': *579 + default: *580 + '400': *581 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -95418,7 +95892,7 @@ paths: application/json: schema: *188 examples: - default: &592 + default: &594 value: id: 40201 name: octo-name @@ -95801,7 +96275,7 @@ paths: description: Response content: application/json: - schema: *201 + schema: *203 examples: default: value: @@ -95870,9 +96344,9 @@ paths: application/json: schema: type: array - items: *566 + items: *568 examples: - default: *580 + default: *582 headers: Link: *56 '304': *35 @@ -95985,7 +96459,7 @@ paths: type: array items: *58 examples: - default: &587 + default: &589 summary: Default response value: - id: 1296269 @@ -96301,9 +96775,9 @@ paths: description: Response content: application/json: - schema: *257 + schema: *259 examples: - default: *259 + default: *261 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -96341,9 +96815,9 @@ paths: application/json: schema: type: array - items: *436 + items: *438 examples: - default: *581 + default: *583 headers: Link: *56 '304': *35 @@ -96422,7 +96896,7 @@ paths: application/json: schema: type: array - items: &582 + items: &584 title: Social account description: Social media account type: object @@ -96439,7 +96913,7 @@ paths: - provider - url examples: - default: &583 + default: &585 value: - provider: twitter url: https://twitter.com/github @@ -96502,9 +96976,9 @@ paths: application/json: schema: type: array - items: *582 + items: *584 examples: - default: *583 + default: *585 '422': *15 '304': *35 '404': *6 @@ -96592,7 +97066,7 @@ paths: application/json: schema: type: array - items: &584 + items: &586 title: SSH Signing Key description: A public SSH key used to sign Git commits type: object @@ -96612,7 +97086,7 @@ paths: - title - created_at examples: - default: &599 + default: &601 value: - key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -96679,9 +97153,9 @@ paths: description: Response content: application/json: - schema: *584 + schema: *586 examples: - default: &585 + default: &587 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -96712,7 +97186,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: - - &586 + - &588 name: ssh_signing_key_id description: The unique identifier of the SSH signing key. in: path @@ -96724,9 +97198,9 @@ paths: description: Response content: application/json: - schema: *584 + schema: *586 examples: - default: *585 + default: *587 '404': *6 '304': *35 '403': *27 @@ -96749,7 +97223,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: - - *586 + - *588 responses: '204': description: Response @@ -96778,7 +97252,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#list-repositories-starred-by-the-authenticated-user parameters: - - &600 + - &602 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 @@ -96803,11 +97277,11 @@ paths: type: array items: *58 examples: - default-response: *587 + default-response: *589 application/vnd.github.v3.star+json: schema: type: array - items: &601 + items: &603 title: Starred Repository description: Starred Repository type: object @@ -96963,8 +97437,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: - - *246 - - *247 + - *248 + - *249 responses: '204': description: Response if this repository is starred by you @@ -96992,8 +97466,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#star-a-repository-for-the-authenticated-user parameters: - - *246 - - *247 + - *248 + - *249 responses: '204': description: Response @@ -97017,8 +97491,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#unstar-a-repository-for-the-authenticated-user parameters: - - *246 - - *247 + - *248 + - *249 responses: '204': description: Response @@ -97090,7 +97564,7 @@ paths: application/json: schema: type: array - items: *231 + items: *233 examples: default: value: @@ -97174,10 +97648,10 @@ paths: application/json: schema: oneOf: - - *560 - - *559 + - *562 + - *561 examples: - default-response: &589 + default-response: &591 summary: Default response value: login: octocat @@ -97212,7 +97686,7 @@ paths: following: 0 created_at: '2008-01-14T04:33:35Z' updated_at: '2008-01-14T04:33:35Z' - response-with-git-hub-plan-information: &590 + response-with-git-hub-plan-information: &592 summary: Response with GitHub plan information value: login: octocat @@ -97272,7 +97746,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/users#list-users parameters: - - *588 + - *590 - *17 responses: '200': @@ -97319,11 +97793,11 @@ paths: application/json: schema: oneOf: - - *560 - - *559 + - *562 + - *561 examples: - default-response: *589 - response-with-git-hub-plan-information: *590 + default-response: *591 + response-with-git-hub-plan-information: *592 '404': *6 x-github: githubCloudOnly: false @@ -97489,7 +97963,7 @@ paths: type: array items: *188 examples: - default: *578 + default: *580 '403': *27 '401': *23 x-github: @@ -97893,9 +98367,9 @@ paths: application/json: schema: type: array - items: *567 + items: *569 examples: - default: *591 + default: *593 headers: Link: *56 x-github: @@ -97999,7 +98473,7 @@ paths: application/json: schema: *20 examples: - default: *433 + default: *435 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -98077,7 +98551,7 @@ paths: type: array items: *134 examples: - default: *576 + default: *578 headers: Link: *56 x-github: @@ -98116,7 +98590,7 @@ paths: - docker - nuget - container - - *577 + - *579 - *120 - *18 - *17 @@ -98129,10 +98603,10 @@ paths: type: array items: *188 examples: - default: *578 + default: *580 '403': *27 '401': *23 - '400': *579 + '400': *581 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -98162,7 +98636,7 @@ paths: application/json: schema: *188 examples: - default: *592 + default: *594 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -98445,7 +98919,7 @@ paths: application/json: schema: type: array - items: *201 + items: *203 examples: default: value: @@ -98755,9 +99229,9 @@ paths: description: Response content: application/json: - schema: *593 + schema: *595 examples: - default: *594 + default: *596 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -98785,9 +99259,9 @@ paths: description: Response content: application/json: - schema: *595 + schema: *597 examples: - default: *596 + default: *598 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -98815,9 +99289,9 @@ paths: description: Response content: application/json: - schema: *597 + schema: *599 examples: - default: *598 + default: *600 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -98845,9 +99319,9 @@ paths: application/json: schema: type: array - items: *582 + items: *584 examples: - default: *583 + default: *585 headers: Link: *56 x-github: @@ -98877,9 +99351,9 @@ paths: application/json: schema: type: array - items: *584 + items: *586 examples: - default: *599 + default: *601 headers: Link: *56 x-github: @@ -98904,7 +99378,7 @@ paths: url: https://docs.github.com/rest/activity/starring#list-repositories-starred-by-a-user parameters: - *120 - - *600 + - *602 - *46 - *17 - *18 @@ -98916,11 +99390,11 @@ paths: schema: anyOf: - type: array - items: *601 + items: *603 - type: array items: *58 examples: - default-response: *587 + default-response: *589 headers: Link: *56 x-github: @@ -99080,7 +99554,7 @@ webhooks: type: string enum: - disabled - enterprise: &602 + enterprise: &604 title: Enterprise description: |- An enterprise on GitHub. Webhook payloads contain the `enterprise` property when the webhook is configured @@ -99149,7 +99623,7 @@ webhooks: - created_at - updated_at - avatar_url - installation: &603 + installation: &605 title: Simple Installation description: |- The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured @@ -99170,7 +99644,7 @@ webhooks: required: - id - node_id - organization: &604 + organization: &606 title: Organization Simple description: |- A GitHub organization. Webhook payloads contain the `organization` property when the webhook is configured for an @@ -99243,7 +99717,7 @@ webhooks: - public_members_url - avatar_url - description - repository: &605 + repository: &607 title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property @@ -100156,10 +100630,10 @@ webhooks: type: string enum: - enabled - enterprise: *602 - installation: *603 - organization: *604 - repository: *605 + enterprise: *604 + installation: *605 + organization: *606 + repository: *607 sender: *4 required: - action @@ -100235,11 +100709,11 @@ webhooks: type: string enum: - created - enterprise: *602 - installation: *603 - organization: *604 - repository: *605 - rule: &606 + enterprise: *604 + installation: *605 + organization: *606 + repository: *607 + rule: &608 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) @@ -100462,11 +100936,11 @@ webhooks: type: string enum: - deleted - enterprise: *602 - installation: *603 - organization: *604 - repository: *605 - rule: *606 + enterprise: *604 + installation: *605 + organization: *606 + repository: *607 + rule: *608 sender: *4 required: - action @@ -100654,11 +101128,11 @@ webhooks: - everyone required: - from - enterprise: *602 - installation: *603 - organization: *604 - repository: *605 - rule: *606 + enterprise: *604 + installation: *605 + organization: *606 + repository: *607 + rule: *608 sender: *4 required: - action @@ -100742,7 +101216,7 @@ webhooks: type: string enum: - completed - check_run: &608 + check_run: &610 title: CheckRun description: A check performed on the code of a given code change type: object @@ -100810,7 +101284,7 @@ webhooks: - MDEwOkNoZWNrU3VpdGU1 pull_requests: type: array - items: *325 + items: *327 repository: *107 status: type: string @@ -100855,7 +101329,7 @@ webhooks: - examples: - neutral - deployment: *607 + deployment: *609 details_url: type: string examples: @@ -100915,7 +101389,7 @@ webhooks: - annotations_url pull_requests: type: array - items: *325 + items: *327 started_at: type: string format: date-time @@ -100953,9 +101427,9 @@ webhooks: - output - app - pull_requests - installation: *603 - organization: *604 - repository: *605 + installation: *605 + organization: *606 + repository: *607 sender: *4 required: - check_run @@ -101348,10 +101822,10 @@ webhooks: type: string enum: - created - check_run: *608 - installation: *603 - organization: *604 - repository: *605 + check_run: *610 + installation: *605 + organization: *606 + repository: *607 sender: *4 required: - check_run @@ -101747,10 +102221,10 @@ webhooks: type: string enum: - requested_action - check_run: *608 - installation: *603 - organization: *604 - repository: *605 + check_run: *610 + installation: *605 + organization: *606 + repository: *607 requested_action: description: The action requested by the user. type: object @@ -102155,10 +102629,10 @@ webhooks: type: string enum: - rerequested - check_run: *608 - installation: *603 - organization: *604 - repository: *605 + check_run: *610 + installation: *605 + organization: *606 + repository: *607 sender: *4 required: - check_run @@ -103150,10 +103624,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *602 - installation: *603 - organization: *604 - repository: *605 + enterprise: *604 + installation: *605 + organization: *606 + repository: *607 sender: *4 required: - action @@ -103838,10 +104312,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *602 - installation: *603 - organization: *604 - repository: *605 + enterprise: *604 + installation: *605 + organization: *606 + repository: *607 sender: *4 required: - action @@ -104520,10 +104994,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *602 - installation: *603 - organization: *604 - repository: *605 + enterprise: *604 + installation: *605 + organization: *606 + repository: *607 sender: *4 required: - action @@ -104830,20 +105304,20 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: &609 + commit_oid: &611 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: *602 - installation: *603 - organization: *604 - ref: &610 + enterprise: *604 + installation: *605 + organization: *606 + ref: &612 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: *605 + repository: *607 sender: *4 required: - action @@ -105171,12 +105645,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *609 - enterprise: *602 - installation: *603 - organization: *604 - ref: *610 - repository: *605 + commit_oid: *611 + enterprise: *604 + installation: *605 + organization: *606 + ref: *612 + repository: *607 sender: *4 required: - action @@ -105274,7 +105748,7 @@ webhooks: dismissed_by: type: - 'null' - dismissed_comment: *340 + dismissed_comment: *342 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -105449,12 +105923,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *609 - enterprise: *602 - installation: *603 - organization: *604 - ref: *610 - repository: *605 + commit_oid: *611 + enterprise: *604 + installation: *605 + organization: *606 + ref: *612 + repository: *607 sender: *4 required: - action @@ -105786,12 +106260,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *609 - enterprise: *602 - installation: *603 - organization: *604 - ref: *610 - repository: *605 + commit_oid: *611 + enterprise: *604 + installation: *605 + organization: *606 + ref: *612 + repository: *607 sender: *4 required: - action @@ -106060,9 +106534,9 @@ webhooks: type: - string - 'null' - enterprise: *602 - installation: *603 - organization: *604 + enterprise: *604 + installation: *605 + organization: *606 ref: description: The Git reference of the code scanning alert. When the action is `reopened_by_user` or `closed_by_user`, the event @@ -106070,7 +106544,7 @@ webhooks: type: - string - 'null' - repository: *605 + repository: *607 sender: *4 required: - action @@ -106302,12 +106776,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *609 - enterprise: *602 - installation: *603 - organization: *604 - ref: *610 - repository: *605 + commit_oid: *611 + enterprise: *604 + installation: *605 + organization: *606 + ref: *612 + repository: *607 sender: *4 required: - action @@ -106569,10 +107043,10 @@ webhooks: - updated_at - author_association - body - enterprise: *602 - installation: *603 - organization: *604 - repository: *605 + enterprise: *604 + installation: *605 + organization: *606 + repository: *607 sender: *4 required: - action @@ -106653,18 +107127,18 @@ webhooks: type: - string - 'null' - enterprise: *602 - installation: *603 + enterprise: *604 + installation: *605 master_branch: description: The name of the repository's default branch (usually `main`). type: string - organization: *604 - pusher_type: &611 + organization: *606 + pusher_type: &613 description: The pusher type for the event. Can be either `user` or a deploy key. type: string - ref: &612 + ref: &614 description: The [`git ref`](https://docs.github.com/rest/git/refs#get-a-reference) resource. type: string @@ -106674,7 +107148,7 @@ webhooks: enum: - tag - branch - repository: *605 + repository: *607 sender: *4 required: - ref @@ -106756,10 +107230,10 @@ webhooks: type: string enum: - created - definition: *202 - enterprise: *602 - installation: *603 - organization: *604 + definition: *204 + enterprise: *604 + installation: *605 + organization: *606 sender: *4 required: - action @@ -106844,9 +107318,9 @@ webhooks: description: The name of the property that was deleted. required: - property_name - enterprise: *602 - installation: *603 - organization: *604 + enterprise: *604 + installation: *605 + organization: *606 sender: *4 required: - action @@ -106923,10 +107397,10 @@ webhooks: type: string enum: - updated - definition: *202 - enterprise: *602 - installation: *603 - organization: *604 + definition: *204 + enterprise: *604 + installation: *605 + organization: *606 sender: *4 required: - action @@ -107003,19 +107477,19 @@ webhooks: type: string enum: - updated - enterprise: *602 - installation: *603 - repository: *605 - organization: *604 + enterprise: *604 + installation: *605 + repository: *607 + organization: *606 sender: *4 new_property_values: type: array description: The new custom property values for the repository. - items: *206 + items: *208 old_property_values: type: array description: The old custom property values for the repository. - items: *206 + items: *208 required: - action - repository @@ -107091,18 +107565,18 @@ webhooks: title: delete event type: object properties: - enterprise: *602 - installation: *603 - organization: *604 - pusher_type: *611 - ref: *612 + enterprise: *604 + installation: *605 + organization: *606 + pusher_type: *613 + ref: *614 ref_type: description: The type of Git ref object deleted in the repository. type: string enum: - tag - branch - repository: *605 + repository: *607 sender: *4 required: - ref @@ -107186,11 +107660,11 @@ webhooks: type: string enum: - auto_dismissed - alert: *392 - installation: *603 - organization: *604 - enterprise: *602 - repository: *605 + alert: *394 + installation: *605 + organization: *606 + enterprise: *604 + repository: *607 sender: *4 required: - action @@ -107274,11 +107748,11 @@ webhooks: type: string enum: - auto_reopened - alert: *392 - installation: *603 - organization: *604 - enterprise: *602 - repository: *605 + alert: *394 + installation: *605 + organization: *606 + enterprise: *604 + repository: *607 sender: *4 required: - action @@ -107362,11 +107836,11 @@ webhooks: type: string enum: - created - alert: *392 - installation: *603 - organization: *604 - enterprise: *602 - repository: *605 + alert: *394 + installation: *605 + organization: *606 + enterprise: *604 + repository: *607 sender: *4 required: - action @@ -107448,11 +107922,11 @@ webhooks: type: string enum: - dismissed - alert: *392 - installation: *603 - organization: *604 - enterprise: *602 - repository: *605 + alert: *394 + installation: *605 + organization: *606 + enterprise: *604 + repository: *607 sender: *4 required: - action @@ -107534,11 +108008,11 @@ webhooks: type: string enum: - fixed - alert: *392 - installation: *603 - organization: *604 - enterprise: *602 - repository: *605 + alert: *394 + installation: *605 + organization: *606 + enterprise: *604 + repository: *607 sender: *4 required: - action @@ -107621,11 +108095,11 @@ webhooks: type: string enum: - reintroduced - alert: *392 - installation: *603 - organization: *604 - enterprise: *602 - repository: *605 + alert: *394 + installation: *605 + organization: *606 + enterprise: *604 + repository: *607 sender: *4 required: - action @@ -107707,11 +108181,11 @@ webhooks: type: string enum: - reopened - alert: *392 - installation: *603 - organization: *604 - enterprise: *602 - repository: *605 + alert: *394 + installation: *605 + organization: *606 + enterprise: *604 + repository: *607 sender: *4 required: - action @@ -107788,9 +108262,9 @@ webhooks: type: string enum: - created - enterprise: *602 - installation: *603 - key: &613 + enterprise: *604 + installation: *605 + key: &615 description: The [`deploy key`](https://docs.github.com/rest/deploy-keys/deploy-keys#get-a-deploy-key) resource. type: object @@ -107828,8 +108302,8 @@ webhooks: - verified - created_at - read_only - organization: *604 - repository: *605 + organization: *606 + repository: *607 sender: *4 required: - action @@ -107906,11 +108380,11 @@ webhooks: type: string enum: - deleted - enterprise: *602 - installation: *603 - key: *613 - organization: *604 - repository: *605 + enterprise: *604 + installation: *605 + key: *615 + organization: *606 + repository: *607 sender: *4 required: - action @@ -108482,12 +108956,12 @@ webhooks: - updated_at - statuses_url - repository_url - enterprise: *602 - installation: *603 - organization: *604 - repository: *605 + enterprise: *604 + installation: *605 + organization: *606 + repository: *607 sender: *4 - workflow: &617 + workflow: &619 title: Workflow type: - object @@ -109225,13 +109699,13 @@ webhooks: description: The URL to review the deployment protection rule. type: string format: uri - deployment: *398 + deployment: *400 pull_requests: type: array - items: *480 - repository: *605 - organization: *604 - installation: *603 + items: *482 + repository: *607 + organization: *606 + installation: *605 sender: *4 responses: '200': @@ -109302,7 +109776,7 @@ webhooks: type: string enum: - approved - approver: &614 + approver: &616 type: object properties: avatar_url: @@ -109345,11 +109819,11 @@ webhooks: type: string comment: type: string - enterprise: *602 - installation: *603 - organization: *604 - repository: *605 - reviewers: &615 + enterprise: *604 + installation: *605 + organization: *606 + repository: *607 + reviewers: &617 type: array items: type: object @@ -109430,7 +109904,7 @@ webhooks: sender: *4 since: type: string - workflow_job_run: &616 + workflow_job_run: &618 type: object properties: conclusion: @@ -110176,18 +110650,18 @@ webhooks: type: string enum: - rejected - approver: *614 + approver: *616 comment: type: string - enterprise: *602 - installation: *603 - organization: *604 - repository: *605 - reviewers: *615 + enterprise: *604 + installation: *605 + organization: *606 + repository: *607 + reviewers: *617 sender: *4 since: type: string - workflow_job_run: *616 + workflow_job_run: *618 workflow_job_runs: type: array items: @@ -110904,13 +111378,13 @@ webhooks: type: string enum: - requested - enterprise: *602 + enterprise: *604 environment: type: string - installation: *603 - organization: *604 - repository: *605 - requestor: &622 + installation: *605 + organization: *606 + repository: *607 + requestor: &624 title: User type: - object @@ -112853,12 +113327,12 @@ webhooks: - updated_at - deployment_url - repository_url - enterprise: *602 - installation: *603 - organization: *604 - repository: *605 + enterprise: *604 + installation: *605 + organization: *606 + repository: *607 sender: *4 - workflow: *617 + workflow: *619 workflow_run: title: Deployment Workflow Run type: @@ -113549,7 +114023,7 @@ webhooks: type: string enum: - answered - answer: &620 + answer: &622 type: object properties: author_association: @@ -113709,7 +114183,7 @@ webhooks: - created_at - updated_at - body - discussion: &618 + discussion: &620 title: Discussion description: A Discussion in a repository. type: object @@ -114005,7 +114479,7 @@ webhooks: - id labels: type: array - items: *443 + items: *445 required: - repository_url - category @@ -114027,10 +114501,10 @@ webhooks: - author_association - active_lock_reason - body - enterprise: *602 - installation: *603 - organization: *604 - repository: *605 + enterprise: *604 + installation: *605 + organization: *606 + repository: *607 sender: *4 required: - action @@ -114157,11 +114631,11 @@ webhooks: - from required: - category - discussion: *618 - enterprise: *602 - installation: *603 - organization: *604 - repository: *605 + discussion: *620 + enterprise: *604 + installation: *605 + organization: *606 + repository: *607 sender: *4 required: - action @@ -114244,11 +114718,11 @@ webhooks: type: string enum: - closed - discussion: *618 - enterprise: *602 - installation: *603 - organization: *604 - repository: *605 + discussion: *620 + enterprise: *604 + installation: *605 + organization: *606 + repository: *607 sender: *4 required: - action @@ -114330,7 +114804,7 @@ webhooks: type: string enum: - created - comment: &619 + comment: &621 type: object properties: author_association: @@ -114490,11 +114964,11 @@ webhooks: - updated_at - body - reactions - discussion: *618 - enterprise: *602 - installation: *603 - organization: *604 - repository: *605 + discussion: *620 + enterprise: *604 + installation: *605 + organization: *606 + repository: *607 sender: *4 required: - action @@ -114577,12 +115051,12 @@ webhooks: type: string enum: - deleted - comment: *619 - discussion: *618 - enterprise: *602 - installation: *603 - organization: *604 - repository: *605 + comment: *621 + discussion: *620 + enterprise: *604 + installation: *605 + organization: *606 + repository: *607 sender: *4 required: - action @@ -114677,12 +115151,12 @@ webhooks: - from required: - body - comment: *619 - discussion: *618 - enterprise: *602 - installation: *603 - organization: *604 - repository: *605 + comment: *621 + discussion: *620 + enterprise: *604 + installation: *605 + organization: *606 + repository: *607 sender: *4 required: - action @@ -114766,11 +115240,11 @@ webhooks: type: string enum: - created - discussion: *618 - enterprise: *602 - installation: *603 - organization: *604 - repository: *605 + discussion: *620 + enterprise: *604 + installation: *605 + organization: *606 + repository: *607 sender: *4 required: - action @@ -114852,11 +115326,11 @@ webhooks: type: string enum: - deleted - discussion: *618 - enterprise: *602 - installation: *603 - organization: *604 - repository: *605 + discussion: *620 + enterprise: *604 + installation: *605 + organization: *606 + repository: *607 sender: *4 required: - action @@ -114956,11 +115430,11 @@ webhooks: type: string required: - from - discussion: *618 - enterprise: *602 - installation: *603 - organization: *604 - repository: *605 + discussion: *620 + enterprise: *604 + installation: *605 + organization: *606 + repository: *607 sender: *4 required: - action @@ -115042,10 +115516,10 @@ webhooks: type: string enum: - labeled - discussion: *618 - enterprise: *602 - installation: *603 - label: &621 + discussion: *620 + enterprise: *604 + installation: *605 + label: &623 title: Label type: object properties: @@ -115078,8 +115552,8 @@ webhooks: - color - default - description - organization: *604 - repository: *605 + organization: *606 + repository: *607 sender: *4 required: - action @@ -115162,11 +115636,11 @@ webhooks: type: string enum: - locked - discussion: *618 - enterprise: *602 - installation: *603 - organization: *604 - repository: *605 + discussion: *620 + enterprise: *604 + installation: *605 + organization: *606 + repository: *607 sender: *4 required: - action @@ -115248,11 +115722,11 @@ webhooks: type: string enum: - pinned - discussion: *618 - enterprise: *602 - installation: *603 - organization: *604 - repository: *605 + discussion: *620 + enterprise: *604 + installation: *605 + organization: *606 + repository: *607 sender: *4 required: - action @@ -115334,11 +115808,11 @@ webhooks: type: string enum: - reopened - discussion: *618 - enterprise: *602 - installation: *603 - organization: *604 - repository: *605 + discussion: *620 + enterprise: *604 + installation: *605 + organization: *606 + repository: *607 sender: *4 required: - action @@ -115423,16 +115897,16 @@ webhooks: changes: type: object properties: - new_discussion: *618 - new_repository: *605 + new_discussion: *620 + new_repository: *607 required: - new_discussion - new_repository - discussion: *618 - enterprise: *602 - installation: *603 - organization: *604 - repository: *605 + discussion: *620 + enterprise: *604 + installation: *605 + organization: *606 + repository: *607 sender: *4 required: - action @@ -115515,10 +115989,10 @@ webhooks: type: string enum: - unanswered - discussion: *618 - old_answer: *620 - organization: *604 - repository: *605 + discussion: *620 + old_answer: *622 + organization: *606 + repository: *607 sender: *4 required: - action @@ -115600,12 +116074,12 @@ webhooks: type: string enum: - unlabeled - discussion: *618 - enterprise: *602 - installation: *603 - label: *621 - organization: *604 - repository: *605 + discussion: *620 + enterprise: *604 + installation: *605 + label: *623 + organization: *606 + repository: *607 sender: *4 required: - action @@ -115688,11 +116162,11 @@ webhooks: type: string enum: - unlocked - discussion: *618 - enterprise: *602 - installation: *603 - organization: *604 - repository: *605 + discussion: *620 + enterprise: *604 + installation: *605 + organization: *606 + repository: *607 sender: *4 required: - action @@ -115774,11 +116248,11 @@ webhooks: type: string enum: - unpinned - discussion: *618 - enterprise: *602 - installation: *603 - organization: *604 - repository: *605 + discussion: *620 + enterprise: *604 + installation: *605 + organization: *606 + repository: *607 sender: *4 required: - action @@ -115851,7 +116325,7 @@ webhooks: description: A user forks a repository. type: object properties: - enterprise: *602 + enterprise: *604 forkee: description: The created [`repository`](https://docs.github.com/rest/repos/repos#get-a-repository) resource. @@ -116529,9 +117003,9 @@ webhooks: type: integer watchers_count: type: integer - installation: *603 - organization: *604 - repository: *605 + installation: *605 + organization: *606 + repository: *607 sender: *4 required: - forkee @@ -116677,9 +117151,9 @@ webhooks: title: gollum event type: object properties: - enterprise: *602 - installation: *603 - organization: *604 + enterprise: *604 + installation: *605 + organization: *606 pages: description: The pages that were updated. type: array @@ -116717,7 +117191,7 @@ webhooks: - action - sha - html_url - repository: *605 + repository: *607 sender: *4 required: - pages @@ -116793,10 +117267,10 @@ webhooks: type: string enum: - created - enterprise: *602 + enterprise: *604 installation: *20 - organization: *604 - repositories: &623 + organization: *606 + repositories: &625 description: An array of repository objects that the installation can access. type: array @@ -116822,8 +117296,8 @@ webhooks: - name - full_name - private - repository: *605 - requester: *622 + repository: *607 + requester: *624 sender: *4 required: - action @@ -116898,11 +117372,11 @@ webhooks: type: string enum: - deleted - enterprise: *602 + enterprise: *604 installation: *20 - organization: *604 - repositories: *623 - repository: *605 + organization: *606 + repositories: *625 + repository: *607 requester: type: - 'null' @@ -116979,11 +117453,11 @@ webhooks: type: string enum: - new_permissions_accepted - enterprise: *602 + enterprise: *604 installation: *20 - organization: *604 - repositories: *623 - repository: *605 + organization: *606 + repositories: *625 + repository: *607 requester: type: - 'null' @@ -117060,10 +117534,10 @@ webhooks: type: string enum: - added - enterprise: *602 + enterprise: *604 installation: *20 - organization: *604 - repositories_added: &624 + organization: *606 + repositories_added: &626 description: An array of repository objects, which were added to the installation. type: array @@ -117109,15 +117583,15 @@ webhooks: private: description: Whether the repository is private or public. type: boolean - repository: *605 - repository_selection: &625 + repository: *607 + repository_selection: &627 description: Describe whether all repositories have been selected or there's a selection involved type: string enum: - all - selected - requester: *622 + requester: *624 sender: *4 required: - action @@ -117196,10 +117670,10 @@ webhooks: type: string enum: - removed - enterprise: *602 + enterprise: *604 installation: *20 - organization: *604 - repositories_added: *624 + organization: *606 + repositories_added: *626 repositories_removed: description: An array of repository objects, which were removed from the installation. @@ -117226,9 +117700,9 @@ webhooks: - name - full_name - private - repository: *605 - repository_selection: *625 - requester: *622 + repository: *607 + repository_selection: *627 + requester: *624 sender: *4 required: - action @@ -117307,11 +117781,11 @@ webhooks: type: string enum: - suspend - enterprise: *602 + enterprise: *604 installation: *20 - organization: *604 - repositories: *623 - repository: *605 + organization: *606 + repositories: *625 + repository: *607 requester: type: - 'null' @@ -117493,10 +117967,10 @@ webhooks: type: string required: - from - enterprise: *602 - installation: *603 - organization: *604 - repository: *605 + enterprise: *604 + installation: *605 + organization: *606 + repository: *607 sender: *4 target_type: type: string @@ -117575,11 +118049,11 @@ webhooks: type: string enum: - unsuspend - enterprise: *602 + enterprise: *604 installation: *20 - organization: *604 - repositories: *623 - repository: *605 + organization: *606 + repositories: *625 + repository: *607 requester: type: - 'null' @@ -117827,8 +118301,8 @@ webhooks: - performed_via_github_app - body - reactions - enterprise: *602 - installation: *603 + enterprise: *604 + installation: *605 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -119018,8 +119492,8 @@ webhooks: - state - locked - assignee - organization: *604 - repository: *605 + organization: *606 + repository: *607 sender: *4 required: - action @@ -119099,7 +119573,7 @@ webhooks: type: string enum: - deleted - comment: &626 + comment: &628 title: issue comment description: The [comment](https://docs.github.com/rest/issues/comments#get-an-issue-comment) itself. @@ -119266,8 +119740,8 @@ webhooks: - performed_via_github_app - body - reactions - enterprise: *602 - installation: *603 + enterprise: *604 + installation: *605 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -120455,8 +120929,8 @@ webhooks: - state - locked - assignee - organization: *604 - repository: *605 + organization: *606 + repository: *607 sender: *4 required: - action @@ -120536,7 +121010,7 @@ webhooks: type: string enum: - edited - changes: &651 + changes: &653 description: The changes to the comment. type: object properties: @@ -120548,9 +121022,9 @@ webhooks: type: string required: - from - comment: *626 - enterprise: *602 - installation: *603 + comment: *628 + enterprise: *604 + installation: *605 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -121739,8 +122213,8 @@ webhooks: - state - locked - assignee - organization: *604 - repository: *605 + organization: *606 + repository: *607 sender: *4 required: - action @@ -121822,10 +122296,10 @@ webhooks: type: string enum: - assigned - assignee: *622 - enterprise: *602 - installation: *603 - issue: &629 + assignee: *624 + enterprise: *604 + installation: *605 + issue: &631 title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -122769,8 +123243,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *604 - repository: *605 + organization: *606 + repository: *607 sender: *4 required: - action @@ -122850,8 +123324,8 @@ webhooks: type: string enum: - closed - enterprise: *602 - installation: *603 + enterprise: *604 + installation: *605 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -123943,8 +124417,8 @@ webhooks: required: - state - closed_at - organization: *604 - repository: *605 + organization: *606 + repository: *607 sender: *4 required: - action @@ -124023,8 +124497,8 @@ webhooks: type: string enum: - deleted - enterprise: *602 - installation: *603 + enterprise: *604 + installation: *605 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -124961,8 +125435,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *604 - repository: *605 + organization: *606 + repository: *607 sender: *4 required: - action @@ -125041,8 +125515,8 @@ webhooks: type: string enum: - demilestoned - enterprise: *602 - installation: *603 + enterprise: *604 + installation: *605 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -125983,7 +126457,7 @@ webhooks: format: uri user_view_type: type: string - milestone: &627 + milestone: &629 title: Milestone description: A collection of related issues and pull requests. type: object @@ -126126,8 +126600,8 @@ webhooks: - updated_at - due_on - closed_at - organization: *604 - repository: *605 + organization: *606 + repository: *607 sender: *4 required: - action @@ -126226,8 +126700,8 @@ webhooks: type: string required: - from - enterprise: *602 - installation: *603 + enterprise: *604 + installation: *605 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -127171,9 +127645,9 @@ webhooks: - active_lock_reason - body - reactions - label: *621 - organization: *604 - repository: *605 + label: *623 + organization: *606 + repository: *607 sender: *4 required: - action @@ -127253,8 +127727,8 @@ webhooks: type: string enum: - labeled - enterprise: *602 - installation: *603 + enterprise: *604 + installation: *605 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -128197,9 +128671,9 @@ webhooks: - active_lock_reason - body - reactions - label: *621 - organization: *604 - repository: *605 + label: *623 + organization: *606 + repository: *607 sender: *4 required: - action @@ -128279,8 +128753,8 @@ webhooks: type: string enum: - locked - enterprise: *602 - installation: *603 + enterprise: *604 + installation: *605 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -129225,8 +129699,8 @@ webhooks: format: uri user_view_type: type: string - organization: *604 - repository: *605 + organization: *606 + repository: *607 sender: *4 required: - action @@ -129305,8 +129779,8 @@ webhooks: type: string enum: - milestoned - enterprise: *602 - installation: *603 + enterprise: *604 + installation: *605 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -130245,9 +130719,9 @@ webhooks: format: uri user_view_type: type: string - milestone: *627 - organization: *604 - repository: *605 + milestone: *629 + organization: *606 + repository: *607 sender: *4 required: - action @@ -131747,8 +132221,8 @@ webhooks: required: - old_issue - old_repository - enterprise: *602 - installation: *603 + enterprise: *604 + installation: *605 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -132691,8 +133165,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *604 - repository: *605 + organization: *606 + repository: *607 sender: *4 required: - action @@ -132772,9 +133246,9 @@ webhooks: type: string enum: - pinned - enterprise: *602 - installation: *603 - issue: &628 + enterprise: *604 + installation: *605 + issue: &630 title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -133711,8 +134185,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *604 - repository: *605 + organization: *606 + repository: *607 sender: *4 required: - action @@ -133791,8 +134265,8 @@ webhooks: type: string enum: - reopened - enterprise: *602 - installation: *603 + enterprise: *604 + installation: *605 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -134736,8 +135210,8 @@ webhooks: format: uri user_view_type: type: string - organization: *604 - repository: *605 + organization: *606 + repository: *607 sender: *4 required: - action @@ -136237,11 +136711,11 @@ webhooks: required: - new_issue - new_repository - enterprise: *602 - installation: *603 - issue: *628 - organization: *604 - repository: *605 + enterprise: *604 + installation: *605 + issue: *630 + organization: *606 + repository: *607 sender: *4 required: - action @@ -136322,7 +136796,7 @@ webhooks: type: string enum: - unassigned - assignee: &654 + assignee: &656 title: User type: - object @@ -136394,11 +136868,11 @@ webhooks: required: - login - id - enterprise: *602 - installation: *603 - issue: *629 - organization: *604 - repository: *605 + enterprise: *604 + installation: *605 + issue: *631 + organization: *606 + repository: *607 sender: *4 required: - action @@ -136477,12 +136951,12 @@ webhooks: type: string enum: - unlabeled - enterprise: *602 - installation: *603 - issue: *629 - label: *621 - organization: *604 - repository: *605 + enterprise: *604 + installation: *605 + issue: *631 + label: *623 + organization: *606 + repository: *607 sender: *4 required: - action @@ -136562,8 +137036,8 @@ webhooks: type: string enum: - unlocked - enterprise: *602 - installation: *603 + enterprise: *604 + installation: *605 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -137506,8 +137980,8 @@ webhooks: format: uri user_view_type: type: string - organization: *604 - repository: *605 + organization: *606 + repository: *607 sender: *4 required: - action @@ -137587,11 +138061,11 @@ webhooks: type: string enum: - unpinned - enterprise: *602 - installation: *603 - issue: *628 - organization: *604 - repository: *605 + enterprise: *604 + installation: *605 + issue: *630 + organization: *606 + repository: *607 sender: *4 required: - action @@ -137670,11 +138144,11 @@ webhooks: type: string enum: - created - enterprise: *602 - installation: *603 - label: *621 - organization: *604 - repository: *605 + enterprise: *604 + installation: *605 + label: *623 + organization: *606 + repository: *607 sender: *4 required: - action @@ -137752,11 +138226,11 @@ webhooks: type: string enum: - deleted - enterprise: *602 - installation: *603 - label: *621 - organization: *604 - repository: *605 + enterprise: *604 + installation: *605 + label: *623 + organization: *606 + repository: *607 sender: *4 required: - action @@ -137866,11 +138340,11 @@ webhooks: type: string required: - from - enterprise: *602 - installation: *603 - label: *621 - organization: *604 - repository: *605 + enterprise: *604 + installation: *605 + label: *623 + organization: *606 + repository: *607 sender: *4 required: - action @@ -137952,9 +138426,9 @@ webhooks: - cancelled effective_date: type: string - enterprise: *602 - installation: *603 - marketplace_purchase: &630 + enterprise: *604 + installation: *605 + marketplace_purchase: &632 title: Marketplace Purchase type: object required: @@ -138042,8 +138516,8 @@ webhooks: type: integer unit_count: type: integer - organization: *604 - previous_marketplace_purchase: &631 + organization: *606 + previous_marketplace_purchase: &633 title: Marketplace Purchase type: object properties: @@ -138127,7 +138601,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *605 + repository: *607 sender: *4 required: - action @@ -138207,10 +138681,10 @@ webhooks: - changed effective_date: type: string - enterprise: *602 - installation: *603 - marketplace_purchase: *630 - organization: *604 + enterprise: *604 + installation: *605 + marketplace_purchase: *632 + organization: *606 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -138298,7 +138772,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *605 + repository: *607 sender: *4 required: - action @@ -138380,10 +138854,10 @@ webhooks: - pending_change effective_date: type: string - enterprise: *602 - installation: *603 - marketplace_purchase: *630 - organization: *604 + enterprise: *604 + installation: *605 + marketplace_purchase: *632 + organization: *606 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -138469,7 +138943,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *605 + repository: *607 sender: *4 required: - action @@ -138550,8 +139024,8 @@ webhooks: - pending_change_cancelled effective_date: type: string - enterprise: *602 - installation: *603 + enterprise: *604 + installation: *605 marketplace_purchase: title: Marketplace Purchase type: object @@ -138637,9 +139111,9 @@ webhooks: type: integer unit_count: type: integer - organization: *604 - previous_marketplace_purchase: *631 - repository: *605 + organization: *606 + previous_marketplace_purchase: *633 + repository: *607 sender: *4 required: - action @@ -138719,12 +139193,12 @@ webhooks: - purchased effective_date: type: string - enterprise: *602 - installation: *603 - marketplace_purchase: *630 - organization: *604 - previous_marketplace_purchase: *631 - repository: *605 + enterprise: *604 + installation: *605 + marketplace_purchase: *632 + organization: *606 + previous_marketplace_purchase: *633 + repository: *607 sender: *4 required: - action @@ -138826,11 +139300,11 @@ webhooks: type: string required: - to - enterprise: *602 - installation: *603 - member: *622 - organization: *604 - repository: *605 + enterprise: *604 + installation: *605 + member: *624 + organization: *606 + repository: *607 sender: *4 required: - action @@ -138932,11 +139406,11 @@ webhooks: type: - string - 'null' - enterprise: *602 - installation: *603 - member: *622 - organization: *604 - repository: *605 + enterprise: *604 + installation: *605 + member: *624 + organization: *606 + repository: *607 sender: *4 required: - action @@ -139015,11 +139489,11 @@ webhooks: type: string enum: - removed - enterprise: *602 - installation: *603 - member: *622 - organization: *604 - repository: *605 + enterprise: *604 + installation: *605 + member: *624 + organization: *606 + repository: *607 sender: *4 required: - action @@ -139097,11 +139571,11 @@ webhooks: type: string enum: - added - enterprise: *602 - installation: *603 - member: *622 - organization: *604 - repository: *605 + enterprise: *604 + installation: *605 + member: *624 + organization: *606 + repository: *607 scope: description: The scope of the membership. Currently, can only be `team`. @@ -139179,7 +139653,7 @@ webhooks: required: - login - id - team: &632 + team: &634 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -139372,11 +139846,11 @@ webhooks: type: string enum: - removed - enterprise: *602 - installation: *603 - member: *622 - organization: *604 - repository: *605 + enterprise: *604 + installation: *605 + member: *624 + organization: *606 + repository: *607 scope: description: The scope of the membership. Currently, can only be `team`. @@ -139455,7 +139929,7 @@ webhooks: required: - login - id - team: *632 + team: *634 required: - action - scope @@ -139537,8 +140011,8 @@ webhooks: type: string enum: - checks_requested - installation: *603 - merge_group: &633 + installation: *605 + merge_group: &635 type: object title: Merge Group description: A group of pull requests that the merge queue has grouped @@ -139557,15 +140031,15 @@ webhooks: description: The full ref of the branch the merge group will be merged into. type: string - head_commit: *329 + head_commit: *331 required: - head_sha - head_ref - base_sha - base_ref - head_commit - organization: *604 - repository: *605 + organization: *606 + repository: *607 sender: *4 required: - action @@ -139651,10 +140125,10 @@ webhooks: - merged - invalidated - dequeued - installation: *603 - merge_group: *633 - organization: *604 - repository: *605 + installation: *605 + merge_group: *635 + organization: *606 + repository: *607 sender: *4 required: - action @@ -139727,7 +140201,7 @@ webhooks: type: string enum: - deleted - enterprise: *602 + enterprise: *604 hook: description: 'The modified webhook. This will contain different keys based on the type of webhook it is: repository, organization, @@ -139835,12 +140309,12 @@ webhooks: hook_id: description: The id of the modified webhook. type: integer - installation: *603 - organization: *604 + installation: *605 + organization: *606 repository: anyOf: - type: 'null' - - *605 + - *607 sender: *4 required: - action @@ -139920,11 +140394,11 @@ webhooks: type: string enum: - closed - enterprise: *602 - installation: *603 - milestone: *627 - organization: *604 - repository: *605 + enterprise: *604 + installation: *605 + milestone: *629 + organization: *606 + repository: *607 sender: *4 required: - action @@ -140003,9 +140477,9 @@ webhooks: type: string enum: - created - enterprise: *602 - installation: *603 - milestone: &634 + enterprise: *604 + installation: *605 + milestone: &636 title: Milestone description: A collection of related issues and pull requests. type: object @@ -140147,8 +140621,8 @@ webhooks: - updated_at - due_on - closed_at - organization: *604 - repository: *605 + organization: *606 + repository: *607 sender: *4 required: - action @@ -140227,11 +140701,11 @@ webhooks: type: string enum: - deleted - enterprise: *602 - installation: *603 - milestone: *627 - organization: *604 - repository: *605 + enterprise: *604 + installation: *605 + milestone: *629 + organization: *606 + repository: *607 sender: *4 required: - action @@ -140341,11 +140815,11 @@ webhooks: type: string required: - from - enterprise: *602 - installation: *603 - milestone: *627 - organization: *604 - repository: *605 + enterprise: *604 + installation: *605 + milestone: *629 + organization: *606 + repository: *607 sender: *4 required: - action @@ -140425,11 +140899,11 @@ webhooks: type: string enum: - opened - enterprise: *602 - installation: *603 - milestone: *634 - organization: *604 - repository: *605 + enterprise: *604 + installation: *605 + milestone: *636 + organization: *606 + repository: *607 sender: *4 required: - action @@ -140508,11 +140982,11 @@ webhooks: type: string enum: - blocked - blocked_user: *622 - enterprise: *602 - installation: *603 - organization: *604 - repository: *605 + blocked_user: *624 + enterprise: *604 + installation: *605 + organization: *606 + repository: *607 sender: *4 required: - action @@ -140591,11 +141065,11 @@ webhooks: type: string enum: - unblocked - blocked_user: *622 - enterprise: *602 - installation: *603 - organization: *604 - repository: *605 + blocked_user: *624 + enterprise: *604 + installation: *605 + organization: *606 + repository: *607 sender: *4 required: - action @@ -140674,9 +141148,9 @@ webhooks: type: string enum: - deleted - enterprise: *602 - installation: *603 - membership: &635 + enterprise: *604 + installation: *605 + membership: &637 title: Membership description: The membership between the user and the organization. Not present when the action is `member_invited`. @@ -140770,8 +141244,8 @@ webhooks: - role - organization_url - user - organization: *604 - repository: *605 + organization: *606 + repository: *607 sender: *4 required: - action @@ -140849,11 +141323,11 @@ webhooks: type: string enum: - member_added - enterprise: *602 - installation: *603 - membership: *635 - organization: *604 - repository: *605 + enterprise: *604 + installation: *605 + membership: *637 + organization: *606 + repository: *607 sender: *4 required: - action @@ -140932,8 +141406,8 @@ webhooks: type: string enum: - member_invited - enterprise: *602 - installation: *603 + enterprise: *604 + installation: *605 invitation: description: The invitation for the user or email if the action is `member_invited`. @@ -141055,10 +141529,10 @@ webhooks: - inviter - team_count - invitation_teams_url - organization: *604 - repository: *605 + organization: *606 + repository: *607 sender: *4 - user: *622 + user: *624 required: - action - invitation @@ -141136,11 +141610,11 @@ webhooks: type: string enum: - member_removed - enterprise: *602 - installation: *603 - membership: *635 - organization: *604 - repository: *605 + enterprise: *604 + installation: *605 + membership: *637 + organization: *606 + repository: *607 sender: *4 required: - action @@ -141227,11 +141701,11 @@ webhooks: properties: from: type: string - enterprise: *602 - installation: *603 - membership: *635 - organization: *604 - repository: *605 + enterprise: *604 + installation: *605 + membership: *637 + organization: *606 + repository: *607 sender: *4 required: - action @@ -141307,9 +141781,9 @@ webhooks: type: string enum: - published - enterprise: *602 - installation: *603 - organization: *604 + enterprise: *604 + installation: *605 + organization: *606 package: description: Information about the package. type: object @@ -141832,7 +142306,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: &636 + items: &638 title: Ruby Gems metadata type: object properties: @@ -141929,7 +142403,7 @@ webhooks: - owner - package_version - registry - repository: *605 + repository: *607 sender: *4 required: - action @@ -142005,9 +142479,9 @@ webhooks: type: string enum: - updated - enterprise: *602 - installation: *603 - organization: *604 + enterprise: *604 + installation: *605 + organization: *606 package: description: Information about the package. type: object @@ -142369,7 +142843,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: *636 + items: *638 source_url: type: string format: uri @@ -142440,7 +142914,7 @@ webhooks: - owner - package_version - registry - repository: *605 + repository: *607 sender: *4 required: - action @@ -142621,12 +143095,12 @@ webhooks: - duration - created_at - updated_at - enterprise: *602 + enterprise: *604 id: type: integer - installation: *603 - organization: *604 - repository: *605 + installation: *605 + organization: *606 + repository: *607 sender: *4 required: - id @@ -142706,7 +143180,7 @@ webhooks: type: string enum: - approved - personal_access_token_request: &637 + personal_access_token_request: &639 title: Personal Access Token Request description: Details of a Personal Access Token Request. type: object @@ -142856,10 +143330,10 @@ webhooks: - token_expired - token_expires_at - token_last_used_at - enterprise: *602 - organization: *604 + enterprise: *604 + organization: *606 sender: *4 - installation: *603 + installation: *605 required: - action - personal_access_token_request @@ -142938,11 +143412,11 @@ webhooks: type: string enum: - cancelled - personal_access_token_request: *637 - enterprise: *602 - organization: *604 + personal_access_token_request: *639 + enterprise: *604 + organization: *606 sender: *4 - installation: *603 + installation: *605 required: - action - personal_access_token_request @@ -143020,11 +143494,11 @@ webhooks: type: string enum: - created - personal_access_token_request: *637 - enterprise: *602 - organization: *604 + personal_access_token_request: *639 + enterprise: *604 + organization: *606 sender: *4 - installation: *603 + installation: *605 required: - action - personal_access_token_request @@ -143101,11 +143575,11 @@ webhooks: type: string enum: - denied - personal_access_token_request: *637 - organization: *604 - enterprise: *602 + personal_access_token_request: *639 + organization: *606 + enterprise: *604 sender: *4 - installation: *603 + installation: *605 required: - action - personal_access_token_request @@ -143209,7 +143683,7 @@ webhooks: id: description: Unique identifier of the webhook. type: integer - last_response: *638 + last_response: *640 name: description: The type of webhook. The only valid value is 'web'. type: string @@ -143241,8 +143715,8 @@ webhooks: hook_id: description: The ID of the webhook that triggered the ping. type: integer - organization: *604 - repository: *605 + organization: *606 + repository: *607 sender: *4 zen: description: Random string of GitHub zen. @@ -143487,10 +143961,10 @@ webhooks: - from required: - note - enterprise: *602 - installation: *603 - organization: *604 - project_card: &639 + enterprise: *604 + installation: *605 + organization: *606 + project_card: &641 title: Project Card type: object properties: @@ -143613,7 +144087,7 @@ webhooks: - creator - created_at - updated_at - repository: *605 + repository: *607 sender: *4 required: - action @@ -143694,11 +144168,11 @@ webhooks: type: string enum: - created - enterprise: *602 - installation: *603 - organization: *604 - project_card: *639 - repository: *605 + enterprise: *604 + installation: *605 + organization: *606 + project_card: *641 + repository: *607 sender: *4 required: - action @@ -143778,9 +144252,9 @@ webhooks: type: string enum: - deleted - enterprise: *602 - installation: *603 - organization: *604 + enterprise: *604 + installation: *605 + organization: *606 project_card: title: Project Card type: object @@ -143910,7 +144384,7 @@ webhooks: repository: anyOf: - type: 'null' - - *605 + - *607 sender: *4 required: - action @@ -144004,11 +144478,11 @@ webhooks: - from required: - note - enterprise: *602 - installation: *603 - organization: *604 - project_card: *639 - repository: *605 + enterprise: *604 + installation: *605 + organization: *606 + project_card: *641 + repository: *607 sender: *4 required: - action @@ -144102,9 +144576,9 @@ webhooks: - from required: - column_id - enterprise: *602 - installation: *603 - organization: *604 + enterprise: *604 + installation: *605 + organization: *606 project_card: allOf: - title: Project Card @@ -144301,7 +144775,7 @@ webhooks: type: string required: - after_id - repository: *605 + repository: *607 sender: *4 required: - action @@ -144381,10 +144855,10 @@ webhooks: type: string enum: - closed - enterprise: *602 - installation: *603 - organization: *604 - project: &641 + enterprise: *604 + installation: *605 + organization: *606 + project: &643 title: Project type: object properties: @@ -144511,7 +144985,7 @@ webhooks: - creator - created_at - updated_at - repository: *605 + repository: *607 sender: *4 required: - action @@ -144591,10 +145065,10 @@ webhooks: type: string enum: - created - enterprise: *602 - installation: *603 - organization: *604 - project_column: &640 + enterprise: *604 + installation: *605 + organization: *606 + project_column: &642 title: Project Column type: object properties: @@ -144634,7 +145108,7 @@ webhooks: - name - created_at - updated_at - repository: *605 + repository: *607 sender: *4 required: - action @@ -144713,14 +145187,14 @@ webhooks: type: string enum: - deleted - enterprise: *602 - installation: *603 - organization: *604 - project_column: *640 + enterprise: *604 + installation: *605 + organization: *606 + project_column: *642 repository: anyOf: - type: 'null' - - *605 + - *607 sender: *4 required: - action @@ -144809,11 +145283,11 @@ webhooks: type: string required: - from - enterprise: *602 - installation: *603 - organization: *604 - project_column: *640 - repository: *605 + enterprise: *604 + installation: *605 + organization: *606 + project_column: *642 + repository: *607 sender: *4 required: - action @@ -144893,11 +145367,11 @@ webhooks: type: string enum: - moved - enterprise: *602 - installation: *603 - organization: *604 - project_column: *640 - repository: *605 + enterprise: *604 + installation: *605 + organization: *606 + project_column: *642 + repository: *607 sender: *4 required: - action @@ -144977,11 +145451,11 @@ webhooks: type: string enum: - created - enterprise: *602 - installation: *603 - organization: *604 - project: *641 - repository: *605 + enterprise: *604 + installation: *605 + organization: *606 + project: *643 + repository: *607 sender: *4 required: - action @@ -145061,14 +145535,14 @@ webhooks: type: string enum: - deleted - enterprise: *602 - installation: *603 - organization: *604 - project: *641 + enterprise: *604 + installation: *605 + organization: *606 + project: *643 repository: anyOf: - type: 'null' - - *605 + - *607 sender: *4 required: - action @@ -145169,11 +145643,11 @@ webhooks: type: string required: - from - enterprise: *602 - installation: *603 - organization: *604 - project: *641 - repository: *605 + enterprise: *604 + installation: *605 + organization: *606 + project: *643 + repository: *607 sender: *4 required: - action @@ -145252,11 +145726,11 @@ webhooks: type: string enum: - reopened - enterprise: *602 - installation: *603 - organization: *604 - project: *641 - repository: *605 + enterprise: *604 + installation: *605 + organization: *606 + project: *643 + repository: *607 sender: *4 required: - action @@ -145337,9 +145811,9 @@ webhooks: type: string enum: - closed - installation: *603 - organization: *604 - projects_v2: &642 + installation: *605 + organization: *606 + projects_v2: &644 title: Projects v2 Project description: A projects v2 project type: object @@ -145487,9 +145961,9 @@ webhooks: type: string enum: - created - installation: *603 - organization: *604 - projects_v2: *642 + installation: *605 + organization: *606 + projects_v2: *644 sender: *4 required: - action @@ -145570,9 +146044,9 @@ webhooks: type: string enum: - deleted - installation: *603 - organization: *604 - projects_v2: *642 + installation: *605 + organization: *606 + projects_v2: *644 sender: *4 required: - action @@ -145693,9 +146167,9 @@ webhooks: type: string to: type: string - installation: *603 - organization: *604 - projects_v2: *642 + installation: *605 + organization: *606 + projects_v2: *644 sender: *4 required: - action @@ -145778,7 +146252,7 @@ webhooks: type: string enum: - archived - changes: &646 + changes: &648 type: object properties: archived_at: @@ -145794,9 +146268,9 @@ webhooks: - string - 'null' format: date-time - installation: *603 - organization: *604 - projects_v2_item: &643 + installation: *605 + organization: *606 + projects_v2_item: &645 title: Projects v2 Item description: An item belonging to a project type: object @@ -145935,9 +146409,9 @@ webhooks: - 'null' to: type: string - installation: *603 - organization: *604 - projects_v2_item: *643 + installation: *605 + organization: *606 + projects_v2_item: *645 sender: *4 required: - action @@ -146019,9 +146493,9 @@ webhooks: type: string enum: - created - installation: *603 - organization: *604 - projects_v2_item: *643 + installation: *605 + organization: *606 + projects_v2_item: *645 sender: *4 required: - action @@ -146102,9 +146576,9 @@ webhooks: type: string enum: - deleted - installation: *603 - organization: *604 - projects_v2_item: *643 + installation: *605 + organization: *606 + projects_v2_item: *645 sender: *4 required: - action @@ -146209,7 +146683,7 @@ webhooks: oneOf: - type: string - type: integer - - &644 + - &646 title: Projects v2 Single Select Option description: An option for a single select field type: object @@ -146229,7 +146703,7 @@ webhooks: required: - id - name - - &645 + - &647 title: Projects v2 Iteration Setting description: An iteration setting for an iteration field type: object @@ -146258,8 +146732,8 @@ webhooks: oneOf: - type: string - type: integer - - *644 - - *645 + - *646 + - *647 type: - 'null' - string @@ -146282,9 +146756,9 @@ webhooks: - 'null' required: - body - installation: *603 - organization: *604 - projects_v2_item: *643 + installation: *605 + organization: *606 + projects_v2_item: *645 sender: *4 required: - action @@ -146381,9 +146855,9 @@ webhooks: type: - string - 'null' - installation: *603 - organization: *604 - projects_v2_item: *643 + installation: *605 + organization: *606 + projects_v2_item: *645 sender: *4 required: - action @@ -146466,10 +146940,10 @@ webhooks: type: string enum: - restored - changes: *646 - installation: *603 - organization: *604 - projects_v2_item: *643 + changes: *648 + installation: *605 + organization: *606 + projects_v2_item: *645 sender: *4 required: - action @@ -146551,9 +147025,9 @@ webhooks: type: string enum: - reopened - installation: *603 - organization: *604 - projects_v2: *642 + installation: *605 + organization: *606 + projects_v2: *644 sender: *4 required: - action @@ -146634,9 +147108,9 @@ webhooks: type: string enum: - created - installation: *603 - organization: *604 - projects_v2_status_update: &647 + installation: *605 + organization: *606 + projects_v2_status_update: &649 title: Projects v2 Status Update description: An status update belonging to a project type: object @@ -146771,9 +147245,9 @@ webhooks: type: string enum: - deleted - installation: *603 - organization: *604 - projects_v2_status_update: *647 + installation: *605 + organization: *606 + projects_v2_status_update: *649 sender: *4 required: - action @@ -146919,9 +147393,9 @@ webhooks: - string - 'null' format: date - installation: *603 - organization: *604 - projects_v2_status_update: *647 + installation: *605 + organization: *606 + projects_v2_status_update: *649 sender: *4 required: - action @@ -146992,10 +147466,10 @@ webhooks: title: public event type: object properties: - enterprise: *602 - installation: *603 - organization: *604 - repository: *605 + enterprise: *604 + installation: *605 + organization: *606 + repository: *607 sender: *4 required: - repository @@ -147072,13 +147546,13 @@ webhooks: type: string enum: - assigned - assignee: *622 - enterprise: *602 - installation: *603 - number: &648 + assignee: *624 + enterprise: *604 + installation: *605 + number: &650 description: The pull request number. type: integer - organization: *604 + organization: *606 pull_request: title: Pull Request type: object @@ -149427,7 +149901,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *605 + repository: *607 sender: *4 required: - action @@ -149509,11 +149983,11 @@ webhooks: type: string enum: - auto_merge_disabled - enterprise: *602 - installation: *603 + enterprise: *604 + installation: *605 number: type: integer - organization: *604 + organization: *606 pull_request: title: Pull Request type: object @@ -151855,7 +152329,7 @@ webhooks: - draft reason: type: string - repository: *605 + repository: *607 sender: *4 required: - action @@ -151937,11 +152411,11 @@ webhooks: type: string enum: - auto_merge_enabled - enterprise: *602 - installation: *603 + enterprise: *604 + installation: *605 number: type: integer - organization: *604 + organization: *606 pull_request: title: Pull Request type: object @@ -154283,7 +154757,7 @@ webhooks: - draft reason: type: string - repository: *605 + repository: *607 sender: *4 required: - action @@ -154365,13 +154839,13 @@ webhooks: type: string enum: - closed - enterprise: *602 - installation: *603 - number: *648 - organization: *604 - pull_request: &649 + enterprise: *604 + installation: *605 + number: *650 + organization: *606 + pull_request: &651 allOf: - - *480 + - *482 - type: object properties: allow_auto_merge: @@ -154433,7 +154907,7 @@ webhooks: Please use `squash_merge_commit_title` instead.** type: boolean default: false - repository: *605 + repository: *607 sender: *4 required: - action @@ -154514,12 +154988,12 @@ webhooks: type: string enum: - converted_to_draft - enterprise: *602 - installation: *603 - number: *648 - organization: *604 - pull_request: *649 - repository: *605 + enterprise: *604 + installation: *605 + number: *650 + organization: *606 + pull_request: *651 + repository: *607 sender: *4 required: - action @@ -154599,11 +155073,11 @@ webhooks: type: string enum: - demilestoned - enterprise: *602 - milestone: *378 - number: *648 - organization: *604 - pull_request: &650 + enterprise: *604 + milestone: *380 + number: *650 + organization: *606 + pull_request: &652 title: Pull Request type: object properties: @@ -156930,7 +157404,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *605 + repository: *607 sender: *4 required: - action @@ -157009,11 +157483,11 @@ webhooks: type: string enum: - dequeued - enterprise: *602 - installation: *603 + enterprise: *604 + installation: *605 number: type: integer - organization: *604 + organization: *606 pull_request: title: Pull Request type: object @@ -159359,7 +159833,7 @@ webhooks: - BRANCH_PROTECTIONS - GIT_TREE_INVALID - INVALID_MERGE_COMMIT - repository: *605 + repository: *607 sender: *4 required: - action @@ -159483,12 +159957,12 @@ webhooks: type: string required: - from - enterprise: *602 - installation: *603 - number: *648 - organization: *604 - pull_request: *649 - repository: *605 + enterprise: *604 + installation: *605 + number: *650 + organization: *606 + pull_request: *651 + repository: *607 sender: *4 required: - action @@ -159568,11 +160042,11 @@ webhooks: type: string enum: - enqueued - enterprise: *602 - installation: *603 + enterprise: *604 + installation: *605 number: type: integer - organization: *604 + organization: *606 pull_request: title: Pull Request type: object @@ -161903,7 +162377,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *605 + repository: *607 sender: *4 required: - action @@ -161983,11 +162457,11 @@ webhooks: type: string enum: - labeled - enterprise: *602 - installation: *603 - label: *621 - number: *648 - organization: *604 + enterprise: *604 + installation: *605 + label: *623 + number: *650 + organization: *606 pull_request: title: Pull Request type: object @@ -164335,7 +164809,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *605 + repository: *607 sender: *4 required: - action @@ -164416,10 +164890,10 @@ webhooks: type: string enum: - locked - enterprise: *602 - installation: *603 - number: *648 - organization: *604 + enterprise: *604 + installation: *605 + number: *650 + organization: *606 pull_request: title: Pull Request type: object @@ -166765,7 +167239,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *605 + repository: *607 sender: *4 required: - action @@ -166845,12 +167319,12 @@ webhooks: type: string enum: - milestoned - enterprise: *602 - milestone: *378 - number: *648 - organization: *604 - pull_request: *650 - repository: *605 + enterprise: *604 + milestone: *380 + number: *650 + organization: *606 + pull_request: *652 + repository: *607 sender: *4 required: - action @@ -166929,12 +167403,12 @@ webhooks: type: string enum: - opened - enterprise: *602 - installation: *603 - number: *648 - organization: *604 - pull_request: *649 - repository: *605 + enterprise: *604 + installation: *605 + number: *650 + organization: *606 + pull_request: *651 + repository: *607 sender: *4 required: - action @@ -167015,12 +167489,12 @@ webhooks: type: string enum: - ready_for_review - enterprise: *602 - installation: *603 - number: *648 - organization: *604 - pull_request: *649 - repository: *605 + enterprise: *604 + installation: *605 + number: *650 + organization: *606 + pull_request: *651 + repository: *607 sender: *4 required: - action @@ -167100,12 +167574,12 @@ webhooks: type: string enum: - reopened - enterprise: *602 - installation: *603 - number: *648 - organization: *604 - pull_request: *649 - repository: *605 + enterprise: *604 + installation: *605 + number: *650 + organization: *606 + pull_request: *651 + repository: *607 sender: *4 required: - action @@ -167480,9 +167954,9 @@ webhooks: - start_side - side - reactions - enterprise: *602 - installation: *603 - organization: *604 + enterprise: *604 + installation: *605 + organization: *606 pull_request: type: object properties: @@ -169712,7 +170186,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *605 + repository: *607 sender: *4 required: - action @@ -169792,7 +170266,7 @@ webhooks: type: string enum: - deleted - comment: &652 + comment: &654 title: Pull Request Review Comment description: The [comment](https://docs.github.com/rest/pulls/comments#get-a-review-comment-for-a-pull-request) itself. @@ -170085,9 +170559,9 @@ webhooks: - start_side - side - reactions - enterprise: *602 - installation: *603 - organization: *604 + enterprise: *604 + installation: *605 + organization: *606 pull_request: type: object properties: @@ -172305,7 +172779,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *605 + repository: *607 sender: *4 required: - action @@ -172385,11 +172859,11 @@ webhooks: type: string enum: - edited - changes: *651 - comment: *652 - enterprise: *602 - installation: *603 - organization: *604 + changes: *653 + comment: *654 + enterprise: *604 + installation: *605 + organization: *606 pull_request: type: object properties: @@ -174610,7 +175084,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *605 + repository: *607 sender: *4 required: - action @@ -174691,9 +175165,9 @@ webhooks: type: string enum: - dismissed - enterprise: *602 - installation: *603 - organization: *604 + enterprise: *604 + installation: *605 + organization: *606 pull_request: title: Simple Pull Request type: object @@ -176926,7 +177400,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *605 + repository: *607 review: description: The review that was affected. type: object @@ -177172,9 +177646,9 @@ webhooks: type: string required: - from - enterprise: *602 - installation: *603 - organization: *604 + enterprise: *604 + installation: *605 + organization: *606 pull_request: title: Simple Pull Request type: object @@ -179288,8 +179762,8 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *605 - review: &653 + repository: *607 + review: &655 description: The review that was affected. type: object properties: @@ -179522,12 +179996,12 @@ webhooks: type: string enum: - review_request_removed - enterprise: *602 - installation: *603 + enterprise: *604 + installation: *605 number: description: The pull request number. type: integer - organization: *604 + organization: *606 pull_request: title: Pull Request type: object @@ -181874,7 +182348,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *605 + repository: *607 requested_reviewer: title: User type: @@ -181960,12 +182434,12 @@ webhooks: type: string enum: - review_request_removed - enterprise: *602 - installation: *603 + enterprise: *604 + installation: *605 number: description: The pull request number. type: integer - organization: *604 + organization: *606 pull_request: title: Pull Request type: object @@ -184319,7 +184793,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *605 + repository: *607 requested_team: title: Team description: Groups of organization members that gives permissions @@ -184514,12 +184988,12 @@ webhooks: type: string enum: - review_requested - enterprise: *602 - installation: *603 + enterprise: *604 + installation: *605 number: description: The pull request number. type: integer - organization: *604 + organization: *606 pull_request: title: Pull Request type: object @@ -186868,7 +187342,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *605 + repository: *607 requested_reviewer: title: User type: @@ -186955,12 +187429,12 @@ webhooks: type: string enum: - review_requested - enterprise: *602 - installation: *603 + enterprise: *604 + installation: *605 number: description: The pull request number. type: integer - organization: *604 + organization: *606 pull_request: title: Pull Request type: object @@ -189300,7 +189774,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *605 + repository: *607 requested_team: title: Team description: Groups of organization members that gives permissions @@ -189484,9 +189958,9 @@ webhooks: type: string enum: - submitted - enterprise: *602 - installation: *603 - organization: *604 + enterprise: *604 + installation: *605 + organization: *606 pull_request: title: Simple Pull Request type: object @@ -191722,8 +192196,8 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *605 - review: *653 + repository: *607 + review: *655 sender: *4 required: - action @@ -191803,9 +192277,9 @@ webhooks: type: string enum: - resolved - enterprise: *602 - installation: *603 - organization: *604 + enterprise: *604 + installation: *605 + organization: *606 pull_request: title: Simple Pull Request type: object @@ -193936,7 +194410,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *605 + repository: *607 sender: *4 thread: type: object @@ -194328,9 +194802,9 @@ webhooks: type: string enum: - unresolved - enterprise: *602 - installation: *603 - organization: *604 + enterprise: *604 + installation: *605 + organization: *606 pull_request: title: Simple Pull Request type: object @@ -196444,7 +196918,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *605 + repository: *607 sender: *4 thread: type: object @@ -196838,10 +197312,10 @@ webhooks: type: string before: type: string - enterprise: *602 - installation: *603 - number: *648 - organization: *604 + enterprise: *604 + installation: *605 + number: *650 + organization: *606 pull_request: title: Pull Request type: object @@ -199176,7 +199650,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *605 + repository: *607 sender: *4 required: - action @@ -199258,11 +199732,11 @@ webhooks: type: string enum: - unassigned - assignee: *654 - enterprise: *602 - installation: *603 - number: *648 - organization: *604 + assignee: *656 + enterprise: *604 + installation: *605 + number: *650 + organization: *606 pull_request: title: Pull Request type: object @@ -201612,7 +202086,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *605 + repository: *607 sender: *4 required: - action @@ -201691,11 +202165,11 @@ webhooks: type: string enum: - unlabeled - enterprise: *602 - installation: *603 - label: *621 - number: *648 - organization: *604 + enterprise: *604 + installation: *605 + label: *623 + number: *650 + organization: *606 pull_request: title: Pull Request type: object @@ -204034,7 +204508,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *605 + repository: *607 sender: *4 required: - action @@ -204115,10 +204589,10 @@ webhooks: type: string enum: - unlocked - enterprise: *602 - installation: *603 - number: *648 - organization: *604 + enterprise: *604 + installation: *605 + number: *650 + organization: *606 pull_request: title: Pull Request type: object @@ -206447,7 +206921,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *605 + repository: *607 sender: *4 required: - action @@ -206650,7 +207124,7 @@ webhooks: deleted: description: Whether this push deleted the `ref`. type: boolean - enterprise: *602 + enterprise: *604 forced: description: Whether this push was a force push of the `ref`. type: boolean @@ -206745,8 +207219,8 @@ webhooks: - url - author - committer - installation: *603 - organization: *604 + installation: *605 + organization: *606 pusher: title: Committer description: Metaproperties for Git author/committer information. @@ -207334,9 +207808,9 @@ webhooks: type: string enum: - published - enterprise: *602 - installation: *603 - organization: *604 + enterprise: *604 + installation: *605 + organization: *606 registry_package: type: object properties: @@ -207813,7 +208287,7 @@ webhooks: type: string rubygems_metadata: type: array - items: *636 + items: *638 summary: type: string tag_name: @@ -207869,7 +208343,7 @@ webhooks: - owner - package_version - registry - repository: *605 + repository: *607 sender: *4 required: - action @@ -207947,9 +208421,9 @@ webhooks: type: string enum: - updated - enterprise: *602 - installation: *603 - organization: *604 + enterprise: *604 + installation: *605 + organization: *606 registry_package: type: object properties: @@ -208261,7 +208735,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: *636 + items: *638 summary: type: string tag_name: @@ -208311,7 +208785,7 @@ webhooks: - owner - package_version - registry - repository: *605 + repository: *607 sender: *4 required: - action @@ -208388,10 +208862,10 @@ webhooks: type: string enum: - created - enterprise: *602 - installation: *603 - organization: *604 - release: &655 + enterprise: *604 + installation: *605 + organization: *606 + release: &657 title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) object. @@ -208707,7 +209181,7 @@ webhooks: - tarball_url - zipball_url - body - repository: *605 + repository: *607 sender: *4 required: - action @@ -208784,11 +209258,11 @@ webhooks: type: string enum: - deleted - enterprise: *602 - installation: *603 - organization: *604 - release: *655 - repository: *605 + enterprise: *604 + installation: *605 + organization: *606 + release: *657 + repository: *607 sender: *4 required: - action @@ -208896,11 +209370,11 @@ webhooks: type: boolean required: - to - enterprise: *602 - installation: *603 - organization: *604 - release: *655 - repository: *605 + enterprise: *604 + installation: *605 + organization: *606 + release: *657 + repository: *607 sender: *4 required: - action @@ -208978,9 +209452,9 @@ webhooks: type: string enum: - prereleased - enterprise: *602 - installation: *603 - organization: *604 + enterprise: *604 + installation: *605 + organization: *606 release: title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) @@ -209301,7 +209775,7 @@ webhooks: - string - 'null' format: uri - repository: *605 + repository: *607 sender: *4 required: - action @@ -209377,10 +209851,10 @@ webhooks: type: string enum: - published - enterprise: *602 - installation: *603 - organization: *604 - release: &656 + enterprise: *604 + installation: *605 + organization: *606 + release: &658 title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) object. @@ -209698,7 +210172,7 @@ webhooks: - string - 'null' format: uri - repository: *605 + repository: *607 sender: *4 required: - action @@ -209774,11 +210248,11 @@ webhooks: type: string enum: - released - enterprise: *602 - installation: *603 - organization: *604 - release: *655 - repository: *605 + enterprise: *604 + installation: *605 + organization: *606 + release: *657 + repository: *607 sender: *4 required: - action @@ -209854,11 +210328,11 @@ webhooks: type: string enum: - unpublished - enterprise: *602 - installation: *603 - organization: *604 - release: *656 - repository: *605 + enterprise: *604 + installation: *605 + organization: *606 + release: *658 + repository: *607 sender: *4 required: - action @@ -209934,11 +210408,11 @@ webhooks: type: string enum: - published - enterprise: *602 - installation: *603 - organization: *604 - repository: *605 - repository_advisory: *534 + enterprise: *604 + installation: *605 + organization: *606 + repository: *607 + repository_advisory: *536 sender: *4 required: - action @@ -210014,11 +210488,11 @@ webhooks: type: string enum: - reported - enterprise: *602 - installation: *603 - organization: *604 - repository: *605 - repository_advisory: *534 + enterprise: *604 + installation: *605 + organization: *606 + repository: *607 + repository_advisory: *536 sender: *4 required: - action @@ -210094,10 +210568,10 @@ webhooks: type: string enum: - archived - enterprise: *602 - installation: *603 - organization: *604 - repository: *605 + enterprise: *604 + installation: *605 + organization: *606 + repository: *607 sender: *4 required: - action @@ -210174,10 +210648,10 @@ webhooks: type: string enum: - created - enterprise: *602 - installation: *603 - organization: *604 - repository: *605 + enterprise: *604 + installation: *605 + organization: *606 + repository: *607 sender: *4 required: - action @@ -210255,10 +210729,10 @@ webhooks: type: string enum: - deleted - enterprise: *602 - installation: *603 - organization: *604 - repository: *605 + enterprise: *604 + installation: *605 + organization: *606 + repository: *607 sender: *4 required: - action @@ -210343,10 +210817,10 @@ webhooks: additionalProperties: true description: The `client_payload` that was specified in the `POST /repos/{owner}/{repo}/dispatches` request body. - enterprise: *602 - installation: *603 - organization: *604 - repository: *605 + enterprise: *604 + installation: *605 + organization: *606 + repository: *607 sender: *4 required: - action @@ -210461,10 +210935,10 @@ webhooks: - 'null' items: type: string - enterprise: *602 - installation: *603 - organization: *604 - repository: *605 + enterprise: *604 + installation: *605 + organization: *606 + repository: *607 sender: *4 required: - action @@ -210536,10 +211010,10 @@ webhooks: title: repository_import event type: object properties: - enterprise: *602 - installation: *603 - organization: *604 - repository: *605 + enterprise: *604 + installation: *605 + organization: *606 + repository: *607 sender: *4 status: type: string @@ -210620,10 +211094,10 @@ webhooks: type: string enum: - privatized - enterprise: *602 - installation: *603 - organization: *604 - repository: *605 + enterprise: *604 + installation: *605 + organization: *606 + repository: *607 sender: *4 required: - action @@ -210700,10 +211174,10 @@ webhooks: type: string enum: - publicized - enterprise: *602 - installation: *603 - organization: *604 - repository: *605 + enterprise: *604 + installation: *605 + organization: *606 + repository: *607 sender: *4 required: - action @@ -210797,10 +211271,10 @@ webhooks: - name required: - repository - enterprise: *602 - installation: *603 - organization: *604 - repository: *605 + enterprise: *604 + installation: *605 + organization: *606 + repository: *607 sender: *4 required: - action @@ -210880,11 +211354,11 @@ webhooks: type: string enum: - created - enterprise: *602 - installation: *603 - organization: *604 - repository: *605 - repository_ruleset: *214 + enterprise: *604 + installation: *605 + organization: *606 + repository: *607 + repository_ruleset: *216 sender: *4 required: - action @@ -210962,11 +211436,11 @@ webhooks: type: string enum: - deleted - enterprise: *602 - installation: *603 - organization: *604 - repository: *605 - repository_ruleset: *214 + enterprise: *604 + installation: *605 + organization: *606 + repository: *607 + repository_ruleset: *216 sender: *4 required: - action @@ -211044,11 +211518,11 @@ webhooks: type: string enum: - edited - enterprise: *602 - installation: *603 - organization: *604 - repository: *605 - repository_ruleset: *214 + enterprise: *604 + installation: *605 + organization: *606 + repository: *607 + repository_ruleset: *216 changes: type: object properties: @@ -211067,16 +211541,16 @@ webhooks: properties: added: type: array - items: *208 + items: *210 deleted: type: array - items: *208 + items: *210 updated: type: array items: type: object properties: - condition: *208 + condition: *210 changes: type: object properties: @@ -211109,16 +211583,16 @@ webhooks: properties: added: type: array - items: *213 + items: *215 deleted: type: array - items: *213 + items: *215 updated: type: array items: type: object properties: - rule: *213 + rule: *215 changes: type: object properties: @@ -211355,10 +211829,10 @@ webhooks: - from required: - owner - enterprise: *602 - installation: *603 - organization: *604 - repository: *605 + enterprise: *604 + installation: *605 + organization: *606 + repository: *607 sender: *4 required: - action @@ -211436,10 +211910,10 @@ webhooks: type: string enum: - unarchived - enterprise: *602 - installation: *603 - organization: *604 - repository: *605 + enterprise: *604 + installation: *605 + organization: *606 + repository: *607 sender: *4 required: - action @@ -211517,7 +211991,7 @@ webhooks: type: string enum: - create - alert: &657 + alert: &659 title: Repository Vulnerability Alert Alert description: The security alert of the vulnerable dependency. type: object @@ -211641,10 +212115,10 @@ webhooks: type: string enum: - open - enterprise: *602 - installation: *603 - organization: *604 - repository: *605 + enterprise: *604 + installation: *605 + organization: *606 + repository: *607 sender: *4 required: - action @@ -211854,10 +212328,10 @@ webhooks: type: string enum: - dismissed - enterprise: *602 - installation: *603 - organization: *604 - repository: *605 + enterprise: *604 + installation: *605 + organization: *606 + repository: *607 sender: *4 required: - action @@ -211935,11 +212409,11 @@ webhooks: type: string enum: - reopen - alert: *657 - enterprise: *602 - installation: *603 - organization: *604 - repository: *605 + alert: *659 + enterprise: *604 + installation: *605 + organization: *606 + repository: *607 sender: *4 required: - action @@ -212141,10 +212615,10 @@ webhooks: enum: - fixed - open - enterprise: *602 - installation: *603 - organization: *604 - repository: *605 + enterprise: *604 + installation: *605 + organization: *606 + repository: *607 sender: *4 required: - action @@ -212222,7 +212696,7 @@ webhooks: type: string enum: - created - alert: &658 + alert: &660 type: object properties: number: *51 @@ -212332,10 +212806,10 @@ webhooks: - 'null' description: Whether the detected secret was found in multiple repositories in the same organization or business. - enterprise: *602 - installation: *603 - organization: *604 - repository: *605 + enterprise: *604 + installation: *605 + organization: *606 + repository: *607 sender: *4 required: - action @@ -212416,11 +212890,11 @@ webhooks: type: string enum: - created - alert: *658 - installation: *603 - location: *659 - organization: *604 - repository: *605 + alert: *660 + installation: *605 + location: *661 + organization: *606 + repository: *607 sender: *4 required: - location @@ -212658,11 +213132,11 @@ webhooks: type: string enum: - publicly_leaked - alert: *658 - enterprise: *602 - installation: *603 - organization: *604 - repository: *605 + alert: *660 + enterprise: *604 + installation: *605 + organization: *606 + repository: *607 sender: *4 required: - action @@ -212740,11 +213214,11 @@ webhooks: type: string enum: - reopened - alert: *658 - enterprise: *602 - installation: *603 - organization: *604 - repository: *605 + alert: *660 + enterprise: *604 + installation: *605 + organization: *606 + repository: *607 sender: *4 required: - action @@ -212822,11 +213296,11 @@ webhooks: type: string enum: - resolved - alert: *658 - enterprise: *602 - installation: *603 - organization: *604 - repository: *605 + alert: *660 + enterprise: *604 + installation: *605 + organization: *606 + repository: *607 sender: *4 required: - action @@ -212904,11 +213378,11 @@ webhooks: type: string enum: - validated - alert: *658 - enterprise: *602 - installation: *603 - organization: *604 - repository: *605 + alert: *660 + enterprise: *604 + installation: *605 + organization: *606 + repository: *607 sender: *4 required: - action @@ -213038,10 +213512,10 @@ webhooks: - organization - enterprise - - repository: *605 - enterprise: *602 - installation: *603 - organization: *604 + repository: *607 + enterprise: *604 + installation: *605 + organization: *606 sender: *4 required: - action @@ -213119,11 +213593,11 @@ webhooks: type: string enum: - published - enterprise: *602 - installation: *603 - organization: *604 - repository: *605 - security_advisory: &660 + enterprise: *604 + installation: *605 + organization: *606 + repository: *607 + security_advisory: &662 description: The details of the security advisory, including summary, description, and severity. type: object @@ -213309,11 +213783,11 @@ webhooks: type: string enum: - updated - enterprise: *602 - installation: *603 - organization: *604 - repository: *605 - security_advisory: *660 + enterprise: *604 + installation: *605 + organization: *606 + repository: *607 + security_advisory: *662 sender: *4 required: - action @@ -213386,10 +213860,10 @@ webhooks: type: string enum: - withdrawn - enterprise: *602 - installation: *603 - organization: *604 - repository: *605 + enterprise: *604 + installation: *605 + organization: *606 + repository: *607 security_advisory: description: The details of the security advisory, including summary, description, and severity. @@ -213575,11 +214049,11 @@ webhooks: from: type: object properties: - security_and_analysis: *207 - enterprise: *602 - installation: *603 - organization: *604 - repository: *257 + security_and_analysis: *209 + enterprise: *604 + installation: *605 + organization: *606 + repository: *259 sender: *4 required: - changes @@ -213657,12 +214131,12 @@ webhooks: type: string enum: - cancelled - enterprise: *602 - installation: *603 - organization: *604 - repository: *605 + enterprise: *604 + installation: *605 + organization: *606 + repository: *607 sender: *4 - sponsorship: &661 + sponsorship: &663 type: object properties: created_at: @@ -213967,12 +214441,12 @@ webhooks: type: string enum: - created - enterprise: *602 - installation: *603 - organization: *604 - repository: *605 + enterprise: *604 + installation: *605 + organization: *606 + repository: *607 sender: *4 - sponsorship: *661 + sponsorship: *663 required: - action - sponsorship @@ -214060,12 +214534,12 @@ webhooks: type: string required: - from - enterprise: *602 - installation: *603 - organization: *604 - repository: *605 + enterprise: *604 + installation: *605 + organization: *606 + repository: *607 sender: *4 - sponsorship: *661 + sponsorship: *663 required: - action - changes @@ -214142,17 +214616,17 @@ webhooks: type: string enum: - pending_cancellation - effective_date: &662 + effective_date: &664 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: *602 - installation: *603 - organization: *604 - repository: *605 + enterprise: *604 + installation: *605 + organization: *606 + repository: *607 sender: *4 - sponsorship: *661 + sponsorship: *663 required: - action - sponsorship @@ -214226,7 +214700,7 @@ webhooks: type: string enum: - pending_tier_change - changes: &663 + changes: &665 type: object properties: tier: @@ -214270,13 +214744,13 @@ webhooks: - from required: - tier - effective_date: *662 - enterprise: *602 - installation: *603 - organization: *604 - repository: *605 + effective_date: *664 + enterprise: *604 + installation: *605 + organization: *606 + repository: *607 sender: *4 - sponsorship: *661 + sponsorship: *663 required: - action - changes @@ -214353,13 +214827,13 @@ webhooks: type: string enum: - tier_changed - changes: *663 - enterprise: *602 - installation: *603 - organization: *604 - repository: *605 + changes: *665 + enterprise: *604 + installation: *605 + organization: *606 + repository: *607 sender: *4 - sponsorship: *661 + sponsorship: *663 required: - action - changes @@ -214433,10 +214907,10 @@ webhooks: type: string enum: - created - enterprise: *602 - installation: *603 - organization: *604 - repository: *605 + enterprise: *604 + installation: *605 + organization: *606 + repository: *607 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -214520,10 +214994,10 @@ webhooks: type: string enum: - deleted - enterprise: *602 - installation: *603 - organization: *604 - repository: *605 + enterprise: *604 + installation: *605 + organization: *606 + repository: *607 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -214956,15 +215430,15 @@ webhooks: type: - string - 'null' - enterprise: *602 + enterprise: *604 id: description: The unique identifier of the status. type: integer - installation: *603 + installation: *605 name: type: string - organization: *604 - repository: *605 + organization: *606 + repository: *607 sender: *4 sha: description: The Commit SHA. @@ -215080,9 +215554,9 @@ webhooks: description: The ID of the sub-issue. type: number sub_issue: *73 - installation: *603 - organization: *604 - repository: *605 + installation: *605 + organization: *606 + repository: *607 sender: *4 required: - action @@ -215172,9 +215646,9 @@ webhooks: description: The ID of the sub-issue. type: number sub_issue: *73 - installation: *603 - organization: *604 - repository: *605 + installation: *605 + organization: *606 + repository: *607 sender: *4 required: - action @@ -215264,9 +215738,9 @@ webhooks: description: The ID of the parent issue. type: number parent_issue: *73 - installation: *603 - organization: *604 - repository: *605 + installation: *605 + organization: *606 + repository: *607 sender: *4 required: - action @@ -215356,9 +215830,9 @@ webhooks: description: The ID of the parent issue. type: number parent_issue: *73 - installation: *603 - organization: *604 - repository: *605 + installation: *605 + organization: *606 + repository: *607 sender: *4 required: - action @@ -215435,12 +215909,12 @@ webhooks: title: team_add event type: object properties: - enterprise: *602 - installation: *603 - organization: *604 - repository: *605 + enterprise: *604 + installation: *605 + organization: *606 + repository: *607 sender: *4 - team: &664 + team: &666 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -215633,9 +216107,9 @@ webhooks: type: string enum: - added_to_repository - enterprise: *602 - installation: *603 - organization: *604 + enterprise: *604 + installation: *605 + organization: *606 repository: title: Repository description: A git repository @@ -216105,7 +216579,7 @@ webhooks: - topics - visibility sender: *4 - team: *664 + team: *666 required: - action - team @@ -216181,9 +216655,9 @@ webhooks: type: string enum: - created - enterprise: *602 - installation: *603 - organization: *604 + enterprise: *604 + installation: *605 + organization: *606 repository: title: Repository description: A git repository @@ -216653,7 +217127,7 @@ webhooks: - topics - visibility sender: *4 - team: *664 + team: *666 required: - action - team @@ -216730,9 +217204,9 @@ webhooks: type: string enum: - deleted - enterprise: *602 - installation: *603 - organization: *604 + enterprise: *604 + installation: *605 + organization: *606 repository: title: Repository description: A git repository @@ -217202,7 +217676,7 @@ webhooks: - topics - visibility sender: *4 - team: *664 + team: *666 required: - action - team @@ -217346,9 +217820,9 @@ webhooks: - from required: - permissions - enterprise: *602 - installation: *603 - organization: *604 + enterprise: *604 + installation: *605 + organization: *606 repository: title: Repository description: A git repository @@ -217818,7 +218292,7 @@ webhooks: - topics - visibility sender: *4 - team: *664 + team: *666 required: - action - changes @@ -217896,9 +218370,9 @@ webhooks: type: string enum: - removed_from_repository - enterprise: *602 - installation: *603 - organization: *604 + enterprise: *604 + installation: *605 + organization: *606 repository: title: Repository description: A git repository @@ -218368,7 +218842,7 @@ webhooks: - topics - visibility sender: *4 - team: *664 + team: *666 required: - action - team @@ -218444,10 +218918,10 @@ webhooks: type: string enum: - started - enterprise: *602 - installation: *603 - organization: *604 - repository: *605 + enterprise: *604 + installation: *605 + organization: *606 + repository: *607 sender: *4 required: - action @@ -218520,17 +218994,17 @@ webhooks: title: workflow_dispatch event type: object properties: - enterprise: *602 + enterprise: *604 inputs: type: - object - 'null' additionalProperties: true - installation: *603 - organization: *604 + installation: *605 + organization: *606 ref: type: string - repository: *605 + repository: *607 sender: *4 workflow: type: string @@ -218612,10 +219086,10 @@ webhooks: type: string enum: - completed - enterprise: *602 - installation: *603 - organization: *604 - repository: *605 + enterprise: *604 + installation: *605 + organization: *606 + repository: *607 sender: *4 workflow_job: allOf: @@ -218871,7 +219345,7 @@ webhooks: type: string required: - conclusion - deployment: *398 + deployment: *400 required: - action - repository @@ -218950,10 +219424,10 @@ webhooks: type: string enum: - in_progress - enterprise: *602 - installation: *603 - organization: *604 - repository: *605 + enterprise: *604 + installation: *605 + organization: *606 + repository: *607 sender: *4 workflow_job: allOf: @@ -219235,7 +219709,7 @@ webhooks: required: - status - steps - deployment: *398 + deployment: *400 required: - action - repository @@ -219314,10 +219788,10 @@ webhooks: type: string enum: - queued - enterprise: *602 - installation: *603 - organization: *604 - repository: *605 + enterprise: *604 + installation: *605 + organization: *606 + repository: *607 sender: *4 workflow_job: type: object @@ -219463,7 +219937,7 @@ webhooks: - workflow_name - head_branch - created_at - deployment: *398 + deployment: *400 required: - action - repository @@ -219542,10 +220016,10 @@ webhooks: type: string enum: - waiting - enterprise: *602 - installation: *603 - organization: *604 - repository: *605 + enterprise: *604 + installation: *605 + organization: *606 + repository: *607 sender: *4 workflow_job: type: object @@ -219692,7 +220166,7 @@ webhooks: - workflow_name - head_branch - created_at - deployment: *398 + deployment: *400 required: - action - repository @@ -219772,12 +220246,12 @@ webhooks: type: string enum: - completed - enterprise: *602 - installation: *603 - organization: *604 - repository: *605 + enterprise: *604 + installation: *605 + organization: *606 + repository: *607 sender: *4 - workflow: *617 + workflow: *619 workflow_run: title: Workflow Run type: object @@ -220796,12 +221270,12 @@ webhooks: type: string enum: - in_progress - enterprise: *602 - installation: *603 - organization: *604 - repository: *605 + enterprise: *604 + installation: *605 + organization: *606 + repository: *607 sender: *4 - workflow: *617 + workflow: *619 workflow_run: title: Workflow Run type: object @@ -221805,12 +222279,12 @@ webhooks: type: string enum: - requested - enterprise: *602 - installation: *603 - organization: *604 - repository: *605 + enterprise: *604 + installation: *605 + organization: *606 + repository: *607 sender: *4 - workflow: *617 + workflow: *619 workflow_run: title: Workflow Run type: object diff --git a/descriptions-next/api.github.com/dereferenced/api.github.com.deref.json b/descriptions-next/api.github.com/dereferenced/api.github.com.deref.json index 37622de38..242439e34 100644 --- a/descriptions-next/api.github.com/dereferenced/api.github.com.deref.json +++ b/descriptions-next/api.github.com/dereferenced/api.github.com.deref.json @@ -127282,6 +127282,1157 @@ } } }, + "/orgs/{org}/private-registries": { + "get": { + "summary": "List private registries for an organization", + "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nLists all private registry configurations available at the organization-level without revealing their encrypted\nvalues.\n\nOAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint.", + "tags": [ + "private-registries" + ], + "operationId": "private-registries/list-org-private-registries", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/private-registries/organization-configurations#list-private-registries-for-an-organization" + }, + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "per_page", + "description": "The number of results per page (max 100). 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).\"", + "in": "query", + "schema": { + "type": "integer", + "default": 30 + } + }, + { + "name": "page", + "description": "The page number of the results to fetch. 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).\"", + "in": "query", + "schema": { + "type": "integer", + "default": 1 + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "total_count", + "configurations" + ], + "properties": { + "total_count": { + "type": "integer" + }, + "configurations": { + "type": "array", + "items": { + "title": "Organization private registry", + "description": "Private registry configuration for an organization", + "type": "object", + "properties": { + "name": { + "description": "The name of the private registry configuration.", + "type": "string", + "examples": [ + "MAVEN_REPOSITORY_SECRET" + ] + }, + "registry_type": { + "description": "The registry type.", + "enum": [ + "maven_repository" + ], + "type": "string" + }, + "username": { + "description": "The username to use when authenticating with the private registry.", + "type": [ + "string", + "null" + ], + "examples": [ + "monalisa" + ] + }, + "visibility": { + "description": "Which type of organization repositories have access to the private registry.", + "enum": [ + "all", + "private", + "selected" + ], + "type": "string" + }, + "created_at": { + "type": "string", + "format": "date-time" + }, + "updated_at": { + "type": "string", + "format": "date-time" + } + }, + "required": [ + "name", + "registry_type", + "visibility", + "created_at", + "updated_at" + ] + } + } + } + }, + "examples": { + "default": { + "value": { + "total_count": 1, + "configurations": [ + { + "name": "MAVEN_REPOSITORY_SECRET", + "registry_type": "maven_repository", + "username": "monalisa", + "created_at": "2019-08-10T14:59:22Z", + "updated_at": "2020-01-10T14:59:22Z", + "visibility": "selected" + } + ] + } + } + } + } + }, + "headers": { + "Link": { + "example": "; rel=\"next\", ; rel=\"last\"", + "schema": { + "type": "string" + } + } + } + }, + "400": { + "description": "Bad Request", + "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" + } + } + } + }, + "application/scim+json": { + "schema": { + "title": "Scim Error", + "description": "Scim Error", + "type": "object", + "properties": { + "message": { + "type": [ + "string", + "null" + ] + }, + "documentation_url": { + "type": [ + "string", + "null" + ] + }, + "detail": { + "type": [ + "string", + "null" + ] + }, + "status": { + "type": "integer" + }, + "scimType": { + "type": [ + "string", + "null" + ] + }, + "schemas": { + "type": "array", + "items": { + "type": "string" + } + } + } + } + } + } + }, + "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": true, + "category": "private-registries", + "subcategory": "organization-configurations" + } + }, + "post": { + "summary": "Create a private registry for an organization", + "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\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/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": [ + "private-registries" + ], + "operationId": "private-registries/create-org-private-registry", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/private-registries/organization-configurations#create-a-private-registry-for-an-organization" + }, + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "registry_type": { + "description": "The registry type.", + "type": "string", + "enum": [ + "maven_repository" + ] + }, + "username": { + "description": "The username to use when authenticating with the private registry. This field should be omitted if the private registry does not require a username for authentication.", + "type": [ + "string", + "null" + ] + }, + "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/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})$" + }, + "key_id": { + "description": "The ID of the key you used to encrypt the secret.", + "type": "string" + }, + "visibility": { + "description": "Which type of organization repositories have access to the private registry. `selected` means only the repositories specified by `selected_repository_ids` can access the private registry.", + "type": "string", + "enum": [ + "all", + "private", + "selected" + ] + }, + "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/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" + } + } + }, + "required": [ + "registry_type", + "encrypted_value", + "key_id", + "visibility" + ] + }, + "examples": { + "org-private-registry-with-private-visibility": { + "summary": "Example of a private registry configuration with private visibility", + "value": { + "registry_type": "maven_repository", + "username": "monalisa", + "encrypted_value": "c2VjcmV0", + "key_id": "012345678912345678", + "visibility": "private" + } + }, + "org-private-registry-with-selected-visibility": { + "summary": "Example of a private registry configuration with selected visibility", + "value": { + "registry_type": "maven_repository", + "username": "monalisa", + "encrypted_value": "c2VjcmV0", + "key_id": "012345678912345678", + "visibility": "selected", + "selected_repository_ids": [ + 1296269, + 1296280 + ] + } + } + } + } + } + }, + "responses": { + "201": { + "description": "The organization private registry configuration", + "content": { + "application/json": { + "schema": { + "title": "Organization private registry", + "description": "Private registry configuration for an organization", + "type": "object", + "properties": { + "name": { + "description": "The name of the private registry configuration.", + "type": "string", + "examples": [ + "MAVEN_REPOSITORY_SECRET" + ] + }, + "registry_type": { + "description": "The registry type.", + "enum": [ + "maven_repository" + ], + "type": "string" + }, + "username": { + "description": "The username to use when authenticating with the private registry.", + "type": "string", + "examples": [ + "monalisa" + ] + }, + "visibility": { + "description": "Which type of organization repositories have access to the private registry. `selected` means only the repositories specified by `selected_repository_ids` can access the private registry.", + "enum": [ + "all", + "private", + "selected" + ], + "type": "string" + }, + "selected_repository_ids": { + "type": "array", + "description": "An array of repository IDs that can access the organization private registry when `visibility` is set to `selected`.", + "items": { + "type": "integer" + } + }, + "created_at": { + "type": "string", + "format": "date-time" + }, + "updated_at": { + "type": "string", + "format": "date-time" + } + }, + "required": [ + "name", + "registry_type", + "visibility", + "created_at", + "updated_at" + ] + }, + "examples": { + "org-private-registry-with-selected-visibility": { + "value": { + "name": "MAVEN_REPOSITORY_SECRET", + "registry_type": "maven_repository", + "username": "monalisa", + "visibility": "private", + "created_at": "2019-08-10T14:59:22Z", + "updated_at": "2020-01-10T14:59:22Z" + } + }, + "org-private-registry-with-private-visibility": { + "value": { + "name": "MAVEN_REPOSITORY_SECRET", + "registry_type": "maven_repository", + "username": "monalisa", + "visibility": "selected", + "selected_repository_ids": [ + 1296269, + 1296280 + ], + "created_at": "2019-08-10T14:59:22Z", + "updated_at": "2020-01-10T14:59:22Z" + } + } + } + } + } + }, + "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" + } + } + } + } + } + }, + "422": { + "description": "Validation failed, or the endpoint has been spammed.", + "content": { + "application/json": { + "schema": { + "title": "Validation Error", + "description": "Validation Error", + "type": "object", + "required": [ + "message", + "documentation_url" + ], + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "errors": { + "type": "array", + "items": { + "type": "object", + "required": [ + "code" + ], + "properties": { + "resource": { + "type": "string" + }, + "field": { + "type": "string" + }, + "message": { + "type": "string" + }, + "code": { + "type": "string" + }, + "index": { + "type": "integer" + }, + "value": { + "oneOf": [ + { + "type": [ + "string", + "null" + ] + }, + { + "type": [ + "integer", + "null" + ] + }, + { + "type": [ + "array", + "null" + ], + "items": { + "type": "string" + } + } + ] + } + } + } + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "private-registries", + "subcategory": "organization-configurations" + } + } + }, + "/orgs/{org}/private-registries/public-key": { + "get": { + "summary": "Get private registries public key for an organization", + "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nGets the org public key, which is needed to encrypt private registry secrets. You need to encrypt a secret before you can create or update secrets.\n\nOAuth tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint.", + "tags": [ + "private-registries" + ], + "operationId": "private-registries/get-org-public-key", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/private-registries/organization-configurations#get-private-registries-public-key-for-an-organization" + }, + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "key_id", + "key" + ], + "properties": { + "key_id": { + "description": "The identifier for the key.", + "type": "string", + "examples": [ + "012345678912345678" + ] + }, + "key": { + "description": "The Base64 encoded public key.", + "type": "string", + "examples": [ + "2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234" + ] + } + } + }, + "examples": { + "default": { + "value": { + "key_id": "012345678912345678", + "key": "2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234" + } + } + } + } + }, + "headers": { + "Link": { + "example": "; rel=\"next\", ; rel=\"last\"", + "schema": { + "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": true, + "category": "private-registries", + "subcategory": "organization-configurations" + } + } + }, + "/orgs/{org}/private-registries/{secret_name}": { + "get": { + "summary": "Get a private registry for an organization", + "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nGet the configuration of a single private registry defined for an organization, omitting its encrypted value.\n\nOAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint.", + "tags": [ + "private-registries" + ], + "operationId": "private-registries/get-org-private-registry", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/private-registries/organization-configurations#get-a-private-registry-for-an-organization" + }, + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "secret_name", + "description": "The name of the secret.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "The specified private registry configuration for the organization", + "content": { + "application/json": { + "schema": { + "title": "Organization private registry", + "description": "Private registry configuration for an organization", + "type": "object", + "properties": { + "name": { + "description": "The name of the private registry configuration.", + "type": "string", + "examples": [ + "MAVEN_REPOSITORY_SECRET" + ] + }, + "registry_type": { + "description": "The registry type.", + "enum": [ + "maven_repository" + ], + "type": "string" + }, + "username": { + "description": "The username to use when authenticating with the private registry.", + "type": [ + "string", + "null" + ], + "examples": [ + "monalisa" + ] + }, + "visibility": { + "description": "Which type of organization repositories have access to the private registry.", + "enum": [ + "all", + "private", + "selected" + ], + "type": "string" + }, + "created_at": { + "type": "string", + "format": "date-time" + }, + "updated_at": { + "type": "string", + "format": "date-time" + } + }, + "required": [ + "name", + "registry_type", + "visibility", + "created_at", + "updated_at" + ] + }, + "examples": { + "default": { + "value": { + "name": "MAVEN_REPOSITORY_SECRET", + "registry_type": "maven_repository", + "username": "monalisa", + "visibility": "private", + "created_at": "2019-08-10T14:59:22Z", + "updated_at": "2020-01-10T14:59:22Z" + } + } + } + } + } + }, + "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": true, + "category": "private-registries", + "subcategory": "organization-configurations" + } + }, + "patch": { + "summary": "Update a private registry for an organization", + "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\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/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": [ + "private-registries" + ], + "operationId": "private-registries/update-org-private-registry", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/private-registries/organization-configurations#update-a-private-registry-for-an-organization" + }, + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "secret_name", + "description": "The name of the secret.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "registry_type": { + "description": "The registry type.", + "type": "string", + "enum": [ + "maven_repository" + ] + }, + "username": { + "description": "The username to use when authenticating with the private registry. This field should be omitted if the private registry does not require a username for authentication.", + "type": [ + "string", + "null" + ] + }, + "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/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})$" + }, + "key_id": { + "description": "The ID of the key you used to encrypt the secret.", + "type": "string" + }, + "visibility": { + "description": "Which type of organization repositories have access to the private registry. `selected` means only the repositories specified by `selected_repository_ids` can access the private registry.", + "type": "string", + "enum": [ + "all", + "private", + "selected" + ] + }, + "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`. This field should be omitted if `visibility` is set to `all` or `private`.", + "type": "array", + "items": { + "type": "integer" + } + } + } + }, + "examples": { + "update-username-and-encrypted-value": { + "value": { + "username": "monalisa", + "encrypted_value": "c2VjcmV0", + "key_id": "012345678912345678" + } + }, + "update-with-selected-visibility": { + "value": { + "visibility": "selected", + "selected_repository_ids": [ + 1296269, + 1296280 + ] + } + } + } + } + } + }, + "responses": { + "204": { + "description": "Response" + }, + "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" + } + } + } + } + } + }, + "422": { + "description": "Validation failed, or the endpoint has been spammed.", + "content": { + "application/json": { + "schema": { + "title": "Validation Error", + "description": "Validation Error", + "type": "object", + "required": [ + "message", + "documentation_url" + ], + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "errors": { + "type": "array", + "items": { + "type": "object", + "required": [ + "code" + ], + "properties": { + "resource": { + "type": "string" + }, + "field": { + "type": "string" + }, + "message": { + "type": "string" + }, + "code": { + "type": "string" + }, + "index": { + "type": "integer" + }, + "value": { + "oneOf": [ + { + "type": [ + "string", + "null" + ] + }, + { + "type": [ + "integer", + "null" + ] + }, + { + "type": [ + "array", + "null" + ], + "items": { + "type": "string" + } + } + ] + } + } + } + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "private-registries", + "subcategory": "organization-configurations" + } + }, + "delete": { + "summary": "Delete a private registry for an organization", + "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nDelete a private registry configuration at the organization-level.\n\nOAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint.", + "tags": [ + "private-registries" + ], + "operationId": "private-registries/delete-org-private-registry", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/private-registries/organization-configurations#delete-a-private-registry-for-an-organization" + }, + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "secret_name", + "description": "The name of the secret.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "204": { + "description": "Response" + }, + "400": { + "description": "Bad Request", + "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" + } + } + } + }, + "application/scim+json": { + "schema": { + "title": "Scim Error", + "description": "Scim Error", + "type": "object", + "properties": { + "message": { + "type": [ + "string", + "null" + ] + }, + "documentation_url": { + "type": [ + "string", + "null" + ] + }, + "detail": { + "type": [ + "string", + "null" + ] + }, + "status": { + "type": "integer" + }, + "scimType": { + "type": [ + "string", + "null" + ] + }, + "schemas": { + "type": "array", + "items": { + "type": "string" + } + } + } + } + } + } + }, + "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": true, + "category": "private-registries", + "subcategory": "organization-configurations" + } + } + }, "/orgs/{org}/projects": { "get": { "summary": "List organization projects", diff --git a/descriptions-next/api.github.com/dereferenced/api.github.com.deref.yaml b/descriptions-next/api.github.com/dereferenced/api.github.com.deref.yaml index e2f464c41..a1aab4b4e 100644 --- a/descriptions-next/api.github.com/dereferenced/api.github.com.deref.yaml +++ b/descriptions-next/api.github.com/dereferenced/api.github.com.deref.yaml @@ -888,7 +888,7 @@ paths: - subscriptions_url - type - url - type: &225 + type: &227 type: string description: The type of credit the user is receiving. enum: @@ -1054,7 +1054,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/global-advisories#get-a-global-security-advisory parameters: - - &536 + - &538 name: ghsa_id description: The GHSA (GitHub Security Advisory) identifier of the advisory. in: path @@ -8830,7 +8830,7 @@ paths: - development - runtime - - security_advisory: &390 + security_advisory: &392 type: object description: Details for the GitHub Security Advisory. readOnly: true @@ -9097,7 +9097,7 @@ paths: and was considered fixed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' format: date-time readOnly: true - auto_dismissed_at: &391 + auto_dismissed_at: &393 type: - string - 'null' @@ -9468,7 +9468,7 @@ paths: url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-enterprise parameters: - *39 - - &216 + - &218 name: state in: query description: Set to `open` or `resolved` to only list secret scanning alerts @@ -9479,7 +9479,7 @@ paths: enum: - open - resolved - - &217 + - &219 name: secret_type in: query description: A comma-separated list of secret types to return. All default @@ -9489,7 +9489,7 @@ paths: required: false schema: type: string - - &218 + - &220 name: resolution in: query description: A comma-separated list of resolutions. Only secret scanning alerts @@ -9498,7 +9498,7 @@ paths: required: false schema: type: string - - &219 + - &221 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. @@ -9514,7 +9514,7 @@ paths: - *17 - *37 - *38 - - &220 + - &222 name: validity in: query description: A comma-separated list of validities that, when present, will @@ -9523,7 +9523,7 @@ paths: required: false schema: type: string - - &221 + - &223 name: is_publicly_leaked in: query description: A boolean value representing whether or not to filter alerts @@ -9532,7 +9532,7 @@ paths: schema: type: boolean default: false - - &222 + - &224 name: is_multi_repo in: query description: A boolean value representing whether or not to filter alerts @@ -9548,7 +9548,7 @@ paths: application/json: schema: type: array - items: &223 + items: &225 type: object properties: number: *51 @@ -9564,14 +9564,14 @@ paths: format: uri description: The REST API URL of the code locations for this alert. - state: &528 + state: &530 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: &529 + resolution: &531 type: - string - 'null' @@ -9670,7 +9670,7 @@ paths: description: Whether the detected secret was found in multiple repositories in the same organization or enterprise. examples: - default: &224 + default: &226 value: - number: 2 created_at: '2020-11-06T18:48:51Z' @@ -10123,7 +10123,7 @@ paths: milestone: anyOf: - type: 'null' - - &378 + - &380 title: Milestone description: A collection of related issues and pull requests. @@ -10387,7 +10387,7 @@ paths: - author_association - created_at - updated_at - comment: &437 + comment: &439 title: Issue Comment description: Comments provide a way for people to collaborate on an issue. @@ -10960,7 +10960,7 @@ paths: url: type: string format: uri - user: &559 + user: &561 title: Public User description: Public User type: object @@ -14312,14 +14312,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-public-events-for-a-network-of-repositories parameters: - - &246 + - &248 name: owner description: The account owner of the repository. The name is not case sensitive. in: path required: true schema: type: string - - &247 + - &249 name: repo description: The name of the repository without the `.git` extension. The name is not case sensitive. @@ -14390,7 +14390,7 @@ paths: '404': *6 '403': *27 '304': *35 - '301': &258 + '301': &260 description: Moved permanently content: application/json: @@ -14412,7 +14412,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#list-notifications-for-the-authenticated-user parameters: - - &466 + - &468 name: all description: If `true`, show notifications marked as read. in: query @@ -14420,7 +14420,7 @@ paths: schema: type: boolean default: false - - &467 + - &469 name: participating description: If `true`, only shows notifications in which the user is directly participating or mentioned. @@ -14430,7 +14430,7 @@ paths: type: boolean default: false - *63 - - &468 + - &470 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: @@ -14801,7 +14801,7 @@ paths: type: boolean examples: - false - security_and_analysis: &207 + security_and_analysis: &209 type: - object - 'null' @@ -14948,7 +14948,7 @@ paths: - url - subscription_url examples: - default: &469 + default: &471 value: - id: '1' repository: @@ -15569,7 +15569,7 @@ paths: - avatar_url - description examples: - default: &576 + default: &578 value: - login: github id: 1 @@ -16542,7 +16542,7 @@ paths: type: integer repository_cache_usages: type: array - items: &263 + items: &265 title: Actions Cache Usage by repository description: GitHub Actions Cache Usage by repository. type: object @@ -16715,7 +16715,7 @@ paths: - all - local_only - selected - selected_actions_url: &269 + selected_actions_url: &271 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` @@ -16805,7 +16805,7 @@ paths: type: array items: *58 examples: - default: &570 + default: &572 value: total_count: 1 repositories: @@ -17133,7 +17133,7 @@ paths: description: Response content: application/json: - schema: &273 + schema: &275 type: object properties: default_workflow_permissions: &101 @@ -17184,7 +17184,7 @@ paths: required: false content: application/json: - schema: &274 + schema: &276 type: object properties: default_workflow_permissions: *101 @@ -17622,7 +17622,7 @@ paths: type: array items: *107 examples: - default: &562 + default: &564 value: total_count: 1 repositories: @@ -18265,7 +18265,7 @@ paths: application/json: schema: type: array - items: &275 + items: &277 title: Runner Application description: Runner Application type: object @@ -18290,7 +18290,7 @@ paths: - download_url - filename examples: - default: &276 + default: &278 value: - os: osx architecture: x64 @@ -18376,7 +18376,7 @@ paths: - no-gpu work_folder: _work responses: - '201': &277 + '201': &279 description: Response content: application/json: @@ -18490,7 +18490,7 @@ paths: - token - expires_at examples: - default: &278 + default: &280 value: token: LLBF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-22T12:13:35.123-08:00' @@ -18529,7 +18529,7 @@ paths: application/json: schema: *111 examples: - default: &279 + default: &281 value: token: AABF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-29T12:13:35.123-08:00' @@ -18563,7 +18563,7 @@ paths: application/json: schema: *109 examples: - default: &280 + default: &282 value: id: 23 name: MBP @@ -18787,7 +18787,7 @@ paths: - *89 - *108 responses: - '200': &281 + '200': &283 description: Response content: application/json: @@ -18844,7 +18844,7 @@ paths: parameters: - *89 - *108 - - &282 + - &284 name: name description: The name of a self-hosted runner's custom label. in: path @@ -18976,7 +18976,7 @@ paths: description: Response content: application/json: - schema: &294 + schema: &296 title: ActionsPublicKey description: The public key used for setting Actions Secrets. type: object @@ -19011,7 +19011,7 @@ paths: - key_id - key examples: - default: &295 + default: &297 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -19422,7 +19422,7 @@ paths: url: https://docs.github.com/rest/actions/variables#list-organization-variables parameters: - *89 - - &268 + - &270 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)." @@ -19954,7 +19954,7 @@ paths: bundle_url: type: string examples: - default: &308 + default: &310 value: attestations: - bundle: @@ -20191,7 +20191,7 @@ paths: url: https://docs.github.com/rest/code-scanning/code-scanning#list-code-scanning-alerts-for-an-organization parameters: - *89 - - &333 + - &335 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`, @@ -20201,7 +20201,7 @@ paths: schema: &123 type: string description: The name of the tool used to generate the code scanning analysis. - - &334 + - &336 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 @@ -20225,7 +20225,7 @@ paths: be returned. in: query required: false - schema: &336 + schema: &338 type: string description: State of a code scanning alert. enum: @@ -20248,7 +20248,7 @@ paths: be returned. in: query required: false - schema: &337 + schema: &339 type: string description: Severity of a code scanning alert. enum: @@ -20274,7 +20274,7 @@ paths: updated_at: *53 url: *54 html_url: *55 - instances_url: &338 + instances_url: &340 type: string description: The REST API URL for fetching the list of instances for an alert. @@ -20296,7 +20296,7 @@ paths: - type: 'null' - *4 dismissed_at: *122 - dismissed_reason: &339 + dismissed_reason: &341 type: - string - 'null' @@ -20307,14 +20307,14 @@ paths: - won't fix - used in tests - - dismissed_comment: &340 + dismissed_comment: &342 type: - string - 'null' description: The dismissal comment associated with the dismissal of the alert. maxLength: 280 - rule: &341 + rule: &343 type: object properties: id: @@ -20375,7 +20375,7 @@ paths: - 'null' description: A link to the documentation for the rule used to detect the alert. - tool: &342 + tool: &344 type: object properties: name: *123 @@ -20386,15 +20386,15 @@ paths: description: The version of the tool used to generate the code scanning analysis. guid: *124 - most_recent_instance: &343 + most_recent_instance: &345 type: object properties: - ref: &335 + ref: &337 type: string description: |- The Git reference, formatted as `refs/pull//merge`, `refs/pull//head`, `refs/heads/` or simply ``. - analysis_key: &353 + analysis_key: &355 type: string description: Identifies the configuration under which the analysis was executed. For example, in GitHub Actions @@ -20405,7 +20405,7 @@ paths: the environment in which the analysis that generated this alert instance was performed, such as the language that was analyzed. - category: &354 + category: &356 type: string description: Identifies the configuration under which the analysis was executed. Used to distinguish between multiple @@ -21624,7 +21624,7 @@ paths: machine: anyOf: - type: 'null' - - &366 + - &368 type: object title: Codespace machine description: A description of the machine powering a codespace. @@ -22576,7 +22576,7 @@ paths: - updated_at - visibility examples: - default: &367 + default: &369 value: total_count: 2 secrets: @@ -22614,7 +22614,7 @@ paths: description: Response content: application/json: - schema: &368 + schema: &370 title: CodespacesPublicKey description: The public key used for setting Codespaces secrets. type: object @@ -22649,7 +22649,7 @@ paths: - key_id - key examples: - default: &369 + default: &371 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -22681,7 +22681,7 @@ paths: application/json: schema: *133 examples: - default: &371 + default: &373 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -23872,7 +23872,7 @@ paths: application/json: schema: type: array - items: &226 + items: &228 title: Copilot Usage Metrics description: Copilot usage metrics for a given day. type: object @@ -24188,7 +24188,7 @@ paths: - date additionalProperties: true examples: - default: &227 + default: &229 value: - date: '2024-06-24' total_active_users: 24 @@ -24290,7 +24290,7 @@ paths: '500': *132 '403': *27 '404': *6 - '422': &228 + '422': &230 description: Copilot Usage Merics API setting is disabled at the organization or enterprise level. content: @@ -24358,7 +24358,7 @@ paths: application/json: schema: type: array - items: &229 + items: &231 title: Copilot Usage Metrics description: Summary of Copilot usage. type: object @@ -24446,7 +24446,7 @@ paths: - breakdown additionalProperties: false examples: - default: &230 + default: &232 value: - day: '2023-10-15' total_suggestions_count: 1000 @@ -24680,7 +24680,7 @@ paths: description: Response content: application/json: - schema: &394 + schema: &396 title: DependabotPublicKey description: The public key used for setting Dependabot Secrets. type: object @@ -24699,7 +24699,7 @@ paths: - key_id - key examples: - default: &395 + default: &397 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -26520,7 +26520,7 @@ paths: application/json: schema: *20 examples: - default: &433 + default: &435 value: id: 1 account: @@ -26748,7 +26748,7 @@ paths: required: true content: application/json: - schema: &434 + schema: &436 title: Interaction Restrictions description: Limit interactions to a specific type of user for a specified duration @@ -27360,7 +27360,7 @@ paths: application/json: schema: *175 examples: - default: &365 + default: &367 value: id: 1 name: monalisa-octocat-hello-world-g4wpq6h95q @@ -28598,7 +28598,7 @@ paths: parameters: - *89 - *182 - - &575 + - &577 name: repo_name description: repo_name parameter in: path @@ -29641,7 +29641,7 @@ paths: - nuget - container - *89 - - &577 + - &579 name: visibility description: |- The selected visibility of the packages. This parameter is optional and only filters an existing result set. @@ -29682,7 +29682,7 @@ paths: default: *189 '403': *27 '401': *23 - '400': &579 + '400': &581 description: The value of `per_page` multiplied by `page` cannot be greater than 10000. x-github: @@ -30823,6 +30823,480 @@ paths: enabledForGitHubApps: true category: orgs subcategory: personal-access-tokens + "/orgs/{org}/private-registries": + get: + summary: List private registries for an organization + description: |- + > [!NOTE] + > This endpoint is in public preview and is subject to change. + + Lists all private registry configurations available at the organization-level without revealing their encrypted + values. + + OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + tags: + - private-registries + operationId: private-registries/list-org-private-registries + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/private-registries/organization-configurations#list-private-registries-for-an-organization + parameters: + - *89 + - *17 + - *18 + responses: + '200': + description: Response + content: + application/json: + schema: + type: object + required: + - total_count + - configurations + properties: + total_count: + type: integer + configurations: + type: array + items: &201 + title: Organization private registry + description: Private registry configuration for an organization + type: object + properties: + name: + description: The name of the private registry configuration. + type: string + examples: + - MAVEN_REPOSITORY_SECRET + registry_type: + description: The registry type. + enum: + - maven_repository + type: string + username: + description: The username to use when authenticating with + the private registry. + type: + - string + - 'null' + examples: + - monalisa + visibility: + description: Which type of organization repositories have + access to the private registry. + enum: + - all + - private + - selected + type: string + created_at: + type: string + format: date-time + updated_at: + type: string + format: date-time + required: + - name + - registry_type + - visibility + - created_at + - updated_at + examples: + default: + value: + total_count: 1 + configurations: + - name: MAVEN_REPOSITORY_SECRET + registry_type: maven_repository + username: monalisa + created_at: '2019-08-10T14:59:22Z' + updated_at: '2020-01-10T14:59:22Z' + visibility: selected + headers: + Link: *56 + '400': *14 + '404': *6 + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: private-registries + subcategory: organization-configurations + post: + summary: Create a private registry for an organization + description: |- + > [!NOTE] + > This endpoint is in public preview and is subject to change. + + Creates 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/rest/guides/encrypting-secrets-for-the-rest-api)." + + OAuth 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/rest/private-registries/organization-configurations#create-a-private-registry-for-an-organization + parameters: + - *89 + requestBody: + required: true + content: + application/json: + schema: + type: object + properties: + registry_type: + description: The registry type. + type: string + enum: + - maven_repository + username: + description: The username to use when authenticating with the private + registry. This field should be omitted if the private registry + does not require a username for authentication. + type: + - string + - 'null' + 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/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})$" + key_id: + description: The ID of the key you used to encrypt the secret. + type: string + visibility: + description: Which type of organization repositories have access + to the private registry. `selected` means only the repositories + specified by `selected_repository_ids` can access the private + registry. + type: string + enum: + - all + - private + - selected + 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/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 + required: + - registry_type + - encrypted_value + - key_id + - visibility + examples: + org-private-registry-with-private-visibility: + summary: Example of a private registry configuration with private + visibility + value: + registry_type: maven_repository + username: monalisa + encrypted_value: c2VjcmV0 + key_id: '012345678912345678' + visibility: private + org-private-registry-with-selected-visibility: + summary: Example of a private registry configuration with selected + visibility + value: + registry_type: maven_repository + username: monalisa + encrypted_value: c2VjcmV0 + key_id: '012345678912345678' + visibility: selected + selected_repository_ids: + - 1296269 + - 1296280 + responses: + '201': + description: The organization private registry configuration + content: + application/json: + schema: + title: Organization private registry + description: Private registry configuration for an organization + type: object + properties: + name: + description: The name of the private registry configuration. + type: string + examples: + - MAVEN_REPOSITORY_SECRET + registry_type: + description: The registry type. + enum: + - maven_repository + type: string + username: + description: The username to use when authenticating with the + private registry. + type: string + examples: + - monalisa + visibility: + description: Which type of organization repositories have access + to the private registry. `selected` means only the repositories + specified by `selected_repository_ids` can access the private + registry. + enum: + - all + - private + - selected + type: string + selected_repository_ids: + type: array + description: An array of repository IDs that can access the organization + private registry when `visibility` is set to `selected`. + items: + type: integer + created_at: + type: string + format: date-time + updated_at: + type: string + format: date-time + required: + - name + - registry_type + - visibility + - created_at + - updated_at + examples: + org-private-registry-with-selected-visibility: &202 + value: + name: MAVEN_REPOSITORY_SECRET + registry_type: maven_repository + username: monalisa + visibility: private + created_at: '2019-08-10T14:59:22Z' + updated_at: '2020-01-10T14:59:22Z' + org-private-registry-with-private-visibility: + value: + name: MAVEN_REPOSITORY_SECRET + registry_type: maven_repository + username: monalisa + visibility: selected + selected_repository_ids: + - 1296269 + - 1296280 + created_at: '2019-08-10T14:59:22Z' + updated_at: '2020-01-10T14:59:22Z' + '404': *6 + '422': *15 + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: private-registries + subcategory: organization-configurations + "/orgs/{org}/private-registries/public-key": + get: + summary: Get private registries public key for an organization + description: |- + > [!NOTE] + > This endpoint is in public preview and is subject to change. + + Gets the org public key, which is needed to encrypt private registry secrets. You need to encrypt a secret before you can create or update secrets. + + OAuth tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + tags: + - private-registries + operationId: private-registries/get-org-public-key + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/private-registries/organization-configurations#get-private-registries-public-key-for-an-organization + parameters: + - *89 + responses: + '200': + description: Response + content: + application/json: + schema: + type: object + required: + - key_id + - key + properties: + key_id: + description: The identifier for the key. + type: string + examples: + - '012345678912345678' + key: + description: The Base64 encoded public key. + type: string + examples: + - 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 + examples: + default: + value: + key_id: '012345678912345678' + key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 + headers: + Link: *56 + '404': *6 + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: private-registries + subcategory: organization-configurations + "/orgs/{org}/private-registries/{secret_name}": + get: + summary: Get a private registry for an organization + description: |- + > [!NOTE] + > This endpoint is in public preview and is subject to change. + + Get the configuration of a single private registry defined for an organization, omitting its encrypted value. + + OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + tags: + - private-registries + operationId: private-registries/get-org-private-registry + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/private-registries/organization-configurations#get-a-private-registry-for-an-organization + parameters: + - *89 + - *115 + responses: + '200': + description: The specified private registry configuration for the organization + content: + application/json: + schema: *201 + examples: + default: *202 + '404': *6 + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: private-registries + subcategory: organization-configurations + patch: + summary: Update a private registry for an organization + description: |- + > [!NOTE] + > This endpoint is in public preview and is subject to change. + + Updates 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/rest/guides/encrypting-secrets-for-the-rest-api)." + + OAuth 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/rest/private-registries/organization-configurations#update-a-private-registry-for-an-organization + parameters: + - *89 + - *115 + requestBody: + required: true + content: + application/json: + schema: + type: object + properties: + registry_type: + description: The registry type. + type: string + enum: + - maven_repository + username: + description: The username to use when authenticating with the private + registry. This field should be omitted if the private registry + does not require a username for authentication. + type: + - string + - 'null' + 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/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})$" + key_id: + description: The ID of the key you used to encrypt the secret. + type: string + visibility: + description: Which type of organization repositories have access + to the private registry. `selected` means only the repositories + specified by `selected_repository_ids` can access the private + registry. + type: string + enum: + - all + - private + - selected + 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`. This field should be omitted + if `visibility` is set to `all` or `private`. + type: array + items: + type: integer + examples: + update-username-and-encrypted-value: + value: + username: monalisa + encrypted_value: c2VjcmV0 + key_id: '012345678912345678' + update-with-selected-visibility: + value: + visibility: selected + selected_repository_ids: + - 1296269 + - 1296280 + responses: + '204': + description: Response + '404': *6 + '422': *15 + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: private-registries + subcategory: organization-configurations + delete: + summary: Delete a private registry for an organization + description: |- + > [!NOTE] + > This endpoint is in public preview and is subject to change. + + Delete a private registry configuration at the organization-level. + + OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + tags: + - private-registries + operationId: private-registries/delete-org-private-registry + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/private-registries/organization-configurations#delete-a-private-registry-for-an-organization + parameters: + - *89 + - *115 + responses: + '204': + description: Response + '400': *14 + '404': *6 + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: private-registries + subcategory: organization-configurations "/orgs/{org}/projects": get: summary: List organization projects @@ -30858,7 +31332,7 @@ paths: application/json: schema: type: array - items: &201 + items: &203 title: Project description: Projects are a way to organize columns and cards of work. @@ -31037,7 +31511,7 @@ paths: description: Response content: application/json: - schema: *201 + schema: *203 examples: default: value: @@ -31075,7 +31549,7 @@ paths: '401': *23 '403': *27 '404': *6 - '410': &255 + '410': &257 description: Gone content: application/json: @@ -31107,7 +31581,7 @@ paths: application/json: schema: type: array - items: &202 + items: &204 title: Organization Custom Property description: Custom property defined on an organization type: object @@ -31183,7 +31657,7 @@ paths: - property_name - value_type examples: - default: &203 + default: &205 value: - property_name: environment url: https://api.github.com/orgs/github/properties/schema/environment @@ -31238,7 +31712,7 @@ paths: properties: type: array description: The array of custom properties to create or update. - items: *202 + items: *204 minItems: 1 maxItems: 100 required: @@ -31268,9 +31742,9 @@ paths: application/json: schema: type: array - items: *202 + items: *204 examples: - default: *203 + default: *205 '403': *27 '404': *6 x-github: @@ -31292,7 +31766,7 @@ paths: url: https://docs.github.com/rest/orgs/custom-properties#get-a-custom-property-for-an-organization parameters: - *89 - - &204 + - &206 name: custom_property_name description: The custom property name in: path @@ -31304,9 +31778,9 @@ paths: description: Response content: application/json: - schema: *202 + schema: *204 examples: - default: &205 + default: &207 value: property_name: environment url: https://api.github.com/orgs/github/properties/schema/environment @@ -31341,7 +31815,7 @@ paths: url: https://docs.github.com/rest/orgs/custom-properties#create-or-update-a-custom-property-for-an-organization parameters: - *89 - - *204 + - *206 requestBody: required: true content: @@ -31408,9 +31882,9 @@ paths: description: Response content: application/json: - schema: *202 + schema: *204 examples: - default: *205 + default: *207 '403': *27 '404': *6 x-github: @@ -31434,7 +31908,7 @@ paths: url: https://docs.github.com/rest/orgs/custom-properties#remove-a-custom-property-for-an-organization parameters: - *89 - - *204 + - *206 responses: '204': *129 '403': *27 @@ -31498,7 +31972,7 @@ paths: - octocat/Hello-World properties: type: array - items: &206 + items: &208 title: Custom Property Value description: Custom property name and associated value type: object @@ -31588,7 +32062,7 @@ paths: type: array description: List of custom property names and associated values to apply to the repositories. - items: *206 + items: *208 required: - repository_names - properties @@ -31983,7 +32457,7 @@ paths: description: Response content: application/json: - schema: &257 + schema: &259 title: Full Repository description: Full Repository type: object @@ -32448,7 +32922,7 @@ paths: description: Whether anonymous git access is allowed. default: true type: boolean - code_of_conduct: &384 + code_of_conduct: &386 title: Code Of Conduct Simple description: Code of Conduct Simple type: object @@ -32478,7 +32952,7 @@ paths: - key - name - html_url - security_and_analysis: *207 + security_and_analysis: *209 custom_properties: type: object description: The custom properties that were defined for the repository. @@ -32562,7 +33036,7 @@ paths: - network_count - subscribers_count examples: - default: &259 + default: &261 value: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -33083,7 +33557,7 @@ paths: - *89 - *17 - *18 - - &515 + - &517 name: targets description: | A comma-separated list of rule targets to filter by. @@ -33102,7 +33576,7 @@ paths: application/json: schema: type: array - items: &214 + items: &216 title: Repository ruleset type: object description: A set of rules to apply when specified conditions are @@ -33137,7 +33611,7 @@ paths: source: type: string description: The name of the source - enforcement: &210 + enforcement: &212 type: string description: The enforcement level of the ruleset. `evaluate` allows admins to test rules before enforcing them. Admins @@ -33150,7 +33624,7 @@ paths: bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: &211 + items: &213 title: Repository Ruleset Bypass Actor type: object description: An actor that can bypass rules in a ruleset @@ -33216,7 +33690,7 @@ paths: description: The html URL of the ruleset conditions: anyOf: - - &208 + - &210 title: Repository ruleset conditions for ref names type: object description: Parameters for a repository ruleset ref name @@ -33240,7 +33714,7 @@ paths: match. items: type: string - - &212 + - &214 title: Organization ruleset conditions type: object description: |- @@ -33254,7 +33728,7 @@ paths: description: Conditions to target repositories by name and refs by name allOf: - - *208 + - *210 - title: Repository ruleset conditions for repository names type: object description: Parameters for a repository name condition @@ -33288,7 +33762,7 @@ paths: description: Conditions to target repositories by id and refs by name allOf: - - *208 + - *210 - title: Repository ruleset conditions for repository IDs type: object description: Parameters for a repository ID condition @@ -33310,7 +33784,7 @@ paths: description: Conditions to target repositories by property and refs by name allOf: - - *208 + - *210 - title: Repository ruleset conditions for repository properties type: object description: Parameters for a repository property condition @@ -33323,7 +33797,7 @@ paths: description: The repository properties and values to include. All of these properties must match for the condition to pass. - items: &209 + items: &211 title: Repository ruleset property targeting definition type: object @@ -33356,7 +33830,7 @@ paths: description: The repository properties and values to exclude. The condition will not pass if any of these properties match. - items: *209 + items: *211 required: - repository_property type: @@ -33364,12 +33838,12 @@ paths: - object rules: type: array - items: &213 + items: &215 title: Repository Rule type: object description: A repository rule. oneOf: - - &497 + - &499 title: creation description: Only allow users with bypass permission to create matching refs. @@ -33381,7 +33855,7 @@ paths: type: string enum: - creation - - &498 + - &500 title: update description: Only allow users with bypass permission to update matching refs. @@ -33402,7 +33876,7 @@ paths: repository required: - update_allows_fetch_and_merge - - &500 + - &502 title: deletion description: Only allow users with bypass permissions to delete matching refs. @@ -33414,7 +33888,7 @@ paths: type: string enum: - deletion - - &501 + - &503 title: required_linear_history description: Prevent merge commits from being pushed to matching refs. @@ -33426,7 +33900,7 @@ paths: type: string enum: - required_linear_history - - &502 + - &504 title: merge_queue description: Merges must be performed via a merge queue. type: object @@ -33504,7 +33978,7 @@ paths: - merge_method - min_entries_to_merge - min_entries_to_merge_wait_minutes - - &503 + - &505 title: required_deployments description: Choose which environments must be successfully deployed to before refs can be pushed into a ref that @@ -33528,7 +34002,7 @@ paths: type: string required: - required_deployment_environments - - &504 + - &506 title: required_signatures description: Commits pushed to matching refs must have verified signatures. @@ -33540,7 +34014,7 @@ paths: type: string enum: - required_signatures - - &505 + - &507 title: pull_request description: Require all commits be made to a non-target branch and submitted via a pull request before they can @@ -33593,7 +34067,7 @@ paths: - require_last_push_approval - required_approving_review_count - required_review_thread_resolution - - &506 + - &508 title: required_status_checks description: Choose which status checks must pass before the ref is updated. When enabled, commits must first be @@ -33641,7 +34115,7 @@ paths: required: - required_status_checks - strict_required_status_checks_policy - - &507 + - &509 title: non_fast_forward description: Prevent users with push access from force pushing to refs. @@ -33653,7 +34127,7 @@ paths: type: string enum: - non_fast_forward - - &508 + - &510 title: commit_message_pattern description: Parameters to be used for the commit_message_pattern rule @@ -33689,7 +34163,7 @@ paths: required: - operator - pattern - - &509 + - &511 title: commit_author_email_pattern description: Parameters to be used for the commit_author_email_pattern rule @@ -33725,7 +34199,7 @@ paths: required: - operator - pattern - - &510 + - &512 title: committer_email_pattern description: Parameters to be used for the committer_email_pattern rule @@ -33761,7 +34235,7 @@ paths: required: - operator - pattern - - &511 + - &513 title: branch_name_pattern description: Parameters to be used for the branch_name_pattern rule @@ -33797,7 +34271,7 @@ paths: required: - operator - pattern - - &512 + - &514 title: tag_name_pattern description: Parameters to be used for the tag_name_pattern rule @@ -33923,7 +34397,7 @@ paths: maximum: 100 required: - max_file_size - - &513 + - &515 title: workflows description: Require all changes made to a targeted branch to pass the specified workflows before they can be merged. @@ -33973,7 +34447,7 @@ paths: - repository_id required: - workflows - - &514 + - &516 title: code_scanning description: Choose which tools must provide code scanning results before the reference is updated. When configured, @@ -34107,16 +34581,16 @@ paths: - push - repository default: branch - enforcement: *210 + enforcement: *212 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *211 - conditions: *212 + items: *213 + conditions: *214 rules: type: array description: An array of rules within the ruleset. - items: *213 + items: *215 required: - name - enforcement @@ -34154,9 +34628,9 @@ paths: description: Response content: application/json: - schema: *214 + schema: *216 examples: - default: &215 + default: &217 value: id: 21 name: super cool ruleset @@ -34211,7 +34685,7 @@ paths: url: https://docs.github.com/rest/orgs/rule-suites#list-organization-rule-suites parameters: - *89 - - &516 + - &518 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 @@ -34226,7 +34700,7 @@ paths: in: query schema: type: string - - &517 + - &519 name: time_period description: |- The time period to filter by. @@ -34242,14 +34716,14 @@ paths: - week - month default: day - - &518 + - &520 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 - - &519 + - &521 name: rule_suite_result description: The rule results to filter on. When specified, only suites with this result will be returned. @@ -34269,7 +34743,7 @@ paths: description: Response content: application/json: - schema: &520 + schema: &522 title: Rule Suites description: Response type: array @@ -34325,7 +34799,7 @@ paths: whether rules would pass or fail if all rules in the rule suite were `active`. examples: - default: &521 + default: &523 value: - id: 21 actor_id: 12 @@ -34369,7 +34843,7 @@ paths: url: https://docs.github.com/rest/orgs/rule-suites#get-an-organization-rule-suite parameters: - *89 - - &522 + - &524 name: rule_suite_id description: |- The unique identifier of the rule suite result. @@ -34385,7 +34859,7 @@ paths: description: Response content: application/json: - schema: &523 + schema: &525 title: Rule Suite description: Response type: object @@ -34492,7 +34966,7 @@ paths: description: The detailed failure message for the rule. Null if the rule passed. examples: - default: &524 + default: &526 value: id: 21 actor_id: 12 @@ -34565,9 +35039,9 @@ paths: description: Response content: application/json: - schema: *214 + schema: *216 examples: - default: *215 + default: *217 '404': *6 '500': *132 put: @@ -34611,16 +35085,16 @@ paths: - tag - push - repository - enforcement: *210 + enforcement: *212 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *211 - conditions: *212 + items: *213 + conditions: *214 rules: description: An array of rules within the ruleset. type: array - items: *213 + items: *215 examples: default: value: @@ -34655,9 +35129,9 @@ paths: description: Response content: application/json: - schema: *214 + schema: *216 examples: - default: *215 + default: *217 '404': *6 '500': *132 delete: @@ -34704,14 +35178,14 @@ paths: url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-organization parameters: - *89 - - *216 - - *217 - *218 - *219 + - *220 + - *221 - *46 - *18 - *17 - - &526 + - &528 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 @@ -34721,7 +35195,7 @@ paths: required: false schema: type: string - - &527 + - &529 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 @@ -34731,9 +35205,9 @@ paths: required: false schema: type: string - - *220 - - *221 - *222 + - *223 + - *224 responses: '200': description: Response @@ -34741,9 +35215,9 @@ paths: application/json: schema: type: array - items: *223 + items: *225 examples: - default: *224 + default: *226 headers: Link: *56 '404': *6 @@ -34813,7 +35287,7 @@ paths: application/json: schema: type: array - items: &534 + items: &536 description: A repository security advisory. type: object properties: @@ -35057,7 +35531,7 @@ paths: login: type: string description: The username of the user credited. - type: *225 + type: *227 credits_detailed: type: - array @@ -35068,7 +35542,7 @@ paths: type: object properties: user: *4 - type: *225 + type: *227 state: type: string description: The state of the user's acceptance of the @@ -35132,7 +35606,7 @@ paths: - private_fork additionalProperties: false examples: - default: &535 + default: &537 value: - ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -35606,7 +36080,7 @@ paths: description: Response content: application/json: - schema: &593 + schema: &595 type: object properties: total_minutes_used: @@ -35676,7 +36150,7 @@ paths: - included_minutes - minutes_used_breakdown examples: - default: &594 + default: &596 value: total_minutes_used: 305 total_paid_minutes_used: 0 @@ -35712,7 +36186,7 @@ paths: description: Response content: application/json: - schema: &595 + schema: &597 type: object properties: total_gigabytes_bandwidth_used: @@ -35730,7 +36204,7 @@ paths: - total_paid_gigabytes_bandwidth_used - included_gigabytes_bandwidth examples: - default: &596 + default: &598 value: total_gigabytes_bandwidth_used: 50 total_paid_gigabytes_bandwidth_used: 40 @@ -35762,7 +36236,7 @@ paths: description: Response content: application/json: - schema: &597 + schema: &599 type: object properties: days_left_in_billing_cycle: @@ -35780,7 +36254,7 @@ paths: - estimated_paid_storage_for_month - estimated_storage_for_month examples: - default: &598 + default: &600 value: days_left_in_billing_cycle: 20 estimated_paid_storage_for_month: 15 @@ -35847,13 +36321,13 @@ paths: application/json: schema: type: array - items: *226 + items: *228 examples: - default: *227 + default: *229 '500': *132 '403': *27 '404': *6 - '422': *228 + '422': *230 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -35920,9 +36394,9 @@ paths: application/json: schema: type: array - items: *229 + items: *231 examples: - default: *230 + default: *232 '500': *132 '401': *23 '403': *27 @@ -36050,7 +36524,7 @@ paths: description: Response content: application/json: - schema: &231 + schema: &233 title: Full Team description: Groups of organization members that gives permissions on specified repositories. @@ -36430,7 +36904,7 @@ paths: - repos_count - organization examples: - default: &232 + default: &234 value: id: 1 node_id: MDQ6VGVhbTE= @@ -36507,9 +36981,9 @@ paths: description: Response content: application/json: - schema: *231 + schema: *233 examples: - default: *232 + default: *234 '404': *6 x-github: githubCloudOnly: false @@ -36594,16 +37068,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *231 + schema: *233 examples: - default: *232 + default: *234 '201': description: Response content: application/json: - schema: *231 + schema: *233 examples: - default: *232 + default: *234 '404': *6 '422': *15 '403': *27 @@ -36673,7 +37147,7 @@ paths: application/json: schema: type: array - items: &233 + items: &235 title: Team Discussion description: A team discussion is a persistent record of a free-form conversation within a team. @@ -36784,7 +37258,7 @@ paths: - updated_at - url examples: - default: &549 + default: &551 value: - author: login: octocat @@ -36893,9 +37367,9 @@ paths: description: Response content: application/json: - schema: *233 + schema: *235 examples: - default: &234 + default: &236 value: author: login: octocat @@ -36969,7 +37443,7 @@ paths: parameters: - *89 - *183 - - &235 + - &237 name: discussion_number description: The number that identifies the discussion. in: path @@ -36981,9 +37455,9 @@ paths: description: Response content: application/json: - schema: *233 + schema: *235 examples: - default: *234 + default: *236 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -37007,7 +37481,7 @@ paths: parameters: - *89 - *183 - - *235 + - *237 requestBody: required: false content: @@ -37030,9 +37504,9 @@ paths: description: Response content: application/json: - schema: *233 + schema: *235 examples: - default: &550 + default: &552 value: author: login: octocat @@ -37104,7 +37578,7 @@ paths: parameters: - *89 - *183 - - *235 + - *237 responses: '204': description: Response @@ -37132,7 +37606,7 @@ paths: parameters: - *89 - *183 - - *235 + - *237 - *46 - *17 - *18 @@ -37143,7 +37617,7 @@ paths: application/json: schema: type: array - items: &236 + items: &238 title: Team Discussion Comment description: A reply to a discussion within a team. type: object @@ -37223,7 +37697,7 @@ paths: - updated_at - url examples: - default: &551 + default: &553 value: - author: login: octocat @@ -37293,7 +37767,7 @@ paths: parameters: - *89 - *183 - - *235 + - *237 requestBody: required: true content: @@ -37315,9 +37789,9 @@ paths: description: Response content: application/json: - schema: *236 + schema: *238 examples: - default: &237 + default: &239 value: author: login: octocat @@ -37385,8 +37859,8 @@ paths: parameters: - *89 - *183 - - *235 - - &238 + - *237 + - &240 name: comment_number description: The number that identifies the comment. in: path @@ -37398,9 +37872,9 @@ paths: description: Response content: application/json: - schema: *236 + schema: *238 examples: - default: *237 + default: *239 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -37424,8 +37898,8 @@ paths: parameters: - *89 - *183 - - *235 - - *238 + - *237 + - *240 requestBody: required: true content: @@ -37447,9 +37921,9 @@ paths: description: Response content: application/json: - schema: *236 + schema: *238 examples: - default: &552 + default: &554 value: author: login: octocat @@ -37515,8 +37989,8 @@ paths: parameters: - *89 - *183 - - *235 - - *238 + - *237 + - *240 responses: '204': description: Response @@ -37544,8 +38018,8 @@ paths: parameters: - *89 - *183 - - *235 - - *238 + - *237 + - *240 - 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 team discussion comment. @@ -37571,7 +38045,7 @@ paths: application/json: schema: type: array - items: &239 + items: &241 title: Reaction description: Reactions to conversations provide a way to help people express their feelings more simply and effectively. @@ -37615,7 +38089,7 @@ paths: - content - created_at examples: - default: &241 + default: &243 value: - id: 1 node_id: MDg6UmVhY3Rpb24x @@ -37667,8 +38141,8 @@ paths: parameters: - *89 - *183 - - *235 - - *238 + - *237 + - *240 requestBody: required: true content: @@ -37701,9 +38175,9 @@ paths: team discussion comment content: application/json: - schema: *239 + schema: *241 examples: - default: &240 + default: &242 value: id: 1 node_id: MDg6UmVhY3Rpb24x @@ -37732,9 +38206,9 @@ paths: description: Response content: application/json: - schema: *239 + schema: *241 examples: - default: *240 + default: *242 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -37759,9 +38233,9 @@ paths: parameters: - *89 - *183 - - *235 - - *238 - - &242 + - *237 + - *240 + - &244 name: reaction_id description: The unique identifier of the reaction. in: path @@ -37795,7 +38269,7 @@ paths: parameters: - *89 - *183 - - *235 + - *237 - 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 team discussion. @@ -37821,9 +38295,9 @@ paths: application/json: schema: type: array - items: *239 + items: *241 examples: - default: *241 + default: *243 headers: Link: *56 x-github: @@ -37851,7 +38325,7 @@ paths: parameters: - *89 - *183 - - *235 + - *237 requestBody: required: true content: @@ -37883,16 +38357,16 @@ paths: description: Response content: application/json: - schema: *239 + schema: *241 examples: - default: *240 + default: *242 '201': description: Response content: application/json: - schema: *239 + schema: *241 examples: - default: *240 + default: *242 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -37917,8 +38391,8 @@ paths: parameters: - *89 - *183 - - *235 - - *242 + - *237 + - *244 responses: '204': description: Response @@ -38039,7 +38513,7 @@ paths: description: Response content: application/json: - schema: &243 + schema: &245 title: Team Membership description: Team Membership type: object @@ -38067,7 +38541,7 @@ paths: - state - url examples: - response-if-user-is-a-team-maintainer: &553 + response-if-user-is-a-team-maintainer: &555 summary: Response if user is a team maintainer value: url: https://api.github.com/teams/1/memberships/octocat @@ -38130,9 +38604,9 @@ paths: description: Response content: application/json: - schema: *243 + schema: *245 examples: - response-if-users-membership-with-team-is-now-pending: &554 + response-if-users-membership-with-team-is-now-pending: &556 summary: Response if user's membership with team is now pending value: url: https://api.github.com/teams/1/memberships/octocat @@ -38206,7 +38680,7 @@ paths: application/json: schema: type: array - items: &244 + items: &246 title: Team Project description: A team's access to a project. type: object @@ -38275,7 +38749,7 @@ paths: - updated_at - permissions examples: - default: &555 + default: &557 value: - owner_url: https://api.github.com/orgs/octocat url: https://api.github.com/projects/1002605 @@ -38338,7 +38812,7 @@ paths: parameters: - *89 - *183 - - &245 + - &247 name: project_id description: The unique identifier of the project. in: path @@ -38350,9 +38824,9 @@ paths: description: Response content: application/json: - schema: *244 + schema: *246 examples: - default: &556 + default: &558 value: owner_url: https://api.github.com/orgs/octocat url: https://api.github.com/projects/1002605 @@ -38414,7 +38888,7 @@ paths: parameters: - *89 - *183 - - *245 + - *247 requestBody: required: false content: @@ -38481,7 +38955,7 @@ paths: parameters: - *89 - *183 - - *245 + - *247 responses: '204': description: Response @@ -38549,14 +39023,14 @@ paths: parameters: - *89 - *183 - - *246 - - *247 + - *248 + - *249 responses: '200': description: Alternative response with repository permissions content: application/json: - schema: &557 + schema: &559 title: Team Repository description: A team's access to a repository. type: object @@ -39199,8 +39673,8 @@ paths: parameters: - *89 - *183 - - *246 - - *247 + - *248 + - *249 requestBody: required: false content: @@ -39247,8 +39721,8 @@ paths: parameters: - *89 - *183 - - *246 - - *247 + - *248 + - *249 responses: '204': description: Response @@ -39285,7 +39759,7 @@ paths: type: array items: *171 examples: - response-if-child-teams-exist: &558 + response-if-child-teams-exist: &560 value: - id: 2 node_id: MDQ6VGVhbTI= @@ -39409,7 +39883,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/cards#get-a-project-card parameters: - - &248 + - &250 name: card_id description: The unique identifier of the card. in: path @@ -39421,7 +39895,7 @@ paths: description: Response content: application/json: - schema: &249 + schema: &251 title: Project Card description: Project cards represent a scope of work. type: object @@ -39496,7 +39970,7 @@ paths: - created_at - updated_at examples: - default: &250 + default: &252 value: url: https://api.github.com/projects/columns/cards/1478 id: 1478 @@ -39546,7 +40020,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/cards#update-an-existing-project-card parameters: - - *248 + - *250 requestBody: required: false content: @@ -39576,9 +40050,9 @@ paths: description: Response content: application/json: - schema: *249 + schema: *251 examples: - default: *250 + default: *252 '304': *35 '403': *27 '401': *23 @@ -39599,7 +40073,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/cards#delete-a-project-card parameters: - - *248 + - *250 responses: '204': description: Response @@ -39637,7 +40111,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/cards#move-a-project-card parameters: - - *248 + - *250 requestBody: required: true content: @@ -39744,7 +40218,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/columns#get-a-project-column parameters: - - &251 + - &253 name: column_id description: The unique identifier of the column. in: path @@ -39756,7 +40230,7 @@ paths: description: Response content: application/json: - schema: &252 + schema: &254 title: Project Column description: Project columns contain cards of work. type: object @@ -39810,7 +40284,7 @@ paths: - created_at - updated_at examples: - default: &253 + default: &255 value: url: https://api.github.com/projects/columns/367 project_url: https://api.github.com/projects/120 @@ -39839,7 +40313,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/columns#update-an-existing-project-column parameters: - - *251 + - *253 requestBody: required: true content: @@ -39864,9 +40338,9 @@ paths: description: Response content: application/json: - schema: *252 + schema: *254 examples: - default: *253 + default: *255 '304': *35 '403': *27 '401': *23 @@ -39885,7 +40359,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/columns#delete-a-project-column parameters: - - *251 + - *253 responses: '204': description: Response @@ -39908,7 +40382,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/cards#list-project-cards parameters: - - *251 + - *253 - name: archived_state description: Filters the project cards that are returned by the card's state. in: query @@ -39929,7 +40403,7 @@ paths: application/json: schema: type: array - items: *249 + items: *251 examples: default: value: @@ -39982,7 +40456,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/cards#create-a-project-card parameters: - - *251 + - *253 requestBody: required: true content: @@ -40026,9 +40500,9 @@ paths: description: Response content: application/json: - schema: *249 + schema: *251 examples: - default: *250 + default: *252 '304': *35 '403': *27 '401': *23 @@ -40078,7 +40552,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/columns#move-a-project-column parameters: - - *251 + - *253 requestBody: required: true content: @@ -40135,15 +40609,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/projects#get-a-project parameters: - - *245 + - *247 responses: '200': description: Response content: application/json: - schema: *201 + schema: *203 examples: - default: &254 + default: &256 value: owner_url: https://api.github.com/repos/api-playground/projects-test url: https://api.github.com/projects/1002604 @@ -40196,7 +40670,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/projects#update-a-project parameters: - - *245 + - *247 requestBody: required: false content: @@ -40245,9 +40719,9 @@ paths: description: Response content: application/json: - schema: *201 + schema: *203 examples: - default: *254 + default: *256 '404': description: Not Found if the authenticated user does not have access to the project @@ -40268,7 +40742,7 @@ paths: items: type: string '401': *23 - '410': *255 + '410': *257 '422': *7 x-github: githubCloudOnly: false @@ -40286,7 +40760,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/projects#delete-a-project parameters: - - *245 + - *247 responses: '204': description: Delete Success @@ -40307,7 +40781,7 @@ paths: items: type: string '401': *23 - '410': *255 + '410': *257 '404': *6 x-github: githubCloudOnly: false @@ -40330,7 +40804,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/collaborators#list-project-collaborators parameters: - - *245 + - *247 - name: affiliation description: Filters the collaborators by their affiliation. `outside` means outside collaborators of a project that are not a member of the project's @@ -40382,7 +40856,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/collaborators#add-project-collaborator parameters: - - *245 + - *247 - *120 requestBody: required: false @@ -40432,7 +40906,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/collaborators#remove-user-as-a-collaborator parameters: - - *245 + - *247 - *120 responses: '204': @@ -40461,7 +40935,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/collaborators#get-project-permission-for-a-user parameters: - - *245 + - *247 - *120 responses: '200': @@ -40526,7 +41000,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/columns#list-project-columns parameters: - - *245 + - *247 - *17 - *18 responses: @@ -40536,7 +41010,7 @@ paths: application/json: schema: type: array - items: *252 + items: *254 examples: default: value: @@ -40568,7 +41042,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/columns#create-a-project-column parameters: - - *245 + - *247 requestBody: required: true content: @@ -40592,7 +41066,7 @@ paths: description: Response content: application/json: - schema: *252 + schema: *254 examples: default: value: @@ -40653,7 +41127,7 @@ paths: resources: type: object properties: - core: &256 + core: &258 title: Rate Limit type: object properties: @@ -40670,20 +41144,20 @@ paths: - remaining - reset - used - graphql: *256 - search: *256 - code_search: *256 - source_import: *256 - integration_manifest: *256 - code_scanning_upload: *256 - actions_runner_registration: *256 - scim: *256 - dependency_snapshots: *256 - code_scanning_autofix: *256 + graphql: *258 + search: *258 + code_search: *258 + source_import: *258 + integration_manifest: *258 + code_scanning_upload: *258 + actions_runner_registration: *258 + scim: *258 + dependency_snapshots: *258 + code_scanning_autofix: *258 required: - core - search - rate: *256 + rate: *258 required: - rate - resources @@ -40787,14 +41261,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#get-a-repository parameters: - - *246 - - *247 + - *248 + - *249 responses: '200': description: Response content: application/json: - schema: *257 + schema: *259 examples: default-response: summary: Default response @@ -41295,7 +41769,7 @@ paths: status: disabled '403': *27 '404': *6 - '301': *258 + '301': *260 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -41313,8 +41787,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#update-a-repository parameters: - - *246 - - *247 + - *248 + - *249 requestBody: required: false content: @@ -41551,10 +42025,10 @@ paths: description: Response content: application/json: - schema: *257 + schema: *259 examples: - default: *259 - '307': &260 + default: *261 + '307': &262 description: Temporary Redirect content: application/json: @@ -41583,8 +42057,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#delete-a-repository parameters: - - *246 - - *247 + - *248 + - *249 responses: '204': description: Response @@ -41606,7 +42080,7 @@ paths: value: message: Organization members cannot delete repositories. documentation_url: https://docs.github.com/rest/repos/repos#delete-a-repository - '307': *260 + '307': *262 '404': *6 x-github: githubCloudOnly: false @@ -41629,11 +42103,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#list-artifacts-for-a-repository parameters: - - *246 - - *247 + - *248 + - *249 - *17 - *18 - - &286 + - &288 name: name description: The name field of an artifact. When specified, only artifacts with this name will be returned. @@ -41656,7 +42130,7 @@ paths: type: integer artifacts: type: array - items: &261 + items: &263 title: Artifact description: An artifact type: object @@ -41742,7 +42216,7 @@ paths: - expires_at - updated_at examples: - default: &287 + default: &289 value: total_count: 2 artifacts: @@ -41801,9 +42275,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#get-an-artifact parameters: - - *246 - - *247 - - &262 + - *248 + - *249 + - &264 name: artifact_id description: The unique identifier of the artifact. in: path @@ -41815,7 +42289,7 @@ paths: description: Response content: application/json: - schema: *261 + schema: *263 examples: default: value: @@ -41852,9 +42326,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#delete-an-artifact parameters: - - *246 - - *247 - - *262 + - *248 + - *249 + - *264 responses: '204': description: Response @@ -41878,9 +42352,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#download-an-artifact parameters: - - *246 - - *247 - - *262 + - *248 + - *249 + - *264 - name: archive_format in: path required: true @@ -41894,7 +42368,7 @@ paths: 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': *255 + '410': *257 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -41917,14 +42391,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#get-github-actions-cache-usage-for-a-repository parameters: - - *246 - - *247 + - *248 + - *249 responses: '200': description: Response content: application/json: - schema: *263 + schema: *265 examples: default: value: @@ -41950,11 +42424,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#list-github-actions-caches-for-a-repository parameters: - - *246 - - *247 + - *248 + - *249 - *17 - *18 - - &264 + - &266 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 @@ -41988,7 +42462,7 @@ paths: description: Response content: application/json: - schema: &265 + schema: &267 title: Repository actions caches description: Repository actions caches type: object @@ -42038,7 +42512,7 @@ paths: - total_count - actions_caches examples: - default: &266 + default: &268 value: total_count: 1 actions_caches: @@ -42070,23 +42544,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: - - *246 - - *247 + - *248 + - *249 - name: key description: A key for identifying the cache. in: query required: true schema: type: string - - *264 + - *266 responses: '200': description: Response content: application/json: - schema: *265 + schema: *267 examples: - default: *266 + default: *268 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -42106,8 +42580,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: - - *246 - - *247 + - *248 + - *249 - name: cache_id description: The unique identifier of the GitHub Actions cache. in: path @@ -42138,9 +42612,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#get-a-job-for-a-workflow-run parameters: - - *246 - - *247 - - &267 + - *248 + - *249 + - &269 name: job_id description: The unique identifier of the job. in: path @@ -42152,7 +42626,7 @@ paths: description: Response content: application/json: - schema: &290 + schema: &292 title: Job description: Information of a job execution in a workflow run type: object @@ -42499,9 +42973,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#download-job-logs-for-a-workflow-run parameters: - - *246 - - *247 - - *267 + - *248 + - *249 + - *269 responses: '302': description: Response @@ -42529,9 +43003,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#re-run-a-job-from-a-workflow-run parameters: - - *246 - - *247 - - *267 + - *248 + - *249 + - *269 requestBody: required: false content: @@ -42577,8 +43051,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: - - *246 - - *247 + - *248 + - *249 responses: '200': description: Status response @@ -42628,8 +43102,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: - - *246 - - *247 + - *248 + - *249 requestBody: required: true content: @@ -42692,8 +43166,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-repository-organization-secrets parameters: - - *246 - - *247 + - *248 + - *249 - *17 - *18 responses: @@ -42711,7 +43185,7 @@ paths: type: integer secrets: type: array - items: &292 + items: &294 title: Actions Secret description: Set secrets for GitHub Actions. type: object @@ -42732,7 +43206,7 @@ paths: - created_at - updated_at examples: - default: &293 + default: &295 value: total_count: 2 secrets: @@ -42765,9 +43239,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-repository-organization-variables parameters: - - *246 - - *247 - - *268 + - *248 + - *249 + - *270 - *18 responses: '200': @@ -42784,7 +43258,7 @@ paths: type: integer variables: type: array - items: &296 + items: &298 title: Actions Variable type: object properties: @@ -42818,7 +43292,7 @@ paths: - created_at - updated_at examples: - default: &297 + default: &299 value: total_count: 2 variables: @@ -42851,8 +43325,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-github-actions-permissions-for-a-repository parameters: - - *246 - - *247 + - *248 + - *249 responses: '200': description: Response @@ -42861,11 +43335,11 @@ paths: schema: type: object properties: - enabled: &270 + enabled: &272 type: boolean description: Whether GitHub Actions is enabled on the repository. allowed_actions: *97 - selected_actions_url: *269 + selected_actions_url: *271 required: - enabled examples: @@ -42892,8 +43366,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-github-actions-permissions-for-a-repository parameters: - - *246 - - *247 + - *248 + - *249 responses: '204': description: Response @@ -42904,7 +43378,7 @@ paths: schema: type: object properties: - enabled: *270 + enabled: *272 allowed_actions: *97 required: - enabled @@ -42934,14 +43408,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: - - *246 - - *247 + - *248 + - *249 responses: '200': description: Response content: application/json: - schema: &271 + schema: &273 type: object properties: access_level: @@ -42958,7 +43432,7 @@ paths: required: - access_level examples: - default: &272 + default: &274 value: access_level: organization x-github: @@ -42982,15 +43456,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: - - *246 - - *247 + - *248 + - *249 requestBody: required: true content: application/json: - schema: *271 + schema: *273 examples: - default: *272 + default: *274 responses: '204': description: Response @@ -43014,8 +43488,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-allowed-actions-and-reusable-workflows-for-a-repository parameters: - - *246 - - *247 + - *248 + - *249 responses: '200': description: Response @@ -43042,8 +43516,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-allowed-actions-and-reusable-workflows-for-a-repository parameters: - - *246 - - *247 + - *248 + - *249 responses: '204': description: Response @@ -43075,14 +43549,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-default-workflow-permissions-for-a-repository parameters: - - *246 - - *247 + - *248 + - *249 responses: '200': description: Response content: application/json: - schema: *273 + schema: *275 examples: default: *103 x-github: @@ -43105,8 +43579,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-default-workflow-permissions-for-a-repository parameters: - - *246 - - *247 + - *248 + - *249 responses: '204': description: Success response @@ -43117,7 +43591,7 @@ paths: required: true content: application/json: - schema: *274 + schema: *276 examples: default: *103 x-github: @@ -43146,8 +43620,8 @@ paths: in: query schema: type: string - - *246 - - *247 + - *248 + - *249 - *17 - *18 responses: @@ -43191,8 +43665,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#list-runner-applications-for-a-repository parameters: - - *246 - - *247 + - *248 + - *249 responses: '200': description: Response @@ -43200,9 +43674,9 @@ paths: application/json: schema: type: array - items: *275 + items: *277 examples: - default: *276 + default: *278 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -43224,8 +43698,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: - - *246 - - *247 + - *248 + - *249 requestBody: required: true content: @@ -43268,7 +43742,7 @@ paths: - no-gpu work_folder: _work responses: - '201': *277 + '201': *279 '404': *6 '422': *7 x-github: @@ -43298,8 +43772,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#create-a-registration-token-for-a-repository parameters: - - *246 - - *247 + - *248 + - *249 responses: '201': description: Response @@ -43307,7 +43781,7 @@ paths: application/json: schema: *111 examples: - default: *278 + default: *280 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -43335,8 +43809,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#create-a-remove-token-for-a-repository parameters: - - *246 - - *247 + - *248 + - *249 responses: '201': description: Response @@ -43344,7 +43818,7 @@ paths: application/json: schema: *111 examples: - default: *279 + default: *281 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -43366,8 +43840,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#get-a-self-hosted-runner-for-a-repository parameters: - - *246 - - *247 + - *248 + - *249 - *108 responses: '200': @@ -43376,7 +43850,7 @@ paths: application/json: schema: *109 examples: - default: *280 + default: *282 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -43397,8 +43871,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#delete-a-self-hosted-runner-from-a-repository parameters: - - *246 - - *247 + - *248 + - *249 - *108 responses: '204': @@ -43424,8 +43898,8 @@ 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: - - *246 - - *247 + - *248 + - *249 - *108 responses: '200': *113 @@ -43450,8 +43924,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-a-repository parameters: - - *246 - - *247 + - *248 + - *249 - *108 requestBody: required: true @@ -43500,8 +43974,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-a-repository parameters: - - *246 - - *247 + - *248 + - *249 - *108 requestBody: required: true @@ -43551,11 +44025,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: - - *246 - - *247 + - *248 + - *249 - *108 responses: - '200': *281 + '200': *283 '404': *6 x-github: githubCloudOnly: false @@ -43582,10 +44056,10 @@ 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: - - *246 - - *247 + - *248 + - *249 - *108 - - *282 + - *284 responses: '200': *113 '404': *6 @@ -43613,9 +44087,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#list-workflow-runs-for-a-repository parameters: - - *246 - - *247 - - &300 + - *248 + - *249 + - &302 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. @@ -43623,7 +44097,7 @@ paths: required: false schema: type: string - - &301 + - &303 name: branch description: Returns workflow runs associated with a branch. Use the name of the branch of the `push`. @@ -43631,7 +44105,7 @@ paths: required: false schema: type: string - - &302 + - &304 name: event description: Returns workflow run triggered by the event you specify. For example, `push`, `pull_request` or `issue`. For more information, see "[Events @@ -43640,7 +44114,7 @@ paths: required: false schema: type: string - - &303 + - &305 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 @@ -43667,7 +44141,7 @@ paths: - pending - *17 - *18 - - &304 + - &306 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)." @@ -43676,7 +44150,7 @@ paths: schema: type: string format: date-time - - &283 + - &285 name: exclude_pull_requests description: If `true` pull requests are omitted from the response (empty array). @@ -43685,13 +44159,13 @@ paths: schema: type: boolean default: false - - &305 + - &307 name: check_suite_id description: Returns workflow runs with the `check_suite_id` that you specify. in: query schema: type: integer - - &306 + - &308 name: head_sha description: Only returns workflow runs that are associated with the specified `head_sha`. @@ -43714,7 +44188,7 @@ paths: type: integer workflow_runs: type: array - items: &284 + items: &286 title: Workflow Run description: An invocation of a workflow type: object @@ -43831,7 +44305,7 @@ paths: type: - array - 'null' - items: &325 + items: &327 title: Pull Request Minimal type: object properties: @@ -43958,7 +44432,7 @@ paths: head_commit: anyOf: - type: 'null' - - &329 + - &331 title: Simple Commit description: A commit. type: object @@ -44073,7 +44547,7 @@ paths: - workflow_url - pull_requests examples: - default: &307 + default: &309 value: total_count: 1 workflow_runs: @@ -44309,24 +44783,24 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-a-workflow-run parameters: - - *246 - - *247 - - &285 + - *248 + - *249 + - &287 name: run_id description: The unique identifier of the workflow run. in: path required: true schema: type: integer - - *283 + - *285 responses: '200': description: Response content: application/json: - schema: *284 + schema: *286 examples: - default: &288 + default: &290 value: id: 30433642 name: Build @@ -44567,9 +45041,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#delete-a-workflow-run parameters: - - *246 - - *247 - - *285 + - *248 + - *249 + - *287 responses: '204': description: Response @@ -44592,9 +45066,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-the-review-history-for-a-workflow-run parameters: - - *246 - - *247 - - *285 + - *248 + - *249 + - *287 responses: '200': description: Response @@ -44722,9 +45196,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#approve-a-workflow-run-for-a-fork-pull-request parameters: - - *246 - - *247 - - *285 + - *248 + - *249 + - *287 responses: '201': description: Response @@ -44757,12 +45231,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#list-workflow-run-artifacts parameters: - - *246 - - *247 - - *285 + - *248 + - *249 + - *287 - *17 - *18 - - *286 + - *288 responses: '200': description: Response @@ -44778,9 +45252,9 @@ paths: type: integer artifacts: type: array - items: *261 + items: *263 examples: - default: *287 + default: *289 headers: Link: *56 x-github: @@ -44804,25 +45278,25 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-a-workflow-run-attempt parameters: - - *246 - - *247 - - *285 - - &289 + - *248 + - *249 + - *287 + - &291 name: attempt_number description: The attempt number of the workflow run. in: path required: true schema: type: integer - - *283 + - *285 responses: '200': description: Response content: application/json: - schema: *284 + schema: *286 examples: - default: *288 + default: *290 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -44845,10 +45319,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#list-jobs-for-a-workflow-run-attempt parameters: - - *246 - - *247 - - *285 - - *289 + - *248 + - *249 + - *287 + - *291 - *17 - *18 responses: @@ -44866,9 +45340,9 @@ paths: type: integer jobs: type: array - items: *290 + items: *292 examples: - default: &291 + default: &293 value: total_count: 1 jobs: @@ -44981,10 +45455,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#download-workflow-run-attempt-logs parameters: - - *246 - - *247 - - *285 - - *289 + - *248 + - *249 + - *287 + - *291 responses: '302': description: Response @@ -45012,9 +45486,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#cancel-a-workflow-run parameters: - - *246 - - *247 - - *285 + - *248 + - *249 + - *287 responses: '202': description: Response @@ -45047,9 +45521,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: - - *246 - - *247 - - *285 + - *248 + - *249 + - *287 requestBody: required: true content: @@ -45116,9 +45590,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#force-cancel-a-workflow-run parameters: - - *246 - - *247 - - *285 + - *248 + - *249 + - *287 responses: '202': description: Response @@ -45151,9 +45625,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#list-jobs-for-a-workflow-run parameters: - - *246 - - *247 - - *285 + - *248 + - *249 + - *287 - 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 @@ -45183,9 +45657,9 @@ paths: type: integer jobs: type: array - items: *290 + items: *292 examples: - default: *291 + default: *293 headers: Link: *56 x-github: @@ -45210,9 +45684,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#download-workflow-run-logs parameters: - - *246 - - *247 - - *285 + - *248 + - *249 + - *287 responses: '302': description: Response @@ -45239,9 +45713,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#delete-workflow-run-logs parameters: - - *246 - - *247 - - *285 + - *248 + - *249 + - *287 responses: '204': description: Response @@ -45268,9 +45742,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-pending-deployments-for-a-workflow-run parameters: - - *246 - - *247 - - *285 + - *248 + - *249 + - *287 responses: '200': description: Response @@ -45339,7 +45813,7 @@ paths: items: type: object properties: - type: &403 + type: &405 type: string description: The type of reviewer. enum: @@ -45425,9 +45899,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#review-pending-deployments-for-a-workflow-run parameters: - - *246 - - *247 - - *285 + - *248 + - *249 + - *287 requestBody: required: true content: @@ -45477,7 +45951,7 @@ paths: application/json: schema: type: array - items: &398 + items: &400 title: Deployment description: A request for a specific ref(branch,sha,tag) to be deployed @@ -45589,7 +46063,7 @@ paths: - created_at - updated_at examples: - default: &399 + default: &401 value: - url: https://api.github.com/repos/octocat/example/deployments/1 id: 1 @@ -45645,9 +46119,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#re-run-a-workflow parameters: - - *246 - - *247 - - *285 + - *248 + - *249 + - *287 requestBody: required: false content: @@ -45692,9 +46166,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#re-run-failed-jobs-from-a-workflow-run parameters: - - *246 - - *247 - - *285 + - *248 + - *249 + - *287 requestBody: required: false content: @@ -45741,9 +46215,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-workflow-run-usage parameters: - - *246 - - *247 - - *285 + - *248 + - *249 + - *287 responses: '200': description: Response @@ -45880,8 +46354,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-repository-secrets parameters: - - *246 - - *247 + - *248 + - *249 - *17 - *18 responses: @@ -45899,9 +46373,9 @@ paths: type: integer secrets: type: array - items: *292 + items: *294 examples: - default: *293 + default: *295 headers: Link: *56 x-github: @@ -45926,16 +46400,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-a-repository-public-key parameters: - - *246 - - *247 + - *248 + - *249 responses: '200': description: Response content: application/json: - schema: *294 + schema: *296 examples: - default: *295 + default: *297 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -45957,17 +46431,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-a-repository-secret parameters: - - *246 - - *247 + - *248 + - *249 - *115 responses: '200': description: Response content: application/json: - schema: *292 + schema: *294 examples: - default: &416 + default: &418 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -45993,8 +46467,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#create-or-update-a-repository-secret parameters: - - *246 - - *247 + - *248 + - *249 - *115 requestBody: required: true @@ -46049,8 +46523,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#delete-a-repository-secret parameters: - - *246 - - *247 + - *248 + - *249 - *115 responses: '204': @@ -46076,9 +46550,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-repository-variables parameters: - - *246 - - *247 - - *268 + - *248 + - *249 + - *270 - *18 responses: '200': @@ -46095,9 +46569,9 @@ paths: type: integer variables: type: array - items: *296 + items: *298 examples: - default: *297 + default: *299 headers: Link: *56 x-github: @@ -46120,8 +46594,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#create-a-repository-variable parameters: - - *246 - - *247 + - *248 + - *249 requestBody: required: true content: @@ -46173,17 +46647,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#get-a-repository-variable parameters: - - *246 - - *247 + - *248 + - *249 - *118 responses: '200': description: Response content: application/json: - schema: *296 + schema: *298 examples: - default: &417 + default: &419 value: name: USERNAME value: octocat @@ -46209,8 +46683,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#update-a-repository-variable parameters: - - *246 - - *247 + - *248 + - *249 - *118 requestBody: required: true @@ -46253,8 +46727,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#delete-a-repository-variable parameters: - - *246 - - *247 + - *248 + - *249 - *118 responses: '204': @@ -46280,8 +46754,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#list-repository-workflows parameters: - - *246 - - *247 + - *248 + - *249 - *17 - *18 responses: @@ -46299,7 +46773,7 @@ paths: type: integer workflows: type: array - items: &298 + items: &300 title: Workflow description: A GitHub Actions workflow type: object @@ -46417,9 +46891,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#get-a-workflow parameters: - - *246 - - *247 - - &299 + - *248 + - *249 + - &301 name: workflow_id in: path description: The ID of the workflow. You can also pass the workflow file name @@ -46434,7 +46908,7 @@ paths: description: Response content: application/json: - schema: *298 + schema: *300 examples: default: value: @@ -46467,9 +46941,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#disable-a-workflow parameters: - - *246 - - *247 - - *299 + - *248 + - *249 + - *301 responses: '204': description: Response @@ -46494,9 +46968,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#create-a-workflow-dispatch-event parameters: - - *246 - - *247 - - *299 + - *248 + - *249 + - *301 responses: '204': description: Response @@ -46547,9 +47021,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#enable-a-workflow parameters: - - *246 - - *247 - - *299 + - *248 + - *249 + - *301 responses: '204': description: Response @@ -46576,19 +47050,19 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#list-workflow-runs-for-a-workflow parameters: - - *246 - - *247 - - *299 - - *300 + - *248 + - *249 - *301 - *302 - *303 - - *17 - - *18 - *304 - - *283 - *305 + - *17 + - *18 - *306 + - *285 + - *307 + - *308 responses: '200': description: Response @@ -46604,9 +47078,9 @@ paths: type: integer workflow_runs: type: array - items: *284 + items: *286 examples: - default: *307 + default: *309 headers: Link: *56 x-github: @@ -46632,9 +47106,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#get-workflow-usage parameters: - - *246 - - *247 - - *299 + - *248 + - *249 + - *301 responses: '200': description: Response @@ -46695,8 +47169,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-activities parameters: - - *246 - - *247 + - *248 + - *249 - *46 - *17 - *37 @@ -46864,8 +47338,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#list-assignees parameters: - - *246 - - *247 + - *248 + - *249 - *17 - *18 responses: @@ -46902,8 +47376,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#check-if-a-user-can-be-assigned parameters: - - *246 - - *247 + - *248 + - *249 - name: assignee in: path required: true @@ -46939,8 +47413,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#create-an-attestation parameters: - - *246 - - *247 + - *248 + - *249 requestBody: required: true content: @@ -47052,8 +47526,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-attestations parameters: - - *246 - - *247 + - *248 + - *249 - *17 - *37 - *38 @@ -47099,7 +47573,7 @@ paths: bundle_url: type: string examples: - default: *308 + default: *310 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -47119,8 +47593,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#get-all-autolinks-of-a-repository parameters: - - *246 - - *247 + - *248 + - *249 responses: '200': description: Response @@ -47128,7 +47602,7 @@ paths: application/json: schema: type: array - items: &309 + items: &311 title: Autolink reference description: An autolink reference. type: object @@ -47182,8 +47656,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#create-an-autolink-reference-for-a-repository parameters: - - *246 - - *247 + - *248 + - *249 requestBody: required: true content: @@ -47222,9 +47696,9 @@ paths: description: response content: application/json: - schema: *309 + schema: *311 examples: - default: &310 + default: &312 value: id: 1 key_prefix: TICKET- @@ -47255,9 +47729,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#get-an-autolink-reference-of-a-repository parameters: - - *246 - - *247 - - &311 + - *248 + - *249 + - &313 name: autolink_id description: The unique identifier of the autolink. in: path @@ -47269,9 +47743,9 @@ paths: description: Response content: application/json: - schema: *309 + schema: *311 examples: - default: *310 + default: *312 '404': *6 x-github: githubCloudOnly: false @@ -47291,9 +47765,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#delete-an-autolink-reference-from-a-repository parameters: - - *246 - - *247 - - *311 + - *248 + - *249 + - *313 responses: '204': description: Response @@ -47317,8 +47791,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#check-if-automated-security-fixes-are-enabled-for-a-repository parameters: - - *246 - - *247 + - *248 + - *249 responses: '200': description: Response if Dependabot is enabled @@ -47368,8 +47842,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-automated-security-fixes parameters: - - *246 - - *247 + - *248 + - *249 responses: '204': description: Response @@ -47390,8 +47864,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-automated-security-fixes parameters: - - *246 - - *247 + - *248 + - *249 responses: '204': description: Response @@ -47411,8 +47885,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#list-branches parameters: - - *246 - - *247 + - *248 + - *249 - name: protected description: Setting to `true` returns only branches protected by branch protections or rulesets. When set to `false`, only unprotected branches are returned. @@ -47450,7 +47924,7 @@ paths: - url protected: type: boolean - protection: &313 + protection: &315 title: Branch Protection description: Branch Protection type: object @@ -47493,7 +47967,7 @@ paths: required: - contexts - checks - enforce_admins: &316 + enforce_admins: &318 title: Protected Branch Admin Enforced description: Protected Branch Admin Enforced type: object @@ -47510,7 +47984,7 @@ paths: required: - url - enabled - required_pull_request_reviews: &318 + required_pull_request_reviews: &320 title: Protected Branch Pull Request Review description: Protected Branch Pull Request Review type: object @@ -47594,7 +48068,7 @@ paths: required: - dismiss_stale_reviews - require_code_owner_reviews - restrictions: &315 + restrictions: &317 title: Branch Restriction Policy description: Branch Restriction Policy type: object @@ -47919,9 +48393,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#get-a-branch parameters: - - *246 - - *247 - - &314 + - *248 + - *249 + - &316 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). @@ -47935,14 +48409,14 @@ paths: description: Response content: application/json: - schema: &324 + schema: &326 title: Branch With Protection description: Branch With Protection type: object properties: name: type: string - commit: &374 + commit: &376 title: Commit description: Commit type: object @@ -47981,7 +48455,7 @@ paths: author: anyOf: - type: 'null' - - &312 + - &314 title: Git User description: Metaproperties for Git author/committer information. @@ -48002,7 +48476,7 @@ paths: committer: anyOf: - type: 'null' - - *312 + - *314 message: type: string examples: @@ -48026,7 +48500,7 @@ paths: required: - sha - url - verification: &423 + verification: &425 title: Verification type: object properties: @@ -48105,7 +48579,7 @@ paths: type: integer files: type: array - items: &386 + items: &388 title: Diff Entry description: Diff Entry type: object @@ -48199,7 +48673,7 @@ paths: - self protected: type: boolean - protection: *313 + protection: *315 protection_url: type: string format: uri @@ -48308,7 +48782,7 @@ paths: contexts: [] checks: [] protection_url: https://api.github.com/repos/octocat/Hello-World/branches/main/protection - '301': *258 + '301': *260 '404': *6 x-github: githubCloudOnly: false @@ -48330,15 +48804,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-branch-protection parameters: - - *246 - - *247 - - *314 + - *248 + - *249 + - *316 responses: '200': description: Response content: application/json: - schema: *313 + schema: *315 examples: default: value: @@ -48532,9 +49006,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#update-branch-protection parameters: - - *246 - - *247 - - *314 + - *248 + - *249 + - *316 requestBody: required: true content: @@ -48794,7 +49268,7 @@ paths: url: type: string format: uri - required_status_checks: &321 + required_status_checks: &323 title: Status Check Policy description: Status Check Policy type: object @@ -48953,7 +49427,7 @@ paths: additionalProperties: false required: - enabled - restrictions: *315 + restrictions: *317 required_conversation_resolution: type: object properties: @@ -49065,9 +49539,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-branch-protection parameters: - - *246 - - *247 - - *314 + - *248 + - *249 + - *316 responses: '204': description: Response @@ -49092,17 +49566,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-admin-branch-protection parameters: - - *246 - - *247 - - *314 + - *248 + - *249 + - *316 responses: '200': description: Response content: application/json: - schema: *316 + schema: *318 examples: - default: &317 + default: &319 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/enforce_admins enabled: true @@ -49124,17 +49598,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-admin-branch-protection parameters: - - *246 - - *247 - - *314 + - *248 + - *249 + - *316 responses: '200': description: Response content: application/json: - schema: *316 + schema: *318 examples: - default: *317 + default: *319 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -49153,9 +49627,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-admin-branch-protection parameters: - - *246 - - *247 - - *314 + - *248 + - *249 + - *316 responses: '204': description: Response @@ -49180,17 +49654,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-pull-request-review-protection parameters: - - *246 - - *247 - - *314 + - *248 + - *249 + - *316 responses: '200': description: Response content: application/json: - schema: *318 + schema: *320 examples: - default: &319 + default: &321 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_pull_request_reviews dismissal_restrictions: @@ -49286,9 +49760,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#update-pull-request-review-protection parameters: - - *246 - - *247 - - *314 + - *248 + - *249 + - *316 requestBody: required: false content: @@ -49386,9 +49860,9 @@ paths: description: Response content: application/json: - schema: *318 + schema: *320 examples: - default: *319 + default: *321 '422': *15 x-github: githubCloudOnly: false @@ -49409,9 +49883,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-pull-request-review-protection parameters: - - *246 - - *247 - - *314 + - *248 + - *249 + - *316 responses: '204': description: Response @@ -49438,17 +49912,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-commit-signature-protection parameters: - - *246 - - *247 - - *314 + - *248 + - *249 + - *316 responses: '200': description: Response content: application/json: - schema: *316 + schema: *318 examples: - default: &320 + default: &322 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_signatures enabled: true @@ -49471,17 +49945,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#create-commit-signature-protection parameters: - - *246 - - *247 - - *314 + - *248 + - *249 + - *316 responses: '200': description: Response content: application/json: - schema: *316 + schema: *318 examples: - default: *320 + default: *322 '404': *6 x-github: githubCloudOnly: false @@ -49501,9 +49975,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-commit-signature-protection parameters: - - *246 - - *247 - - *314 + - *248 + - *249 + - *316 responses: '204': description: Response @@ -49528,17 +50002,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-status-checks-protection parameters: - - *246 - - *247 - - *314 + - *248 + - *249 + - *316 responses: '200': description: Response content: application/json: - schema: *321 + schema: *323 examples: - default: &322 + default: &324 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_status_checks strict: true @@ -49564,9 +50038,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#update-status-check-protection parameters: - - *246 - - *247 - - *314 + - *248 + - *249 + - *316 requestBody: required: false content: @@ -49618,9 +50092,9 @@ paths: description: Response content: application/json: - schema: *321 + schema: *323 examples: - default: *322 + default: *324 '404': *6 '422': *15 x-github: @@ -49642,9 +50116,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-status-check-protection parameters: - - *246 - - *247 - - *314 + - *248 + - *249 + - *316 responses: '204': description: Response @@ -49668,9 +50142,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-all-status-check-contexts parameters: - - *246 - - *247 - - *314 + - *248 + - *249 + - *316 responses: '200': description: Response @@ -49704,9 +50178,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-status-check-contexts parameters: - - *246 - - *247 - - *314 + - *248 + - *249 + - *316 requestBody: required: false content: @@ -49773,9 +50247,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-status-check-contexts parameters: - - *246 - - *247 - - *314 + - *248 + - *249 + - *316 requestBody: required: false content: @@ -49839,9 +50313,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-status-check-contexts parameters: - - *246 - - *247 - - *314 + - *248 + - *249 + - *316 requestBody: content: application/json: @@ -49907,15 +50381,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-access-restrictions parameters: - - *246 - - *247 - - *314 + - *248 + - *249 + - *316 responses: '200': description: Response content: application/json: - schema: *315 + schema: *317 examples: default: value: @@ -50006,9 +50480,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-access-restrictions parameters: - - *246 - - *247 - - *314 + - *248 + - *249 + - *316 responses: '204': description: Response @@ -50031,9 +50505,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-apps-with-access-to-the-protected-branch parameters: - - *246 - - *247 - - *314 + - *248 + - *249 + - *316 responses: '200': description: Response @@ -50043,7 +50517,7 @@ paths: type: array items: *5 examples: - default: &323 + default: &325 value: - id: 1 slug: octoapp @@ -50100,9 +50574,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-app-access-restrictions parameters: - - *246 - - *247 - - *314 + - *248 + - *249 + - *316 requestBody: required: true content: @@ -50136,7 +50610,7 @@ paths: type: array items: *5 examples: - default: *323 + default: *325 '422': *15 x-github: githubCloudOnly: false @@ -50157,9 +50631,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-app-access-restrictions parameters: - - *246 - - *247 - - *314 + - *248 + - *249 + - *316 requestBody: required: true content: @@ -50193,7 +50667,7 @@ paths: type: array items: *5 examples: - default: *323 + default: *325 '422': *15 x-github: githubCloudOnly: false @@ -50214,9 +50688,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-app-access-restrictions parameters: - - *246 - - *247 - - *314 + - *248 + - *249 + - *316 requestBody: required: true content: @@ -50250,7 +50724,7 @@ paths: type: array items: *5 examples: - default: *323 + default: *325 '422': *15 x-github: githubCloudOnly: false @@ -50272,9 +50746,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-teams-with-access-to-the-protected-branch parameters: - - *246 - - *247 - - *314 + - *248 + - *249 + - *316 responses: '200': description: Response @@ -50304,9 +50778,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-team-access-restrictions parameters: - - *246 - - *247 - - *314 + - *248 + - *249 + - *316 requestBody: required: false content: @@ -50365,9 +50839,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-team-access-restrictions parameters: - - *246 - - *247 - - *314 + - *248 + - *249 + - *316 requestBody: required: false content: @@ -50426,9 +50900,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-team-access-restrictions parameters: - - *246 - - *247 - - *314 + - *248 + - *249 + - *316 requestBody: content: application/json: @@ -50487,9 +50961,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-users-with-access-to-the-protected-branch parameters: - - *246 - - *247 - - *314 + - *248 + - *249 + - *316 responses: '200': description: Response @@ -50523,9 +50997,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-user-access-restrictions parameters: - - *246 - - *247 - - *314 + - *248 + - *249 + - *316 requestBody: required: true content: @@ -50583,9 +51057,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-user-access-restrictions parameters: - - *246 - - *247 - - *314 + - *248 + - *249 + - *316 requestBody: required: true content: @@ -50643,9 +51117,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-user-access-restrictions parameters: - - *246 - - *247 - - *314 + - *248 + - *249 + - *316 requestBody: required: true content: @@ -50705,9 +51179,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#rename-a-branch parameters: - - *246 - - *247 - - *314 + - *248 + - *249 + - *316 requestBody: required: true content: @@ -50729,7 +51203,7 @@ paths: description: Response content: application/json: - schema: *324 + schema: *326 examples: default: value: @@ -50845,8 +51319,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#create-a-check-run parameters: - - *246 - - *247 + - *248 + - *249 requestBody: required: true content: @@ -51125,7 +51599,7 @@ paths: description: Response content: application/json: - schema: &326 + schema: &328 title: CheckRun description: A check performed on the code of a given code change type: object @@ -51260,8 +51734,8 @@ paths: do not necessarily indicate pull requests that triggered the check. type: array - items: *325 - deployment: &607 + items: *327 + deployment: &609 title: Deployment description: A deployment created as the result of an Actions check run from a workflow that references an environment @@ -51548,9 +52022,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#get-a-check-run parameters: - - *246 - - *247 - - &327 + - *248 + - *249 + - &329 name: check_run_id description: The unique identifier of the check run. in: path @@ -51562,9 +52036,9 @@ paths: description: Response content: application/json: - schema: *326 + schema: *328 examples: - default: &328 + default: &330 value: id: 4 head_sha: ce587453ced02b1526dfb4cb910479d431683101 @@ -51664,9 +52138,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#update-a-check-run parameters: - - *246 - - *247 - - *327 + - *248 + - *249 + - *329 requestBody: required: true content: @@ -51906,9 +52380,9 @@ paths: description: Response content: application/json: - schema: *326 + schema: *328 examples: - default: *328 + default: *330 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -51928,9 +52402,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#list-check-run-annotations parameters: - - *246 - - *247 - - *327 + - *248 + - *249 + - *329 - *17 - *18 responses: @@ -52042,9 +52516,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#rerequest-a-check-run parameters: - - *246 - - *247 - - *327 + - *248 + - *249 + - *329 responses: '201': description: Response @@ -52088,8 +52562,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#create-a-check-suite parameters: - - *246 - - *247 + - *248 + - *249 requestBody: required: true content: @@ -52111,7 +52585,7 @@ paths: description: Response when the suite already exists content: application/json: - schema: &330 + schema: &332 title: CheckSuite description: A suite of checks performed on the code of a given code change @@ -52193,7 +52667,7 @@ paths: type: - array - 'null' - items: *325 + items: *327 app: anyOf: - type: 'null' @@ -52209,7 +52683,7 @@ paths: - string - 'null' format: date-time - head_commit: *329 + head_commit: *331 latest_check_runs_count: type: integer check_runs_url: @@ -52237,7 +52711,7 @@ paths: - check_runs_url - pull_requests examples: - default: &331 + default: &333 value: id: 5 node_id: MDEwOkNoZWNrU3VpdGU1 @@ -52528,9 +53002,9 @@ paths: description: Response when the suite was created content: application/json: - schema: *330 + schema: *332 examples: - default: *331 + default: *333 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -52549,8 +53023,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#update-repository-preferences-for-check-suites parameters: - - *246 - - *247 + - *248 + - *249 requestBody: required: true content: @@ -52859,9 +53333,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#get-a-check-suite parameters: - - *246 - - *247 - - &332 + - *248 + - *249 + - &334 name: check_suite_id description: The unique identifier of the check suite. in: path @@ -52873,9 +53347,9 @@ paths: description: Response content: application/json: - schema: *330 + schema: *332 examples: - default: *331 + default: *333 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -52898,17 +53372,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#list-check-runs-in-a-check-suite parameters: - - *246 - - *247 - - *332 - - &381 + - *248 + - *249 + - *334 + - &383 name: check_name description: Returns check runs with the specified `name`. in: query required: false schema: type: string - - &382 + - &384 name: status description: Returns check runs with the specified `status`. in: query @@ -52947,9 +53421,9 @@ paths: type: integer check_runs: type: array - items: *326 + items: *328 examples: - default: &383 + default: &385 value: total_count: 1 check_runs: @@ -53051,9 +53525,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#rerequest-a-check-suite parameters: - - *246 - - *247 - - *332 + - *248 + - *249 + - *334 responses: '201': description: Response @@ -53086,21 +53560,21 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-code-scanning-alerts-for-a-repository parameters: - - *246 - - *247 - - *333 - - *334 + - *248 + - *249 + - *335 + - *336 - *18 - *17 - - &351 + - &353 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: *335 - - &352 + schema: *337 + - &354 name: pr description: The number of the pull request for the results you want to list. in: query @@ -53125,13 +53599,13 @@ paths: be returned. in: query required: false - schema: *336 + schema: *338 - name: severity description: If specified, only code scanning alerts with this severity will be returned. in: query required: false - schema: *337 + schema: *339 responses: '200': description: Response @@ -53147,7 +53621,7 @@ paths: updated_at: *53 url: *54 html_url: *55 - instances_url: *338 + instances_url: *340 state: *125 fixed_at: *121 dismissed_by: @@ -53155,11 +53629,11 @@ paths: - type: 'null' - *4 dismissed_at: *122 - dismissed_reason: *339 - dismissed_comment: *340 - rule: *341 - tool: *342 - most_recent_instance: *343 + dismissed_reason: *341 + dismissed_comment: *342 + rule: *343 + tool: *344 + most_recent_instance: *345 required: - number - created_at @@ -53275,7 +53749,7 @@ paths: classifications: [] instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/3/instances '304': *35 - '403': &344 + '403': &346 description: Response if GitHub Advanced Security is not enabled for this repository content: @@ -53302,9 +53776,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-a-code-scanning-alert parameters: - - *246 - - *247 - - &345 + - *248 + - *249 + - &347 name: alert_number in: path description: The number that identifies an alert. You can find this at the @@ -53318,7 +53792,7 @@ paths: description: Response content: application/json: - schema: &346 + schema: &348 type: object properties: number: *51 @@ -53326,7 +53800,7 @@ paths: updated_at: *53 url: *54 html_url: *55 - instances_url: *338 + instances_url: *340 state: *125 fixed_at: *121 dismissed_by: @@ -53334,8 +53808,8 @@ paths: - type: 'null' - *4 dismissed_at: *122 - dismissed_reason: *339 - dismissed_comment: *340 + dismissed_reason: *341 + dismissed_comment: *342 rule: type: object properties: @@ -53397,8 +53871,8 @@ paths: - 'null' description: A link to the documentation for the rule used to detect the alert. - tool: *342 - most_recent_instance: *343 + tool: *344 + most_recent_instance: *345 required: - number - created_at @@ -53487,7 +53961,7 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '304': *35 - '403': *344 + '403': *346 '404': *6 '503': *61 x-github: @@ -53507,9 +53981,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#update-a-code-scanning-alert parameters: - - *246 - - *247 - - *345 + - *248 + - *249 + - *347 requestBody: required: true content: @@ -53524,8 +53998,8 @@ paths: enum: - open - dismissed - dismissed_reason: *339 - dismissed_comment: *340 + dismissed_reason: *341 + dismissed_comment: *342 required: - state examples: @@ -53540,7 +54014,7 @@ paths: description: Response content: application/json: - schema: *346 + schema: *348 examples: default: value: @@ -53615,7 +54089,7 @@ paths: classifications: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances - '403': &350 + '403': &352 description: Response if the repository is archived or if GitHub Advanced Security is not enabled for this repository content: @@ -53642,15 +54116,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: - - *246 - - *247 - - *345 + - *248 + - *249 + - *347 responses: '200': description: Response content: application/json: - schema: &347 + schema: &349 type: object properties: status: @@ -53677,13 +54151,13 @@ paths: - description - started_at examples: - default: &348 + default: &350 value: status: success description: This fixes an XSS vulnerability by escaping the user input. started_at: '2024-02-14T12:29:18Z' - '400': &349 + '400': &351 description: Bad Request content: application/json: @@ -53694,7 +54168,7 @@ 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': *344 + '403': *346 '404': *6 '503': *61 x-github: @@ -53719,29 +54193,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: - - *246 - - *247 - - *345 + - *248 + - *249 + - *347 responses: '200': description: OK content: application/json: - schema: *347 + schema: *349 examples: - default: *348 + default: *350 '202': description: Accepted content: application/json: - schema: *347 + schema: *349 examples: default: value: status: pending description: started_at: '2024-02-14T12:29:18Z' - '400': *349 + '400': *351 '403': description: Response if the repository is archived, if GitHub Advanced Security is not enabled for this repository or if rate limit is exceeded @@ -53773,9 +54247,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: - - *246 - - *247 - - *345 + - *248 + - *249 + - *347 requestBody: required: false content: @@ -53821,8 +54295,8 @@ paths: value: target_ref: refs/heads/main sha: 178f4f6090b3fccad4a65b3e83d076a622d59652 - '400': *349 - '403': *350 + '400': *351 + '403': *352 '404': *6 '422': description: Unprocessable Entity @@ -53846,13 +54320,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-instances-of-a-code-scanning-alert parameters: - - *246 - - *247 - - *345 + - *248 + - *249 + - *347 - *18 - *17 - - *351 - - *352 + - *353 + - *354 responses: '200': description: Response @@ -53860,7 +54334,7 @@ paths: application/json: schema: type: array - items: *343 + items: *345 examples: default: value: @@ -53899,7 +54373,7 @@ paths: end_column: 50 classifications: - source - '403': *344 + '403': *346 '404': *6 '503': *61 x-github: @@ -53933,25 +54407,25 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-code-scanning-analyses-for-a-repository parameters: - - *246 - - *247 - - *333 - - *334 + - *248 + - *249 + - *335 + - *336 - *18 - *17 - - *352 + - *354 - 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: *335 + schema: *337 - name: sarif_id in: query description: Filter analyses belonging to the same SARIF upload. required: false - schema: &355 + schema: &357 type: string description: An identifier for the upload. examples: @@ -53973,23 +54447,23 @@ paths: application/json: schema: type: array - items: &356 + items: &358 type: object properties: - ref: *335 - commit_sha: &364 + ref: *337 + commit_sha: &366 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: *353 + analysis_key: *355 environment: type: string description: Identifies the variable values associated with the environment in which this analysis was performed. - category: *354 + category: *356 error: type: string examples: @@ -54014,8 +54488,8 @@ paths: description: The REST API URL of the analysis resource. format: uri readOnly: true - sarif_id: *355 - tool: *342 + sarif_id: *357 + tool: *344 deletable: type: boolean warning: @@ -54077,7 +54551,7 @@ paths: version: 1.2.0 deletable: true warning: '' - '403': *344 + '403': *346 '404': *6 '503': *61 x-github: @@ -54113,8 +54587,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: - - *246 - - *247 + - *248 + - *249 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -54127,7 +54601,7 @@ paths: description: Response content: application/json: - schema: *356 + schema: *358 examples: response: summary: application/json response @@ -54181,7 +54655,7 @@ paths: properties: - github/alertNumber: 2 - github/alertUrl: https://api.github.com/repos/monalisa/monalisa/code-scanning/alerts/2 - '403': *344 + '403': *346 '404': *6 '503': *61 x-github: @@ -54263,8 +54737,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: - - *246 - - *247 + - *248 + - *249 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -54320,7 +54794,7 @@ 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': *350 + '403': *352 '404': *6 '503': *61 x-github: @@ -54342,8 +54816,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-codeql-databases-for-a-repository parameters: - - *246 - - *247 + - *248 + - *249 responses: '200': description: Response @@ -54351,7 +54825,7 @@ paths: application/json: schema: type: array - items: &357 + items: &359 title: CodeQL Database description: A CodeQL database. type: object @@ -54463,7 +54937,7 @@ 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': *344 + '403': *346 '404': *6 '503': *61 x-github: @@ -54492,8 +54966,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-a-codeql-database-for-a-repository parameters: - - *246 - - *247 + - *248 + - *249 - name: language in: path description: The language of the CodeQL database. @@ -54505,7 +54979,7 @@ paths: description: Response content: application/json: - schema: *357 + schema: *359 examples: default: value: @@ -54537,9 +55011,9 @@ 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': &388 + '302': &390 description: Found - '403': *344 + '403': *346 '404': *6 '503': *61 x-github: @@ -54561,8 +55035,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#delete-a-codeql-database parameters: - - *246 - - *247 + - *248 + - *249 - name: language in: path description: The language of the CodeQL database. @@ -54572,7 +55046,7 @@ paths: responses: '204': description: Response - '403': *350 + '403': *352 '404': *6 '503': *61 x-github: @@ -54600,8 +55074,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#create-a-codeql-variant-analysis parameters: - - *246 - - *247 + - *248 + - *249 requestBody: required: true content: @@ -54610,7 +55084,7 @@ paths: type: object additionalProperties: false properties: - language: &358 + language: &360 type: string description: The language targeted by the CodeQL query enum: @@ -54688,7 +55162,7 @@ paths: description: Variant analysis submitted for processing content: application/json: - schema: &362 + schema: &364 title: Variant Analysis description: A run of a CodeQL query against one or more repositories. type: object @@ -54698,7 +55172,7 @@ paths: description: The ID of the variant analysis. controller_repo: *50 actor: *4 - query_language: *358 + query_language: *360 query_pack_url: type: string description: The download url for the query pack. @@ -54746,7 +55220,7 @@ paths: items: type: object properties: - repository: &359 + repository: &361 title: Repository Identifier description: Repository Identifier type: object @@ -54788,7 +55262,7 @@ paths: - private - stargazers_count - updated_at - analysis_status: &363 + analysis_status: &365 type: string description: The new status of the CodeQL variant analysis repository task. @@ -54820,7 +55294,7 @@ paths: from processing. This information is only available to the user that initiated the variant analysis. properties: - access_mismatch_repos: &360 + access_mismatch_repos: &362 type: object properties: repository_count: @@ -54835,7 +55309,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: *359 + items: *361 required: - repository_count - repositories @@ -54858,8 +55332,8 @@ paths: required: - repository_count - repository_full_names - no_codeql_db_repos: *360 - over_limit_repos: *360 + no_codeql_db_repos: *362 + over_limit_repos: *362 required: - access_mismatch_repos - not_found_repos @@ -54875,7 +55349,7 @@ paths: examples: repositories_parameter: summary: Response for a successful variant analysis submission - value: &361 + value: &363 summary: Default response value: id: 1 @@ -55027,10 +55501,10 @@ paths: private: false repository_owners: summary: Response for a successful variant analysis submission - value: *361 + value: *363 repository_lists: summary: Response for a successful variant analysis submission - value: *361 + value: *363 '404': *6 '422': description: Unable to process variant analysis submission @@ -55058,8 +55532,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: - - *246 - - *247 + - *248 + - *249 - name: codeql_variant_analysis_id in: path description: The unique identifier of the variant analysis. @@ -55071,9 +55545,9 @@ paths: description: Response content: application/json: - schema: *362 + schema: *364 examples: - default: *361 + default: *363 '404': *6 '503': *61 x-github: @@ -55096,7 +55570,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: - - *246 + - *248 - name: repo in: path description: The name of the controller repository. @@ -55131,7 +55605,7 @@ paths: type: object properties: repository: *50 - analysis_status: *363 + analysis_status: *365 artifact_size_in_bytes: type: integer description: The size of the artifact. This is only available @@ -55256,8 +55730,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-a-code-scanning-default-setup-configuration parameters: - - *246 - - *247 + - *248 + - *249 responses: '200': description: Response @@ -55322,7 +55796,7 @@ paths: query_suite: default updated_at: '2023-01-19T11:21:34Z' schedule: weekly - '403': *344 + '403': *346 '404': *6 '503': *61 x-github: @@ -55343,8 +55817,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#update-a-code-scanning-default-setup-configuration parameters: - - *246 - - *247 + - *248 + - *249 requestBody: required: true content: @@ -55427,7 +55901,7 @@ paths: value: run_id: 42 run_url: https://api.github.com/repos/octoorg/octocat/actions/runs/42 - '403': *350 + '403': *352 '404': *6 '409': description: Response if there is already a validation run in progress with @@ -55492,8 +55966,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#upload-an-analysis-as-sarif-data parameters: - - *246 - - *247 + - *248 + - *249 requestBody: required: true content: @@ -55501,7 +55975,7 @@ paths: schema: type: object properties: - commit_sha: *364 + commit_sha: *366 ref: type: string description: |- @@ -55561,7 +56035,7 @@ paths: schema: type: object properties: - id: *355 + id: *357 url: type: string description: The REST API URL for checking the status of the upload. @@ -55575,7 +56049,7 @@ 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': *350 + '403': *352 '404': *6 '413': description: Payload Too Large if the sarif field is too large @@ -55598,8 +56072,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-information-about-a-sarif-upload parameters: - - *246 - - *247 + - *248 + - *249 - name: sarif_id description: The SARIF ID obtained after uploading. in: path @@ -55647,7 +56121,7 @@ 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': *344 + '403': *346 '404': description: Not Found if the sarif id does not match any upload '503': *61 @@ -55672,8 +56146,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: - - *246 - - *247 + - *248 + - *249 responses: '200': description: Response @@ -55751,8 +56225,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-codeowners-errors parameters: - - *246 - - *247 + - *248 + - *249 - 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 @@ -55880,8 +56354,8 @@ paths: parameters: - *17 - *18 - - *246 - - *247 + - *248 + - *249 responses: '200': description: Response @@ -56195,8 +56669,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#create-a-codespace-in-a-repository parameters: - - *246 - - *247 + - *248 + - *249 requestBody: required: true content: @@ -56262,7 +56736,7 @@ paths: application/json: schema: *175 examples: - default: *365 + default: *367 '202': description: Response when the codespace creation partially failed but is being retried in the background @@ -56270,7 +56744,7 @@ paths: application/json: schema: *175 examples: - default: *365 + default: *367 '400': *14 '401': *23 '403': *27 @@ -56299,8 +56773,8 @@ paths: parameters: - *17 - *18 - - *246 - - *247 + - *248 + - *249 responses: '200': description: Response @@ -56364,8 +56838,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/machines#list-available-machine-types-for-a-repository parameters: - - *246 - - *247 + - *248 + - *249 - name: location description: The location to check for available machines. Assigned by IP if not provided. @@ -56402,9 +56876,9 @@ paths: type: integer machines: type: array - items: *366 + items: *368 examples: - default: &565 + default: &567 value: total_count: 2 machines: @@ -56444,8 +56918,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#get-default-attributes-for-a-codespace parameters: - - *246 - - *247 + - *248 + - *249 - name: ref description: The branch or commit to check for a default devcontainer path. If not specified, the default branch will be checked. @@ -56532,8 +57006,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: - - *246 - - *247 + - *248 + - *249 - 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 @@ -56602,8 +57076,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#list-repository-secrets parameters: - - *246 - - *247 + - *248 + - *249 - *17 - *18 responses: @@ -56621,7 +57095,7 @@ paths: type: integer secrets: type: array - items: &370 + items: &372 title: Codespaces Secret description: Set repository secrets for GitHub Codespaces. type: object @@ -56642,7 +57116,7 @@ paths: - created_at - updated_at examples: - default: *367 + default: *369 headers: Link: *56 x-github: @@ -56665,16 +57139,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#get-a-repository-public-key parameters: - - *246 - - *247 + - *248 + - *249 responses: '200': description: Response content: application/json: - schema: *368 + schema: *370 examples: - default: *369 + default: *371 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -56694,17 +57168,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#get-a-repository-secret parameters: - - *246 - - *247 + - *248 + - *249 - *115 responses: '200': description: Response content: application/json: - schema: *370 + schema: *372 examples: - default: *371 + default: *373 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -56724,8 +57198,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#create-or-update-a-repository-secret parameters: - - *246 - - *247 + - *248 + - *249 - *115 requestBody: required: true @@ -56778,8 +57252,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#delete-a-repository-secret parameters: - - *246 - - *247 + - *248 + - *249 - *115 responses: '204': @@ -56808,8 +57282,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#list-repository-collaborators parameters: - - *246 - - *247 + - *248 + - *249 - name: affiliation description: Filter collaborators returned by their affiliation. `outside` means all outside collaborators of an organization-owned repository. `direct` @@ -56847,7 +57321,7 @@ paths: application/json: schema: type: array - items: &372 + items: &374 title: Collaborator description: Collaborator type: object @@ -57040,8 +57514,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#check-if-a-user-is-a-repository-collaborator parameters: - - *246 - - *247 + - *248 + - *249 - *120 responses: '204': @@ -57084,8 +57558,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#add-a-repository-collaborator parameters: - - *246 - - *247 + - *248 + - *249 - *120 requestBody: required: false @@ -57112,7 +57586,7 @@ paths: description: Response when a new invitation is created content: application/json: - schema: &436 + schema: &438 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -57333,8 +57807,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#remove-a-repository-collaborator parameters: - - *246 - - *247 + - *248 + - *249 - *120 responses: '204': @@ -57364,8 +57838,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#get-repository-permissions-for-a-user parameters: - - *246 - - *247 + - *248 + - *249 - *120 responses: '200': @@ -57386,7 +57860,7 @@ paths: user: anyOf: - type: 'null' - - *372 + - *374 required: - permission - role_name @@ -57440,8 +57914,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#list-commit-comments-for-a-repository parameters: - - *246 - - *247 + - *248 + - *249 - *17 - *18 responses: @@ -57451,7 +57925,7 @@ paths: application/json: schema: type: array - items: &373 + items: &375 title: Commit Comment description: Commit Comment type: object @@ -57509,7 +57983,7 @@ paths: - created_at - updated_at examples: - default: &376 + default: &378 value: - html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -57568,17 +58042,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#get-a-commit-comment parameters: - - *246 - - *247 + - *248 + - *249 - *72 responses: '200': description: Response content: application/json: - schema: *373 + schema: *375 examples: - default: &377 + default: &379 value: html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -57635,8 +58109,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#update-a-commit-comment parameters: - - *246 - - *247 + - *248 + - *249 - *72 requestBody: required: true @@ -57659,7 +58133,7 @@ paths: description: Response content: application/json: - schema: *373 + schema: *375 examples: default: value: @@ -57710,8 +58184,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#delete-a-commit-comment parameters: - - *246 - - *247 + - *248 + - *249 - *72 responses: '204': @@ -57733,8 +58207,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-commit-comment parameters: - - *246 - - *247 + - *248 + - *249 - *72 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). @@ -57761,9 +58235,9 @@ paths: application/json: schema: type: array - items: *239 + items: *241 examples: - default: *241 + default: *243 headers: Link: *56 '404': *6 @@ -57784,8 +58258,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-commit-comment parameters: - - *246 - - *247 + - *248 + - *249 - *72 requestBody: required: true @@ -57818,16 +58292,16 @@ paths: description: Reaction exists content: application/json: - schema: *239 + schema: *241 examples: - default: *240 + default: *242 '201': description: Reaction created content: application/json: - schema: *239 + schema: *241 examples: - default: *240 + default: *242 '422': *15 x-github: githubCloudOnly: false @@ -57849,10 +58323,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-a-commit-comment-reaction parameters: - - *246 - - *247 + - *248 + - *249 - *72 - - *242 + - *244 responses: '204': description: Response @@ -57901,8 +58375,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#list-commits parameters: - - *246 - - *247 + - *248 + - *249 - name: sha description: 'SHA or branch to start listing commits from. Default: the repository’s default branch (usually `main`).' @@ -57958,9 +58432,9 @@ paths: application/json: schema: type: array - items: *374 + items: *376 examples: - default: &484 + default: &486 value: - url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -58054,9 +58528,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#list-branches-for-head-commit parameters: - - *246 - - *247 - - &375 + - *248 + - *249 + - &377 name: commit_sha description: The SHA of the commit. in: path @@ -58128,9 +58602,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#list-commit-comments parameters: - - *246 - - *247 - - *375 + - *248 + - *249 + - *377 - *17 - *18 responses: @@ -58140,9 +58614,9 @@ paths: application/json: schema: type: array - items: *373 + items: *375 examples: - default: *376 + default: *378 headers: Link: *56 x-github: @@ -58170,9 +58644,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#create-a-commit-comment parameters: - - *246 - - *247 - - *375 + - *248 + - *249 + - *377 requestBody: required: true content: @@ -58207,9 +58681,9 @@ paths: description: Response content: application/json: - schema: *373 + schema: *375 examples: - default: *377 + default: *379 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -58237,9 +58711,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#list-pull-requests-associated-with-a-commit parameters: - - *246 - - *247 - - *375 + - *248 + - *249 + - *377 - *17 - *18 responses: @@ -58249,7 +58723,7 @@ paths: application/json: schema: type: array - items: &475 + items: &477 title: Pull Request Simple description: Pull Request Simple type: object @@ -58369,7 +58843,7 @@ paths: milestone: anyOf: - type: 'null' - - *378 + - *380 active_lock_reason: type: - string @@ -58468,7 +58942,7 @@ paths: _links: type: object properties: - comments: &379 + comments: &381 title: Link description: Hypermedia Link type: object @@ -58477,13 +58951,13 @@ paths: type: string required: - href - commits: *379 - statuses: *379 - html: *379 - issue: *379 - review_comments: *379 - review_comment: *379 - self: *379 + commits: *381 + statuses: *381 + html: *381 + issue: *381 + review_comments: *381 + review_comment: *381 + self: *381 required: - comments - commits @@ -58494,7 +58968,7 @@ paths: - review_comment - self author_association: *59 - auto_merge: &477 + auto_merge: &479 title: Auto merge description: The status of auto merging a pull request. type: @@ -58559,7 +59033,7 @@ paths: - author_association - auto_merge examples: - default: &476 + default: &478 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -59096,11 +59570,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#get-a-commit parameters: - - *246 - - *247 + - *248 + - *249 - *18 - *17 - - &380 + - &382 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)" @@ -59115,9 +59589,9 @@ paths: description: Response content: application/json: - schema: *374 + schema: *376 examples: - default: &463 + default: &465 value: url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -59230,11 +59704,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#list-check-runs-for-a-git-reference parameters: - - *246 - - *247 - - *380 - - *381 + - *248 + - *249 - *382 + - *383 + - *384 - name: filter description: Filters check runs by their `completed_at` timestamp. `latest` returns the most recent check runs. @@ -59268,9 +59742,9 @@ paths: type: integer check_runs: type: array - items: *326 + items: *328 examples: - default: *383 + default: *385 headers: Link: *56 x-github: @@ -59295,9 +59769,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#list-check-suites-for-a-git-reference parameters: - - *246 - - *247 - - *380 + - *248 + - *249 + - *382 - name: app_id description: Filters check suites by GitHub App `id`. in: query @@ -59305,7 +59779,7 @@ paths: schema: type: integer example: 1 - - *381 + - *383 - *17 - *18 responses: @@ -59323,7 +59797,7 @@ paths: type: integer check_suites: type: array - items: *330 + items: *332 examples: default: value: @@ -59523,9 +59997,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/statuses#get-the-combined-status-for-a-specific-reference parameters: - - *246 - - *247 - - *380 + - *248 + - *249 + - *382 - *17 - *18 responses: @@ -59727,9 +60201,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/statuses#list-commit-statuses-for-a-reference parameters: - - *246 - - *247 - - *380 + - *248 + - *249 + - *382 - *17 - *18 responses: @@ -59739,7 +60213,7 @@ paths: application/json: schema: type: array - items: &539 + items: &541 title: Status description: The status of a commit. type: object @@ -59820,7 +60294,7 @@ paths: site_admin: false headers: Link: *56 - '301': *258 + '301': *260 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -59848,8 +60322,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/community#get-community-profile-metrics parameters: - - *246 - - *247 + - *248 + - *249 responses: '200': description: Response @@ -59882,11 +60356,11 @@ paths: code_of_conduct: anyOf: - type: 'null' - - *384 + - *386 code_of_conduct_file: anyOf: - type: 'null' - - &385 + - &387 title: Community Health File type: object properties: @@ -59906,19 +60380,19 @@ paths: contributing: anyOf: - type: 'null' - - *385 + - *387 readme: anyOf: - type: 'null' - - *385 + - *387 issue_template: anyOf: - type: 'null' - - *385 + - *387 pull_request_template: anyOf: - type: 'null' - - *385 + - *387 required: - code_of_conduct - code_of_conduct_file @@ -60047,8 +60521,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#compare-two-commits parameters: - - *246 - - *247 + - *248 + - *249 - *18 - *17 - name: basehead @@ -60096,8 +60570,8 @@ paths: format: uri examples: - https://github.com/octocat/Hello-World/compare/master...topic.patch - base_commit: *374 - merge_base_commit: *374 + base_commit: *376 + merge_base_commit: *376 status: type: string enum: @@ -60121,10 +60595,10 @@ paths: - 6 commits: type: array - items: *374 + items: *376 files: type: array - items: *386 + items: *388 required: - url - html_url @@ -60410,8 +60884,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#get-repository-content parameters: - - *246 - - *247 + - *248 + - *249 - name: path description: path parameter in: path @@ -60562,7 +61036,7 @@ paths: - type - url examples: - response-if-content-is-a-file: &387 + response-if-content-is-a-file: &389 summary: Response if content is a file value: type: file @@ -60699,7 +61173,7 @@ paths: - size - type - url - - &489 + - &491 title: Content File description: Content File type: object @@ -60917,7 +61391,7 @@ paths: - url - submodule_git_url examples: - response-if-content-is-a-file: *387 + response-if-content-is-a-file: *389 response-if-content-is-a-directory: summary: Response if content is a directory and the application/json media type is requested @@ -60986,7 +61460,7 @@ paths: html: https://github.com/jquery/qunit/tree/6ca3721222109997540bd6d9ccd396902e0ad2f9 '404': *6 '403': *27 - '302': *388 + '302': *390 '304': *35 x-github: githubCloudOnly: false @@ -61009,8 +61483,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#create-or-update-file-contents parameters: - - *246 - - *247 + - *248 + - *249 - name: path description: path parameter in: path @@ -61105,7 +61579,7 @@ paths: description: Response content: application/json: - schema: &389 + schema: &391 title: File Commit description: File Commit type: object @@ -61261,7 +61735,7 @@ paths: description: Response content: application/json: - schema: *389 + schema: *391 examples: example-for-creating-a-file: value: @@ -61315,7 +61789,7 @@ paths: schema: oneOf: - *3 - - &418 + - &420 description: Repository rule violation was detected type: object properties: @@ -61336,7 +61810,7 @@ paths: items: type: object properties: - placeholder_id: &531 + placeholder_id: &533 description: The ID of the push protection bypass placeholder. This value is returned on any push protected routes. @@ -61368,8 +61842,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#delete-a-file parameters: - - *246 - - *247 + - *248 + - *249 - name: path description: path parameter in: path @@ -61430,7 +61904,7 @@ paths: description: Response content: application/json: - schema: *389 + schema: *391 examples: default: value: @@ -61485,8 +61959,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-contributors parameters: - - *246 - - *247 + - *248 + - *249 - name: anon description: Set to `1` or `true` to include anonymous contributors in results. in: query @@ -61610,8 +62084,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#list-dependabot-alerts-for-a-repository parameters: - - *246 - - *247 + - *248 + - *249 - *135 - *136 - *137 @@ -61652,7 +62126,7 @@ paths: application/json: schema: type: array - items: &392 + items: &394 type: object description: A Dependabot alert. properties: @@ -61687,7 +62161,7 @@ paths: - development - runtime - - security_advisory: *390 + security_advisory: *392 security_vulnerability: *49 url: *54 html_url: *55 @@ -61718,7 +62192,7 @@ paths: dismissal. maxLength: 280 fixed_at: *121 - auto_dismissed_at: *391 + auto_dismissed_at: *393 required: - number - state @@ -61945,9 +62419,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#get-a-dependabot-alert parameters: - - *246 - - *247 - - &393 + - *248 + - *249 + - &395 name: alert_number in: path description: |- @@ -61962,7 +62436,7 @@ paths: description: Response content: application/json: - schema: *392 + schema: *394 examples: default: value: @@ -62072,9 +62546,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#update-a-dependabot-alert parameters: - - *246 - - *247 - - *393 + - *248 + - *249 + - *395 requestBody: required: true content: @@ -62119,7 +62593,7 @@ paths: description: Response content: application/json: - schema: *392 + schema: *394 examples: default: value: @@ -62248,8 +62722,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#list-repository-secrets parameters: - - *246 - - *247 + - *248 + - *249 - *17 - *18 responses: @@ -62267,7 +62741,7 @@ paths: type: integer secrets: type: array - items: &396 + items: &398 title: Dependabot Secret description: Set secrets for Dependabot. type: object @@ -62321,16 +62795,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#get-a-repository-public-key parameters: - - *246 - - *247 + - *248 + - *249 responses: '200': description: Response content: application/json: - schema: *394 + schema: *396 examples: - default: *395 + default: *397 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -62350,15 +62824,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#get-a-repository-secret parameters: - - *246 - - *247 + - *248 + - *249 - *115 responses: '200': description: Response content: application/json: - schema: *396 + schema: *398 examples: default: value: @@ -62384,8 +62858,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#create-or-update-a-repository-secret parameters: - - *246 - - *247 + - *248 + - *249 - *115 requestBody: required: true @@ -62438,8 +62912,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#delete-a-repository-secret parameters: - - *246 - - *247 + - *248 + - *249 - *115 responses: '204': @@ -62462,8 +62936,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: - - *246 - - *247 + - *248 + - *249 - 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 @@ -62637,8 +63111,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: - - *246 - - *247 + - *248 + - *249 responses: '200': description: Response @@ -62898,8 +63372,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: - - *246 - - *247 + - *248 + - *249 requestBody: required: true content: @@ -62982,7 +63456,7 @@ paths: - version - url additionalProperties: false - metadata: &397 + metadata: &399 title: metadata description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -63021,7 +63495,7 @@ paths: examples: - "/src/build/package-lock.json" additionalProperties: false - metadata: *397 + metadata: *399 resolved: type: object description: A collection of resolved package dependencies. @@ -63035,7 +63509,7 @@ paths: pattern: "^pkg" examples: - pkg:/npm/%40actions/http-client@1.0.11 - metadata: *397 + metadata: *399 relationship: type: string description: A notation of whether a dependency is requested @@ -63168,8 +63642,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#list-deployments parameters: - - *246 - - *247 + - *248 + - *249 - name: sha description: The SHA recorded at creation time. in: query @@ -63210,9 +63684,9 @@ paths: application/json: schema: type: array - items: *398 + items: *400 examples: - default: *399 + default: *401 headers: Link: *56 x-github: @@ -63278,8 +63752,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#create-a-deployment parameters: - - *246 - - *247 + - *248 + - *249 requestBody: required: true content: @@ -63361,7 +63835,7 @@ paths: description: Response content: application/json: - schema: *398 + schema: *400 examples: simple-example: summary: Simple example @@ -63434,9 +63908,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#get-a-deployment parameters: - - *246 - - *247 - - &400 + - *248 + - *249 + - &402 name: deployment_id description: deployment_id parameter in: path @@ -63448,7 +63922,7 @@ paths: description: Response content: application/json: - schema: *398 + schema: *400 examples: default: value: @@ -63513,9 +63987,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#delete-a-deployment parameters: - - *246 - - *247 - - *400 + - *248 + - *249 + - *402 responses: '204': description: Response @@ -63537,9 +64011,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/statuses#list-deployment-statuses parameters: - - *246 - - *247 - - *400 + - *248 + - *249 + - *402 - *17 - *18 responses: @@ -63549,7 +64023,7 @@ paths: application/json: schema: type: array - items: &401 + items: &403 title: Deployment Status description: The status of a deployment. type: object @@ -63713,9 +64187,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/statuses#create-a-deployment-status parameters: - - *246 - - *247 - - *400 + - *248 + - *249 + - *402 requestBody: required: true content: @@ -63790,9 +64264,9 @@ paths: description: Response content: application/json: - schema: *401 + schema: *403 examples: - default: &402 + default: &404 value: url: https://api.github.com/repos/octocat/example/deployments/42/statuses/1 id: 1 @@ -63848,9 +64322,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/statuses#get-a-deployment-status parameters: - - *246 - - *247 - - *400 + - *248 + - *249 + - *402 - name: status_id in: path required: true @@ -63861,9 +64335,9 @@ paths: description: Response content: application/json: - schema: *401 + schema: *403 examples: - default: *402 + default: *404 '404': *6 x-github: githubCloudOnly: false @@ -63888,8 +64362,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#create-a-repository-dispatch-event parameters: - - *246 - - *247 + - *248 + - *249 requestBody: required: true content: @@ -63946,8 +64420,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#list-environments parameters: - - *246 - - *247 + - *248 + - *249 - *17 - *18 responses: @@ -63965,7 +64439,7 @@ paths: - 5 environments: type: array - items: &404 + items: &406 title: Environment description: Details of a deployment environment type: object @@ -64027,7 +64501,7 @@ paths: type: string examples: - wait_timer - wait_timer: &406 + wait_timer: &408 type: integer description: The amount of time to delay a job after the job is initially triggered. The time (in minutes) @@ -64069,7 +64543,7 @@ paths: items: type: object properties: - type: *403 + type: *405 reviewer: anyOf: - *4 @@ -64096,7 +64570,7 @@ paths: - id - node_id - type - deployment_branch_policy: &407 + deployment_branch_policy: &409 type: - object - 'null' @@ -64213,9 +64687,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#get-an-environment parameters: - - *246 - - *247 - - &405 + - *248 + - *249 + - &407 name: environment_name in: path required: true @@ -64228,9 +64702,9 @@ paths: description: Response content: application/json: - schema: *404 + schema: *406 examples: - default: &408 + default: &410 value: id: 161088068 node_id: MDExOkVudmlyb25tZW50MTYxMDg4MDY4 @@ -64314,9 +64788,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#create-or-update-an-environment parameters: - - *246 - - *247 - - *405 + - *248 + - *249 + - *407 requestBody: required: false content: @@ -64326,7 +64800,7 @@ paths: - object - 'null' properties: - wait_timer: *406 + wait_timer: *408 prevent_self_review: type: boolean description: Whether or not a user who created the job is prevented @@ -64345,14 +64819,14 @@ paths: items: type: object properties: - type: *403 + type: *405 id: type: integer description: The id of the user or team who can review the deployment examples: - 4532992 - deployment_branch_policy: *407 + deployment_branch_policy: *409 additionalProperties: false examples: default: @@ -64372,9 +64846,9 @@ paths: description: Response content: application/json: - schema: *404 + schema: *406 examples: - default: *408 + default: *410 '422': description: Validation error when the environment name is invalid or when `protected_branches` and `custom_branch_policies` in `deployment_branch_policy` @@ -64398,9 +64872,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#delete-an-environment parameters: - - *246 - - *247 - - *405 + - *248 + - *249 + - *407 responses: '204': description: Default response @@ -64425,9 +64899,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#list-deployment-branch-policies parameters: - - *246 - - *247 - - *405 + - *248 + - *249 + - *407 - *17 - *18 responses: @@ -64446,7 +64920,7 @@ paths: - 2 branch_policies: type: array - items: &409 + items: &411 title: Deployment branch policy description: Details of a deployment branch or tag policy. type: object @@ -64507,9 +64981,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#create-a-deployment-branch-policy parameters: - - *246 - - *247 - - *405 + - *248 + - *249 + - *407 requestBody: required: true content: @@ -64557,9 +65031,9 @@ paths: description: Response content: application/json: - schema: *409 + schema: *411 examples: - example-wildcard: &410 + example-wildcard: &412 value: id: 364662 node_id: MDE2OkdhdGVCcmFuY2hQb2xpY3kzNjQ2NjI= @@ -64601,10 +65075,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#get-a-deployment-branch-policy parameters: - - *246 - - *247 - - *405 - - &411 + - *248 + - *249 + - *407 + - &413 name: branch_policy_id in: path required: true @@ -64616,9 +65090,9 @@ paths: description: Response content: application/json: - schema: *409 + schema: *411 examples: - default: *410 + default: *412 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -64637,10 +65111,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#update-a-deployment-branch-policy parameters: - - *246 - - *247 - - *405 - - *411 + - *248 + - *249 + - *407 + - *413 requestBody: required: true content: @@ -64669,9 +65143,9 @@ paths: description: Response content: application/json: - schema: *409 + schema: *411 examples: - default: *410 + default: *412 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -64690,10 +65164,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#delete-a-deployment-branch-policy parameters: - - *246 - - *247 - - *405 - - *411 + - *248 + - *249 + - *407 + - *413 responses: '204': description: Response @@ -64718,9 +65192,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#get-all-deployment-protection-rules-for-an-environment parameters: - - *405 - - *247 - - *246 + - *407 + - *249 + - *248 responses: '200': description: List of deployment protection rules @@ -64737,7 +65211,7 @@ paths: - 10 custom_deployment_protection_rules: type: array - items: &412 + items: &414 title: Deployment protection rule description: Deployment protection rule type: object @@ -64759,7 +65233,7 @@ paths: for the environment. examples: - true - app: &413 + app: &415 title: Custom deployment protection rule app description: A GitHub App that is providing a custom deployment protection rule. @@ -64862,9 +65336,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: - - *405 - - *247 - - *246 + - *407 + - *249 + - *248 requestBody: content: application/json: @@ -64885,9 +65359,9 @@ paths: description: The enabled custom deployment protection rule content: application/json: - schema: *412 + schema: *414 examples: - default: &414 + default: &416 value: id: 3 node_id: IEH37kRlcGxveW1lbnRTdGF0ddiv @@ -64922,9 +65396,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: - - *405 - - *247 - - *246 + - *407 + - *249 + - *248 - *18 - *17 responses: @@ -64944,7 +65418,7 @@ paths: - 35 available_custom_deployment_protection_rule_integrations: type: array - items: *413 + items: *415 examples: default: value: @@ -64979,10 +65453,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#get-a-custom-deployment-protection-rule parameters: - - *246 - - *247 - - *405 - - &415 + - *248 + - *249 + - *407 + - &417 name: protection_rule_id description: The unique identifier of the protection rule. in: path @@ -64994,9 +65468,9 @@ paths: description: Response content: application/json: - schema: *412 + schema: *414 examples: - default: *414 + default: *416 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -65017,10 +65491,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#disable-a-custom-protection-rule-for-an-environment parameters: - - *405 - - *247 - - *246 - - *415 + - *407 + - *249 + - *248 + - *417 responses: '204': description: Response @@ -65046,9 +65520,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-environment-secrets parameters: - - *246 - - *247 - - *405 + - *248 + - *249 + - *407 - *17 - *18 responses: @@ -65066,9 +65540,9 @@ paths: type: integer secrets: type: array - items: *292 + items: *294 examples: - default: *293 + default: *295 headers: Link: *56 x-github: @@ -65093,17 +65567,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-an-environment-public-key parameters: - - *246 - - *247 - - *405 + - *248 + - *249 + - *407 responses: '200': description: Response content: application/json: - schema: *294 + schema: *296 examples: - default: *295 + default: *297 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -65125,18 +65599,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-an-environment-secret parameters: - - *246 - - *247 - - *405 + - *248 + - *249 + - *407 - *115 responses: '200': description: Response content: application/json: - schema: *292 + schema: *294 examples: - default: *416 + default: *418 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -65158,9 +65632,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#create-or-update-an-environment-secret parameters: - - *246 - - *247 - - *405 + - *248 + - *249 + - *407 - *115 requestBody: required: true @@ -65218,9 +65692,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#delete-an-environment-secret parameters: - - *246 - - *247 - - *405 + - *248 + - *249 + - *407 - *115 responses: '204': @@ -65246,10 +65720,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-environment-variables parameters: - - *246 - - *247 - - *405 - - *268 + - *248 + - *249 + - *407 + - *270 - *18 responses: '200': @@ -65266,9 +65740,9 @@ paths: type: integer variables: type: array - items: *296 + items: *298 examples: - default: *297 + default: *299 headers: Link: *56 x-github: @@ -65291,9 +65765,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#create-an-environment-variable parameters: - - *246 - - *247 - - *405 + - *248 + - *249 + - *407 requestBody: required: true content: @@ -65345,18 +65819,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#get-an-environment-variable parameters: - - *246 - - *247 - - *405 + - *248 + - *249 + - *407 - *118 responses: '200': description: Response content: application/json: - schema: *296 + schema: *298 examples: - default: *417 + default: *419 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -65377,10 +65851,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#update-an-environment-variable parameters: - - *246 - - *247 + - *248 + - *249 - *118 - - *405 + - *407 requestBody: required: true content: @@ -65422,10 +65896,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#delete-an-environment-variable parameters: - - *246 - - *247 + - *248 + - *249 - *118 - - *405 + - *407 responses: '204': description: Response @@ -65447,8 +65921,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-repository-events parameters: - - *246 - - *247 + - *248 + - *249 - *17 - *18 responses: @@ -65525,8 +65999,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/forks#list-forks parameters: - - *246 - - *247 + - *248 + - *249 - name: sort description: The sort order. `stargazers` will sort by star count. in: query @@ -65685,8 +66159,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/forks#create-a-fork parameters: - - *246 - - *247 + - *248 + - *249 requestBody: required: false content: @@ -65719,9 +66193,9 @@ paths: description: Response content: application/json: - schema: *257 + schema: *259 examples: - default: *259 + default: *261 '400': *14 '422': *15 '403': *27 @@ -65742,8 +66216,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/blobs#create-a-blob parameters: - - *246 - - *247 + - *248 + - *249 requestBody: required: true content: @@ -65803,7 +66277,7 @@ paths: schema: oneOf: - *92 - - *418 + - *420 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -65828,8 +66302,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/blobs#get-a-blob parameters: - - *246 - - *247 + - *248 + - *249 - name: file_sha in: path required: true @@ -65929,8 +66403,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/commits#create-a-commit parameters: - - *246 - - *247 + - *248 + - *249 requestBody: required: true content: @@ -66039,7 +66513,7 @@ paths: description: Response content: application/json: - schema: &419 + schema: &421 title: Git Commit description: Low-level Git commit operations within a repository type: object @@ -66265,15 +66739,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/commits#get-a-commit-object parameters: - - *246 - - *247 - - *375 + - *248 + - *249 + - *377 responses: '200': description: Response content: application/json: - schema: *419 + schema: *421 examples: default: value: @@ -66329,9 +66803,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#list-matching-references parameters: - - *246 - - *247 - - &420 + - *248 + - *249 + - &422 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. @@ -66348,7 +66822,7 @@ paths: application/json: schema: type: array - items: &421 + items: &423 title: Git Reference description: Git references within a repository type: object @@ -66424,17 +66898,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#get-a-reference parameters: - - *246 - - *247 - - *420 + - *248 + - *249 + - *422 responses: '200': description: Response content: application/json: - schema: *421 + schema: *423 examples: - default: &422 + default: &424 value: ref: refs/heads/featureA node_id: MDM6UmVmcmVmcy9oZWFkcy9mZWF0dXJlQQ== @@ -66463,8 +66937,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#create-a-reference parameters: - - *246 - - *247 + - *248 + - *249 requestBody: required: true content: @@ -66493,9 +66967,9 @@ paths: description: Response content: application/json: - schema: *421 + schema: *423 examples: - default: *422 + default: *424 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/git/refs/heads/featureA @@ -66521,9 +66995,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#update-a-reference parameters: - - *246 - - *247 - - *420 + - *248 + - *249 + - *422 requestBody: required: true content: @@ -66552,9 +67026,9 @@ paths: description: Response content: application/json: - schema: *421 + schema: *423 examples: - default: *422 + default: *424 '422': *15 '409': *44 x-github: @@ -66572,9 +67046,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#delete-a-reference parameters: - - *246 - - *247 - - *420 + - *248 + - *249 + - *422 responses: '204': description: Response @@ -66627,8 +67101,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/tags#create-a-tag-object parameters: - - *246 - - *247 + - *248 + - *249 requestBody: required: true content: @@ -66695,7 +67169,7 @@ paths: description: Response content: application/json: - schema: &424 + schema: &426 title: Git Tag description: Metadata for a Git tag type: object @@ -66751,7 +67225,7 @@ paths: - sha - type - url - verification: *423 + verification: *425 required: - sha - url @@ -66761,7 +67235,7 @@ paths: - tag - message examples: - default: &425 + default: &427 value: node_id: MDM6VGFnOTQwYmQzMzYyNDhlZmFlMGY5ZWU1YmM3YjJkNWM5ODU4ODdiMTZhYw== tag: v0.0.1 @@ -66834,8 +67308,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/tags#get-a-tag parameters: - - *246 - - *247 + - *248 + - *249 - name: tag_sha in: path required: true @@ -66846,9 +67320,9 @@ paths: description: Response content: application/json: - schema: *424 + schema: *426 examples: - default: *425 + default: *427 '404': *6 '409': *44 x-github: @@ -66872,8 +67346,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/trees#create-a-tree parameters: - - *246 - - *247 + - *248 + - *249 requestBody: required: true content: @@ -66947,7 +67421,7 @@ paths: description: Response content: application/json: - schema: &426 + schema: &428 title: Git Tree description: The hierarchy between files in a Git repository. type: object @@ -67065,8 +67539,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/trees#get-a-tree parameters: - - *246 - - *247 + - *248 + - *249 - name: tree_sha description: The SHA1 value or ref (branch or tag) name of the tree. in: path @@ -67089,7 +67563,7 @@ paths: description: Response content: application/json: - schema: *426 + schema: *428 examples: default-response: summary: Default response @@ -67148,8 +67622,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#list-repository-webhooks parameters: - - *246 - - *247 + - *248 + - *249 - *17 - *18 responses: @@ -67159,7 +67633,7 @@ paths: application/json: schema: type: array - items: &427 + items: &429 title: Webhook description: Webhooks for repositories. type: object @@ -67222,7 +67696,7 @@ paths: format: uri examples: - https://api.github.com/repos/octocat/Hello-World/hooks/1/deliveries - last_response: &638 + last_response: &640 title: Hook Response type: object properties: @@ -67299,8 +67773,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#create-a-repository-webhook parameters: - - *246 - - *247 + - *248 + - *249 requestBody: required: false content: @@ -67353,9 +67827,9 @@ paths: description: Response content: application/json: - schema: *427 + schema: *429 examples: - default: &428 + default: &430 value: type: Repository id: 12345678 @@ -67403,17 +67877,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#get-a-repository-webhook parameters: - - *246 - - *247 + - *248 + - *249 - *148 responses: '200': description: Response content: application/json: - schema: *427 + schema: *429 examples: - default: *428 + default: *430 '404': *6 x-github: githubCloudOnly: false @@ -67433,8 +67907,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#update-a-repository-webhook parameters: - - *246 - - *247 + - *248 + - *249 - *148 requestBody: required: true @@ -67480,9 +67954,9 @@ paths: description: Response content: application/json: - schema: *427 + schema: *429 examples: - default: *428 + default: *430 '422': *15 '404': *6 x-github: @@ -67503,8 +67977,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#delete-a-repository-webhook parameters: - - *246 - - *247 + - *248 + - *249 - *148 responses: '204': @@ -67529,8 +68003,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#get-a-webhook-configuration-for-a-repository parameters: - - *246 - - *247 + - *248 + - *249 - *148 responses: '200': @@ -67558,8 +68032,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#update-a-webhook-configuration-for-a-repository parameters: - - *246 - - *247 + - *248 + - *249 - *148 requestBody: required: false @@ -67604,8 +68078,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#list-deliveries-for-a-repository-webhook parameters: - - *246 - - *247 + - *248 + - *249 - *148 - *17 - *149 @@ -67637,8 +68111,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#get-a-delivery-for-a-repository-webhook parameters: - - *246 - - *247 + - *248 + - *249 - *148 - *16 responses: @@ -67667,8 +68141,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#redeliver-a-delivery-for-a-repository-webhook parameters: - - *246 - - *247 + - *248 + - *249 - *148 - *16 responses: @@ -67692,8 +68166,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#ping-a-repository-webhook parameters: - - *246 - - *247 + - *248 + - *249 - *148 responses: '204': @@ -67719,8 +68193,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#test-the-push-repository-webhook parameters: - - *246 - - *247 + - *248 + - *249 - *148 responses: '204': @@ -67779,14 +68253,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#get-an-import-status parameters: - - *246 - - *247 + - *248 + - *249 responses: '200': description: Response content: application/json: - schema: &429 + schema: &431 title: Import description: A repository import from an external source. type: object @@ -67893,7 +68367,7 @@ paths: - html_url - authors_url examples: - default: &432 + default: &434 value: vcs: subversion use_lfs: true @@ -67909,7 +68383,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': &430 + '503': &432 description: Unavailable due to service under maintenance. content: application/json: @@ -67938,8 +68412,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#start-an-import parameters: - - *246 - - *247 + - *248 + - *249 requestBody: required: true content: @@ -67987,7 +68461,7 @@ paths: description: Response content: application/json: - schema: *429 + schema: *431 examples: default: value: @@ -68012,7 +68486,7 @@ paths: type: string '422': *15 '404': *6 - '503': *430 + '503': *432 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -68040,8 +68514,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#update-an-import parameters: - - *246 - - *247 + - *248 + - *249 requestBody: required: false content: @@ -68093,7 +68567,7 @@ paths: description: Response content: application/json: - schema: *429 + schema: *431 examples: example-1: summary: Example 1 @@ -68141,7 +68615,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': *430 + '503': *432 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -68164,12 +68638,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#cancel-an-import parameters: - - *246 - - *247 + - *248 + - *249 responses: '204': description: Response - '503': *430 + '503': *432 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -68195,9 +68669,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#get-commit-authors parameters: - - *246 - - *247 - - &588 + - *248 + - *249 + - &590 name: since description: A user ID. Only return users with an ID greater than this ID. in: query @@ -68211,7 +68685,7 @@ paths: application/json: schema: type: array - items: &431 + items: &433 title: Porter Author description: Porter Author type: object @@ -68265,7 +68739,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': *430 + '503': *432 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -68290,8 +68764,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#map-a-commit-author parameters: - - *246 - - *247 + - *248 + - *249 - name: author_id in: path required: true @@ -68321,7 +68795,7 @@ paths: description: Response content: application/json: - schema: *431 + schema: *433 examples: default: value: @@ -68334,7 +68808,7 @@ paths: import_url: https://api.github.com/repos/octocat/socm/import '422': *15 '404': *6 - '503': *430 + '503': *432 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -68358,8 +68832,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#get-large-files parameters: - - *246 - - *247 + - *248 + - *249 responses: '200': description: Response @@ -68400,7 +68874,7 @@ paths: path: foo/bar/3 oid: c20ad4d76fe97759aa27a0c99bff6710 size: 12582912 - '503': *430 + '503': *432 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -68428,8 +68902,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#update-git-lfs-preference parameters: - - *246 - - *247 + - *248 + - *249 requestBody: required: true content: @@ -68456,11 +68930,11 @@ paths: description: Response content: application/json: - schema: *429 + schema: *431 examples: - default: *432 + default: *434 '422': *15 - '503': *430 + '503': *432 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -68483,8 +68957,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/apps/apps#get-a-repository-installation-for-the-authenticated-app parameters: - - *246 - - *247 + - *248 + - *249 responses: '200': description: Response @@ -68492,8 +68966,8 @@ paths: application/json: schema: *20 examples: - default: *433 - '301': *258 + default: *435 + '301': *260 '404': *6 x-github: githubCloudOnly: false @@ -68513,8 +68987,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/repos#get-interaction-restrictions-for-a-repository parameters: - - *246 - - *247 + - *248 + - *249 responses: '200': description: Response @@ -68527,7 +69001,7 @@ paths: properties: {} additionalProperties: false examples: - default: &435 + default: &437 value: limit: collaborators_only origin: repository @@ -68552,13 +69026,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/repos#set-interaction-restrictions-for-a-repository parameters: - - *246 - - *247 + - *248 + - *249 requestBody: required: true content: application/json: - schema: *434 + schema: *436 examples: default: summary: Example request body @@ -68572,7 +69046,7 @@ paths: application/json: schema: *166 examples: - default: *435 + default: *437 '409': description: Response x-github: @@ -68594,8 +69068,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/repos#remove-interaction-restrictions-for-a-repository parameters: - - *246 - - *247 + - *248 + - *249 responses: '204': description: Response @@ -68618,8 +69092,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#list-repository-invitations parameters: - - *246 - - *247 + - *248 + - *249 - *17 - *18 responses: @@ -68629,9 +69103,9 @@ paths: application/json: schema: type: array - items: *436 + items: *438 examples: - default: &581 + default: &583 value: - id: 1 repository: @@ -68762,8 +69236,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#update-a-repository-invitation parameters: - - *246 - - *247 + - *248 + - *249 - *170 requestBody: required: false @@ -68793,7 +69267,7 @@ paths: description: Response content: application/json: - schema: *436 + schema: *438 examples: default: value: @@ -68924,8 +69398,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#delete-a-repository-invitation parameters: - - *246 - - *247 + - *248 + - *249 - *170 responses: '204': @@ -68957,8 +69431,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#list-repository-issues parameters: - - *246 - - *247 + - *248 + - *249 - 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 @@ -69023,7 +69497,7 @@ paths: type: array items: *73 examples: - default: &445 + default: &447 value: - id: 1 node_id: MDU6SXNzdWUx @@ -69171,7 +69645,7 @@ paths: state_reason: completed headers: Link: *56 - '301': *258 + '301': *260 '422': *15 '404': *6 x-github: @@ -69200,8 +69674,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#create-an-issue parameters: - - *246 - - *247 + - *248 + - *249 requestBody: required: true content: @@ -69284,7 +69758,7 @@ paths: application/json: schema: *73 examples: - default: &440 + default: &442 value: id: 1 node_id: MDU6SXNzdWUx @@ -69440,7 +69914,7 @@ paths: '422': *15 '503': *61 '404': *6 - '410': *255 + '410': *257 x-github: triggersNotification: true githubCloudOnly: false @@ -69468,8 +69942,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#list-issue-comments-for-a-repository parameters: - - *246 - - *247 + - *248 + - *249 - *82 - name: direction description: Either `asc` or `desc`. Ignored without the `sort` parameter. @@ -69490,9 +69964,9 @@ paths: application/json: schema: type: array - items: *437 + items: *439 examples: - default: &442 + default: &444 value: - id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -69550,17 +70024,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#get-an-issue-comment parameters: - - *246 - - *247 + - *248 + - *249 - *72 responses: '200': description: Response content: application/json: - schema: *437 + schema: *439 examples: - default: &438 + default: &440 value: id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -69614,8 +70088,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#update-an-issue-comment parameters: - - *246 - - *247 + - *248 + - *249 - *72 requestBody: required: true @@ -69638,9 +70112,9 @@ paths: description: Response content: application/json: - schema: *437 + schema: *439 examples: - default: *438 + default: *440 '422': *15 x-github: githubCloudOnly: false @@ -69658,8 +70132,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#delete-an-issue-comment parameters: - - *246 - - *247 + - *248 + - *249 - *72 responses: '204': @@ -69680,8 +70154,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-an-issue-comment parameters: - - *246 - - *247 + - *248 + - *249 - *72 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). @@ -69708,9 +70182,9 @@ paths: application/json: schema: type: array - items: *239 + items: *241 examples: - default: *241 + default: *243 headers: Link: *56 '404': *6 @@ -69731,8 +70205,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-an-issue-comment parameters: - - *246 - - *247 + - *248 + - *249 - *72 requestBody: required: true @@ -69765,16 +70239,16 @@ paths: description: Reaction exists content: application/json: - schema: *239 + schema: *241 examples: - default: *240 + default: *242 '201': description: Reaction created content: application/json: - schema: *239 + schema: *241 examples: - default: *240 + default: *242 '422': *15 x-github: githubCloudOnly: false @@ -69796,10 +70270,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-an-issue-comment-reaction parameters: - - *246 - - *247 + - *248 + - *249 - *72 - - *242 + - *244 responses: '204': description: Response @@ -69819,8 +70293,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/events#list-issue-events-for-a-repository parameters: - - *246 - - *247 + - *248 + - *249 - *17 - *18 responses: @@ -69830,7 +70304,7 @@ paths: application/json: schema: type: array - items: &439 + items: &441 title: Issue Event description: Issue Event type: object @@ -70169,8 +70643,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/events#get-an-issue-event parameters: - - *246 - - *247 + - *248 + - *249 - name: event_id in: path required: true @@ -70181,7 +70655,7 @@ paths: description: Response content: application/json: - schema: *439 + schema: *441 examples: default: value: @@ -70374,7 +70848,7 @@ paths: author_association: COLLABORATOR state_reason: completed '404': *6 - '410': *255 + '410': *257 '403': *27 x-github: githubCloudOnly: false @@ -70408,9 +70882,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#get-an-issue parameters: - - *246 - - *247 - - &441 + - *248 + - *249 + - &443 name: issue_number description: The number that identifies the issue. in: path @@ -70424,10 +70898,10 @@ paths: application/json: schema: *73 examples: - default: *440 - '301': *258 + default: *442 + '301': *260 '404': *6 - '410': *255 + '410': *257 '304': *35 x-github: githubCloudOnly: false @@ -70452,9 +70926,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#update-an-issue parameters: - - *246 - - *247 - - *441 + - *248 + - *249 + - *443 requestBody: required: false content: @@ -70564,13 +71038,13 @@ paths: application/json: schema: *73 examples: - default: *440 + default: *442 '422': *15 '503': *61 '403': *27 - '301': *258 + '301': *260 '404': *6 - '410': *255 + '410': *257 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -70588,9 +71062,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#add-assignees-to-an-issue parameters: - - *246 - - *247 - - *441 + - *248 + - *249 + - *443 requestBody: required: false content: @@ -70618,7 +71092,7 @@ paths: application/json: schema: *73 examples: - default: *440 + default: *442 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -70634,9 +71108,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#remove-assignees-from-an-issue parameters: - - *246 - - *247 - - *441 + - *248 + - *249 + - *443 requestBody: content: application/json: @@ -70663,7 +71137,7 @@ paths: application/json: schema: *73 examples: - default: *440 + default: *442 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -70685,9 +71159,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: - - *246 - - *247 - - *441 + - *248 + - *249 + - *443 - name: assignee in: path required: true @@ -70727,9 +71201,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#list-issue-comments parameters: - - *246 - - *247 - - *441 + - *248 + - *249 + - *443 - *63 - *17 - *18 @@ -70740,13 +71214,13 @@ paths: application/json: schema: type: array - items: *437 + items: *439 examples: - default: *442 + default: *444 headers: Link: *56 '404': *6 - '410': *255 + '410': *257 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -70775,9 +71249,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#create-an-issue-comment parameters: - - *246 - - *247 - - *441 + - *248 + - *249 + - *443 requestBody: required: true content: @@ -70799,16 +71273,16 @@ paths: description: Response content: application/json: - schema: *437 + schema: *439 examples: - default: *438 + default: *440 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1 schema: type: string '403': *27 - '410': *255 + '410': *257 '422': *15 '404': *6 x-github: @@ -70828,9 +71302,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/events#list-issue-events parameters: - - *246 - - *247 - - *441 + - *248 + - *249 + - *443 - *17 - *18 responses: @@ -70844,7 +71318,7 @@ paths: title: Issue Event for Issue description: Issue Event for Issue anyOf: - - &446 + - &448 title: Labeled Issue Event description: Labeled Issue Event type: object @@ -70893,7 +71367,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &447 + - &449 title: Unlabeled Issue Event description: Unlabeled Issue Event type: object @@ -71021,7 +71495,7 @@ paths: - performed_via_github_app - assignee - assigner - - &448 + - &450 title: Milestoned Issue Event description: Milestoned Issue Event type: object @@ -71067,7 +71541,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &449 + - &451 title: Demilestoned Issue Event description: Demilestoned Issue Event type: object @@ -71113,7 +71587,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &450 + - &452 title: Renamed Issue Event description: Renamed Issue Event type: object @@ -71162,7 +71636,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &451 + - &453 title: Review Requested Issue Event description: Review Requested Issue Event type: object @@ -71204,7 +71678,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &452 + - &454 title: Review Request Removed Issue Event description: Review Request Removed Issue Event type: object @@ -71246,7 +71720,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &453 + - &455 title: Review Dismissed Issue Event description: Review Dismissed Issue Event type: object @@ -71302,7 +71776,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &454 + - &456 title: Locked Issue Event description: Locked Issue Event type: object @@ -71347,7 +71821,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &455 + - &457 title: Added to Project Issue Event description: Added to Project Issue Event type: object @@ -71408,7 +71882,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &456 + - &458 title: Moved Column in Project Issue Event description: Moved Column in Project Issue Event type: object @@ -71469,7 +71943,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &457 + - &459 title: Removed from Project Issue Event description: Removed from Project Issue Event type: object @@ -71530,7 +72004,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &458 + - &460 title: Converted Note to Issue Issue Event description: Converted Note to Issue Issue Event type: object @@ -71623,7 +72097,7 @@ paths: color: red headers: Link: *56 - '410': *255 + '410': *257 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71640,9 +72114,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#list-labels-for-an-issue parameters: - - *246 - - *247 - - *441 + - *248 + - *249 + - *443 - *17 - *18 responses: @@ -71652,7 +72126,7 @@ paths: application/json: schema: type: array - items: &443 + items: &445 title: Label description: Color-coded labels help you categorize and filter your issues (just like labels in Gmail). @@ -71707,7 +72181,7 @@ paths: - color - default examples: - default: &444 + default: &446 value: - id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -71725,9 +72199,9 @@ paths: default: false headers: Link: *56 - '301': *258 + '301': *260 '404': *6 - '410': *255 + '410': *257 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71744,9 +72218,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#add-labels-to-an-issue parameters: - - *246 - - *247 - - *441 + - *248 + - *249 + - *443 requestBody: required: false content: @@ -71805,12 +72279,12 @@ paths: application/json: schema: type: array - items: *443 + items: *445 examples: - default: *444 - '301': *258 + default: *446 + '301': *260 '404': *6 - '410': *255 + '410': *257 '422': *15 x-github: githubCloudOnly: false @@ -71827,9 +72301,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#set-labels-for-an-issue parameters: - - *246 - - *247 - - *441 + - *248 + - *249 + - *443 requestBody: required: false content: @@ -71889,12 +72363,12 @@ paths: application/json: schema: type: array - items: *443 + items: *445 examples: - default: *444 - '301': *258 + default: *446 + '301': *260 '404': *6 - '410': *255 + '410': *257 '422': *15 x-github: githubCloudOnly: false @@ -71911,15 +72385,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#remove-all-labels-from-an-issue parameters: - - *246 - - *247 - - *441 + - *248 + - *249 + - *443 responses: '204': description: Response - '301': *258 + '301': *260 '404': *6 - '410': *255 + '410': *257 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71938,9 +72412,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#remove-a-label-from-an-issue parameters: - - *246 - - *247 - - *441 + - *248 + - *249 + - *443 - name: name in: path required: true @@ -71953,7 +72427,7 @@ paths: application/json: schema: type: array - items: *443 + items: *445 examples: default: value: @@ -71964,9 +72438,9 @@ paths: description: Something isn't working color: f29513 default: true - '301': *258 + '301': *260 '404': *6 - '410': *255 + '410': *257 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71986,9 +72460,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#lock-an-issue parameters: - - *246 - - *247 - - *441 + - *248 + - *249 + - *443 requestBody: required: false content: @@ -72017,7 +72491,7 @@ paths: '204': description: Response '403': *27 - '410': *255 + '410': *257 '404': *6 '422': *15 x-github: @@ -72035,9 +72509,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#unlock-an-issue parameters: - - *246 - - *247 - - *441 + - *248 + - *249 + - *443 responses: '204': description: Response @@ -72059,9 +72533,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-an-issue parameters: - - *246 - - *247 - - *441 + - *248 + - *249 + - *443 - 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. @@ -72087,13 +72561,13 @@ paths: application/json: schema: type: array - items: *239 + items: *241 examples: - default: *241 + default: *243 headers: Link: *56 '404': *6 - '410': *255 + '410': *257 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72111,9 +72585,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-an-issue parameters: - - *246 - - *247 - - *441 + - *248 + - *249 + - *443 requestBody: required: true content: @@ -72145,16 +72619,16 @@ paths: description: Response content: application/json: - schema: *239 + schema: *241 examples: - default: *240 + default: *242 '201': description: Response content: application/json: - schema: *239 + schema: *241 examples: - default: *240 + default: *242 '422': *15 x-github: githubCloudOnly: false @@ -72176,10 +72650,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-an-issue-reaction parameters: - - *246 - - *247 - - *441 - - *242 + - *248 + - *249 + - *443 + - *244 responses: '204': description: Response @@ -72208,9 +72682,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#remove-sub-issue parameters: - - *246 - - *247 - - *441 + - *248 + - *249 + - *443 requestBody: required: true content: @@ -72234,7 +72708,7 @@ paths: application/json: schema: *73 examples: - default: *440 + default: *442 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/1/sub-issue @@ -72267,9 +72741,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#list-sub-issues parameters: - - *246 - - *247 - - *441 + - *248 + - *249 + - *443 - *17 - *18 responses: @@ -72281,11 +72755,11 @@ paths: type: array items: *73 examples: - default: *445 + default: *447 headers: Link: *56 '404': *6 - '410': *255 + '410': *257 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72313,9 +72787,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#add-sub-issue parameters: - - *246 - - *247 - - *441 + - *248 + - *249 + - *443 requestBody: required: true content: @@ -72343,14 +72817,14 @@ paths: application/json: schema: *73 examples: - default: *440 + default: *442 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/sub-issues/1 schema: type: string '403': *27 - '410': *255 + '410': *257 '422': *15 '404': *6 x-github: @@ -72370,9 +72844,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#reprioritize-sub-issue parameters: - - *246 - - *247 - - *441 + - *248 + - *249 + - *443 requestBody: required: true content: @@ -72405,7 +72879,7 @@ paths: application/json: schema: *73 examples: - default: *440 + default: *442 '403': *27 '404': *6 '422': *7 @@ -72427,9 +72901,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/timeline#list-timeline-events-for-an-issue parameters: - - *246 - - *247 - - *441 + - *248 + - *249 + - *443 - *17 - *18 responses: @@ -72444,8 +72918,6 @@ paths: description: Timeline Event type: object anyOf: - - *446 - - *447 - *448 - *449 - *450 @@ -72457,6 +72929,8 @@ paths: - *456 - *457 - *458 + - *459 + - *460 - title: Timeline Comment Event description: Timeline Comment Event type: object @@ -72779,7 +73253,7 @@ paths: type: string comments: type: array - items: &478 + items: &480 title: Pull Request Review Comment description: Pull Request Review Comments are comments on a portion of the Pull Request's diff. @@ -73017,7 +73491,7 @@ paths: type: string comments: type: array - items: *373 + items: *375 - title: Timeline Assigned Issue Event description: Timeline Assigned Issue Event type: object @@ -73292,7 +73766,7 @@ paths: headers: Link: *56 '404': *6 - '410': *255 + '410': *257 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73309,8 +73783,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#list-deploy-keys parameters: - - *246 - - *247 + - *248 + - *249 - *17 - *18 responses: @@ -73320,7 +73794,7 @@ paths: application/json: schema: type: array - items: &459 + items: &461 title: Deploy Key description: An SSH key granting access to a single repository. type: object @@ -73387,8 +73861,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#create-a-deploy-key parameters: - - *246 - - *247 + - *248 + - *249 requestBody: required: true content: @@ -73424,9 +73898,9 @@ paths: description: Response content: application/json: - schema: *459 + schema: *461 examples: - default: &460 + default: &462 value: id: 1 key: ssh-rsa AAA... @@ -73460,9 +73934,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#get-a-deploy-key parameters: - - *246 - - *247 - - &461 + - *248 + - *249 + - &463 name: key_id description: The unique identifier of the key. in: path @@ -73474,9 +73948,9 @@ paths: description: Response content: application/json: - schema: *459 + schema: *461 examples: - default: *460 + default: *462 '404': *6 x-github: githubCloudOnly: false @@ -73494,9 +73968,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#delete-a-deploy-key parameters: - - *246 - - *247 - - *461 + - *248 + - *249 + - *463 responses: '204': description: Response @@ -73516,8 +73990,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#list-labels-for-a-repository parameters: - - *246 - - *247 + - *248 + - *249 - *17 - *18 responses: @@ -73527,9 +74001,9 @@ paths: application/json: schema: type: array - items: *443 + items: *445 examples: - default: *444 + default: *446 headers: Link: *56 '404': *6 @@ -73550,8 +74024,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#create-a-label parameters: - - *246 - - *247 + - *248 + - *249 requestBody: required: true content: @@ -73587,9 +74061,9 @@ paths: description: Response content: application/json: - schema: *443 + schema: *445 examples: - default: &462 + default: &464 value: id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -73621,8 +74095,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#get-a-label parameters: - - *246 - - *247 + - *248 + - *249 - name: name in: path required: true @@ -73633,9 +74107,9 @@ paths: description: Response content: application/json: - schema: *443 + schema: *445 examples: - default: *462 + default: *464 '404': *6 x-github: githubCloudOnly: false @@ -73652,8 +74126,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#update-a-label parameters: - - *246 - - *247 + - *248 + - *249 - name: name in: path required: true @@ -73692,7 +74166,7 @@ paths: description: Response content: application/json: - schema: *443 + schema: *445 examples: default: value: @@ -73718,8 +74192,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#delete-a-label parameters: - - *246 - - *247 + - *248 + - *249 - name: name in: path required: true @@ -73745,8 +74219,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-languages parameters: - - *246 - - *247 + - *248 + - *249 responses: '200': description: Response @@ -73785,9 +74259,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/licenses/licenses#get-the-license-for-a-repository parameters: - - *246 - - *247 - - *351 + - *248 + - *249 + - *353 responses: '200': description: Response @@ -73934,8 +74408,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#sync-a-fork-branch-with-the-upstream-repository parameters: - - *246 - - *247 + - *248 + - *249 requestBody: required: true content: @@ -74000,8 +74474,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#merge-a-branch parameters: - - *246 - - *247 + - *248 + - *249 requestBody: required: true content: @@ -74035,9 +74509,9 @@ paths: description: Successful Response (The resulting merge commit) content: application/json: - schema: *374 + schema: *376 examples: - default: *463 + default: *465 '204': description: Response when already merged '404': @@ -74062,8 +74536,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#list-milestones parameters: - - *246 - - *247 + - *248 + - *249 - name: state description: The state of the milestone. Either `open`, `closed`, or `all`. in: query @@ -74104,7 +74578,7 @@ paths: application/json: schema: type: array - items: *378 + items: *380 examples: default: value: @@ -74160,8 +74634,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#create-a-milestone parameters: - - *246 - - *247 + - *248 + - *249 requestBody: required: true content: @@ -74201,9 +74675,9 @@ paths: description: Response content: application/json: - schema: *378 + schema: *380 examples: - default: &464 + default: &466 value: url: https://api.github.com/repos/octocat/Hello-World/milestones/1 html_url: https://github.com/octocat/Hello-World/milestones/v1.0 @@ -74262,9 +74736,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#get-a-milestone parameters: - - *246 - - *247 - - &465 + - *248 + - *249 + - &467 name: milestone_number description: The number that identifies the milestone. in: path @@ -74276,9 +74750,9 @@ paths: description: Response content: application/json: - schema: *378 + schema: *380 examples: - default: *464 + default: *466 '404': *6 x-github: githubCloudOnly: false @@ -74295,9 +74769,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#update-a-milestone parameters: - - *246 - - *247 - - *465 + - *248 + - *249 + - *467 requestBody: required: false content: @@ -74335,9 +74809,9 @@ paths: description: Response content: application/json: - schema: *378 + schema: *380 examples: - default: *464 + default: *466 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74353,9 +74827,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#delete-a-milestone parameters: - - *246 - - *247 - - *465 + - *248 + - *249 + - *467 responses: '204': description: Response @@ -74376,9 +74850,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#list-labels-for-issues-in-a-milestone parameters: - - *246 - - *247 - - *465 + - *248 + - *249 + - *467 - *17 - *18 responses: @@ -74388,9 +74862,9 @@ paths: application/json: schema: type: array - items: *443 + items: *445 examples: - default: *444 + default: *446 headers: Link: *56 x-github: @@ -74409,12 +74883,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#list-repository-notifications-for-the-authenticated-user parameters: - - *246 - - *247 - - *466 - - *467 - - *63 + - *248 + - *249 - *468 + - *469 + - *63 + - *470 - *17 - *18 responses: @@ -74426,7 +74900,7 @@ paths: type: array items: *85 examples: - default: *469 + default: *471 headers: Link: *56 x-github: @@ -74450,8 +74924,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#mark-repository-notifications-as-read parameters: - - *246 - - *247 + - *248 + - *249 requestBody: required: false content: @@ -74509,14 +74983,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-a-apiname-pages-site parameters: - - *246 - - *247 + - *248 + - *249 responses: '200': description: Response content: application/json: - schema: &470 + schema: &472 title: GitHub Pages description: The configuration for GitHub Pages for a repository. type: object @@ -74660,7 +75134,7 @@ paths: - custom_404 - public examples: - default: &471 + default: &473 value: url: https://api.github.com/repos/github/developer.github.com/pages status: built @@ -74701,8 +75175,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#create-a-apiname-pages-site parameters: - - *246 - - *247 + - *248 + - *249 requestBody: required: true content: @@ -74757,9 +75231,9 @@ paths: description: Response content: application/json: - schema: *470 + schema: *472 examples: - default: *471 + default: *473 '422': *15 '409': *44 x-github: @@ -74782,8 +75256,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#update-information-about-a-apiname-pages-site parameters: - - *246 - - *247 + - *248 + - *249 requestBody: required: true content: @@ -74883,8 +75357,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#delete-a-apiname-pages-site parameters: - - *246 - - *247 + - *248 + - *249 responses: '204': description: Response @@ -74910,8 +75384,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#list-apiname-pages-builds parameters: - - *246 - - *247 + - *248 + - *249 - *17 - *18 responses: @@ -74921,7 +75395,7 @@ paths: application/json: schema: type: array - items: &472 + items: &474 title: Page Build description: Page Build type: object @@ -75013,8 +75487,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#request-a-apiname-pages-build parameters: - - *246 - - *247 + - *248 + - *249 responses: '201': description: Response @@ -75061,16 +75535,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-latest-pages-build parameters: - - *246 - - *247 + - *248 + - *249 responses: '200': description: Response content: application/json: - schema: *472 + schema: *474 examples: - default: &473 + default: &475 value: url: https://api.github.com/repos/github/developer.github.com/pages/builds/5472601 status: built @@ -75118,8 +75592,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-apiname-pages-build parameters: - - *246 - - *247 + - *248 + - *249 - name: build_id in: path required: true @@ -75130,9 +75604,9 @@ paths: description: Response content: application/json: - schema: *472 + schema: *474 examples: - default: *473 + default: *475 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75152,8 +75626,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#create-a-github-pages-deployment parameters: - - *246 - - *247 + - *248 + - *249 requestBody: required: true content: @@ -75262,9 +75736,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-the-status-of-a-github-pages-deployment parameters: - - *246 - - *247 - - &474 + - *248 + - *249 + - &476 name: pages_deployment_id description: The ID of the Pages deployment. You can also give the commit SHA of the deployment. @@ -75322,9 +75796,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#cancel-a-github-pages-deployment parameters: - - *246 - - *247 - - *474 + - *248 + - *249 + - *476 responses: '204': *129 '404': *6 @@ -75351,8 +75825,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-a-dns-health-check-for-github-pages parameters: - - *246 - - *247 + - *248 + - *249 responses: '200': description: Response @@ -75647,8 +76121,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: - - *246 - - *247 + - *248 + - *249 responses: '200': description: Private vulnerability reporting status @@ -75685,8 +76159,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-private-vulnerability-reporting-for-a-repository parameters: - - *246 - - *247 + - *248 + - *249 responses: '204': *129 '422': *14 @@ -75707,8 +76181,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-private-vulnerability-reporting-for-a-repository parameters: - - *246 - - *247 + - *248 + - *249 responses: '204': *129 '422': *14 @@ -75731,8 +76205,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/projects#list-repository-projects parameters: - - *246 - - *247 + - *248 + - *249 - name: state description: Indicates the state of the projects to return. in: query @@ -75753,7 +76227,7 @@ paths: application/json: schema: type: array - items: *201 + items: *203 examples: default: value: @@ -75793,7 +76267,7 @@ paths: '401': *23 '403': *27 '404': *6 - '410': *255 + '410': *257 '422': *7 x-github: githubCloudOnly: false @@ -75813,8 +76287,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/projects#create-a-repository-project parameters: - - *246 - - *247 + - *248 + - *249 requestBody: required: true content: @@ -75840,13 +76314,13 @@ paths: description: Response content: application/json: - schema: *201 + schema: *203 examples: - default: *254 + default: *256 '401': *23 '403': *27 '404': *6 - '410': *255 + '410': *257 '422': *7 x-github: githubCloudOnly: false @@ -75866,8 +76340,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/custom-properties#get-all-custom-property-values-for-a-repository parameters: - - *246 - - *247 + - *248 + - *249 responses: '200': description: Response @@ -75875,7 +76349,7 @@ paths: application/json: schema: type: array - items: *206 + items: *208 examples: default: value: @@ -75906,8 +76380,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: - - *246 - - *247 + - *248 + - *249 requestBody: required: true content: @@ -75919,7 +76393,7 @@ paths: type: array description: A list of custom property names and associated values to apply to the repositories. - items: *206 + items: *208 required: - properties examples: @@ -75969,8 +76443,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#list-pull-requests parameters: - - *246 - - *247 + - *248 + - *249 - name: state description: Either `open`, `closed`, or `all` to filter by state. in: query @@ -76030,9 +76504,9 @@ paths: application/json: schema: type: array - items: *475 + items: *477 examples: - default: *476 + default: *478 headers: Link: *56 '304': *35 @@ -76064,8 +76538,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#create-a-pull-request parameters: - - *246 - - *247 + - *248 + - *249 requestBody: required: true content: @@ -76132,7 +76606,7 @@ paths: description: Response content: application/json: - schema: &480 + schema: &482 type: object title: Pull Request description: Pull requests let you tell others about changes you've @@ -76261,7 +76735,7 @@ paths: milestone: anyOf: - type: 'null' - - *378 + - *380 active_lock_reason: type: - string @@ -76354,14 +76828,14 @@ paths: _links: type: object properties: - comments: *379 - commits: *379 - statuses: *379 - html: *379 - issue: *379 - review_comments: *379 - review_comment: *379 - self: *379 + comments: *381 + commits: *381 + statuses: *381 + html: *381 + issue: *381 + review_comments: *381 + review_comment: *381 + self: *381 required: - comments - commits @@ -76372,7 +76846,7 @@ paths: - review_comment - self author_association: *59 - auto_merge: *477 + auto_merge: *479 draft: description: Indicates whether or not the pull request is a draft. type: boolean @@ -76474,7 +76948,7 @@ paths: - merged_by - review_comments examples: - default: &481 + default: &483 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -77001,8 +77475,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#list-review-comments-in-a-repository parameters: - - *246 - - *247 + - *248 + - *249 - name: sort in: query required: false @@ -77031,9 +77505,9 @@ paths: application/json: schema: type: array - items: *478 + items: *480 examples: - default: &483 + default: &485 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -77110,17 +77584,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#get-a-review-comment-for-a-pull-request parameters: - - *246 - - *247 + - *248 + - *249 - *72 responses: '200': description: Response content: application/json: - schema: *478 + schema: *480 examples: - default: &479 + default: &481 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -77195,8 +77669,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#update-a-review-comment-for-a-pull-request parameters: - - *246 - - *247 + - *248 + - *249 - *72 requestBody: required: true @@ -77219,9 +77693,9 @@ paths: description: Response content: application/json: - schema: *478 + schema: *480 examples: - default: *479 + default: *481 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77237,8 +77711,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#delete-a-review-comment-for-a-pull-request parameters: - - *246 - - *247 + - *248 + - *249 - *72 responses: '204': @@ -77260,8 +77734,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-pull-request-review-comment parameters: - - *246 - - *247 + - *248 + - *249 - *72 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). @@ -77288,9 +77762,9 @@ paths: application/json: schema: type: array - items: *239 + items: *241 examples: - default: *241 + default: *243 headers: Link: *56 '404': *6 @@ -77311,8 +77785,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-pull-request-review-comment parameters: - - *246 - - *247 + - *248 + - *249 - *72 requestBody: required: true @@ -77345,16 +77819,16 @@ paths: description: Reaction exists content: application/json: - schema: *239 + schema: *241 examples: - default: *240 + default: *242 '201': description: Reaction created content: application/json: - schema: *239 + schema: *241 examples: - default: *240 + default: *242 '422': *15 x-github: githubCloudOnly: false @@ -77376,10 +77850,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-a-pull-request-comment-reaction parameters: - - *246 - - *247 + - *248 + - *249 - *72 - - *242 + - *244 responses: '204': description: Response @@ -77422,9 +77896,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#get-a-pull-request parameters: - - *246 - - *247 - - &482 + - *248 + - *249 + - &484 name: pull_number description: The number that identifies the pull request. in: path @@ -77437,9 +77911,9 @@ paths: to fetch diff and patch formats. content: application/json: - schema: *480 + schema: *482 examples: - default: *481 + default: *483 '304': *35 '404': *6 '406': @@ -77474,9 +77948,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#update-a-pull-request parameters: - - *246 - - *247 - - *482 + - *248 + - *249 + - *484 requestBody: required: false content: @@ -77518,9 +77992,9 @@ paths: description: Response content: application/json: - schema: *480 + schema: *482 examples: - default: *481 + default: *483 '422': *15 '403': *27 x-github: @@ -77542,9 +78016,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#create-a-codespace-from-a-pull-request parameters: - - *246 - - *247 - - *482 + - *248 + - *249 + - *484 requestBody: required: true content: @@ -77607,7 +78081,7 @@ paths: application/json: schema: *175 examples: - default: *365 + default: *367 '202': description: Response when the codespace creation partially failed but is being retried in the background @@ -77615,7 +78089,7 @@ paths: application/json: schema: *175 examples: - default: *365 + default: *367 '401': *23 '403': *27 '404': *6 @@ -77645,9 +78119,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#list-review-comments-on-a-pull-request parameters: - - *246 - - *247 - - *482 + - *248 + - *249 + - *484 - *82 - name: direction description: The direction to sort results. Ignored without `sort` parameter. @@ -77668,9 +78142,9 @@ paths: application/json: schema: type: array - items: *478 + items: *480 examples: - default: *483 + default: *485 headers: Link: *56 x-github: @@ -77703,9 +78177,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#create-a-review-comment-for-a-pull-request parameters: - - *246 - - *247 - - *482 + - *248 + - *249 + - *484 requestBody: required: true content: @@ -77811,7 +78285,7 @@ paths: description: Response content: application/json: - schema: *478 + schema: *480 examples: example-for-a-multi-line-comment: value: @@ -77899,9 +78373,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#create-a-reply-for-a-review-comment parameters: - - *246 - - *247 - - *482 + - *248 + - *249 + - *484 - *72 requestBody: required: true @@ -77924,7 +78398,7 @@ paths: description: Response content: application/json: - schema: *478 + schema: *480 examples: default: value: @@ -78010,9 +78484,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#list-commits-on-a-pull-request parameters: - - *246 - - *247 - - *482 + - *248 + - *249 + - *484 - *17 - *18 responses: @@ -78022,9 +78496,9 @@ paths: application/json: schema: type: array - items: *374 + items: *376 examples: - default: *484 + default: *486 headers: Link: *56 x-github: @@ -78054,9 +78528,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#list-pull-requests-files parameters: - - *246 - - *247 - - *482 + - *248 + - *249 + - *484 - *17 - *18 responses: @@ -78066,7 +78540,7 @@ paths: application/json: schema: type: array - items: *386 + items: *388 examples: default: value: @@ -78104,9 +78578,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#check-if-a-pull-request-has-been-merged parameters: - - *246 - - *247 - - *482 + - *248 + - *249 + - *484 responses: '204': description: Response if pull request has been merged @@ -78129,9 +78603,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#merge-a-pull-request parameters: - - *246 - - *247 - - *482 + - *248 + - *249 + - *484 requestBody: required: false content: @@ -78243,9 +78717,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/review-requests#get-all-requested-reviewers-for-a-pull-request parameters: - - *246 - - *247 - - *482 + - *248 + - *249 + - *484 responses: '200': description: Response @@ -78320,9 +78794,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/review-requests#request-reviewers-for-a-pull-request parameters: - - *246 - - *247 - - *482 + - *248 + - *249 + - *484 requestBody: required: false content: @@ -78359,7 +78833,7 @@ paths: description: Response content: application/json: - schema: *475 + schema: *477 examples: default: value: @@ -78895,9 +79369,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/review-requests#remove-requested-reviewers-from-a-pull-request parameters: - - *246 - - *247 - - *482 + - *248 + - *249 + - *484 requestBody: required: true content: @@ -78931,7 +79405,7 @@ paths: description: Response content: application/json: - schema: *475 + schema: *477 examples: default: value: @@ -79436,9 +79910,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#list-reviews-for-a-pull-request parameters: - - *246 - - *247 - - *482 + - *248 + - *249 + - *484 - *17 - *18 responses: @@ -79448,7 +79922,7 @@ paths: application/json: schema: type: array - items: &485 + items: &487 title: Pull Request Review description: Pull Request Reviews are reviews on pull requests. type: object @@ -79604,9 +80078,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#create-a-review-for-a-pull-request parameters: - - *246 - - *247 - - *482 + - *248 + - *249 + - *484 requestBody: required: false content: @@ -79696,9 +80170,9 @@ paths: description: Response content: application/json: - schema: *485 + schema: *487 examples: - default: &487 + default: &489 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -79761,10 +80235,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#get-a-review-for-a-pull-request parameters: - - *246 - - *247 - - *482 - - &486 + - *248 + - *249 + - *484 + - &488 name: review_id description: The unique identifier of the review. in: path @@ -79776,9 +80250,9 @@ paths: description: Response content: application/json: - schema: *485 + schema: *487 examples: - default: &488 + default: &490 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -79837,10 +80311,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#update-a-review-for-a-pull-request parameters: - - *246 - - *247 - - *482 - - *486 + - *248 + - *249 + - *484 + - *488 requestBody: required: true content: @@ -79863,7 +80337,7 @@ paths: description: Response content: application/json: - schema: *485 + schema: *487 examples: default: value: @@ -79925,18 +80399,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#delete-a-pending-review-for-a-pull-request parameters: - - *246 - - *247 - - *482 - - *486 + - *248 + - *249 + - *484 + - *488 responses: '200': description: Response content: application/json: - schema: *485 + schema: *487 examples: - default: *487 + default: *489 '422': *7 '404': *6 x-github: @@ -79963,10 +80437,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#list-comments-for-a-pull-request-review parameters: - - *246 - - *247 - - *482 - - *486 + - *248 + - *249 + - *484 + - *488 - *17 - *18 responses: @@ -80064,9 +80538,9 @@ paths: _links: type: object properties: - self: *379 - html: *379 - pull_request: *379 + self: *381 + html: *381 + pull_request: *381 required: - self - html @@ -80217,10 +80691,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#dismiss-a-review-for-a-pull-request parameters: - - *246 - - *247 - - *482 - - *486 + - *248 + - *249 + - *484 + - *488 requestBody: required: true content: @@ -80249,7 +80723,7 @@ paths: description: Response content: application/json: - schema: *485 + schema: *487 examples: default: value: @@ -80312,10 +80786,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#submit-a-review-for-a-pull-request parameters: - - *246 - - *247 - - *482 - - *486 + - *248 + - *249 + - *484 + - *488 requestBody: required: true content: @@ -80350,9 +80824,9 @@ paths: description: Response content: application/json: - schema: *485 + schema: *487 examples: - default: *488 + default: *490 '404': *6 '422': *7 '403': *27 @@ -80374,9 +80848,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#update-a-pull-request-branch parameters: - - *246 - - *247 - - *482 + - *248 + - *249 + - *484 requestBody: required: false content: @@ -80440,8 +80914,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#get-a-repository-readme parameters: - - *246 - - *247 + - *248 + - *249 - name: ref description: 'The name of the commit/branch/tag. Default: the repository’s default branch.' @@ -80454,9 +80928,9 @@ paths: description: Response content: application/json: - schema: *489 + schema: *491 examples: - default: &490 + default: &492 value: type: file encoding: base64 @@ -80498,8 +80972,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#get-a-repository-readme-for-a-directory parameters: - - *246 - - *247 + - *248 + - *249 - name: dir description: The alternate path to look for a README file in: path @@ -80519,9 +80993,9 @@ paths: description: Response content: application/json: - schema: *489 + schema: *491 examples: - default: *490 + default: *492 '404': *6 '422': *15 x-github: @@ -80543,8 +81017,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#list-releases parameters: - - *246 - - *247 + - *248 + - *249 - *17 - *18 responses: @@ -80554,7 +81028,7 @@ paths: application/json: schema: type: array - items: &491 + items: &493 title: Release description: A release. type: object @@ -80626,7 +81100,7 @@ paths: author: *4 assets: type: array - items: &492 + items: &494 title: Release Asset description: Data related to a release. type: object @@ -80806,8 +81280,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#create-a-release parameters: - - *246 - - *247 + - *248 + - *249 requestBody: required: true content: @@ -80883,9 +81357,9 @@ paths: description: Response content: application/json: - schema: *491 + schema: *493 examples: - default: &495 + default: &497 value: url: https://api.github.com/repos/octocat/Hello-World/releases/1 html_url: https://github.com/octocat/Hello-World/releases/v1.0.0 @@ -80988,9 +81462,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#get-a-release-asset parameters: - - *246 - - *247 - - &493 + - *248 + - *249 + - &495 name: asset_id description: The unique identifier of the asset. in: path @@ -81002,9 +81476,9 @@ paths: description: Response content: application/json: - schema: *492 + schema: *494 examples: - default: &494 + default: &496 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 @@ -81038,7 +81512,7 @@ paths: type: User site_admin: false '404': *6 - '302': *388 + '302': *390 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -81054,9 +81528,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#update-a-release-asset parameters: - - *246 - - *247 - - *493 + - *248 + - *249 + - *495 requestBody: required: false content: @@ -81085,9 +81559,9 @@ paths: description: Response content: application/json: - schema: *492 + schema: *494 examples: - default: *494 + default: *496 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -81103,9 +81577,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#delete-a-release-asset parameters: - - *246 - - *247 - - *493 + - *248 + - *249 + - *495 responses: '204': description: Response @@ -81129,8 +81603,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#generate-release-notes-content-for-a-release parameters: - - *246 - - *247 + - *248 + - *249 requestBody: required: true content: @@ -81216,16 +81690,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#get-the-latest-release parameters: - - *246 - - *247 + - *248 + - *249 responses: '200': description: Response content: application/json: - schema: *491 + schema: *493 examples: - default: *495 + default: *497 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -81242,8 +81716,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#get-a-release-by-tag-name parameters: - - *246 - - *247 + - *248 + - *249 - name: tag description: tag parameter in: path @@ -81256,9 +81730,9 @@ paths: description: Response content: application/json: - schema: *491 + schema: *493 examples: - default: *495 + default: *497 '404': *6 x-github: githubCloudOnly: false @@ -81280,9 +81754,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#get-a-release parameters: - - *246 - - *247 - - &496 + - *248 + - *249 + - &498 name: release_id description: The unique identifier of the release. in: path @@ -81296,9 +81770,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: *491 + schema: *493 examples: - default: *495 + default: *497 '401': description: Unauthorized x-github: @@ -81316,9 +81790,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#update-a-release parameters: - - *246 - - *247 - - *496 + - *248 + - *249 + - *498 requestBody: required: false content: @@ -81382,9 +81856,9 @@ paths: description: Response content: application/json: - schema: *491 + schema: *493 examples: - default: *495 + default: *497 '404': description: Not Found if the discussion category name is invalid content: @@ -81405,9 +81879,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#delete-a-release parameters: - - *246 - - *247 - - *496 + - *248 + - *249 + - *498 responses: '204': description: Response @@ -81427,9 +81901,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#list-release-assets parameters: - - *246 - - *247 - - *496 + - *248 + - *249 + - *498 - *17 - *18 responses: @@ -81439,7 +81913,7 @@ paths: application/json: schema: type: array - items: *492 + items: *494 examples: default: value: @@ -81519,9 +81993,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: - - *246 - - *247 - - *496 + - *248 + - *249 + - *498 - name: name in: query required: true @@ -81547,7 +82021,7 @@ paths: description: Response for successful upload content: application/json: - schema: *492 + schema: *494 examples: response-for-successful-upload: value: @@ -81601,9 +82075,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-release parameters: - - *246 - - *247 - - *496 + - *248 + - *249 + - *498 - 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. @@ -81627,9 +82101,9 @@ paths: application/json: schema: type: array - items: *239 + items: *241 examples: - default: *241 + default: *243 headers: Link: *56 '404': *6 @@ -81650,9 +82124,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-release parameters: - - *246 - - *247 - - *496 + - *248 + - *249 + - *498 requestBody: required: true content: @@ -81682,16 +82156,16 @@ paths: description: Reaction exists content: application/json: - schema: *239 + schema: *241 examples: - default: *240 + default: *242 '201': description: Reaction created content: application/json: - schema: *239 + schema: *241 examples: - default: *240 + default: *242 '422': *15 x-github: githubCloudOnly: false @@ -81713,10 +82187,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-a-release-reaction parameters: - - *246 - - *247 - - *496 - - *242 + - *248 + - *249 + - *498 + - *244 responses: '204': description: Response @@ -81740,9 +82214,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rules#get-rules-for-a-branch parameters: - - *246 - - *247 - - *314 + - *248 + - *249 + - *316 - *17 - *18 responses: @@ -81758,8 +82232,8 @@ paths: description: A repository rule with ruleset details. oneOf: - allOf: - - *497 - - &499 + - *499 + - &501 title: repository ruleset data for rule description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -81778,54 +82252,54 @@ paths: ruleset_id: type: integer description: The ID of the ruleset that includes this rule. - - allOf: - - *498 - - *499 - allOf: - *500 - - *499 - - allOf: - *501 - - *499 - allOf: - *502 - - *499 + - *501 - allOf: - *503 - - *499 + - *501 - allOf: - *504 - - *499 + - *501 - allOf: - *505 - - *499 + - *501 - allOf: - *506 - - *499 + - *501 - allOf: - *507 - - *499 + - *501 - allOf: - *508 - - *499 + - *501 - allOf: - *509 - - *499 + - *501 - allOf: - *510 - - *499 + - *501 - allOf: - *511 - - *499 + - *501 - allOf: - *512 - - *499 + - *501 - allOf: - *513 - - *499 + - *501 - allOf: - *514 - - *499 + - *501 + - allOf: + - *515 + - *501 + - allOf: + - *516 + - *501 examples: default: value: @@ -81864,8 +82338,8 @@ paths: category: repos subcategory: rules parameters: - - *246 - - *247 + - *248 + - *249 - *17 - *18 - name: includes_parents @@ -81876,7 +82350,7 @@ paths: schema: type: boolean default: true - - *515 + - *517 responses: '200': description: Response @@ -81884,7 +82358,7 @@ paths: application/json: schema: type: array - items: *214 + items: *216 examples: default: value: @@ -81931,8 +82405,8 @@ paths: category: repos subcategory: rules parameters: - - *246 - - *247 + - *248 + - *249 requestBody: description: Request body required: true @@ -81952,16 +82426,16 @@ paths: - tag - push default: branch - enforcement: *210 + enforcement: *212 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *211 - conditions: *208 + items: *213 + conditions: *210 rules: type: array description: An array of rules within the ruleset. - items: *213 + items: *215 required: - name - enforcement @@ -81992,9 +82466,9 @@ paths: description: Response content: application/json: - schema: *214 + schema: *216 examples: - default: &525 + default: &527 value: id: 42 name: super cool ruleset @@ -82041,12 +82515,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rule-suites#list-repository-rule-suites parameters: - - *246 - - *247 - - *516 - - *517 + - *248 + - *249 - *518 - *519 + - *520 + - *521 - *17 - *18 responses: @@ -82054,9 +82528,9 @@ paths: description: Response content: application/json: - schema: *520 + schema: *522 examples: - default: *521 + default: *523 '404': *6 '500': *132 x-github: @@ -82077,17 +82551,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rule-suites#get-a-repository-rule-suite parameters: - - *246 - - *247 - - *522 + - *248 + - *249 + - *524 responses: '200': description: Response content: application/json: - schema: *523 + schema: *525 examples: - default: *524 + default: *526 '404': *6 '500': *132 x-github: @@ -82115,8 +82589,8 @@ paths: category: repos subcategory: rules parameters: - - *246 - - *247 + - *248 + - *249 - name: ruleset_id description: The ID of the ruleset. in: path @@ -82136,9 +82610,9 @@ paths: description: Response content: application/json: - schema: *214 + schema: *216 examples: - default: *525 + default: *527 '404': *6 '500': *132 put: @@ -82156,8 +82630,8 @@ paths: category: repos subcategory: rules parameters: - - *246 - - *247 + - *248 + - *249 - name: ruleset_id description: The ID of the ruleset. in: path @@ -82182,16 +82656,16 @@ paths: - branch - tag - push - enforcement: *210 + enforcement: *212 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *211 - conditions: *208 + items: *213 + conditions: *210 rules: description: An array of rules within the ruleset. type: array - items: *213 + items: *215 examples: default: value: @@ -82219,9 +82693,9 @@ paths: description: Response content: application/json: - schema: *214 + schema: *216 examples: - default: *525 + default: *527 '404': *6 '500': *132 delete: @@ -82239,8 +82713,8 @@ paths: category: repos subcategory: rules parameters: - - *246 - - *247 + - *248 + - *249 - name: ruleset_id description: The ID of the ruleset. in: path @@ -82268,20 +82742,20 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-a-repository parameters: - - *246 - - *247 - - *216 - - *217 + - *248 + - *249 - *218 - *219 + - *220 + - *221 - *46 - *18 - *17 - - *526 - - *527 - - *220 - - *221 + - *528 + - *529 - *222 + - *223 + - *224 responses: '200': description: Response @@ -82289,7 +82763,7 @@ paths: application/json: schema: type: array - items: &530 + items: &532 type: object properties: number: *51 @@ -82305,8 +82779,8 @@ paths: format: uri description: The REST API URL of the code locations for this alert. - state: *528 - resolution: *529 + state: *530 + resolution: *531 resolved_at: type: - string @@ -82519,15 +82993,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#get-a-secret-scanning-alert parameters: - - *246 - - *247 - - *345 + - *248 + - *249 + - *347 responses: '200': description: Response content: application/json: - schema: *530 + schema: *532 examples: default: value: @@ -82579,9 +83053,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#update-a-secret-scanning-alert parameters: - - *246 - - *247 - - *345 + - *248 + - *249 + - *347 requestBody: required: true content: @@ -82589,8 +83063,8 @@ paths: schema: type: object properties: - state: *528 - resolution: *529 + state: *530 + resolution: *531 resolution_comment: description: An optional comment when closing an alert. Cannot be updated or deleted. Must be `null` when changing `state` to `open`. @@ -82609,7 +83083,7 @@ paths: description: Response content: application/json: - schema: *530 + schema: *532 examples: default: value: @@ -82684,9 +83158,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-locations-for-a-secret-scanning-alert parameters: - - *246 - - *247 - - *345 + - *248 + - *249 + - *347 - *18 - *17 responses: @@ -82697,7 +83171,7 @@ paths: schema: type: array description: List of locations where the secret was detected - items: &659 + items: &661 type: object properties: type: @@ -83076,8 +83550,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#create-a-push-protection-bypass parameters: - - *246 - - *247 + - *248 + - *249 requestBody: required: true content: @@ -83085,14 +83559,14 @@ paths: schema: type: object properties: - reason: &532 + reason: &534 description: The reason for bypassing push protection. type: string enum: - false_positive - used_in_tests - will_fix_later - placeholder_id: *531 + placeholder_id: *533 required: - reason - placeholder_id @@ -83109,7 +83583,7 @@ paths: schema: type: object properties: - reason: *532 + reason: *534 expire_at: type: - string @@ -83153,8 +83627,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#get-secret-scanning-scan-history-for-a-repository parameters: - - *246 - - *247 + - *248 + - *249 responses: '404': description: Repository does not have GitHub Advanced Security or secret @@ -83169,7 +83643,7 @@ paths: properties: incremental_scans: type: array - items: &533 + items: &535 description: Information on a single scan performed by secret scanning on the repository type: object @@ -83197,15 +83671,15 @@ paths: the scan is pending pattern_update_scans: type: array - items: *533 + items: *535 backfill_scans: type: array - items: *533 + items: *535 custom_pattern_backfill_scans: type: array items: allOf: - - *533 + - *535 - type: object properties: pattern_name: @@ -83275,8 +83749,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#list-repository-security-advisories parameters: - - *246 - - *247 + - *248 + - *249 - *46 - name: sort description: The property to sort the results by. @@ -83320,9 +83794,9 @@ paths: application/json: schema: type: array - items: *534 + items: *536 examples: - default: *535 + default: *537 '400': *14 '404': *6 x-github: @@ -83345,8 +83819,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#create-a-repository-security-advisory parameters: - - *246 - - *247 + - *248 + - *249 requestBody: required: true content: @@ -83426,7 +83900,7 @@ paths: login: type: string description: The username of the user credited. - type: *225 + type: *227 required: - login - type @@ -83516,9 +83990,9 @@ paths: description: Response content: application/json: - schema: *534 + schema: *536 examples: - default: &537 + default: &539 value: ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -83751,8 +84225,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#privately-report-a-security-vulnerability parameters: - - *246 - - *247 + - *248 + - *249 requestBody: required: true content: @@ -83865,7 +84339,7 @@ paths: description: Response content: application/json: - schema: *534 + schema: *536 examples: default: value: @@ -84012,17 +84486,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#get-a-repository-security-advisory parameters: - - *246 - - *247 - - *536 + - *248 + - *249 + - *538 responses: '200': description: Response content: application/json: - schema: *534 + schema: *536 examples: - default: *537 + default: *539 '403': *27 '404': *6 x-github: @@ -84046,9 +84520,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#update-a-repository-security-advisory parameters: - - *246 - - *247 - - *536 + - *248 + - *249 + - *538 requestBody: required: true content: @@ -84128,7 +84602,7 @@ paths: login: type: string description: The username of the user credited. - type: *225 + type: *227 required: - login - type @@ -84219,10 +84693,10 @@ paths: description: Response content: application/json: - schema: *534 + schema: *536 examples: - default: *537 - add_credit: *537 + default: *539 + add_credit: *539 '403': *27 '404': *6 '422': @@ -84260,9 +84734,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: - - *246 - - *247 - - *536 + - *248 + - *249 + - *538 responses: '202': *45 '400': *14 @@ -84289,17 +84763,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#create-a-temporary-private-fork parameters: - - *246 - - *247 - - *536 + - *248 + - *249 + - *538 responses: '202': description: Response content: application/json: - schema: *257 + schema: *259 examples: - default: *259 + default: *261 '400': *14 '422': *15 '403': *27 @@ -84325,8 +84799,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#list-stargazers parameters: - - *246 - - *247 + - *248 + - *249 - *17 - *18 responses: @@ -84422,8 +84896,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-weekly-commit-activity parameters: - - *246 - - *247 + - *248 + - *249 responses: '200': description: Returns a weekly aggregate of the number of additions and deletions @@ -84432,7 +84906,7 @@ paths: application/json: schema: type: array - items: &538 + items: &540 title: Code Frequency Stat description: Code Frequency Stat type: array @@ -84465,8 +84939,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-last-year-of-commit-activity parameters: - - *246 - - *247 + - *248 + - *249 responses: '200': description: Response @@ -84544,8 +85018,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-all-contributor-commit-activity parameters: - - *246 - - *247 + - *248 + - *249 responses: '200': description: Response @@ -84639,8 +85113,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-weekly-commit-count parameters: - - *246 - - *247 + - *248 + - *249 responses: '200': description: The array order is oldest week (index 0) to most recent week. @@ -84794,8 +85268,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-hourly-commit-count-for-each-day parameters: - - *246 - - *247 + - *248 + - *249 responses: '200': description: For example, `[2, 14, 25]` indicates that there were 25 total @@ -84805,7 +85279,7 @@ paths: application/json: schema: type: array - items: *538 + items: *540 examples: default: value: @@ -84838,8 +85312,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/statuses#create-a-commit-status parameters: - - *246 - - *247 + - *248 + - *249 - name: sha in: path required: true @@ -84895,7 +85369,7 @@ paths: description: Response content: application/json: - schema: *539 + schema: *541 examples: default: value: @@ -84949,8 +85423,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#list-watchers parameters: - - *246 - - *247 + - *248 + - *249 - *17 - *18 responses: @@ -84982,14 +85456,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#get-a-repository-subscription parameters: - - *246 - - *247 + - *248 + - *249 responses: '200': description: if you subscribe to the repository content: application/json: - schema: &540 + schema: &542 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -85062,8 +85536,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#set-a-repository-subscription parameters: - - *246 - - *247 + - *248 + - *249 requestBody: required: false content: @@ -85089,7 +85563,7 @@ paths: description: Response content: application/json: - schema: *540 + schema: *542 examples: default: value: @@ -85116,8 +85590,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#delete-a-repository-subscription parameters: - - *246 - - *247 + - *248 + - *249 responses: '204': description: Response @@ -85137,8 +85611,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-tags parameters: - - *246 - - *247 + - *248 + - *249 - *17 - *18 responses: @@ -85220,8 +85694,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/tags#closing-down---list-tag-protection-states-for-a-repository parameters: - - *246 - - *247 + - *248 + - *249 responses: '200': description: Response @@ -85229,7 +85703,7 @@ paths: application/json: schema: type: array - items: &541 + items: &543 title: Tag protection description: Tag protection type: object @@ -85286,8 +85760,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/tags#closing-down---create-a-tag-protection-state-for-a-repository parameters: - - *246 - - *247 + - *248 + - *249 requestBody: required: true content: @@ -85310,7 +85784,7 @@ paths: description: Response content: application/json: - schema: *541 + schema: *543 examples: default: value: @@ -85341,8 +85815,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/tags#closing-down---delete-a-tag-protection-state-for-a-repository parameters: - - *246 - - *247 + - *248 + - *249 - name: tag_protection_id description: The unique identifier of the tag protection. in: path @@ -85379,8 +85853,8 @@ paths: url: https://docs.github.com/rest/repos/contents#download-a-repository-archive-tar operationId: repos/download-tarball-archive parameters: - - *246 - - *247 + - *248 + - *249 - name: ref in: path required: true @@ -85416,8 +85890,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-teams parameters: - - *246 - - *247 + - *248 + - *249 - *17 - *18 responses: @@ -85449,8 +85923,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#get-all-repository-topics parameters: - - *246 - - *247 + - *248 + - *249 - *18 - *17 responses: @@ -85458,7 +85932,7 @@ paths: description: Response content: application/json: - schema: &542 + schema: &544 title: Topic description: A topic aggregates entities that are related to a subject. type: object @@ -85470,7 +85944,7 @@ paths: required: - names examples: - default: &543 + default: &545 value: names: - octocat @@ -85493,8 +85967,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#replace-all-repository-topics parameters: - - *246 - - *247 + - *248 + - *249 requestBody: required: true content: @@ -85525,9 +85999,9 @@ paths: description: Response content: application/json: - schema: *542 + schema: *544 examples: - default: *543 + default: *545 '404': *6 '422': *7 x-github: @@ -85548,9 +86022,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-repository-clones parameters: - - *246 - - *247 - - &544 + - *248 + - *249 + - &546 name: per description: The time frame to display results for. in: query @@ -85581,7 +86055,7 @@ paths: - 128 clones: type: array - items: &545 + items: &547 title: Traffic type: object properties: @@ -85668,8 +86142,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-top-referral-paths parameters: - - *246 - - *247 + - *248 + - *249 responses: '200': description: Response @@ -85763,8 +86237,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-top-referral-sources parameters: - - *246 - - *247 + - *248 + - *249 responses: '200': description: Response @@ -85827,9 +86301,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-page-views parameters: - - *246 - - *247 - - *544 + - *248 + - *249 + - *546 responses: '200': description: Response @@ -85850,7 +86324,7 @@ paths: - 3782 views: type: array - items: *545 + items: *547 required: - uniques - count @@ -85927,8 +86401,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#transfer-a-repository parameters: - - *246 - - *247 + - *248 + - *249 requestBody: required: true content: @@ -86202,8 +86676,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#check-if-vulnerability-alerts-are-enabled-for-a-repository parameters: - - *246 - - *247 + - *248 + - *249 responses: '204': description: Response if repository is enabled with vulnerability alerts @@ -86226,8 +86700,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-vulnerability-alerts parameters: - - *246 - - *247 + - *248 + - *249 responses: '204': description: Response @@ -86249,8 +86723,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-vulnerability-alerts parameters: - - *246 - - *247 + - *248 + - *249 responses: '204': description: Response @@ -86276,8 +86750,8 @@ paths: url: https://docs.github.com/rest/repos/contents#download-a-repository-archive-zip operationId: repos/download-zipball-archive parameters: - - *246 - - *247 + - *248 + - *249 - name: ref in: path required: true @@ -86369,9 +86843,9 @@ paths: description: Response content: application/json: - schema: *257 + schema: *259 examples: - default: *259 + default: *261 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -86620,7 +87094,7 @@ paths: examples: - 73..77 - 77..78 - text_matches: &546 + text_matches: &548 title: Search Result Text Matches type: array items: @@ -86783,7 +87257,7 @@ paths: enum: - author-date - committer-date - - &547 + - &549 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 @@ -86852,7 +87326,7 @@ paths: committer: anyOf: - type: 'null' - - *312 + - *314 comment_count: type: integer message: @@ -86871,7 +87345,7 @@ paths: url: type: string format: uri - verification: *423 + verification: *425 required: - author - committer @@ -86886,7 +87360,7 @@ paths: committer: anyOf: - type: 'null' - - *312 + - *314 parents: type: array items: @@ -86903,7 +87377,7 @@ paths: type: number node_id: type: string - text_matches: *546 + text_matches: *548 required: - sha - node_id @@ -87095,7 +87569,7 @@ paths: - interactions - created - updated - - *547 + - *549 - *17 - *18 responses: @@ -87211,7 +87685,7 @@ paths: milestone: anyOf: - type: 'null' - - *378 + - *380 comments: type: integer created_at: @@ -87225,7 +87699,7 @@ paths: - string - 'null' format: date-time - text_matches: *546 + text_matches: *548 pull_request: type: object properties: @@ -87447,7 +87921,7 @@ paths: enum: - created - updated - - *547 + - *549 - *17 - *18 responses: @@ -87492,7 +87966,7 @@ paths: - 'null' score: type: number - text_matches: *546 + text_matches: *548 required: - id - node_id @@ -87577,7 +88051,7 @@ paths: - forks - help-wanted-issues - updated - - *547 + - *549 - *17 - *18 responses: @@ -87814,7 +88288,7 @@ paths: - admin - pull - push - text_matches: *546 + text_matches: *548 temp_clone_token: type: string allow_merge_commit: @@ -88122,7 +88596,7 @@ paths: - string - 'null' format: uri - text_matches: *546 + text_matches: *548 related: type: - array @@ -88315,7 +88789,7 @@ paths: - followers - repositories - joined - - *547 + - *549 - *17 - *18 responses: @@ -88425,7 +88899,7 @@ paths: type: - boolean - 'null' - text_matches: *546 + text_matches: *548 blog: type: - string @@ -88507,7 +88981,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#get-a-team-legacy parameters: - - &548 + - &550 name: team_id description: The unique identifier of the team. in: path @@ -88519,9 +88993,9 @@ paths: description: Response content: application/json: - schema: *231 + schema: *233 examples: - default: *232 + default: *234 '404': *6 x-github: githubCloudOnly: false @@ -88548,7 +89022,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#update-a-team-legacy parameters: - - *548 + - *550 requestBody: required: true content: @@ -88612,16 +89086,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *231 + schema: *233 examples: - default: *232 + default: *234 '201': description: Response content: application/json: - schema: *231 + schema: *233 examples: - default: *232 + default: *234 '404': *6 '422': *15 '403': *27 @@ -88649,7 +89123,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#delete-a-team-legacy parameters: - - *548 + - *550 responses: '204': description: Response @@ -88680,7 +89154,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#list-discussions-legacy parameters: - - *548 + - *550 - *46 - *17 - *18 @@ -88691,9 +89165,9 @@ paths: application/json: schema: type: array - items: *233 + items: *235 examples: - default: *549 + default: *551 headers: Link: *56 x-github: @@ -88722,7 +89196,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#create-a-discussion-legacy parameters: - - *548 + - *550 requestBody: required: true content: @@ -88756,9 +89230,9 @@ paths: description: Response content: application/json: - schema: *233 + schema: *235 examples: - default: *234 + default: *236 x-github: triggersNotification: true githubCloudOnly: false @@ -88785,16 +89259,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#get-a-discussion-legacy parameters: - - *548 - - *235 + - *550 + - *237 responses: '200': description: Response content: application/json: - schema: *233 + schema: *235 examples: - default: *234 + default: *236 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88819,8 +89293,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#update-a-discussion-legacy parameters: - - *548 - - *235 + - *550 + - *237 requestBody: required: false content: @@ -88843,9 +89317,9 @@ paths: description: Response content: application/json: - schema: *233 + schema: *235 examples: - default: *550 + default: *552 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88870,8 +89344,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#delete-a-discussion-legacy parameters: - - *548 - - *235 + - *550 + - *237 responses: '204': description: Response @@ -88900,8 +89374,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#list-discussion-comments-legacy parameters: - - *548 - - *235 + - *550 + - *237 - *46 - *17 - *18 @@ -88912,9 +89386,9 @@ paths: application/json: schema: type: array - items: *236 + items: *238 examples: - default: *551 + default: *553 headers: Link: *56 x-github: @@ -88943,8 +89417,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#create-a-discussion-comment-legacy parameters: - - *548 - - *235 + - *550 + - *237 requestBody: required: true content: @@ -88966,9 +89440,9 @@ paths: description: Response content: application/json: - schema: *236 + schema: *238 examples: - default: *237 + default: *239 x-github: triggersNotification: true githubCloudOnly: false @@ -88995,17 +89469,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#get-a-discussion-comment-legacy parameters: - - *548 - - *235 - - *238 + - *550 + - *237 + - *240 responses: '200': description: Response content: application/json: - schema: *236 + schema: *238 examples: - default: *237 + default: *239 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89030,9 +89504,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#update-a-discussion-comment-legacy parameters: - - *548 - - *235 - - *238 + - *550 + - *237 + - *240 requestBody: required: true content: @@ -89054,9 +89528,9 @@ paths: description: Response content: application/json: - schema: *236 + schema: *238 examples: - default: *552 + default: *554 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89081,9 +89555,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#delete-a-discussion-comment-legacy parameters: - - *548 - - *235 - - *238 + - *550 + - *237 + - *240 responses: '204': description: Response @@ -89112,9 +89586,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-team-discussion-comment-legacy parameters: - - *548 - - *235 - - *238 + - *550 + - *237 + - *240 - 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 team discussion comment. @@ -89140,9 +89614,9 @@ paths: application/json: schema: type: array - items: *239 + items: *241 examples: - default: *241 + default: *243 headers: Link: *56 x-github: @@ -89171,9 +89645,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-team-discussion-comment-legacy parameters: - - *548 - - *235 - - *238 + - *550 + - *237 + - *240 requestBody: required: true content: @@ -89205,9 +89679,9 @@ paths: description: Response content: application/json: - schema: *239 + schema: *241 examples: - default: *240 + default: *242 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89233,8 +89707,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-team-discussion-legacy parameters: - - *548 - - *235 + - *550 + - *237 - 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 team discussion. @@ -89260,9 +89734,9 @@ paths: application/json: schema: type: array - items: *239 + items: *241 examples: - default: *241 + default: *243 headers: Link: *56 x-github: @@ -89291,8 +89765,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-team-discussion-legacy parameters: - - *548 - - *235 + - *550 + - *237 requestBody: required: true content: @@ -89324,9 +89798,9 @@ paths: description: Response content: application/json: - schema: *239 + schema: *241 examples: - default: *240 + default: *242 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -89350,7 +89824,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#list-pending-team-invitations-legacy parameters: - - *548 + - *550 - *17 - *18 responses: @@ -89388,7 +89862,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#list-team-members-legacy parameters: - - *548 + - *550 - name: role description: Filters members returned by their role in the team. in: query @@ -89439,7 +89913,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#get-team-member-legacy parameters: - - *548 + - *550 - *120 responses: '204': @@ -89476,7 +89950,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#add-team-member-legacy parameters: - - *548 + - *550 - *120 responses: '204': @@ -89516,7 +89990,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#remove-team-member-legacy parameters: - - *548 + - *550 - *120 responses: '204': @@ -89553,16 +90027,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#get-team-membership-for-a-user-legacy parameters: - - *548 + - *550 - *120 responses: '200': description: Response content: application/json: - schema: *243 + schema: *245 examples: - response-if-user-is-a-team-maintainer: *553 + response-if-user-is-a-team-maintainer: *555 '404': *6 x-github: githubCloudOnly: false @@ -89595,7 +90069,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#add-or-update-team-membership-for-a-user-legacy parameters: - - *548 + - *550 - *120 requestBody: required: false @@ -89621,9 +90095,9 @@ paths: description: Response content: application/json: - schema: *243 + schema: *245 examples: - response-if-users-membership-with-team-is-now-pending: *554 + response-if-users-membership-with-team-is-now-pending: *556 '403': description: Forbidden if team synchronization is set up '422': @@ -89657,7 +90131,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#remove-team-membership-for-a-user-legacy parameters: - - *548 + - *550 - *120 responses: '204': @@ -89687,7 +90161,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-team-projects-legacy parameters: - - *548 + - *550 - *17 - *18 responses: @@ -89697,9 +90171,9 @@ paths: application/json: schema: type: array - items: *244 + items: *246 examples: - default: *555 + default: *557 headers: Link: *56 '404': *6 @@ -89726,16 +90200,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-project-legacy parameters: - - *548 - - *245 + - *550 + - *247 responses: '200': description: Response content: application/json: - schema: *244 + schema: *246 examples: - default: *556 + default: *558 '404': description: Not Found if project is not managed by this team x-github: @@ -89760,8 +90234,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#add-or-update-team-project-permissions-legacy parameters: - - *548 - - *245 + - *550 + - *247 requestBody: required: false content: @@ -89829,8 +90303,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#remove-a-project-from-a-team-legacy parameters: - - *548 - - *245 + - *550 + - *247 responses: '204': description: Response @@ -89857,7 +90331,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-team-repositories-legacy parameters: - - *548 + - *550 - *17 - *18 responses: @@ -89899,15 +90373,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-repository-legacy parameters: - - *548 - - *246 - - *247 + - *550 + - *248 + - *249 responses: '200': description: Alternative response with extra repository information content: application/json: - schema: *557 + schema: *559 examples: alternative-response-with-extra-repository-information: value: @@ -90058,9 +90532,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#add-or-update-team-repository-permissions-legacy parameters: - - *548 - - *246 - - *247 + - *550 + - *248 + - *249 requestBody: required: false content: @@ -90110,9 +90584,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#remove-a-repository-from-a-team-legacy parameters: - - *548 - - *246 - - *247 + - *550 + - *248 + - *249 responses: '204': description: Response @@ -90137,7 +90611,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-child-teams-legacy parameters: - - *548 + - *550 - *17 - *18 responses: @@ -90149,7 +90623,7 @@ paths: type: array items: *171 examples: - response-if-child-teams-exist: *558 + response-if-child-teams-exist: *560 headers: Link: *56 '404': *6 @@ -90182,7 +90656,7 @@ paths: application/json: schema: oneOf: - - &560 + - &562 title: Private User description: Private User type: object @@ -90432,7 +90906,7 @@ paths: - private_gists - total_private_repos - two_factor_authentication - - *559 + - *561 examples: response-with-public-and-private-profile-information: summary: Response with public and private profile information @@ -90592,7 +91066,7 @@ paths: description: Response content: application/json: - schema: *560 + schema: *562 examples: default: value: @@ -90938,7 +91412,7 @@ paths: application/json: schema: *175 examples: - default: *365 + default: *367 '202': description: Response when the codespace creation partially failed but is being retried in the background @@ -90946,7 +91420,7 @@ paths: application/json: schema: *175 examples: - default: *365 + default: *367 '401': *23 '403': *27 '404': *6 @@ -90990,7 +91464,7 @@ paths: type: integer secrets: type: array - items: &561 + items: &563 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -91032,7 +91506,7 @@ paths: - visibility - selected_repositories_url examples: - default: *367 + default: *369 headers: Link: *56 x-github: @@ -91110,7 +91584,7 @@ paths: description: Response content: application/json: - schema: *561 + schema: *563 examples: default: value: @@ -91256,7 +91730,7 @@ paths: type: array items: *107 examples: - default: *562 + default: *564 '401': *23 '403': *27 '404': *6 @@ -91408,7 +91882,7 @@ paths: application/json: schema: *175 examples: - default: *365 + default: *367 '304': *35 '500': *132 '401': *23 @@ -91466,7 +91940,7 @@ paths: application/json: schema: *175 examples: - default: *365 + default: *367 '401': *23 '403': *27 '404': *6 @@ -91523,7 +91997,7 @@ paths: description: Response content: application/json: - schema: &563 + schema: &565 type: object title: Fetches information about an export of a codespace. description: An export of a codespace. Also, latest export details @@ -91576,7 +92050,7 @@ paths: examples: - https://github.com/octocat/hello-world/tree/:branch examples: - default: &564 + default: &566 value: state: succeeded completed_at: '2022-01-01T14:59:22Z' @@ -91621,9 +92095,9 @@ paths: description: Response content: application/json: - schema: *563 + schema: *565 examples: - default: *564 + default: *566 '404': *6 x-github: githubCloudOnly: false @@ -91660,9 +92134,9 @@ paths: type: integer machines: type: array - items: *366 + items: *368 examples: - default: *565 + default: *567 '304': *35 '500': *132 '401': *23 @@ -91747,11 +92221,11 @@ paths: - 26a7c758-7299-4a73-b978-5a92a7ae98a0 owner: *4 billable_owner: *4 - repository: *257 + repository: *259 machine: anyOf: - type: 'null' - - *366 + - *368 devcontainer_path: description: Path to devcontainer.json from repo root used to create Codespace. @@ -92556,7 +93030,7 @@ paths: application/json: schema: *175 examples: - default: *365 + default: *367 '304': *35 '500': *132 '400': *14 @@ -92596,7 +93070,7 @@ paths: application/json: schema: *175 examples: - default: *365 + default: *367 '500': *132 '401': *23 '403': *27 @@ -92628,7 +93102,7 @@ paths: type: array items: *188 examples: - default: &578 + default: &580 value: - id: 197 name: hello_docker @@ -92729,7 +93203,7 @@ paths: application/json: schema: type: array - items: &566 + items: &568 title: Email description: Email type: object @@ -92799,9 +93273,9 @@ paths: application/json: schema: type: array - items: *566 + items: *568 examples: - default: &580 + default: &582 value: - email: octocat@github.com verified: true @@ -92878,7 +93352,7 @@ paths: application/json: schema: type: array - items: *566 + items: *568 examples: default: value: @@ -93136,7 +93610,7 @@ paths: application/json: schema: type: array - items: &567 + items: &569 title: GPG Key description: A unique encryption key type: object @@ -93281,7 +93755,7 @@ paths: - subkeys - revoked examples: - default: &591 + default: &593 value: - id: 3 name: Octocat's GPG Key @@ -93366,9 +93840,9 @@ paths: description: Response content: application/json: - schema: *567 + schema: *569 examples: - default: &568 + default: &570 value: id: 3 name: Octocat's GPG Key @@ -93425,7 +93899,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/gpg-keys#get-a-gpg-key-for-the-authenticated-user parameters: - - &569 + - &571 name: gpg_key_id description: The unique identifier of the GPG key. in: path @@ -93437,9 +93911,9 @@ paths: description: Response content: application/json: - schema: *567 + schema: *569 examples: - default: *568 + default: *570 '404': *6 '304': *35 '403': *27 @@ -93462,7 +93936,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/gpg-keys#delete-a-gpg-key-for-the-authenticated-user parameters: - - *569 + - *571 responses: '204': description: Response @@ -93653,7 +94127,7 @@ paths: type: array items: *58 examples: - default: *570 + default: *572 headers: Link: *56 '404': *6 @@ -93767,7 +94241,7 @@ paths: required: true content: application/json: - schema: *434 + schema: *436 examples: default: value: @@ -93917,7 +94391,7 @@ paths: application/json: schema: type: array - items: &571 + items: &573 title: Key description: Key type: object @@ -94015,9 +94489,9 @@ paths: description: Response content: application/json: - schema: *571 + schema: *573 examples: - default: &572 + default: &574 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -94050,15 +94524,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/keys#get-a-public-ssh-key-for-the-authenticated-user parameters: - - *461 + - *463 responses: '200': description: Response content: application/json: - schema: *571 + schema: *573 examples: - default: *572 + default: *574 '404': *6 '304': *35 '403': *27 @@ -94081,7 +94555,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/keys#delete-a-public-ssh-key-for-the-authenticated-user parameters: - - *461 + - *463 responses: '204': description: Response @@ -94114,7 +94588,7 @@ paths: application/json: schema: type: array - items: &573 + items: &575 title: User Marketplace Purchase description: User Marketplace Purchase type: object @@ -94193,7 +94667,7 @@ paths: - account - plan examples: - default: &574 + default: &576 value: - billing_cycle: monthly next_billing_date: '2017-11-11T00:00:00Z' @@ -94255,9 +94729,9 @@ paths: application/json: schema: type: array - items: *573 + items: *575 examples: - default: *574 + default: *576 headers: Link: *56 '304': *35 @@ -95261,7 +95735,7 @@ paths: url: https://docs.github.com/rest/migrations/users#unlock-a-user-repository parameters: - *182 - - *575 + - *577 responses: '204': description: Response @@ -95334,7 +95808,7 @@ paths: type: array items: *134 examples: - default: *576 + default: *578 headers: Link: *56 '304': *35 @@ -95376,7 +95850,7 @@ paths: - docker - nuget - container - - *577 + - *579 - *18 - *17 responses: @@ -95388,8 +95862,8 @@ paths: type: array items: *188 examples: - default: *578 - '400': *579 + default: *580 + '400': *581 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -95418,7 +95892,7 @@ paths: application/json: schema: *188 examples: - default: &592 + default: &594 value: id: 40201 name: octo-name @@ -95801,7 +96275,7 @@ paths: description: Response content: application/json: - schema: *201 + schema: *203 examples: default: value: @@ -95870,9 +96344,9 @@ paths: application/json: schema: type: array - items: *566 + items: *568 examples: - default: *580 + default: *582 headers: Link: *56 '304': *35 @@ -95985,7 +96459,7 @@ paths: type: array items: *58 examples: - default: &587 + default: &589 summary: Default response value: - id: 1296269 @@ -96301,9 +96775,9 @@ paths: description: Response content: application/json: - schema: *257 + schema: *259 examples: - default: *259 + default: *261 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -96341,9 +96815,9 @@ paths: application/json: schema: type: array - items: *436 + items: *438 examples: - default: *581 + default: *583 headers: Link: *56 '304': *35 @@ -96422,7 +96896,7 @@ paths: application/json: schema: type: array - items: &582 + items: &584 title: Social account description: Social media account type: object @@ -96439,7 +96913,7 @@ paths: - provider - url examples: - default: &583 + default: &585 value: - provider: twitter url: https://twitter.com/github @@ -96502,9 +96976,9 @@ paths: application/json: schema: type: array - items: *582 + items: *584 examples: - default: *583 + default: *585 '422': *15 '304': *35 '404': *6 @@ -96592,7 +97066,7 @@ paths: application/json: schema: type: array - items: &584 + items: &586 title: SSH Signing Key description: A public SSH key used to sign Git commits type: object @@ -96612,7 +97086,7 @@ paths: - title - created_at examples: - default: &599 + default: &601 value: - key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -96679,9 +97153,9 @@ paths: description: Response content: application/json: - schema: *584 + schema: *586 examples: - default: &585 + default: &587 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -96712,7 +97186,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: - - &586 + - &588 name: ssh_signing_key_id description: The unique identifier of the SSH signing key. in: path @@ -96724,9 +97198,9 @@ paths: description: Response content: application/json: - schema: *584 + schema: *586 examples: - default: *585 + default: *587 '404': *6 '304': *35 '403': *27 @@ -96749,7 +97223,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: - - *586 + - *588 responses: '204': description: Response @@ -96778,7 +97252,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#list-repositories-starred-by-the-authenticated-user parameters: - - &600 + - &602 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 @@ -96803,11 +97277,11 @@ paths: type: array items: *58 examples: - default-response: *587 + default-response: *589 application/vnd.github.v3.star+json: schema: type: array - items: &601 + items: &603 title: Starred Repository description: Starred Repository type: object @@ -96963,8 +97437,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: - - *246 - - *247 + - *248 + - *249 responses: '204': description: Response if this repository is starred by you @@ -96992,8 +97466,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#star-a-repository-for-the-authenticated-user parameters: - - *246 - - *247 + - *248 + - *249 responses: '204': description: Response @@ -97017,8 +97491,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#unstar-a-repository-for-the-authenticated-user parameters: - - *246 - - *247 + - *248 + - *249 responses: '204': description: Response @@ -97090,7 +97564,7 @@ paths: application/json: schema: type: array - items: *231 + items: *233 examples: default: value: @@ -97174,10 +97648,10 @@ paths: application/json: schema: oneOf: - - *560 - - *559 + - *562 + - *561 examples: - default-response: &589 + default-response: &591 summary: Default response value: login: octocat @@ -97212,7 +97686,7 @@ paths: following: 0 created_at: '2008-01-14T04:33:35Z' updated_at: '2008-01-14T04:33:35Z' - response-with-git-hub-plan-information: &590 + response-with-git-hub-plan-information: &592 summary: Response with GitHub plan information value: login: octocat @@ -97272,7 +97746,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/users#list-users parameters: - - *588 + - *590 - *17 responses: '200': @@ -97319,11 +97793,11 @@ paths: application/json: schema: oneOf: - - *560 - - *559 + - *562 + - *561 examples: - default-response: *589 - response-with-git-hub-plan-information: *590 + default-response: *591 + response-with-git-hub-plan-information: *592 '404': *6 x-github: githubCloudOnly: false @@ -97489,7 +97963,7 @@ paths: type: array items: *188 examples: - default: *578 + default: *580 '403': *27 '401': *23 x-github: @@ -97893,9 +98367,9 @@ paths: application/json: schema: type: array - items: *567 + items: *569 examples: - default: *591 + default: *593 headers: Link: *56 x-github: @@ -97999,7 +98473,7 @@ paths: application/json: schema: *20 examples: - default: *433 + default: *435 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -98077,7 +98551,7 @@ paths: type: array items: *134 examples: - default: *576 + default: *578 headers: Link: *56 x-github: @@ -98116,7 +98590,7 @@ paths: - docker - nuget - container - - *577 + - *579 - *120 - *18 - *17 @@ -98129,10 +98603,10 @@ paths: type: array items: *188 examples: - default: *578 + default: *580 '403': *27 '401': *23 - '400': *579 + '400': *581 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -98162,7 +98636,7 @@ paths: application/json: schema: *188 examples: - default: *592 + default: *594 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -98445,7 +98919,7 @@ paths: application/json: schema: type: array - items: *201 + items: *203 examples: default: value: @@ -98755,9 +99229,9 @@ paths: description: Response content: application/json: - schema: *593 + schema: *595 examples: - default: *594 + default: *596 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -98785,9 +99259,9 @@ paths: description: Response content: application/json: - schema: *595 + schema: *597 examples: - default: *596 + default: *598 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -98815,9 +99289,9 @@ paths: description: Response content: application/json: - schema: *597 + schema: *599 examples: - default: *598 + default: *600 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -98845,9 +99319,9 @@ paths: application/json: schema: type: array - items: *582 + items: *584 examples: - default: *583 + default: *585 headers: Link: *56 x-github: @@ -98877,9 +99351,9 @@ paths: application/json: schema: type: array - items: *584 + items: *586 examples: - default: *599 + default: *601 headers: Link: *56 x-github: @@ -98904,7 +99378,7 @@ paths: url: https://docs.github.com/rest/activity/starring#list-repositories-starred-by-a-user parameters: - *120 - - *600 + - *602 - *46 - *17 - *18 @@ -98916,11 +99390,11 @@ paths: schema: anyOf: - type: array - items: *601 + items: *603 - type: array items: *58 examples: - default-response: *587 + default-response: *589 headers: Link: *56 x-github: @@ -99080,7 +99554,7 @@ webhooks: type: string enum: - disabled - enterprise: &602 + enterprise: &604 title: Enterprise description: |- An enterprise on GitHub. Webhook payloads contain the `enterprise` property when the webhook is configured @@ -99149,7 +99623,7 @@ webhooks: - created_at - updated_at - avatar_url - installation: &603 + installation: &605 title: Simple Installation description: |- The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured @@ -99170,7 +99644,7 @@ webhooks: required: - id - node_id - organization: &604 + organization: &606 title: Organization Simple description: |- A GitHub organization. Webhook payloads contain the `organization` property when the webhook is configured for an @@ -99243,7 +99717,7 @@ webhooks: - public_members_url - avatar_url - description - repository: &605 + repository: &607 title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property @@ -100156,10 +100630,10 @@ webhooks: type: string enum: - enabled - enterprise: *602 - installation: *603 - organization: *604 - repository: *605 + enterprise: *604 + installation: *605 + organization: *606 + repository: *607 sender: *4 required: - action @@ -100235,11 +100709,11 @@ webhooks: type: string enum: - created - enterprise: *602 - installation: *603 - organization: *604 - repository: *605 - rule: &606 + enterprise: *604 + installation: *605 + organization: *606 + repository: *607 + rule: &608 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) @@ -100462,11 +100936,11 @@ webhooks: type: string enum: - deleted - enterprise: *602 - installation: *603 - organization: *604 - repository: *605 - rule: *606 + enterprise: *604 + installation: *605 + organization: *606 + repository: *607 + rule: *608 sender: *4 required: - action @@ -100654,11 +101128,11 @@ webhooks: - everyone required: - from - enterprise: *602 - installation: *603 - organization: *604 - repository: *605 - rule: *606 + enterprise: *604 + installation: *605 + organization: *606 + repository: *607 + rule: *608 sender: *4 required: - action @@ -100742,7 +101216,7 @@ webhooks: type: string enum: - completed - check_run: &608 + check_run: &610 title: CheckRun description: A check performed on the code of a given code change type: object @@ -100810,7 +101284,7 @@ webhooks: - MDEwOkNoZWNrU3VpdGU1 pull_requests: type: array - items: *325 + items: *327 repository: *107 status: type: string @@ -100855,7 +101329,7 @@ webhooks: - examples: - neutral - deployment: *607 + deployment: *609 details_url: type: string examples: @@ -100915,7 +101389,7 @@ webhooks: - annotations_url pull_requests: type: array - items: *325 + items: *327 started_at: type: string format: date-time @@ -100953,9 +101427,9 @@ webhooks: - output - app - pull_requests - installation: *603 - organization: *604 - repository: *605 + installation: *605 + organization: *606 + repository: *607 sender: *4 required: - check_run @@ -101348,10 +101822,10 @@ webhooks: type: string enum: - created - check_run: *608 - installation: *603 - organization: *604 - repository: *605 + check_run: *610 + installation: *605 + organization: *606 + repository: *607 sender: *4 required: - check_run @@ -101747,10 +102221,10 @@ webhooks: type: string enum: - requested_action - check_run: *608 - installation: *603 - organization: *604 - repository: *605 + check_run: *610 + installation: *605 + organization: *606 + repository: *607 requested_action: description: The action requested by the user. type: object @@ -102155,10 +102629,10 @@ webhooks: type: string enum: - rerequested - check_run: *608 - installation: *603 - organization: *604 - repository: *605 + check_run: *610 + installation: *605 + organization: *606 + repository: *607 sender: *4 required: - check_run @@ -103150,10 +103624,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *602 - installation: *603 - organization: *604 - repository: *605 + enterprise: *604 + installation: *605 + organization: *606 + repository: *607 sender: *4 required: - action @@ -103838,10 +104312,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *602 - installation: *603 - organization: *604 - repository: *605 + enterprise: *604 + installation: *605 + organization: *606 + repository: *607 sender: *4 required: - action @@ -104520,10 +104994,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *602 - installation: *603 - organization: *604 - repository: *605 + enterprise: *604 + installation: *605 + organization: *606 + repository: *607 sender: *4 required: - action @@ -104830,20 +105304,20 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: &609 + commit_oid: &611 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: *602 - installation: *603 - organization: *604 - ref: &610 + enterprise: *604 + installation: *605 + organization: *606 + ref: &612 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: *605 + repository: *607 sender: *4 required: - action @@ -105171,12 +105645,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *609 - enterprise: *602 - installation: *603 - organization: *604 - ref: *610 - repository: *605 + commit_oid: *611 + enterprise: *604 + installation: *605 + organization: *606 + ref: *612 + repository: *607 sender: *4 required: - action @@ -105274,7 +105748,7 @@ webhooks: dismissed_by: type: - 'null' - dismissed_comment: *340 + dismissed_comment: *342 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -105449,12 +105923,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *609 - enterprise: *602 - installation: *603 - organization: *604 - ref: *610 - repository: *605 + commit_oid: *611 + enterprise: *604 + installation: *605 + organization: *606 + ref: *612 + repository: *607 sender: *4 required: - action @@ -105786,12 +106260,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *609 - enterprise: *602 - installation: *603 - organization: *604 - ref: *610 - repository: *605 + commit_oid: *611 + enterprise: *604 + installation: *605 + organization: *606 + ref: *612 + repository: *607 sender: *4 required: - action @@ -106060,9 +106534,9 @@ webhooks: type: - string - 'null' - enterprise: *602 - installation: *603 - organization: *604 + enterprise: *604 + installation: *605 + organization: *606 ref: description: The Git reference of the code scanning alert. When the action is `reopened_by_user` or `closed_by_user`, the event @@ -106070,7 +106544,7 @@ webhooks: type: - string - 'null' - repository: *605 + repository: *607 sender: *4 required: - action @@ -106302,12 +106776,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *609 - enterprise: *602 - installation: *603 - organization: *604 - ref: *610 - repository: *605 + commit_oid: *611 + enterprise: *604 + installation: *605 + organization: *606 + ref: *612 + repository: *607 sender: *4 required: - action @@ -106569,10 +107043,10 @@ webhooks: - updated_at - author_association - body - enterprise: *602 - installation: *603 - organization: *604 - repository: *605 + enterprise: *604 + installation: *605 + organization: *606 + repository: *607 sender: *4 required: - action @@ -106653,18 +107127,18 @@ webhooks: type: - string - 'null' - enterprise: *602 - installation: *603 + enterprise: *604 + installation: *605 master_branch: description: The name of the repository's default branch (usually `main`). type: string - organization: *604 - pusher_type: &611 + organization: *606 + pusher_type: &613 description: The pusher type for the event. Can be either `user` or a deploy key. type: string - ref: &612 + ref: &614 description: The [`git ref`](https://docs.github.com/rest/git/refs#get-a-reference) resource. type: string @@ -106674,7 +107148,7 @@ webhooks: enum: - tag - branch - repository: *605 + repository: *607 sender: *4 required: - ref @@ -106756,10 +107230,10 @@ webhooks: type: string enum: - created - definition: *202 - enterprise: *602 - installation: *603 - organization: *604 + definition: *204 + enterprise: *604 + installation: *605 + organization: *606 sender: *4 required: - action @@ -106844,9 +107318,9 @@ webhooks: description: The name of the property that was deleted. required: - property_name - enterprise: *602 - installation: *603 - organization: *604 + enterprise: *604 + installation: *605 + organization: *606 sender: *4 required: - action @@ -106923,10 +107397,10 @@ webhooks: type: string enum: - updated - definition: *202 - enterprise: *602 - installation: *603 - organization: *604 + definition: *204 + enterprise: *604 + installation: *605 + organization: *606 sender: *4 required: - action @@ -107003,19 +107477,19 @@ webhooks: type: string enum: - updated - enterprise: *602 - installation: *603 - repository: *605 - organization: *604 + enterprise: *604 + installation: *605 + repository: *607 + organization: *606 sender: *4 new_property_values: type: array description: The new custom property values for the repository. - items: *206 + items: *208 old_property_values: type: array description: The old custom property values for the repository. - items: *206 + items: *208 required: - action - repository @@ -107091,18 +107565,18 @@ webhooks: title: delete event type: object properties: - enterprise: *602 - installation: *603 - organization: *604 - pusher_type: *611 - ref: *612 + enterprise: *604 + installation: *605 + organization: *606 + pusher_type: *613 + ref: *614 ref_type: description: The type of Git ref object deleted in the repository. type: string enum: - tag - branch - repository: *605 + repository: *607 sender: *4 required: - ref @@ -107186,11 +107660,11 @@ webhooks: type: string enum: - auto_dismissed - alert: *392 - installation: *603 - organization: *604 - enterprise: *602 - repository: *605 + alert: *394 + installation: *605 + organization: *606 + enterprise: *604 + repository: *607 sender: *4 required: - action @@ -107274,11 +107748,11 @@ webhooks: type: string enum: - auto_reopened - alert: *392 - installation: *603 - organization: *604 - enterprise: *602 - repository: *605 + alert: *394 + installation: *605 + organization: *606 + enterprise: *604 + repository: *607 sender: *4 required: - action @@ -107362,11 +107836,11 @@ webhooks: type: string enum: - created - alert: *392 - installation: *603 - organization: *604 - enterprise: *602 - repository: *605 + alert: *394 + installation: *605 + organization: *606 + enterprise: *604 + repository: *607 sender: *4 required: - action @@ -107448,11 +107922,11 @@ webhooks: type: string enum: - dismissed - alert: *392 - installation: *603 - organization: *604 - enterprise: *602 - repository: *605 + alert: *394 + installation: *605 + organization: *606 + enterprise: *604 + repository: *607 sender: *4 required: - action @@ -107534,11 +108008,11 @@ webhooks: type: string enum: - fixed - alert: *392 - installation: *603 - organization: *604 - enterprise: *602 - repository: *605 + alert: *394 + installation: *605 + organization: *606 + enterprise: *604 + repository: *607 sender: *4 required: - action @@ -107621,11 +108095,11 @@ webhooks: type: string enum: - reintroduced - alert: *392 - installation: *603 - organization: *604 - enterprise: *602 - repository: *605 + alert: *394 + installation: *605 + organization: *606 + enterprise: *604 + repository: *607 sender: *4 required: - action @@ -107707,11 +108181,11 @@ webhooks: type: string enum: - reopened - alert: *392 - installation: *603 - organization: *604 - enterprise: *602 - repository: *605 + alert: *394 + installation: *605 + organization: *606 + enterprise: *604 + repository: *607 sender: *4 required: - action @@ -107788,9 +108262,9 @@ webhooks: type: string enum: - created - enterprise: *602 - installation: *603 - key: &613 + enterprise: *604 + installation: *605 + key: &615 description: The [`deploy key`](https://docs.github.com/rest/deploy-keys/deploy-keys#get-a-deploy-key) resource. type: object @@ -107828,8 +108302,8 @@ webhooks: - verified - created_at - read_only - organization: *604 - repository: *605 + organization: *606 + repository: *607 sender: *4 required: - action @@ -107906,11 +108380,11 @@ webhooks: type: string enum: - deleted - enterprise: *602 - installation: *603 - key: *613 - organization: *604 - repository: *605 + enterprise: *604 + installation: *605 + key: *615 + organization: *606 + repository: *607 sender: *4 required: - action @@ -108482,12 +108956,12 @@ webhooks: - updated_at - statuses_url - repository_url - enterprise: *602 - installation: *603 - organization: *604 - repository: *605 + enterprise: *604 + installation: *605 + organization: *606 + repository: *607 sender: *4 - workflow: &617 + workflow: &619 title: Workflow type: - object @@ -109225,13 +109699,13 @@ webhooks: description: The URL to review the deployment protection rule. type: string format: uri - deployment: *398 + deployment: *400 pull_requests: type: array - items: *480 - repository: *605 - organization: *604 - installation: *603 + items: *482 + repository: *607 + organization: *606 + installation: *605 sender: *4 responses: '200': @@ -109302,7 +109776,7 @@ webhooks: type: string enum: - approved - approver: &614 + approver: &616 type: object properties: avatar_url: @@ -109345,11 +109819,11 @@ webhooks: type: string comment: type: string - enterprise: *602 - installation: *603 - organization: *604 - repository: *605 - reviewers: &615 + enterprise: *604 + installation: *605 + organization: *606 + repository: *607 + reviewers: &617 type: array items: type: object @@ -109430,7 +109904,7 @@ webhooks: sender: *4 since: type: string - workflow_job_run: &616 + workflow_job_run: &618 type: object properties: conclusion: @@ -110176,18 +110650,18 @@ webhooks: type: string enum: - rejected - approver: *614 + approver: *616 comment: type: string - enterprise: *602 - installation: *603 - organization: *604 - repository: *605 - reviewers: *615 + enterprise: *604 + installation: *605 + organization: *606 + repository: *607 + reviewers: *617 sender: *4 since: type: string - workflow_job_run: *616 + workflow_job_run: *618 workflow_job_runs: type: array items: @@ -110904,13 +111378,13 @@ webhooks: type: string enum: - requested - enterprise: *602 + enterprise: *604 environment: type: string - installation: *603 - organization: *604 - repository: *605 - requestor: &622 + installation: *605 + organization: *606 + repository: *607 + requestor: &624 title: User type: - object @@ -112853,12 +113327,12 @@ webhooks: - updated_at - deployment_url - repository_url - enterprise: *602 - installation: *603 - organization: *604 - repository: *605 + enterprise: *604 + installation: *605 + organization: *606 + repository: *607 sender: *4 - workflow: *617 + workflow: *619 workflow_run: title: Deployment Workflow Run type: @@ -113549,7 +114023,7 @@ webhooks: type: string enum: - answered - answer: &620 + answer: &622 type: object properties: author_association: @@ -113709,7 +114183,7 @@ webhooks: - created_at - updated_at - body - discussion: &618 + discussion: &620 title: Discussion description: A Discussion in a repository. type: object @@ -114005,7 +114479,7 @@ webhooks: - id labels: type: array - items: *443 + items: *445 required: - repository_url - category @@ -114027,10 +114501,10 @@ webhooks: - author_association - active_lock_reason - body - enterprise: *602 - installation: *603 - organization: *604 - repository: *605 + enterprise: *604 + installation: *605 + organization: *606 + repository: *607 sender: *4 required: - action @@ -114157,11 +114631,11 @@ webhooks: - from required: - category - discussion: *618 - enterprise: *602 - installation: *603 - organization: *604 - repository: *605 + discussion: *620 + enterprise: *604 + installation: *605 + organization: *606 + repository: *607 sender: *4 required: - action @@ -114244,11 +114718,11 @@ webhooks: type: string enum: - closed - discussion: *618 - enterprise: *602 - installation: *603 - organization: *604 - repository: *605 + discussion: *620 + enterprise: *604 + installation: *605 + organization: *606 + repository: *607 sender: *4 required: - action @@ -114330,7 +114804,7 @@ webhooks: type: string enum: - created - comment: &619 + comment: &621 type: object properties: author_association: @@ -114490,11 +114964,11 @@ webhooks: - updated_at - body - reactions - discussion: *618 - enterprise: *602 - installation: *603 - organization: *604 - repository: *605 + discussion: *620 + enterprise: *604 + installation: *605 + organization: *606 + repository: *607 sender: *4 required: - action @@ -114577,12 +115051,12 @@ webhooks: type: string enum: - deleted - comment: *619 - discussion: *618 - enterprise: *602 - installation: *603 - organization: *604 - repository: *605 + comment: *621 + discussion: *620 + enterprise: *604 + installation: *605 + organization: *606 + repository: *607 sender: *4 required: - action @@ -114677,12 +115151,12 @@ webhooks: - from required: - body - comment: *619 - discussion: *618 - enterprise: *602 - installation: *603 - organization: *604 - repository: *605 + comment: *621 + discussion: *620 + enterprise: *604 + installation: *605 + organization: *606 + repository: *607 sender: *4 required: - action @@ -114766,11 +115240,11 @@ webhooks: type: string enum: - created - discussion: *618 - enterprise: *602 - installation: *603 - organization: *604 - repository: *605 + discussion: *620 + enterprise: *604 + installation: *605 + organization: *606 + repository: *607 sender: *4 required: - action @@ -114852,11 +115326,11 @@ webhooks: type: string enum: - deleted - discussion: *618 - enterprise: *602 - installation: *603 - organization: *604 - repository: *605 + discussion: *620 + enterprise: *604 + installation: *605 + organization: *606 + repository: *607 sender: *4 required: - action @@ -114956,11 +115430,11 @@ webhooks: type: string required: - from - discussion: *618 - enterprise: *602 - installation: *603 - organization: *604 - repository: *605 + discussion: *620 + enterprise: *604 + installation: *605 + organization: *606 + repository: *607 sender: *4 required: - action @@ -115042,10 +115516,10 @@ webhooks: type: string enum: - labeled - discussion: *618 - enterprise: *602 - installation: *603 - label: &621 + discussion: *620 + enterprise: *604 + installation: *605 + label: &623 title: Label type: object properties: @@ -115078,8 +115552,8 @@ webhooks: - color - default - description - organization: *604 - repository: *605 + organization: *606 + repository: *607 sender: *4 required: - action @@ -115162,11 +115636,11 @@ webhooks: type: string enum: - locked - discussion: *618 - enterprise: *602 - installation: *603 - organization: *604 - repository: *605 + discussion: *620 + enterprise: *604 + installation: *605 + organization: *606 + repository: *607 sender: *4 required: - action @@ -115248,11 +115722,11 @@ webhooks: type: string enum: - pinned - discussion: *618 - enterprise: *602 - installation: *603 - organization: *604 - repository: *605 + discussion: *620 + enterprise: *604 + installation: *605 + organization: *606 + repository: *607 sender: *4 required: - action @@ -115334,11 +115808,11 @@ webhooks: type: string enum: - reopened - discussion: *618 - enterprise: *602 - installation: *603 - organization: *604 - repository: *605 + discussion: *620 + enterprise: *604 + installation: *605 + organization: *606 + repository: *607 sender: *4 required: - action @@ -115423,16 +115897,16 @@ webhooks: changes: type: object properties: - new_discussion: *618 - new_repository: *605 + new_discussion: *620 + new_repository: *607 required: - new_discussion - new_repository - discussion: *618 - enterprise: *602 - installation: *603 - organization: *604 - repository: *605 + discussion: *620 + enterprise: *604 + installation: *605 + organization: *606 + repository: *607 sender: *4 required: - action @@ -115515,10 +115989,10 @@ webhooks: type: string enum: - unanswered - discussion: *618 - old_answer: *620 - organization: *604 - repository: *605 + discussion: *620 + old_answer: *622 + organization: *606 + repository: *607 sender: *4 required: - action @@ -115600,12 +116074,12 @@ webhooks: type: string enum: - unlabeled - discussion: *618 - enterprise: *602 - installation: *603 - label: *621 - organization: *604 - repository: *605 + discussion: *620 + enterprise: *604 + installation: *605 + label: *623 + organization: *606 + repository: *607 sender: *4 required: - action @@ -115688,11 +116162,11 @@ webhooks: type: string enum: - unlocked - discussion: *618 - enterprise: *602 - installation: *603 - organization: *604 - repository: *605 + discussion: *620 + enterprise: *604 + installation: *605 + organization: *606 + repository: *607 sender: *4 required: - action @@ -115774,11 +116248,11 @@ webhooks: type: string enum: - unpinned - discussion: *618 - enterprise: *602 - installation: *603 - organization: *604 - repository: *605 + discussion: *620 + enterprise: *604 + installation: *605 + organization: *606 + repository: *607 sender: *4 required: - action @@ -115851,7 +116325,7 @@ webhooks: description: A user forks a repository. type: object properties: - enterprise: *602 + enterprise: *604 forkee: description: The created [`repository`](https://docs.github.com/rest/repos/repos#get-a-repository) resource. @@ -116529,9 +117003,9 @@ webhooks: type: integer watchers_count: type: integer - installation: *603 - organization: *604 - repository: *605 + installation: *605 + organization: *606 + repository: *607 sender: *4 required: - forkee @@ -116677,9 +117151,9 @@ webhooks: title: gollum event type: object properties: - enterprise: *602 - installation: *603 - organization: *604 + enterprise: *604 + installation: *605 + organization: *606 pages: description: The pages that were updated. type: array @@ -116717,7 +117191,7 @@ webhooks: - action - sha - html_url - repository: *605 + repository: *607 sender: *4 required: - pages @@ -116793,10 +117267,10 @@ webhooks: type: string enum: - created - enterprise: *602 + enterprise: *604 installation: *20 - organization: *604 - repositories: &623 + organization: *606 + repositories: &625 description: An array of repository objects that the installation can access. type: array @@ -116822,8 +117296,8 @@ webhooks: - name - full_name - private - repository: *605 - requester: *622 + repository: *607 + requester: *624 sender: *4 required: - action @@ -116898,11 +117372,11 @@ webhooks: type: string enum: - deleted - enterprise: *602 + enterprise: *604 installation: *20 - organization: *604 - repositories: *623 - repository: *605 + organization: *606 + repositories: *625 + repository: *607 requester: type: - 'null' @@ -116979,11 +117453,11 @@ webhooks: type: string enum: - new_permissions_accepted - enterprise: *602 + enterprise: *604 installation: *20 - organization: *604 - repositories: *623 - repository: *605 + organization: *606 + repositories: *625 + repository: *607 requester: type: - 'null' @@ -117060,10 +117534,10 @@ webhooks: type: string enum: - added - enterprise: *602 + enterprise: *604 installation: *20 - organization: *604 - repositories_added: &624 + organization: *606 + repositories_added: &626 description: An array of repository objects, which were added to the installation. type: array @@ -117109,15 +117583,15 @@ webhooks: private: description: Whether the repository is private or public. type: boolean - repository: *605 - repository_selection: &625 + repository: *607 + repository_selection: &627 description: Describe whether all repositories have been selected or there's a selection involved type: string enum: - all - selected - requester: *622 + requester: *624 sender: *4 required: - action @@ -117196,10 +117670,10 @@ webhooks: type: string enum: - removed - enterprise: *602 + enterprise: *604 installation: *20 - organization: *604 - repositories_added: *624 + organization: *606 + repositories_added: *626 repositories_removed: description: An array of repository objects, which were removed from the installation. @@ -117226,9 +117700,9 @@ webhooks: - name - full_name - private - repository: *605 - repository_selection: *625 - requester: *622 + repository: *607 + repository_selection: *627 + requester: *624 sender: *4 required: - action @@ -117307,11 +117781,11 @@ webhooks: type: string enum: - suspend - enterprise: *602 + enterprise: *604 installation: *20 - organization: *604 - repositories: *623 - repository: *605 + organization: *606 + repositories: *625 + repository: *607 requester: type: - 'null' @@ -117493,10 +117967,10 @@ webhooks: type: string required: - from - enterprise: *602 - installation: *603 - organization: *604 - repository: *605 + enterprise: *604 + installation: *605 + organization: *606 + repository: *607 sender: *4 target_type: type: string @@ -117575,11 +118049,11 @@ webhooks: type: string enum: - unsuspend - enterprise: *602 + enterprise: *604 installation: *20 - organization: *604 - repositories: *623 - repository: *605 + organization: *606 + repositories: *625 + repository: *607 requester: type: - 'null' @@ -117827,8 +118301,8 @@ webhooks: - performed_via_github_app - body - reactions - enterprise: *602 - installation: *603 + enterprise: *604 + installation: *605 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -119018,8 +119492,8 @@ webhooks: - state - locked - assignee - organization: *604 - repository: *605 + organization: *606 + repository: *607 sender: *4 required: - action @@ -119099,7 +119573,7 @@ webhooks: type: string enum: - deleted - comment: &626 + comment: &628 title: issue comment description: The [comment](https://docs.github.com/rest/issues/comments#get-an-issue-comment) itself. @@ -119266,8 +119740,8 @@ webhooks: - performed_via_github_app - body - reactions - enterprise: *602 - installation: *603 + enterprise: *604 + installation: *605 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -120455,8 +120929,8 @@ webhooks: - state - locked - assignee - organization: *604 - repository: *605 + organization: *606 + repository: *607 sender: *4 required: - action @@ -120536,7 +121010,7 @@ webhooks: type: string enum: - edited - changes: &651 + changes: &653 description: The changes to the comment. type: object properties: @@ -120548,9 +121022,9 @@ webhooks: type: string required: - from - comment: *626 - enterprise: *602 - installation: *603 + comment: *628 + enterprise: *604 + installation: *605 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -121739,8 +122213,8 @@ webhooks: - state - locked - assignee - organization: *604 - repository: *605 + organization: *606 + repository: *607 sender: *4 required: - action @@ -121822,10 +122296,10 @@ webhooks: type: string enum: - assigned - assignee: *622 - enterprise: *602 - installation: *603 - issue: &629 + assignee: *624 + enterprise: *604 + installation: *605 + issue: &631 title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -122769,8 +123243,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *604 - repository: *605 + organization: *606 + repository: *607 sender: *4 required: - action @@ -122850,8 +123324,8 @@ webhooks: type: string enum: - closed - enterprise: *602 - installation: *603 + enterprise: *604 + installation: *605 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -123943,8 +124417,8 @@ webhooks: required: - state - closed_at - organization: *604 - repository: *605 + organization: *606 + repository: *607 sender: *4 required: - action @@ -124023,8 +124497,8 @@ webhooks: type: string enum: - deleted - enterprise: *602 - installation: *603 + enterprise: *604 + installation: *605 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -124961,8 +125435,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *604 - repository: *605 + organization: *606 + repository: *607 sender: *4 required: - action @@ -125041,8 +125515,8 @@ webhooks: type: string enum: - demilestoned - enterprise: *602 - installation: *603 + enterprise: *604 + installation: *605 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -125983,7 +126457,7 @@ webhooks: format: uri user_view_type: type: string - milestone: &627 + milestone: &629 title: Milestone description: A collection of related issues and pull requests. type: object @@ -126126,8 +126600,8 @@ webhooks: - updated_at - due_on - closed_at - organization: *604 - repository: *605 + organization: *606 + repository: *607 sender: *4 required: - action @@ -126226,8 +126700,8 @@ webhooks: type: string required: - from - enterprise: *602 - installation: *603 + enterprise: *604 + installation: *605 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -127171,9 +127645,9 @@ webhooks: - active_lock_reason - body - reactions - label: *621 - organization: *604 - repository: *605 + label: *623 + organization: *606 + repository: *607 sender: *4 required: - action @@ -127253,8 +127727,8 @@ webhooks: type: string enum: - labeled - enterprise: *602 - installation: *603 + enterprise: *604 + installation: *605 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -128197,9 +128671,9 @@ webhooks: - active_lock_reason - body - reactions - label: *621 - organization: *604 - repository: *605 + label: *623 + organization: *606 + repository: *607 sender: *4 required: - action @@ -128279,8 +128753,8 @@ webhooks: type: string enum: - locked - enterprise: *602 - installation: *603 + enterprise: *604 + installation: *605 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -129225,8 +129699,8 @@ webhooks: format: uri user_view_type: type: string - organization: *604 - repository: *605 + organization: *606 + repository: *607 sender: *4 required: - action @@ -129305,8 +129779,8 @@ webhooks: type: string enum: - milestoned - enterprise: *602 - installation: *603 + enterprise: *604 + installation: *605 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -130245,9 +130719,9 @@ webhooks: format: uri user_view_type: type: string - milestone: *627 - organization: *604 - repository: *605 + milestone: *629 + organization: *606 + repository: *607 sender: *4 required: - action @@ -131747,8 +132221,8 @@ webhooks: required: - old_issue - old_repository - enterprise: *602 - installation: *603 + enterprise: *604 + installation: *605 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -132691,8 +133165,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *604 - repository: *605 + organization: *606 + repository: *607 sender: *4 required: - action @@ -132772,9 +133246,9 @@ webhooks: type: string enum: - pinned - enterprise: *602 - installation: *603 - issue: &628 + enterprise: *604 + installation: *605 + issue: &630 title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -133711,8 +134185,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *604 - repository: *605 + organization: *606 + repository: *607 sender: *4 required: - action @@ -133791,8 +134265,8 @@ webhooks: type: string enum: - reopened - enterprise: *602 - installation: *603 + enterprise: *604 + installation: *605 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -134736,8 +135210,8 @@ webhooks: format: uri user_view_type: type: string - organization: *604 - repository: *605 + organization: *606 + repository: *607 sender: *4 required: - action @@ -136237,11 +136711,11 @@ webhooks: required: - new_issue - new_repository - enterprise: *602 - installation: *603 - issue: *628 - organization: *604 - repository: *605 + enterprise: *604 + installation: *605 + issue: *630 + organization: *606 + repository: *607 sender: *4 required: - action @@ -136322,7 +136796,7 @@ webhooks: type: string enum: - unassigned - assignee: &654 + assignee: &656 title: User type: - object @@ -136394,11 +136868,11 @@ webhooks: required: - login - id - enterprise: *602 - installation: *603 - issue: *629 - organization: *604 - repository: *605 + enterprise: *604 + installation: *605 + issue: *631 + organization: *606 + repository: *607 sender: *4 required: - action @@ -136477,12 +136951,12 @@ webhooks: type: string enum: - unlabeled - enterprise: *602 - installation: *603 - issue: *629 - label: *621 - organization: *604 - repository: *605 + enterprise: *604 + installation: *605 + issue: *631 + label: *623 + organization: *606 + repository: *607 sender: *4 required: - action @@ -136562,8 +137036,8 @@ webhooks: type: string enum: - unlocked - enterprise: *602 - installation: *603 + enterprise: *604 + installation: *605 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -137506,8 +137980,8 @@ webhooks: format: uri user_view_type: type: string - organization: *604 - repository: *605 + organization: *606 + repository: *607 sender: *4 required: - action @@ -137587,11 +138061,11 @@ webhooks: type: string enum: - unpinned - enterprise: *602 - installation: *603 - issue: *628 - organization: *604 - repository: *605 + enterprise: *604 + installation: *605 + issue: *630 + organization: *606 + repository: *607 sender: *4 required: - action @@ -137670,11 +138144,11 @@ webhooks: type: string enum: - created - enterprise: *602 - installation: *603 - label: *621 - organization: *604 - repository: *605 + enterprise: *604 + installation: *605 + label: *623 + organization: *606 + repository: *607 sender: *4 required: - action @@ -137752,11 +138226,11 @@ webhooks: type: string enum: - deleted - enterprise: *602 - installation: *603 - label: *621 - organization: *604 - repository: *605 + enterprise: *604 + installation: *605 + label: *623 + organization: *606 + repository: *607 sender: *4 required: - action @@ -137866,11 +138340,11 @@ webhooks: type: string required: - from - enterprise: *602 - installation: *603 - label: *621 - organization: *604 - repository: *605 + enterprise: *604 + installation: *605 + label: *623 + organization: *606 + repository: *607 sender: *4 required: - action @@ -137952,9 +138426,9 @@ webhooks: - cancelled effective_date: type: string - enterprise: *602 - installation: *603 - marketplace_purchase: &630 + enterprise: *604 + installation: *605 + marketplace_purchase: &632 title: Marketplace Purchase type: object required: @@ -138042,8 +138516,8 @@ webhooks: type: integer unit_count: type: integer - organization: *604 - previous_marketplace_purchase: &631 + organization: *606 + previous_marketplace_purchase: &633 title: Marketplace Purchase type: object properties: @@ -138127,7 +138601,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *605 + repository: *607 sender: *4 required: - action @@ -138207,10 +138681,10 @@ webhooks: - changed effective_date: type: string - enterprise: *602 - installation: *603 - marketplace_purchase: *630 - organization: *604 + enterprise: *604 + installation: *605 + marketplace_purchase: *632 + organization: *606 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -138298,7 +138772,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *605 + repository: *607 sender: *4 required: - action @@ -138380,10 +138854,10 @@ webhooks: - pending_change effective_date: type: string - enterprise: *602 - installation: *603 - marketplace_purchase: *630 - organization: *604 + enterprise: *604 + installation: *605 + marketplace_purchase: *632 + organization: *606 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -138469,7 +138943,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *605 + repository: *607 sender: *4 required: - action @@ -138550,8 +139024,8 @@ webhooks: - pending_change_cancelled effective_date: type: string - enterprise: *602 - installation: *603 + enterprise: *604 + installation: *605 marketplace_purchase: title: Marketplace Purchase type: object @@ -138637,9 +139111,9 @@ webhooks: type: integer unit_count: type: integer - organization: *604 - previous_marketplace_purchase: *631 - repository: *605 + organization: *606 + previous_marketplace_purchase: *633 + repository: *607 sender: *4 required: - action @@ -138719,12 +139193,12 @@ webhooks: - purchased effective_date: type: string - enterprise: *602 - installation: *603 - marketplace_purchase: *630 - organization: *604 - previous_marketplace_purchase: *631 - repository: *605 + enterprise: *604 + installation: *605 + marketplace_purchase: *632 + organization: *606 + previous_marketplace_purchase: *633 + repository: *607 sender: *4 required: - action @@ -138826,11 +139300,11 @@ webhooks: type: string required: - to - enterprise: *602 - installation: *603 - member: *622 - organization: *604 - repository: *605 + enterprise: *604 + installation: *605 + member: *624 + organization: *606 + repository: *607 sender: *4 required: - action @@ -138932,11 +139406,11 @@ webhooks: type: - string - 'null' - enterprise: *602 - installation: *603 - member: *622 - organization: *604 - repository: *605 + enterprise: *604 + installation: *605 + member: *624 + organization: *606 + repository: *607 sender: *4 required: - action @@ -139015,11 +139489,11 @@ webhooks: type: string enum: - removed - enterprise: *602 - installation: *603 - member: *622 - organization: *604 - repository: *605 + enterprise: *604 + installation: *605 + member: *624 + organization: *606 + repository: *607 sender: *4 required: - action @@ -139097,11 +139571,11 @@ webhooks: type: string enum: - added - enterprise: *602 - installation: *603 - member: *622 - organization: *604 - repository: *605 + enterprise: *604 + installation: *605 + member: *624 + organization: *606 + repository: *607 scope: description: The scope of the membership. Currently, can only be `team`. @@ -139179,7 +139653,7 @@ webhooks: required: - login - id - team: &632 + team: &634 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -139372,11 +139846,11 @@ webhooks: type: string enum: - removed - enterprise: *602 - installation: *603 - member: *622 - organization: *604 - repository: *605 + enterprise: *604 + installation: *605 + member: *624 + organization: *606 + repository: *607 scope: description: The scope of the membership. Currently, can only be `team`. @@ -139455,7 +139929,7 @@ webhooks: required: - login - id - team: *632 + team: *634 required: - action - scope @@ -139537,8 +140011,8 @@ webhooks: type: string enum: - checks_requested - installation: *603 - merge_group: &633 + installation: *605 + merge_group: &635 type: object title: Merge Group description: A group of pull requests that the merge queue has grouped @@ -139557,15 +140031,15 @@ webhooks: description: The full ref of the branch the merge group will be merged into. type: string - head_commit: *329 + head_commit: *331 required: - head_sha - head_ref - base_sha - base_ref - head_commit - organization: *604 - repository: *605 + organization: *606 + repository: *607 sender: *4 required: - action @@ -139651,10 +140125,10 @@ webhooks: - merged - invalidated - dequeued - installation: *603 - merge_group: *633 - organization: *604 - repository: *605 + installation: *605 + merge_group: *635 + organization: *606 + repository: *607 sender: *4 required: - action @@ -139727,7 +140201,7 @@ webhooks: type: string enum: - deleted - enterprise: *602 + enterprise: *604 hook: description: 'The modified webhook. This will contain different keys based on the type of webhook it is: repository, organization, @@ -139835,12 +140309,12 @@ webhooks: hook_id: description: The id of the modified webhook. type: integer - installation: *603 - organization: *604 + installation: *605 + organization: *606 repository: anyOf: - type: 'null' - - *605 + - *607 sender: *4 required: - action @@ -139920,11 +140394,11 @@ webhooks: type: string enum: - closed - enterprise: *602 - installation: *603 - milestone: *627 - organization: *604 - repository: *605 + enterprise: *604 + installation: *605 + milestone: *629 + organization: *606 + repository: *607 sender: *4 required: - action @@ -140003,9 +140477,9 @@ webhooks: type: string enum: - created - enterprise: *602 - installation: *603 - milestone: &634 + enterprise: *604 + installation: *605 + milestone: &636 title: Milestone description: A collection of related issues and pull requests. type: object @@ -140147,8 +140621,8 @@ webhooks: - updated_at - due_on - closed_at - organization: *604 - repository: *605 + organization: *606 + repository: *607 sender: *4 required: - action @@ -140227,11 +140701,11 @@ webhooks: type: string enum: - deleted - enterprise: *602 - installation: *603 - milestone: *627 - organization: *604 - repository: *605 + enterprise: *604 + installation: *605 + milestone: *629 + organization: *606 + repository: *607 sender: *4 required: - action @@ -140341,11 +140815,11 @@ webhooks: type: string required: - from - enterprise: *602 - installation: *603 - milestone: *627 - organization: *604 - repository: *605 + enterprise: *604 + installation: *605 + milestone: *629 + organization: *606 + repository: *607 sender: *4 required: - action @@ -140425,11 +140899,11 @@ webhooks: type: string enum: - opened - enterprise: *602 - installation: *603 - milestone: *634 - organization: *604 - repository: *605 + enterprise: *604 + installation: *605 + milestone: *636 + organization: *606 + repository: *607 sender: *4 required: - action @@ -140508,11 +140982,11 @@ webhooks: type: string enum: - blocked - blocked_user: *622 - enterprise: *602 - installation: *603 - organization: *604 - repository: *605 + blocked_user: *624 + enterprise: *604 + installation: *605 + organization: *606 + repository: *607 sender: *4 required: - action @@ -140591,11 +141065,11 @@ webhooks: type: string enum: - unblocked - blocked_user: *622 - enterprise: *602 - installation: *603 - organization: *604 - repository: *605 + blocked_user: *624 + enterprise: *604 + installation: *605 + organization: *606 + repository: *607 sender: *4 required: - action @@ -140674,9 +141148,9 @@ webhooks: type: string enum: - deleted - enterprise: *602 - installation: *603 - membership: &635 + enterprise: *604 + installation: *605 + membership: &637 title: Membership description: The membership between the user and the organization. Not present when the action is `member_invited`. @@ -140770,8 +141244,8 @@ webhooks: - role - organization_url - user - organization: *604 - repository: *605 + organization: *606 + repository: *607 sender: *4 required: - action @@ -140849,11 +141323,11 @@ webhooks: type: string enum: - member_added - enterprise: *602 - installation: *603 - membership: *635 - organization: *604 - repository: *605 + enterprise: *604 + installation: *605 + membership: *637 + organization: *606 + repository: *607 sender: *4 required: - action @@ -140932,8 +141406,8 @@ webhooks: type: string enum: - member_invited - enterprise: *602 - installation: *603 + enterprise: *604 + installation: *605 invitation: description: The invitation for the user or email if the action is `member_invited`. @@ -141055,10 +141529,10 @@ webhooks: - inviter - team_count - invitation_teams_url - organization: *604 - repository: *605 + organization: *606 + repository: *607 sender: *4 - user: *622 + user: *624 required: - action - invitation @@ -141136,11 +141610,11 @@ webhooks: type: string enum: - member_removed - enterprise: *602 - installation: *603 - membership: *635 - organization: *604 - repository: *605 + enterprise: *604 + installation: *605 + membership: *637 + organization: *606 + repository: *607 sender: *4 required: - action @@ -141227,11 +141701,11 @@ webhooks: properties: from: type: string - enterprise: *602 - installation: *603 - membership: *635 - organization: *604 - repository: *605 + enterprise: *604 + installation: *605 + membership: *637 + organization: *606 + repository: *607 sender: *4 required: - action @@ -141307,9 +141781,9 @@ webhooks: type: string enum: - published - enterprise: *602 - installation: *603 - organization: *604 + enterprise: *604 + installation: *605 + organization: *606 package: description: Information about the package. type: object @@ -141832,7 +142306,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: &636 + items: &638 title: Ruby Gems metadata type: object properties: @@ -141929,7 +142403,7 @@ webhooks: - owner - package_version - registry - repository: *605 + repository: *607 sender: *4 required: - action @@ -142005,9 +142479,9 @@ webhooks: type: string enum: - updated - enterprise: *602 - installation: *603 - organization: *604 + enterprise: *604 + installation: *605 + organization: *606 package: description: Information about the package. type: object @@ -142369,7 +142843,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: *636 + items: *638 source_url: type: string format: uri @@ -142440,7 +142914,7 @@ webhooks: - owner - package_version - registry - repository: *605 + repository: *607 sender: *4 required: - action @@ -142621,12 +143095,12 @@ webhooks: - duration - created_at - updated_at - enterprise: *602 + enterprise: *604 id: type: integer - installation: *603 - organization: *604 - repository: *605 + installation: *605 + organization: *606 + repository: *607 sender: *4 required: - id @@ -142706,7 +143180,7 @@ webhooks: type: string enum: - approved - personal_access_token_request: &637 + personal_access_token_request: &639 title: Personal Access Token Request description: Details of a Personal Access Token Request. type: object @@ -142856,10 +143330,10 @@ webhooks: - token_expired - token_expires_at - token_last_used_at - enterprise: *602 - organization: *604 + enterprise: *604 + organization: *606 sender: *4 - installation: *603 + installation: *605 required: - action - personal_access_token_request @@ -142938,11 +143412,11 @@ webhooks: type: string enum: - cancelled - personal_access_token_request: *637 - enterprise: *602 - organization: *604 + personal_access_token_request: *639 + enterprise: *604 + organization: *606 sender: *4 - installation: *603 + installation: *605 required: - action - personal_access_token_request @@ -143020,11 +143494,11 @@ webhooks: type: string enum: - created - personal_access_token_request: *637 - enterprise: *602 - organization: *604 + personal_access_token_request: *639 + enterprise: *604 + organization: *606 sender: *4 - installation: *603 + installation: *605 required: - action - personal_access_token_request @@ -143101,11 +143575,11 @@ webhooks: type: string enum: - denied - personal_access_token_request: *637 - organization: *604 - enterprise: *602 + personal_access_token_request: *639 + organization: *606 + enterprise: *604 sender: *4 - installation: *603 + installation: *605 required: - action - personal_access_token_request @@ -143209,7 +143683,7 @@ webhooks: id: description: Unique identifier of the webhook. type: integer - last_response: *638 + last_response: *640 name: description: The type of webhook. The only valid value is 'web'. type: string @@ -143241,8 +143715,8 @@ webhooks: hook_id: description: The ID of the webhook that triggered the ping. type: integer - organization: *604 - repository: *605 + organization: *606 + repository: *607 sender: *4 zen: description: Random string of GitHub zen. @@ -143487,10 +143961,10 @@ webhooks: - from required: - note - enterprise: *602 - installation: *603 - organization: *604 - project_card: &639 + enterprise: *604 + installation: *605 + organization: *606 + project_card: &641 title: Project Card type: object properties: @@ -143613,7 +144087,7 @@ webhooks: - creator - created_at - updated_at - repository: *605 + repository: *607 sender: *4 required: - action @@ -143694,11 +144168,11 @@ webhooks: type: string enum: - created - enterprise: *602 - installation: *603 - organization: *604 - project_card: *639 - repository: *605 + enterprise: *604 + installation: *605 + organization: *606 + project_card: *641 + repository: *607 sender: *4 required: - action @@ -143778,9 +144252,9 @@ webhooks: type: string enum: - deleted - enterprise: *602 - installation: *603 - organization: *604 + enterprise: *604 + installation: *605 + organization: *606 project_card: title: Project Card type: object @@ -143910,7 +144384,7 @@ webhooks: repository: anyOf: - type: 'null' - - *605 + - *607 sender: *4 required: - action @@ -144004,11 +144478,11 @@ webhooks: - from required: - note - enterprise: *602 - installation: *603 - organization: *604 - project_card: *639 - repository: *605 + enterprise: *604 + installation: *605 + organization: *606 + project_card: *641 + repository: *607 sender: *4 required: - action @@ -144102,9 +144576,9 @@ webhooks: - from required: - column_id - enterprise: *602 - installation: *603 - organization: *604 + enterprise: *604 + installation: *605 + organization: *606 project_card: allOf: - title: Project Card @@ -144301,7 +144775,7 @@ webhooks: type: string required: - after_id - repository: *605 + repository: *607 sender: *4 required: - action @@ -144381,10 +144855,10 @@ webhooks: type: string enum: - closed - enterprise: *602 - installation: *603 - organization: *604 - project: &641 + enterprise: *604 + installation: *605 + organization: *606 + project: &643 title: Project type: object properties: @@ -144511,7 +144985,7 @@ webhooks: - creator - created_at - updated_at - repository: *605 + repository: *607 sender: *4 required: - action @@ -144591,10 +145065,10 @@ webhooks: type: string enum: - created - enterprise: *602 - installation: *603 - organization: *604 - project_column: &640 + enterprise: *604 + installation: *605 + organization: *606 + project_column: &642 title: Project Column type: object properties: @@ -144634,7 +145108,7 @@ webhooks: - name - created_at - updated_at - repository: *605 + repository: *607 sender: *4 required: - action @@ -144713,14 +145187,14 @@ webhooks: type: string enum: - deleted - enterprise: *602 - installation: *603 - organization: *604 - project_column: *640 + enterprise: *604 + installation: *605 + organization: *606 + project_column: *642 repository: anyOf: - type: 'null' - - *605 + - *607 sender: *4 required: - action @@ -144809,11 +145283,11 @@ webhooks: type: string required: - from - enterprise: *602 - installation: *603 - organization: *604 - project_column: *640 - repository: *605 + enterprise: *604 + installation: *605 + organization: *606 + project_column: *642 + repository: *607 sender: *4 required: - action @@ -144893,11 +145367,11 @@ webhooks: type: string enum: - moved - enterprise: *602 - installation: *603 - organization: *604 - project_column: *640 - repository: *605 + enterprise: *604 + installation: *605 + organization: *606 + project_column: *642 + repository: *607 sender: *4 required: - action @@ -144977,11 +145451,11 @@ webhooks: type: string enum: - created - enterprise: *602 - installation: *603 - organization: *604 - project: *641 - repository: *605 + enterprise: *604 + installation: *605 + organization: *606 + project: *643 + repository: *607 sender: *4 required: - action @@ -145061,14 +145535,14 @@ webhooks: type: string enum: - deleted - enterprise: *602 - installation: *603 - organization: *604 - project: *641 + enterprise: *604 + installation: *605 + organization: *606 + project: *643 repository: anyOf: - type: 'null' - - *605 + - *607 sender: *4 required: - action @@ -145169,11 +145643,11 @@ webhooks: type: string required: - from - enterprise: *602 - installation: *603 - organization: *604 - project: *641 - repository: *605 + enterprise: *604 + installation: *605 + organization: *606 + project: *643 + repository: *607 sender: *4 required: - action @@ -145252,11 +145726,11 @@ webhooks: type: string enum: - reopened - enterprise: *602 - installation: *603 - organization: *604 - project: *641 - repository: *605 + enterprise: *604 + installation: *605 + organization: *606 + project: *643 + repository: *607 sender: *4 required: - action @@ -145337,9 +145811,9 @@ webhooks: type: string enum: - closed - installation: *603 - organization: *604 - projects_v2: &642 + installation: *605 + organization: *606 + projects_v2: &644 title: Projects v2 Project description: A projects v2 project type: object @@ -145487,9 +145961,9 @@ webhooks: type: string enum: - created - installation: *603 - organization: *604 - projects_v2: *642 + installation: *605 + organization: *606 + projects_v2: *644 sender: *4 required: - action @@ -145570,9 +146044,9 @@ webhooks: type: string enum: - deleted - installation: *603 - organization: *604 - projects_v2: *642 + installation: *605 + organization: *606 + projects_v2: *644 sender: *4 required: - action @@ -145693,9 +146167,9 @@ webhooks: type: string to: type: string - installation: *603 - organization: *604 - projects_v2: *642 + installation: *605 + organization: *606 + projects_v2: *644 sender: *4 required: - action @@ -145778,7 +146252,7 @@ webhooks: type: string enum: - archived - changes: &646 + changes: &648 type: object properties: archived_at: @@ -145794,9 +146268,9 @@ webhooks: - string - 'null' format: date-time - installation: *603 - organization: *604 - projects_v2_item: &643 + installation: *605 + organization: *606 + projects_v2_item: &645 title: Projects v2 Item description: An item belonging to a project type: object @@ -145935,9 +146409,9 @@ webhooks: - 'null' to: type: string - installation: *603 - organization: *604 - projects_v2_item: *643 + installation: *605 + organization: *606 + projects_v2_item: *645 sender: *4 required: - action @@ -146019,9 +146493,9 @@ webhooks: type: string enum: - created - installation: *603 - organization: *604 - projects_v2_item: *643 + installation: *605 + organization: *606 + projects_v2_item: *645 sender: *4 required: - action @@ -146102,9 +146576,9 @@ webhooks: type: string enum: - deleted - installation: *603 - organization: *604 - projects_v2_item: *643 + installation: *605 + organization: *606 + projects_v2_item: *645 sender: *4 required: - action @@ -146209,7 +146683,7 @@ webhooks: oneOf: - type: string - type: integer - - &644 + - &646 title: Projects v2 Single Select Option description: An option for a single select field type: object @@ -146229,7 +146703,7 @@ webhooks: required: - id - name - - &645 + - &647 title: Projects v2 Iteration Setting description: An iteration setting for an iteration field type: object @@ -146258,8 +146732,8 @@ webhooks: oneOf: - type: string - type: integer - - *644 - - *645 + - *646 + - *647 type: - 'null' - string @@ -146282,9 +146756,9 @@ webhooks: - 'null' required: - body - installation: *603 - organization: *604 - projects_v2_item: *643 + installation: *605 + organization: *606 + projects_v2_item: *645 sender: *4 required: - action @@ -146381,9 +146855,9 @@ webhooks: type: - string - 'null' - installation: *603 - organization: *604 - projects_v2_item: *643 + installation: *605 + organization: *606 + projects_v2_item: *645 sender: *4 required: - action @@ -146466,10 +146940,10 @@ webhooks: type: string enum: - restored - changes: *646 - installation: *603 - organization: *604 - projects_v2_item: *643 + changes: *648 + installation: *605 + organization: *606 + projects_v2_item: *645 sender: *4 required: - action @@ -146551,9 +147025,9 @@ webhooks: type: string enum: - reopened - installation: *603 - organization: *604 - projects_v2: *642 + installation: *605 + organization: *606 + projects_v2: *644 sender: *4 required: - action @@ -146634,9 +147108,9 @@ webhooks: type: string enum: - created - installation: *603 - organization: *604 - projects_v2_status_update: &647 + installation: *605 + organization: *606 + projects_v2_status_update: &649 title: Projects v2 Status Update description: An status update belonging to a project type: object @@ -146771,9 +147245,9 @@ webhooks: type: string enum: - deleted - installation: *603 - organization: *604 - projects_v2_status_update: *647 + installation: *605 + organization: *606 + projects_v2_status_update: *649 sender: *4 required: - action @@ -146919,9 +147393,9 @@ webhooks: - string - 'null' format: date - installation: *603 - organization: *604 - projects_v2_status_update: *647 + installation: *605 + organization: *606 + projects_v2_status_update: *649 sender: *4 required: - action @@ -146992,10 +147466,10 @@ webhooks: title: public event type: object properties: - enterprise: *602 - installation: *603 - organization: *604 - repository: *605 + enterprise: *604 + installation: *605 + organization: *606 + repository: *607 sender: *4 required: - repository @@ -147072,13 +147546,13 @@ webhooks: type: string enum: - assigned - assignee: *622 - enterprise: *602 - installation: *603 - number: &648 + assignee: *624 + enterprise: *604 + installation: *605 + number: &650 description: The pull request number. type: integer - organization: *604 + organization: *606 pull_request: title: Pull Request type: object @@ -149427,7 +149901,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *605 + repository: *607 sender: *4 required: - action @@ -149509,11 +149983,11 @@ webhooks: type: string enum: - auto_merge_disabled - enterprise: *602 - installation: *603 + enterprise: *604 + installation: *605 number: type: integer - organization: *604 + organization: *606 pull_request: title: Pull Request type: object @@ -151855,7 +152329,7 @@ webhooks: - draft reason: type: string - repository: *605 + repository: *607 sender: *4 required: - action @@ -151937,11 +152411,11 @@ webhooks: type: string enum: - auto_merge_enabled - enterprise: *602 - installation: *603 + enterprise: *604 + installation: *605 number: type: integer - organization: *604 + organization: *606 pull_request: title: Pull Request type: object @@ -154283,7 +154757,7 @@ webhooks: - draft reason: type: string - repository: *605 + repository: *607 sender: *4 required: - action @@ -154365,13 +154839,13 @@ webhooks: type: string enum: - closed - enterprise: *602 - installation: *603 - number: *648 - organization: *604 - pull_request: &649 + enterprise: *604 + installation: *605 + number: *650 + organization: *606 + pull_request: &651 allOf: - - *480 + - *482 - type: object properties: allow_auto_merge: @@ -154433,7 +154907,7 @@ webhooks: Please use `squash_merge_commit_title` instead.** type: boolean default: false - repository: *605 + repository: *607 sender: *4 required: - action @@ -154514,12 +154988,12 @@ webhooks: type: string enum: - converted_to_draft - enterprise: *602 - installation: *603 - number: *648 - organization: *604 - pull_request: *649 - repository: *605 + enterprise: *604 + installation: *605 + number: *650 + organization: *606 + pull_request: *651 + repository: *607 sender: *4 required: - action @@ -154599,11 +155073,11 @@ webhooks: type: string enum: - demilestoned - enterprise: *602 - milestone: *378 - number: *648 - organization: *604 - pull_request: &650 + enterprise: *604 + milestone: *380 + number: *650 + organization: *606 + pull_request: &652 title: Pull Request type: object properties: @@ -156930,7 +157404,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *605 + repository: *607 sender: *4 required: - action @@ -157009,11 +157483,11 @@ webhooks: type: string enum: - dequeued - enterprise: *602 - installation: *603 + enterprise: *604 + installation: *605 number: type: integer - organization: *604 + organization: *606 pull_request: title: Pull Request type: object @@ -159359,7 +159833,7 @@ webhooks: - BRANCH_PROTECTIONS - GIT_TREE_INVALID - INVALID_MERGE_COMMIT - repository: *605 + repository: *607 sender: *4 required: - action @@ -159483,12 +159957,12 @@ webhooks: type: string required: - from - enterprise: *602 - installation: *603 - number: *648 - organization: *604 - pull_request: *649 - repository: *605 + enterprise: *604 + installation: *605 + number: *650 + organization: *606 + pull_request: *651 + repository: *607 sender: *4 required: - action @@ -159568,11 +160042,11 @@ webhooks: type: string enum: - enqueued - enterprise: *602 - installation: *603 + enterprise: *604 + installation: *605 number: type: integer - organization: *604 + organization: *606 pull_request: title: Pull Request type: object @@ -161903,7 +162377,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *605 + repository: *607 sender: *4 required: - action @@ -161983,11 +162457,11 @@ webhooks: type: string enum: - labeled - enterprise: *602 - installation: *603 - label: *621 - number: *648 - organization: *604 + enterprise: *604 + installation: *605 + label: *623 + number: *650 + organization: *606 pull_request: title: Pull Request type: object @@ -164335,7 +164809,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *605 + repository: *607 sender: *4 required: - action @@ -164416,10 +164890,10 @@ webhooks: type: string enum: - locked - enterprise: *602 - installation: *603 - number: *648 - organization: *604 + enterprise: *604 + installation: *605 + number: *650 + organization: *606 pull_request: title: Pull Request type: object @@ -166765,7 +167239,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *605 + repository: *607 sender: *4 required: - action @@ -166845,12 +167319,12 @@ webhooks: type: string enum: - milestoned - enterprise: *602 - milestone: *378 - number: *648 - organization: *604 - pull_request: *650 - repository: *605 + enterprise: *604 + milestone: *380 + number: *650 + organization: *606 + pull_request: *652 + repository: *607 sender: *4 required: - action @@ -166929,12 +167403,12 @@ webhooks: type: string enum: - opened - enterprise: *602 - installation: *603 - number: *648 - organization: *604 - pull_request: *649 - repository: *605 + enterprise: *604 + installation: *605 + number: *650 + organization: *606 + pull_request: *651 + repository: *607 sender: *4 required: - action @@ -167015,12 +167489,12 @@ webhooks: type: string enum: - ready_for_review - enterprise: *602 - installation: *603 - number: *648 - organization: *604 - pull_request: *649 - repository: *605 + enterprise: *604 + installation: *605 + number: *650 + organization: *606 + pull_request: *651 + repository: *607 sender: *4 required: - action @@ -167100,12 +167574,12 @@ webhooks: type: string enum: - reopened - enterprise: *602 - installation: *603 - number: *648 - organization: *604 - pull_request: *649 - repository: *605 + enterprise: *604 + installation: *605 + number: *650 + organization: *606 + pull_request: *651 + repository: *607 sender: *4 required: - action @@ -167480,9 +167954,9 @@ webhooks: - start_side - side - reactions - enterprise: *602 - installation: *603 - organization: *604 + enterprise: *604 + installation: *605 + organization: *606 pull_request: type: object properties: @@ -169712,7 +170186,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *605 + repository: *607 sender: *4 required: - action @@ -169792,7 +170266,7 @@ webhooks: type: string enum: - deleted - comment: &652 + comment: &654 title: Pull Request Review Comment description: The [comment](https://docs.github.com/rest/pulls/comments#get-a-review-comment-for-a-pull-request) itself. @@ -170085,9 +170559,9 @@ webhooks: - start_side - side - reactions - enterprise: *602 - installation: *603 - organization: *604 + enterprise: *604 + installation: *605 + organization: *606 pull_request: type: object properties: @@ -172305,7 +172779,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *605 + repository: *607 sender: *4 required: - action @@ -172385,11 +172859,11 @@ webhooks: type: string enum: - edited - changes: *651 - comment: *652 - enterprise: *602 - installation: *603 - organization: *604 + changes: *653 + comment: *654 + enterprise: *604 + installation: *605 + organization: *606 pull_request: type: object properties: @@ -174610,7 +175084,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *605 + repository: *607 sender: *4 required: - action @@ -174691,9 +175165,9 @@ webhooks: type: string enum: - dismissed - enterprise: *602 - installation: *603 - organization: *604 + enterprise: *604 + installation: *605 + organization: *606 pull_request: title: Simple Pull Request type: object @@ -176926,7 +177400,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *605 + repository: *607 review: description: The review that was affected. type: object @@ -177172,9 +177646,9 @@ webhooks: type: string required: - from - enterprise: *602 - installation: *603 - organization: *604 + enterprise: *604 + installation: *605 + organization: *606 pull_request: title: Simple Pull Request type: object @@ -179288,8 +179762,8 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *605 - review: &653 + repository: *607 + review: &655 description: The review that was affected. type: object properties: @@ -179522,12 +179996,12 @@ webhooks: type: string enum: - review_request_removed - enterprise: *602 - installation: *603 + enterprise: *604 + installation: *605 number: description: The pull request number. type: integer - organization: *604 + organization: *606 pull_request: title: Pull Request type: object @@ -181874,7 +182348,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *605 + repository: *607 requested_reviewer: title: User type: @@ -181960,12 +182434,12 @@ webhooks: type: string enum: - review_request_removed - enterprise: *602 - installation: *603 + enterprise: *604 + installation: *605 number: description: The pull request number. type: integer - organization: *604 + organization: *606 pull_request: title: Pull Request type: object @@ -184319,7 +184793,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *605 + repository: *607 requested_team: title: Team description: Groups of organization members that gives permissions @@ -184514,12 +184988,12 @@ webhooks: type: string enum: - review_requested - enterprise: *602 - installation: *603 + enterprise: *604 + installation: *605 number: description: The pull request number. type: integer - organization: *604 + organization: *606 pull_request: title: Pull Request type: object @@ -186868,7 +187342,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *605 + repository: *607 requested_reviewer: title: User type: @@ -186955,12 +187429,12 @@ webhooks: type: string enum: - review_requested - enterprise: *602 - installation: *603 + enterprise: *604 + installation: *605 number: description: The pull request number. type: integer - organization: *604 + organization: *606 pull_request: title: Pull Request type: object @@ -189300,7 +189774,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *605 + repository: *607 requested_team: title: Team description: Groups of organization members that gives permissions @@ -189484,9 +189958,9 @@ webhooks: type: string enum: - submitted - enterprise: *602 - installation: *603 - organization: *604 + enterprise: *604 + installation: *605 + organization: *606 pull_request: title: Simple Pull Request type: object @@ -191722,8 +192196,8 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *605 - review: *653 + repository: *607 + review: *655 sender: *4 required: - action @@ -191803,9 +192277,9 @@ webhooks: type: string enum: - resolved - enterprise: *602 - installation: *603 - organization: *604 + enterprise: *604 + installation: *605 + organization: *606 pull_request: title: Simple Pull Request type: object @@ -193936,7 +194410,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *605 + repository: *607 sender: *4 thread: type: object @@ -194328,9 +194802,9 @@ webhooks: type: string enum: - unresolved - enterprise: *602 - installation: *603 - organization: *604 + enterprise: *604 + installation: *605 + organization: *606 pull_request: title: Simple Pull Request type: object @@ -196444,7 +196918,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *605 + repository: *607 sender: *4 thread: type: object @@ -196838,10 +197312,10 @@ webhooks: type: string before: type: string - enterprise: *602 - installation: *603 - number: *648 - organization: *604 + enterprise: *604 + installation: *605 + number: *650 + organization: *606 pull_request: title: Pull Request type: object @@ -199176,7 +199650,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *605 + repository: *607 sender: *4 required: - action @@ -199258,11 +199732,11 @@ webhooks: type: string enum: - unassigned - assignee: *654 - enterprise: *602 - installation: *603 - number: *648 - organization: *604 + assignee: *656 + enterprise: *604 + installation: *605 + number: *650 + organization: *606 pull_request: title: Pull Request type: object @@ -201612,7 +202086,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *605 + repository: *607 sender: *4 required: - action @@ -201691,11 +202165,11 @@ webhooks: type: string enum: - unlabeled - enterprise: *602 - installation: *603 - label: *621 - number: *648 - organization: *604 + enterprise: *604 + installation: *605 + label: *623 + number: *650 + organization: *606 pull_request: title: Pull Request type: object @@ -204034,7 +204508,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *605 + repository: *607 sender: *4 required: - action @@ -204115,10 +204589,10 @@ webhooks: type: string enum: - unlocked - enterprise: *602 - installation: *603 - number: *648 - organization: *604 + enterprise: *604 + installation: *605 + number: *650 + organization: *606 pull_request: title: Pull Request type: object @@ -206447,7 +206921,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *605 + repository: *607 sender: *4 required: - action @@ -206650,7 +207124,7 @@ webhooks: deleted: description: Whether this push deleted the `ref`. type: boolean - enterprise: *602 + enterprise: *604 forced: description: Whether this push was a force push of the `ref`. type: boolean @@ -206745,8 +207219,8 @@ webhooks: - url - author - committer - installation: *603 - organization: *604 + installation: *605 + organization: *606 pusher: title: Committer description: Metaproperties for Git author/committer information. @@ -207334,9 +207808,9 @@ webhooks: type: string enum: - published - enterprise: *602 - installation: *603 - organization: *604 + enterprise: *604 + installation: *605 + organization: *606 registry_package: type: object properties: @@ -207813,7 +208287,7 @@ webhooks: type: string rubygems_metadata: type: array - items: *636 + items: *638 summary: type: string tag_name: @@ -207869,7 +208343,7 @@ webhooks: - owner - package_version - registry - repository: *605 + repository: *607 sender: *4 required: - action @@ -207947,9 +208421,9 @@ webhooks: type: string enum: - updated - enterprise: *602 - installation: *603 - organization: *604 + enterprise: *604 + installation: *605 + organization: *606 registry_package: type: object properties: @@ -208261,7 +208735,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: *636 + items: *638 summary: type: string tag_name: @@ -208311,7 +208785,7 @@ webhooks: - owner - package_version - registry - repository: *605 + repository: *607 sender: *4 required: - action @@ -208388,10 +208862,10 @@ webhooks: type: string enum: - created - enterprise: *602 - installation: *603 - organization: *604 - release: &655 + enterprise: *604 + installation: *605 + organization: *606 + release: &657 title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) object. @@ -208707,7 +209181,7 @@ webhooks: - tarball_url - zipball_url - body - repository: *605 + repository: *607 sender: *4 required: - action @@ -208784,11 +209258,11 @@ webhooks: type: string enum: - deleted - enterprise: *602 - installation: *603 - organization: *604 - release: *655 - repository: *605 + enterprise: *604 + installation: *605 + organization: *606 + release: *657 + repository: *607 sender: *4 required: - action @@ -208896,11 +209370,11 @@ webhooks: type: boolean required: - to - enterprise: *602 - installation: *603 - organization: *604 - release: *655 - repository: *605 + enterprise: *604 + installation: *605 + organization: *606 + release: *657 + repository: *607 sender: *4 required: - action @@ -208978,9 +209452,9 @@ webhooks: type: string enum: - prereleased - enterprise: *602 - installation: *603 - organization: *604 + enterprise: *604 + installation: *605 + organization: *606 release: title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) @@ -209301,7 +209775,7 @@ webhooks: - string - 'null' format: uri - repository: *605 + repository: *607 sender: *4 required: - action @@ -209377,10 +209851,10 @@ webhooks: type: string enum: - published - enterprise: *602 - installation: *603 - organization: *604 - release: &656 + enterprise: *604 + installation: *605 + organization: *606 + release: &658 title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) object. @@ -209698,7 +210172,7 @@ webhooks: - string - 'null' format: uri - repository: *605 + repository: *607 sender: *4 required: - action @@ -209774,11 +210248,11 @@ webhooks: type: string enum: - released - enterprise: *602 - installation: *603 - organization: *604 - release: *655 - repository: *605 + enterprise: *604 + installation: *605 + organization: *606 + release: *657 + repository: *607 sender: *4 required: - action @@ -209854,11 +210328,11 @@ webhooks: type: string enum: - unpublished - enterprise: *602 - installation: *603 - organization: *604 - release: *656 - repository: *605 + enterprise: *604 + installation: *605 + organization: *606 + release: *658 + repository: *607 sender: *4 required: - action @@ -209934,11 +210408,11 @@ webhooks: type: string enum: - published - enterprise: *602 - installation: *603 - organization: *604 - repository: *605 - repository_advisory: *534 + enterprise: *604 + installation: *605 + organization: *606 + repository: *607 + repository_advisory: *536 sender: *4 required: - action @@ -210014,11 +210488,11 @@ webhooks: type: string enum: - reported - enterprise: *602 - installation: *603 - organization: *604 - repository: *605 - repository_advisory: *534 + enterprise: *604 + installation: *605 + organization: *606 + repository: *607 + repository_advisory: *536 sender: *4 required: - action @@ -210094,10 +210568,10 @@ webhooks: type: string enum: - archived - enterprise: *602 - installation: *603 - organization: *604 - repository: *605 + enterprise: *604 + installation: *605 + organization: *606 + repository: *607 sender: *4 required: - action @@ -210174,10 +210648,10 @@ webhooks: type: string enum: - created - enterprise: *602 - installation: *603 - organization: *604 - repository: *605 + enterprise: *604 + installation: *605 + organization: *606 + repository: *607 sender: *4 required: - action @@ -210255,10 +210729,10 @@ webhooks: type: string enum: - deleted - enterprise: *602 - installation: *603 - organization: *604 - repository: *605 + enterprise: *604 + installation: *605 + organization: *606 + repository: *607 sender: *4 required: - action @@ -210343,10 +210817,10 @@ webhooks: additionalProperties: true description: The `client_payload` that was specified in the `POST /repos/{owner}/{repo}/dispatches` request body. - enterprise: *602 - installation: *603 - organization: *604 - repository: *605 + enterprise: *604 + installation: *605 + organization: *606 + repository: *607 sender: *4 required: - action @@ -210461,10 +210935,10 @@ webhooks: - 'null' items: type: string - enterprise: *602 - installation: *603 - organization: *604 - repository: *605 + enterprise: *604 + installation: *605 + organization: *606 + repository: *607 sender: *4 required: - action @@ -210536,10 +211010,10 @@ webhooks: title: repository_import event type: object properties: - enterprise: *602 - installation: *603 - organization: *604 - repository: *605 + enterprise: *604 + installation: *605 + organization: *606 + repository: *607 sender: *4 status: type: string @@ -210620,10 +211094,10 @@ webhooks: type: string enum: - privatized - enterprise: *602 - installation: *603 - organization: *604 - repository: *605 + enterprise: *604 + installation: *605 + organization: *606 + repository: *607 sender: *4 required: - action @@ -210700,10 +211174,10 @@ webhooks: type: string enum: - publicized - enterprise: *602 - installation: *603 - organization: *604 - repository: *605 + enterprise: *604 + installation: *605 + organization: *606 + repository: *607 sender: *4 required: - action @@ -210797,10 +211271,10 @@ webhooks: - name required: - repository - enterprise: *602 - installation: *603 - organization: *604 - repository: *605 + enterprise: *604 + installation: *605 + organization: *606 + repository: *607 sender: *4 required: - action @@ -210880,11 +211354,11 @@ webhooks: type: string enum: - created - enterprise: *602 - installation: *603 - organization: *604 - repository: *605 - repository_ruleset: *214 + enterprise: *604 + installation: *605 + organization: *606 + repository: *607 + repository_ruleset: *216 sender: *4 required: - action @@ -210962,11 +211436,11 @@ webhooks: type: string enum: - deleted - enterprise: *602 - installation: *603 - organization: *604 - repository: *605 - repository_ruleset: *214 + enterprise: *604 + installation: *605 + organization: *606 + repository: *607 + repository_ruleset: *216 sender: *4 required: - action @@ -211044,11 +211518,11 @@ webhooks: type: string enum: - edited - enterprise: *602 - installation: *603 - organization: *604 - repository: *605 - repository_ruleset: *214 + enterprise: *604 + installation: *605 + organization: *606 + repository: *607 + repository_ruleset: *216 changes: type: object properties: @@ -211067,16 +211541,16 @@ webhooks: properties: added: type: array - items: *208 + items: *210 deleted: type: array - items: *208 + items: *210 updated: type: array items: type: object properties: - condition: *208 + condition: *210 changes: type: object properties: @@ -211109,16 +211583,16 @@ webhooks: properties: added: type: array - items: *213 + items: *215 deleted: type: array - items: *213 + items: *215 updated: type: array items: type: object properties: - rule: *213 + rule: *215 changes: type: object properties: @@ -211355,10 +211829,10 @@ webhooks: - from required: - owner - enterprise: *602 - installation: *603 - organization: *604 - repository: *605 + enterprise: *604 + installation: *605 + organization: *606 + repository: *607 sender: *4 required: - action @@ -211436,10 +211910,10 @@ webhooks: type: string enum: - unarchived - enterprise: *602 - installation: *603 - organization: *604 - repository: *605 + enterprise: *604 + installation: *605 + organization: *606 + repository: *607 sender: *4 required: - action @@ -211517,7 +211991,7 @@ webhooks: type: string enum: - create - alert: &657 + alert: &659 title: Repository Vulnerability Alert Alert description: The security alert of the vulnerable dependency. type: object @@ -211641,10 +212115,10 @@ webhooks: type: string enum: - open - enterprise: *602 - installation: *603 - organization: *604 - repository: *605 + enterprise: *604 + installation: *605 + organization: *606 + repository: *607 sender: *4 required: - action @@ -211854,10 +212328,10 @@ webhooks: type: string enum: - dismissed - enterprise: *602 - installation: *603 - organization: *604 - repository: *605 + enterprise: *604 + installation: *605 + organization: *606 + repository: *607 sender: *4 required: - action @@ -211935,11 +212409,11 @@ webhooks: type: string enum: - reopen - alert: *657 - enterprise: *602 - installation: *603 - organization: *604 - repository: *605 + alert: *659 + enterprise: *604 + installation: *605 + organization: *606 + repository: *607 sender: *4 required: - action @@ -212141,10 +212615,10 @@ webhooks: enum: - fixed - open - enterprise: *602 - installation: *603 - organization: *604 - repository: *605 + enterprise: *604 + installation: *605 + organization: *606 + repository: *607 sender: *4 required: - action @@ -212222,7 +212696,7 @@ webhooks: type: string enum: - created - alert: &658 + alert: &660 type: object properties: number: *51 @@ -212332,10 +212806,10 @@ webhooks: - 'null' description: Whether the detected secret was found in multiple repositories in the same organization or business. - enterprise: *602 - installation: *603 - organization: *604 - repository: *605 + enterprise: *604 + installation: *605 + organization: *606 + repository: *607 sender: *4 required: - action @@ -212416,11 +212890,11 @@ webhooks: type: string enum: - created - alert: *658 - installation: *603 - location: *659 - organization: *604 - repository: *605 + alert: *660 + installation: *605 + location: *661 + organization: *606 + repository: *607 sender: *4 required: - location @@ -212658,11 +213132,11 @@ webhooks: type: string enum: - publicly_leaked - alert: *658 - enterprise: *602 - installation: *603 - organization: *604 - repository: *605 + alert: *660 + enterprise: *604 + installation: *605 + organization: *606 + repository: *607 sender: *4 required: - action @@ -212740,11 +213214,11 @@ webhooks: type: string enum: - reopened - alert: *658 - enterprise: *602 - installation: *603 - organization: *604 - repository: *605 + alert: *660 + enterprise: *604 + installation: *605 + organization: *606 + repository: *607 sender: *4 required: - action @@ -212822,11 +213296,11 @@ webhooks: type: string enum: - resolved - alert: *658 - enterprise: *602 - installation: *603 - organization: *604 - repository: *605 + alert: *660 + enterprise: *604 + installation: *605 + organization: *606 + repository: *607 sender: *4 required: - action @@ -212904,11 +213378,11 @@ webhooks: type: string enum: - validated - alert: *658 - enterprise: *602 - installation: *603 - organization: *604 - repository: *605 + alert: *660 + enterprise: *604 + installation: *605 + organization: *606 + repository: *607 sender: *4 required: - action @@ -213038,10 +213512,10 @@ webhooks: - organization - enterprise - - repository: *605 - enterprise: *602 - installation: *603 - organization: *604 + repository: *607 + enterprise: *604 + installation: *605 + organization: *606 sender: *4 required: - action @@ -213119,11 +213593,11 @@ webhooks: type: string enum: - published - enterprise: *602 - installation: *603 - organization: *604 - repository: *605 - security_advisory: &660 + enterprise: *604 + installation: *605 + organization: *606 + repository: *607 + security_advisory: &662 description: The details of the security advisory, including summary, description, and severity. type: object @@ -213309,11 +213783,11 @@ webhooks: type: string enum: - updated - enterprise: *602 - installation: *603 - organization: *604 - repository: *605 - security_advisory: *660 + enterprise: *604 + installation: *605 + organization: *606 + repository: *607 + security_advisory: *662 sender: *4 required: - action @@ -213386,10 +213860,10 @@ webhooks: type: string enum: - withdrawn - enterprise: *602 - installation: *603 - organization: *604 - repository: *605 + enterprise: *604 + installation: *605 + organization: *606 + repository: *607 security_advisory: description: The details of the security advisory, including summary, description, and severity. @@ -213575,11 +214049,11 @@ webhooks: from: type: object properties: - security_and_analysis: *207 - enterprise: *602 - installation: *603 - organization: *604 - repository: *257 + security_and_analysis: *209 + enterprise: *604 + installation: *605 + organization: *606 + repository: *259 sender: *4 required: - changes @@ -213657,12 +214131,12 @@ webhooks: type: string enum: - cancelled - enterprise: *602 - installation: *603 - organization: *604 - repository: *605 + enterprise: *604 + installation: *605 + organization: *606 + repository: *607 sender: *4 - sponsorship: &661 + sponsorship: &663 type: object properties: created_at: @@ -213967,12 +214441,12 @@ webhooks: type: string enum: - created - enterprise: *602 - installation: *603 - organization: *604 - repository: *605 + enterprise: *604 + installation: *605 + organization: *606 + repository: *607 sender: *4 - sponsorship: *661 + sponsorship: *663 required: - action - sponsorship @@ -214060,12 +214534,12 @@ webhooks: type: string required: - from - enterprise: *602 - installation: *603 - organization: *604 - repository: *605 + enterprise: *604 + installation: *605 + organization: *606 + repository: *607 sender: *4 - sponsorship: *661 + sponsorship: *663 required: - action - changes @@ -214142,17 +214616,17 @@ webhooks: type: string enum: - pending_cancellation - effective_date: &662 + effective_date: &664 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: *602 - installation: *603 - organization: *604 - repository: *605 + enterprise: *604 + installation: *605 + organization: *606 + repository: *607 sender: *4 - sponsorship: *661 + sponsorship: *663 required: - action - sponsorship @@ -214226,7 +214700,7 @@ webhooks: type: string enum: - pending_tier_change - changes: &663 + changes: &665 type: object properties: tier: @@ -214270,13 +214744,13 @@ webhooks: - from required: - tier - effective_date: *662 - enterprise: *602 - installation: *603 - organization: *604 - repository: *605 + effective_date: *664 + enterprise: *604 + installation: *605 + organization: *606 + repository: *607 sender: *4 - sponsorship: *661 + sponsorship: *663 required: - action - changes @@ -214353,13 +214827,13 @@ webhooks: type: string enum: - tier_changed - changes: *663 - enterprise: *602 - installation: *603 - organization: *604 - repository: *605 + changes: *665 + enterprise: *604 + installation: *605 + organization: *606 + repository: *607 sender: *4 - sponsorship: *661 + sponsorship: *663 required: - action - changes @@ -214433,10 +214907,10 @@ webhooks: type: string enum: - created - enterprise: *602 - installation: *603 - organization: *604 - repository: *605 + enterprise: *604 + installation: *605 + organization: *606 + repository: *607 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -214520,10 +214994,10 @@ webhooks: type: string enum: - deleted - enterprise: *602 - installation: *603 - organization: *604 - repository: *605 + enterprise: *604 + installation: *605 + organization: *606 + repository: *607 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -214956,15 +215430,15 @@ webhooks: type: - string - 'null' - enterprise: *602 + enterprise: *604 id: description: The unique identifier of the status. type: integer - installation: *603 + installation: *605 name: type: string - organization: *604 - repository: *605 + organization: *606 + repository: *607 sender: *4 sha: description: The Commit SHA. @@ -215080,9 +215554,9 @@ webhooks: description: The ID of the sub-issue. type: number sub_issue: *73 - installation: *603 - organization: *604 - repository: *605 + installation: *605 + organization: *606 + repository: *607 sender: *4 required: - action @@ -215172,9 +215646,9 @@ webhooks: description: The ID of the sub-issue. type: number sub_issue: *73 - installation: *603 - organization: *604 - repository: *605 + installation: *605 + organization: *606 + repository: *607 sender: *4 required: - action @@ -215264,9 +215738,9 @@ webhooks: description: The ID of the parent issue. type: number parent_issue: *73 - installation: *603 - organization: *604 - repository: *605 + installation: *605 + organization: *606 + repository: *607 sender: *4 required: - action @@ -215356,9 +215830,9 @@ webhooks: description: The ID of the parent issue. type: number parent_issue: *73 - installation: *603 - organization: *604 - repository: *605 + installation: *605 + organization: *606 + repository: *607 sender: *4 required: - action @@ -215435,12 +215909,12 @@ webhooks: title: team_add event type: object properties: - enterprise: *602 - installation: *603 - organization: *604 - repository: *605 + enterprise: *604 + installation: *605 + organization: *606 + repository: *607 sender: *4 - team: &664 + team: &666 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -215633,9 +216107,9 @@ webhooks: type: string enum: - added_to_repository - enterprise: *602 - installation: *603 - organization: *604 + enterprise: *604 + installation: *605 + organization: *606 repository: title: Repository description: A git repository @@ -216105,7 +216579,7 @@ webhooks: - topics - visibility sender: *4 - team: *664 + team: *666 required: - action - team @@ -216181,9 +216655,9 @@ webhooks: type: string enum: - created - enterprise: *602 - installation: *603 - organization: *604 + enterprise: *604 + installation: *605 + organization: *606 repository: title: Repository description: A git repository @@ -216653,7 +217127,7 @@ webhooks: - topics - visibility sender: *4 - team: *664 + team: *666 required: - action - team @@ -216730,9 +217204,9 @@ webhooks: type: string enum: - deleted - enterprise: *602 - installation: *603 - organization: *604 + enterprise: *604 + installation: *605 + organization: *606 repository: title: Repository description: A git repository @@ -217202,7 +217676,7 @@ webhooks: - topics - visibility sender: *4 - team: *664 + team: *666 required: - action - team @@ -217346,9 +217820,9 @@ webhooks: - from required: - permissions - enterprise: *602 - installation: *603 - organization: *604 + enterprise: *604 + installation: *605 + organization: *606 repository: title: Repository description: A git repository @@ -217818,7 +218292,7 @@ webhooks: - topics - visibility sender: *4 - team: *664 + team: *666 required: - action - changes @@ -217896,9 +218370,9 @@ webhooks: type: string enum: - removed_from_repository - enterprise: *602 - installation: *603 - organization: *604 + enterprise: *604 + installation: *605 + organization: *606 repository: title: Repository description: A git repository @@ -218368,7 +218842,7 @@ webhooks: - topics - visibility sender: *4 - team: *664 + team: *666 required: - action - team @@ -218444,10 +218918,10 @@ webhooks: type: string enum: - started - enterprise: *602 - installation: *603 - organization: *604 - repository: *605 + enterprise: *604 + installation: *605 + organization: *606 + repository: *607 sender: *4 required: - action @@ -218520,17 +218994,17 @@ webhooks: title: workflow_dispatch event type: object properties: - enterprise: *602 + enterprise: *604 inputs: type: - object - 'null' additionalProperties: true - installation: *603 - organization: *604 + installation: *605 + organization: *606 ref: type: string - repository: *605 + repository: *607 sender: *4 workflow: type: string @@ -218612,10 +219086,10 @@ webhooks: type: string enum: - completed - enterprise: *602 - installation: *603 - organization: *604 - repository: *605 + enterprise: *604 + installation: *605 + organization: *606 + repository: *607 sender: *4 workflow_job: allOf: @@ -218871,7 +219345,7 @@ webhooks: type: string required: - conclusion - deployment: *398 + deployment: *400 required: - action - repository @@ -218950,10 +219424,10 @@ webhooks: type: string enum: - in_progress - enterprise: *602 - installation: *603 - organization: *604 - repository: *605 + enterprise: *604 + installation: *605 + organization: *606 + repository: *607 sender: *4 workflow_job: allOf: @@ -219235,7 +219709,7 @@ webhooks: required: - status - steps - deployment: *398 + deployment: *400 required: - action - repository @@ -219314,10 +219788,10 @@ webhooks: type: string enum: - queued - enterprise: *602 - installation: *603 - organization: *604 - repository: *605 + enterprise: *604 + installation: *605 + organization: *606 + repository: *607 sender: *4 workflow_job: type: object @@ -219463,7 +219937,7 @@ webhooks: - workflow_name - head_branch - created_at - deployment: *398 + deployment: *400 required: - action - repository @@ -219542,10 +220016,10 @@ webhooks: type: string enum: - waiting - enterprise: *602 - installation: *603 - organization: *604 - repository: *605 + enterprise: *604 + installation: *605 + organization: *606 + repository: *607 sender: *4 workflow_job: type: object @@ -219692,7 +220166,7 @@ webhooks: - workflow_name - head_branch - created_at - deployment: *398 + deployment: *400 required: - action - repository @@ -219772,12 +220246,12 @@ webhooks: type: string enum: - completed - enterprise: *602 - installation: *603 - organization: *604 - repository: *605 + enterprise: *604 + installation: *605 + organization: *606 + repository: *607 sender: *4 - workflow: *617 + workflow: *619 workflow_run: title: Workflow Run type: object @@ -220796,12 +221270,12 @@ webhooks: type: string enum: - in_progress - enterprise: *602 - installation: *603 - organization: *604 - repository: *605 + enterprise: *604 + installation: *605 + organization: *606 + repository: *607 sender: *4 - workflow: *617 + workflow: *619 workflow_run: title: Workflow Run type: object @@ -221805,12 +222279,12 @@ webhooks: type: string enum: - requested - enterprise: *602 - installation: *603 - organization: *604 - repository: *605 + enterprise: *604 + installation: *605 + organization: *606 + repository: *607 sender: *4 - workflow: *617 + workflow: *619 workflow_run: title: Workflow Run type: object diff --git a/descriptions-next/ghec/dereferenced/ghec.2022-11-28.deref.json b/descriptions-next/ghec/dereferenced/ghec.2022-11-28.deref.json index e35dab798..359cc4360 100644 --- a/descriptions-next/ghec/dereferenced/ghec.2022-11-28.deref.json +++ b/descriptions-next/ghec/dereferenced/ghec.2022-11-28.deref.json @@ -157023,6 +157023,1157 @@ } } }, + "/orgs/{org}/private-registries": { + "get": { + "summary": "List private registries for an organization", + "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nLists all private registry configurations available at the organization-level without revealing their encrypted\nvalues.\n\nOAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint.", + "tags": [ + "private-registries" + ], + "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" + }, + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "per_page", + "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "in": "query", + "schema": { + "type": "integer", + "default": 30 + } + }, + { + "name": "page", + "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "in": "query", + "schema": { + "type": "integer", + "default": 1 + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "total_count", + "configurations" + ], + "properties": { + "total_count": { + "type": "integer" + }, + "configurations": { + "type": "array", + "items": { + "title": "Organization private registry", + "description": "Private registry configuration for an organization", + "type": "object", + "properties": { + "name": { + "description": "The name of the private registry configuration.", + "type": "string", + "examples": [ + "MAVEN_REPOSITORY_SECRET" + ] + }, + "registry_type": { + "description": "The registry type.", + "enum": [ + "maven_repository" + ], + "type": "string" + }, + "username": { + "description": "The username to use when authenticating with the private registry.", + "type": [ + "string", + "null" + ], + "examples": [ + "monalisa" + ] + }, + "visibility": { + "description": "Which type of organization repositories have access to the private registry.", + "enum": [ + "all", + "private", + "selected" + ], + "type": "string" + }, + "created_at": { + "type": "string", + "format": "date-time" + }, + "updated_at": { + "type": "string", + "format": "date-time" + } + }, + "required": [ + "name", + "registry_type", + "visibility", + "created_at", + "updated_at" + ] + } + } + } + }, + "examples": { + "default": { + "value": { + "total_count": 1, + "configurations": [ + { + "name": "MAVEN_REPOSITORY_SECRET", + "registry_type": "maven_repository", + "username": "monalisa", + "created_at": "2019-08-10T14:59:22Z", + "updated_at": "2020-01-10T14:59:22Z", + "visibility": "selected" + } + ] + } + } + } + } + }, + "headers": { + "Link": { + "example": "; rel=\"next\", ; rel=\"last\"", + "schema": { + "type": "string" + } + } + } + }, + "400": { + "description": "Bad Request", + "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" + } + } + } + }, + "application/scim+json": { + "schema": { + "title": "Scim Error", + "description": "Scim Error", + "type": "object", + "properties": { + "message": { + "type": [ + "string", + "null" + ] + }, + "documentation_url": { + "type": [ + "string", + "null" + ] + }, + "detail": { + "type": [ + "string", + "null" + ] + }, + "status": { + "type": "integer" + }, + "scimType": { + "type": [ + "string", + "null" + ] + }, + "schemas": { + "type": "array", + "items": { + "type": "string" + } + } + } + } + } + } + }, + "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": true, + "category": "private-registries", + "subcategory": "organization-configurations" + } + }, + "post": { + "summary": "Create a private registry for an organization", + "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\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).\"\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" + }, + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "registry_type": { + "description": "The registry type.", + "type": "string", + "enum": [ + "maven_repository" + ] + }, + "username": { + "description": "The username to use when authenticating with the private registry. This field should be omitted if the private registry does not require a username for authentication.", + "type": [ + "string", + "null" + ] + }, + "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.", + "type": "string", + "pattern": "^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=|[A-Za-z0-9+/]{4})$" + }, + "key_id": { + "description": "The ID of the key you used to encrypt the secret.", + "type": "string" + }, + "visibility": { + "description": "Which type of organization repositories have access to the private registry. `selected` means only the repositories specified by `selected_repository_ids` can access the private registry.", + "type": "string", + "enum": [ + "all", + "private", + "selected" + ] + }, + "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`.", + "type": "array", + "items": { + "type": "integer" + } + } + }, + "required": [ + "registry_type", + "encrypted_value", + "key_id", + "visibility" + ] + }, + "examples": { + "org-private-registry-with-private-visibility": { + "summary": "Example of a private registry configuration with private visibility", + "value": { + "registry_type": "maven_repository", + "username": "monalisa", + "encrypted_value": "c2VjcmV0", + "key_id": "012345678912345678", + "visibility": "private" + } + }, + "org-private-registry-with-selected-visibility": { + "summary": "Example of a private registry configuration with selected visibility", + "value": { + "registry_type": "maven_repository", + "username": "monalisa", + "encrypted_value": "c2VjcmV0", + "key_id": "012345678912345678", + "visibility": "selected", + "selected_repository_ids": [ + 1296269, + 1296280 + ] + } + } + } + } + } + }, + "responses": { + "201": { + "description": "The organization private registry configuration", + "content": { + "application/json": { + "schema": { + "title": "Organization private registry", + "description": "Private registry configuration for an organization", + "type": "object", + "properties": { + "name": { + "description": "The name of the private registry configuration.", + "type": "string", + "examples": [ + "MAVEN_REPOSITORY_SECRET" + ] + }, + "registry_type": { + "description": "The registry type.", + "enum": [ + "maven_repository" + ], + "type": "string" + }, + "username": { + "description": "The username to use when authenticating with the private registry.", + "type": "string", + "examples": [ + "monalisa" + ] + }, + "visibility": { + "description": "Which type of organization repositories have access to the private registry. `selected` means only the repositories specified by `selected_repository_ids` can access the private registry.", + "enum": [ + "all", + "private", + "selected" + ], + "type": "string" + }, + "selected_repository_ids": { + "type": "array", + "description": "An array of repository IDs that can access the organization private registry when `visibility` is set to `selected`.", + "items": { + "type": "integer" + } + }, + "created_at": { + "type": "string", + "format": "date-time" + }, + "updated_at": { + "type": "string", + "format": "date-time" + } + }, + "required": [ + "name", + "registry_type", + "visibility", + "created_at", + "updated_at" + ] + }, + "examples": { + "org-private-registry-with-selected-visibility": { + "value": { + "name": "MAVEN_REPOSITORY_SECRET", + "registry_type": "maven_repository", + "username": "monalisa", + "visibility": "private", + "created_at": "2019-08-10T14:59:22Z", + "updated_at": "2020-01-10T14:59:22Z" + } + }, + "org-private-registry-with-private-visibility": { + "value": { + "name": "MAVEN_REPOSITORY_SECRET", + "registry_type": "maven_repository", + "username": "monalisa", + "visibility": "selected", + "selected_repository_ids": [ + 1296269, + 1296280 + ], + "created_at": "2019-08-10T14:59:22Z", + "updated_at": "2020-01-10T14:59:22Z" + } + } + } + } + } + }, + "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" + } + } + } + } + } + }, + "422": { + "description": "Validation failed, or the endpoint has been spammed.", + "content": { + "application/json": { + "schema": { + "title": "Validation Error", + "description": "Validation Error", + "type": "object", + "required": [ + "message", + "documentation_url" + ], + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "errors": { + "type": "array", + "items": { + "type": "object", + "required": [ + "code" + ], + "properties": { + "resource": { + "type": "string" + }, + "field": { + "type": "string" + }, + "message": { + "type": "string" + }, + "code": { + "type": "string" + }, + "index": { + "type": "integer" + }, + "value": { + "oneOf": [ + { + "type": [ + "string", + "null" + ] + }, + { + "type": [ + "integer", + "null" + ] + }, + { + "type": [ + "array", + "null" + ], + "items": { + "type": "string" + } + } + ] + } + } + } + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "private-registries", + "subcategory": "organization-configurations" + } + } + }, + "/orgs/{org}/private-registries/public-key": { + "get": { + "summary": "Get private registries public key for an organization", + "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nGets the org public key, which is needed to encrypt private registry secrets. You need to encrypt a secret before you can create or update secrets.\n\nOAuth tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint.", + "tags": [ + "private-registries" + ], + "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" + }, + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "key_id", + "key" + ], + "properties": { + "key_id": { + "description": "The identifier for the key.", + "type": "string", + "examples": [ + "012345678912345678" + ] + }, + "key": { + "description": "The Base64 encoded public key.", + "type": "string", + "examples": [ + "2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234" + ] + } + } + }, + "examples": { + "default": { + "value": { + "key_id": "012345678912345678", + "key": "2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234" + } + } + } + } + }, + "headers": { + "Link": { + "example": "; rel=\"next\", ; rel=\"last\"", + "schema": { + "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": true, + "category": "private-registries", + "subcategory": "organization-configurations" + } + } + }, + "/orgs/{org}/private-registries/{secret_name}": { + "get": { + "summary": "Get a private registry for an organization", + "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nGet the configuration of a single private registry defined for an organization, omitting its encrypted value.\n\nOAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint.", + "tags": [ + "private-registries" + ], + "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" + }, + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "secret_name", + "description": "The name of the secret.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "The specified private registry configuration for the organization", + "content": { + "application/json": { + "schema": { + "title": "Organization private registry", + "description": "Private registry configuration for an organization", + "type": "object", + "properties": { + "name": { + "description": "The name of the private registry configuration.", + "type": "string", + "examples": [ + "MAVEN_REPOSITORY_SECRET" + ] + }, + "registry_type": { + "description": "The registry type.", + "enum": [ + "maven_repository" + ], + "type": "string" + }, + "username": { + "description": "The username to use when authenticating with the private registry.", + "type": [ + "string", + "null" + ], + "examples": [ + "monalisa" + ] + }, + "visibility": { + "description": "Which type of organization repositories have access to the private registry.", + "enum": [ + "all", + "private", + "selected" + ], + "type": "string" + }, + "created_at": { + "type": "string", + "format": "date-time" + }, + "updated_at": { + "type": "string", + "format": "date-time" + } + }, + "required": [ + "name", + "registry_type", + "visibility", + "created_at", + "updated_at" + ] + }, + "examples": { + "default": { + "value": { + "name": "MAVEN_REPOSITORY_SECRET", + "registry_type": "maven_repository", + "username": "monalisa", + "visibility": "private", + "created_at": "2019-08-10T14:59:22Z", + "updated_at": "2020-01-10T14:59:22Z" + } + } + } + } + } + }, + "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": true, + "category": "private-registries", + "subcategory": "organization-configurations" + } + }, + "patch": { + "summary": "Update a private registry for an organization", + "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\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).\"\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" + }, + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "secret_name", + "description": "The name of the secret.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "registry_type": { + "description": "The registry type.", + "type": "string", + "enum": [ + "maven_repository" + ] + }, + "username": { + "description": "The username to use when authenticating with the private registry. This field should be omitted if the private registry does not require a username for authentication.", + "type": [ + "string", + "null" + ] + }, + "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.", + "type": "string", + "pattern": "^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=|[A-Za-z0-9+/]{4})$" + }, + "key_id": { + "description": "The ID of the key you used to encrypt the secret.", + "type": "string" + }, + "visibility": { + "description": "Which type of organization repositories have access to the private registry. `selected` means only the repositories specified by `selected_repository_ids` can access the private registry.", + "type": "string", + "enum": [ + "all", + "private", + "selected" + ] + }, + "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`. This field should be omitted if `visibility` is set to `all` or `private`.", + "type": "array", + "items": { + "type": "integer" + } + } + } + }, + "examples": { + "update-username-and-encrypted-value": { + "value": { + "username": "monalisa", + "encrypted_value": "c2VjcmV0", + "key_id": "012345678912345678" + } + }, + "update-with-selected-visibility": { + "value": { + "visibility": "selected", + "selected_repository_ids": [ + 1296269, + 1296280 + ] + } + } + } + } + } + }, + "responses": { + "204": { + "description": "Response" + }, + "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" + } + } + } + } + } + }, + "422": { + "description": "Validation failed, or the endpoint has been spammed.", + "content": { + "application/json": { + "schema": { + "title": "Validation Error", + "description": "Validation Error", + "type": "object", + "required": [ + "message", + "documentation_url" + ], + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "errors": { + "type": "array", + "items": { + "type": "object", + "required": [ + "code" + ], + "properties": { + "resource": { + "type": "string" + }, + "field": { + "type": "string" + }, + "message": { + "type": "string" + }, + "code": { + "type": "string" + }, + "index": { + "type": "integer" + }, + "value": { + "oneOf": [ + { + "type": [ + "string", + "null" + ] + }, + { + "type": [ + "integer", + "null" + ] + }, + { + "type": [ + "array", + "null" + ], + "items": { + "type": "string" + } + } + ] + } + } + } + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "private-registries", + "subcategory": "organization-configurations" + } + }, + "delete": { + "summary": "Delete a private registry for an organization", + "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nDelete a private registry configuration at the organization-level.\n\nOAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint.", + "tags": [ + "private-registries" + ], + "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" + }, + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "secret_name", + "description": "The name of the secret.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "204": { + "description": "Response" + }, + "400": { + "description": "Bad Request", + "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" + } + } + } + }, + "application/scim+json": { + "schema": { + "title": "Scim Error", + "description": "Scim Error", + "type": "object", + "properties": { + "message": { + "type": [ + "string", + "null" + ] + }, + "documentation_url": { + "type": [ + "string", + "null" + ] + }, + "detail": { + "type": [ + "string", + "null" + ] + }, + "status": { + "type": "integer" + }, + "scimType": { + "type": [ + "string", + "null" + ] + }, + "schemas": { + "type": "array", + "items": { + "type": "string" + } + } + } + } + } + } + }, + "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": true, + "category": "private-registries", + "subcategory": "organization-configurations" + } + } + }, "/orgs/{org}/projects": { "get": { "summary": "List organization projects", diff --git a/descriptions-next/ghec/dereferenced/ghec.2022-11-28.deref.yaml b/descriptions-next/ghec/dereferenced/ghec.2022-11-28.deref.yaml index 0500e1d73..32e4d7c41 100644 --- a/descriptions-next/ghec/dereferenced/ghec.2022-11-28.deref.yaml +++ b/descriptions-next/ghec/dereferenced/ghec.2022-11-28.deref.yaml @@ -896,7 +896,7 @@ paths: - subscriptions_url - type - url - type: &298 + type: &300 type: string description: The type of credit the user is receiving. enum: @@ -1062,7 +1062,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/security-advisories/global-advisories#get-a-global-security-advisory parameters: - - &608 + - &610 name: ghsa_id description: The GHSA (GitHub Security Advisory) identifier of the advisory. in: path @@ -1734,7 +1734,7 @@ paths: application/json: schema: *3 application/scim+json: - schema: &618 + schema: &620 title: Scim Error description: Scim Error type: object @@ -10529,7 +10529,7 @@ paths: description: The GitHub URL of the alert resource. format: uri readOnly: true - instances_url: &411 + instances_url: &413 type: string description: The REST API URL for fetching the list of instances for an alert. @@ -10565,7 +10565,7 @@ paths: format: `YYYY-MM-DDTHH:MM:SSZ`.' format: date-time readOnly: true - dismissed_reason: &412 + dismissed_reason: &414 type: - string - 'null' @@ -10576,14 +10576,14 @@ paths: - won't fix - used in tests - - dismissed_comment: &413 + dismissed_comment: &415 type: - string - 'null' description: The dismissal comment associated with the dismissal of the alert. maxLength: 280 - rule: &414 + rule: &416 type: object properties: id: @@ -10644,7 +10644,7 @@ paths: - 'null' description: A link to the documentation for the rule used to detect the alert. - tool: &415 + tool: &417 type: object properties: name: *77 @@ -10655,15 +10655,15 @@ paths: description: The version of the tool used to generate the code scanning analysis. guid: *78 - most_recent_instance: &416 + most_recent_instance: &418 type: object properties: - ref: &409 + ref: &411 type: string description: |- The Git reference, formatted as `refs/pull//merge`, `refs/pull//head`, `refs/heads/` or simply ``. - analysis_key: &426 + analysis_key: &428 type: string description: Identifies the configuration under which the analysis was executed. For example, in GitHub Actions @@ -10674,7 +10674,7 @@ paths: the environment in which the analysis that generated this alert instance was performed, such as the language that was analyzed. - category: &427 + category: &429 type: string description: Identifies the configuration under which the analysis was executed. Used to distinguish between multiple @@ -14052,7 +14052,7 @@ paths: - development - runtime - - security_advisory: &463 + security_advisory: &465 type: object description: Details for the GitHub Security Advisory. readOnly: true @@ -14287,7 +14287,7 @@ paths: dismissal. maxLength: 280 fixed_at: *97 - auto_dismissed_at: &464 + auto_dismissed_at: &466 type: - string - 'null' @@ -14974,7 +14974,7 @@ paths: required: true content: application/json: - schema: &280 + schema: &282 title: Custom Property Set Payload description: Custom property set payload type: object @@ -15342,7 +15342,7 @@ paths: type: object description: A repository rule. oneOf: - - &570 + - &572 title: creation description: Only allow users with bypass permission to create matching refs. @@ -15354,7 +15354,7 @@ paths: type: string enum: - creation - - &571 + - &573 title: update description: Only allow users with bypass permission to update matching refs. @@ -15375,7 +15375,7 @@ paths: repository required: - update_allows_fetch_and_merge - - &573 + - &575 title: deletion description: Only allow users with bypass permissions to delete matching refs. @@ -15387,7 +15387,7 @@ paths: type: string enum: - deletion - - &574 + - &576 title: required_linear_history description: Prevent merge commits from being pushed to matching refs. @@ -15399,7 +15399,7 @@ paths: type: string enum: - required_linear_history - - &575 + - &577 title: merge_queue description: Merges must be performed via a merge queue. type: object @@ -15475,7 +15475,7 @@ paths: - merge_method - min_entries_to_merge - min_entries_to_merge_wait_minutes - - &576 + - &578 title: required_deployments description: Choose which environments must be successfully deployed to before refs can be pushed into a ref that matches @@ -15499,7 +15499,7 @@ paths: type: string required: - required_deployment_environments - - &577 + - &579 title: required_signatures description: Commits pushed to matching refs must have verified signatures. @@ -15511,7 +15511,7 @@ paths: type: string enum: - required_signatures - - &578 + - &580 title: pull_request description: Require all commits be made to a non-target branch and submitted via a pull request before they can be merged. @@ -15562,7 +15562,7 @@ paths: - require_last_push_approval - required_approving_review_count - required_review_thread_resolution - - &579 + - &581 title: required_status_checks description: Choose which status checks must pass before the ref is updated. When enabled, commits must first be pushed @@ -15609,7 +15609,7 @@ paths: required: - required_status_checks - strict_required_status_checks_policy - - &580 + - &582 title: non_fast_forward description: Prevent users with push access from force pushing to refs. @@ -15621,7 +15621,7 @@ paths: type: string enum: - non_fast_forward - - &581 + - &583 title: commit_message_pattern description: Parameters to be used for the commit_message_pattern rule @@ -15657,7 +15657,7 @@ paths: required: - operator - pattern - - &582 + - &584 title: commit_author_email_pattern description: Parameters to be used for the commit_author_email_pattern rule @@ -15693,7 +15693,7 @@ paths: required: - operator - pattern - - &583 + - &585 title: committer_email_pattern description: Parameters to be used for the committer_email_pattern rule @@ -15729,7 +15729,7 @@ paths: required: - operator - pattern - - &584 + - &586 title: branch_name_pattern description: Parameters to be used for the branch_name_pattern rule @@ -15765,7 +15765,7 @@ paths: required: - operator - pattern - - &585 + - &587 title: tag_name_pattern description: Parameters to be used for the tag_name_pattern rule @@ -15891,7 +15891,7 @@ paths: maximum: 100 required: - max_file_size - - &586 + - &588 title: workflows description: Require all changes made to a targeted branch to pass the specified workflows before they can be merged. @@ -15940,7 +15940,7 @@ paths: - repository_id required: - workflows - - &587 + - &589 title: code_scanning description: Choose which tools must provide code scanning results before the reference is updated. When configured, code scanning @@ -16097,7 +16097,7 @@ paths: conditions: anyOf: - *105 - - &285 + - &287 title: Organization ruleset conditions type: object description: |- @@ -16344,7 +16344,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-enterprise parameters: - *38 - - &289 + - &291 name: state in: query description: Set to `open` or `resolved` to only list secret scanning alerts @@ -16355,7 +16355,7 @@ paths: enum: - open - resolved - - &290 + - &292 name: secret_type in: query description: A comma-separated list of secret types to return. All default @@ -16365,7 +16365,7 @@ paths: required: false schema: type: string - - &291 + - &293 name: resolution in: query description: A comma-separated list of resolutions. Only secret scanning alerts @@ -16374,7 +16374,7 @@ paths: required: false schema: type: string - - &292 + - &294 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. @@ -16390,7 +16390,7 @@ paths: - *17 - *74 - *75 - - &293 + - &295 name: validity in: query description: A comma-separated list of validities that, when present, will @@ -16399,7 +16399,7 @@ paths: required: false schema: type: string - - &294 + - &296 name: is_publicly_leaked in: query description: A boolean value representing whether or not to filter alerts @@ -16408,7 +16408,7 @@ paths: schema: type: boolean default: false - - &295 + - &297 name: is_multi_repo in: query description: A boolean value representing whether or not to filter alerts @@ -16424,7 +16424,7 @@ paths: application/json: schema: type: array - items: &296 + items: &298 type: object properties: number: *88 @@ -16440,14 +16440,14 @@ paths: format: uri description: The REST API URL of the code locations for this alert. - state: &600 + state: &602 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: &601 + resolution: &603 type: - string - 'null' @@ -16546,7 +16546,7 @@ paths: description: Whether the detected secret was found in multiple repositories in the same organization or enterprise. examples: - default: &297 + default: &299 value: - number: 2 created_at: '2020-11-06T18:48:51Z' @@ -16809,7 +16809,7 @@ paths: description: Response content: application/json: - schema: &299 + schema: &301 type: object properties: total_minutes_used: @@ -16879,7 +16879,7 @@ paths: - included_minutes - minutes_used_breakdown examples: - default: &300 + default: &302 value: total_minutes_used: 305 total_paid_minutes_used: 0 @@ -16917,7 +16917,7 @@ paths: description: Success content: application/json: - schema: &301 + schema: &303 type: object properties: total_advanced_security_committers: @@ -16980,7 +16980,7 @@ paths: required: - repositories examples: - default: &302 + default: &304 value: total_advanced_security_committers: 2 total_count: 2 @@ -17219,7 +17219,7 @@ paths: description: Response content: application/json: - schema: &303 + schema: &305 type: object properties: total_gigabytes_bandwidth_used: @@ -17237,7 +17237,7 @@ paths: - total_paid_gigabytes_bandwidth_used - included_gigabytes_bandwidth examples: - default: &304 + default: &306 value: total_gigabytes_bandwidth_used: 50 total_paid_gigabytes_bandwidth_used: 40 @@ -17269,7 +17269,7 @@ paths: description: Response content: application/json: - schema: &305 + schema: &307 type: object properties: days_left_in_billing_cycle: @@ -17287,7 +17287,7 @@ paths: - estimated_paid_storage_for_month - estimated_storage_for_month examples: - default: &306 + default: &308 value: days_left_in_billing_cycle: 20 estimated_paid_storage_for_month: 15 @@ -17913,7 +17913,7 @@ paths: milestone: anyOf: - type: 'null' - - &451 + - &453 title: Milestone description: A collection of related issues and pull requests. @@ -18177,7 +18177,7 @@ paths: - author_association - created_at - updated_at - comment: &510 + comment: &512 title: Issue Comment description: Comments provide a way for people to collaborate on an issue. @@ -18750,7 +18750,7 @@ paths: url: type: string format: uri - user: &657 + user: &659 title: Public User description: Public User type: object @@ -22102,14 +22102,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/events#list-public-events-for-a-network-of-repositories parameters: - - &326 + - &328 name: owner description: The account owner of the repository. The name is not case sensitive. in: path required: true schema: type: string - - &327 + - &329 name: repo description: The name of the repository without the `.git` extension. The name is not case sensitive. @@ -22180,7 +22180,7 @@ paths: '404': *6 '403': *27 '304': *35 - '301': &340 + '301': &342 description: Moved permanently content: application/json: @@ -22202,7 +22202,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#list-notifications-for-the-authenticated-user parameters: - - &539 + - &541 name: all description: If `true`, show notifications marked as read. in: query @@ -22210,7 +22210,7 @@ paths: schema: type: boolean default: false - - &540 + - &542 name: participating description: If `true`, only shows notifications in which the user is directly participating or mentioned. @@ -22220,7 +22220,7 @@ paths: type: boolean default: false - *125 - - &541 + - &543 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: @@ -22591,7 +22591,7 @@ paths: type: boolean examples: - false - security_and_analysis: &282 + security_and_analysis: &284 type: - object - 'null' @@ -22746,7 +22746,7 @@ paths: - url - subscription_url examples: - default: &542 + default: &544 value: - id: '1' repository: @@ -23299,7 +23299,7 @@ paths: type: array items: *50 examples: - default: &674 + default: &676 value: - login: github id: 1 @@ -24308,7 +24308,7 @@ paths: type: integer repository_cache_usages: type: array - items: &345 + items: &347 title: Actions Cache Usage by repository description: GitHub Actions Cache Usage by repository. type: object @@ -24562,7 +24562,7 @@ paths: type: array items: *55 examples: - default: &668 + default: &670 value: total_count: 1 repositories: @@ -25330,7 +25330,7 @@ paths: type: array items: *173 examples: - default: &660 + default: &662 value: total_count: 1 repositories: @@ -26372,7 +26372,7 @@ paths: description: Response content: application/json: - schema: &365 + schema: &367 title: ActionsPublicKey description: The public key used for setting Actions Secrets. type: object @@ -26407,7 +26407,7 @@ paths: - key_id - key examples: - default: &366 + default: &368 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -26818,7 +26818,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-organization-variables parameters: - *157 - - &350 + - &352 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)." @@ -27428,7 +27428,7 @@ paths: bundle_url: type: string examples: - default: &379 + default: &381 value: attestations: - bundle: @@ -27716,13 +27716,13 @@ paths: subcategory: bypass-requests parameters: - *157 - - &286 + - &288 name: repository_name description: The name of the repository to filter on. in: query schema: type: string - - &396 + - &398 name: reviewer description: Filter bypass requests by the handle of the GitHub user who reviewed the bypass request. @@ -27730,7 +27730,7 @@ paths: required: false schema: type: string - - &397 + - &399 name: requester description: Filter bypass requests by the handle of the GitHub user who requested the bypass. @@ -27738,7 +27738,7 @@ paths: required: false schema: type: string - - &287 + - &289 name: time_period description: |- The time period to filter by. @@ -27754,7 +27754,7 @@ paths: - week - month default: day - - &398 + - &400 name: request_status description: The status of the bypass request to filter on. When specified, only requests with this status will be returned. @@ -27779,7 +27779,7 @@ paths: application/json: schema: type: array - items: &399 + items: &401 title: Push rule bypass request description: A bypass request made by a user asking to be exempted from a push rule in this repository. @@ -27940,7 +27940,7 @@ paths: examples: - https://github.com/octo-org/smile/exemptions/1 examples: - default: &400 + default: &402 value: - id: 21 number: 42 @@ -28055,7 +28055,7 @@ paths: be returned. in: query required: false - schema: &410 + schema: &412 type: string description: Severity of a code scanning alert. enum: @@ -29004,7 +29004,7 @@ paths: machine: anyOf: - type: 'null' - - &439 + - &441 type: object title: Codespace machine description: A description of the machine powering a codespace. @@ -29956,7 +29956,7 @@ paths: - updated_at - visibility examples: - default: &440 + default: &442 value: total_count: 2 secrets: @@ -29994,7 +29994,7 @@ paths: description: Response content: application/json: - schema: &441 + schema: &443 title: CodespacesPublicKey description: The public key used for setting Codespaces secrets. type: object @@ -30029,7 +30029,7 @@ paths: - key_id - key examples: - default: &442 + default: &444 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -30061,7 +30061,7 @@ paths: application/json: schema: *206 examples: - default: &444 + default: &446 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -31831,7 +31831,7 @@ paths: description: Response content: application/json: - schema: &467 + schema: &469 title: DependabotPublicKey description: The public key used for setting Dependabot Secrets. type: object @@ -31850,7 +31850,7 @@ paths: - key_id - key examples: - default: &468 + default: &470 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -32432,7 +32432,7 @@ paths: description: Response content: application/json: - schema: &321 + schema: &323 title: ExternalGroup description: Information about an external group's usage and its members type: object @@ -32522,7 +32522,7 @@ paths: member_name: Octo Lisa member_email: octo_lisa@github.com examples: - default: &322 + default: &324 value: group_id: '123' group_name: Octocat admins @@ -32577,7 +32577,7 @@ paths: description: Response content: application/json: - schema: &319 + schema: &321 title: ExternalGroups description: A list of external groups available to be connected to a team @@ -32617,7 +32617,7 @@ paths: group_name: group-azuread-test2 updated_at: 2021-06-03 22:27:15:000 -700 examples: - default: &320 + default: &322 value: groups: - group_id: '123' @@ -32782,7 +32782,7 @@ paths: application/json: schema: type: array - items: &283 + items: &285 title: Repository Fine-Grained Permission description: A fine-grained permission that protects repository resources. @@ -32796,7 +32796,7 @@ paths: - name - description examples: - default: &284 + default: &286 value: - name: add_assignee description: Assign or remove a user @@ -33946,7 +33946,7 @@ paths: application/json: schema: *20 examples: - default: &506 + default: &508 value: id: 1 account: @@ -34174,7 +34174,7 @@ paths: required: true content: application/json: - schema: &507 + schema: &509 title: Interaction Restrictions description: Limit interactions to a specific type of user for a specified duration @@ -34794,7 +34794,7 @@ paths: application/json: schema: *255 examples: - default: &438 + default: &440 value: id: 1 name: monalisa-octocat-hello-world-g4wpq6h95q @@ -36032,7 +36032,7 @@ paths: parameters: - *157 - *261 - - &673 + - &675 name: repo_name description: repo_name parameter in: path @@ -37356,7 +37356,7 @@ paths: - nuget - container - *157 - - &675 + - &677 name: visibility description: |- The selected visibility of the packages. This parameter is optional and only filters an existing result set. @@ -37397,7 +37397,7 @@ paths: default: *267 '403': *27 '401': *23 - '400': &677 + '400': &679 description: The value of `per_page` multiplied by `page` cannot be greater than 10000. x-github: @@ -38538,6 +38538,480 @@ paths: enabledForGitHubApps: true category: orgs subcategory: personal-access-tokens + "/orgs/{org}/private-registries": + get: + summary: List private registries for an organization + description: |- + > [!NOTE] + > This endpoint is in public preview and is subject to change. + + Lists all private registry configurations available at the organization-level without revealing their encrypted + values. + + OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + tags: + - private-registries + 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 + parameters: + - *157 + - *17 + - *18 + responses: + '200': + description: Response + content: + application/json: + schema: + type: object + required: + - total_count + - configurations + properties: + total_count: + type: integer + configurations: + type: array + items: &279 + title: Organization private registry + description: Private registry configuration for an organization + type: object + properties: + name: + description: The name of the private registry configuration. + type: string + examples: + - MAVEN_REPOSITORY_SECRET + registry_type: + description: The registry type. + enum: + - maven_repository + type: string + username: + description: The username to use when authenticating with + the private registry. + type: + - string + - 'null' + examples: + - monalisa + visibility: + description: Which type of organization repositories have + access to the private registry. + enum: + - all + - private + - selected + type: string + created_at: + type: string + format: date-time + updated_at: + type: string + format: date-time + required: + - name + - registry_type + - visibility + - created_at + - updated_at + examples: + default: + value: + total_count: 1 + configurations: + - name: MAVEN_REPOSITORY_SECRET + registry_type: maven_repository + username: monalisa + created_at: '2019-08-10T14:59:22Z' + updated_at: '2020-01-10T14:59:22Z' + visibility: selected + headers: + Link: *37 + '400': *14 + '404': *6 + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: private-registries + subcategory: organization-configurations + post: + summary: Create a private registry for an organization + description: |- + > [!NOTE] + > This endpoint is in public preview and is subject to change. + + Creates 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)." + + OAuth 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 + parameters: + - *157 + requestBody: + required: true + content: + application/json: + schema: + type: object + properties: + registry_type: + description: The registry type. + type: string + enum: + - maven_repository + username: + description: The username to use when authenticating with the private + registry. This field should be omitted if the private registry + does not require a username for authentication. + type: + - string + - 'null' + 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. + type: string + pattern: "^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=|[A-Za-z0-9+/]{4})$" + key_id: + description: The ID of the key you used to encrypt the secret. + type: string + visibility: + description: Which type of organization repositories have access + to the private registry. `selected` means only the repositories + specified by `selected_repository_ids` can access the private + registry. + type: string + enum: + - all + - private + - selected + 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`. + type: array + items: + type: integer + required: + - registry_type + - encrypted_value + - key_id + - visibility + examples: + org-private-registry-with-private-visibility: + summary: Example of a private registry configuration with private + visibility + value: + registry_type: maven_repository + username: monalisa + encrypted_value: c2VjcmV0 + key_id: '012345678912345678' + visibility: private + org-private-registry-with-selected-visibility: + summary: Example of a private registry configuration with selected + visibility + value: + registry_type: maven_repository + username: monalisa + encrypted_value: c2VjcmV0 + key_id: '012345678912345678' + visibility: selected + selected_repository_ids: + - 1296269 + - 1296280 + responses: + '201': + description: The organization private registry configuration + content: + application/json: + schema: + title: Organization private registry + description: Private registry configuration for an organization + type: object + properties: + name: + description: The name of the private registry configuration. + type: string + examples: + - MAVEN_REPOSITORY_SECRET + registry_type: + description: The registry type. + enum: + - maven_repository + type: string + username: + description: The username to use when authenticating with the + private registry. + type: string + examples: + - monalisa + visibility: + description: Which type of organization repositories have access + to the private registry. `selected` means only the repositories + specified by `selected_repository_ids` can access the private + registry. + enum: + - all + - private + - selected + type: string + selected_repository_ids: + type: array + description: An array of repository IDs that can access the organization + private registry when `visibility` is set to `selected`. + items: + type: integer + created_at: + type: string + format: date-time + updated_at: + type: string + format: date-time + required: + - name + - registry_type + - visibility + - created_at + - updated_at + examples: + org-private-registry-with-selected-visibility: &280 + value: + name: MAVEN_REPOSITORY_SECRET + registry_type: maven_repository + username: monalisa + visibility: private + created_at: '2019-08-10T14:59:22Z' + updated_at: '2020-01-10T14:59:22Z' + org-private-registry-with-private-visibility: + value: + name: MAVEN_REPOSITORY_SECRET + registry_type: maven_repository + username: monalisa + visibility: selected + selected_repository_ids: + - 1296269 + - 1296280 + created_at: '2019-08-10T14:59:22Z' + updated_at: '2020-01-10T14:59:22Z' + '404': *6 + '422': *15 + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: private-registries + subcategory: organization-configurations + "/orgs/{org}/private-registries/public-key": + get: + summary: Get private registries public key for an organization + description: |- + > [!NOTE] + > This endpoint is in public preview and is subject to change. + + Gets the org public key, which is needed to encrypt private registry secrets. You need to encrypt a secret before you can create or update secrets. + + OAuth tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + tags: + - private-registries + 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 + parameters: + - *157 + responses: + '200': + description: Response + content: + application/json: + schema: + type: object + required: + - key_id + - key + properties: + key_id: + description: The identifier for the key. + type: string + examples: + - '012345678912345678' + key: + description: The Base64 encoded public key. + type: string + examples: + - 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 + examples: + default: + value: + key_id: '012345678912345678' + key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 + headers: + Link: *37 + '404': *6 + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: private-registries + subcategory: organization-configurations + "/orgs/{org}/private-registries/{secret_name}": + get: + summary: Get a private registry for an organization + description: |- + > [!NOTE] + > This endpoint is in public preview and is subject to change. + + Get the configuration of a single private registry defined for an organization, omitting its encrypted value. + + OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + tags: + - private-registries + 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 + parameters: + - *157 + - *183 + responses: + '200': + description: The specified private registry configuration for the organization + content: + application/json: + schema: *279 + examples: + default: *280 + '404': *6 + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: private-registries + subcategory: organization-configurations + patch: + summary: Update a private registry for an organization + description: |- + > [!NOTE] + > This endpoint is in public preview and is subject to change. + + Updates 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)." + + OAuth 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 + parameters: + - *157 + - *183 + requestBody: + required: true + content: + application/json: + schema: + type: object + properties: + registry_type: + description: The registry type. + type: string + enum: + - maven_repository + username: + description: The username to use when authenticating with the private + registry. This field should be omitted if the private registry + does not require a username for authentication. + type: + - string + - 'null' + 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. + type: string + pattern: "^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=|[A-Za-z0-9+/]{4})$" + key_id: + description: The ID of the key you used to encrypt the secret. + type: string + visibility: + description: Which type of organization repositories have access + to the private registry. `selected` means only the repositories + specified by `selected_repository_ids` can access the private + registry. + type: string + enum: + - all + - private + - selected + 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`. This field should be omitted + if `visibility` is set to `all` or `private`. + type: array + items: + type: integer + examples: + update-username-and-encrypted-value: + value: + username: monalisa + encrypted_value: c2VjcmV0 + key_id: '012345678912345678' + update-with-selected-visibility: + value: + visibility: selected + selected_repository_ids: + - 1296269 + - 1296280 + responses: + '204': + description: Response + '404': *6 + '422': *15 + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: private-registries + subcategory: organization-configurations + delete: + summary: Delete a private registry for an organization + description: |- + > [!NOTE] + > This endpoint is in public preview and is subject to change. + + Delete a private registry configuration at the organization-level. + + OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + tags: + - private-registries + 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 + parameters: + - *157 + - *183 + responses: + '204': + description: Response + '400': *14 + '404': *6 + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: private-registries + subcategory: organization-configurations "/orgs/{org}/projects": get: summary: List organization projects @@ -38573,7 +39047,7 @@ paths: application/json: schema: type: array - items: &279 + items: &281 title: Project description: Projects are a way to organize columns and cards of work. @@ -38752,7 +39226,7 @@ paths: description: Response content: application/json: - schema: *279 + schema: *281 examples: default: value: @@ -38790,7 +39264,7 @@ paths: '401': *23 '403': *27 '404': *6 - '410': &337 + '410': &339 description: Gone content: application/json: @@ -38949,7 +39423,7 @@ paths: required: true content: application/json: - schema: *280 + schema: *282 examples: default: value: @@ -39055,7 +39529,7 @@ paths: - octocat/Hello-World properties: type: array - items: &281 + items: &283 title: Custom Property Value description: Custom property name and associated value type: object @@ -39145,7 +39619,7 @@ paths: type: array description: List of custom property names and associated values to apply to the repositories. - items: *281 + items: *283 required: - repository_names - properties @@ -39542,7 +40016,7 @@ paths: description: Response content: application/json: - schema: &339 + schema: &341 title: Full Repository description: Full Repository type: object @@ -40007,7 +40481,7 @@ paths: description: Whether anonymous git access is allowed. default: true type: boolean - code_of_conduct: &457 + code_of_conduct: &459 title: Code Of Conduct Simple description: Code of Conduct Simple type: object @@ -40037,7 +40511,7 @@ paths: - key - name - html_url - security_and_analysis: *282 + security_and_analysis: *284 custom_properties: type: object description: The custom properties that were defined for the repository. @@ -40121,7 +40595,7 @@ paths: - network_count - subscribers_count examples: - default: &341 + default: &343 value: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -40647,9 +41121,9 @@ paths: application/json: schema: type: array - items: *283 + items: *285 examples: - default: *284 + default: *286 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -40674,7 +41148,7 @@ paths: - *157 - *17 - *18 - - &588 + - &590 name: targets description: | A comma-separated list of rule targets to filter by. @@ -40766,7 +41240,7 @@ paths: type: array description: The actors that can bypass the rules in this ruleset items: *110 - conditions: *285 + conditions: *287 rules: type: array description: An array of rules within the ruleset. @@ -40810,7 +41284,7 @@ paths: application/json: schema: *112 examples: - default: &288 + default: &290 value: id: 21 name: super cool ruleset @@ -40865,7 +41339,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/rule-suites#list-organization-rule-suites parameters: - *157 - - &589 + - &591 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 @@ -40875,16 +41349,16 @@ paths: schema: type: string x-multi-segment: true - - *286 - - *287 - - &590 + - *288 + - *289 + - &592 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 - - &591 + - &593 name: rule_suite_result description: The rule results to filter on. When specified, only suites with this result will be returned. @@ -40904,7 +41378,7 @@ paths: description: Response content: application/json: - schema: &592 + schema: &594 title: Rule Suites description: Response type: array @@ -40960,7 +41434,7 @@ paths: whether rules would pass or fail if all rules in the rule suite were `active`. examples: - default: &593 + default: &595 value: - id: 21 actor_id: 12 @@ -41004,7 +41478,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/rule-suites#get-an-organization-rule-suite parameters: - *157 - - &594 + - &596 name: rule_suite_id description: |- The unique identifier of the rule suite result. @@ -41020,7 +41494,7 @@ paths: description: Response content: application/json: - schema: &595 + schema: &597 title: Rule Suite description: Response type: object @@ -41127,7 +41601,7 @@ paths: description: The detailed failure message for the rule. Null if the rule passed. examples: - default: &596 + default: &598 value: id: 21 actor_id: 12 @@ -41202,7 +41676,7 @@ paths: application/json: schema: *112 examples: - default: *288 + default: *290 '404': *6 '500': *87 put: @@ -41251,7 +41725,7 @@ paths: type: array description: The actors that can bypass the rules in this ruleset items: *110 - conditions: *285 + conditions: *287 rules: description: An array of rules within the ruleset. type: array @@ -41292,7 +41766,7 @@ paths: application/json: schema: *112 examples: - default: *288 + default: *290 '404': *6 '500': *87 delete: @@ -41339,14 +41813,14 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-organization parameters: - *157 - - *289 - - *290 - *291 - *292 + - *293 + - *294 - *76 - *18 - *17 - - &598 + - &600 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 @@ -41356,7 +41830,7 @@ paths: required: false schema: type: string - - &599 + - &601 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 @@ -41366,9 +41840,9 @@ paths: required: false schema: type: string - - *293 - - *294 - *295 + - *296 + - *297 responses: '200': description: Response @@ -41376,9 +41850,9 @@ paths: application/json: schema: type: array - items: *296 + items: *298 examples: - default: *297 + default: *299 headers: Link: *37 '404': *6 @@ -41448,7 +41922,7 @@ paths: application/json: schema: type: array - items: &606 + items: &608 description: A repository security advisory. type: object properties: @@ -41692,7 +42166,7 @@ paths: login: type: string description: The username of the user credited. - type: *298 + type: *300 credits_detailed: type: - array @@ -41703,7 +42177,7 @@ paths: type: object properties: user: *4 - type: *298 + type: *300 state: type: string description: The state of the user's acceptance of the @@ -41767,7 +42241,7 @@ paths: - private_fork additionalProperties: false examples: - default: &607 + default: &609 value: - ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -42241,9 +42715,9 @@ paths: description: Response content: application/json: - schema: *299 + schema: *301 examples: - default: *300 + default: *302 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -42275,9 +42749,9 @@ paths: description: Success content: application/json: - schema: *301 + schema: *303 examples: - default: *302 + default: *304 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -42305,9 +42779,9 @@ paths: description: Response content: application/json: - schema: *303 + schema: *305 examples: - default: *304 + default: *306 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -42335,9 +42809,9 @@ paths: description: Response content: application/json: - schema: *305 + schema: *307 examples: - default: *306 + default: *308 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -42373,7 +42847,7 @@ paths: description: Response content: application/json: - schema: &328 + schema: &330 title: GroupMapping description: External Groups to be mapped to a team for membership type: object @@ -42425,7 +42899,7 @@ paths: group_description: Another group of Developers working on AzureAD SAML SSO examples: - default: &329 + default: &331 value: groups: - group_id: '123' @@ -42706,7 +43180,7 @@ paths: description: Response content: application/json: - schema: &307 + schema: &309 title: Full Team description: Groups of organization members that gives permissions on specified repositories. @@ -43086,7 +43560,7 @@ paths: - repos_count - organization examples: - default: &308 + default: &310 value: id: 1 node_id: MDQ6VGVhbTE= @@ -43163,9 +43637,9 @@ paths: description: Response content: application/json: - schema: *307 + schema: *309 examples: - default: *308 + default: *310 '404': *6 x-github: githubCloudOnly: false @@ -43250,16 +43724,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *307 + schema: *309 examples: - default: *308 + default: *310 '201': description: Response content: application/json: - schema: *307 + schema: *309 examples: - default: *308 + default: *310 '404': *6 '422': *15 '403': *27 @@ -43329,7 +43803,7 @@ paths: application/json: schema: type: array - items: &309 + items: &311 title: Team Discussion description: A team discussion is a persistent record of a free-form conversation within a team. @@ -43440,7 +43914,7 @@ paths: - updated_at - url examples: - default: &647 + default: &649 value: - author: login: octocat @@ -43549,9 +44023,9 @@ paths: description: Response content: application/json: - schema: *309 + schema: *311 examples: - default: &310 + default: &312 value: author: login: octocat @@ -43625,7 +44099,7 @@ paths: parameters: - *157 - *263 - - &311 + - &313 name: discussion_number description: The number that identifies the discussion. in: path @@ -43637,9 +44111,9 @@ paths: description: Response content: application/json: - schema: *309 + schema: *311 examples: - default: *310 + default: *312 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -43663,7 +44137,7 @@ paths: parameters: - *157 - *263 - - *311 + - *313 requestBody: required: false content: @@ -43686,9 +44160,9 @@ paths: description: Response content: application/json: - schema: *309 + schema: *311 examples: - default: &648 + default: &650 value: author: login: octocat @@ -43760,7 +44234,7 @@ paths: parameters: - *157 - *263 - - *311 + - *313 responses: '204': description: Response @@ -43788,7 +44262,7 @@ paths: parameters: - *157 - *263 - - *311 + - *313 - *76 - *17 - *18 @@ -43799,7 +44273,7 @@ paths: application/json: schema: type: array - items: &312 + items: &314 title: Team Discussion Comment description: A reply to a discussion within a team. type: object @@ -43879,7 +44353,7 @@ paths: - updated_at - url examples: - default: &649 + default: &651 value: - author: login: octocat @@ -43949,7 +44423,7 @@ paths: parameters: - *157 - *263 - - *311 + - *313 requestBody: required: true content: @@ -43971,9 +44445,9 @@ paths: description: Response content: application/json: - schema: *312 + schema: *314 examples: - default: &313 + default: &315 value: author: login: octocat @@ -44041,8 +44515,8 @@ paths: parameters: - *157 - *263 - - *311 - - &314 + - *313 + - &316 name: comment_number description: The number that identifies the comment. in: path @@ -44054,9 +44528,9 @@ paths: description: Response content: application/json: - schema: *312 + schema: *314 examples: - default: *313 + default: *315 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -44080,8 +44554,8 @@ paths: parameters: - *157 - *263 - - *311 - - *314 + - *313 + - *316 requestBody: required: true content: @@ -44103,9 +44577,9 @@ paths: description: Response content: application/json: - schema: *312 + schema: *314 examples: - default: &650 + default: &652 value: author: login: octocat @@ -44171,8 +44645,8 @@ paths: parameters: - *157 - *263 - - *311 - - *314 + - *313 + - *316 responses: '204': description: Response @@ -44200,8 +44674,8 @@ paths: parameters: - *157 - *263 - - *311 - - *314 + - *313 + - *316 - 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 team discussion comment. @@ -44227,7 +44701,7 @@ paths: application/json: schema: type: array - items: &315 + items: &317 title: Reaction description: Reactions to conversations provide a way to help people express their feelings more simply and effectively. @@ -44271,7 +44745,7 @@ paths: - content - created_at examples: - default: &317 + default: &319 value: - id: 1 node_id: MDg6UmVhY3Rpb24x @@ -44323,8 +44797,8 @@ paths: parameters: - *157 - *263 - - *311 - - *314 + - *313 + - *316 requestBody: required: true content: @@ -44357,9 +44831,9 @@ paths: team discussion comment content: application/json: - schema: *315 + schema: *317 examples: - default: &316 + default: &318 value: id: 1 node_id: MDg6UmVhY3Rpb24x @@ -44388,9 +44862,9 @@ paths: description: Response content: application/json: - schema: *315 + schema: *317 examples: - default: *316 + default: *318 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -44415,9 +44889,9 @@ paths: parameters: - *157 - *263 - - *311 - - *314 - - &318 + - *313 + - *316 + - &320 name: reaction_id description: The unique identifier of the reaction. in: path @@ -44451,7 +44925,7 @@ paths: parameters: - *157 - *263 - - *311 + - *313 - 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 team discussion. @@ -44477,9 +44951,9 @@ paths: application/json: schema: type: array - items: *315 + items: *317 examples: - default: *317 + default: *319 headers: Link: *37 x-github: @@ -44507,7 +44981,7 @@ paths: parameters: - *157 - *263 - - *311 + - *313 requestBody: required: true content: @@ -44539,16 +45013,16 @@ paths: description: Response content: application/json: - schema: *315 + schema: *317 examples: - default: *316 + default: *318 '201': description: Response content: application/json: - schema: *315 + schema: *317 examples: - default: *316 + default: *318 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -44573,8 +45047,8 @@ paths: parameters: - *157 - *263 - - *311 - - *318 + - *313 + - *320 responses: '204': description: Response @@ -44604,9 +45078,9 @@ paths: description: Response content: application/json: - schema: *319 + schema: *321 examples: - default: *320 + default: *322 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -44650,9 +45124,9 @@ paths: description: Response content: application/json: - schema: *321 + schema: *323 examples: - default: *322 + default: *324 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -44793,7 +45267,7 @@ paths: description: Response content: application/json: - schema: &323 + schema: &325 title: Team Membership description: Team Membership type: object @@ -44821,7 +45295,7 @@ paths: - state - url examples: - response-if-user-is-a-team-maintainer: &651 + response-if-user-is-a-team-maintainer: &653 summary: Response if user is a team maintainer value: url: https://api.github.com/teams/1/memberships/octocat @@ -44884,9 +45358,9 @@ paths: description: Response content: application/json: - schema: *323 + schema: *325 examples: - response-if-users-membership-with-team-is-now-pending: &652 + response-if-users-membership-with-team-is-now-pending: &654 summary: Response if user's membership with team is now pending value: url: https://api.github.com/teams/1/memberships/octocat @@ -44960,7 +45434,7 @@ paths: application/json: schema: type: array - items: &324 + items: &326 title: Team Project description: A team's access to a project. type: object @@ -45029,7 +45503,7 @@ paths: - updated_at - permissions examples: - default: &653 + default: &655 value: - owner_url: https://api.github.com/orgs/octocat url: https://api.github.com/projects/1002605 @@ -45092,7 +45566,7 @@ paths: parameters: - *157 - *263 - - &325 + - &327 name: project_id description: The unique identifier of the project. in: path @@ -45104,9 +45578,9 @@ paths: description: Response content: application/json: - schema: *324 + schema: *326 examples: - default: &654 + default: &656 value: owner_url: https://api.github.com/orgs/octocat url: https://api.github.com/projects/1002605 @@ -45168,7 +45642,7 @@ paths: parameters: - *157 - *263 - - *325 + - *327 requestBody: required: false content: @@ -45235,7 +45709,7 @@ paths: parameters: - *157 - *263 - - *325 + - *327 responses: '204': description: Response @@ -45303,14 +45777,14 @@ paths: parameters: - *157 - *263 - - *326 - - *327 + - *328 + - *329 responses: '200': description: Alternative response with repository permissions content: application/json: - schema: &655 + schema: &657 title: Team Repository description: A team's access to a repository. type: object @@ -45953,8 +46427,8 @@ paths: parameters: - *157 - *263 - - *326 - - *327 + - *328 + - *329 requestBody: required: false content: @@ -46001,8 +46475,8 @@ paths: parameters: - *157 - *263 - - *326 - - *327 + - *328 + - *329 responses: '204': description: Response @@ -46035,9 +46509,9 @@ paths: description: Response content: application/json: - schema: *328 + schema: *330 examples: - default: *329 + default: *331 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -46103,7 +46577,7 @@ paths: description: Response content: application/json: - schema: *328 + schema: *330 examples: default: value: @@ -46148,7 +46622,7 @@ paths: type: array items: *251 examples: - response-if-child-teams-exist: &656 + response-if-child-teams-exist: &658 value: - id: 2 node_id: MDQ6VGVhbTI= @@ -46272,7 +46746,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/cards#get-a-project-card parameters: - - &330 + - &332 name: card_id description: The unique identifier of the card. in: path @@ -46284,7 +46758,7 @@ paths: description: Response content: application/json: - schema: &331 + schema: &333 title: Project Card description: Project cards represent a scope of work. type: object @@ -46359,7 +46833,7 @@ paths: - created_at - updated_at examples: - default: &332 + default: &334 value: url: https://api.github.com/projects/columns/cards/1478 id: 1478 @@ -46409,7 +46883,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/cards#update-an-existing-project-card parameters: - - *330 + - *332 requestBody: required: false content: @@ -46439,9 +46913,9 @@ paths: description: Response content: application/json: - schema: *331 + schema: *333 examples: - default: *332 + default: *334 '304': *35 '403': *27 '401': *23 @@ -46462,7 +46936,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/cards#delete-a-project-card parameters: - - *330 + - *332 responses: '204': description: Response @@ -46500,7 +46974,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/cards#move-a-project-card parameters: - - *330 + - *332 requestBody: required: true content: @@ -46607,7 +47081,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/columns#get-a-project-column parameters: - - &333 + - &335 name: column_id description: The unique identifier of the column. in: path @@ -46619,7 +47093,7 @@ paths: description: Response content: application/json: - schema: &334 + schema: &336 title: Project Column description: Project columns contain cards of work. type: object @@ -46673,7 +47147,7 @@ paths: - created_at - updated_at examples: - default: &335 + default: &337 value: url: https://api.github.com/projects/columns/367 project_url: https://api.github.com/projects/120 @@ -46702,7 +47176,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/columns#update-an-existing-project-column parameters: - - *333 + - *335 requestBody: required: true content: @@ -46727,9 +47201,9 @@ paths: description: Response content: application/json: - schema: *334 + schema: *336 examples: - default: *335 + default: *337 '304': *35 '403': *27 '401': *23 @@ -46748,7 +47222,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/columns#delete-a-project-column parameters: - - *333 + - *335 responses: '204': description: Response @@ -46771,7 +47245,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/cards#list-project-cards parameters: - - *333 + - *335 - name: archived_state description: Filters the project cards that are returned by the card's state. in: query @@ -46792,7 +47266,7 @@ paths: application/json: schema: type: array - items: *331 + items: *333 examples: default: value: @@ -46845,7 +47319,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/cards#create-a-project-card parameters: - - *333 + - *335 requestBody: required: true content: @@ -46889,9 +47363,9 @@ paths: description: Response content: application/json: - schema: *331 + schema: *333 examples: - default: *332 + default: *334 '304': *35 '403': *27 '401': *23 @@ -46941,7 +47415,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/columns#move-a-project-column parameters: - - *333 + - *335 requestBody: required: true content: @@ -46998,15 +47472,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#get-a-project parameters: - - *325 + - *327 responses: '200': description: Response content: application/json: - schema: *279 + schema: *281 examples: - default: &336 + default: &338 value: owner_url: https://api.github.com/repos/api-playground/projects-test url: https://api.github.com/projects/1002604 @@ -47059,7 +47533,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#update-a-project parameters: - - *325 + - *327 requestBody: required: false content: @@ -47108,9 +47582,9 @@ paths: description: Response content: application/json: - schema: *279 + schema: *281 examples: - default: *336 + default: *338 '404': description: Not Found if the authenticated user does not have access to the project @@ -47131,7 +47605,7 @@ paths: items: type: string '401': *23 - '410': *337 + '410': *339 '422': *7 x-github: githubCloudOnly: false @@ -47149,7 +47623,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#delete-a-project parameters: - - *325 + - *327 responses: '204': description: Delete Success @@ -47170,7 +47644,7 @@ paths: items: type: string '401': *23 - '410': *337 + '410': *339 '404': *6 x-github: githubCloudOnly: false @@ -47193,7 +47667,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/collaborators#list-project-collaborators parameters: - - *325 + - *327 - name: affiliation description: Filters the collaborators by their affiliation. `outside` means outside collaborators of a project that are not a member of the project's @@ -47245,7 +47719,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/collaborators#add-project-collaborator parameters: - - *325 + - *327 - *195 requestBody: required: false @@ -47295,7 +47769,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/collaborators#remove-user-as-a-collaborator parameters: - - *325 + - *327 - *195 responses: '204': @@ -47324,7 +47798,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/collaborators#get-project-permission-for-a-user parameters: - - *325 + - *327 - *195 responses: '200': @@ -47389,7 +47863,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/columns#list-project-columns parameters: - - *325 + - *327 - *17 - *18 responses: @@ -47399,7 +47873,7 @@ paths: application/json: schema: type: array - items: *334 + items: *336 examples: default: value: @@ -47431,7 +47905,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/columns#create-a-project-column parameters: - - *325 + - *327 requestBody: required: true content: @@ -47455,7 +47929,7 @@ paths: description: Response content: application/json: - schema: *334 + schema: *336 examples: default: value: @@ -47516,7 +47990,7 @@ paths: resources: type: object properties: - core: &338 + core: &340 title: Rate Limit type: object properties: @@ -47533,20 +48007,20 @@ paths: - remaining - reset - used - graphql: *338 - search: *338 - code_search: *338 - source_import: *338 - integration_manifest: *338 - code_scanning_upload: *338 - actions_runner_registration: *338 - scim: *338 - dependency_snapshots: *338 - code_scanning_autofix: *338 + graphql: *340 + search: *340 + code_search: *340 + source_import: *340 + integration_manifest: *340 + code_scanning_upload: *340 + actions_runner_registration: *340 + scim: *340 + dependency_snapshots: *340 + code_scanning_autofix: *340 required: - core - search - rate: *338 + rate: *340 required: - rate - resources @@ -47650,14 +48124,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#get-a-repository parameters: - - *326 - - *327 + - *328 + - *329 responses: '200': description: Response content: application/json: - schema: *339 + schema: *341 examples: default-response: summary: Default response @@ -48162,7 +48636,7 @@ paths: status: disabled '403': *27 '404': *6 - '301': *340 + '301': *342 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -48180,8 +48654,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#update-a-repository parameters: - - *326 - - *327 + - *328 + - *329 requestBody: required: false content: @@ -48428,10 +48902,10 @@ paths: description: Response content: application/json: - schema: *339 + schema: *341 examples: - default: *341 - '307': &342 + default: *343 + '307': &344 description: Temporary Redirect content: application/json: @@ -48460,8 +48934,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#delete-a-repository parameters: - - *326 - - *327 + - *328 + - *329 responses: '204': description: Response @@ -48483,7 +48957,7 @@ paths: value: message: Organization members cannot delete repositories. documentation_url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#delete-a-repository - '307': *342 + '307': *344 '404': *6 x-github: githubCloudOnly: false @@ -48506,11 +48980,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#list-artifacts-for-a-repository parameters: - - *326 - - *327 + - *328 + - *329 - *17 - *18 - - &357 + - &359 name: name description: The name field of an artifact. When specified, only artifacts with this name will be returned. @@ -48533,7 +49007,7 @@ paths: type: integer artifacts: type: array - items: &343 + items: &345 title: Artifact description: An artifact type: object @@ -48619,7 +49093,7 @@ paths: - expires_at - updated_at examples: - default: &358 + default: &360 value: total_count: 2 artifacts: @@ -48678,9 +49152,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#get-an-artifact parameters: - - *326 - - *327 - - &344 + - *328 + - *329 + - &346 name: artifact_id description: The unique identifier of the artifact. in: path @@ -48692,7 +49166,7 @@ paths: description: Response content: application/json: - schema: *343 + schema: *345 examples: default: value: @@ -48729,9 +49203,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#delete-an-artifact parameters: - - *326 - - *327 - - *344 + - *328 + - *329 + - *346 responses: '204': description: Response @@ -48755,9 +49229,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#download-an-artifact parameters: - - *326 - - *327 - - *344 + - *328 + - *329 + - *346 - name: archive_format in: path required: true @@ -48771,7 +49245,7 @@ paths: 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': *337 + '410': *339 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -48794,14 +49268,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/cache#get-github-actions-cache-usage-for-a-repository parameters: - - *326 - - *327 + - *328 + - *329 responses: '200': description: Response content: application/json: - schema: *345 + schema: *347 examples: default: value: @@ -48827,11 +49301,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/cache#list-github-actions-caches-for-a-repository parameters: - - *326 - - *327 + - *328 + - *329 - *17 - *18 - - &346 + - &348 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 @@ -48865,7 +49339,7 @@ paths: description: Response content: application/json: - schema: &347 + schema: &349 title: Repository actions caches description: Repository actions caches type: object @@ -48915,7 +49389,7 @@ paths: - total_count - actions_caches examples: - default: &348 + default: &350 value: total_count: 1 actions_caches: @@ -48947,23 +49421,23 @@ paths: 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 parameters: - - *326 - - *327 + - *328 + - *329 - name: key description: A key for identifying the cache. in: query required: true schema: type: string - - *346 + - *348 responses: '200': description: Response content: application/json: - schema: *347 + schema: *349 examples: - default: *348 + default: *350 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -48983,8 +49457,8 @@ paths: 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 parameters: - - *326 - - *327 + - *328 + - *329 - name: cache_id description: The unique identifier of the GitHub Actions cache. in: path @@ -49015,9 +49489,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-jobs#get-a-job-for-a-workflow-run parameters: - - *326 - - *327 - - &349 + - *328 + - *329 + - &351 name: job_id description: The unique identifier of the job. in: path @@ -49029,7 +49503,7 @@ paths: description: Response content: application/json: - schema: &361 + schema: &363 title: Job description: Information of a job execution in a workflow run type: object @@ -49376,9 +49850,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-jobs#download-job-logs-for-a-workflow-run parameters: - - *326 - - *327 - - *349 + - *328 + - *329 + - *351 responses: '302': description: Response @@ -49406,9 +49880,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#re-run-a-job-from-a-workflow-run parameters: - - *326 - - *327 - - *349 + - *328 + - *329 + - *351 requestBody: required: false content: @@ -49454,8 +49928,8 @@ paths: 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 parameters: - - *326 - - *327 + - *328 + - *329 responses: '200': description: Status response @@ -49505,8 +49979,8 @@ paths: 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 parameters: - - *326 - - *327 + - *328 + - *329 requestBody: required: true content: @@ -49569,8 +50043,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#list-repository-organization-secrets parameters: - - *326 - - *327 + - *328 + - *329 - *17 - *18 responses: @@ -49588,7 +50062,7 @@ paths: type: integer secrets: type: array - items: &363 + items: &365 title: Actions Secret description: Set secrets for GitHub Actions. type: object @@ -49609,7 +50083,7 @@ paths: - created_at - updated_at examples: - default: &364 + default: &366 value: total_count: 2 secrets: @@ -49642,9 +50116,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-repository-organization-variables parameters: - - *326 - - *327 - - *350 + - *328 + - *329 + - *352 - *18 responses: '200': @@ -49661,7 +50135,7 @@ paths: type: integer variables: type: array - items: &367 + items: &369 title: Actions Variable type: object properties: @@ -49695,7 +50169,7 @@ paths: - created_at - updated_at examples: - default: &368 + default: &370 value: total_count: 2 variables: @@ -49728,8 +50202,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#get-github-actions-permissions-for-a-repository parameters: - - *326 - - *327 + - *328 + - *329 responses: '200': description: Response @@ -49738,7 +50212,7 @@ paths: schema: type: object properties: - enabled: &351 + enabled: &353 type: boolean description: Whether GitHub Actions is enabled on the repository. allowed_actions: *40 @@ -49771,8 +50245,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#set-github-actions-permissions-for-a-repository parameters: - - *326 - - *327 + - *328 + - *329 responses: '204': description: Response @@ -49783,7 +50257,7 @@ paths: schema: type: object properties: - enabled: *351 + enabled: *353 allowed_actions: *40 required: - enabled @@ -49814,14 +50288,14 @@ paths: 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 parameters: - - *326 - - *327 + - *328 + - *329 responses: '200': description: Response content: application/json: - schema: &352 + schema: &354 type: object properties: access_level: @@ -49839,7 +50313,7 @@ paths: required: - access_level examples: - default: &353 + default: &355 value: access_level: organization x-github: @@ -49864,15 +50338,15 @@ paths: 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 parameters: - - *326 - - *327 + - *328 + - *329 requestBody: required: true content: application/json: - schema: *352 + schema: *354 examples: - default: *353 + default: *355 responses: '204': description: Response @@ -49896,8 +50370,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#get-allowed-actions-and-reusable-workflows-for-a-repository parameters: - - *326 - - *327 + - *328 + - *329 responses: '200': description: Response @@ -49928,8 +50402,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#set-allowed-actions-and-reusable-workflows-for-a-repository parameters: - - *326 - - *327 + - *328 + - *329 responses: '204': description: Response @@ -49961,8 +50435,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#get-default-workflow-permissions-for-a-repository parameters: - - *326 - - *327 + - *328 + - *329 responses: '200': description: Response @@ -49991,8 +50465,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#set-default-workflow-permissions-for-a-repository parameters: - - *326 - - *327 + - *328 + - *329 responses: '204': description: Success response @@ -50032,8 +50506,8 @@ paths: in: query schema: type: string - - *326 - - *327 + - *328 + - *329 - *17 - *18 responses: @@ -50077,8 +50551,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#list-runner-applications-for-a-repository parameters: - - *326 - - *327 + - *328 + - *329 responses: '200': description: Response @@ -50110,8 +50584,8 @@ paths: 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 parameters: - - *326 - - *327 + - *328 + - *329 requestBody: required: true content: @@ -50184,8 +50658,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#create-a-registration-token-for-a-repository parameters: - - *326 - - *327 + - *328 + - *329 responses: '201': description: Response @@ -50221,8 +50695,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#create-a-remove-token-for-a-repository parameters: - - *326 - - *327 + - *328 + - *329 responses: '201': description: Response @@ -50252,8 +50726,8 @@ paths: 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 parameters: - - *326 - - *327 + - *328 + - *329 - *52 responses: '200': @@ -50283,8 +50757,8 @@ paths: 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 parameters: - - *326 - - *327 + - *328 + - *329 - *52 responses: '204': @@ -50310,8 +50784,8 @@ paths: 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 parameters: - - *326 - - *327 + - *328 + - *329 - *52 responses: '200': *58 @@ -50336,8 +50810,8 @@ paths: 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 parameters: - - *326 - - *327 + - *328 + - *329 - *52 requestBody: required: true @@ -50386,8 +50860,8 @@ paths: 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 parameters: - - *326 - - *327 + - *328 + - *329 - *52 requestBody: required: true @@ -50437,8 +50911,8 @@ paths: 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 parameters: - - *326 - - *327 + - *328 + - *329 - *52 responses: '200': *180 @@ -50468,8 +50942,8 @@ paths: 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 parameters: - - *326 - - *327 + - *328 + - *329 - *52 - *181 responses: @@ -50499,9 +50973,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#list-workflow-runs-for-a-repository parameters: - - *326 - - *327 - - &371 + - *328 + - *329 + - &373 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. @@ -50509,7 +50983,7 @@ paths: required: false schema: type: string - - &372 + - &374 name: branch description: Returns workflow runs associated with a branch. Use the name of the branch of the `push`. @@ -50517,7 +50991,7 @@ paths: required: false schema: type: string - - &373 + - &375 name: event description: Returns workflow run triggered by the event you specify. For example, `push`, `pull_request` or `issue`. For more information, see "[Events @@ -50526,7 +51000,7 @@ paths: required: false schema: type: string - - &374 + - &376 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 @@ -50553,7 +51027,7 @@ paths: - pending - *17 - *18 - - &375 + - &377 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)." @@ -50562,7 +51036,7 @@ paths: schema: type: string format: date-time - - &354 + - &356 name: exclude_pull_requests description: If `true` pull requests are omitted from the response (empty array). @@ -50571,13 +51045,13 @@ paths: schema: type: boolean default: false - - &376 + - &378 name: check_suite_id description: Returns workflow runs with the `check_suite_id` that you specify. in: query schema: type: integer - - &377 + - &379 name: head_sha description: Only returns workflow runs that are associated with the specified `head_sha`. @@ -50600,7 +51074,7 @@ paths: type: integer workflow_runs: type: array - items: &355 + items: &357 title: Workflow Run description: An invocation of a workflow type: object @@ -50717,7 +51191,7 @@ paths: type: - array - 'null' - items: &401 + items: &403 title: Pull Request Minimal type: object properties: @@ -50844,7 +51318,7 @@ paths: head_commit: anyOf: - type: 'null' - - &405 + - &407 title: Simple Commit description: A commit. type: object @@ -50959,7 +51433,7 @@ paths: - workflow_url - pull_requests examples: - default: &378 + default: &380 value: total_count: 1 workflow_runs: @@ -51195,24 +51669,24 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#get-a-workflow-run parameters: - - *326 - - *327 - - &356 + - *328 + - *329 + - &358 name: run_id description: The unique identifier of the workflow run. in: path required: true schema: type: integer - - *354 + - *356 responses: '200': description: Response content: application/json: - schema: *355 + schema: *357 examples: - default: &359 + default: &361 value: id: 30433642 name: Build @@ -51453,9 +51927,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#delete-a-workflow-run parameters: - - *326 - - *327 - - *356 + - *328 + - *329 + - *358 responses: '204': description: Response @@ -51478,9 +51952,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#get-the-review-history-for-a-workflow-run parameters: - - *326 - - *327 - - *356 + - *328 + - *329 + - *358 responses: '200': description: Response @@ -51608,9 +52082,9 @@ paths: 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 parameters: - - *326 - - *327 - - *356 + - *328 + - *329 + - *358 responses: '201': description: Response @@ -51643,12 +52117,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#list-workflow-run-artifacts parameters: - - *326 - - *327 - - *356 + - *328 + - *329 + - *358 - *17 - *18 - - *357 + - *359 responses: '200': description: Response @@ -51664,9 +52138,9 @@ paths: type: integer artifacts: type: array - items: *343 + items: *345 examples: - default: *358 + default: *360 headers: Link: *37 x-github: @@ -51690,25 +52164,25 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#get-a-workflow-run-attempt parameters: - - *326 - - *327 - - *356 - - &360 + - *328 + - *329 + - *358 + - &362 name: attempt_number description: The attempt number of the workflow run. in: path required: true schema: type: integer - - *354 + - *356 responses: '200': description: Response content: application/json: - schema: *355 + schema: *357 examples: - default: *359 + default: *361 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -51731,10 +52205,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-jobs#list-jobs-for-a-workflow-run-attempt parameters: - - *326 - - *327 - - *356 - - *360 + - *328 + - *329 + - *358 + - *362 - *17 - *18 responses: @@ -51752,9 +52226,9 @@ paths: type: integer jobs: type: array - items: *361 + items: *363 examples: - default: &362 + default: &364 value: total_count: 1 jobs: @@ -51867,10 +52341,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#download-workflow-run-attempt-logs parameters: - - *326 - - *327 - - *356 - - *360 + - *328 + - *329 + - *358 + - *362 responses: '302': description: Response @@ -51898,9 +52372,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#cancel-a-workflow-run parameters: - - *326 - - *327 - - *356 + - *328 + - *329 + - *358 responses: '202': description: Response @@ -51933,9 +52407,9 @@ paths: 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 parameters: - - *326 - - *327 - - *356 + - *328 + - *329 + - *358 requestBody: required: true content: @@ -52002,9 +52476,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#force-cancel-a-workflow-run parameters: - - *326 - - *327 - - *356 + - *328 + - *329 + - *358 responses: '202': description: Response @@ -52037,9 +52511,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-jobs#list-jobs-for-a-workflow-run parameters: - - *326 - - *327 - - *356 + - *328 + - *329 + - *358 - 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 @@ -52069,9 +52543,9 @@ paths: type: integer jobs: type: array - items: *361 + items: *363 examples: - default: *362 + default: *364 headers: Link: *37 x-github: @@ -52096,9 +52570,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#download-workflow-run-logs parameters: - - *326 - - *327 - - *356 + - *328 + - *329 + - *358 responses: '302': description: Response @@ -52125,9 +52599,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#delete-workflow-run-logs parameters: - - *326 - - *327 - - *356 + - *328 + - *329 + - *358 responses: '204': description: Response @@ -52154,9 +52628,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#get-pending-deployments-for-a-workflow-run parameters: - - *326 - - *327 - - *356 + - *328 + - *329 + - *358 responses: '200': description: Response @@ -52225,7 +52699,7 @@ paths: items: type: object properties: - type: &476 + type: &478 type: string description: The type of reviewer. enum: @@ -52311,9 +52785,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#review-pending-deployments-for-a-workflow-run parameters: - - *326 - - *327 - - *356 + - *328 + - *329 + - *358 requestBody: required: true content: @@ -52363,7 +52837,7 @@ paths: application/json: schema: type: array - items: &471 + items: &473 title: Deployment description: A request for a specific ref(branch,sha,tag) to be deployed @@ -52475,7 +52949,7 @@ paths: - created_at - updated_at examples: - default: &472 + default: &474 value: - url: https://api.github.com/repos/octocat/example/deployments/1 id: 1 @@ -52531,9 +53005,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#re-run-a-workflow parameters: - - *326 - - *327 - - *356 + - *328 + - *329 + - *358 requestBody: required: false content: @@ -52578,9 +53052,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#re-run-failed-jobs-from-a-workflow-run parameters: - - *326 - - *327 - - *356 + - *328 + - *329 + - *358 requestBody: required: false content: @@ -52627,9 +53101,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#get-workflow-run-usage parameters: - - *326 - - *327 - - *356 + - *328 + - *329 + - *358 responses: '200': description: Response @@ -52766,8 +53240,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#list-repository-secrets parameters: - - *326 - - *327 + - *328 + - *329 - *17 - *18 responses: @@ -52785,9 +53259,9 @@ paths: type: integer secrets: type: array - items: *363 + items: *365 examples: - default: *364 + default: *366 headers: Link: *37 x-github: @@ -52812,16 +53286,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-a-repository-public-key parameters: - - *326 - - *327 + - *328 + - *329 responses: '200': description: Response content: application/json: - schema: *365 + schema: *367 examples: - default: *366 + default: *368 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -52843,17 +53317,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-a-repository-secret parameters: - - *326 - - *327 + - *328 + - *329 - *183 responses: '200': description: Response content: application/json: - schema: *363 + schema: *365 examples: - default: &489 + default: &491 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -52879,8 +53353,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#create-or-update-a-repository-secret parameters: - - *326 - - *327 + - *328 + - *329 - *183 requestBody: required: true @@ -52935,8 +53409,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#delete-a-repository-secret parameters: - - *326 - - *327 + - *328 + - *329 - *183 responses: '204': @@ -52962,9 +53436,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-repository-variables parameters: - - *326 - - *327 - - *350 + - *328 + - *329 + - *352 - *18 responses: '200': @@ -52981,9 +53455,9 @@ paths: type: integer variables: type: array - items: *367 + items: *369 examples: - default: *368 + default: *370 headers: Link: *37 x-github: @@ -53006,8 +53480,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#create-a-repository-variable parameters: - - *326 - - *327 + - *328 + - *329 requestBody: required: true content: @@ -53059,17 +53533,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#get-a-repository-variable parameters: - - *326 - - *327 + - *328 + - *329 - *186 responses: '200': description: Response content: application/json: - schema: *367 + schema: *369 examples: - default: &490 + default: &492 value: name: USERNAME value: octocat @@ -53095,8 +53569,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#update-a-repository-variable parameters: - - *326 - - *327 + - *328 + - *329 - *186 requestBody: required: true @@ -53139,8 +53613,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#delete-a-repository-variable parameters: - - *326 - - *327 + - *328 + - *329 - *186 responses: '204': @@ -53166,8 +53640,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#list-repository-workflows parameters: - - *326 - - *327 + - *328 + - *329 - *17 - *18 responses: @@ -53185,7 +53659,7 @@ paths: type: integer workflows: type: array - items: &369 + items: &371 title: Workflow description: A GitHub Actions workflow type: object @@ -53303,9 +53777,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#get-a-workflow parameters: - - *326 - - *327 - - &370 + - *328 + - *329 + - &372 name: workflow_id in: path description: The ID of the workflow. You can also pass the workflow file name @@ -53320,7 +53794,7 @@ paths: description: Response content: application/json: - schema: *369 + schema: *371 examples: default: value: @@ -53353,9 +53827,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#disable-a-workflow parameters: - - *326 - - *327 - - *370 + - *328 + - *329 + - *372 responses: '204': description: Response @@ -53380,9 +53854,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#create-a-workflow-dispatch-event parameters: - - *326 - - *327 - - *370 + - *328 + - *329 + - *372 responses: '204': description: Response @@ -53433,9 +53907,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#enable-a-workflow parameters: - - *326 - - *327 - - *370 + - *328 + - *329 + - *372 responses: '204': description: Response @@ -53462,19 +53936,19 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#list-workflow-runs-for-a-workflow parameters: - - *326 - - *327 - - *370 - - *371 + - *328 + - *329 - *372 - *373 - *374 - - *17 - - *18 - *375 - - *354 - *376 + - *17 + - *18 - *377 + - *356 + - *378 + - *379 responses: '200': description: Response @@ -53490,9 +53964,9 @@ paths: type: integer workflow_runs: type: array - items: *355 + items: *357 examples: - default: *378 + default: *380 headers: Link: *37 x-github: @@ -53518,9 +53992,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#get-workflow-usage parameters: - - *326 - - *327 - - *370 + - *328 + - *329 + - *372 responses: '200': description: Response @@ -53581,8 +54055,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-activities parameters: - - *326 - - *327 + - *328 + - *329 - *76 - *17 - *74 @@ -53750,8 +54224,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/assignees#list-assignees parameters: - - *326 - - *327 + - *328 + - *329 - *17 - *18 responses: @@ -53788,8 +54262,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/assignees#check-if-a-user-can-be-assigned parameters: - - *326 - - *327 + - *328 + - *329 - name: assignee in: path required: true @@ -53825,8 +54299,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#create-an-attestation parameters: - - *326 - - *327 + - *328 + - *329 requestBody: required: true content: @@ -53938,8 +54412,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-attestations parameters: - - *326 - - *327 + - *328 + - *329 - *17 - *74 - *75 @@ -53985,7 +54459,7 @@ paths: bundle_url: type: string examples: - default: *379 + default: *381 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -54005,8 +54479,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/autolinks#get-all-autolinks-of-a-repository parameters: - - *326 - - *327 + - *328 + - *329 responses: '200': description: Response @@ -54014,7 +54488,7 @@ paths: application/json: schema: type: array - items: &380 + items: &382 title: Autolink reference description: An autolink reference. type: object @@ -54068,8 +54542,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/autolinks#create-an-autolink-reference-for-a-repository parameters: - - *326 - - *327 + - *328 + - *329 requestBody: required: true content: @@ -54108,9 +54582,9 @@ paths: description: response content: application/json: - schema: *380 + schema: *382 examples: - default: &381 + default: &383 value: id: 1 key_prefix: TICKET- @@ -54141,9 +54615,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/autolinks#get-an-autolink-reference-of-a-repository parameters: - - *326 - - *327 - - &382 + - *328 + - *329 + - &384 name: autolink_id description: The unique identifier of the autolink. in: path @@ -54155,9 +54629,9 @@ paths: description: Response content: application/json: - schema: *380 + schema: *382 examples: - default: *381 + default: *383 '404': *6 x-github: githubCloudOnly: false @@ -54177,9 +54651,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/autolinks#delete-an-autolink-reference-from-a-repository parameters: - - *326 - - *327 - - *382 + - *328 + - *329 + - *384 responses: '204': description: Response @@ -54203,8 +54677,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#check-if-automated-security-fixes-are-enabled-for-a-repository parameters: - - *326 - - *327 + - *328 + - *329 responses: '200': description: Response if Dependabot is enabled @@ -54254,8 +54728,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#enable-automated-security-fixes parameters: - - *326 - - *327 + - *328 + - *329 responses: '204': description: Response @@ -54276,8 +54750,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#disable-automated-security-fixes parameters: - - *326 - - *327 + - *328 + - *329 responses: '204': description: Response @@ -54297,8 +54771,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#list-branches parameters: - - *326 - - *327 + - *328 + - *329 - name: protected description: Setting to `true` returns only branches protected by branch protections or rulesets. When set to `false`, only unprotected branches are returned. @@ -54336,7 +54810,7 @@ paths: - url protected: type: boolean - protection: &384 + protection: &386 title: Branch Protection description: Branch Protection type: object @@ -54379,7 +54853,7 @@ paths: required: - contexts - checks - enforce_admins: &387 + enforce_admins: &389 title: Protected Branch Admin Enforced description: Protected Branch Admin Enforced type: object @@ -54396,7 +54870,7 @@ paths: required: - url - enabled - required_pull_request_reviews: &389 + required_pull_request_reviews: &391 title: Protected Branch Pull Request Review description: Protected Branch Pull Request Review type: object @@ -54480,7 +54954,7 @@ paths: required: - dismiss_stale_reviews - require_code_owner_reviews - restrictions: &386 + restrictions: &388 title: Branch Restriction Policy description: Branch Restriction Policy type: object @@ -54805,9 +55279,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#get-a-branch parameters: - - *326 - - *327 - - &385 + - *328 + - *329 + - &387 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). @@ -54821,14 +55295,14 @@ paths: description: Response content: application/json: - schema: &395 + schema: &397 title: Branch With Protection description: Branch With Protection type: object properties: name: type: string - commit: &447 + commit: &449 title: Commit description: Commit type: object @@ -54867,7 +55341,7 @@ paths: author: anyOf: - type: 'null' - - &383 + - &385 title: Git User description: Metaproperties for Git author/committer information. @@ -54888,7 +55362,7 @@ paths: committer: anyOf: - type: 'null' - - *383 + - *385 message: type: string examples: @@ -54912,7 +55386,7 @@ paths: required: - sha - url - verification: &496 + verification: &498 title: Verification type: object properties: @@ -54991,7 +55465,7 @@ paths: type: integer files: type: array - items: &459 + items: &461 title: Diff Entry description: Diff Entry type: object @@ -55085,7 +55559,7 @@ paths: - self protected: type: boolean - protection: *384 + protection: *386 protection_url: type: string format: uri @@ -55194,7 +55668,7 @@ paths: contexts: [] checks: [] protection_url: https://api.github.com/repos/octocat/Hello-World/branches/main/protection - '301': *340 + '301': *342 '404': *6 x-github: githubCloudOnly: false @@ -55216,15 +55690,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-branch-protection parameters: - - *326 - - *327 - - *385 + - *328 + - *329 + - *387 responses: '200': description: Response content: application/json: - schema: *384 + schema: *386 examples: default: value: @@ -55418,9 +55892,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#update-branch-protection parameters: - - *326 - - *327 - - *385 + - *328 + - *329 + - *387 requestBody: required: true content: @@ -55680,7 +56154,7 @@ paths: url: type: string format: uri - required_status_checks: &392 + required_status_checks: &394 title: Status Check Policy description: Status Check Policy type: object @@ -55839,7 +56313,7 @@ paths: additionalProperties: false required: - enabled - restrictions: *386 + restrictions: *388 required_conversation_resolution: type: object properties: @@ -55951,9 +56425,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-branch-protection parameters: - - *326 - - *327 - - *385 + - *328 + - *329 + - *387 responses: '204': description: Response @@ -55978,17 +56452,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-admin-branch-protection parameters: - - *326 - - *327 - - *385 + - *328 + - *329 + - *387 responses: '200': description: Response content: application/json: - schema: *387 + schema: *389 examples: - default: &388 + default: &390 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/enforce_admins enabled: true @@ -56010,17 +56484,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-admin-branch-protection parameters: - - *326 - - *327 - - *385 + - *328 + - *329 + - *387 responses: '200': description: Response content: application/json: - schema: *387 + schema: *389 examples: - default: *388 + default: *390 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -56039,9 +56513,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-admin-branch-protection parameters: - - *326 - - *327 - - *385 + - *328 + - *329 + - *387 responses: '204': description: Response @@ -56066,17 +56540,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-pull-request-review-protection parameters: - - *326 - - *327 - - *385 + - *328 + - *329 + - *387 responses: '200': description: Response content: application/json: - schema: *389 + schema: *391 examples: - default: &390 + default: &392 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_pull_request_reviews dismissal_restrictions: @@ -56172,9 +56646,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#update-pull-request-review-protection parameters: - - *326 - - *327 - - *385 + - *328 + - *329 + - *387 requestBody: required: false content: @@ -56272,9 +56746,9 @@ paths: description: Response content: application/json: - schema: *389 + schema: *391 examples: - default: *390 + default: *392 '422': *15 x-github: githubCloudOnly: false @@ -56295,9 +56769,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-pull-request-review-protection parameters: - - *326 - - *327 - - *385 + - *328 + - *329 + - *387 responses: '204': description: Response @@ -56324,17 +56798,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-commit-signature-protection parameters: - - *326 - - *327 - - *385 + - *328 + - *329 + - *387 responses: '200': description: Response content: application/json: - schema: *387 + schema: *389 examples: - default: &391 + default: &393 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_signatures enabled: true @@ -56357,17 +56831,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#create-commit-signature-protection parameters: - - *326 - - *327 - - *385 + - *328 + - *329 + - *387 responses: '200': description: Response content: application/json: - schema: *387 + schema: *389 examples: - default: *391 + default: *393 '404': *6 x-github: githubCloudOnly: false @@ -56387,9 +56861,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-commit-signature-protection parameters: - - *326 - - *327 - - *385 + - *328 + - *329 + - *387 responses: '204': description: Response @@ -56414,17 +56888,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-status-checks-protection parameters: - - *326 - - *327 - - *385 + - *328 + - *329 + - *387 responses: '200': description: Response content: application/json: - schema: *392 + schema: *394 examples: - default: &393 + default: &395 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_status_checks strict: true @@ -56450,9 +56924,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#update-status-check-protection parameters: - - *326 - - *327 - - *385 + - *328 + - *329 + - *387 requestBody: required: false content: @@ -56504,9 +56978,9 @@ paths: description: Response content: application/json: - schema: *392 + schema: *394 examples: - default: *393 + default: *395 '404': *6 '422': *15 x-github: @@ -56528,9 +57002,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-status-check-protection parameters: - - *326 - - *327 - - *385 + - *328 + - *329 + - *387 responses: '204': description: Response @@ -56554,9 +57028,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-all-status-check-contexts parameters: - - *326 - - *327 - - *385 + - *328 + - *329 + - *387 responses: '200': description: Response @@ -56590,9 +57064,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#add-status-check-contexts parameters: - - *326 - - *327 - - *385 + - *328 + - *329 + - *387 requestBody: required: false content: @@ -56659,9 +57133,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-status-check-contexts parameters: - - *326 - - *327 - - *385 + - *328 + - *329 + - *387 requestBody: required: false content: @@ -56725,9 +57199,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-status-check-contexts parameters: - - *326 - - *327 - - *385 + - *328 + - *329 + - *387 requestBody: content: application/json: @@ -56793,15 +57267,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-access-restrictions parameters: - - *326 - - *327 - - *385 + - *328 + - *329 + - *387 responses: '200': description: Response content: application/json: - schema: *386 + schema: *388 examples: default: value: @@ -56892,9 +57366,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-access-restrictions parameters: - - *326 - - *327 - - *385 + - *328 + - *329 + - *387 responses: '204': description: Response @@ -56917,9 +57391,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-apps-with-access-to-the-protected-branch parameters: - - *326 - - *327 - - *385 + - *328 + - *329 + - *387 responses: '200': description: Response @@ -56929,7 +57403,7 @@ paths: type: array items: *5 examples: - default: &394 + default: &396 value: - id: 1 slug: octoapp @@ -56986,9 +57460,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#add-app-access-restrictions parameters: - - *326 - - *327 - - *385 + - *328 + - *329 + - *387 requestBody: required: true content: @@ -57022,7 +57496,7 @@ paths: type: array items: *5 examples: - default: *394 + default: *396 '422': *15 x-github: githubCloudOnly: false @@ -57043,9 +57517,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-app-access-restrictions parameters: - - *326 - - *327 - - *385 + - *328 + - *329 + - *387 requestBody: required: true content: @@ -57079,7 +57553,7 @@ paths: type: array items: *5 examples: - default: *394 + default: *396 '422': *15 x-github: githubCloudOnly: false @@ -57100,9 +57574,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-app-access-restrictions parameters: - - *326 - - *327 - - *385 + - *328 + - *329 + - *387 requestBody: required: true content: @@ -57136,7 +57610,7 @@ paths: type: array items: *5 examples: - default: *394 + default: *396 '422': *15 x-github: githubCloudOnly: false @@ -57158,9 +57632,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-teams-with-access-to-the-protected-branch parameters: - - *326 - - *327 - - *385 + - *328 + - *329 + - *387 responses: '200': description: Response @@ -57190,9 +57664,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#add-team-access-restrictions parameters: - - *326 - - *327 - - *385 + - *328 + - *329 + - *387 requestBody: required: false content: @@ -57251,9 +57725,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-team-access-restrictions parameters: - - *326 - - *327 - - *385 + - *328 + - *329 + - *387 requestBody: required: false content: @@ -57312,9 +57786,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-team-access-restrictions parameters: - - *326 - - *327 - - *385 + - *328 + - *329 + - *387 requestBody: content: application/json: @@ -57373,9 +57847,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-users-with-access-to-the-protected-branch parameters: - - *326 - - *327 - - *385 + - *328 + - *329 + - *387 responses: '200': description: Response @@ -57409,9 +57883,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#add-user-access-restrictions parameters: - - *326 - - *327 - - *385 + - *328 + - *329 + - *387 requestBody: required: true content: @@ -57469,9 +57943,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-user-access-restrictions parameters: - - *326 - - *327 - - *385 + - *328 + - *329 + - *387 requestBody: required: true content: @@ -57529,9 +58003,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-user-access-restrictions parameters: - - *326 - - *327 - - *385 + - *328 + - *329 + - *387 requestBody: required: true content: @@ -57591,9 +58065,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#rename-a-branch parameters: - - *326 - - *327 - - *385 + - *328 + - *329 + - *387 requestBody: required: true content: @@ -57615,7 +58089,7 @@ paths: description: Response content: application/json: - schema: *395 + schema: *397 examples: default: value: @@ -57729,12 +58203,12 @@ paths: category: repos subcategory: bypass-requests parameters: - - *326 - - *327 - - *396 - - *397 - - *287 + - *328 + - *329 - *398 + - *399 + - *289 + - *400 - *17 - *18 responses: @@ -57744,9 +58218,9 @@ paths: application/json: schema: type: array - items: *399 + items: *401 examples: - default: *400 + default: *402 '404': *6 '500': *87 "/repos/{owner}/{repo}/bypass-requests/push-rules/{bypass_request_number}": @@ -57766,8 +58240,8 @@ paths: category: repos subcategory: bypass-requests parameters: - - *326 - - *327 + - *328 + - *329 - name: bypass_request_number in: path required: true @@ -57781,7 +58255,7 @@ paths: description: Response content: application/json: - schema: *399 + schema: *401 examples: default: value: @@ -57839,8 +58313,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#create-a-check-run parameters: - - *326 - - *327 + - *328 + - *329 requestBody: required: true content: @@ -58119,7 +58593,7 @@ paths: description: Response content: application/json: - schema: &402 + schema: &404 title: CheckRun description: A check performed on the code of a given code change type: object @@ -58254,8 +58728,8 @@ paths: do not necessarily indicate pull requests that triggered the check. type: array - items: *401 - deployment: &706 + items: *403 + deployment: &708 title: Deployment description: A deployment created as the result of an Actions check run from a workflow that references an environment @@ -58542,9 +59016,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#get-a-check-run parameters: - - *326 - - *327 - - &403 + - *328 + - *329 + - &405 name: check_run_id description: The unique identifier of the check run. in: path @@ -58556,9 +59030,9 @@ paths: description: Response content: application/json: - schema: *402 + schema: *404 examples: - default: &404 + default: &406 value: id: 4 head_sha: ce587453ced02b1526dfb4cb910479d431683101 @@ -58658,9 +59132,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#update-a-check-run parameters: - - *326 - - *327 - - *403 + - *328 + - *329 + - *405 requestBody: required: true content: @@ -58900,9 +59374,9 @@ paths: description: Response content: application/json: - schema: *402 + schema: *404 examples: - default: *404 + default: *406 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -58922,9 +59396,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#list-check-run-annotations parameters: - - *326 - - *327 - - *403 + - *328 + - *329 + - *405 - *17 - *18 responses: @@ -59036,9 +59510,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#rerequest-a-check-run parameters: - - *326 - - *327 - - *403 + - *328 + - *329 + - *405 responses: '201': description: Response @@ -59082,8 +59556,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#create-a-check-suite parameters: - - *326 - - *327 + - *328 + - *329 requestBody: required: true content: @@ -59105,7 +59579,7 @@ paths: description: Response when the suite already exists content: application/json: - schema: &406 + schema: &408 title: CheckSuite description: A suite of checks performed on the code of a given code change @@ -59187,7 +59661,7 @@ paths: type: - array - 'null' - items: *401 + items: *403 app: anyOf: - type: 'null' @@ -59203,7 +59677,7 @@ paths: - string - 'null' format: date-time - head_commit: *405 + head_commit: *407 latest_check_runs_count: type: integer check_runs_url: @@ -59231,7 +59705,7 @@ paths: - check_runs_url - pull_requests examples: - default: &407 + default: &409 value: id: 5 node_id: MDEwOkNoZWNrU3VpdGU1 @@ -59522,9 +59996,9 @@ paths: description: Response when the suite was created content: application/json: - schema: *406 + schema: *408 examples: - default: *407 + default: *409 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -59543,8 +60017,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#update-repository-preferences-for-check-suites parameters: - - *326 - - *327 + - *328 + - *329 requestBody: required: true content: @@ -59853,9 +60327,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#get-a-check-suite parameters: - - *326 - - *327 - - &408 + - *328 + - *329 + - &410 name: check_suite_id description: The unique identifier of the check suite. in: path @@ -59867,9 +60341,9 @@ paths: description: Response content: application/json: - schema: *406 + schema: *408 examples: - default: *407 + default: *409 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -59892,17 +60366,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#list-check-runs-in-a-check-suite parameters: - - *326 - - *327 - - *408 - - &454 + - *328 + - *329 + - *410 + - &456 name: check_name description: Returns check runs with the specified `name`. in: query required: false schema: type: string - - &455 + - &457 name: status description: Returns check runs with the specified `status`. in: query @@ -59941,9 +60415,9 @@ paths: type: integer check_runs: type: array - items: *402 + items: *404 examples: - default: &456 + default: &458 value: total_count: 1 check_runs: @@ -60045,9 +60519,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#rerequest-a-check-suite parameters: - - *326 - - *327 - - *408 + - *328 + - *329 + - *410 responses: '201': description: Response @@ -60080,21 +60554,21 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#list-code-scanning-alerts-for-a-repository parameters: - - *326 - - *327 + - *328 + - *329 - *196 - *197 - *18 - *17 - - &424 + - &426 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: *409 - - &425 + schema: *411 + - &427 name: pr description: The number of the pull request for the results you want to list. in: query @@ -60125,7 +60599,7 @@ paths: be returned. in: query required: false - schema: *410 + schema: *412 responses: '200': description: Response @@ -60141,7 +60615,7 @@ paths: updated_at: *95 url: *92 html_url: *93 - instances_url: *411 + instances_url: *413 state: *79 fixed_at: *97 dismissed_by: @@ -60149,11 +60623,11 @@ paths: - type: 'null' - *4 dismissed_at: *96 - dismissed_reason: *412 - dismissed_comment: *413 - rule: *414 - tool: *415 - most_recent_instance: *416 + dismissed_reason: *414 + dismissed_comment: *415 + rule: *416 + tool: *417 + most_recent_instance: *418 required: - number - created_at @@ -60269,7 +60743,7 @@ paths: classifications: [] instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/3/instances '304': *35 - '403': &417 + '403': &419 description: Response if GitHub Advanced Security is not enabled for this repository content: @@ -60296,9 +60770,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#get-a-code-scanning-alert parameters: - - *326 - - *327 - - &418 + - *328 + - *329 + - &420 name: alert_number in: path description: The number that identifies an alert. You can find this at the @@ -60312,7 +60786,7 @@ paths: description: Response content: application/json: - schema: &419 + schema: &421 type: object properties: number: *88 @@ -60320,7 +60794,7 @@ paths: updated_at: *95 url: *92 html_url: *93 - instances_url: *411 + instances_url: *413 state: *79 fixed_at: *97 dismissed_by: @@ -60328,8 +60802,8 @@ paths: - type: 'null' - *4 dismissed_at: *96 - dismissed_reason: *412 - dismissed_comment: *413 + dismissed_reason: *414 + dismissed_comment: *415 rule: type: object properties: @@ -60391,8 +60865,8 @@ paths: - 'null' description: A link to the documentation for the rule used to detect the alert. - tool: *415 - most_recent_instance: *416 + tool: *417 + most_recent_instance: *418 required: - number - created_at @@ -60481,7 +60955,7 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '304': *35 - '403': *417 + '403': *419 '404': *6 '503': *115 x-github: @@ -60501,9 +60975,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#update-a-code-scanning-alert parameters: - - *326 - - *327 - - *418 + - *328 + - *329 + - *420 requestBody: required: true content: @@ -60518,8 +60992,8 @@ paths: enum: - open - dismissed - dismissed_reason: *412 - dismissed_comment: *413 + dismissed_reason: *414 + dismissed_comment: *415 required: - state examples: @@ -60534,7 +61008,7 @@ paths: description: Response content: application/json: - schema: *419 + schema: *421 examples: default: value: @@ -60609,7 +61083,7 @@ paths: classifications: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances - '403': &423 + '403': &425 description: Response if the repository is archived or if GitHub Advanced Security is not enabled for this repository content: @@ -60636,15 +61110,15 @@ paths: 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 parameters: - - *326 - - *327 - - *418 + - *328 + - *329 + - *420 responses: '200': description: Response content: application/json: - schema: &420 + schema: &422 type: object properties: status: @@ -60671,13 +61145,13 @@ paths: - description - started_at examples: - default: &421 + default: &423 value: status: success description: This fixes an XSS vulnerability by escaping the user input. started_at: '2024-02-14T12:29:18Z' - '400': &422 + '400': &424 description: Bad Request content: application/json: @@ -60688,7 +61162,7 @@ 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': *417 + '403': *419 '404': *6 '503': *115 x-github: @@ -60713,29 +61187,29 @@ paths: 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 parameters: - - *326 - - *327 - - *418 + - *328 + - *329 + - *420 responses: '200': description: OK content: application/json: - schema: *420 + schema: *422 examples: - default: *421 + default: *423 '202': description: Accepted content: application/json: - schema: *420 + schema: *422 examples: default: value: status: pending description: started_at: '2024-02-14T12:29:18Z' - '400': *422 + '400': *424 '403': description: Response if the repository is archived, if GitHub Advanced Security is not enabled for this repository or if rate limit is exceeded @@ -60767,9 +61241,9 @@ paths: 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 parameters: - - *326 - - *327 - - *418 + - *328 + - *329 + - *420 requestBody: required: false content: @@ -60815,8 +61289,8 @@ paths: value: target_ref: refs/heads/main sha: 178f4f6090b3fccad4a65b3e83d076a622d59652 - '400': *422 - '403': *423 + '400': *424 + '403': *425 '404': *6 '422': description: Unprocessable Entity @@ -60840,13 +61314,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#list-instances-of-a-code-scanning-alert parameters: - - *326 - - *327 - - *418 + - *328 + - *329 + - *420 - *18 - *17 - - *424 - - *425 + - *426 + - *427 responses: '200': description: Response @@ -60854,7 +61328,7 @@ paths: application/json: schema: type: array - items: *416 + items: *418 examples: default: value: @@ -60893,7 +61367,7 @@ paths: end_column: 50 classifications: - source - '403': *417 + '403': *419 '404': *6 '503': *115 x-github: @@ -60927,25 +61401,25 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#list-code-scanning-analyses-for-a-repository parameters: - - *326 - - *327 + - *328 + - *329 - *196 - *197 - *18 - *17 - - *425 + - *427 - 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: *409 + schema: *411 - name: sarif_id in: query description: Filter analyses belonging to the same SARIF upload. required: false - schema: &428 + schema: &430 type: string description: An identifier for the upload. examples: @@ -60967,23 +61441,23 @@ paths: application/json: schema: type: array - items: &429 + items: &431 type: object properties: - ref: *409 - commit_sha: &437 + ref: *411 + commit_sha: &439 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: *426 + analysis_key: *428 environment: type: string description: Identifies the variable values associated with the environment in which this analysis was performed. - category: *427 + category: *429 error: type: string examples: @@ -61008,8 +61482,8 @@ paths: description: The REST API URL of the analysis resource. format: uri readOnly: true - sarif_id: *428 - tool: *415 + sarif_id: *430 + tool: *417 deletable: type: boolean warning: @@ -61071,7 +61545,7 @@ paths: version: 1.2.0 deletable: true warning: '' - '403': *417 + '403': *419 '404': *6 '503': *115 x-github: @@ -61107,8 +61581,8 @@ paths: 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 parameters: - - *326 - - *327 + - *328 + - *329 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -61121,7 +61595,7 @@ paths: description: Response content: application/json: - schema: *429 + schema: *431 examples: response: summary: application/json response @@ -61175,7 +61649,7 @@ paths: properties: - github/alertNumber: 2 - github/alertUrl: https://api.github.com/repos/monalisa/monalisa/code-scanning/alerts/2 - '403': *417 + '403': *419 '404': *6 '503': *115 x-github: @@ -61257,8 +61731,8 @@ paths: 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 parameters: - - *326 - - *327 + - *328 + - *329 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -61314,7 +61788,7 @@ 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': *423 + '403': *425 '404': *6 '503': *115 x-github: @@ -61336,8 +61810,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#list-codeql-databases-for-a-repository parameters: - - *326 - - *327 + - *328 + - *329 responses: '200': description: Response @@ -61345,7 +61819,7 @@ paths: application/json: schema: type: array - items: &430 + items: &432 title: CodeQL Database description: A CodeQL database. type: object @@ -61457,7 +61931,7 @@ 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': *417 + '403': *419 '404': *6 '503': *115 x-github: @@ -61486,8 +61960,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#get-a-codeql-database-for-a-repository parameters: - - *326 - - *327 + - *328 + - *329 - name: language in: path description: The language of the CodeQL database. @@ -61499,7 +61973,7 @@ paths: description: Response content: application/json: - schema: *430 + schema: *432 examples: default: value: @@ -61531,9 +62005,9 @@ 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': &461 + '302': &463 description: Found - '403': *417 + '403': *419 '404': *6 '503': *115 x-github: @@ -61555,8 +62029,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#delete-a-codeql-database parameters: - - *326 - - *327 + - *328 + - *329 - name: language in: path description: The language of the CodeQL database. @@ -61566,7 +62040,7 @@ paths: responses: '204': description: Response - '403': *423 + '403': *425 '404': *6 '503': *115 x-github: @@ -61594,8 +62068,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#create-a-codeql-variant-analysis parameters: - - *326 - - *327 + - *328 + - *329 requestBody: required: true content: @@ -61604,7 +62078,7 @@ paths: type: object additionalProperties: false properties: - language: &431 + language: &433 type: string description: The language targeted by the CodeQL query enum: @@ -61682,7 +62156,7 @@ paths: description: Variant analysis submitted for processing content: application/json: - schema: &435 + schema: &437 title: Variant Analysis description: A run of a CodeQL query against one or more repositories. type: object @@ -61692,7 +62166,7 @@ paths: description: The ID of the variant analysis. controller_repo: *86 actor: *4 - query_language: *431 + query_language: *433 query_pack_url: type: string description: The download url for the query pack. @@ -61740,7 +62214,7 @@ paths: items: type: object properties: - repository: &432 + repository: &434 title: Repository Identifier description: Repository Identifier type: object @@ -61782,7 +62256,7 @@ paths: - private - stargazers_count - updated_at - analysis_status: &436 + analysis_status: &438 type: string description: The new status of the CodeQL variant analysis repository task. @@ -61814,7 +62288,7 @@ paths: from processing. This information is only available to the user that initiated the variant analysis. properties: - access_mismatch_repos: &433 + access_mismatch_repos: &435 type: object properties: repository_count: @@ -61829,7 +62303,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: *432 + items: *434 required: - repository_count - repositories @@ -61852,8 +62326,8 @@ paths: required: - repository_count - repository_full_names - no_codeql_db_repos: *433 - over_limit_repos: *433 + no_codeql_db_repos: *435 + over_limit_repos: *435 required: - access_mismatch_repos - not_found_repos @@ -61869,7 +62343,7 @@ paths: examples: repositories_parameter: summary: Response for a successful variant analysis submission - value: &434 + value: &436 summary: Default response value: id: 1 @@ -62021,10 +62495,10 @@ paths: private: false repository_owners: summary: Response for a successful variant analysis submission - value: *434 + value: *436 repository_lists: summary: Response for a successful variant analysis submission - value: *434 + value: *436 '404': *6 '422': description: Unable to process variant analysis submission @@ -62052,8 +62526,8 @@ paths: 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 parameters: - - *326 - - *327 + - *328 + - *329 - name: codeql_variant_analysis_id in: path description: The unique identifier of the variant analysis. @@ -62065,9 +62539,9 @@ paths: description: Response content: application/json: - schema: *435 + schema: *437 examples: - default: *434 + default: *436 '404': *6 '503': *115 x-github: @@ -62090,7 +62564,7 @@ paths: 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 parameters: - - *326 + - *328 - name: repo in: path description: The name of the controller repository. @@ -62125,7 +62599,7 @@ paths: type: object properties: repository: *86 - analysis_status: *436 + analysis_status: *438 artifact_size_in_bytes: type: integer description: The size of the artifact. This is only available @@ -62250,8 +62724,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#get-a-code-scanning-default-setup-configuration parameters: - - *326 - - *327 + - *328 + - *329 responses: '200': description: Response @@ -62316,7 +62790,7 @@ paths: query_suite: default updated_at: '2023-01-19T11:21:34Z' schedule: weekly - '403': *417 + '403': *419 '404': *6 '503': *115 x-github: @@ -62337,8 +62811,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#update-a-code-scanning-default-setup-configuration parameters: - - *326 - - *327 + - *328 + - *329 requestBody: required: true content: @@ -62421,7 +62895,7 @@ paths: value: run_id: 42 run_url: https://api.github.com/repos/octoorg/octocat/actions/runs/42 - '403': *423 + '403': *425 '404': *6 '409': description: Response if there is already a validation run in progress with @@ -62486,8 +62960,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#upload-an-analysis-as-sarif-data parameters: - - *326 - - *327 + - *328 + - *329 requestBody: required: true content: @@ -62495,7 +62969,7 @@ paths: schema: type: object properties: - commit_sha: *437 + commit_sha: *439 ref: type: string description: |- @@ -62555,7 +63029,7 @@ paths: schema: type: object properties: - id: *428 + id: *430 url: type: string description: The REST API URL for checking the status of the upload. @@ -62569,7 +63043,7 @@ 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': *423 + '403': *425 '404': *6 '413': description: Payload Too Large if the sarif field is too large @@ -62592,8 +63066,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#get-information-about-a-sarif-upload parameters: - - *326 - - *327 + - *328 + - *329 - name: sarif_id description: The SARIF ID obtained after uploading. in: path @@ -62641,7 +63115,7 @@ 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': *417 + '403': *419 '404': description: Not Found if the sarif id does not match any upload '503': *115 @@ -62666,8 +63140,8 @@ paths: 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 parameters: - - *326 - - *327 + - *328 + - *329 responses: '200': description: Response @@ -62745,8 +63219,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-codeowners-errors parameters: - - *326 - - *327 + - *328 + - *329 - 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 @@ -62874,8 +63348,8 @@ paths: parameters: - *17 - *18 - - *326 - - *327 + - *328 + - *329 responses: '200': description: Response @@ -63189,8 +63663,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#create-a-codespace-in-a-repository parameters: - - *326 - - *327 + - *328 + - *329 requestBody: required: true content: @@ -63256,7 +63730,7 @@ paths: application/json: schema: *255 examples: - default: *438 + default: *440 '202': description: Response when the codespace creation partially failed but is being retried in the background @@ -63264,7 +63738,7 @@ paths: application/json: schema: *255 examples: - default: *438 + default: *440 '400': *14 '401': *23 '403': *27 @@ -63293,8 +63767,8 @@ paths: parameters: - *17 - *18 - - *326 - - *327 + - *328 + - *329 responses: '200': description: Response @@ -63358,8 +63832,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/machines#list-available-machine-types-for-a-repository parameters: - - *326 - - *327 + - *328 + - *329 - name: location description: The location to check for available machines. Assigned by IP if not provided. @@ -63396,9 +63870,9 @@ paths: type: integer machines: type: array - items: *439 + items: *441 examples: - default: &663 + default: &665 value: total_count: 2 machines: @@ -63438,8 +63912,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#get-default-attributes-for-a-codespace parameters: - - *326 - - *327 + - *328 + - *329 - name: ref description: The branch or commit to check for a default devcontainer path. If not specified, the default branch will be checked. @@ -63526,8 +64000,8 @@ paths: 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 parameters: - - *326 - - *327 + - *328 + - *329 - 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 @@ -63596,8 +64070,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#list-repository-secrets parameters: - - *326 - - *327 + - *328 + - *329 - *17 - *18 responses: @@ -63615,7 +64089,7 @@ paths: type: integer secrets: type: array - items: &443 + items: &445 title: Codespaces Secret description: Set repository secrets for GitHub Codespaces. type: object @@ -63636,7 +64110,7 @@ paths: - created_at - updated_at examples: - default: *440 + default: *442 headers: Link: *37 x-github: @@ -63659,16 +64133,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#get-a-repository-public-key parameters: - - *326 - - *327 + - *328 + - *329 responses: '200': description: Response content: application/json: - schema: *441 + schema: *443 examples: - default: *442 + default: *444 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -63688,17 +64162,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#get-a-repository-secret parameters: - - *326 - - *327 + - *328 + - *329 - *183 responses: '200': description: Response content: application/json: - schema: *443 + schema: *445 examples: - default: *444 + default: *446 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -63718,8 +64192,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#create-or-update-a-repository-secret parameters: - - *326 - - *327 + - *328 + - *329 - *183 requestBody: required: true @@ -63772,8 +64246,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#delete-a-repository-secret parameters: - - *326 - - *327 + - *328 + - *329 - *183 responses: '204': @@ -63802,8 +64276,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#list-repository-collaborators parameters: - - *326 - - *327 + - *328 + - *329 - name: affiliation description: Filter collaborators returned by their affiliation. `outside` means all outside collaborators of an organization-owned repository. `direct` @@ -63841,7 +64315,7 @@ paths: application/json: schema: type: array - items: &445 + items: &447 title: Collaborator description: Collaborator type: object @@ -64034,8 +64508,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#check-if-a-user-is-a-repository-collaborator parameters: - - *326 - - *327 + - *328 + - *329 - *195 responses: '204': @@ -64078,8 +64552,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#add-a-repository-collaborator parameters: - - *326 - - *327 + - *328 + - *329 - *195 requestBody: required: false @@ -64106,7 +64580,7 @@ paths: description: Response when a new invitation is created content: application/json: - schema: &509 + schema: &511 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -64327,8 +64801,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#remove-a-repository-collaborator parameters: - - *326 - - *327 + - *328 + - *329 - *195 responses: '204': @@ -64358,8 +64832,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#get-repository-permissions-for-a-user parameters: - - *326 - - *327 + - *328 + - *329 - *195 responses: '200': @@ -64380,7 +64854,7 @@ paths: user: anyOf: - type: 'null' - - *445 + - *447 required: - permission - role_name @@ -64434,8 +64908,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#list-commit-comments-for-a-repository parameters: - - *326 - - *327 + - *328 + - *329 - *17 - *18 responses: @@ -64445,7 +64919,7 @@ paths: application/json: schema: type: array - items: &446 + items: &448 title: Commit Comment description: Commit Comment type: object @@ -64503,7 +64977,7 @@ paths: - created_at - updated_at examples: - default: &449 + default: &451 value: - html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -64562,17 +65036,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#get-a-commit-comment parameters: - - *326 - - *327 + - *328 + - *329 - *134 responses: '200': description: Response content: application/json: - schema: *446 + schema: *448 examples: - default: &450 + default: &452 value: html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -64629,8 +65103,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#update-a-commit-comment parameters: - - *326 - - *327 + - *328 + - *329 - *134 requestBody: required: true @@ -64653,7 +65127,7 @@ paths: description: Response content: application/json: - schema: *446 + schema: *448 examples: default: value: @@ -64704,8 +65178,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#delete-a-commit-comment parameters: - - *326 - - *327 + - *328 + - *329 - *134 responses: '204': @@ -64727,8 +65201,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-commit-comment parameters: - - *326 - - *327 + - *328 + - *329 - *134 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). @@ -64755,9 +65229,9 @@ paths: application/json: schema: type: array - items: *315 + items: *317 examples: - default: *317 + default: *319 headers: Link: *37 '404': *6 @@ -64778,8 +65252,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-commit-comment parameters: - - *326 - - *327 + - *328 + - *329 - *134 requestBody: required: true @@ -64812,16 +65286,16 @@ paths: description: Reaction exists content: application/json: - schema: *315 + schema: *317 examples: - default: *316 + default: *318 '201': description: Reaction created content: application/json: - schema: *315 + schema: *317 examples: - default: *316 + default: *318 '422': *15 x-github: githubCloudOnly: false @@ -64843,10 +65317,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-a-commit-comment-reaction parameters: - - *326 - - *327 + - *328 + - *329 - *134 - - *318 + - *320 responses: '204': description: Response @@ -64895,8 +65369,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#list-commits parameters: - - *326 - - *327 + - *328 + - *329 - name: sha description: 'SHA or branch to start listing commits from. Default: the repository’s default branch (usually `main`).' @@ -64952,9 +65426,9 @@ paths: application/json: schema: type: array - items: *447 + items: *449 examples: - default: &557 + default: &559 value: - url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -65048,9 +65522,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#list-branches-for-head-commit parameters: - - *326 - - *327 - - &448 + - *328 + - *329 + - &450 name: commit_sha description: The SHA of the commit. in: path @@ -65122,9 +65596,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#list-commit-comments parameters: - - *326 - - *327 - - *448 + - *328 + - *329 + - *450 - *17 - *18 responses: @@ -65134,9 +65608,9 @@ paths: application/json: schema: type: array - items: *446 + items: *448 examples: - default: *449 + default: *451 headers: Link: *37 x-github: @@ -65164,9 +65638,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#create-a-commit-comment parameters: - - *326 - - *327 - - *448 + - *328 + - *329 + - *450 requestBody: required: true content: @@ -65201,9 +65675,9 @@ paths: description: Response content: application/json: - schema: *446 + schema: *448 examples: - default: *450 + default: *452 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -65231,9 +65705,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#list-pull-requests-associated-with-a-commit parameters: - - *326 - - *327 - - *448 + - *328 + - *329 + - *450 - *17 - *18 responses: @@ -65243,7 +65717,7 @@ paths: application/json: schema: type: array - items: &548 + items: &550 title: Pull Request Simple description: Pull Request Simple type: object @@ -65363,7 +65837,7 @@ paths: milestone: anyOf: - type: 'null' - - *451 + - *453 active_lock_reason: type: - string @@ -65462,7 +65936,7 @@ paths: _links: type: object properties: - comments: &452 + comments: &454 title: Link description: Hypermedia Link type: object @@ -65471,13 +65945,13 @@ paths: type: string required: - href - commits: *452 - statuses: *452 - html: *452 - issue: *452 - review_comments: *452 - review_comment: *452 - self: *452 + commits: *454 + statuses: *454 + html: *454 + issue: *454 + review_comments: *454 + review_comment: *454 + self: *454 required: - comments - commits @@ -65488,7 +65962,7 @@ paths: - review_comment - self author_association: *122 - auto_merge: &550 + auto_merge: &552 title: Auto merge description: The status of auto merging a pull request. type: @@ -65553,7 +66027,7 @@ paths: - author_association - auto_merge examples: - default: &549 + default: &551 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -66090,11 +66564,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#get-a-commit parameters: - - *326 - - *327 + - *328 + - *329 - *18 - *17 - - &453 + - &455 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)" @@ -66109,9 +66583,9 @@ paths: description: Response content: application/json: - schema: *447 + schema: *449 examples: - default: &536 + default: &538 value: url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -66224,11 +66698,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#list-check-runs-for-a-git-reference parameters: - - *326 - - *327 - - *453 - - *454 + - *328 + - *329 - *455 + - *456 + - *457 - name: filter description: Filters check runs by their `completed_at` timestamp. `latest` returns the most recent check runs. @@ -66262,9 +66736,9 @@ paths: type: integer check_runs: type: array - items: *402 + items: *404 examples: - default: *456 + default: *458 headers: Link: *37 x-github: @@ -66289,9 +66763,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#list-check-suites-for-a-git-reference parameters: - - *326 - - *327 - - *453 + - *328 + - *329 + - *455 - name: app_id description: Filters check suites by GitHub App `id`. in: query @@ -66299,7 +66773,7 @@ paths: schema: type: integer example: 1 - - *454 + - *456 - *17 - *18 responses: @@ -66317,7 +66791,7 @@ paths: type: integer check_suites: type: array - items: *406 + items: *408 examples: default: value: @@ -66517,9 +66991,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/statuses#get-the-combined-status-for-a-specific-reference parameters: - - *326 - - *327 - - *453 + - *328 + - *329 + - *455 - *17 - *18 responses: @@ -66721,9 +67195,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/statuses#list-commit-statuses-for-a-reference parameters: - - *326 - - *327 - - *453 + - *328 + - *329 + - *455 - *17 - *18 responses: @@ -66733,7 +67207,7 @@ paths: application/json: schema: type: array - items: &611 + items: &613 title: Status description: The status of a commit. type: object @@ -66814,7 +67288,7 @@ paths: site_admin: false headers: Link: *37 - '301': *340 + '301': *342 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -66842,8 +67316,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/community#get-community-profile-metrics parameters: - - *326 - - *327 + - *328 + - *329 responses: '200': description: Response @@ -66876,11 +67350,11 @@ paths: code_of_conduct: anyOf: - type: 'null' - - *457 + - *459 code_of_conduct_file: anyOf: - type: 'null' - - &458 + - &460 title: Community Health File type: object properties: @@ -66900,19 +67374,19 @@ paths: contributing: anyOf: - type: 'null' - - *458 + - *460 readme: anyOf: - type: 'null' - - *458 + - *460 issue_template: anyOf: - type: 'null' - - *458 + - *460 pull_request_template: anyOf: - type: 'null' - - *458 + - *460 required: - code_of_conduct - code_of_conduct_file @@ -67041,8 +67515,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#compare-two-commits parameters: - - *326 - - *327 + - *328 + - *329 - *18 - *17 - name: basehead @@ -67090,8 +67564,8 @@ paths: format: uri examples: - https://github.com/octocat/Hello-World/compare/master...topic.patch - base_commit: *447 - merge_base_commit: *447 + base_commit: *449 + merge_base_commit: *449 status: type: string enum: @@ -67115,10 +67589,10 @@ paths: - 6 commits: type: array - items: *447 + items: *449 files: type: array - items: *459 + items: *461 required: - url - html_url @@ -67404,8 +67878,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#get-repository-content parameters: - - *326 - - *327 + - *328 + - *329 - name: path description: path parameter in: path @@ -67556,7 +68030,7 @@ paths: - type - url examples: - response-if-content-is-a-file: &460 + response-if-content-is-a-file: &462 summary: Response if content is a file value: type: file @@ -67693,7 +68167,7 @@ paths: - size - type - url - - &562 + - &564 title: Content File description: Content File type: object @@ -67911,7 +68385,7 @@ paths: - url - submodule_git_url examples: - response-if-content-is-a-file: *460 + response-if-content-is-a-file: *462 response-if-content-is-a-directory: summary: Response if content is a directory and the application/json media type is requested @@ -67980,7 +68454,7 @@ paths: html: https://github.com/jquery/qunit/tree/6ca3721222109997540bd6d9ccd396902e0ad2f9 '404': *6 '403': *27 - '302': *461 + '302': *463 '304': *35 x-github: githubCloudOnly: false @@ -68003,8 +68477,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#create-or-update-file-contents parameters: - - *326 - - *327 + - *328 + - *329 - name: path description: path parameter in: path @@ -68099,7 +68573,7 @@ paths: description: Response content: application/json: - schema: &462 + schema: &464 title: File Commit description: File Commit type: object @@ -68255,7 +68729,7 @@ paths: description: Response content: application/json: - schema: *462 + schema: *464 examples: example-for-creating-a-file: value: @@ -68309,7 +68783,7 @@ paths: schema: oneOf: - *3 - - &491 + - &493 description: Repository rule violation was detected type: object properties: @@ -68330,7 +68804,7 @@ paths: items: type: object properties: - placeholder_id: &603 + placeholder_id: &605 description: The ID of the push protection bypass placeholder. This value is returned on any push protected routes. @@ -68362,8 +68836,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#delete-a-file parameters: - - *326 - - *327 + - *328 + - *329 - name: path description: path parameter in: path @@ -68424,7 +68898,7 @@ paths: description: Response content: application/json: - schema: *462 + schema: *464 examples: default: value: @@ -68479,8 +68953,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-contributors parameters: - - *326 - - *327 + - *328 + - *329 - name: anon description: Set to `1` or `true` to include anonymous contributors in results. in: query @@ -68604,8 +69078,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#list-dependabot-alerts-for-a-repository parameters: - - *326 - - *327 + - *328 + - *329 - *215 - *216 - *217 @@ -68646,7 +69120,7 @@ paths: application/json: schema: type: array - items: &465 + items: &467 type: object description: A Dependabot alert. properties: @@ -68681,7 +69155,7 @@ paths: - development - runtime - - security_advisory: *463 + security_advisory: *465 security_vulnerability: *91 url: *92 html_url: *93 @@ -68712,7 +69186,7 @@ paths: dismissal. maxLength: 280 fixed_at: *97 - auto_dismissed_at: *464 + auto_dismissed_at: *466 required: - number - state @@ -68939,9 +69413,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#get-a-dependabot-alert parameters: - - *326 - - *327 - - &466 + - *328 + - *329 + - &468 name: alert_number in: path description: |- @@ -68956,7 +69430,7 @@ paths: description: Response content: application/json: - schema: *465 + schema: *467 examples: default: value: @@ -69066,9 +69540,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#update-a-dependabot-alert parameters: - - *326 - - *327 - - *466 + - *328 + - *329 + - *468 requestBody: required: true content: @@ -69113,7 +69587,7 @@ paths: description: Response content: application/json: - schema: *465 + schema: *467 examples: default: value: @@ -69242,8 +69716,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#list-repository-secrets parameters: - - *326 - - *327 + - *328 + - *329 - *17 - *18 responses: @@ -69261,7 +69735,7 @@ paths: type: integer secrets: type: array - items: &469 + items: &471 title: Dependabot Secret description: Set secrets for Dependabot. type: object @@ -69315,16 +69789,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#get-a-repository-public-key parameters: - - *326 - - *327 + - *328 + - *329 responses: '200': description: Response content: application/json: - schema: *467 + schema: *469 examples: - default: *468 + default: *470 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -69344,15 +69818,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#get-a-repository-secret parameters: - - *326 - - *327 + - *328 + - *329 - *183 responses: '200': description: Response content: application/json: - schema: *469 + schema: *471 examples: default: value: @@ -69378,8 +69852,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#create-or-update-a-repository-secret parameters: - - *326 - - *327 + - *328 + - *329 - *183 requestBody: required: true @@ -69432,8 +69906,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#delete-a-repository-secret parameters: - - *326 - - *327 + - *328 + - *329 - *183 responses: '204': @@ -69456,8 +69930,8 @@ paths: 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 parameters: - - *326 - - *327 + - *328 + - *329 - 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 @@ -69631,8 +70105,8 @@ paths: 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 parameters: - - *326 - - *327 + - *328 + - *329 responses: '200': description: Response @@ -69892,8 +70366,8 @@ paths: 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 parameters: - - *326 - - *327 + - *328 + - *329 requestBody: required: true content: @@ -69976,7 +70450,7 @@ paths: - version - url additionalProperties: false - metadata: &470 + metadata: &472 title: metadata description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -70015,7 +70489,7 @@ paths: examples: - "/src/build/package-lock.json" additionalProperties: false - metadata: *470 + metadata: *472 resolved: type: object description: A collection of resolved package dependencies. @@ -70029,7 +70503,7 @@ paths: pattern: "^pkg" examples: - pkg:/npm/%40actions/http-client@1.0.11 - metadata: *470 + metadata: *472 relationship: type: string description: A notation of whether a dependency is requested @@ -70162,8 +70636,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#list-deployments parameters: - - *326 - - *327 + - *328 + - *329 - name: sha description: The SHA recorded at creation time. in: query @@ -70204,9 +70678,9 @@ paths: application/json: schema: type: array - items: *471 + items: *473 examples: - default: *472 + default: *474 headers: Link: *37 x-github: @@ -70272,8 +70746,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#create-a-deployment parameters: - - *326 - - *327 + - *328 + - *329 requestBody: required: true content: @@ -70355,7 +70829,7 @@ paths: description: Response content: application/json: - schema: *471 + schema: *473 examples: simple-example: summary: Simple example @@ -70428,9 +70902,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#get-a-deployment parameters: - - *326 - - *327 - - &473 + - *328 + - *329 + - &475 name: deployment_id description: deployment_id parameter in: path @@ -70442,7 +70916,7 @@ paths: description: Response content: application/json: - schema: *471 + schema: *473 examples: default: value: @@ -70507,9 +70981,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#delete-a-deployment parameters: - - *326 - - *327 - - *473 + - *328 + - *329 + - *475 responses: '204': description: Response @@ -70531,9 +71005,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/statuses#list-deployment-statuses parameters: - - *326 - - *327 - - *473 + - *328 + - *329 + - *475 - *17 - *18 responses: @@ -70543,7 +71017,7 @@ paths: application/json: schema: type: array - items: &474 + items: &476 title: Deployment Status description: The status of a deployment. type: object @@ -70707,9 +71181,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/statuses#create-a-deployment-status parameters: - - *326 - - *327 - - *473 + - *328 + - *329 + - *475 requestBody: required: true content: @@ -70784,9 +71258,9 @@ paths: description: Response content: application/json: - schema: *474 + schema: *476 examples: - default: &475 + default: &477 value: url: https://api.github.com/repos/octocat/example/deployments/42/statuses/1 id: 1 @@ -70842,9 +71316,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/statuses#get-a-deployment-status parameters: - - *326 - - *327 - - *473 + - *328 + - *329 + - *475 - name: status_id in: path required: true @@ -70855,9 +71329,9 @@ paths: description: Response content: application/json: - schema: *474 + schema: *476 examples: - default: *475 + default: *477 '404': *6 x-github: githubCloudOnly: false @@ -70882,8 +71356,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#create-a-repository-dispatch-event parameters: - - *326 - - *327 + - *328 + - *329 requestBody: required: true content: @@ -70940,8 +71414,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments#list-environments parameters: - - *326 - - *327 + - *328 + - *329 - *17 - *18 responses: @@ -70959,7 +71433,7 @@ paths: - 5 environments: type: array - items: &477 + items: &479 title: Environment description: Details of a deployment environment type: object @@ -71021,7 +71495,7 @@ paths: type: string examples: - wait_timer - wait_timer: &479 + wait_timer: &481 type: integer description: The amount of time to delay a job after the job is initially triggered. The time (in minutes) @@ -71063,7 +71537,7 @@ paths: items: type: object properties: - type: *476 + type: *478 reviewer: anyOf: - *4 @@ -71090,7 +71564,7 @@ paths: - id - node_id - type - deployment_branch_policy: &480 + deployment_branch_policy: &482 type: - object - 'null' @@ -71207,9 +71681,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments#get-an-environment parameters: - - *326 - - *327 - - &478 + - *328 + - *329 + - &480 name: environment_name in: path required: true @@ -71222,9 +71696,9 @@ paths: description: Response content: application/json: - schema: *477 + schema: *479 examples: - default: &481 + default: &483 value: id: 161088068 node_id: MDExOkVudmlyb25tZW50MTYxMDg4MDY4 @@ -71308,9 +71782,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments#create-or-update-an-environment parameters: - - *326 - - *327 - - *478 + - *328 + - *329 + - *480 requestBody: required: false content: @@ -71320,7 +71794,7 @@ paths: - object - 'null' properties: - wait_timer: *479 + wait_timer: *481 prevent_self_review: type: boolean description: Whether or not a user who created the job is prevented @@ -71339,14 +71813,14 @@ paths: items: type: object properties: - type: *476 + type: *478 id: type: integer description: The id of the user or team who can review the deployment examples: - 4532992 - deployment_branch_policy: *480 + deployment_branch_policy: *482 additionalProperties: false examples: default: @@ -71366,9 +71840,9 @@ paths: description: Response content: application/json: - schema: *477 + schema: *479 examples: - default: *481 + default: *483 '422': description: Validation error when the environment name is invalid or when `protected_branches` and `custom_branch_policies` in `deployment_branch_policy` @@ -71392,9 +71866,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments#delete-an-environment parameters: - - *326 - - *327 - - *478 + - *328 + - *329 + - *480 responses: '204': description: Default response @@ -71419,9 +71893,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#list-deployment-branch-policies parameters: - - *326 - - *327 - - *478 + - *328 + - *329 + - *480 - *17 - *18 responses: @@ -71440,7 +71914,7 @@ paths: - 2 branch_policies: type: array - items: &482 + items: &484 title: Deployment branch policy description: Details of a deployment branch or tag policy. type: object @@ -71501,9 +71975,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#create-a-deployment-branch-policy parameters: - - *326 - - *327 - - *478 + - *328 + - *329 + - *480 requestBody: required: true content: @@ -71551,9 +72025,9 @@ paths: description: Response content: application/json: - schema: *482 + schema: *484 examples: - example-wildcard: &483 + example-wildcard: &485 value: id: 364662 node_id: MDE2OkdhdGVCcmFuY2hQb2xpY3kzNjQ2NjI= @@ -71595,10 +72069,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#get-a-deployment-branch-policy parameters: - - *326 - - *327 - - *478 - - &484 + - *328 + - *329 + - *480 + - &486 name: branch_policy_id in: path required: true @@ -71610,9 +72084,9 @@ paths: description: Response content: application/json: - schema: *482 + schema: *484 examples: - default: *483 + default: *485 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71631,10 +72105,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#update-a-deployment-branch-policy parameters: - - *326 - - *327 - - *478 - - *484 + - *328 + - *329 + - *480 + - *486 requestBody: required: true content: @@ -71663,9 +72137,9 @@ paths: description: Response content: application/json: - schema: *482 + schema: *484 examples: - default: *483 + default: *485 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71684,10 +72158,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#delete-a-deployment-branch-policy parameters: - - *326 - - *327 - - *478 - - *484 + - *328 + - *329 + - *480 + - *486 responses: '204': description: Response @@ -71712,9 +72186,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/protection-rules#get-all-deployment-protection-rules-for-an-environment parameters: - - *478 - - *327 - - *326 + - *480 + - *329 + - *328 responses: '200': description: List of deployment protection rules @@ -71731,7 +72205,7 @@ paths: - 10 custom_deployment_protection_rules: type: array - items: &485 + items: &487 title: Deployment protection rule description: Deployment protection rule type: object @@ -71753,7 +72227,7 @@ paths: for the environment. examples: - true - app: &486 + app: &488 title: Custom deployment protection rule app description: A GitHub App that is providing a custom deployment protection rule. @@ -71856,9 +72330,9 @@ paths: 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 parameters: - - *478 - - *327 - - *326 + - *480 + - *329 + - *328 requestBody: content: application/json: @@ -71879,9 +72353,9 @@ paths: description: The enabled custom deployment protection rule content: application/json: - schema: *485 + schema: *487 examples: - default: &487 + default: &489 value: id: 3 node_id: IEH37kRlcGxveW1lbnRTdGF0ddiv @@ -71916,9 +72390,9 @@ paths: 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 parameters: - - *478 - - *327 - - *326 + - *480 + - *329 + - *328 - *18 - *17 responses: @@ -71938,7 +72412,7 @@ paths: - 35 available_custom_deployment_protection_rule_integrations: type: array - items: *486 + items: *488 examples: default: value: @@ -71973,10 +72447,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/protection-rules#get-a-custom-deployment-protection-rule parameters: - - *326 - - *327 - - *478 - - &488 + - *328 + - *329 + - *480 + - &490 name: protection_rule_id description: The unique identifier of the protection rule. in: path @@ -71988,9 +72462,9 @@ paths: description: Response content: application/json: - schema: *485 + schema: *487 examples: - default: *487 + default: *489 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72011,10 +72485,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/protection-rules#disable-a-custom-protection-rule-for-an-environment parameters: - - *478 - - *327 - - *326 - - *488 + - *480 + - *329 + - *328 + - *490 responses: '204': description: Response @@ -72040,9 +72514,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#list-environment-secrets parameters: - - *326 - - *327 - - *478 + - *328 + - *329 + - *480 - *17 - *18 responses: @@ -72060,9 +72534,9 @@ paths: type: integer secrets: type: array - items: *363 + items: *365 examples: - default: *364 + default: *366 headers: Link: *37 x-github: @@ -72087,17 +72561,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-an-environment-public-key parameters: - - *326 - - *327 - - *478 + - *328 + - *329 + - *480 responses: '200': description: Response content: application/json: - schema: *365 + schema: *367 examples: - default: *366 + default: *368 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72119,18 +72593,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-an-environment-secret parameters: - - *326 - - *327 - - *478 + - *328 + - *329 + - *480 - *183 responses: '200': description: Response content: application/json: - schema: *363 + schema: *365 examples: - default: *489 + default: *491 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72152,9 +72626,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#create-or-update-an-environment-secret parameters: - - *326 - - *327 - - *478 + - *328 + - *329 + - *480 - *183 requestBody: required: true @@ -72212,9 +72686,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#delete-an-environment-secret parameters: - - *326 - - *327 - - *478 + - *328 + - *329 + - *480 - *183 responses: '204': @@ -72240,10 +72714,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-environment-variables parameters: - - *326 - - *327 - - *478 - - *350 + - *328 + - *329 + - *480 + - *352 - *18 responses: '200': @@ -72260,9 +72734,9 @@ paths: type: integer variables: type: array - items: *367 + items: *369 examples: - default: *368 + default: *370 headers: Link: *37 x-github: @@ -72285,9 +72759,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#create-an-environment-variable parameters: - - *326 - - *327 - - *478 + - *328 + - *329 + - *480 requestBody: required: true content: @@ -72339,18 +72813,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#get-an-environment-variable parameters: - - *326 - - *327 - - *478 + - *328 + - *329 + - *480 - *186 responses: '200': description: Response content: application/json: - schema: *367 + schema: *369 examples: - default: *490 + default: *492 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72371,10 +72845,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#update-an-environment-variable parameters: - - *326 - - *327 + - *328 + - *329 - *186 - - *478 + - *480 requestBody: required: true content: @@ -72416,10 +72890,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#delete-an-environment-variable parameters: - - *326 - - *327 + - *328 + - *329 - *186 - - *478 + - *480 responses: '204': description: Response @@ -72441,8 +72915,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/events#list-repository-events parameters: - - *326 - - *327 + - *328 + - *329 - *17 - *18 responses: @@ -72519,8 +72993,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/forks#list-forks parameters: - - *326 - - *327 + - *328 + - *329 - name: sort description: The sort order. `stargazers` will sort by star count. in: query @@ -72679,8 +73153,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/forks#create-a-fork parameters: - - *326 - - *327 + - *328 + - *329 requestBody: required: false content: @@ -72713,9 +73187,9 @@ paths: description: Response content: application/json: - schema: *339 + schema: *341 examples: - default: *341 + default: *343 '400': *14 '422': *15 '403': *27 @@ -72736,8 +73210,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/blobs#create-a-blob parameters: - - *326 - - *327 + - *328 + - *329 requestBody: required: true content: @@ -72797,7 +73271,7 @@ paths: schema: oneOf: - *160 - - *491 + - *493 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72822,8 +73296,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/blobs#get-a-blob parameters: - - *326 - - *327 + - *328 + - *329 - name: file_sha in: path required: true @@ -72923,8 +73397,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/commits#create-a-commit parameters: - - *326 - - *327 + - *328 + - *329 requestBody: required: true content: @@ -73033,7 +73507,7 @@ paths: description: Response content: application/json: - schema: &492 + schema: &494 title: Git Commit description: Low-level Git commit operations within a repository type: object @@ -73259,15 +73733,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/commits#get-a-commit-object parameters: - - *326 - - *327 - - *448 + - *328 + - *329 + - *450 responses: '200': description: Response content: application/json: - schema: *492 + schema: *494 examples: default: value: @@ -73323,9 +73797,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#list-matching-references parameters: - - *326 - - *327 - - &493 + - *328 + - *329 + - &495 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. @@ -73342,7 +73816,7 @@ paths: application/json: schema: type: array - items: &494 + items: &496 title: Git Reference description: Git references within a repository type: object @@ -73418,17 +73892,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#get-a-reference parameters: - - *326 - - *327 - - *493 + - *328 + - *329 + - *495 responses: '200': description: Response content: application/json: - schema: *494 + schema: *496 examples: - default: &495 + default: &497 value: ref: refs/heads/featureA node_id: MDM6UmVmcmVmcy9oZWFkcy9mZWF0dXJlQQ== @@ -73457,8 +73931,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#create-a-reference parameters: - - *326 - - *327 + - *328 + - *329 requestBody: required: true content: @@ -73487,9 +73961,9 @@ paths: description: Response content: application/json: - schema: *494 + schema: *496 examples: - default: *495 + default: *497 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/git/refs/heads/featureA @@ -73515,9 +73989,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#update-a-reference parameters: - - *326 - - *327 - - *493 + - *328 + - *329 + - *495 requestBody: required: true content: @@ -73546,9 +74020,9 @@ paths: description: Response content: application/json: - schema: *494 + schema: *496 examples: - default: *495 + default: *497 '422': *15 '409': *84 x-github: @@ -73566,9 +74040,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#delete-a-reference parameters: - - *326 - - *327 - - *493 + - *328 + - *329 + - *495 responses: '204': description: Response @@ -73621,8 +74095,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/tags#create-a-tag-object parameters: - - *326 - - *327 + - *328 + - *329 requestBody: required: true content: @@ -73689,7 +74163,7 @@ paths: description: Response content: application/json: - schema: &497 + schema: &499 title: Git Tag description: Metadata for a Git tag type: object @@ -73745,7 +74219,7 @@ paths: - sha - type - url - verification: *496 + verification: *498 required: - sha - url @@ -73755,7 +74229,7 @@ paths: - tag - message examples: - default: &498 + default: &500 value: node_id: MDM6VGFnOTQwYmQzMzYyNDhlZmFlMGY5ZWU1YmM3YjJkNWM5ODU4ODdiMTZhYw== tag: v0.0.1 @@ -73828,8 +74302,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/tags#get-a-tag parameters: - - *326 - - *327 + - *328 + - *329 - name: tag_sha in: path required: true @@ -73840,9 +74314,9 @@ paths: description: Response content: application/json: - schema: *497 + schema: *499 examples: - default: *498 + default: *500 '404': *6 '409': *84 x-github: @@ -73866,8 +74340,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/trees#create-a-tree parameters: - - *326 - - *327 + - *328 + - *329 requestBody: required: true content: @@ -73941,7 +74415,7 @@ paths: description: Response content: application/json: - schema: &499 + schema: &501 title: Git Tree description: The hierarchy between files in a Git repository. type: object @@ -74059,8 +74533,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/trees#get-a-tree parameters: - - *326 - - *327 + - *328 + - *329 - name: tree_sha description: The SHA1 value or ref (branch or tag) name of the tree. in: path @@ -74083,7 +74557,7 @@ paths: description: Response content: application/json: - schema: *499 + schema: *501 examples: default-response: summary: Default response @@ -74142,8 +74616,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#list-repository-webhooks parameters: - - *326 - - *327 + - *328 + - *329 - *17 - *18 responses: @@ -74153,7 +74627,7 @@ paths: application/json: schema: type: array - items: &500 + items: &502 title: Webhook description: Webhooks for repositories. type: object @@ -74216,7 +74690,7 @@ paths: format: uri examples: - https://api.github.com/repos/octocat/Hello-World/hooks/1/deliveries - last_response: &737 + last_response: &739 title: Hook Response type: object properties: @@ -74293,8 +74767,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#create-a-repository-webhook parameters: - - *326 - - *327 + - *328 + - *329 requestBody: required: false content: @@ -74347,9 +74821,9 @@ paths: description: Response content: application/json: - schema: *500 + schema: *502 examples: - default: &501 + default: &503 value: type: Repository id: 12345678 @@ -74397,17 +74871,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#get-a-repository-webhook parameters: - - *326 - - *327 + - *328 + - *329 - *228 responses: '200': description: Response content: application/json: - schema: *500 + schema: *502 examples: - default: *501 + default: *503 '404': *6 x-github: githubCloudOnly: false @@ -74427,8 +74901,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#update-a-repository-webhook parameters: - - *326 - - *327 + - *328 + - *329 - *228 requestBody: required: true @@ -74474,9 +74948,9 @@ paths: description: Response content: application/json: - schema: *500 + schema: *502 examples: - default: *501 + default: *503 '422': *15 '404': *6 x-github: @@ -74497,8 +74971,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#delete-a-repository-webhook parameters: - - *326 - - *327 + - *328 + - *329 - *228 responses: '204': @@ -74523,8 +74997,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#get-a-webhook-configuration-for-a-repository parameters: - - *326 - - *327 + - *328 + - *329 - *228 responses: '200': @@ -74552,8 +75026,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#update-a-webhook-configuration-for-a-repository parameters: - - *326 - - *327 + - *328 + - *329 - *228 requestBody: required: false @@ -74598,8 +75072,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#list-deliveries-for-a-repository-webhook parameters: - - *326 - - *327 + - *328 + - *329 - *228 - *17 - *229 @@ -74631,8 +75105,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#get-a-delivery-for-a-repository-webhook parameters: - - *326 - - *327 + - *328 + - *329 - *228 - *16 responses: @@ -74661,8 +75135,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#redeliver-a-delivery-for-a-repository-webhook parameters: - - *326 - - *327 + - *328 + - *329 - *228 - *16 responses: @@ -74686,8 +75160,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#ping-a-repository-webhook parameters: - - *326 - - *327 + - *328 + - *329 - *228 responses: '204': @@ -74713,8 +75187,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#test-the-push-repository-webhook parameters: - - *326 - - *327 + - *328 + - *329 - *228 responses: '204': @@ -74773,14 +75247,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#get-an-import-status parameters: - - *326 - - *327 + - *328 + - *329 responses: '200': description: Response content: application/json: - schema: &502 + schema: &504 title: Import description: A repository import from an external source. type: object @@ -74887,7 +75361,7 @@ paths: - html_url - authors_url examples: - default: &505 + default: &507 value: vcs: subversion use_lfs: true @@ -74903,7 +75377,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': &503 + '503': &505 description: Unavailable due to service under maintenance. content: application/json: @@ -74932,8 +75406,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#start-an-import parameters: - - *326 - - *327 + - *328 + - *329 requestBody: required: true content: @@ -74981,7 +75455,7 @@ paths: description: Response content: application/json: - schema: *502 + schema: *504 examples: default: value: @@ -75006,7 +75480,7 @@ paths: type: string '422': *15 '404': *6 - '503': *503 + '503': *505 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75034,8 +75508,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#update-an-import parameters: - - *326 - - *327 + - *328 + - *329 requestBody: required: false content: @@ -75087,7 +75561,7 @@ paths: description: Response content: application/json: - schema: *502 + schema: *504 examples: example-1: summary: Example 1 @@ -75135,7 +75609,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': *503 + '503': *505 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75158,12 +75632,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#cancel-an-import parameters: - - *326 - - *327 + - *328 + - *329 responses: '204': description: Response - '503': *503 + '503': *505 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75189,9 +75663,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#get-commit-authors parameters: - - *326 - - *327 - - &686 + - *328 + - *329 + - &688 name: since description: A user ID. Only return users with an ID greater than this ID. in: query @@ -75205,7 +75679,7 @@ paths: application/json: schema: type: array - items: &504 + items: &506 title: Porter Author description: Porter Author type: object @@ -75259,7 +75733,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': *503 + '503': *505 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75284,8 +75758,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#map-a-commit-author parameters: - - *326 - - *327 + - *328 + - *329 - name: author_id in: path required: true @@ -75315,7 +75789,7 @@ paths: description: Response content: application/json: - schema: *504 + schema: *506 examples: default: value: @@ -75328,7 +75802,7 @@ paths: import_url: https://api.github.com/repos/octocat/socm/import '422': *15 '404': *6 - '503': *503 + '503': *505 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75352,8 +75826,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#get-large-files parameters: - - *326 - - *327 + - *328 + - *329 responses: '200': description: Response @@ -75394,7 +75868,7 @@ paths: path: foo/bar/3 oid: c20ad4d76fe97759aa27a0c99bff6710 size: 12582912 - '503': *503 + '503': *505 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75422,8 +75896,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#update-git-lfs-preference parameters: - - *326 - - *327 + - *328 + - *329 requestBody: required: true content: @@ -75450,11 +75924,11 @@ paths: description: Response content: application/json: - schema: *502 + schema: *504 examples: - default: *505 + default: *507 '422': *15 - '503': *503 + '503': *505 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75477,8 +75951,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/apps/apps#get-a-repository-installation-for-the-authenticated-app parameters: - - *326 - - *327 + - *328 + - *329 responses: '200': description: Response @@ -75486,8 +75960,8 @@ paths: application/json: schema: *20 examples: - default: *506 - '301': *340 + default: *508 + '301': *342 '404': *6 x-github: githubCloudOnly: false @@ -75507,8 +75981,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/interactions/repos#get-interaction-restrictions-for-a-repository parameters: - - *326 - - *327 + - *328 + - *329 responses: '200': description: Response @@ -75521,7 +75995,7 @@ paths: properties: {} additionalProperties: false examples: - default: &508 + default: &510 value: limit: collaborators_only origin: repository @@ -75546,13 +76020,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/interactions/repos#set-interaction-restrictions-for-a-repository parameters: - - *326 - - *327 + - *328 + - *329 requestBody: required: true content: application/json: - schema: *507 + schema: *509 examples: default: summary: Example request body @@ -75566,7 +76040,7 @@ paths: application/json: schema: *246 examples: - default: *508 + default: *510 '409': description: Response x-github: @@ -75588,8 +76062,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/interactions/repos#remove-interaction-restrictions-for-a-repository parameters: - - *326 - - *327 + - *328 + - *329 responses: '204': description: Response @@ -75612,8 +76086,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#list-repository-invitations parameters: - - *326 - - *327 + - *328 + - *329 - *17 - *18 responses: @@ -75623,9 +76097,9 @@ paths: application/json: schema: type: array - items: *509 + items: *511 examples: - default: &679 + default: &681 value: - id: 1 repository: @@ -75756,8 +76230,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#update-a-repository-invitation parameters: - - *326 - - *327 + - *328 + - *329 - *250 requestBody: required: false @@ -75787,7 +76261,7 @@ paths: description: Response content: application/json: - schema: *509 + schema: *511 examples: default: value: @@ -75918,8 +76392,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#delete-a-repository-invitation parameters: - - *326 - - *327 + - *328 + - *329 - *250 responses: '204': @@ -75951,8 +76425,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#list-repository-issues parameters: - - *326 - - *327 + - *328 + - *329 - 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 @@ -76017,7 +76491,7 @@ paths: type: array items: *135 examples: - default: &518 + default: &520 value: - id: 1 node_id: MDU6SXNzdWUx @@ -76165,7 +76639,7 @@ paths: state_reason: completed headers: Link: *37 - '301': *340 + '301': *342 '422': *15 '404': *6 x-github: @@ -76194,8 +76668,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#create-an-issue parameters: - - *326 - - *327 + - *328 + - *329 requestBody: required: true content: @@ -76278,7 +76752,7 @@ paths: application/json: schema: *135 examples: - default: &513 + default: &515 value: id: 1 node_id: MDU6SXNzdWUx @@ -76434,7 +76908,7 @@ paths: '422': *15 '503': *115 '404': *6 - '410': *337 + '410': *339 x-github: triggersNotification: true githubCloudOnly: false @@ -76462,8 +76936,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#list-issue-comments-for-a-repository parameters: - - *326 - - *327 + - *328 + - *329 - *144 - name: direction description: Either `asc` or `desc`. Ignored without the `sort` parameter. @@ -76484,9 +76958,9 @@ paths: application/json: schema: type: array - items: *510 + items: *512 examples: - default: &515 + default: &517 value: - id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -76544,17 +77018,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#get-an-issue-comment parameters: - - *326 - - *327 + - *328 + - *329 - *134 responses: '200': description: Response content: application/json: - schema: *510 + schema: *512 examples: - default: &511 + default: &513 value: id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -76608,8 +77082,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#update-an-issue-comment parameters: - - *326 - - *327 + - *328 + - *329 - *134 requestBody: required: true @@ -76632,9 +77106,9 @@ paths: description: Response content: application/json: - schema: *510 + schema: *512 examples: - default: *511 + default: *513 '422': *15 x-github: githubCloudOnly: false @@ -76652,8 +77126,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#delete-an-issue-comment parameters: - - *326 - - *327 + - *328 + - *329 - *134 responses: '204': @@ -76674,8 +77148,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-an-issue-comment parameters: - - *326 - - *327 + - *328 + - *329 - *134 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). @@ -76702,9 +77176,9 @@ paths: application/json: schema: type: array - items: *315 + items: *317 examples: - default: *317 + default: *319 headers: Link: *37 '404': *6 @@ -76725,8 +77199,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-an-issue-comment parameters: - - *326 - - *327 + - *328 + - *329 - *134 requestBody: required: true @@ -76759,16 +77233,16 @@ paths: description: Reaction exists content: application/json: - schema: *315 + schema: *317 examples: - default: *316 + default: *318 '201': description: Reaction created content: application/json: - schema: *315 + schema: *317 examples: - default: *316 + default: *318 '422': *15 x-github: githubCloudOnly: false @@ -76790,10 +77264,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-an-issue-comment-reaction parameters: - - *326 - - *327 + - *328 + - *329 - *134 - - *318 + - *320 responses: '204': description: Response @@ -76813,8 +77287,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/events#list-issue-events-for-a-repository parameters: - - *326 - - *327 + - *328 + - *329 - *17 - *18 responses: @@ -76824,7 +77298,7 @@ paths: application/json: schema: type: array - items: &512 + items: &514 title: Issue Event description: Issue Event type: object @@ -77163,8 +77637,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/events#get-an-issue-event parameters: - - *326 - - *327 + - *328 + - *329 - name: event_id in: path required: true @@ -77175,7 +77649,7 @@ paths: description: Response content: application/json: - schema: *512 + schema: *514 examples: default: value: @@ -77368,7 +77842,7 @@ paths: author_association: COLLABORATOR state_reason: completed '404': *6 - '410': *337 + '410': *339 '403': *27 x-github: githubCloudOnly: false @@ -77402,9 +77876,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue parameters: - - *326 - - *327 - - &514 + - *328 + - *329 + - &516 name: issue_number description: The number that identifies the issue. in: path @@ -77418,10 +77892,10 @@ paths: application/json: schema: *135 examples: - default: *513 - '301': *340 + default: *515 + '301': *342 '404': *6 - '410': *337 + '410': *339 '304': *35 x-github: githubCloudOnly: false @@ -77446,9 +77920,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#update-an-issue parameters: - - *326 - - *327 - - *514 + - *328 + - *329 + - *516 requestBody: required: false content: @@ -77558,13 +78032,13 @@ paths: application/json: schema: *135 examples: - default: *513 + default: *515 '422': *15 '503': *115 '403': *27 - '301': *340 + '301': *342 '404': *6 - '410': *337 + '410': *339 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77582,9 +78056,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/assignees#add-assignees-to-an-issue parameters: - - *326 - - *327 - - *514 + - *328 + - *329 + - *516 requestBody: required: false content: @@ -77612,7 +78086,7 @@ paths: application/json: schema: *135 examples: - default: *513 + default: *515 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77628,9 +78102,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/assignees#remove-assignees-from-an-issue parameters: - - *326 - - *327 - - *514 + - *328 + - *329 + - *516 requestBody: content: application/json: @@ -77657,7 +78131,7 @@ paths: application/json: schema: *135 examples: - default: *513 + default: *515 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77679,9 +78153,9 @@ paths: 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 parameters: - - *326 - - *327 - - *514 + - *328 + - *329 + - *516 - name: assignee in: path required: true @@ -77721,9 +78195,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#list-issue-comments parameters: - - *326 - - *327 - - *514 + - *328 + - *329 + - *516 - *125 - *17 - *18 @@ -77734,13 +78208,13 @@ paths: application/json: schema: type: array - items: *510 + items: *512 examples: - default: *515 + default: *517 headers: Link: *37 '404': *6 - '410': *337 + '410': *339 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77769,9 +78243,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#create-an-issue-comment parameters: - - *326 - - *327 - - *514 + - *328 + - *329 + - *516 requestBody: required: true content: @@ -77793,16 +78267,16 @@ paths: description: Response content: application/json: - schema: *510 + schema: *512 examples: - default: *511 + default: *513 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1 schema: type: string '403': *27 - '410': *337 + '410': *339 '422': *15 '404': *6 x-github: @@ -77822,9 +78296,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/events#list-issue-events parameters: - - *326 - - *327 - - *514 + - *328 + - *329 + - *516 - *17 - *18 responses: @@ -77838,7 +78312,7 @@ paths: title: Issue Event for Issue description: Issue Event for Issue anyOf: - - &519 + - &521 title: Labeled Issue Event description: Labeled Issue Event type: object @@ -77887,7 +78361,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &520 + - &522 title: Unlabeled Issue Event description: Unlabeled Issue Event type: object @@ -78015,7 +78489,7 @@ paths: - performed_via_github_app - assignee - assigner - - &521 + - &523 title: Milestoned Issue Event description: Milestoned Issue Event type: object @@ -78061,7 +78535,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &522 + - &524 title: Demilestoned Issue Event description: Demilestoned Issue Event type: object @@ -78107,7 +78581,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &523 + - &525 title: Renamed Issue Event description: Renamed Issue Event type: object @@ -78156,7 +78630,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &524 + - &526 title: Review Requested Issue Event description: Review Requested Issue Event type: object @@ -78198,7 +78672,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &525 + - &527 title: Review Request Removed Issue Event description: Review Request Removed Issue Event type: object @@ -78240,7 +78714,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &526 + - &528 title: Review Dismissed Issue Event description: Review Dismissed Issue Event type: object @@ -78296,7 +78770,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &527 + - &529 title: Locked Issue Event description: Locked Issue Event type: object @@ -78341,7 +78815,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &528 + - &530 title: Added to Project Issue Event description: Added to Project Issue Event type: object @@ -78402,7 +78876,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &529 + - &531 title: Moved Column in Project Issue Event description: Moved Column in Project Issue Event type: object @@ -78463,7 +78937,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &530 + - &532 title: Removed from Project Issue Event description: Removed from Project Issue Event type: object @@ -78524,7 +78998,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &531 + - &533 title: Converted Note to Issue Issue Event description: Converted Note to Issue Issue Event type: object @@ -78617,7 +79091,7 @@ paths: color: red headers: Link: *37 - '410': *337 + '410': *339 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -78634,9 +79108,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#list-labels-for-an-issue parameters: - - *326 - - *327 - - *514 + - *328 + - *329 + - *516 - *17 - *18 responses: @@ -78646,7 +79120,7 @@ paths: application/json: schema: type: array - items: &516 + items: &518 title: Label description: Color-coded labels help you categorize and filter your issues (just like labels in Gmail). @@ -78701,7 +79175,7 @@ paths: - color - default examples: - default: &517 + default: &519 value: - id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -78719,9 +79193,9 @@ paths: default: false headers: Link: *37 - '301': *340 + '301': *342 '404': *6 - '410': *337 + '410': *339 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -78738,9 +79212,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#add-labels-to-an-issue parameters: - - *326 - - *327 - - *514 + - *328 + - *329 + - *516 requestBody: required: false content: @@ -78799,12 +79273,12 @@ paths: application/json: schema: type: array - items: *516 + items: *518 examples: - default: *517 - '301': *340 + default: *519 + '301': *342 '404': *6 - '410': *337 + '410': *339 '422': *15 x-github: githubCloudOnly: false @@ -78821,9 +79295,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#set-labels-for-an-issue parameters: - - *326 - - *327 - - *514 + - *328 + - *329 + - *516 requestBody: required: false content: @@ -78883,12 +79357,12 @@ paths: application/json: schema: type: array - items: *516 + items: *518 examples: - default: *517 - '301': *340 + default: *519 + '301': *342 '404': *6 - '410': *337 + '410': *339 '422': *15 x-github: githubCloudOnly: false @@ -78905,15 +79379,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#remove-all-labels-from-an-issue parameters: - - *326 - - *327 - - *514 + - *328 + - *329 + - *516 responses: '204': description: Response - '301': *340 + '301': *342 '404': *6 - '410': *337 + '410': *339 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -78932,9 +79406,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#remove-a-label-from-an-issue parameters: - - *326 - - *327 - - *514 + - *328 + - *329 + - *516 - name: name in: path required: true @@ -78947,7 +79421,7 @@ paths: application/json: schema: type: array - items: *516 + items: *518 examples: default: value: @@ -78958,9 +79432,9 @@ paths: description: Something isn't working color: f29513 default: true - '301': *340 + '301': *342 '404': *6 - '410': *337 + '410': *339 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -78980,9 +79454,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#lock-an-issue parameters: - - *326 - - *327 - - *514 + - *328 + - *329 + - *516 requestBody: required: false content: @@ -79011,7 +79485,7 @@ paths: '204': description: Response '403': *27 - '410': *337 + '410': *339 '404': *6 '422': *15 x-github: @@ -79029,9 +79503,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#unlock-an-issue parameters: - - *326 - - *327 - - *514 + - *328 + - *329 + - *516 responses: '204': description: Response @@ -79053,9 +79527,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-an-issue parameters: - - *326 - - *327 - - *514 + - *328 + - *329 + - *516 - 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. @@ -79081,13 +79555,13 @@ paths: application/json: schema: type: array - items: *315 + items: *317 examples: - default: *317 + default: *319 headers: Link: *37 '404': *6 - '410': *337 + '410': *339 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79105,9 +79579,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-an-issue parameters: - - *326 - - *327 - - *514 + - *328 + - *329 + - *516 requestBody: required: true content: @@ -79139,16 +79613,16 @@ paths: description: Response content: application/json: - schema: *315 + schema: *317 examples: - default: *316 + default: *318 '201': description: Response content: application/json: - schema: *315 + schema: *317 examples: - default: *316 + default: *318 '422': *15 x-github: githubCloudOnly: false @@ -79170,10 +79644,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-an-issue-reaction parameters: - - *326 - - *327 - - *514 - - *318 + - *328 + - *329 + - *516 + - *320 responses: '204': description: Response @@ -79202,9 +79676,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#remove-sub-issue parameters: - - *326 - - *327 - - *514 + - *328 + - *329 + - *516 requestBody: required: true content: @@ -79228,7 +79702,7 @@ paths: application/json: schema: *135 examples: - default: *513 + default: *515 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/1/sub-issue @@ -79261,9 +79735,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#list-sub-issues parameters: - - *326 - - *327 - - *514 + - *328 + - *329 + - *516 - *17 - *18 responses: @@ -79275,11 +79749,11 @@ paths: type: array items: *135 examples: - default: *518 + default: *520 headers: Link: *37 '404': *6 - '410': *337 + '410': *339 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79307,9 +79781,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#add-sub-issue parameters: - - *326 - - *327 - - *514 + - *328 + - *329 + - *516 requestBody: required: true content: @@ -79337,14 +79811,14 @@ paths: application/json: schema: *135 examples: - default: *513 + default: *515 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/sub-issues/1 schema: type: string '403': *27 - '410': *337 + '410': *339 '422': *15 '404': *6 x-github: @@ -79364,9 +79838,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#reprioritize-sub-issue parameters: - - *326 - - *327 - - *514 + - *328 + - *329 + - *516 requestBody: required: true content: @@ -79399,7 +79873,7 @@ paths: application/json: schema: *135 examples: - default: *513 + default: *515 '403': *27 '404': *6 '422': *7 @@ -79421,9 +79895,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/timeline#list-timeline-events-for-an-issue parameters: - - *326 - - *327 - - *514 + - *328 + - *329 + - *516 - *17 - *18 responses: @@ -79438,8 +79912,6 @@ paths: description: Timeline Event type: object anyOf: - - *519 - - *520 - *521 - *522 - *523 @@ -79451,6 +79923,8 @@ paths: - *529 - *530 - *531 + - *532 + - *533 - title: Timeline Comment Event description: Timeline Comment Event type: object @@ -79773,7 +80247,7 @@ paths: type: string comments: type: array - items: &551 + items: &553 title: Pull Request Review Comment description: Pull Request Review Comments are comments on a portion of the Pull Request's diff. @@ -80011,7 +80485,7 @@ paths: type: string comments: type: array - items: *446 + items: *448 - title: Timeline Assigned Issue Event description: Timeline Assigned Issue Event type: object @@ -80286,7 +80760,7 @@ paths: headers: Link: *37 '404': *6 - '410': *337 + '410': *339 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -80303,8 +80777,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#list-deploy-keys parameters: - - *326 - - *327 + - *328 + - *329 - *17 - *18 responses: @@ -80314,7 +80788,7 @@ paths: application/json: schema: type: array - items: &532 + items: &534 title: Deploy Key description: An SSH key granting access to a single repository. type: object @@ -80381,8 +80855,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#create-a-deploy-key parameters: - - *326 - - *327 + - *328 + - *329 requestBody: required: true content: @@ -80418,9 +80892,9 @@ paths: description: Response content: application/json: - schema: *532 + schema: *534 examples: - default: &533 + default: &535 value: id: 1 key: ssh-rsa AAA... @@ -80454,9 +80928,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#get-a-deploy-key parameters: - - *326 - - *327 - - &534 + - *328 + - *329 + - &536 name: key_id description: The unique identifier of the key. in: path @@ -80468,9 +80942,9 @@ paths: description: Response content: application/json: - schema: *532 + schema: *534 examples: - default: *533 + default: *535 '404': *6 x-github: githubCloudOnly: false @@ -80488,9 +80962,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#delete-a-deploy-key parameters: - - *326 - - *327 - - *534 + - *328 + - *329 + - *536 responses: '204': description: Response @@ -80510,8 +80984,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#list-labels-for-a-repository parameters: - - *326 - - *327 + - *328 + - *329 - *17 - *18 responses: @@ -80521,9 +80995,9 @@ paths: application/json: schema: type: array - items: *516 + items: *518 examples: - default: *517 + default: *519 headers: Link: *37 '404': *6 @@ -80544,8 +81018,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#create-a-label parameters: - - *326 - - *327 + - *328 + - *329 requestBody: required: true content: @@ -80581,9 +81055,9 @@ paths: description: Response content: application/json: - schema: *516 + schema: *518 examples: - default: &535 + default: &537 value: id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -80615,8 +81089,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#get-a-label parameters: - - *326 - - *327 + - *328 + - *329 - name: name in: path required: true @@ -80627,9 +81101,9 @@ paths: description: Response content: application/json: - schema: *516 + schema: *518 examples: - default: *535 + default: *537 '404': *6 x-github: githubCloudOnly: false @@ -80646,8 +81120,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#update-a-label parameters: - - *326 - - *327 + - *328 + - *329 - name: name in: path required: true @@ -80686,7 +81160,7 @@ paths: description: Response content: application/json: - schema: *516 + schema: *518 examples: default: value: @@ -80712,8 +81186,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#delete-a-label parameters: - - *326 - - *327 + - *328 + - *329 - name: name in: path required: true @@ -80739,8 +81213,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-languages parameters: - - *326 - - *327 + - *328 + - *329 responses: '200': description: Response @@ -80776,8 +81250,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/lfs#enable-git-lfs-for-a-repository parameters: - - *326 - - *327 + - *328 + - *329 responses: '202': *85 '403': @@ -80805,8 +81279,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/lfs#disable-git-lfs-for-a-repository parameters: - - *326 - - *327 + - *328 + - *329 responses: '204': description: Response @@ -80832,9 +81306,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/licenses/licenses#get-the-license-for-a-repository parameters: - - *326 - - *327 - - *424 + - *328 + - *329 + - *426 responses: '200': description: Response @@ -80981,8 +81455,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#sync-a-fork-branch-with-the-upstream-repository parameters: - - *326 - - *327 + - *328 + - *329 requestBody: required: true content: @@ -81047,8 +81521,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#merge-a-branch parameters: - - *326 - - *327 + - *328 + - *329 requestBody: required: true content: @@ -81082,9 +81556,9 @@ paths: description: Successful Response (The resulting merge commit) content: application/json: - schema: *447 + schema: *449 examples: - default: *536 + default: *538 '204': description: Response when already merged '404': @@ -81109,8 +81583,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#list-milestones parameters: - - *326 - - *327 + - *328 + - *329 - name: state description: The state of the milestone. Either `open`, `closed`, or `all`. in: query @@ -81151,7 +81625,7 @@ paths: application/json: schema: type: array - items: *451 + items: *453 examples: default: value: @@ -81207,8 +81681,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#create-a-milestone parameters: - - *326 - - *327 + - *328 + - *329 requestBody: required: true content: @@ -81248,9 +81722,9 @@ paths: description: Response content: application/json: - schema: *451 + schema: *453 examples: - default: &537 + default: &539 value: url: https://api.github.com/repos/octocat/Hello-World/milestones/1 html_url: https://github.com/octocat/Hello-World/milestones/v1.0 @@ -81309,9 +81783,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#get-a-milestone parameters: - - *326 - - *327 - - &538 + - *328 + - *329 + - &540 name: milestone_number description: The number that identifies the milestone. in: path @@ -81323,9 +81797,9 @@ paths: description: Response content: application/json: - schema: *451 + schema: *453 examples: - default: *537 + default: *539 '404': *6 x-github: githubCloudOnly: false @@ -81342,9 +81816,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#update-a-milestone parameters: - - *326 - - *327 - - *538 + - *328 + - *329 + - *540 requestBody: required: false content: @@ -81382,9 +81856,9 @@ paths: description: Response content: application/json: - schema: *451 + schema: *453 examples: - default: *537 + default: *539 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -81400,9 +81874,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#delete-a-milestone parameters: - - *326 - - *327 - - *538 + - *328 + - *329 + - *540 responses: '204': description: Response @@ -81423,9 +81897,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#list-labels-for-issues-in-a-milestone parameters: - - *326 - - *327 - - *538 + - *328 + - *329 + - *540 - *17 - *18 responses: @@ -81435,9 +81909,9 @@ paths: application/json: schema: type: array - items: *516 + items: *518 examples: - default: *517 + default: *519 headers: Link: *37 x-github: @@ -81456,12 +81930,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#list-repository-notifications-for-the-authenticated-user parameters: - - *326 - - *327 - - *539 - - *540 - - *125 + - *328 + - *329 - *541 + - *542 + - *125 + - *543 - *17 - *18 responses: @@ -81473,7 +81947,7 @@ paths: type: array items: *147 examples: - default: *542 + default: *544 headers: Link: *37 x-github: @@ -81497,8 +81971,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#mark-repository-notifications-as-read parameters: - - *326 - - *327 + - *328 + - *329 requestBody: required: false content: @@ -81556,14 +82030,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#get-a-apiname-pages-site parameters: - - *326 - - *327 + - *328 + - *329 responses: '200': description: Response content: application/json: - schema: &543 + schema: &545 title: GitHub Pages description: The configuration for GitHub Pages for a repository. type: object @@ -81707,7 +82181,7 @@ paths: - custom_404 - public examples: - default: &544 + default: &546 value: url: https://api.github.com/repos/github/developer.github.com/pages status: built @@ -81748,8 +82222,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#create-a-apiname-pages-site parameters: - - *326 - - *327 + - *328 + - *329 requestBody: required: true content: @@ -81804,9 +82278,9 @@ paths: description: Response content: application/json: - schema: *543 + schema: *545 examples: - default: *544 + default: *546 '422': *15 '409': *84 x-github: @@ -81829,8 +82303,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#update-information-about-a-apiname-pages-site parameters: - - *326 - - *327 + - *328 + - *329 requestBody: required: true content: @@ -81938,8 +82412,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#delete-a-apiname-pages-site parameters: - - *326 - - *327 + - *328 + - *329 responses: '204': description: Response @@ -81965,8 +82439,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#list-apiname-pages-builds parameters: - - *326 - - *327 + - *328 + - *329 - *17 - *18 responses: @@ -81976,7 +82450,7 @@ paths: application/json: schema: type: array - items: &545 + items: &547 title: Page Build description: Page Build type: object @@ -82068,8 +82542,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#request-a-apiname-pages-build parameters: - - *326 - - *327 + - *328 + - *329 responses: '201': description: Response @@ -82116,16 +82590,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#get-latest-pages-build parameters: - - *326 - - *327 + - *328 + - *329 responses: '200': description: Response content: application/json: - schema: *545 + schema: *547 examples: - default: &546 + default: &548 value: url: https://api.github.com/repos/github/developer.github.com/pages/builds/5472601 status: built @@ -82173,8 +82647,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#get-apiname-pages-build parameters: - - *326 - - *327 + - *328 + - *329 - name: build_id in: path required: true @@ -82185,9 +82659,9 @@ paths: description: Response content: application/json: - schema: *545 + schema: *547 examples: - default: *546 + default: *548 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -82207,8 +82681,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#create-a-github-pages-deployment parameters: - - *326 - - *327 + - *328 + - *329 requestBody: required: true content: @@ -82317,9 +82791,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#get-the-status-of-a-github-pages-deployment parameters: - - *326 - - *327 - - &547 + - *328 + - *329 + - &549 name: pages_deployment_id description: The ID of the Pages deployment. You can also give the commit SHA of the deployment. @@ -82377,9 +82851,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#cancel-a-github-pages-deployment parameters: - - *326 - - *327 - - *547 + - *328 + - *329 + - *549 responses: '204': *102 '404': *6 @@ -82406,8 +82880,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#get-a-dns-health-check-for-github-pages parameters: - - *326 - - *327 + - *328 + - *329 responses: '200': description: Response @@ -82702,8 +83176,8 @@ paths: 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 parameters: - - *326 - - *327 + - *328 + - *329 responses: '200': description: Private vulnerability reporting status @@ -82740,8 +83214,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#enable-private-vulnerability-reporting-for-a-repository parameters: - - *326 - - *327 + - *328 + - *329 responses: '204': *102 '422': *14 @@ -82762,8 +83236,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#disable-private-vulnerability-reporting-for-a-repository parameters: - - *326 - - *327 + - *328 + - *329 responses: '204': *102 '422': *14 @@ -82786,8 +83260,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#list-repository-projects parameters: - - *326 - - *327 + - *328 + - *329 - name: state description: Indicates the state of the projects to return. in: query @@ -82808,7 +83282,7 @@ paths: application/json: schema: type: array - items: *279 + items: *281 examples: default: value: @@ -82848,7 +83322,7 @@ paths: '401': *23 '403': *27 '404': *6 - '410': *337 + '410': *339 '422': *7 x-github: githubCloudOnly: false @@ -82868,8 +83342,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#create-a-repository-project parameters: - - *326 - - *327 + - *328 + - *329 requestBody: required: true content: @@ -82895,13 +83369,13 @@ paths: description: Response content: application/json: - schema: *279 + schema: *281 examples: - default: *336 + default: *338 '401': *23 '403': *27 '404': *6 - '410': *337 + '410': *339 '422': *7 x-github: githubCloudOnly: false @@ -82921,8 +83395,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/custom-properties#get-all-custom-property-values-for-a-repository parameters: - - *326 - - *327 + - *328 + - *329 responses: '200': description: Response @@ -82930,7 +83404,7 @@ paths: application/json: schema: type: array - items: *281 + items: *283 examples: default: value: @@ -82961,8 +83435,8 @@ paths: 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 parameters: - - *326 - - *327 + - *328 + - *329 requestBody: required: true content: @@ -82974,7 +83448,7 @@ paths: type: array description: A list of custom property names and associated values to apply to the repositories. - items: *281 + items: *283 required: - properties examples: @@ -83024,8 +83498,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#list-pull-requests parameters: - - *326 - - *327 + - *328 + - *329 - name: state description: Either `open`, `closed`, or `all` to filter by state. in: query @@ -83085,9 +83559,9 @@ paths: application/json: schema: type: array - items: *548 + items: *550 examples: - default: *549 + default: *551 headers: Link: *37 '304': *35 @@ -83119,8 +83593,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#create-a-pull-request parameters: - - *326 - - *327 + - *328 + - *329 requestBody: required: true content: @@ -83187,7 +83661,7 @@ paths: description: Response content: application/json: - schema: &553 + schema: &555 type: object title: Pull Request description: Pull requests let you tell others about changes you've @@ -83316,7 +83790,7 @@ paths: milestone: anyOf: - type: 'null' - - *451 + - *453 active_lock_reason: type: - string @@ -83409,14 +83883,14 @@ paths: _links: type: object properties: - comments: *452 - commits: *452 - statuses: *452 - html: *452 - issue: *452 - review_comments: *452 - review_comment: *452 - self: *452 + comments: *454 + commits: *454 + statuses: *454 + html: *454 + issue: *454 + review_comments: *454 + review_comment: *454 + self: *454 required: - comments - commits @@ -83427,7 +83901,7 @@ paths: - review_comment - self author_association: *122 - auto_merge: *550 + auto_merge: *552 draft: description: Indicates whether or not the pull request is a draft. type: boolean @@ -83529,7 +84003,7 @@ paths: - merged_by - review_comments examples: - default: &554 + default: &556 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -84056,8 +84530,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments#list-review-comments-in-a-repository parameters: - - *326 - - *327 + - *328 + - *329 - name: sort in: query required: false @@ -84086,9 +84560,9 @@ paths: application/json: schema: type: array - items: *551 + items: *553 examples: - default: &556 + default: &558 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -84165,17 +84639,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments#get-a-review-comment-for-a-pull-request parameters: - - *326 - - *327 + - *328 + - *329 - *134 responses: '200': description: Response content: application/json: - schema: *551 + schema: *553 examples: - default: &552 + default: &554 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -84250,8 +84724,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments#update-a-review-comment-for-a-pull-request parameters: - - *326 - - *327 + - *328 + - *329 - *134 requestBody: required: true @@ -84274,9 +84748,9 @@ paths: description: Response content: application/json: - schema: *551 + schema: *553 examples: - default: *552 + default: *554 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84292,8 +84766,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments#delete-a-review-comment-for-a-pull-request parameters: - - *326 - - *327 + - *328 + - *329 - *134 responses: '204': @@ -84315,8 +84789,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-pull-request-review-comment parameters: - - *326 - - *327 + - *328 + - *329 - *134 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). @@ -84343,9 +84817,9 @@ paths: application/json: schema: type: array - items: *315 + items: *317 examples: - default: *317 + default: *319 headers: Link: *37 '404': *6 @@ -84366,8 +84840,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-pull-request-review-comment parameters: - - *326 - - *327 + - *328 + - *329 - *134 requestBody: required: true @@ -84400,16 +84874,16 @@ paths: description: Reaction exists content: application/json: - schema: *315 + schema: *317 examples: - default: *316 + default: *318 '201': description: Reaction created content: application/json: - schema: *315 + schema: *317 examples: - default: *316 + default: *318 '422': *15 x-github: githubCloudOnly: false @@ -84431,10 +84905,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-a-pull-request-comment-reaction parameters: - - *326 - - *327 + - *328 + - *329 - *134 - - *318 + - *320 responses: '204': description: Response @@ -84477,9 +84951,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#get-a-pull-request parameters: - - *326 - - *327 - - &555 + - *328 + - *329 + - &557 name: pull_number description: The number that identifies the pull request. in: path @@ -84492,9 +84966,9 @@ paths: to fetch diff and patch formats. content: application/json: - schema: *553 + schema: *555 examples: - default: *554 + default: *556 '304': *35 '404': *6 '406': @@ -84529,9 +85003,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#update-a-pull-request parameters: - - *326 - - *327 - - *555 + - *328 + - *329 + - *557 requestBody: required: false content: @@ -84573,9 +85047,9 @@ paths: description: Response content: application/json: - schema: *553 + schema: *555 examples: - default: *554 + default: *556 '422': *15 '403': *27 x-github: @@ -84597,9 +85071,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#create-a-codespace-from-a-pull-request parameters: - - *326 - - *327 - - *555 + - *328 + - *329 + - *557 requestBody: required: true content: @@ -84662,7 +85136,7 @@ paths: application/json: schema: *255 examples: - default: *438 + default: *440 '202': description: Response when the codespace creation partially failed but is being retried in the background @@ -84670,7 +85144,7 @@ paths: application/json: schema: *255 examples: - default: *438 + default: *440 '401': *23 '403': *27 '404': *6 @@ -84700,9 +85174,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments#list-review-comments-on-a-pull-request parameters: - - *326 - - *327 - - *555 + - *328 + - *329 + - *557 - *144 - name: direction description: The direction to sort results. Ignored without `sort` parameter. @@ -84723,9 +85197,9 @@ paths: application/json: schema: type: array - items: *551 + items: *553 examples: - default: *556 + default: *558 headers: Link: *37 x-github: @@ -84758,9 +85232,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments#create-a-review-comment-for-a-pull-request parameters: - - *326 - - *327 - - *555 + - *328 + - *329 + - *557 requestBody: required: true content: @@ -84866,7 +85340,7 @@ paths: description: Response content: application/json: - schema: *551 + schema: *553 examples: example-for-a-multi-line-comment: value: @@ -84954,9 +85428,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments#create-a-reply-for-a-review-comment parameters: - - *326 - - *327 - - *555 + - *328 + - *329 + - *557 - *134 requestBody: required: true @@ -84979,7 +85453,7 @@ paths: description: Response content: application/json: - schema: *551 + schema: *553 examples: default: value: @@ -85065,9 +85539,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#list-commits-on-a-pull-request parameters: - - *326 - - *327 - - *555 + - *328 + - *329 + - *557 - *17 - *18 responses: @@ -85077,9 +85551,9 @@ paths: application/json: schema: type: array - items: *447 + items: *449 examples: - default: *557 + default: *559 headers: Link: *37 x-github: @@ -85109,9 +85583,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#list-pull-requests-files parameters: - - *326 - - *327 - - *555 + - *328 + - *329 + - *557 - *17 - *18 responses: @@ -85121,7 +85595,7 @@ paths: application/json: schema: type: array - items: *459 + items: *461 examples: default: value: @@ -85159,9 +85633,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#check-if-a-pull-request-has-been-merged parameters: - - *326 - - *327 - - *555 + - *328 + - *329 + - *557 responses: '204': description: Response if pull request has been merged @@ -85184,9 +85658,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#merge-a-pull-request parameters: - - *326 - - *327 - - *555 + - *328 + - *329 + - *557 requestBody: required: false content: @@ -85298,9 +85772,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/review-requests#get-all-requested-reviewers-for-a-pull-request parameters: - - *326 - - *327 - - *555 + - *328 + - *329 + - *557 responses: '200': description: Response @@ -85375,9 +85849,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/review-requests#request-reviewers-for-a-pull-request parameters: - - *326 - - *327 - - *555 + - *328 + - *329 + - *557 requestBody: required: false content: @@ -85414,7 +85888,7 @@ paths: description: Response content: application/json: - schema: *548 + schema: *550 examples: default: value: @@ -85950,9 +86424,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/review-requests#remove-requested-reviewers-from-a-pull-request parameters: - - *326 - - *327 - - *555 + - *328 + - *329 + - *557 requestBody: required: true content: @@ -85986,7 +86460,7 @@ paths: description: Response content: application/json: - schema: *548 + schema: *550 examples: default: value: @@ -86491,9 +86965,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/reviews#list-reviews-for-a-pull-request parameters: - - *326 - - *327 - - *555 + - *328 + - *329 + - *557 - *17 - *18 responses: @@ -86503,7 +86977,7 @@ paths: application/json: schema: type: array - items: &558 + items: &560 title: Pull Request Review description: Pull Request Reviews are reviews on pull requests. type: object @@ -86659,9 +87133,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/reviews#create-a-review-for-a-pull-request parameters: - - *326 - - *327 - - *555 + - *328 + - *329 + - *557 requestBody: required: false content: @@ -86751,9 +87225,9 @@ paths: description: Response content: application/json: - schema: *558 + schema: *560 examples: - default: &560 + default: &562 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -86816,10 +87290,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/reviews#get-a-review-for-a-pull-request parameters: - - *326 - - *327 - - *555 - - &559 + - *328 + - *329 + - *557 + - &561 name: review_id description: The unique identifier of the review. in: path @@ -86831,9 +87305,9 @@ paths: description: Response content: application/json: - schema: *558 + schema: *560 examples: - default: &561 + default: &563 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -86892,10 +87366,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/reviews#update-a-review-for-a-pull-request parameters: - - *326 - - *327 - - *555 - - *559 + - *328 + - *329 + - *557 + - *561 requestBody: required: true content: @@ -86918,7 +87392,7 @@ paths: description: Response content: application/json: - schema: *558 + schema: *560 examples: default: value: @@ -86980,18 +87454,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/reviews#delete-a-pending-review-for-a-pull-request parameters: - - *326 - - *327 - - *555 - - *559 + - *328 + - *329 + - *557 + - *561 responses: '200': description: Response content: application/json: - schema: *558 + schema: *560 examples: - default: *560 + default: *562 '422': *7 '404': *6 x-github: @@ -87018,10 +87492,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/reviews#list-comments-for-a-pull-request-review parameters: - - *326 - - *327 - - *555 - - *559 + - *328 + - *329 + - *557 + - *561 - *17 - *18 responses: @@ -87119,9 +87593,9 @@ paths: _links: type: object properties: - self: *452 - html: *452 - pull_request: *452 + self: *454 + html: *454 + pull_request: *454 required: - self - html @@ -87272,10 +87746,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/reviews#dismiss-a-review-for-a-pull-request parameters: - - *326 - - *327 - - *555 - - *559 + - *328 + - *329 + - *557 + - *561 requestBody: required: true content: @@ -87304,7 +87778,7 @@ paths: description: Response content: application/json: - schema: *558 + schema: *560 examples: default: value: @@ -87367,10 +87841,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/reviews#submit-a-review-for-a-pull-request parameters: - - *326 - - *327 - - *555 - - *559 + - *328 + - *329 + - *557 + - *561 requestBody: required: true content: @@ -87405,9 +87879,9 @@ paths: description: Response content: application/json: - schema: *558 + schema: *560 examples: - default: *561 + default: *563 '404': *6 '422': *7 '403': *27 @@ -87429,9 +87903,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#update-a-pull-request-branch parameters: - - *326 - - *327 - - *555 + - *328 + - *329 + - *557 requestBody: required: false content: @@ -87495,8 +87969,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#get-a-repository-readme parameters: - - *326 - - *327 + - *328 + - *329 - name: ref description: 'The name of the commit/branch/tag. Default: the repository’s default branch.' @@ -87509,9 +87983,9 @@ paths: description: Response content: application/json: - schema: *562 + schema: *564 examples: - default: &563 + default: &565 value: type: file encoding: base64 @@ -87553,8 +88027,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#get-a-repository-readme-for-a-directory parameters: - - *326 - - *327 + - *328 + - *329 - name: dir description: The alternate path to look for a README file in: path @@ -87574,9 +88048,9 @@ paths: description: Response content: application/json: - schema: *562 + schema: *564 examples: - default: *563 + default: *565 '404': *6 '422': *15 x-github: @@ -87598,8 +88072,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#list-releases parameters: - - *326 - - *327 + - *328 + - *329 - *17 - *18 responses: @@ -87609,7 +88083,7 @@ paths: application/json: schema: type: array - items: &564 + items: &566 title: Release description: A release. type: object @@ -87681,7 +88155,7 @@ paths: author: *4 assets: type: array - items: &565 + items: &567 title: Release Asset description: Data related to a release. type: object @@ -87861,8 +88335,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#create-a-release parameters: - - *326 - - *327 + - *328 + - *329 requestBody: required: true content: @@ -87938,9 +88412,9 @@ paths: description: Response content: application/json: - schema: *564 + schema: *566 examples: - default: &568 + default: &570 value: url: https://api.github.com/repos/octocat/Hello-World/releases/1 html_url: https://github.com/octocat/Hello-World/releases/v1.0.0 @@ -88043,9 +88517,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/assets#get-a-release-asset parameters: - - *326 - - *327 - - &566 + - *328 + - *329 + - &568 name: asset_id description: The unique identifier of the asset. in: path @@ -88057,9 +88531,9 @@ paths: description: Response content: application/json: - schema: *565 + schema: *567 examples: - default: &567 + default: &569 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 @@ -88093,7 +88567,7 @@ paths: type: User site_admin: false '404': *6 - '302': *461 + '302': *463 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88109,9 +88583,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/assets#update-a-release-asset parameters: - - *326 - - *327 - - *566 + - *328 + - *329 + - *568 requestBody: required: false content: @@ -88140,9 +88614,9 @@ paths: description: Response content: application/json: - schema: *565 + schema: *567 examples: - default: *567 + default: *569 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88158,9 +88632,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/assets#delete-a-release-asset parameters: - - *326 - - *327 - - *566 + - *328 + - *329 + - *568 responses: '204': description: Response @@ -88184,8 +88658,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#generate-release-notes-content-for-a-release parameters: - - *326 - - *327 + - *328 + - *329 requestBody: required: true content: @@ -88271,16 +88745,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#get-the-latest-release parameters: - - *326 - - *327 + - *328 + - *329 responses: '200': description: Response content: application/json: - schema: *564 + schema: *566 examples: - default: *568 + default: *570 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88297,8 +88771,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#get-a-release-by-tag-name parameters: - - *326 - - *327 + - *328 + - *329 - name: tag description: tag parameter in: path @@ -88311,9 +88785,9 @@ paths: description: Response content: application/json: - schema: *564 + schema: *566 examples: - default: *568 + default: *570 '404': *6 x-github: githubCloudOnly: false @@ -88335,9 +88809,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#get-a-release parameters: - - *326 - - *327 - - &569 + - *328 + - *329 + - &571 name: release_id description: The unique identifier of the release. in: path @@ -88351,9 +88825,9 @@ paths: 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: *564 + schema: *566 examples: - default: *568 + default: *570 '401': description: Unauthorized x-github: @@ -88371,9 +88845,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#update-a-release parameters: - - *326 - - *327 - - *569 + - *328 + - *329 + - *571 requestBody: required: false content: @@ -88437,9 +88911,9 @@ paths: description: Response content: application/json: - schema: *564 + schema: *566 examples: - default: *568 + default: *570 '404': description: Not Found if the discussion category name is invalid content: @@ -88460,9 +88934,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#delete-a-release parameters: - - *326 - - *327 - - *569 + - *328 + - *329 + - *571 responses: '204': description: Response @@ -88482,9 +88956,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/assets#list-release-assets parameters: - - *326 - - *327 - - *569 + - *328 + - *329 + - *571 - *17 - *18 responses: @@ -88494,7 +88968,7 @@ paths: application/json: schema: type: array - items: *565 + items: *567 examples: default: value: @@ -88575,9 +89049,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: - - *326 - - *327 - - *569 + - *328 + - *329 + - *571 - name: name in: query required: true @@ -88603,7 +89077,7 @@ paths: description: Response for successful upload content: application/json: - schema: *565 + schema: *567 examples: response-for-successful-upload: value: @@ -88657,9 +89131,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-release parameters: - - *326 - - *327 - - *569 + - *328 + - *329 + - *571 - 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. @@ -88683,9 +89157,9 @@ paths: application/json: schema: type: array - items: *315 + items: *317 examples: - default: *317 + default: *319 headers: Link: *37 '404': *6 @@ -88706,9 +89180,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-release parameters: - - *326 - - *327 - - *569 + - *328 + - *329 + - *571 requestBody: required: true content: @@ -88738,16 +89212,16 @@ paths: description: Reaction exists content: application/json: - schema: *315 + schema: *317 examples: - default: *316 + default: *318 '201': description: Reaction created content: application/json: - schema: *315 + schema: *317 examples: - default: *316 + default: *318 '422': *15 x-github: githubCloudOnly: false @@ -88769,10 +89243,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-a-release-reaction parameters: - - *326 - - *327 - - *569 - - *318 + - *328 + - *329 + - *571 + - *320 responses: '204': description: Response @@ -88796,9 +89270,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rules#get-rules-for-a-branch parameters: - - *326 - - *327 - - *385 + - *328 + - *329 + - *387 - *17 - *18 responses: @@ -88814,8 +89288,8 @@ paths: description: A repository rule with ruleset details. oneOf: - allOf: - - *570 - - &572 + - *572 + - &574 title: repository ruleset data for rule description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -88834,54 +89308,54 @@ paths: ruleset_id: type: integer description: The ID of the ruleset that includes this rule. - - allOf: - - *571 - - *572 - allOf: - *573 - - *572 - - allOf: - *574 - - *572 - allOf: - *575 - - *572 + - *574 - allOf: - *576 - - *572 + - *574 - allOf: - *577 - - *572 + - *574 - allOf: - *578 - - *572 + - *574 - allOf: - *579 - - *572 + - *574 - allOf: - *580 - - *572 + - *574 - allOf: - *581 - - *572 + - *574 - allOf: - *582 - - *572 + - *574 - allOf: - *583 - - *572 + - *574 - allOf: - *584 - - *572 + - *574 - allOf: - *585 - - *572 + - *574 - allOf: - *586 - - *572 + - *574 - allOf: - *587 - - *572 + - *574 + - allOf: + - *588 + - *574 + - allOf: + - *589 + - *574 examples: default: value: @@ -88920,8 +89394,8 @@ paths: category: repos subcategory: rules parameters: - - *326 - - *327 + - *328 + - *329 - *17 - *18 - name: includes_parents @@ -88932,7 +89406,7 @@ paths: schema: type: boolean default: true - - *588 + - *590 responses: '200': description: Response @@ -88987,8 +89461,8 @@ paths: category: repos subcategory: rules parameters: - - *326 - - *327 + - *328 + - *329 requestBody: description: Request body required: true @@ -89050,7 +89524,7 @@ paths: application/json: schema: *112 examples: - default: &597 + default: &599 value: id: 42 name: super cool ruleset @@ -89097,12 +89571,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rule-suites#list-repository-rule-suites parameters: - - *326 - - *327 - - *589 - - *287 - - *590 + - *328 + - *329 - *591 + - *289 + - *592 + - *593 - *17 - *18 responses: @@ -89110,9 +89584,9 @@ paths: description: Response content: application/json: - schema: *592 + schema: *594 examples: - default: *593 + default: *595 '404': *6 '500': *87 x-github: @@ -89133,17 +89607,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rule-suites#get-a-repository-rule-suite parameters: - - *326 - - *327 - - *594 + - *328 + - *329 + - *596 responses: '200': description: Response content: application/json: - schema: *595 + schema: *597 examples: - default: *596 + default: *598 '404': *6 '500': *87 x-github: @@ -89171,8 +89645,8 @@ paths: category: repos subcategory: rules parameters: - - *326 - - *327 + - *328 + - *329 - name: ruleset_id description: The ID of the ruleset. in: path @@ -89194,7 +89668,7 @@ paths: application/json: schema: *112 examples: - default: *597 + default: *599 '404': *6 '500': *87 put: @@ -89212,8 +89686,8 @@ paths: category: repos subcategory: rules parameters: - - *326 - - *327 + - *328 + - *329 - name: ruleset_id description: The ID of the ruleset. in: path @@ -89277,7 +89751,7 @@ paths: application/json: schema: *112 examples: - default: *597 + default: *599 '404': *6 '500': *87 delete: @@ -89295,8 +89769,8 @@ paths: category: repos subcategory: rules parameters: - - *326 - - *327 + - *328 + - *329 - name: ruleset_id description: The ID of the ruleset. in: path @@ -89324,20 +89798,20 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-a-repository parameters: - - *326 - - *327 - - *289 - - *290 + - *328 + - *329 - *291 - *292 + - *293 + - *294 - *76 - *18 - *17 - - *598 - - *599 - - *293 - - *294 + - *600 + - *601 - *295 + - *296 + - *297 responses: '200': description: Response @@ -89345,7 +89819,7 @@ paths: application/json: schema: type: array - items: &602 + items: &604 type: object properties: number: *88 @@ -89361,8 +89835,8 @@ paths: format: uri description: The REST API URL of the code locations for this alert. - state: *600 - resolution: *601 + state: *602 + resolution: *603 resolved_at: type: - string @@ -89575,15 +90049,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/secret-scanning#get-a-secret-scanning-alert parameters: - - *326 - - *327 - - *418 + - *328 + - *329 + - *420 responses: '200': description: Response content: application/json: - schema: *602 + schema: *604 examples: default: value: @@ -89635,9 +90109,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/secret-scanning#update-a-secret-scanning-alert parameters: - - *326 - - *327 - - *418 + - *328 + - *329 + - *420 requestBody: required: true content: @@ -89645,8 +90119,8 @@ paths: schema: type: object properties: - state: *600 - resolution: *601 + state: *602 + resolution: *603 resolution_comment: description: An optional comment when closing an alert. Cannot be updated or deleted. Must be `null` when changing `state` to `open`. @@ -89665,7 +90139,7 @@ paths: description: Response content: application/json: - schema: *602 + schema: *604 examples: default: value: @@ -89740,9 +90214,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/secret-scanning#list-locations-for-a-secret-scanning-alert parameters: - - *326 - - *327 - - *418 + - *328 + - *329 + - *420 - *18 - *17 responses: @@ -89753,7 +90227,7 @@ paths: schema: type: array description: List of locations where the secret was detected - items: &758 + items: &760 type: object properties: type: @@ -90132,8 +90606,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/secret-scanning#create-a-push-protection-bypass parameters: - - *326 - - *327 + - *328 + - *329 requestBody: required: true content: @@ -90141,14 +90615,14 @@ paths: schema: type: object properties: - reason: &604 + reason: &606 description: The reason for bypassing push protection. type: string enum: - false_positive - used_in_tests - will_fix_later - placeholder_id: *603 + placeholder_id: *605 required: - reason - placeholder_id @@ -90165,7 +90639,7 @@ paths: schema: type: object properties: - reason: *604 + reason: *606 expire_at: type: - string @@ -90209,8 +90683,8 @@ paths: 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 parameters: - - *326 - - *327 + - *328 + - *329 responses: '404': description: Repository does not have GitHub Advanced Security or secret @@ -90225,7 +90699,7 @@ paths: properties: incremental_scans: type: array - items: &605 + items: &607 description: Information on a single scan performed by secret scanning on the repository type: object @@ -90253,15 +90727,15 @@ paths: the scan is pending pattern_update_scans: type: array - items: *605 + items: *607 backfill_scans: type: array - items: *605 + items: *607 custom_pattern_backfill_scans: type: array items: allOf: - - *605 + - *607 - type: object properties: pattern_name: @@ -90331,8 +90805,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/security-advisories/repository-advisories#list-repository-security-advisories parameters: - - *326 - - *327 + - *328 + - *329 - *76 - name: sort description: The property to sort the results by. @@ -90376,9 +90850,9 @@ paths: application/json: schema: type: array - items: *606 + items: *608 examples: - default: *607 + default: *609 '400': *14 '404': *6 x-github: @@ -90401,8 +90875,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/security-advisories/repository-advisories#create-a-repository-security-advisory parameters: - - *326 - - *327 + - *328 + - *329 requestBody: required: true content: @@ -90482,7 +90956,7 @@ paths: login: type: string description: The username of the user credited. - type: *298 + type: *300 required: - login - type @@ -90572,9 +91046,9 @@ paths: description: Response content: application/json: - schema: *606 + schema: *608 examples: - default: &609 + default: &611 value: ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -90807,8 +91281,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/security-advisories/repository-advisories#privately-report-a-security-vulnerability parameters: - - *326 - - *327 + - *328 + - *329 requestBody: required: true content: @@ -90921,7 +91395,7 @@ paths: description: Response content: application/json: - schema: *606 + schema: *608 examples: default: value: @@ -91068,17 +91542,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/security-advisories/repository-advisories#get-a-repository-security-advisory parameters: - - *326 - - *327 - - *608 + - *328 + - *329 + - *610 responses: '200': description: Response content: application/json: - schema: *606 + schema: *608 examples: - default: *609 + default: *611 '403': *27 '404': *6 x-github: @@ -91102,9 +91576,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/security-advisories/repository-advisories#update-a-repository-security-advisory parameters: - - *326 - - *327 - - *608 + - *328 + - *329 + - *610 requestBody: required: true content: @@ -91184,7 +91658,7 @@ paths: login: type: string description: The username of the user credited. - type: *298 + type: *300 required: - login - type @@ -91275,10 +91749,10 @@ paths: description: Response content: application/json: - schema: *606 + schema: *608 examples: - default: *609 - add_credit: *609 + default: *611 + add_credit: *611 '403': *27 '404': *6 '422': @@ -91316,9 +91790,9 @@ paths: 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 parameters: - - *326 - - *327 - - *608 + - *328 + - *329 + - *610 responses: '202': *85 '400': *14 @@ -91345,17 +91819,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/security-advisories/repository-advisories#create-a-temporary-private-fork parameters: - - *326 - - *327 - - *608 + - *328 + - *329 + - *610 responses: '202': description: Response content: application/json: - schema: *339 + schema: *341 examples: - default: *341 + default: *343 '400': *14 '422': *15 '403': *27 @@ -91381,8 +91855,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/starring#list-stargazers parameters: - - *326 - - *327 + - *328 + - *329 - *17 - *18 responses: @@ -91478,8 +91952,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/statistics#get-the-weekly-commit-activity parameters: - - *326 - - *327 + - *328 + - *329 responses: '200': description: Returns a weekly aggregate of the number of additions and deletions @@ -91488,7 +91962,7 @@ paths: application/json: schema: type: array - items: &610 + items: &612 title: Code Frequency Stat description: Code Frequency Stat type: array @@ -91521,8 +91995,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/statistics#get-the-last-year-of-commit-activity parameters: - - *326 - - *327 + - *328 + - *329 responses: '200': description: Response @@ -91600,8 +92074,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/statistics#get-all-contributor-commit-activity parameters: - - *326 - - *327 + - *328 + - *329 responses: '200': description: Response @@ -91695,8 +92169,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/statistics#get-the-weekly-commit-count parameters: - - *326 - - *327 + - *328 + - *329 responses: '200': description: The array order is oldest week (index 0) to most recent week. @@ -91850,8 +92324,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/statistics#get-the-hourly-commit-count-for-each-day parameters: - - *326 - - *327 + - *328 + - *329 responses: '200': description: For example, `[2, 14, 25]` indicates that there were 25 total @@ -91861,7 +92335,7 @@ paths: application/json: schema: type: array - items: *610 + items: *612 examples: default: value: @@ -91894,8 +92368,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/statuses#create-a-commit-status parameters: - - *326 - - *327 + - *328 + - *329 - name: sha in: path required: true @@ -91951,7 +92425,7 @@ paths: description: Response content: application/json: - schema: *611 + schema: *613 examples: default: value: @@ -92005,8 +92479,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#list-watchers parameters: - - *326 - - *327 + - *328 + - *329 - *17 - *18 responses: @@ -92038,14 +92512,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#get-a-repository-subscription parameters: - - *326 - - *327 + - *328 + - *329 responses: '200': description: if you subscribe to the repository content: application/json: - schema: &612 + schema: &614 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -92118,8 +92592,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#set-a-repository-subscription parameters: - - *326 - - *327 + - *328 + - *329 requestBody: required: false content: @@ -92145,7 +92619,7 @@ paths: description: Response content: application/json: - schema: *612 + schema: *614 examples: default: value: @@ -92172,8 +92646,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#delete-a-repository-subscription parameters: - - *326 - - *327 + - *328 + - *329 responses: '204': description: Response @@ -92193,8 +92667,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-tags parameters: - - *326 - - *327 + - *328 + - *329 - *17 - *18 responses: @@ -92276,8 +92750,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/tags#closing-down---list-tag-protection-states-for-a-repository parameters: - - *326 - - *327 + - *328 + - *329 responses: '200': description: Response @@ -92285,7 +92759,7 @@ paths: application/json: schema: type: array - items: &613 + items: &615 title: Tag protection description: Tag protection type: object @@ -92342,8 +92816,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/tags#closing-down---create-a-tag-protection-state-for-a-repository parameters: - - *326 - - *327 + - *328 + - *329 requestBody: required: true content: @@ -92366,7 +92840,7 @@ paths: description: Response content: application/json: - schema: *613 + schema: *615 examples: default: value: @@ -92397,8 +92871,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/tags#closing-down---delete-a-tag-protection-state-for-a-repository parameters: - - *326 - - *327 + - *328 + - *329 - name: tag_protection_id description: The unique identifier of the tag protection. in: path @@ -92435,8 +92909,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#download-a-repository-archive-tar operationId: repos/download-tarball-archive parameters: - - *326 - - *327 + - *328 + - *329 - name: ref in: path required: true @@ -92472,8 +92946,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-teams parameters: - - *326 - - *327 + - *328 + - *329 - *17 - *18 responses: @@ -92505,8 +92979,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#get-all-repository-topics parameters: - - *326 - - *327 + - *328 + - *329 - *18 - *17 responses: @@ -92514,7 +92988,7 @@ paths: description: Response content: application/json: - schema: &614 + schema: &616 title: Topic description: A topic aggregates entities that are related to a subject. type: object @@ -92526,7 +93000,7 @@ paths: required: - names examples: - default: &615 + default: &617 value: names: - octocat @@ -92549,8 +93023,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#replace-all-repository-topics parameters: - - *326 - - *327 + - *328 + - *329 requestBody: required: true content: @@ -92581,9 +93055,9 @@ paths: description: Response content: application/json: - schema: *614 + schema: *616 examples: - default: *615 + default: *617 '404': *6 '422': *7 x-github: @@ -92604,9 +93078,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-repository-clones parameters: - - *326 - - *327 - - &616 + - *328 + - *329 + - &618 name: per description: The time frame to display results for. in: query @@ -92637,7 +93111,7 @@ paths: - 128 clones: type: array - items: &617 + items: &619 title: Traffic type: object properties: @@ -92724,8 +93198,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-top-referral-paths parameters: - - *326 - - *327 + - *328 + - *329 responses: '200': description: Response @@ -92819,8 +93293,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-top-referral-sources parameters: - - *326 - - *327 + - *328 + - *329 responses: '200': description: Response @@ -92883,9 +93357,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-page-views parameters: - - *326 - - *327 - - *616 + - *328 + - *329 + - *618 responses: '200': description: Response @@ -92906,7 +93380,7 @@ paths: - 3782 views: type: array - items: *617 + items: *619 required: - uniques - count @@ -92983,8 +93457,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#transfer-a-repository parameters: - - *326 - - *327 + - *328 + - *329 requestBody: required: true content: @@ -93258,8 +93732,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#check-if-vulnerability-alerts-are-enabled-for-a-repository parameters: - - *326 - - *327 + - *328 + - *329 responses: '204': description: Response if repository is enabled with vulnerability alerts @@ -93282,8 +93756,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#enable-vulnerability-alerts parameters: - - *326 - - *327 + - *328 + - *329 responses: '204': description: Response @@ -93305,8 +93779,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#disable-vulnerability-alerts parameters: - - *326 - - *327 + - *328 + - *329 responses: '204': description: Response @@ -93332,8 +93806,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#download-a-repository-archive-zip operationId: repos/download-zipball-archive parameters: - - *326 - - *327 + - *328 + - *329 - name: ref in: path required: true @@ -93425,9 +93899,9 @@ paths: description: Response content: application/json: - schema: *339 + schema: *341 examples: - default: *341 + default: *343 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -93578,7 +94052,7 @@ paths: value: Engineering externalId: value: 8aa1a0c0-c4c3-4bc0-b4a5-2ef676900159 - - &625 + - &627 name: excludedAttributes description: Excludes the specified attribute from being returned in the results. Using this parameter can speed up response time. @@ -93588,7 +94062,7 @@ paths: type: string examples: - members - - &630 + - &632 name: startIndex description: 'Used for pagination: the starting index of the first result to return when paginating through values.' @@ -93600,7 +94074,7 @@ paths: format: int32 examples: - 1 - - &631 + - &633 name: count description: 'Used for pagination: the number of results to return per page.' in: query @@ -93644,7 +94118,7 @@ paths: Resources: type: array description: Information about each provisioned group. - items: &619 + items: &621 allOf: - type: object required: @@ -93726,7 +94200,7 @@ paths: - value: 0db508eb-91e2-46e4-809c-30dcbda0c685 "$+ref": https://api.github.localhost/scim/v2/Users/0db508eb-91e2-46e4-809c-30dcbda0c685 displayName: User 2 - meta: &632 + meta: &634 type: object description: The metadata associated with the creation/updates to the user. @@ -93791,31 +94265,31 @@ paths: location: https://api.github.localhost/scim/v2/Groups/24b28bbb-5fc4-4686-a153-a020debb1155 startIndex: 1 itemsPerPage: 20 - '400': &620 + '400': &622 description: Bad request content: application/json: - schema: *618 + schema: *620 application/scim+json: - schema: *618 - '401': &621 + schema: *620 + '401': &623 description: Authorization failure - '403': &622 + '403': &624 description: Permission denied - '429': &623 + '429': &625 description: Too many requests content: application/json: - schema: *618 + schema: *620 application/scim+json: - schema: *618 - '500': &624 + schema: *620 + '500': &626 description: Internal server error content: application/json: - schema: *618 + schema: *620 application/scim+json: - schema: *618 + schema: *620 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -93839,7 +94313,7 @@ paths: required: true content: application/json: - schema: &628 + schema: &630 type: object required: - schemas @@ -93899,9 +94373,9 @@ paths: description: Group has been created content: application/scim+json: - schema: *619 + schema: *621 examples: - group: &626 + group: &628 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:Group @@ -93920,13 +94394,13 @@ paths: created: '2012-03-27T19:59:26.000Z' lastModified: '2018-03-27T19:59:26.000Z' location: https://api.github.localhost/scim/v2/Groups/24b28bbb-5fc4-4686-a153-a020debb1155 - '400': *620 - '401': *621 - '403': *622 - '409': &629 + '400': *622 + '401': *623 + '403': *624 + '409': &631 description: Duplicate record detected - '429': *623 - '500': *624 + '429': *625 + '500': *626 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -93943,7 +94417,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/scim#get-scim-provisioning-information-for-an-enterprise-group parameters: - - &627 + - &629 name: scim_group_id description: A unique identifier of the SCIM group. in: path @@ -93952,22 +94426,22 @@ paths: type: string examples: - 7fce0092-d52e-4f76-b727-3955bd72c939 - - *625 + - *627 - *38 responses: '200': description: Success, a group was found content: application/scim+json: - schema: *619 + schema: *621 examples: - default: *626 - '400': *620 - '401': *621 - '403': *622 + default: *628 + '400': *622 + '401': *623 + '403': *624 '404': *6 - '429': *623 - '500': *624 + '429': *625 + '500': *626 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -93986,13 +94460,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/scim#set-scim-information-for-a-provisioned-enterprise-group parameters: - - *627 + - *629 - *38 requestBody: required: true content: application/json: - schema: *628 + schema: *630 examples: group: summary: Group @@ -94018,17 +94492,17 @@ paths: description: Group was updated content: application/scim+json: - schema: *619 + schema: *621 examples: - group: *626 - groupWithMembers: *626 - '400': *620 - '401': *621 - '403': *622 + group: *628 + groupWithMembers: *628 + '400': *622 + '401': *623 + '403': *624 '404': *6 - '409': *629 - '429': *623 - '500': *624 + '409': *631 + '429': *625 + '500': *626 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -94052,13 +94526,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/scim#update-an-attribute-for-a-scim-enterprise-group parameters: - - *627 + - *629 - *38 requestBody: required: true content: application/json: - schema: &639 + schema: &641 type: object required: - Operations @@ -94118,17 +94592,17 @@ paths: description: Success, group was updated content: application/scim+json: - schema: *619 + schema: *621 examples: - updateGroup: *626 - addMembers: *626 - '400': *620 - '401': *621 - '403': *622 + updateGroup: *628 + addMembers: *628 + '400': *622 + '401': *623 + '403': *624 '404': *6 - '409': *629 - '429': *623 - '500': *624 + '409': *631 + '429': *625 + '500': *626 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -94144,17 +94618,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/scim#delete-a-scim-group-from-an-enterprise parameters: - - *627 + - *629 - *38 responses: '204': description: Group was deleted, no content - '400': *620 - '401': *621 - '403': *622 + '400': *622 + '401': *623 + '403': *624 '404': *6 - '429': *623 - '500': *624 + '429': *625 + '500': *626 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -94188,8 +94662,8 @@ paths: value: userName eq 'E012345' externalId: value: externalId eq 'E012345' - - *630 - - *631 + - *632 + - *633 - *38 responses: '200': @@ -94223,7 +94697,7 @@ paths: Resources: type: array description: Information about each provisioned account. - items: &634 + items: &636 allOf: - type: object required: @@ -94315,7 +94789,7 @@ paths: address. examples: - true - roles: &633 + roles: &635 type: array description: The roles assigned to the user. items: @@ -94374,7 +94848,7 @@ paths: type: string description: Provisioned SCIM groups that the user is a member of. - meta: *632 + meta: *634 startIndex: type: integer description: A starting index for the returned page @@ -94413,11 +94887,11 @@ paths: primary: false startIndex: 1 itemsPerPage: 20 - '400': *620 - '401': *621 - '403': *622 - '429': *623 - '500': *624 + '400': *622 + '401': *623 + '403': *624 + '429': *625 + '500': *626 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -94441,7 +94915,7 @@ paths: required: true content: application/json: - schema: &637 + schema: &639 type: object required: - schemas @@ -94534,9 +95008,9 @@ paths: description: Whether this email address is the primary address. examples: - true - roles: *633 + roles: *635 examples: - user: &638 + user: &640 summary: User value: schemas: @@ -94583,9 +95057,9 @@ paths: description: User has been created content: application/scim+json: - schema: *634 + schema: *636 examples: - user: &635 + user: &637 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:User @@ -94611,13 +95085,13 @@ paths: created: '2012-03-27T19:59:26.000Z' lastModified: '2018-03-27T19:59:26.000Z' location: https://api.github.localhost/scim/v2/Users/7fce0092-d52e-4f76-b727-3955bd72c939 - enterpriseOwner: *635 - '400': *620 - '401': *621 - '403': *622 - '409': *629 - '429': *623 - '500': *624 + enterpriseOwner: *637 + '400': *622 + '401': *623 + '403': *624 + '409': *631 + '429': *625 + '500': *626 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -94634,7 +95108,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/scim#get-scim-provisioning-information-for-an-enterprise-user parameters: - - &636 + - &638 name: scim_user_id description: The unique identifier of the SCIM user. in: path @@ -94647,15 +95121,15 @@ paths: description: Success, a user was found content: application/scim+json: - schema: *634 + schema: *636 examples: - default: *635 - '400': *620 - '401': *621 - '403': *622 + default: *637 + '400': *622 + '401': *623 + '403': *624 '404': *6 - '429': *623 - '500': *624 + '429': *625 + '500': *626 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -94677,30 +95151,30 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/scim#set-scim-information-for-a-provisioned-enterprise-user parameters: - - *636 + - *638 - *38 requestBody: required: true content: application/json: - schema: *637 + schema: *639 examples: - user: *638 + user: *640 responses: '200': description: User was updated content: application/scim+json: - schema: *634 + schema: *636 examples: - user: *635 - '400': *620 - '401': *621 - '403': *622 + user: *637 + '400': *622 + '401': *623 + '403': *624 '404': *6 - '409': *629 - '429': *623 - '500': *624 + '409': *631 + '429': *625 + '500': *626 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -94735,13 +95209,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/scim#update-an-attribute-for-a-scim-enterprise-user parameters: - - *636 + - *638 - *38 requestBody: required: true content: application/json: - schema: *639 + schema: *641 examples: userMultiValuedProperties: summary: Multi Valued Property @@ -94781,18 +95255,18 @@ paths: description: Success, user was updated content: application/scim+json: - schema: *634 - examples: - userMultiValuedProperties: *635 - userSingleValuedProperties: *635 - disableUser: *635 - '400': *620 - '401': *621 - '403': *622 + schema: *636 + examples: + userMultiValuedProperties: *637 + userSingleValuedProperties: *637 + disableUser: *637 + '400': *622 + '401': *623 + '403': *624 '404': *6 - '409': *629 - '429': *623 - '500': *624 + '409': *631 + '429': *625 + '500': *626 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -94812,17 +95286,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/scim#delete-a-scim-user-from-an-enterprise parameters: - - *636 + - *638 - *38 responses: '204': description: User was deleted, no content - '400': *620 - '401': *621 - '403': *622 + '400': *622 + '401': *623 + '403': *624 '404': *6 - '429': *623 - '500': *624 + '429': *625 + '500': *626 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -94913,7 +95387,7 @@ paths: - 1 Resources: type: array - items: &640 + items: &642 title: SCIM /Users description: SCIM /Users provisioning endpoints type: object @@ -95160,22 +95634,22 @@ paths: lastModified: '2017-03-09T16:11:13-05:00' location: https://api.github.com/scim/v2/organizations/octo-org/Users/77563764-eb6-24-0598234-958243 '304': *35 - '404': &641 + '404': &643 description: Resource not found content: application/json: - schema: *618 + schema: *620 application/scim+json: - schema: *618 - '403': &642 + schema: *620 + '403': &644 description: Forbidden content: application/json: - schema: *618 + schema: *620 application/scim+json: - schema: *618 - '400': *620 - '429': *623 + schema: *620 + '400': *622 + '429': *625 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -95201,9 +95675,9 @@ paths: description: Response content: application/scim+json: - schema: *640 + schema: *642 examples: - default: &643 + default: &645 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:User @@ -95226,17 +95700,17 @@ paths: lastModified: '2017-03-09T16:11:13-05:00' location: https://api.github.com/scim/v2/organizations/octo-org/Users/edefdfedf-050c-11e7-8d32 '304': *35 - '404': *641 - '403': *642 - '500': *624 + '404': *643 + '403': *644 + '500': *626 '409': description: Conflict content: application/json: - schema: *618 + schema: *620 application/scim+json: - schema: *618 - '400': *620 + schema: *620 + '400': *622 requestBody: required: true content: @@ -95331,17 +95805,17 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#get-scim-provisioning-information-for-a-user parameters: - *157 - - *636 + - *638 responses: '200': description: Response content: application/scim+json: - schema: *640 + schema: *642 examples: - default: *643 - '404': *641 - '403': *642 + default: *645 + '404': *643 + '403': *644 '304': *35 x-github: githubCloudOnly: true @@ -95365,18 +95839,18 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#update-a-provisioned-organization-membership parameters: - *157 - - *636 + - *638 responses: '200': description: Response content: application/scim+json: - schema: *640 + schema: *642 examples: - default: *643 + default: *645 '304': *35 - '404': *641 - '403': *642 + '404': *643 + '403': *644 requestBody: required: true content: @@ -95487,19 +95961,19 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#update-an-attribute-for-a-scim-user parameters: - *157 - - *636 + - *638 responses: '200': description: Response content: application/scim+json: - schema: *640 + schema: *642 examples: - default: *643 + default: *645 '304': *35 - '404': *641 - '403': *642 - '400': *620 + '404': *643 + '403': *644 + '400': *622 '429': description: Response content: @@ -95595,12 +96069,12 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#delete-a-scim-user-from-an-organization parameters: - *157 - - *636 + - *638 responses: '204': description: Response - '404': *641 - '403': *642 + '404': *643 + '403': *644 '304': *35 x-github: githubCloudOnly: true @@ -95734,7 +96208,7 @@ paths: examples: - 73..77 - 77..78 - text_matches: &644 + text_matches: &646 title: Search Result Text Matches type: array items: @@ -95898,7 +96372,7 @@ paths: enum: - author-date - committer-date - - &645 + - &647 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 @@ -95967,7 +96441,7 @@ paths: committer: anyOf: - type: 'null' - - *383 + - *385 comment_count: type: integer message: @@ -95986,7 +96460,7 @@ paths: url: type: string format: uri - verification: *496 + verification: *498 required: - author - committer @@ -96001,7 +96475,7 @@ paths: committer: anyOf: - type: 'null' - - *383 + - *385 parents: type: array items: @@ -96018,7 +96492,7 @@ paths: type: number node_id: type: string - text_matches: *644 + text_matches: *646 required: - sha - node_id @@ -96211,7 +96685,7 @@ paths: - interactions - created - updated - - *645 + - *647 - *17 - *18 responses: @@ -96327,7 +96801,7 @@ paths: milestone: anyOf: - type: 'null' - - *451 + - *453 comments: type: integer created_at: @@ -96341,7 +96815,7 @@ paths: - string - 'null' format: date-time - text_matches: *644 + text_matches: *646 pull_request: type: object properties: @@ -96563,7 +97037,7 @@ paths: enum: - created - updated - - *645 + - *647 - *17 - *18 responses: @@ -96608,7 +97082,7 @@ paths: - 'null' score: type: number - text_matches: *644 + text_matches: *646 required: - id - node_id @@ -96694,7 +97168,7 @@ paths: - forks - help-wanted-issues - updated - - *645 + - *647 - *17 - *18 responses: @@ -96931,7 +97405,7 @@ paths: - admin - pull - push - text_matches: *644 + text_matches: *646 temp_clone_token: type: string allow_merge_commit: @@ -97240,7 +97714,7 @@ paths: - string - 'null' format: uri - text_matches: *644 + text_matches: *646 related: type: - array @@ -97435,7 +97909,7 @@ paths: - followers - repositories - joined - - *645 + - *647 - *17 - *18 responses: @@ -97545,7 +98019,7 @@ paths: type: - boolean - 'null' - text_matches: *644 + text_matches: *646 blog: type: - string @@ -97627,7 +98101,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#get-a-team-legacy parameters: - - &646 + - &648 name: team_id description: The unique identifier of the team. in: path @@ -97639,9 +98113,9 @@ paths: description: Response content: application/json: - schema: *307 + schema: *309 examples: - default: *308 + default: *310 '404': *6 x-github: githubCloudOnly: false @@ -97668,7 +98142,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#update-a-team-legacy parameters: - - *646 + - *648 requestBody: required: true content: @@ -97732,16 +98206,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *307 + schema: *309 examples: - default: *308 + default: *310 '201': description: Response content: application/json: - schema: *307 + schema: *309 examples: - default: *308 + default: *310 '404': *6 '422': *15 '403': *27 @@ -97769,7 +98243,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#delete-a-team-legacy parameters: - - *646 + - *648 responses: '204': description: Response @@ -97800,7 +98274,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#list-discussions-legacy parameters: - - *646 + - *648 - *76 - *17 - *18 @@ -97811,9 +98285,9 @@ paths: application/json: schema: type: array - items: *309 + items: *311 examples: - default: *647 + default: *649 headers: Link: *37 x-github: @@ -97842,7 +98316,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#create-a-discussion-legacy parameters: - - *646 + - *648 requestBody: required: true content: @@ -97876,9 +98350,9 @@ paths: description: Response content: application/json: - schema: *309 + schema: *311 examples: - default: *310 + default: *312 x-github: triggersNotification: true githubCloudOnly: false @@ -97905,16 +98379,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#get-a-discussion-legacy parameters: - - *646 - - *311 + - *648 + - *313 responses: '200': description: Response content: application/json: - schema: *309 + schema: *311 examples: - default: *310 + default: *312 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -97939,8 +98413,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#update-a-discussion-legacy parameters: - - *646 - - *311 + - *648 + - *313 requestBody: required: false content: @@ -97963,9 +98437,9 @@ paths: description: Response content: application/json: - schema: *309 + schema: *311 examples: - default: *648 + default: *650 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -97990,8 +98464,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#delete-a-discussion-legacy parameters: - - *646 - - *311 + - *648 + - *313 responses: '204': description: Response @@ -98020,8 +98494,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#list-discussion-comments-legacy parameters: - - *646 - - *311 + - *648 + - *313 - *76 - *17 - *18 @@ -98032,9 +98506,9 @@ paths: application/json: schema: type: array - items: *312 + items: *314 examples: - default: *649 + default: *651 headers: Link: *37 x-github: @@ -98063,8 +98537,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#create-a-discussion-comment-legacy parameters: - - *646 - - *311 + - *648 + - *313 requestBody: required: true content: @@ -98086,9 +98560,9 @@ paths: description: Response content: application/json: - schema: *312 + schema: *314 examples: - default: *313 + default: *315 x-github: triggersNotification: true githubCloudOnly: false @@ -98115,17 +98589,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#get-a-discussion-comment-legacy parameters: - - *646 - - *311 - - *314 + - *648 + - *313 + - *316 responses: '200': description: Response content: application/json: - schema: *312 + schema: *314 examples: - default: *313 + default: *315 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -98150,9 +98624,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#update-a-discussion-comment-legacy parameters: - - *646 - - *311 - - *314 + - *648 + - *313 + - *316 requestBody: required: true content: @@ -98174,9 +98648,9 @@ paths: description: Response content: application/json: - schema: *312 + schema: *314 examples: - default: *650 + default: *652 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -98201,9 +98675,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#delete-a-discussion-comment-legacy parameters: - - *646 - - *311 - - *314 + - *648 + - *313 + - *316 responses: '204': description: Response @@ -98232,9 +98706,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-team-discussion-comment-legacy parameters: - - *646 - - *311 - - *314 + - *648 + - *313 + - *316 - 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 team discussion comment. @@ -98260,9 +98734,9 @@ paths: application/json: schema: type: array - items: *315 + items: *317 examples: - default: *317 + default: *319 headers: Link: *37 x-github: @@ -98291,9 +98765,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-team-discussion-comment-legacy parameters: - - *646 - - *311 - - *314 + - *648 + - *313 + - *316 requestBody: required: true content: @@ -98325,9 +98799,9 @@ paths: description: Response content: application/json: - schema: *315 + schema: *317 examples: - default: *316 + default: *318 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -98353,8 +98827,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-team-discussion-legacy parameters: - - *646 - - *311 + - *648 + - *313 - 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 team discussion. @@ -98380,9 +98854,9 @@ paths: application/json: schema: type: array - items: *315 + items: *317 examples: - default: *317 + default: *319 headers: Link: *37 x-github: @@ -98411,8 +98885,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-team-discussion-legacy parameters: - - *646 - - *311 + - *648 + - *313 requestBody: required: true content: @@ -98444,9 +98918,9 @@ paths: description: Response content: application/json: - schema: *315 + schema: *317 examples: - default: *316 + default: *318 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -98470,7 +98944,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#list-pending-team-invitations-legacy parameters: - - *646 + - *648 - *17 - *18 responses: @@ -98508,7 +98982,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#list-team-members-legacy parameters: - - *646 + - *648 - name: role description: Filters members returned by their role in the team. in: query @@ -98559,7 +99033,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#get-team-member-legacy parameters: - - *646 + - *648 - *195 responses: '204': @@ -98596,7 +99070,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#add-team-member-legacy parameters: - - *646 + - *648 - *195 responses: '204': @@ -98636,7 +99110,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#remove-team-member-legacy parameters: - - *646 + - *648 - *195 responses: '204': @@ -98673,16 +99147,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#get-team-membership-for-a-user-legacy parameters: - - *646 + - *648 - *195 responses: '200': description: Response content: application/json: - schema: *323 + schema: *325 examples: - response-if-user-is-a-team-maintainer: *651 + response-if-user-is-a-team-maintainer: *653 '404': *6 x-github: githubCloudOnly: false @@ -98715,7 +99189,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#add-or-update-team-membership-for-a-user-legacy parameters: - - *646 + - *648 - *195 requestBody: required: false @@ -98741,9 +99215,9 @@ paths: description: Response content: application/json: - schema: *323 + schema: *325 examples: - response-if-users-membership-with-team-is-now-pending: *652 + response-if-users-membership-with-team-is-now-pending: *654 '403': description: Forbidden if team synchronization is set up '422': @@ -98777,7 +99251,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#remove-team-membership-for-a-user-legacy parameters: - - *646 + - *648 - *195 responses: '204': @@ -98807,7 +99281,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-team-projects-legacy parameters: - - *646 + - *648 - *17 - *18 responses: @@ -98817,9 +99291,9 @@ paths: application/json: schema: type: array - items: *324 + items: *326 examples: - default: *653 + default: *655 headers: Link: *37 '404': *6 @@ -98846,16 +99320,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#check-team-permissions-for-a-project-legacy parameters: - - *646 - - *325 + - *648 + - *327 responses: '200': description: Response content: application/json: - schema: *324 + schema: *326 examples: - default: *654 + default: *656 '404': description: Not Found if project is not managed by this team x-github: @@ -98880,8 +99354,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#add-or-update-team-project-permissions-legacy parameters: - - *646 - - *325 + - *648 + - *327 requestBody: required: false content: @@ -98949,8 +99423,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#remove-a-project-from-a-team-legacy parameters: - - *646 - - *325 + - *648 + - *327 responses: '204': description: Response @@ -98977,7 +99451,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-team-repositories-legacy parameters: - - *646 + - *648 - *17 - *18 responses: @@ -99019,15 +99493,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#check-team-permissions-for-a-repository-legacy parameters: - - *646 - - *326 - - *327 + - *648 + - *328 + - *329 responses: '200': description: Alternative response with extra repository information content: application/json: - schema: *655 + schema: *657 examples: alternative-response-with-extra-repository-information: value: @@ -99178,9 +99652,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#add-or-update-team-repository-permissions-legacy parameters: - - *646 - - *326 - - *327 + - *648 + - *328 + - *329 requestBody: required: false content: @@ -99230,9 +99704,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#remove-a-repository-from-a-team-legacy parameters: - - *646 - - *326 - - *327 + - *648 + - *328 + - *329 responses: '204': description: Response @@ -99261,15 +99735,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/team-sync#list-idp-groups-for-a-team-legacy parameters: - - *646 + - *648 responses: '200': description: Response content: application/json: - schema: *328 + schema: *330 examples: - default: *329 + default: *331 '403': *27 '404': *6 x-github: @@ -99296,7 +99770,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/team-sync#create-or-update-idp-group-connections-legacy parameters: - - *646 + - *648 requestBody: required: true content: @@ -99357,7 +99831,7 @@ paths: description: Response content: application/json: - schema: *328 + schema: *330 examples: default: value: @@ -99388,7 +99862,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-child-teams-legacy parameters: - - *646 + - *648 - *17 - *18 responses: @@ -99400,7 +99874,7 @@ paths: type: array items: *251 examples: - response-if-child-teams-exist: *656 + response-if-child-teams-exist: *658 headers: Link: *37 '404': *6 @@ -99433,7 +99907,7 @@ paths: application/json: schema: oneOf: - - &658 + - &660 title: Private User description: Private User type: object @@ -99683,7 +100157,7 @@ paths: - private_gists - total_private_repos - two_factor_authentication - - *657 + - *659 examples: response-with-public-and-private-profile-information: summary: Response with public and private profile information @@ -99843,7 +100317,7 @@ paths: description: Response content: application/json: - schema: *658 + schema: *660 examples: default: value: @@ -100189,7 +100663,7 @@ paths: application/json: schema: *255 examples: - default: *438 + default: *440 '202': description: Response when the codespace creation partially failed but is being retried in the background @@ -100197,7 +100671,7 @@ paths: application/json: schema: *255 examples: - default: *438 + default: *440 '401': *23 '403': *27 '404': *6 @@ -100241,7 +100715,7 @@ paths: type: integer secrets: type: array - items: &659 + items: &661 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -100283,7 +100757,7 @@ paths: - visibility - selected_repositories_url examples: - default: *440 + default: *442 headers: Link: *37 x-github: @@ -100361,7 +100835,7 @@ paths: description: Response content: application/json: - schema: *659 + schema: *661 examples: default: value: @@ -100507,7 +100981,7 @@ paths: type: array items: *173 examples: - default: *660 + default: *662 '401': *23 '403': *27 '404': *6 @@ -100659,7 +101133,7 @@ paths: application/json: schema: *255 examples: - default: *438 + default: *440 '304': *35 '500': *87 '401': *23 @@ -100717,7 +101191,7 @@ paths: application/json: schema: *255 examples: - default: *438 + default: *440 '401': *23 '403': *27 '404': *6 @@ -100774,7 +101248,7 @@ paths: description: Response content: application/json: - schema: &661 + schema: &663 type: object title: Fetches information about an export of a codespace. description: An export of a codespace. Also, latest export details @@ -100827,7 +101301,7 @@ paths: examples: - https://github.com/octocat/hello-world/tree/:branch examples: - default: &662 + default: &664 value: state: succeeded completed_at: '2022-01-01T14:59:22Z' @@ -100872,9 +101346,9 @@ paths: description: Response content: application/json: - schema: *661 + schema: *663 examples: - default: *662 + default: *664 '404': *6 x-github: githubCloudOnly: false @@ -100911,9 +101385,9 @@ paths: type: integer machines: type: array - items: *439 + items: *441 examples: - default: *663 + default: *665 '304': *35 '500': *87 '401': *23 @@ -100998,11 +101472,11 @@ paths: - 26a7c758-7299-4a73-b978-5a92a7ae98a0 owner: *4 billable_owner: *4 - repository: *339 + repository: *341 machine: anyOf: - type: 'null' - - *439 + - *441 devcontainer_path: description: Path to devcontainer.json from repo root used to create Codespace. @@ -101807,7 +102281,7 @@ paths: application/json: schema: *255 examples: - default: *438 + default: *440 '304': *35 '500': *87 '400': *14 @@ -101847,7 +102321,7 @@ paths: application/json: schema: *255 examples: - default: *438 + default: *440 '500': *87 '401': *23 '403': *27 @@ -101879,7 +102353,7 @@ paths: type: array items: *266 examples: - default: &676 + default: &678 value: - id: 197 name: hello_docker @@ -101980,7 +102454,7 @@ paths: application/json: schema: type: array - items: &664 + items: &666 title: Email description: Email type: object @@ -102050,9 +102524,9 @@ paths: application/json: schema: type: array - items: *664 + items: *666 examples: - default: &678 + default: &680 value: - email: octocat@github.com verified: true @@ -102129,7 +102603,7 @@ paths: application/json: schema: type: array - items: *664 + items: *666 examples: default: value: @@ -102387,7 +102861,7 @@ paths: application/json: schema: type: array - items: &665 + items: &667 title: GPG Key description: A unique encryption key type: object @@ -102532,7 +103006,7 @@ paths: - subkeys - revoked examples: - default: &689 + default: &691 value: - id: 3 name: Octocat's GPG Key @@ -102617,9 +103091,9 @@ paths: description: Response content: application/json: - schema: *665 + schema: *667 examples: - default: &666 + default: &668 value: id: 3 name: Octocat's GPG Key @@ -102676,7 +103150,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/gpg-keys#get-a-gpg-key-for-the-authenticated-user parameters: - - &667 + - &669 name: gpg_key_id description: The unique identifier of the GPG key. in: path @@ -102688,9 +103162,9 @@ paths: description: Response content: application/json: - schema: *665 + schema: *667 examples: - default: *666 + default: *668 '404': *6 '304': *35 '403': *27 @@ -102713,7 +103187,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/gpg-keys#delete-a-gpg-key-for-the-authenticated-user parameters: - - *667 + - *669 responses: '204': description: Response @@ -102904,7 +103378,7 @@ paths: type: array items: *55 examples: - default: *668 + default: *670 headers: Link: *37 '404': *6 @@ -103018,7 +103492,7 @@ paths: required: true content: application/json: - schema: *507 + schema: *509 examples: default: value: @@ -103168,7 +103642,7 @@ paths: application/json: schema: type: array - items: &669 + items: &671 title: Key description: Key type: object @@ -103266,9 +103740,9 @@ paths: description: Response content: application/json: - schema: *669 + schema: *671 examples: - default: &670 + default: &672 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -103301,15 +103775,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/keys#get-a-public-ssh-key-for-the-authenticated-user parameters: - - *534 + - *536 responses: '200': description: Response content: application/json: - schema: *669 + schema: *671 examples: - default: *670 + default: *672 '404': *6 '304': *35 '403': *27 @@ -103332,7 +103806,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/keys#delete-a-public-ssh-key-for-the-authenticated-user parameters: - - *534 + - *536 responses: '204': description: Response @@ -103365,7 +103839,7 @@ paths: application/json: schema: type: array - items: &671 + items: &673 title: User Marketplace Purchase description: User Marketplace Purchase type: object @@ -103444,7 +103918,7 @@ paths: - account - plan examples: - default: &672 + default: &674 value: - billing_cycle: monthly next_billing_date: '2017-11-11T00:00:00Z' @@ -103506,9 +103980,9 @@ paths: application/json: schema: type: array - items: *671 + items: *673 examples: - default: *672 + default: *674 headers: Link: *37 '304': *35 @@ -104512,7 +104986,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#unlock-a-user-repository parameters: - *261 - - *673 + - *675 responses: '204': description: Response @@ -104585,7 +105059,7 @@ paths: type: array items: *50 examples: - default: *674 + default: *676 headers: Link: *37 '304': *35 @@ -104627,7 +105101,7 @@ paths: - docker - nuget - container - - *675 + - *677 - *18 - *17 responses: @@ -104639,8 +105113,8 @@ paths: type: array items: *266 examples: - default: *676 - '400': *677 + default: *678 + '400': *679 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -104669,7 +105143,7 @@ paths: application/json: schema: *266 examples: - default: &690 + default: &692 value: id: 40201 name: octo-name @@ -105052,7 +105526,7 @@ paths: description: Response content: application/json: - schema: *279 + schema: *281 examples: default: value: @@ -105121,9 +105595,9 @@ paths: application/json: schema: type: array - items: *664 + items: *666 examples: - default: *678 + default: *680 headers: Link: *37 '304': *35 @@ -105236,7 +105710,7 @@ paths: type: array items: *55 examples: - default: &685 + default: &687 summary: Default response value: - id: 1296269 @@ -105552,9 +106026,9 @@ paths: description: Response content: application/json: - schema: *339 + schema: *341 examples: - default: *341 + default: *343 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -105592,9 +106066,9 @@ paths: application/json: schema: type: array - items: *509 + items: *511 examples: - default: *679 + default: *681 headers: Link: *37 '304': *35 @@ -105673,7 +106147,7 @@ paths: application/json: schema: type: array - items: &680 + items: &682 title: Social account description: Social media account type: object @@ -105690,7 +106164,7 @@ paths: - provider - url examples: - default: &681 + default: &683 value: - provider: twitter url: https://twitter.com/github @@ -105753,9 +106227,9 @@ paths: application/json: schema: type: array - items: *680 + items: *682 examples: - default: *681 + default: *683 '422': *15 '304': *35 '404': *6 @@ -105843,7 +106317,7 @@ paths: application/json: schema: type: array - items: &682 + items: &684 title: SSH Signing Key description: A public SSH key used to sign Git commits type: object @@ -105863,7 +106337,7 @@ paths: - title - created_at examples: - default: &691 + default: &693 value: - key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -105930,9 +106404,9 @@ paths: description: Response content: application/json: - schema: *682 + schema: *684 examples: - default: &683 + default: &685 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -105963,7 +106437,7 @@ paths: 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 parameters: - - &684 + - &686 name: ssh_signing_key_id description: The unique identifier of the SSH signing key. in: path @@ -105975,9 +106449,9 @@ paths: description: Response content: application/json: - schema: *682 + schema: *684 examples: - default: *683 + default: *685 '404': *6 '304': *35 '403': *27 @@ -106000,7 +106474,7 @@ paths: 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 parameters: - - *684 + - *686 responses: '204': description: Response @@ -106029,7 +106503,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/starring#list-repositories-starred-by-the-authenticated-user parameters: - - &692 + - &694 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 @@ -106054,11 +106528,11 @@ paths: type: array items: *55 examples: - default-response: *685 + default-response: *687 application/vnd.github.v3.star+json: schema: type: array - items: &693 + items: &695 title: Starred Repository description: Starred Repository type: object @@ -106214,8 +106688,8 @@ paths: 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 parameters: - - *326 - - *327 + - *328 + - *329 responses: '204': description: Response if this repository is starred by you @@ -106243,8 +106717,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/starring#star-a-repository-for-the-authenticated-user parameters: - - *326 - - *327 + - *328 + - *329 responses: '204': description: Response @@ -106268,8 +106742,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/starring#unstar-a-repository-for-the-authenticated-user parameters: - - *326 - - *327 + - *328 + - *329 responses: '204': description: Response @@ -106341,7 +106815,7 @@ paths: application/json: schema: type: array - items: *307 + items: *309 examples: default: value: @@ -106425,10 +106899,10 @@ paths: application/json: schema: oneOf: - - *658 - - *657 + - *660 + - *659 examples: - default-response: &687 + default-response: &689 summary: Default response value: login: octocat @@ -106463,7 +106937,7 @@ paths: following: 0 created_at: '2008-01-14T04:33:35Z' updated_at: '2008-01-14T04:33:35Z' - response-with-git-hub-plan-information: &688 + response-with-git-hub-plan-information: &690 summary: Response with GitHub plan information value: login: octocat @@ -106523,7 +106997,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/users#list-users parameters: - - *686 + - *688 - *17 responses: '200': @@ -106570,11 +107044,11 @@ paths: application/json: schema: oneOf: - - *658 - - *657 + - *660 + - *659 examples: - default-response: *687 - response-with-git-hub-plan-information: *688 + default-response: *689 + response-with-git-hub-plan-information: *690 '404': *6 x-github: githubCloudOnly: false @@ -106740,7 +107214,7 @@ paths: type: array items: *266 examples: - default: *676 + default: *678 '403': *27 '401': *23 x-github: @@ -107144,9 +107618,9 @@ paths: application/json: schema: type: array - items: *665 + items: *667 examples: - default: *689 + default: *691 headers: Link: *37 x-github: @@ -107250,7 +107724,7 @@ paths: application/json: schema: *20 examples: - default: *506 + default: *508 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -107328,7 +107802,7 @@ paths: type: array items: *50 examples: - default: *674 + default: *676 headers: Link: *37 x-github: @@ -107367,7 +107841,7 @@ paths: - docker - nuget - container - - *675 + - *677 - *195 - *18 - *17 @@ -107380,10 +107854,10 @@ paths: type: array items: *266 examples: - default: *676 + default: *678 '403': *27 '401': *23 - '400': *677 + '400': *679 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -107413,7 +107887,7 @@ paths: application/json: schema: *266 examples: - default: *690 + default: *692 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -107696,7 +108170,7 @@ paths: application/json: schema: type: array - items: *279 + items: *281 examples: default: value: @@ -108006,9 +108480,9 @@ paths: description: Response content: application/json: - schema: *299 + schema: *301 examples: - default: *300 + default: *302 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -108036,9 +108510,9 @@ paths: description: Response content: application/json: - schema: *303 + schema: *305 examples: - default: *304 + default: *306 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -108066,9 +108540,9 @@ paths: description: Response content: application/json: - schema: *305 + schema: *307 examples: - default: *306 + default: *308 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -108096,9 +108570,9 @@ paths: application/json: schema: type: array - items: *680 + items: *682 examples: - default: *681 + default: *683 headers: Link: *37 x-github: @@ -108128,9 +108602,9 @@ paths: application/json: schema: type: array - items: *682 + items: *684 examples: - default: *691 + default: *693 headers: Link: *37 x-github: @@ -108155,7 +108629,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/activity/starring#list-repositories-starred-by-a-user parameters: - *195 - - *692 + - *694 - *76 - *17 - *18 @@ -108167,11 +108641,11 @@ paths: schema: anyOf: - type: array - items: *693 + items: *695 - type: array items: *55 examples: - default-response: *685 + default-response: *687 headers: Link: *37 x-github: @@ -108331,7 +108805,7 @@ webhooks: type: string enum: - disabled - enterprise: &694 + enterprise: &696 title: Enterprise description: |- An enterprise on GitHub. Webhook payloads contain the `enterprise` property when the webhook is configured @@ -108400,7 +108874,7 @@ webhooks: - created_at - updated_at - avatar_url - installation: &695 + installation: &697 title: Simple Installation description: |- The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured @@ -108421,7 +108895,7 @@ webhooks: required: - id - node_id - organization: &696 + organization: &698 title: Organization Simple description: |- A GitHub organization. Webhook payloads contain the `organization` property when the webhook is configured for an @@ -108494,7 +108968,7 @@ webhooks: - public_members_url - avatar_url - description - repository: &697 + repository: &699 title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property @@ -109407,10 +109881,10 @@ webhooks: type: string enum: - enabled - enterprise: *694 - installation: *695 - organization: *696 - repository: *697 + enterprise: *696 + installation: *697 + organization: *698 + repository: *699 sender: *4 required: - action @@ -109486,11 +109960,11 @@ webhooks: type: string enum: - created - enterprise: *694 - installation: *695 - organization: *696 - repository: *697 - rule: &698 + enterprise: *696 + installation: *697 + organization: *698 + repository: *699 + rule: &700 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) @@ -109713,11 +110187,11 @@ webhooks: type: string enum: - deleted - enterprise: *694 - installation: *695 - organization: *696 - repository: *697 - rule: *698 + enterprise: *696 + installation: *697 + organization: *698 + repository: *699 + rule: *700 sender: *4 required: - action @@ -109905,11 +110379,11 @@ webhooks: - everyone required: - from - enterprise: *694 - installation: *695 - organization: *696 - repository: *697 - rule: *698 + enterprise: *696 + installation: *697 + organization: *698 + repository: *699 + rule: *700 sender: *4 required: - action @@ -109982,7 +110456,7 @@ webhooks: required: true content: application/json: - schema: &701 + schema: &703 title: Exemption request cancellation event type: object properties: @@ -109990,11 +110464,11 @@ webhooks: type: string enum: - cancelled - enterprise: *694 - installation: *695 - organization: *696 - repository: *697 - exemption_request: &699 + enterprise: *696 + installation: *697 + organization: *698 + repository: *699 + exemption_request: &701 title: Exemption Request description: A request from a user to be exempted from a set of rules. @@ -110148,7 +110622,7 @@ webhooks: - array - 'null' description: The responses to the exemption request. - items: &700 + items: &702 title: Exemption response description: A response to an exemption request by a delegated bypasser. @@ -110260,7 +110734,7 @@ webhooks: required: true content: application/json: - schema: &702 + schema: &704 title: Exemption request completed event type: object properties: @@ -110268,11 +110742,11 @@ webhooks: type: string enum: - completed - enterprise: *694 - installation: *695 - organization: *696 - repository: *697 - exemption_request: *699 + enterprise: *696 + installation: *697 + organization: *698 + repository: *699 + exemption_request: *701 sender: *4 required: - action @@ -110344,7 +110818,7 @@ webhooks: required: true content: application/json: - schema: &703 + schema: &705 title: Exemption request created event type: object properties: @@ -110352,11 +110826,11 @@ webhooks: type: string enum: - created - enterprise: *694 - installation: *695 - organization: *696 - repository: *697 - exemption_request: *699 + enterprise: *696 + installation: *697 + organization: *698 + repository: *699 + exemption_request: *701 sender: *4 required: - action @@ -110428,7 +110902,7 @@ webhooks: required: true content: application/json: - schema: &704 + schema: &706 title: Exemption response dismissed event type: object properties: @@ -110436,12 +110910,12 @@ webhooks: type: string enum: - response_dismissed - enterprise: *694 - installation: *695 - organization: *696 - repository: *697 - exemption_request: *699 - exemption_response: *700 + enterprise: *696 + installation: *697 + organization: *698 + repository: *699 + exemption_request: *701 + exemption_response: *702 sender: *4 required: - action @@ -110515,7 +110989,7 @@ webhooks: required: true content: application/json: - schema: &705 + schema: &707 title: Exemption response submitted event type: object properties: @@ -110523,12 +110997,12 @@ webhooks: type: string enum: - response_submitted - enterprise: *694 - installation: *695 - organization: *696 - repository: *697 - exemption_request: *699 - exemption_response: *700 + enterprise: *696 + installation: *697 + organization: *698 + repository: *699 + exemption_request: *701 + exemption_response: *702 sender: *4 required: - action @@ -110601,7 +111075,7 @@ webhooks: required: true content: application/json: - schema: *701 + schema: *703 responses: '200': description: Return a 200 status to indicate that the data was received @@ -110668,7 +111142,7 @@ webhooks: required: true content: application/json: - schema: *702 + schema: *704 responses: '200': description: Return a 200 status to indicate that the data was received @@ -110735,7 +111209,7 @@ webhooks: required: true content: application/json: - schema: *703 + schema: *705 responses: '200': description: Return a 200 status to indicate that the data was received @@ -110802,7 +111276,7 @@ webhooks: required: true content: application/json: - schema: *704 + schema: *706 responses: '200': description: Return a 200 status to indicate that the data was received @@ -110870,7 +111344,7 @@ webhooks: required: true content: application/json: - schema: *705 + schema: *707 responses: '200': description: Return a 200 status to indicate that the data was received @@ -110948,7 +111422,7 @@ webhooks: type: string enum: - completed - check_run: &707 + check_run: &709 title: CheckRun description: A check performed on the code of a given code change type: object @@ -111016,7 +111490,7 @@ webhooks: - MDEwOkNoZWNrU3VpdGU1 pull_requests: type: array - items: *401 + items: *403 repository: *173 status: type: string @@ -111061,7 +111535,7 @@ webhooks: - examples: - neutral - deployment: *706 + deployment: *708 details_url: type: string examples: @@ -111121,7 +111595,7 @@ webhooks: - annotations_url pull_requests: type: array - items: *401 + items: *403 started_at: type: string format: date-time @@ -111159,9 +111633,9 @@ webhooks: - output - app - pull_requests - installation: *695 - organization: *696 - repository: *697 + installation: *697 + organization: *698 + repository: *699 sender: *4 required: - check_run @@ -111554,10 +112028,10 @@ webhooks: type: string enum: - created - check_run: *707 - installation: *695 - organization: *696 - repository: *697 + check_run: *709 + installation: *697 + organization: *698 + repository: *699 sender: *4 required: - check_run @@ -111953,10 +112427,10 @@ webhooks: type: string enum: - requested_action - check_run: *707 - installation: *695 - organization: *696 - repository: *697 + check_run: *709 + installation: *697 + organization: *698 + repository: *699 requested_action: description: The action requested by the user. type: object @@ -112361,10 +112835,10 @@ webhooks: type: string enum: - rerequested - check_run: *707 - installation: *695 - organization: *696 - repository: *697 + check_run: *709 + installation: *697 + organization: *698 + repository: *699 sender: *4 required: - check_run @@ -113356,10 +113830,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *694 - installation: *695 - organization: *696 - repository: *697 + enterprise: *696 + installation: *697 + organization: *698 + repository: *699 sender: *4 required: - action @@ -114044,10 +114518,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *694 - installation: *695 - organization: *696 - repository: *697 + enterprise: *696 + installation: *697 + organization: *698 + repository: *699 sender: *4 required: - action @@ -114726,10 +115200,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *694 - installation: *695 - organization: *696 - repository: *697 + enterprise: *696 + installation: *697 + organization: *698 + repository: *699 sender: *4 required: - action @@ -115036,20 +115510,20 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: &708 + commit_oid: &710 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: *694 - installation: *695 - organization: *696 - ref: &709 + enterprise: *696 + installation: *697 + organization: *698 + ref: &711 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: *697 + repository: *699 sender: *4 required: - action @@ -115377,12 +115851,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *708 - enterprise: *694 - installation: *695 - organization: *696 - ref: *709 - repository: *697 + commit_oid: *710 + enterprise: *696 + installation: *697 + organization: *698 + ref: *711 + repository: *699 sender: *4 required: - action @@ -115480,7 +115954,7 @@ webhooks: dismissed_by: type: - 'null' - dismissed_comment: *413 + dismissed_comment: *415 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -115655,12 +116129,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *708 - enterprise: *694 - installation: *695 - organization: *696 - ref: *709 - repository: *697 + commit_oid: *710 + enterprise: *696 + installation: *697 + organization: *698 + ref: *711 + repository: *699 sender: *4 required: - action @@ -115992,12 +116466,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *708 - enterprise: *694 - installation: *695 - organization: *696 - ref: *709 - repository: *697 + commit_oid: *710 + enterprise: *696 + installation: *697 + organization: *698 + ref: *711 + repository: *699 sender: *4 required: - action @@ -116266,9 +116740,9 @@ webhooks: type: - string - 'null' - enterprise: *694 - installation: *695 - organization: *696 + enterprise: *696 + installation: *697 + organization: *698 ref: description: The Git reference of the code scanning alert. When the action is `reopened_by_user` or `closed_by_user`, the event @@ -116276,7 +116750,7 @@ webhooks: type: - string - 'null' - repository: *697 + repository: *699 sender: *4 required: - action @@ -116508,12 +116982,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *708 - enterprise: *694 - installation: *695 - organization: *696 - ref: *709 - repository: *697 + commit_oid: *710 + enterprise: *696 + installation: *697 + organization: *698 + ref: *711 + repository: *699 sender: *4 required: - action @@ -116775,10 +117249,10 @@ webhooks: - updated_at - author_association - body - enterprise: *694 - installation: *695 - organization: *696 - repository: *697 + enterprise: *696 + installation: *697 + organization: *698 + repository: *699 sender: *4 required: - action @@ -116859,18 +117333,18 @@ webhooks: type: - string - 'null' - enterprise: *694 - installation: *695 + enterprise: *696 + installation: *697 master_branch: description: The name of the repository's default branch (usually `main`). type: string - organization: *696 - pusher_type: &710 + organization: *698 + pusher_type: &712 description: The pusher type for the event. Can be either `user` or a deploy key. type: string - ref: &711 + ref: &713 description: The [`git ref`](https://docs.github.com/enterprise-cloud@latest//rest/git/refs#get-a-reference) resource. type: string @@ -116880,7 +117354,7 @@ webhooks: enum: - tag - branch - repository: *697 + repository: *699 sender: *4 required: - ref @@ -116963,9 +117437,9 @@ webhooks: enum: - created definition: *98 - enterprise: *694 - installation: *695 - organization: *696 + enterprise: *696 + installation: *697 + organization: *698 sender: *4 required: - action @@ -117050,9 +117524,9 @@ webhooks: description: The name of the property that was deleted. required: - property_name - enterprise: *694 - installation: *695 - organization: *696 + enterprise: *696 + installation: *697 + organization: *698 sender: *4 required: - action @@ -117130,9 +117604,9 @@ webhooks: enum: - updated definition: *98 - enterprise: *694 - installation: *695 - organization: *696 + enterprise: *696 + installation: *697 + organization: *698 sender: *4 required: - action @@ -117209,19 +117683,19 @@ webhooks: type: string enum: - updated - enterprise: *694 - installation: *695 - repository: *697 - organization: *696 + enterprise: *696 + installation: *697 + repository: *699 + organization: *698 sender: *4 new_property_values: type: array description: The new custom property values for the repository. - items: *281 + items: *283 old_property_values: type: array description: The old custom property values for the repository. - items: *281 + items: *283 required: - action - repository @@ -117297,18 +117771,18 @@ webhooks: title: delete event type: object properties: - enterprise: *694 - installation: *695 - organization: *696 - pusher_type: *710 - ref: *711 + enterprise: *696 + installation: *697 + organization: *698 + pusher_type: *712 + ref: *713 ref_type: description: The type of Git ref object deleted in the repository. type: string enum: - tag - branch - repository: *697 + repository: *699 sender: *4 required: - ref @@ -117392,11 +117866,11 @@ webhooks: type: string enum: - auto_dismissed - alert: *465 - installation: *695 - organization: *696 - enterprise: *694 - repository: *697 + alert: *467 + installation: *697 + organization: *698 + enterprise: *696 + repository: *699 sender: *4 required: - action @@ -117480,11 +117954,11 @@ webhooks: type: string enum: - auto_reopened - alert: *465 - installation: *695 - organization: *696 - enterprise: *694 - repository: *697 + alert: *467 + installation: *697 + organization: *698 + enterprise: *696 + repository: *699 sender: *4 required: - action @@ -117568,11 +118042,11 @@ webhooks: type: string enum: - created - alert: *465 - installation: *695 - organization: *696 - enterprise: *694 - repository: *697 + alert: *467 + installation: *697 + organization: *698 + enterprise: *696 + repository: *699 sender: *4 required: - action @@ -117654,11 +118128,11 @@ webhooks: type: string enum: - dismissed - alert: *465 - installation: *695 - organization: *696 - enterprise: *694 - repository: *697 + alert: *467 + installation: *697 + organization: *698 + enterprise: *696 + repository: *699 sender: *4 required: - action @@ -117740,11 +118214,11 @@ webhooks: type: string enum: - fixed - alert: *465 - installation: *695 - organization: *696 - enterprise: *694 - repository: *697 + alert: *467 + installation: *697 + organization: *698 + enterprise: *696 + repository: *699 sender: *4 required: - action @@ -117827,11 +118301,11 @@ webhooks: type: string enum: - reintroduced - alert: *465 - installation: *695 - organization: *696 - enterprise: *694 - repository: *697 + alert: *467 + installation: *697 + organization: *698 + enterprise: *696 + repository: *699 sender: *4 required: - action @@ -117913,11 +118387,11 @@ webhooks: type: string enum: - reopened - alert: *465 - installation: *695 - organization: *696 - enterprise: *694 - repository: *697 + alert: *467 + installation: *697 + organization: *698 + enterprise: *696 + repository: *699 sender: *4 required: - action @@ -117994,9 +118468,9 @@ webhooks: type: string enum: - created - enterprise: *694 - installation: *695 - key: &712 + enterprise: *696 + installation: *697 + key: &714 description: The [`deploy key`](https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#get-a-deploy-key) resource. type: object @@ -118034,8 +118508,8 @@ webhooks: - verified - created_at - read_only - organization: *696 - repository: *697 + organization: *698 + repository: *699 sender: *4 required: - action @@ -118112,11 +118586,11 @@ webhooks: type: string enum: - deleted - enterprise: *694 - installation: *695 - key: *712 - organization: *696 - repository: *697 + enterprise: *696 + installation: *697 + key: *714 + organization: *698 + repository: *699 sender: *4 required: - action @@ -118688,12 +119162,12 @@ webhooks: - updated_at - statuses_url - repository_url - enterprise: *694 - installation: *695 - organization: *696 - repository: *697 + enterprise: *696 + installation: *697 + organization: *698 + repository: *699 sender: *4 - workflow: &716 + workflow: &718 title: Workflow type: - object @@ -119431,13 +119905,13 @@ webhooks: description: The URL to review the deployment protection rule. type: string format: uri - deployment: *471 + deployment: *473 pull_requests: type: array - items: *553 - repository: *697 - organization: *696 - installation: *695 + items: *555 + repository: *699 + organization: *698 + installation: *697 sender: *4 responses: '200': @@ -119508,7 +119982,7 @@ webhooks: type: string enum: - approved - approver: &713 + approver: &715 type: object properties: avatar_url: @@ -119551,11 +120025,11 @@ webhooks: type: string comment: type: string - enterprise: *694 - installation: *695 - organization: *696 - repository: *697 - reviewers: &714 + enterprise: *696 + installation: *697 + organization: *698 + repository: *699 + reviewers: &716 type: array items: type: object @@ -119636,7 +120110,7 @@ webhooks: sender: *4 since: type: string - workflow_job_run: &715 + workflow_job_run: &717 type: object properties: conclusion: @@ -120382,18 +120856,18 @@ webhooks: type: string enum: - rejected - approver: *713 + approver: *715 comment: type: string - enterprise: *694 - installation: *695 - organization: *696 - repository: *697 - reviewers: *714 + enterprise: *696 + installation: *697 + organization: *698 + repository: *699 + reviewers: *716 sender: *4 since: type: string - workflow_job_run: *715 + workflow_job_run: *717 workflow_job_runs: type: array items: @@ -121110,13 +121584,13 @@ webhooks: type: string enum: - requested - enterprise: *694 + enterprise: *696 environment: type: string - installation: *695 - organization: *696 - repository: *697 - requestor: &721 + installation: *697 + organization: *698 + repository: *699 + requestor: &723 title: User type: - object @@ -123059,12 +123533,12 @@ webhooks: - updated_at - deployment_url - repository_url - enterprise: *694 - installation: *695 - organization: *696 - repository: *697 + enterprise: *696 + installation: *697 + organization: *698 + repository: *699 sender: *4 - workflow: *716 + workflow: *718 workflow_run: title: Deployment Workflow Run type: @@ -123755,7 +124229,7 @@ webhooks: type: string enum: - answered - answer: &719 + answer: &721 type: object properties: author_association: @@ -123915,7 +124389,7 @@ webhooks: - created_at - updated_at - body - discussion: &717 + discussion: &719 title: Discussion description: A Discussion in a repository. type: object @@ -124211,7 +124685,7 @@ webhooks: - id labels: type: array - items: *516 + items: *518 required: - repository_url - category @@ -124233,10 +124707,10 @@ webhooks: - author_association - active_lock_reason - body - enterprise: *694 - installation: *695 - organization: *696 - repository: *697 + enterprise: *696 + installation: *697 + organization: *698 + repository: *699 sender: *4 required: - action @@ -124363,11 +124837,11 @@ webhooks: - from required: - category - discussion: *717 - enterprise: *694 - installation: *695 - organization: *696 - repository: *697 + discussion: *719 + enterprise: *696 + installation: *697 + organization: *698 + repository: *699 sender: *4 required: - action @@ -124450,11 +124924,11 @@ webhooks: type: string enum: - closed - discussion: *717 - enterprise: *694 - installation: *695 - organization: *696 - repository: *697 + discussion: *719 + enterprise: *696 + installation: *697 + organization: *698 + repository: *699 sender: *4 required: - action @@ -124536,7 +125010,7 @@ webhooks: type: string enum: - created - comment: &718 + comment: &720 type: object properties: author_association: @@ -124696,11 +125170,11 @@ webhooks: - updated_at - body - reactions - discussion: *717 - enterprise: *694 - installation: *695 - organization: *696 - repository: *697 + discussion: *719 + enterprise: *696 + installation: *697 + organization: *698 + repository: *699 sender: *4 required: - action @@ -124783,12 +125257,12 @@ webhooks: type: string enum: - deleted - comment: *718 - discussion: *717 - enterprise: *694 - installation: *695 - organization: *696 - repository: *697 + comment: *720 + discussion: *719 + enterprise: *696 + installation: *697 + organization: *698 + repository: *699 sender: *4 required: - action @@ -124883,12 +125357,12 @@ webhooks: - from required: - body - comment: *718 - discussion: *717 - enterprise: *694 - installation: *695 - organization: *696 - repository: *697 + comment: *720 + discussion: *719 + enterprise: *696 + installation: *697 + organization: *698 + repository: *699 sender: *4 required: - action @@ -124972,11 +125446,11 @@ webhooks: type: string enum: - created - discussion: *717 - enterprise: *694 - installation: *695 - organization: *696 - repository: *697 + discussion: *719 + enterprise: *696 + installation: *697 + organization: *698 + repository: *699 sender: *4 required: - action @@ -125058,11 +125532,11 @@ webhooks: type: string enum: - deleted - discussion: *717 - enterprise: *694 - installation: *695 - organization: *696 - repository: *697 + discussion: *719 + enterprise: *696 + installation: *697 + organization: *698 + repository: *699 sender: *4 required: - action @@ -125162,11 +125636,11 @@ webhooks: type: string required: - from - discussion: *717 - enterprise: *694 - installation: *695 - organization: *696 - repository: *697 + discussion: *719 + enterprise: *696 + installation: *697 + organization: *698 + repository: *699 sender: *4 required: - action @@ -125248,10 +125722,10 @@ webhooks: type: string enum: - labeled - discussion: *717 - enterprise: *694 - installation: *695 - label: &720 + discussion: *719 + enterprise: *696 + installation: *697 + label: &722 title: Label type: object properties: @@ -125284,8 +125758,8 @@ webhooks: - color - default - description - organization: *696 - repository: *697 + organization: *698 + repository: *699 sender: *4 required: - action @@ -125368,11 +125842,11 @@ webhooks: type: string enum: - locked - discussion: *717 - enterprise: *694 - installation: *695 - organization: *696 - repository: *697 + discussion: *719 + enterprise: *696 + installation: *697 + organization: *698 + repository: *699 sender: *4 required: - action @@ -125454,11 +125928,11 @@ webhooks: type: string enum: - pinned - discussion: *717 - enterprise: *694 - installation: *695 - organization: *696 - repository: *697 + discussion: *719 + enterprise: *696 + installation: *697 + organization: *698 + repository: *699 sender: *4 required: - action @@ -125540,11 +126014,11 @@ webhooks: type: string enum: - reopened - discussion: *717 - enterprise: *694 - installation: *695 - organization: *696 - repository: *697 + discussion: *719 + enterprise: *696 + installation: *697 + organization: *698 + repository: *699 sender: *4 required: - action @@ -125629,16 +126103,16 @@ webhooks: changes: type: object properties: - new_discussion: *717 - new_repository: *697 + new_discussion: *719 + new_repository: *699 required: - new_discussion - new_repository - discussion: *717 - enterprise: *694 - installation: *695 - organization: *696 - repository: *697 + discussion: *719 + enterprise: *696 + installation: *697 + organization: *698 + repository: *699 sender: *4 required: - action @@ -125721,10 +126195,10 @@ webhooks: type: string enum: - unanswered - discussion: *717 - old_answer: *719 - organization: *696 - repository: *697 + discussion: *719 + old_answer: *721 + organization: *698 + repository: *699 sender: *4 required: - action @@ -125806,12 +126280,12 @@ webhooks: type: string enum: - unlabeled - discussion: *717 - enterprise: *694 - installation: *695 - label: *720 - organization: *696 - repository: *697 + discussion: *719 + enterprise: *696 + installation: *697 + label: *722 + organization: *698 + repository: *699 sender: *4 required: - action @@ -125894,11 +126368,11 @@ webhooks: type: string enum: - unlocked - discussion: *717 - enterprise: *694 - installation: *695 - organization: *696 - repository: *697 + discussion: *719 + enterprise: *696 + installation: *697 + organization: *698 + repository: *699 sender: *4 required: - action @@ -125980,11 +126454,11 @@ webhooks: type: string enum: - unpinned - discussion: *717 - enterprise: *694 - installation: *695 - organization: *696 - repository: *697 + discussion: *719 + enterprise: *696 + installation: *697 + organization: *698 + repository: *699 sender: *4 required: - action @@ -126057,7 +126531,7 @@ webhooks: description: A user forks a repository. type: object properties: - enterprise: *694 + enterprise: *696 forkee: description: The created [`repository`](https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#get-a-repository) resource. @@ -126735,9 +127209,9 @@ webhooks: type: integer watchers_count: type: integer - installation: *695 - organization: *696 - repository: *697 + installation: *697 + organization: *698 + repository: *699 sender: *4 required: - forkee @@ -126883,9 +127357,9 @@ webhooks: title: gollum event type: object properties: - enterprise: *694 - installation: *695 - organization: *696 + enterprise: *696 + installation: *697 + organization: *698 pages: description: The pages that were updated. type: array @@ -126923,7 +127397,7 @@ webhooks: - action - sha - html_url - repository: *697 + repository: *699 sender: *4 required: - pages @@ -126999,10 +127473,10 @@ webhooks: type: string enum: - created - enterprise: *694 + enterprise: *696 installation: *20 - organization: *696 - repositories: &722 + organization: *698 + repositories: &724 description: An array of repository objects that the installation can access. type: array @@ -127028,8 +127502,8 @@ webhooks: - name - full_name - private - repository: *697 - requester: *721 + repository: *699 + requester: *723 sender: *4 required: - action @@ -127104,11 +127578,11 @@ webhooks: type: string enum: - deleted - enterprise: *694 + enterprise: *696 installation: *20 - organization: *696 - repositories: *722 - repository: *697 + organization: *698 + repositories: *724 + repository: *699 requester: type: - 'null' @@ -127185,11 +127659,11 @@ webhooks: type: string enum: - new_permissions_accepted - enterprise: *694 + enterprise: *696 installation: *20 - organization: *696 - repositories: *722 - repository: *697 + organization: *698 + repositories: *724 + repository: *699 requester: type: - 'null' @@ -127266,10 +127740,10 @@ webhooks: type: string enum: - added - enterprise: *694 + enterprise: *696 installation: *20 - organization: *696 - repositories_added: &723 + organization: *698 + repositories_added: &725 description: An array of repository objects, which were added to the installation. type: array @@ -127315,15 +127789,15 @@ webhooks: private: description: Whether the repository is private or public. type: boolean - repository: *697 - repository_selection: &724 + repository: *699 + repository_selection: &726 description: Describe whether all repositories have been selected or there's a selection involved type: string enum: - all - selected - requester: *721 + requester: *723 sender: *4 required: - action @@ -127402,10 +127876,10 @@ webhooks: type: string enum: - removed - enterprise: *694 + enterprise: *696 installation: *20 - organization: *696 - repositories_added: *723 + organization: *698 + repositories_added: *725 repositories_removed: description: An array of repository objects, which were removed from the installation. @@ -127432,9 +127906,9 @@ webhooks: - name - full_name - private - repository: *697 - repository_selection: *724 - requester: *721 + repository: *699 + repository_selection: *726 + requester: *723 sender: *4 required: - action @@ -127513,11 +127987,11 @@ webhooks: type: string enum: - suspend - enterprise: *694 + enterprise: *696 installation: *20 - organization: *696 - repositories: *722 - repository: *697 + organization: *698 + repositories: *724 + repository: *699 requester: type: - 'null' @@ -127700,10 +128174,10 @@ webhooks: type: string required: - from - enterprise: *694 - installation: *695 - organization: *696 - repository: *697 + enterprise: *696 + installation: *697 + organization: *698 + repository: *699 sender: *4 target_type: type: string @@ -127782,11 +128256,11 @@ webhooks: type: string enum: - unsuspend - enterprise: *694 + enterprise: *696 installation: *20 - organization: *696 - repositories: *722 - repository: *697 + organization: *698 + repositories: *724 + repository: *699 requester: type: - 'null' @@ -128034,8 +128508,8 @@ webhooks: - performed_via_github_app - body - reactions - enterprise: *694 - installation: *695 + enterprise: *696 + installation: *697 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) the comment belongs to. @@ -129225,8 +129699,8 @@ webhooks: - state - locked - assignee - organization: *696 - repository: *697 + organization: *698 + repository: *699 sender: *4 required: - action @@ -129306,7 +129780,7 @@ webhooks: type: string enum: - deleted - comment: &725 + comment: &727 title: issue comment description: The [comment](https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#get-an-issue-comment) itself. @@ -129473,8 +129947,8 @@ webhooks: - performed_via_github_app - body - reactions - enterprise: *694 - installation: *695 + enterprise: *696 + installation: *697 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) the comment belongs to. @@ -130662,8 +131136,8 @@ webhooks: - state - locked - assignee - organization: *696 - repository: *697 + organization: *698 + repository: *699 sender: *4 required: - action @@ -130743,7 +131217,7 @@ webhooks: type: string enum: - edited - changes: &750 + changes: &752 description: The changes to the comment. type: object properties: @@ -130755,9 +131229,9 @@ webhooks: type: string required: - from - comment: *725 - enterprise: *694 - installation: *695 + comment: *727 + enterprise: *696 + installation: *697 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) the comment belongs to. @@ -131946,8 +132420,8 @@ webhooks: - state - locked - assignee - organization: *696 - repository: *697 + organization: *698 + repository: *699 sender: *4 required: - action @@ -132029,10 +132503,10 @@ webhooks: type: string enum: - assigned - assignee: *721 - enterprise: *694 - installation: *695 - issue: &728 + assignee: *723 + enterprise: *696 + installation: *697 + issue: &730 title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) itself. @@ -132976,8 +133450,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *696 - repository: *697 + organization: *698 + repository: *699 sender: *4 required: - action @@ -133057,8 +133531,8 @@ webhooks: type: string enum: - closed - enterprise: *694 - installation: *695 + enterprise: *696 + installation: *697 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) itself. @@ -134150,8 +134624,8 @@ webhooks: required: - state - closed_at - organization: *696 - repository: *697 + organization: *698 + repository: *699 sender: *4 required: - action @@ -134230,8 +134704,8 @@ webhooks: type: string enum: - deleted - enterprise: *694 - installation: *695 + enterprise: *696 + installation: *697 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -135168,8 +135642,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *696 - repository: *697 + organization: *698 + repository: *699 sender: *4 required: - action @@ -135248,8 +135722,8 @@ webhooks: type: string enum: - demilestoned - enterprise: *694 - installation: *695 + enterprise: *696 + installation: *697 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -136190,7 +136664,7 @@ webhooks: format: uri user_view_type: type: string - milestone: &726 + milestone: &728 title: Milestone description: A collection of related issues and pull requests. type: object @@ -136333,8 +136807,8 @@ webhooks: - updated_at - due_on - closed_at - organization: *696 - repository: *697 + organization: *698 + repository: *699 sender: *4 required: - action @@ -136433,8 +136907,8 @@ webhooks: type: string required: - from - enterprise: *694 - installation: *695 + enterprise: *696 + installation: *697 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -137378,9 +137852,9 @@ webhooks: - active_lock_reason - body - reactions - label: *720 - organization: *696 - repository: *697 + label: *722 + organization: *698 + repository: *699 sender: *4 required: - action @@ -137460,8 +137934,8 @@ webhooks: type: string enum: - labeled - enterprise: *694 - installation: *695 + enterprise: *696 + installation: *697 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -138404,9 +138878,9 @@ webhooks: - active_lock_reason - body - reactions - label: *720 - organization: *696 - repository: *697 + label: *722 + organization: *698 + repository: *699 sender: *4 required: - action @@ -138486,8 +138960,8 @@ webhooks: type: string enum: - locked - enterprise: *694 - installation: *695 + enterprise: *696 + installation: *697 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -139432,8 +139906,8 @@ webhooks: format: uri user_view_type: type: string - organization: *696 - repository: *697 + organization: *698 + repository: *699 sender: *4 required: - action @@ -139512,8 +139986,8 @@ webhooks: type: string enum: - milestoned - enterprise: *694 - installation: *695 + enterprise: *696 + installation: *697 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -140452,9 +140926,9 @@ webhooks: format: uri user_view_type: type: string - milestone: *726 - organization: *696 - repository: *697 + milestone: *728 + organization: *698 + repository: *699 sender: *4 required: - action @@ -141954,8 +142428,8 @@ webhooks: required: - old_issue - old_repository - enterprise: *694 - installation: *695 + enterprise: *696 + installation: *697 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -142898,8 +143372,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *696 - repository: *697 + organization: *698 + repository: *699 sender: *4 required: - action @@ -142979,9 +143453,9 @@ webhooks: type: string enum: - pinned - enterprise: *694 - installation: *695 - issue: &727 + enterprise: *696 + installation: *697 + issue: &729 title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) itself. @@ -143918,8 +144392,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *696 - repository: *697 + organization: *698 + repository: *699 sender: *4 required: - action @@ -143998,8 +144472,8 @@ webhooks: type: string enum: - reopened - enterprise: *694 - installation: *695 + enterprise: *696 + installation: *697 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -144943,8 +145417,8 @@ webhooks: format: uri user_view_type: type: string - organization: *696 - repository: *697 + organization: *698 + repository: *699 sender: *4 required: - action @@ -146444,11 +146918,11 @@ webhooks: required: - new_issue - new_repository - enterprise: *694 - installation: *695 - issue: *727 - organization: *696 - repository: *697 + enterprise: *696 + installation: *697 + issue: *729 + organization: *698 + repository: *699 sender: *4 required: - action @@ -146529,7 +147003,7 @@ webhooks: type: string enum: - unassigned - assignee: &753 + assignee: &755 title: User type: - object @@ -146601,11 +147075,11 @@ webhooks: required: - login - id - enterprise: *694 - installation: *695 - issue: *728 - organization: *696 - repository: *697 + enterprise: *696 + installation: *697 + issue: *730 + organization: *698 + repository: *699 sender: *4 required: - action @@ -146684,12 +147158,12 @@ webhooks: type: string enum: - unlabeled - enterprise: *694 - installation: *695 - issue: *728 - label: *720 - organization: *696 - repository: *697 + enterprise: *696 + installation: *697 + issue: *730 + label: *722 + organization: *698 + repository: *699 sender: *4 required: - action @@ -146769,8 +147243,8 @@ webhooks: type: string enum: - unlocked - enterprise: *694 - installation: *695 + enterprise: *696 + installation: *697 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -147713,8 +148187,8 @@ webhooks: format: uri user_view_type: type: string - organization: *696 - repository: *697 + organization: *698 + repository: *699 sender: *4 required: - action @@ -147794,11 +148268,11 @@ webhooks: type: string enum: - unpinned - enterprise: *694 - installation: *695 - issue: *727 - organization: *696 - repository: *697 + enterprise: *696 + installation: *697 + issue: *729 + organization: *698 + repository: *699 sender: *4 required: - action @@ -147877,11 +148351,11 @@ webhooks: type: string enum: - created - enterprise: *694 - installation: *695 - label: *720 - organization: *696 - repository: *697 + enterprise: *696 + installation: *697 + label: *722 + organization: *698 + repository: *699 sender: *4 required: - action @@ -147959,11 +148433,11 @@ webhooks: type: string enum: - deleted - enterprise: *694 - installation: *695 - label: *720 - organization: *696 - repository: *697 + enterprise: *696 + installation: *697 + label: *722 + organization: *698 + repository: *699 sender: *4 required: - action @@ -148073,11 +148547,11 @@ webhooks: type: string required: - from - enterprise: *694 - installation: *695 - label: *720 - organization: *696 - repository: *697 + enterprise: *696 + installation: *697 + label: *722 + organization: *698 + repository: *699 sender: *4 required: - action @@ -148159,9 +148633,9 @@ webhooks: - cancelled effective_date: type: string - enterprise: *694 - installation: *695 - marketplace_purchase: &729 + enterprise: *696 + installation: *697 + marketplace_purchase: &731 title: Marketplace Purchase type: object required: @@ -148249,8 +148723,8 @@ webhooks: type: integer unit_count: type: integer - organization: *696 - previous_marketplace_purchase: &730 + organization: *698 + previous_marketplace_purchase: &732 title: Marketplace Purchase type: object properties: @@ -148334,7 +148808,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *697 + repository: *699 sender: *4 required: - action @@ -148414,10 +148888,10 @@ webhooks: - changed effective_date: type: string - enterprise: *694 - installation: *695 - marketplace_purchase: *729 - organization: *696 + enterprise: *696 + installation: *697 + marketplace_purchase: *731 + organization: *698 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -148505,7 +148979,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *697 + repository: *699 sender: *4 required: - action @@ -148587,10 +149061,10 @@ webhooks: - pending_change effective_date: type: string - enterprise: *694 - installation: *695 - marketplace_purchase: *729 - organization: *696 + enterprise: *696 + installation: *697 + marketplace_purchase: *731 + organization: *698 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -148676,7 +149150,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *697 + repository: *699 sender: *4 required: - action @@ -148757,8 +149231,8 @@ webhooks: - pending_change_cancelled effective_date: type: string - enterprise: *694 - installation: *695 + enterprise: *696 + installation: *697 marketplace_purchase: title: Marketplace Purchase type: object @@ -148844,9 +149318,9 @@ webhooks: type: integer unit_count: type: integer - organization: *696 - previous_marketplace_purchase: *730 - repository: *697 + organization: *698 + previous_marketplace_purchase: *732 + repository: *699 sender: *4 required: - action @@ -148926,12 +149400,12 @@ webhooks: - purchased effective_date: type: string - enterprise: *694 - installation: *695 - marketplace_purchase: *729 - organization: *696 - previous_marketplace_purchase: *730 - repository: *697 + enterprise: *696 + installation: *697 + marketplace_purchase: *731 + organization: *698 + previous_marketplace_purchase: *732 + repository: *699 sender: *4 required: - action @@ -149033,11 +149507,11 @@ webhooks: type: string required: - to - enterprise: *694 - installation: *695 - member: *721 - organization: *696 - repository: *697 + enterprise: *696 + installation: *697 + member: *723 + organization: *698 + repository: *699 sender: *4 required: - action @@ -149139,11 +149613,11 @@ webhooks: type: - string - 'null' - enterprise: *694 - installation: *695 - member: *721 - organization: *696 - repository: *697 + enterprise: *696 + installation: *697 + member: *723 + organization: *698 + repository: *699 sender: *4 required: - action @@ -149222,11 +149696,11 @@ webhooks: type: string enum: - removed - enterprise: *694 - installation: *695 - member: *721 - organization: *696 - repository: *697 + enterprise: *696 + installation: *697 + member: *723 + organization: *698 + repository: *699 sender: *4 required: - action @@ -149304,11 +149778,11 @@ webhooks: type: string enum: - added - enterprise: *694 - installation: *695 - member: *721 - organization: *696 - repository: *697 + enterprise: *696 + installation: *697 + member: *723 + organization: *698 + repository: *699 scope: description: The scope of the membership. Currently, can only be `team`. @@ -149386,7 +149860,7 @@ webhooks: required: - login - id - team: &731 + team: &733 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -149579,11 +150053,11 @@ webhooks: type: string enum: - removed - enterprise: *694 - installation: *695 - member: *721 - organization: *696 - repository: *697 + enterprise: *696 + installation: *697 + member: *723 + organization: *698 + repository: *699 scope: description: The scope of the membership. Currently, can only be `team`. @@ -149662,7 +150136,7 @@ webhooks: required: - login - id - team: *731 + team: *733 required: - action - scope @@ -149744,8 +150218,8 @@ webhooks: type: string enum: - checks_requested - installation: *695 - merge_group: &732 + installation: *697 + merge_group: &734 type: object title: Merge Group description: A group of pull requests that the merge queue has grouped @@ -149764,15 +150238,15 @@ webhooks: description: The full ref of the branch the merge group will be merged into. type: string - head_commit: *405 + head_commit: *407 required: - head_sha - head_ref - base_sha - base_ref - head_commit - organization: *696 - repository: *697 + organization: *698 + repository: *699 sender: *4 required: - action @@ -149858,10 +150332,10 @@ webhooks: - merged - invalidated - dequeued - installation: *695 - merge_group: *732 - organization: *696 - repository: *697 + installation: *697 + merge_group: *734 + organization: *698 + repository: *699 sender: *4 required: - action @@ -149934,7 +150408,7 @@ webhooks: type: string enum: - deleted - enterprise: *694 + enterprise: *696 hook: description: 'The modified webhook. This will contain different keys based on the type of webhook it is: repository, organization, @@ -150042,12 +150516,12 @@ webhooks: hook_id: description: The id of the modified webhook. type: integer - installation: *695 - organization: *696 + installation: *697 + organization: *698 repository: anyOf: - type: 'null' - - *697 + - *699 sender: *4 required: - action @@ -150127,11 +150601,11 @@ webhooks: type: string enum: - closed - enterprise: *694 - installation: *695 - milestone: *726 - organization: *696 - repository: *697 + enterprise: *696 + installation: *697 + milestone: *728 + organization: *698 + repository: *699 sender: *4 required: - action @@ -150210,9 +150684,9 @@ webhooks: type: string enum: - created - enterprise: *694 - installation: *695 - milestone: &733 + enterprise: *696 + installation: *697 + milestone: &735 title: Milestone description: A collection of related issues and pull requests. type: object @@ -150354,8 +150828,8 @@ webhooks: - updated_at - due_on - closed_at - organization: *696 - repository: *697 + organization: *698 + repository: *699 sender: *4 required: - action @@ -150434,11 +150908,11 @@ webhooks: type: string enum: - deleted - enterprise: *694 - installation: *695 - milestone: *726 - organization: *696 - repository: *697 + enterprise: *696 + installation: *697 + milestone: *728 + organization: *698 + repository: *699 sender: *4 required: - action @@ -150548,11 +151022,11 @@ webhooks: type: string required: - from - enterprise: *694 - installation: *695 - milestone: *726 - organization: *696 - repository: *697 + enterprise: *696 + installation: *697 + milestone: *728 + organization: *698 + repository: *699 sender: *4 required: - action @@ -150632,11 +151106,11 @@ webhooks: type: string enum: - opened - enterprise: *694 - installation: *695 - milestone: *733 - organization: *696 - repository: *697 + enterprise: *696 + installation: *697 + milestone: *735 + organization: *698 + repository: *699 sender: *4 required: - action @@ -150715,11 +151189,11 @@ webhooks: type: string enum: - blocked - blocked_user: *721 - enterprise: *694 - installation: *695 - organization: *696 - repository: *697 + blocked_user: *723 + enterprise: *696 + installation: *697 + organization: *698 + repository: *699 sender: *4 required: - action @@ -150798,11 +151272,11 @@ webhooks: type: string enum: - unblocked - blocked_user: *721 - enterprise: *694 - installation: *695 - organization: *696 - repository: *697 + blocked_user: *723 + enterprise: *696 + installation: *697 + organization: *698 + repository: *699 sender: *4 required: - action @@ -150881,9 +151355,9 @@ webhooks: type: string enum: - deleted - enterprise: *694 - installation: *695 - membership: &734 + enterprise: *696 + installation: *697 + membership: &736 title: Membership description: The membership between the user and the organization. Not present when the action is `member_invited`. @@ -150977,8 +151451,8 @@ webhooks: - role - organization_url - user - organization: *696 - repository: *697 + organization: *698 + repository: *699 sender: *4 required: - action @@ -151056,11 +151530,11 @@ webhooks: type: string enum: - member_added - enterprise: *694 - installation: *695 - membership: *734 - organization: *696 - repository: *697 + enterprise: *696 + installation: *697 + membership: *736 + organization: *698 + repository: *699 sender: *4 required: - action @@ -151139,8 +151613,8 @@ webhooks: type: string enum: - member_invited - enterprise: *694 - installation: *695 + enterprise: *696 + installation: *697 invitation: description: The invitation for the user or email if the action is `member_invited`. @@ -151262,10 +151736,10 @@ webhooks: - inviter - team_count - invitation_teams_url - organization: *696 - repository: *697 + organization: *698 + repository: *699 sender: *4 - user: *721 + user: *723 required: - action - invitation @@ -151343,11 +151817,11 @@ webhooks: type: string enum: - member_removed - enterprise: *694 - installation: *695 - membership: *734 - organization: *696 - repository: *697 + enterprise: *696 + installation: *697 + membership: *736 + organization: *698 + repository: *699 sender: *4 required: - action @@ -151434,11 +151908,11 @@ webhooks: properties: from: type: string - enterprise: *694 - installation: *695 - membership: *734 - organization: *696 - repository: *697 + enterprise: *696 + installation: *697 + membership: *736 + organization: *698 + repository: *699 sender: *4 required: - action @@ -151514,9 +151988,9 @@ webhooks: type: string enum: - published - enterprise: *694 - installation: *695 - organization: *696 + enterprise: *696 + installation: *697 + organization: *698 package: description: Information about the package. type: object @@ -152039,7 +152513,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: &735 + items: &737 title: Ruby Gems metadata type: object properties: @@ -152136,7 +152610,7 @@ webhooks: - owner - package_version - registry - repository: *697 + repository: *699 sender: *4 required: - action @@ -152212,9 +152686,9 @@ webhooks: type: string enum: - updated - enterprise: *694 - installation: *695 - organization: *696 + enterprise: *696 + installation: *697 + organization: *698 package: description: Information about the package. type: object @@ -152576,7 +153050,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: *735 + items: *737 source_url: type: string format: uri @@ -152647,7 +153121,7 @@ webhooks: - owner - package_version - registry - repository: *697 + repository: *699 sender: *4 required: - action @@ -152828,12 +153302,12 @@ webhooks: - duration - created_at - updated_at - enterprise: *694 + enterprise: *696 id: type: integer - installation: *695 - organization: *696 - repository: *697 + installation: *697 + organization: *698 + repository: *699 sender: *4 required: - id @@ -152913,7 +153387,7 @@ webhooks: type: string enum: - approved - personal_access_token_request: &736 + personal_access_token_request: &738 title: Personal Access Token Request description: Details of a Personal Access Token Request. type: object @@ -153063,10 +153537,10 @@ webhooks: - token_expired - token_expires_at - token_last_used_at - enterprise: *694 - organization: *696 + enterprise: *696 + organization: *698 sender: *4 - installation: *695 + installation: *697 required: - action - personal_access_token_request @@ -153145,11 +153619,11 @@ webhooks: type: string enum: - cancelled - personal_access_token_request: *736 - enterprise: *694 - organization: *696 + personal_access_token_request: *738 + enterprise: *696 + organization: *698 sender: *4 - installation: *695 + installation: *697 required: - action - personal_access_token_request @@ -153227,11 +153701,11 @@ webhooks: type: string enum: - created - personal_access_token_request: *736 - enterprise: *694 - organization: *696 + personal_access_token_request: *738 + enterprise: *696 + organization: *698 sender: *4 - installation: *695 + installation: *697 required: - action - personal_access_token_request @@ -153308,11 +153782,11 @@ webhooks: type: string enum: - denied - personal_access_token_request: *736 - organization: *696 - enterprise: *694 + personal_access_token_request: *738 + organization: *698 + enterprise: *696 sender: *4 - installation: *695 + installation: *697 required: - action - personal_access_token_request @@ -153416,7 +153890,7 @@ webhooks: id: description: Unique identifier of the webhook. type: integer - last_response: *737 + last_response: *739 name: description: The type of webhook. The only valid value is 'web'. type: string @@ -153448,8 +153922,8 @@ webhooks: hook_id: description: The ID of the webhook that triggered the ping. type: integer - organization: *696 - repository: *697 + organization: *698 + repository: *699 sender: *4 zen: description: Random string of GitHub zen. @@ -153694,10 +154168,10 @@ webhooks: - from required: - note - enterprise: *694 - installation: *695 - organization: *696 - project_card: &738 + enterprise: *696 + installation: *697 + organization: *698 + project_card: &740 title: Project Card type: object properties: @@ -153820,7 +154294,7 @@ webhooks: - creator - created_at - updated_at - repository: *697 + repository: *699 sender: *4 required: - action @@ -153901,11 +154375,11 @@ webhooks: type: string enum: - created - enterprise: *694 - installation: *695 - organization: *696 - project_card: *738 - repository: *697 + enterprise: *696 + installation: *697 + organization: *698 + project_card: *740 + repository: *699 sender: *4 required: - action @@ -153985,9 +154459,9 @@ webhooks: type: string enum: - deleted - enterprise: *694 - installation: *695 - organization: *696 + enterprise: *696 + installation: *697 + organization: *698 project_card: title: Project Card type: object @@ -154117,7 +154591,7 @@ webhooks: repository: anyOf: - type: 'null' - - *697 + - *699 sender: *4 required: - action @@ -154211,11 +154685,11 @@ webhooks: - from required: - note - enterprise: *694 - installation: *695 - organization: *696 - project_card: *738 - repository: *697 + enterprise: *696 + installation: *697 + organization: *698 + project_card: *740 + repository: *699 sender: *4 required: - action @@ -154309,9 +154783,9 @@ webhooks: - from required: - column_id - enterprise: *694 - installation: *695 - organization: *696 + enterprise: *696 + installation: *697 + organization: *698 project_card: allOf: - title: Project Card @@ -154508,7 +154982,7 @@ webhooks: type: string required: - after_id - repository: *697 + repository: *699 sender: *4 required: - action @@ -154588,10 +155062,10 @@ webhooks: type: string enum: - closed - enterprise: *694 - installation: *695 - organization: *696 - project: &740 + enterprise: *696 + installation: *697 + organization: *698 + project: &742 title: Project type: object properties: @@ -154718,7 +155192,7 @@ webhooks: - creator - created_at - updated_at - repository: *697 + repository: *699 sender: *4 required: - action @@ -154798,10 +155272,10 @@ webhooks: type: string enum: - created - enterprise: *694 - installation: *695 - organization: *696 - project_column: &739 + enterprise: *696 + installation: *697 + organization: *698 + project_column: &741 title: Project Column type: object properties: @@ -154841,7 +155315,7 @@ webhooks: - name - created_at - updated_at - repository: *697 + repository: *699 sender: *4 required: - action @@ -154920,14 +155394,14 @@ webhooks: type: string enum: - deleted - enterprise: *694 - installation: *695 - organization: *696 - project_column: *739 + enterprise: *696 + installation: *697 + organization: *698 + project_column: *741 repository: anyOf: - type: 'null' - - *697 + - *699 sender: *4 required: - action @@ -155016,11 +155490,11 @@ webhooks: type: string required: - from - enterprise: *694 - installation: *695 - organization: *696 - project_column: *739 - repository: *697 + enterprise: *696 + installation: *697 + organization: *698 + project_column: *741 + repository: *699 sender: *4 required: - action @@ -155100,11 +155574,11 @@ webhooks: type: string enum: - moved - enterprise: *694 - installation: *695 - organization: *696 - project_column: *739 - repository: *697 + enterprise: *696 + installation: *697 + organization: *698 + project_column: *741 + repository: *699 sender: *4 required: - action @@ -155184,11 +155658,11 @@ webhooks: type: string enum: - created - enterprise: *694 - installation: *695 - organization: *696 - project: *740 - repository: *697 + enterprise: *696 + installation: *697 + organization: *698 + project: *742 + repository: *699 sender: *4 required: - action @@ -155268,14 +155742,14 @@ webhooks: type: string enum: - deleted - enterprise: *694 - installation: *695 - organization: *696 - project: *740 + enterprise: *696 + installation: *697 + organization: *698 + project: *742 repository: anyOf: - type: 'null' - - *697 + - *699 sender: *4 required: - action @@ -155376,11 +155850,11 @@ webhooks: type: string required: - from - enterprise: *694 - installation: *695 - organization: *696 - project: *740 - repository: *697 + enterprise: *696 + installation: *697 + organization: *698 + project: *742 + repository: *699 sender: *4 required: - action @@ -155459,11 +155933,11 @@ webhooks: type: string enum: - reopened - enterprise: *694 - installation: *695 - organization: *696 - project: *740 - repository: *697 + enterprise: *696 + installation: *697 + organization: *698 + project: *742 + repository: *699 sender: *4 required: - action @@ -155544,9 +156018,9 @@ webhooks: type: string enum: - closed - installation: *695 - organization: *696 - projects_v2: &741 + installation: *697 + organization: *698 + projects_v2: &743 title: Projects v2 Project description: A projects v2 project type: object @@ -155694,9 +156168,9 @@ webhooks: type: string enum: - created - installation: *695 - organization: *696 - projects_v2: *741 + installation: *697 + organization: *698 + projects_v2: *743 sender: *4 required: - action @@ -155777,9 +156251,9 @@ webhooks: type: string enum: - deleted - installation: *695 - organization: *696 - projects_v2: *741 + installation: *697 + organization: *698 + projects_v2: *743 sender: *4 required: - action @@ -155900,9 +156374,9 @@ webhooks: type: string to: type: string - installation: *695 - organization: *696 - projects_v2: *741 + installation: *697 + organization: *698 + projects_v2: *743 sender: *4 required: - action @@ -155985,7 +156459,7 @@ webhooks: type: string enum: - archived - changes: &745 + changes: &747 type: object properties: archived_at: @@ -156001,9 +156475,9 @@ webhooks: - string - 'null' format: date-time - installation: *695 - organization: *696 - projects_v2_item: &742 + installation: *697 + organization: *698 + projects_v2_item: &744 title: Projects v2 Item description: An item belonging to a project type: object @@ -156142,9 +156616,9 @@ webhooks: - 'null' to: type: string - installation: *695 - organization: *696 - projects_v2_item: *742 + installation: *697 + organization: *698 + projects_v2_item: *744 sender: *4 required: - action @@ -156226,9 +156700,9 @@ webhooks: type: string enum: - created - installation: *695 - organization: *696 - projects_v2_item: *742 + installation: *697 + organization: *698 + projects_v2_item: *744 sender: *4 required: - action @@ -156309,9 +156783,9 @@ webhooks: type: string enum: - deleted - installation: *695 - organization: *696 - projects_v2_item: *742 + installation: *697 + organization: *698 + projects_v2_item: *744 sender: *4 required: - action @@ -156416,7 +156890,7 @@ webhooks: oneOf: - type: string - type: integer - - &743 + - &745 title: Projects v2 Single Select Option description: An option for a single select field type: object @@ -156436,7 +156910,7 @@ webhooks: required: - id - name - - &744 + - &746 title: Projects v2 Iteration Setting description: An iteration setting for an iteration field type: object @@ -156465,8 +156939,8 @@ webhooks: oneOf: - type: string - type: integer - - *743 - - *744 + - *745 + - *746 type: - 'null' - string @@ -156489,9 +156963,9 @@ webhooks: - 'null' required: - body - installation: *695 - organization: *696 - projects_v2_item: *742 + installation: *697 + organization: *698 + projects_v2_item: *744 sender: *4 required: - action @@ -156588,9 +157062,9 @@ webhooks: type: - string - 'null' - installation: *695 - organization: *696 - projects_v2_item: *742 + installation: *697 + organization: *698 + projects_v2_item: *744 sender: *4 required: - action @@ -156673,10 +157147,10 @@ webhooks: type: string enum: - restored - changes: *745 - installation: *695 - organization: *696 - projects_v2_item: *742 + changes: *747 + installation: *697 + organization: *698 + projects_v2_item: *744 sender: *4 required: - action @@ -156758,9 +157232,9 @@ webhooks: type: string enum: - reopened - installation: *695 - organization: *696 - projects_v2: *741 + installation: *697 + organization: *698 + projects_v2: *743 sender: *4 required: - action @@ -156841,9 +157315,9 @@ webhooks: type: string enum: - created - installation: *695 - organization: *696 - projects_v2_status_update: &746 + installation: *697 + organization: *698 + projects_v2_status_update: &748 title: Projects v2 Status Update description: An status update belonging to a project type: object @@ -156978,9 +157452,9 @@ webhooks: type: string enum: - deleted - installation: *695 - organization: *696 - projects_v2_status_update: *746 + installation: *697 + organization: *698 + projects_v2_status_update: *748 sender: *4 required: - action @@ -157126,9 +157600,9 @@ webhooks: - string - 'null' format: date - installation: *695 - organization: *696 - projects_v2_status_update: *746 + installation: *697 + organization: *698 + projects_v2_status_update: *748 sender: *4 required: - action @@ -157199,10 +157673,10 @@ webhooks: title: public event type: object properties: - enterprise: *694 - installation: *695 - organization: *696 - repository: *697 + enterprise: *696 + installation: *697 + organization: *698 + repository: *699 sender: *4 required: - repository @@ -157279,13 +157753,13 @@ webhooks: type: string enum: - assigned - assignee: *721 - enterprise: *694 - installation: *695 - number: &747 + assignee: *723 + enterprise: *696 + installation: *697 + number: &749 description: The pull request number. type: integer - organization: *696 + organization: *698 pull_request: title: Pull Request type: object @@ -159634,7 +160108,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *697 + repository: *699 sender: *4 required: - action @@ -159716,11 +160190,11 @@ webhooks: type: string enum: - auto_merge_disabled - enterprise: *694 - installation: *695 + enterprise: *696 + installation: *697 number: type: integer - organization: *696 + organization: *698 pull_request: title: Pull Request type: object @@ -162062,7 +162536,7 @@ webhooks: - draft reason: type: string - repository: *697 + repository: *699 sender: *4 required: - action @@ -162144,11 +162618,11 @@ webhooks: type: string enum: - auto_merge_enabled - enterprise: *694 - installation: *695 + enterprise: *696 + installation: *697 number: type: integer - organization: *696 + organization: *698 pull_request: title: Pull Request type: object @@ -164490,7 +164964,7 @@ webhooks: - draft reason: type: string - repository: *697 + repository: *699 sender: *4 required: - action @@ -164572,13 +165046,13 @@ webhooks: type: string enum: - closed - enterprise: *694 - installation: *695 - number: *747 - organization: *696 - pull_request: &748 + enterprise: *696 + installation: *697 + number: *749 + organization: *698 + pull_request: &750 allOf: - - *553 + - *555 - type: object properties: allow_auto_merge: @@ -164640,7 +165114,7 @@ webhooks: Please use `squash_merge_commit_title` instead.** type: boolean default: false - repository: *697 + repository: *699 sender: *4 required: - action @@ -164721,12 +165195,12 @@ webhooks: type: string enum: - converted_to_draft - enterprise: *694 - installation: *695 - number: *747 - organization: *696 - pull_request: *748 - repository: *697 + enterprise: *696 + installation: *697 + number: *749 + organization: *698 + pull_request: *750 + repository: *699 sender: *4 required: - action @@ -164806,11 +165280,11 @@ webhooks: type: string enum: - demilestoned - enterprise: *694 - milestone: *451 - number: *747 - organization: *696 - pull_request: &749 + enterprise: *696 + milestone: *453 + number: *749 + organization: *698 + pull_request: &751 title: Pull Request type: object properties: @@ -167137,7 +167611,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *697 + repository: *699 sender: *4 required: - action @@ -167216,11 +167690,11 @@ webhooks: type: string enum: - dequeued - enterprise: *694 - installation: *695 + enterprise: *696 + installation: *697 number: type: integer - organization: *696 + organization: *698 pull_request: title: Pull Request type: object @@ -169566,7 +170040,7 @@ webhooks: - BRANCH_PROTECTIONS - GIT_TREE_INVALID - INVALID_MERGE_COMMIT - repository: *697 + repository: *699 sender: *4 required: - action @@ -169690,12 +170164,12 @@ webhooks: type: string required: - from - enterprise: *694 - installation: *695 - number: *747 - organization: *696 - pull_request: *748 - repository: *697 + enterprise: *696 + installation: *697 + number: *749 + organization: *698 + pull_request: *750 + repository: *699 sender: *4 required: - action @@ -169775,11 +170249,11 @@ webhooks: type: string enum: - enqueued - enterprise: *694 - installation: *695 + enterprise: *696 + installation: *697 number: type: integer - organization: *696 + organization: *698 pull_request: title: Pull Request type: object @@ -172110,7 +172584,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *697 + repository: *699 sender: *4 required: - action @@ -172190,11 +172664,11 @@ webhooks: type: string enum: - labeled - enterprise: *694 - installation: *695 - label: *720 - number: *747 - organization: *696 + enterprise: *696 + installation: *697 + label: *722 + number: *749 + organization: *698 pull_request: title: Pull Request type: object @@ -174542,7 +175016,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *697 + repository: *699 sender: *4 required: - action @@ -174623,10 +175097,10 @@ webhooks: type: string enum: - locked - enterprise: *694 - installation: *695 - number: *747 - organization: *696 + enterprise: *696 + installation: *697 + number: *749 + organization: *698 pull_request: title: Pull Request type: object @@ -176972,7 +177446,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *697 + repository: *699 sender: *4 required: - action @@ -177052,12 +177526,12 @@ webhooks: type: string enum: - milestoned - enterprise: *694 - milestone: *451 - number: *747 - organization: *696 - pull_request: *749 - repository: *697 + enterprise: *696 + milestone: *453 + number: *749 + organization: *698 + pull_request: *751 + repository: *699 sender: *4 required: - action @@ -177136,12 +177610,12 @@ webhooks: type: string enum: - opened - enterprise: *694 - installation: *695 - number: *747 - organization: *696 - pull_request: *748 - repository: *697 + enterprise: *696 + installation: *697 + number: *749 + organization: *698 + pull_request: *750 + repository: *699 sender: *4 required: - action @@ -177222,12 +177696,12 @@ webhooks: type: string enum: - ready_for_review - enterprise: *694 - installation: *695 - number: *747 - organization: *696 - pull_request: *748 - repository: *697 + enterprise: *696 + installation: *697 + number: *749 + organization: *698 + pull_request: *750 + repository: *699 sender: *4 required: - action @@ -177307,12 +177781,12 @@ webhooks: type: string enum: - reopened - enterprise: *694 - installation: *695 - number: *747 - organization: *696 - pull_request: *748 - repository: *697 + enterprise: *696 + installation: *697 + number: *749 + organization: *698 + pull_request: *750 + repository: *699 sender: *4 required: - action @@ -177687,9 +178161,9 @@ webhooks: - start_side - side - reactions - enterprise: *694 - installation: *695 - organization: *696 + enterprise: *696 + installation: *697 + organization: *698 pull_request: type: object properties: @@ -179919,7 +180393,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *697 + repository: *699 sender: *4 required: - action @@ -179999,7 +180473,7 @@ webhooks: type: string enum: - deleted - comment: &751 + comment: &753 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. @@ -180292,9 +180766,9 @@ webhooks: - start_side - side - reactions - enterprise: *694 - installation: *695 - organization: *696 + enterprise: *696 + installation: *697 + organization: *698 pull_request: type: object properties: @@ -182512,7 +182986,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *697 + repository: *699 sender: *4 required: - action @@ -182592,11 +183066,11 @@ webhooks: type: string enum: - edited - changes: *750 - comment: *751 - enterprise: *694 - installation: *695 - organization: *696 + changes: *752 + comment: *753 + enterprise: *696 + installation: *697 + organization: *698 pull_request: type: object properties: @@ -184817,7 +185291,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *697 + repository: *699 sender: *4 required: - action @@ -184898,9 +185372,9 @@ webhooks: type: string enum: - dismissed - enterprise: *694 - installation: *695 - organization: *696 + enterprise: *696 + installation: *697 + organization: *698 pull_request: title: Simple Pull Request type: object @@ -187133,7 +187607,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *697 + repository: *699 review: description: The review that was affected. type: object @@ -187379,9 +187853,9 @@ webhooks: type: string required: - from - enterprise: *694 - installation: *695 - organization: *696 + enterprise: *696 + installation: *697 + organization: *698 pull_request: title: Simple Pull Request type: object @@ -189495,8 +189969,8 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *697 - review: &752 + repository: *699 + review: &754 description: The review that was affected. type: object properties: @@ -189729,12 +190203,12 @@ webhooks: type: string enum: - review_request_removed - enterprise: *694 - installation: *695 + enterprise: *696 + installation: *697 number: description: The pull request number. type: integer - organization: *696 + organization: *698 pull_request: title: Pull Request type: object @@ -192081,7 +192555,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *697 + repository: *699 requested_reviewer: title: User type: @@ -192167,12 +192641,12 @@ webhooks: type: string enum: - review_request_removed - enterprise: *694 - installation: *695 + enterprise: *696 + installation: *697 number: description: The pull request number. type: integer - organization: *696 + organization: *698 pull_request: title: Pull Request type: object @@ -194526,7 +195000,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *697 + repository: *699 requested_team: title: Team description: Groups of organization members that gives permissions @@ -194721,12 +195195,12 @@ webhooks: type: string enum: - review_requested - enterprise: *694 - installation: *695 + enterprise: *696 + installation: *697 number: description: The pull request number. type: integer - organization: *696 + organization: *698 pull_request: title: Pull Request type: object @@ -197075,7 +197549,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *697 + repository: *699 requested_reviewer: title: User type: @@ -197162,12 +197636,12 @@ webhooks: type: string enum: - review_requested - enterprise: *694 - installation: *695 + enterprise: *696 + installation: *697 number: description: The pull request number. type: integer - organization: *696 + organization: *698 pull_request: title: Pull Request type: object @@ -199507,7 +199981,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *697 + repository: *699 requested_team: title: Team description: Groups of organization members that gives permissions @@ -199691,9 +200165,9 @@ webhooks: type: string enum: - submitted - enterprise: *694 - installation: *695 - organization: *696 + enterprise: *696 + installation: *697 + organization: *698 pull_request: title: Simple Pull Request type: object @@ -201929,8 +202403,8 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *697 - review: *752 + repository: *699 + review: *754 sender: *4 required: - action @@ -202010,9 +202484,9 @@ webhooks: type: string enum: - resolved - enterprise: *694 - installation: *695 - organization: *696 + enterprise: *696 + installation: *697 + organization: *698 pull_request: title: Simple Pull Request type: object @@ -204143,7 +204617,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *697 + repository: *699 sender: *4 thread: type: object @@ -204535,9 +205009,9 @@ webhooks: type: string enum: - unresolved - enterprise: *694 - installation: *695 - organization: *696 + enterprise: *696 + installation: *697 + organization: *698 pull_request: title: Simple Pull Request type: object @@ -206651,7 +207125,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *697 + repository: *699 sender: *4 thread: type: object @@ -207045,10 +207519,10 @@ webhooks: type: string before: type: string - enterprise: *694 - installation: *695 - number: *747 - organization: *696 + enterprise: *696 + installation: *697 + number: *749 + organization: *698 pull_request: title: Pull Request type: object @@ -209383,7 +209857,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *697 + repository: *699 sender: *4 required: - action @@ -209465,11 +209939,11 @@ webhooks: type: string enum: - unassigned - assignee: *753 - enterprise: *694 - installation: *695 - number: *747 - organization: *696 + assignee: *755 + enterprise: *696 + installation: *697 + number: *749 + organization: *698 pull_request: title: Pull Request type: object @@ -211819,7 +212293,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *697 + repository: *699 sender: *4 required: - action @@ -211898,11 +212372,11 @@ webhooks: type: string enum: - unlabeled - enterprise: *694 - installation: *695 - label: *720 - number: *747 - organization: *696 + enterprise: *696 + installation: *697 + label: *722 + number: *749 + organization: *698 pull_request: title: Pull Request type: object @@ -214241,7 +214715,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *697 + repository: *699 sender: *4 required: - action @@ -214322,10 +214796,10 @@ webhooks: type: string enum: - unlocked - enterprise: *694 - installation: *695 - number: *747 - organization: *696 + enterprise: *696 + installation: *697 + number: *749 + organization: *698 pull_request: title: Pull Request type: object @@ -216654,7 +217128,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *697 + repository: *699 sender: *4 required: - action @@ -216857,7 +217331,7 @@ webhooks: deleted: description: Whether this push deleted the `ref`. type: boolean - enterprise: *694 + enterprise: *696 forced: description: Whether this push was a force push of the `ref`. type: boolean @@ -216952,8 +217426,8 @@ webhooks: - url - author - committer - installation: *695 - organization: *696 + installation: *697 + organization: *698 pusher: title: Committer description: Metaproperties for Git author/committer information. @@ -217541,9 +218015,9 @@ webhooks: type: string enum: - published - enterprise: *694 - installation: *695 - organization: *696 + enterprise: *696 + installation: *697 + organization: *698 registry_package: type: object properties: @@ -218020,7 +218494,7 @@ webhooks: type: string rubygems_metadata: type: array - items: *735 + items: *737 summary: type: string tag_name: @@ -218076,7 +218550,7 @@ webhooks: - owner - package_version - registry - repository: *697 + repository: *699 sender: *4 required: - action @@ -218154,9 +218628,9 @@ webhooks: type: string enum: - updated - enterprise: *694 - installation: *695 - organization: *696 + enterprise: *696 + installation: *697 + organization: *698 registry_package: type: object properties: @@ -218468,7 +218942,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: *735 + items: *737 summary: type: string tag_name: @@ -218518,7 +218992,7 @@ webhooks: - owner - package_version - registry - repository: *697 + repository: *699 sender: *4 required: - action @@ -218595,10 +219069,10 @@ webhooks: type: string enum: - created - enterprise: *694 - installation: *695 - organization: *696 - release: &754 + enterprise: *696 + installation: *697 + organization: *698 + release: &756 title: Release description: The [release](https://docs.github.com/enterprise-cloud@latest//rest/releases/releases/#get-a-release) object. @@ -218914,7 +219388,7 @@ webhooks: - tarball_url - zipball_url - body - repository: *697 + repository: *699 sender: *4 required: - action @@ -218991,11 +219465,11 @@ webhooks: type: string enum: - deleted - enterprise: *694 - installation: *695 - organization: *696 - release: *754 - repository: *697 + enterprise: *696 + installation: *697 + organization: *698 + release: *756 + repository: *699 sender: *4 required: - action @@ -219103,11 +219577,11 @@ webhooks: type: boolean required: - to - enterprise: *694 - installation: *695 - organization: *696 - release: *754 - repository: *697 + enterprise: *696 + installation: *697 + organization: *698 + release: *756 + repository: *699 sender: *4 required: - action @@ -219185,9 +219659,9 @@ webhooks: type: string enum: - prereleased - enterprise: *694 - installation: *695 - organization: *696 + enterprise: *696 + installation: *697 + organization: *698 release: title: Release description: The [release](https://docs.github.com/enterprise-cloud@latest//rest/releases/releases/#get-a-release) @@ -219508,7 +219982,7 @@ webhooks: - string - 'null' format: uri - repository: *697 + repository: *699 sender: *4 required: - action @@ -219584,10 +220058,10 @@ webhooks: type: string enum: - published - enterprise: *694 - installation: *695 - organization: *696 - release: &755 + enterprise: *696 + installation: *697 + organization: *698 + release: &757 title: Release description: The [release](https://docs.github.com/enterprise-cloud@latest//rest/releases/releases/#get-a-release) object. @@ -219905,7 +220379,7 @@ webhooks: - string - 'null' format: uri - repository: *697 + repository: *699 sender: *4 required: - action @@ -219981,11 +220455,11 @@ webhooks: type: string enum: - released - enterprise: *694 - installation: *695 - organization: *696 - release: *754 - repository: *697 + enterprise: *696 + installation: *697 + organization: *698 + release: *756 + repository: *699 sender: *4 required: - action @@ -220061,11 +220535,11 @@ webhooks: type: string enum: - unpublished - enterprise: *694 - installation: *695 - organization: *696 - release: *755 - repository: *697 + enterprise: *696 + installation: *697 + organization: *698 + release: *757 + repository: *699 sender: *4 required: - action @@ -220141,11 +220615,11 @@ webhooks: type: string enum: - published - enterprise: *694 - installation: *695 - organization: *696 - repository: *697 - repository_advisory: *606 + enterprise: *696 + installation: *697 + organization: *698 + repository: *699 + repository_advisory: *608 sender: *4 required: - action @@ -220221,11 +220695,11 @@ webhooks: type: string enum: - reported - enterprise: *694 - installation: *695 - organization: *696 - repository: *697 - repository_advisory: *606 + enterprise: *696 + installation: *697 + organization: *698 + repository: *699 + repository_advisory: *608 sender: *4 required: - action @@ -220301,10 +220775,10 @@ webhooks: type: string enum: - archived - enterprise: *694 - installation: *695 - organization: *696 - repository: *697 + enterprise: *696 + installation: *697 + organization: *698 + repository: *699 sender: *4 required: - action @@ -220381,10 +220855,10 @@ webhooks: type: string enum: - created - enterprise: *694 - installation: *695 - organization: *696 - repository: *697 + enterprise: *696 + installation: *697 + organization: *698 + repository: *699 sender: *4 required: - action @@ -220462,10 +220936,10 @@ webhooks: type: string enum: - deleted - enterprise: *694 - installation: *695 - organization: *696 - repository: *697 + enterprise: *696 + installation: *697 + organization: *698 + repository: *699 sender: *4 required: - action @@ -220550,10 +221024,10 @@ webhooks: additionalProperties: true description: The `client_payload` that was specified in the `POST /repos/{owner}/{repo}/dispatches` request body. - enterprise: *694 - installation: *695 - organization: *696 - repository: *697 + enterprise: *696 + installation: *697 + organization: *698 + repository: *699 sender: *4 required: - action @@ -220668,10 +221142,10 @@ webhooks: - 'null' items: type: string - enterprise: *694 - installation: *695 - organization: *696 - repository: *697 + enterprise: *696 + installation: *697 + organization: *698 + repository: *699 sender: *4 required: - action @@ -220743,10 +221217,10 @@ webhooks: title: repository_import event type: object properties: - enterprise: *694 - installation: *695 - organization: *696 - repository: *697 + enterprise: *696 + installation: *697 + organization: *698 + repository: *699 sender: *4 status: type: string @@ -220827,10 +221301,10 @@ webhooks: type: string enum: - privatized - enterprise: *694 - installation: *695 - organization: *696 - repository: *697 + enterprise: *696 + installation: *697 + organization: *698 + repository: *699 sender: *4 required: - action @@ -220907,10 +221381,10 @@ webhooks: type: string enum: - publicized - enterprise: *694 - installation: *695 - organization: *696 - repository: *697 + enterprise: *696 + installation: *697 + organization: *698 + repository: *699 sender: *4 required: - action @@ -221004,10 +221478,10 @@ webhooks: - name required: - repository - enterprise: *694 - installation: *695 - organization: *696 - repository: *697 + enterprise: *696 + installation: *697 + organization: *698 + repository: *699 sender: *4 required: - action @@ -221087,10 +221561,10 @@ webhooks: type: string enum: - created - enterprise: *694 - installation: *695 - organization: *696 - repository: *697 + enterprise: *696 + installation: *697 + organization: *698 + repository: *699 repository_ruleset: *112 sender: *4 required: @@ -221169,10 +221643,10 @@ webhooks: type: string enum: - deleted - enterprise: *694 - installation: *695 - organization: *696 - repository: *697 + enterprise: *696 + installation: *697 + organization: *698 + repository: *699 repository_ruleset: *112 sender: *4 required: @@ -221251,10 +221725,10 @@ webhooks: type: string enum: - edited - enterprise: *694 - installation: *695 - organization: *696 - repository: *697 + enterprise: *696 + installation: *697 + organization: *698 + repository: *699 repository_ruleset: *112 changes: type: object @@ -221562,10 +222036,10 @@ webhooks: - from required: - owner - enterprise: *694 - installation: *695 - organization: *696 - repository: *697 + enterprise: *696 + installation: *697 + organization: *698 + repository: *699 sender: *4 required: - action @@ -221643,10 +222117,10 @@ webhooks: type: string enum: - unarchived - enterprise: *694 - installation: *695 - organization: *696 - repository: *697 + enterprise: *696 + installation: *697 + organization: *698 + repository: *699 sender: *4 required: - action @@ -221724,7 +222198,7 @@ webhooks: type: string enum: - create - alert: &756 + alert: &758 title: Repository Vulnerability Alert Alert description: The security alert of the vulnerable dependency. type: object @@ -221848,10 +222322,10 @@ webhooks: type: string enum: - open - enterprise: *694 - installation: *695 - organization: *696 - repository: *697 + enterprise: *696 + installation: *697 + organization: *698 + repository: *699 sender: *4 required: - action @@ -222061,10 +222535,10 @@ webhooks: type: string enum: - dismissed - enterprise: *694 - installation: *695 - organization: *696 - repository: *697 + enterprise: *696 + installation: *697 + organization: *698 + repository: *699 sender: *4 required: - action @@ -222142,11 +222616,11 @@ webhooks: type: string enum: - reopen - alert: *756 - enterprise: *694 - installation: *695 - organization: *696 - repository: *697 + alert: *758 + enterprise: *696 + installation: *697 + organization: *698 + repository: *699 sender: *4 required: - action @@ -222348,10 +222822,10 @@ webhooks: enum: - fixed - open - enterprise: *694 - installation: *695 - organization: *696 - repository: *697 + enterprise: *696 + installation: *697 + organization: *698 + repository: *699 sender: *4 required: - action @@ -222429,7 +222903,7 @@ webhooks: type: string enum: - created - alert: &757 + alert: &759 type: object properties: number: *88 @@ -222539,10 +223013,10 @@ webhooks: - 'null' description: Whether the detected secret was found in multiple repositories in the same organization or business. - enterprise: *694 - installation: *695 - organization: *696 - repository: *697 + enterprise: *696 + installation: *697 + organization: *698 + repository: *699 sender: *4 required: - action @@ -222623,11 +223097,11 @@ webhooks: type: string enum: - created - alert: *757 - installation: *695 - location: *758 - organization: *696 - repository: *697 + alert: *759 + installation: *697 + location: *760 + organization: *698 + repository: *699 sender: *4 required: - location @@ -222865,11 +223339,11 @@ webhooks: type: string enum: - publicly_leaked - alert: *757 - enterprise: *694 - installation: *695 - organization: *696 - repository: *697 + alert: *759 + enterprise: *696 + installation: *697 + organization: *698 + repository: *699 sender: *4 required: - action @@ -222947,11 +223421,11 @@ webhooks: type: string enum: - reopened - alert: *757 - enterprise: *694 - installation: *695 - organization: *696 - repository: *697 + alert: *759 + enterprise: *696 + installation: *697 + organization: *698 + repository: *699 sender: *4 required: - action @@ -223029,11 +223503,11 @@ webhooks: type: string enum: - resolved - alert: *757 - enterprise: *694 - installation: *695 - organization: *696 - repository: *697 + alert: *759 + enterprise: *696 + installation: *697 + organization: *698 + repository: *699 sender: *4 required: - action @@ -223111,11 +223585,11 @@ webhooks: type: string enum: - validated - alert: *757 - enterprise: *694 - installation: *695 - organization: *696 - repository: *697 + alert: *759 + enterprise: *696 + installation: *697 + organization: *698 + repository: *699 sender: *4 required: - action @@ -223245,10 +223719,10 @@ webhooks: - organization - enterprise - - repository: *697 - enterprise: *694 - installation: *695 - organization: *696 + repository: *699 + enterprise: *696 + installation: *697 + organization: *698 sender: *4 required: - action @@ -223326,11 +223800,11 @@ webhooks: type: string enum: - published - enterprise: *694 - installation: *695 - organization: *696 - repository: *697 - security_advisory: &759 + enterprise: *696 + installation: *697 + organization: *698 + repository: *699 + security_advisory: &761 description: The details of the security advisory, including summary, description, and severity. type: object @@ -223516,11 +223990,11 @@ webhooks: type: string enum: - updated - enterprise: *694 - installation: *695 - organization: *696 - repository: *697 - security_advisory: *759 + enterprise: *696 + installation: *697 + organization: *698 + repository: *699 + security_advisory: *761 sender: *4 required: - action @@ -223593,10 +224067,10 @@ webhooks: type: string enum: - withdrawn - enterprise: *694 - installation: *695 - organization: *696 - repository: *697 + enterprise: *696 + installation: *697 + organization: *698 + repository: *699 security_advisory: description: The details of the security advisory, including summary, description, and severity. @@ -223782,11 +224256,11 @@ webhooks: from: type: object properties: - security_and_analysis: *282 - enterprise: *694 - installation: *695 - organization: *696 - repository: *339 + security_and_analysis: *284 + enterprise: *696 + installation: *697 + organization: *698 + repository: *341 sender: *4 required: - changes @@ -223864,12 +224338,12 @@ webhooks: type: string enum: - cancelled - enterprise: *694 - installation: *695 - organization: *696 - repository: *697 + enterprise: *696 + installation: *697 + organization: *698 + repository: *699 sender: *4 - sponsorship: &760 + sponsorship: &762 type: object properties: created_at: @@ -224174,12 +224648,12 @@ webhooks: type: string enum: - created - enterprise: *694 - installation: *695 - organization: *696 - repository: *697 + enterprise: *696 + installation: *697 + organization: *698 + repository: *699 sender: *4 - sponsorship: *760 + sponsorship: *762 required: - action - sponsorship @@ -224267,12 +224741,12 @@ webhooks: type: string required: - from - enterprise: *694 - installation: *695 - organization: *696 - repository: *697 + enterprise: *696 + installation: *697 + organization: *698 + repository: *699 sender: *4 - sponsorship: *760 + sponsorship: *762 required: - action - changes @@ -224349,17 +224823,17 @@ webhooks: type: string enum: - pending_cancellation - effective_date: &761 + effective_date: &763 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: *694 - installation: *695 - organization: *696 - repository: *697 + enterprise: *696 + installation: *697 + organization: *698 + repository: *699 sender: *4 - sponsorship: *760 + sponsorship: *762 required: - action - sponsorship @@ -224433,7 +224907,7 @@ webhooks: type: string enum: - pending_tier_change - changes: &762 + changes: &764 type: object properties: tier: @@ -224477,13 +224951,13 @@ webhooks: - from required: - tier - effective_date: *761 - enterprise: *694 - installation: *695 - organization: *696 - repository: *697 + effective_date: *763 + enterprise: *696 + installation: *697 + organization: *698 + repository: *699 sender: *4 - sponsorship: *760 + sponsorship: *762 required: - action - changes @@ -224560,13 +225034,13 @@ webhooks: type: string enum: - tier_changed - changes: *762 - enterprise: *694 - installation: *695 - organization: *696 - repository: *697 + changes: *764 + enterprise: *696 + installation: *697 + organization: *698 + repository: *699 sender: *4 - sponsorship: *760 + sponsorship: *762 required: - action - changes @@ -224640,10 +225114,10 @@ webhooks: type: string enum: - created - enterprise: *694 - installation: *695 - organization: *696 - repository: *697 + enterprise: *696 + installation: *697 + organization: *698 + repository: *699 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -224727,10 +225201,10 @@ webhooks: type: string enum: - deleted - enterprise: *694 - installation: *695 - organization: *696 - repository: *697 + enterprise: *696 + installation: *697 + organization: *698 + repository: *699 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -225163,15 +225637,15 @@ webhooks: type: - string - 'null' - enterprise: *694 + enterprise: *696 id: description: The unique identifier of the status. type: integer - installation: *695 + installation: *697 name: type: string - organization: *696 - repository: *697 + organization: *698 + repository: *699 sender: *4 sha: description: The Commit SHA. @@ -225287,9 +225761,9 @@ webhooks: description: The ID of the sub-issue. type: number sub_issue: *135 - installation: *695 - organization: *696 - repository: *697 + installation: *697 + organization: *698 + repository: *699 sender: *4 required: - action @@ -225379,9 +225853,9 @@ webhooks: description: The ID of the sub-issue. type: number sub_issue: *135 - installation: *695 - organization: *696 - repository: *697 + installation: *697 + organization: *698 + repository: *699 sender: *4 required: - action @@ -225471,9 +225945,9 @@ webhooks: description: The ID of the parent issue. type: number parent_issue: *135 - installation: *695 - organization: *696 - repository: *697 + installation: *697 + organization: *698 + repository: *699 sender: *4 required: - action @@ -225563,9 +226037,9 @@ webhooks: description: The ID of the parent issue. type: number parent_issue: *135 - installation: *695 - organization: *696 - repository: *697 + installation: *697 + organization: *698 + repository: *699 sender: *4 required: - action @@ -225642,12 +226116,12 @@ webhooks: title: team_add event type: object properties: - enterprise: *694 - installation: *695 - organization: *696 - repository: *697 + enterprise: *696 + installation: *697 + organization: *698 + repository: *699 sender: *4 - team: &763 + team: &765 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -225840,9 +226314,9 @@ webhooks: type: string enum: - added_to_repository - enterprise: *694 - installation: *695 - organization: *696 + enterprise: *696 + installation: *697 + organization: *698 repository: title: Repository description: A git repository @@ -226312,7 +226786,7 @@ webhooks: - topics - visibility sender: *4 - team: *763 + team: *765 required: - action - team @@ -226388,9 +226862,9 @@ webhooks: type: string enum: - created - enterprise: *694 - installation: *695 - organization: *696 + enterprise: *696 + installation: *697 + organization: *698 repository: title: Repository description: A git repository @@ -226860,7 +227334,7 @@ webhooks: - topics - visibility sender: *4 - team: *763 + team: *765 required: - action - team @@ -226937,9 +227411,9 @@ webhooks: type: string enum: - deleted - enterprise: *694 - installation: *695 - organization: *696 + enterprise: *696 + installation: *697 + organization: *698 repository: title: Repository description: A git repository @@ -227409,7 +227883,7 @@ webhooks: - topics - visibility sender: *4 - team: *763 + team: *765 required: - action - team @@ -227553,9 +228027,9 @@ webhooks: - from required: - permissions - enterprise: *694 - installation: *695 - organization: *696 + enterprise: *696 + installation: *697 + organization: *698 repository: title: Repository description: A git repository @@ -228025,7 +228499,7 @@ webhooks: - topics - visibility sender: *4 - team: *763 + team: *765 required: - action - changes @@ -228103,9 +228577,9 @@ webhooks: type: string enum: - removed_from_repository - enterprise: *694 - installation: *695 - organization: *696 + enterprise: *696 + installation: *697 + organization: *698 repository: title: Repository description: A git repository @@ -228575,7 +229049,7 @@ webhooks: - topics - visibility sender: *4 - team: *763 + team: *765 required: - action - team @@ -228651,10 +229125,10 @@ webhooks: type: string enum: - started - enterprise: *694 - installation: *695 - organization: *696 - repository: *697 + enterprise: *696 + installation: *697 + organization: *698 + repository: *699 sender: *4 required: - action @@ -228727,17 +229201,17 @@ webhooks: title: workflow_dispatch event type: object properties: - enterprise: *694 + enterprise: *696 inputs: type: - object - 'null' additionalProperties: true - installation: *695 - organization: *696 + installation: *697 + organization: *698 ref: type: string - repository: *697 + repository: *699 sender: *4 workflow: type: string @@ -228819,10 +229293,10 @@ webhooks: type: string enum: - completed - enterprise: *694 - installation: *695 - organization: *696 - repository: *697 + enterprise: *696 + installation: *697 + organization: *698 + repository: *699 sender: *4 workflow_job: allOf: @@ -229078,7 +229552,7 @@ webhooks: type: string required: - conclusion - deployment: *471 + deployment: *473 required: - action - repository @@ -229157,10 +229631,10 @@ webhooks: type: string enum: - in_progress - enterprise: *694 - installation: *695 - organization: *696 - repository: *697 + enterprise: *696 + installation: *697 + organization: *698 + repository: *699 sender: *4 workflow_job: allOf: @@ -229442,7 +229916,7 @@ webhooks: required: - status - steps - deployment: *471 + deployment: *473 required: - action - repository @@ -229521,10 +229995,10 @@ webhooks: type: string enum: - queued - enterprise: *694 - installation: *695 - organization: *696 - repository: *697 + enterprise: *696 + installation: *697 + organization: *698 + repository: *699 sender: *4 workflow_job: type: object @@ -229670,7 +230144,7 @@ webhooks: - workflow_name - head_branch - created_at - deployment: *471 + deployment: *473 required: - action - repository @@ -229749,10 +230223,10 @@ webhooks: type: string enum: - waiting - enterprise: *694 - installation: *695 - organization: *696 - repository: *697 + enterprise: *696 + installation: *697 + organization: *698 + repository: *699 sender: *4 workflow_job: type: object @@ -229899,7 +230373,7 @@ webhooks: - workflow_name - head_branch - created_at - deployment: *471 + deployment: *473 required: - action - repository @@ -229979,12 +230453,12 @@ webhooks: type: string enum: - completed - enterprise: *694 - installation: *695 - organization: *696 - repository: *697 + enterprise: *696 + installation: *697 + organization: *698 + repository: *699 sender: *4 - workflow: *716 + workflow: *718 workflow_run: title: Workflow Run type: object @@ -231003,12 +231477,12 @@ webhooks: type: string enum: - in_progress - enterprise: *694 - installation: *695 - organization: *696 - repository: *697 + enterprise: *696 + installation: *697 + organization: *698 + repository: *699 sender: *4 - workflow: *716 + workflow: *718 workflow_run: title: Workflow Run type: object @@ -232012,12 +232486,12 @@ webhooks: type: string enum: - requested - enterprise: *694 - installation: *695 - organization: *696 - repository: *697 + enterprise: *696 + installation: *697 + organization: *698 + repository: *699 sender: *4 - workflow: *716 + workflow: *718 workflow_run: title: Workflow Run type: object diff --git a/descriptions-next/ghec/dereferenced/ghec.deref.json b/descriptions-next/ghec/dereferenced/ghec.deref.json index e35dab798..359cc4360 100644 --- a/descriptions-next/ghec/dereferenced/ghec.deref.json +++ b/descriptions-next/ghec/dereferenced/ghec.deref.json @@ -157023,6 +157023,1157 @@ } } }, + "/orgs/{org}/private-registries": { + "get": { + "summary": "List private registries for an organization", + "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nLists all private registry configurations available at the organization-level without revealing their encrypted\nvalues.\n\nOAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint.", + "tags": [ + "private-registries" + ], + "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" + }, + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "per_page", + "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "in": "query", + "schema": { + "type": "integer", + "default": 30 + } + }, + { + "name": "page", + "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "in": "query", + "schema": { + "type": "integer", + "default": 1 + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "total_count", + "configurations" + ], + "properties": { + "total_count": { + "type": "integer" + }, + "configurations": { + "type": "array", + "items": { + "title": "Organization private registry", + "description": "Private registry configuration for an organization", + "type": "object", + "properties": { + "name": { + "description": "The name of the private registry configuration.", + "type": "string", + "examples": [ + "MAVEN_REPOSITORY_SECRET" + ] + }, + "registry_type": { + "description": "The registry type.", + "enum": [ + "maven_repository" + ], + "type": "string" + }, + "username": { + "description": "The username to use when authenticating with the private registry.", + "type": [ + "string", + "null" + ], + "examples": [ + "monalisa" + ] + }, + "visibility": { + "description": "Which type of organization repositories have access to the private registry.", + "enum": [ + "all", + "private", + "selected" + ], + "type": "string" + }, + "created_at": { + "type": "string", + "format": "date-time" + }, + "updated_at": { + "type": "string", + "format": "date-time" + } + }, + "required": [ + "name", + "registry_type", + "visibility", + "created_at", + "updated_at" + ] + } + } + } + }, + "examples": { + "default": { + "value": { + "total_count": 1, + "configurations": [ + { + "name": "MAVEN_REPOSITORY_SECRET", + "registry_type": "maven_repository", + "username": "monalisa", + "created_at": "2019-08-10T14:59:22Z", + "updated_at": "2020-01-10T14:59:22Z", + "visibility": "selected" + } + ] + } + } + } + } + }, + "headers": { + "Link": { + "example": "; rel=\"next\", ; rel=\"last\"", + "schema": { + "type": "string" + } + } + } + }, + "400": { + "description": "Bad Request", + "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" + } + } + } + }, + "application/scim+json": { + "schema": { + "title": "Scim Error", + "description": "Scim Error", + "type": "object", + "properties": { + "message": { + "type": [ + "string", + "null" + ] + }, + "documentation_url": { + "type": [ + "string", + "null" + ] + }, + "detail": { + "type": [ + "string", + "null" + ] + }, + "status": { + "type": "integer" + }, + "scimType": { + "type": [ + "string", + "null" + ] + }, + "schemas": { + "type": "array", + "items": { + "type": "string" + } + } + } + } + } + } + }, + "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": true, + "category": "private-registries", + "subcategory": "organization-configurations" + } + }, + "post": { + "summary": "Create a private registry for an organization", + "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\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).\"\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" + }, + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "registry_type": { + "description": "The registry type.", + "type": "string", + "enum": [ + "maven_repository" + ] + }, + "username": { + "description": "The username to use when authenticating with the private registry. This field should be omitted if the private registry does not require a username for authentication.", + "type": [ + "string", + "null" + ] + }, + "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.", + "type": "string", + "pattern": "^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=|[A-Za-z0-9+/]{4})$" + }, + "key_id": { + "description": "The ID of the key you used to encrypt the secret.", + "type": "string" + }, + "visibility": { + "description": "Which type of organization repositories have access to the private registry. `selected` means only the repositories specified by `selected_repository_ids` can access the private registry.", + "type": "string", + "enum": [ + "all", + "private", + "selected" + ] + }, + "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`.", + "type": "array", + "items": { + "type": "integer" + } + } + }, + "required": [ + "registry_type", + "encrypted_value", + "key_id", + "visibility" + ] + }, + "examples": { + "org-private-registry-with-private-visibility": { + "summary": "Example of a private registry configuration with private visibility", + "value": { + "registry_type": "maven_repository", + "username": "monalisa", + "encrypted_value": "c2VjcmV0", + "key_id": "012345678912345678", + "visibility": "private" + } + }, + "org-private-registry-with-selected-visibility": { + "summary": "Example of a private registry configuration with selected visibility", + "value": { + "registry_type": "maven_repository", + "username": "monalisa", + "encrypted_value": "c2VjcmV0", + "key_id": "012345678912345678", + "visibility": "selected", + "selected_repository_ids": [ + 1296269, + 1296280 + ] + } + } + } + } + } + }, + "responses": { + "201": { + "description": "The organization private registry configuration", + "content": { + "application/json": { + "schema": { + "title": "Organization private registry", + "description": "Private registry configuration for an organization", + "type": "object", + "properties": { + "name": { + "description": "The name of the private registry configuration.", + "type": "string", + "examples": [ + "MAVEN_REPOSITORY_SECRET" + ] + }, + "registry_type": { + "description": "The registry type.", + "enum": [ + "maven_repository" + ], + "type": "string" + }, + "username": { + "description": "The username to use when authenticating with the private registry.", + "type": "string", + "examples": [ + "monalisa" + ] + }, + "visibility": { + "description": "Which type of organization repositories have access to the private registry. `selected` means only the repositories specified by `selected_repository_ids` can access the private registry.", + "enum": [ + "all", + "private", + "selected" + ], + "type": "string" + }, + "selected_repository_ids": { + "type": "array", + "description": "An array of repository IDs that can access the organization private registry when `visibility` is set to `selected`.", + "items": { + "type": "integer" + } + }, + "created_at": { + "type": "string", + "format": "date-time" + }, + "updated_at": { + "type": "string", + "format": "date-time" + } + }, + "required": [ + "name", + "registry_type", + "visibility", + "created_at", + "updated_at" + ] + }, + "examples": { + "org-private-registry-with-selected-visibility": { + "value": { + "name": "MAVEN_REPOSITORY_SECRET", + "registry_type": "maven_repository", + "username": "monalisa", + "visibility": "private", + "created_at": "2019-08-10T14:59:22Z", + "updated_at": "2020-01-10T14:59:22Z" + } + }, + "org-private-registry-with-private-visibility": { + "value": { + "name": "MAVEN_REPOSITORY_SECRET", + "registry_type": "maven_repository", + "username": "monalisa", + "visibility": "selected", + "selected_repository_ids": [ + 1296269, + 1296280 + ], + "created_at": "2019-08-10T14:59:22Z", + "updated_at": "2020-01-10T14:59:22Z" + } + } + } + } + } + }, + "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" + } + } + } + } + } + }, + "422": { + "description": "Validation failed, or the endpoint has been spammed.", + "content": { + "application/json": { + "schema": { + "title": "Validation Error", + "description": "Validation Error", + "type": "object", + "required": [ + "message", + "documentation_url" + ], + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "errors": { + "type": "array", + "items": { + "type": "object", + "required": [ + "code" + ], + "properties": { + "resource": { + "type": "string" + }, + "field": { + "type": "string" + }, + "message": { + "type": "string" + }, + "code": { + "type": "string" + }, + "index": { + "type": "integer" + }, + "value": { + "oneOf": [ + { + "type": [ + "string", + "null" + ] + }, + { + "type": [ + "integer", + "null" + ] + }, + { + "type": [ + "array", + "null" + ], + "items": { + "type": "string" + } + } + ] + } + } + } + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "private-registries", + "subcategory": "organization-configurations" + } + } + }, + "/orgs/{org}/private-registries/public-key": { + "get": { + "summary": "Get private registries public key for an organization", + "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nGets the org public key, which is needed to encrypt private registry secrets. You need to encrypt a secret before you can create or update secrets.\n\nOAuth tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint.", + "tags": [ + "private-registries" + ], + "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" + }, + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "key_id", + "key" + ], + "properties": { + "key_id": { + "description": "The identifier for the key.", + "type": "string", + "examples": [ + "012345678912345678" + ] + }, + "key": { + "description": "The Base64 encoded public key.", + "type": "string", + "examples": [ + "2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234" + ] + } + } + }, + "examples": { + "default": { + "value": { + "key_id": "012345678912345678", + "key": "2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234" + } + } + } + } + }, + "headers": { + "Link": { + "example": "; rel=\"next\", ; rel=\"last\"", + "schema": { + "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": true, + "category": "private-registries", + "subcategory": "organization-configurations" + } + } + }, + "/orgs/{org}/private-registries/{secret_name}": { + "get": { + "summary": "Get a private registry for an organization", + "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nGet the configuration of a single private registry defined for an organization, omitting its encrypted value.\n\nOAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint.", + "tags": [ + "private-registries" + ], + "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" + }, + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "secret_name", + "description": "The name of the secret.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "The specified private registry configuration for the organization", + "content": { + "application/json": { + "schema": { + "title": "Organization private registry", + "description": "Private registry configuration for an organization", + "type": "object", + "properties": { + "name": { + "description": "The name of the private registry configuration.", + "type": "string", + "examples": [ + "MAVEN_REPOSITORY_SECRET" + ] + }, + "registry_type": { + "description": "The registry type.", + "enum": [ + "maven_repository" + ], + "type": "string" + }, + "username": { + "description": "The username to use when authenticating with the private registry.", + "type": [ + "string", + "null" + ], + "examples": [ + "monalisa" + ] + }, + "visibility": { + "description": "Which type of organization repositories have access to the private registry.", + "enum": [ + "all", + "private", + "selected" + ], + "type": "string" + }, + "created_at": { + "type": "string", + "format": "date-time" + }, + "updated_at": { + "type": "string", + "format": "date-time" + } + }, + "required": [ + "name", + "registry_type", + "visibility", + "created_at", + "updated_at" + ] + }, + "examples": { + "default": { + "value": { + "name": "MAVEN_REPOSITORY_SECRET", + "registry_type": "maven_repository", + "username": "monalisa", + "visibility": "private", + "created_at": "2019-08-10T14:59:22Z", + "updated_at": "2020-01-10T14:59:22Z" + } + } + } + } + } + }, + "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": true, + "category": "private-registries", + "subcategory": "organization-configurations" + } + }, + "patch": { + "summary": "Update a private registry for an organization", + "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\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).\"\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" + }, + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "secret_name", + "description": "The name of the secret.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "registry_type": { + "description": "The registry type.", + "type": "string", + "enum": [ + "maven_repository" + ] + }, + "username": { + "description": "The username to use when authenticating with the private registry. This field should be omitted if the private registry does not require a username for authentication.", + "type": [ + "string", + "null" + ] + }, + "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.", + "type": "string", + "pattern": "^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=|[A-Za-z0-9+/]{4})$" + }, + "key_id": { + "description": "The ID of the key you used to encrypt the secret.", + "type": "string" + }, + "visibility": { + "description": "Which type of organization repositories have access to the private registry. `selected` means only the repositories specified by `selected_repository_ids` can access the private registry.", + "type": "string", + "enum": [ + "all", + "private", + "selected" + ] + }, + "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`. This field should be omitted if `visibility` is set to `all` or `private`.", + "type": "array", + "items": { + "type": "integer" + } + } + } + }, + "examples": { + "update-username-and-encrypted-value": { + "value": { + "username": "monalisa", + "encrypted_value": "c2VjcmV0", + "key_id": "012345678912345678" + } + }, + "update-with-selected-visibility": { + "value": { + "visibility": "selected", + "selected_repository_ids": [ + 1296269, + 1296280 + ] + } + } + } + } + } + }, + "responses": { + "204": { + "description": "Response" + }, + "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" + } + } + } + } + } + }, + "422": { + "description": "Validation failed, or the endpoint has been spammed.", + "content": { + "application/json": { + "schema": { + "title": "Validation Error", + "description": "Validation Error", + "type": "object", + "required": [ + "message", + "documentation_url" + ], + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "errors": { + "type": "array", + "items": { + "type": "object", + "required": [ + "code" + ], + "properties": { + "resource": { + "type": "string" + }, + "field": { + "type": "string" + }, + "message": { + "type": "string" + }, + "code": { + "type": "string" + }, + "index": { + "type": "integer" + }, + "value": { + "oneOf": [ + { + "type": [ + "string", + "null" + ] + }, + { + "type": [ + "integer", + "null" + ] + }, + { + "type": [ + "array", + "null" + ], + "items": { + "type": "string" + } + } + ] + } + } + } + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "private-registries", + "subcategory": "organization-configurations" + } + }, + "delete": { + "summary": "Delete a private registry for an organization", + "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nDelete a private registry configuration at the organization-level.\n\nOAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint.", + "tags": [ + "private-registries" + ], + "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" + }, + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "secret_name", + "description": "The name of the secret.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "204": { + "description": "Response" + }, + "400": { + "description": "Bad Request", + "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" + } + } + } + }, + "application/scim+json": { + "schema": { + "title": "Scim Error", + "description": "Scim Error", + "type": "object", + "properties": { + "message": { + "type": [ + "string", + "null" + ] + }, + "documentation_url": { + "type": [ + "string", + "null" + ] + }, + "detail": { + "type": [ + "string", + "null" + ] + }, + "status": { + "type": "integer" + }, + "scimType": { + "type": [ + "string", + "null" + ] + }, + "schemas": { + "type": "array", + "items": { + "type": "string" + } + } + } + } + } + } + }, + "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": true, + "category": "private-registries", + "subcategory": "organization-configurations" + } + } + }, "/orgs/{org}/projects": { "get": { "summary": "List organization projects", diff --git a/descriptions-next/ghec/dereferenced/ghec.deref.yaml b/descriptions-next/ghec/dereferenced/ghec.deref.yaml index 0500e1d73..32e4d7c41 100644 --- a/descriptions-next/ghec/dereferenced/ghec.deref.yaml +++ b/descriptions-next/ghec/dereferenced/ghec.deref.yaml @@ -896,7 +896,7 @@ paths: - subscriptions_url - type - url - type: &298 + type: &300 type: string description: The type of credit the user is receiving. enum: @@ -1062,7 +1062,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/security-advisories/global-advisories#get-a-global-security-advisory parameters: - - &608 + - &610 name: ghsa_id description: The GHSA (GitHub Security Advisory) identifier of the advisory. in: path @@ -1734,7 +1734,7 @@ paths: application/json: schema: *3 application/scim+json: - schema: &618 + schema: &620 title: Scim Error description: Scim Error type: object @@ -10529,7 +10529,7 @@ paths: description: The GitHub URL of the alert resource. format: uri readOnly: true - instances_url: &411 + instances_url: &413 type: string description: The REST API URL for fetching the list of instances for an alert. @@ -10565,7 +10565,7 @@ paths: format: `YYYY-MM-DDTHH:MM:SSZ`.' format: date-time readOnly: true - dismissed_reason: &412 + dismissed_reason: &414 type: - string - 'null' @@ -10576,14 +10576,14 @@ paths: - won't fix - used in tests - - dismissed_comment: &413 + dismissed_comment: &415 type: - string - 'null' description: The dismissal comment associated with the dismissal of the alert. maxLength: 280 - rule: &414 + rule: &416 type: object properties: id: @@ -10644,7 +10644,7 @@ paths: - 'null' description: A link to the documentation for the rule used to detect the alert. - tool: &415 + tool: &417 type: object properties: name: *77 @@ -10655,15 +10655,15 @@ paths: description: The version of the tool used to generate the code scanning analysis. guid: *78 - most_recent_instance: &416 + most_recent_instance: &418 type: object properties: - ref: &409 + ref: &411 type: string description: |- The Git reference, formatted as `refs/pull//merge`, `refs/pull//head`, `refs/heads/` or simply ``. - analysis_key: &426 + analysis_key: &428 type: string description: Identifies the configuration under which the analysis was executed. For example, in GitHub Actions @@ -10674,7 +10674,7 @@ paths: the environment in which the analysis that generated this alert instance was performed, such as the language that was analyzed. - category: &427 + category: &429 type: string description: Identifies the configuration under which the analysis was executed. Used to distinguish between multiple @@ -14052,7 +14052,7 @@ paths: - development - runtime - - security_advisory: &463 + security_advisory: &465 type: object description: Details for the GitHub Security Advisory. readOnly: true @@ -14287,7 +14287,7 @@ paths: dismissal. maxLength: 280 fixed_at: *97 - auto_dismissed_at: &464 + auto_dismissed_at: &466 type: - string - 'null' @@ -14974,7 +14974,7 @@ paths: required: true content: application/json: - schema: &280 + schema: &282 title: Custom Property Set Payload description: Custom property set payload type: object @@ -15342,7 +15342,7 @@ paths: type: object description: A repository rule. oneOf: - - &570 + - &572 title: creation description: Only allow users with bypass permission to create matching refs. @@ -15354,7 +15354,7 @@ paths: type: string enum: - creation - - &571 + - &573 title: update description: Only allow users with bypass permission to update matching refs. @@ -15375,7 +15375,7 @@ paths: repository required: - update_allows_fetch_and_merge - - &573 + - &575 title: deletion description: Only allow users with bypass permissions to delete matching refs. @@ -15387,7 +15387,7 @@ paths: type: string enum: - deletion - - &574 + - &576 title: required_linear_history description: Prevent merge commits from being pushed to matching refs. @@ -15399,7 +15399,7 @@ paths: type: string enum: - required_linear_history - - &575 + - &577 title: merge_queue description: Merges must be performed via a merge queue. type: object @@ -15475,7 +15475,7 @@ paths: - merge_method - min_entries_to_merge - min_entries_to_merge_wait_minutes - - &576 + - &578 title: required_deployments description: Choose which environments must be successfully deployed to before refs can be pushed into a ref that matches @@ -15499,7 +15499,7 @@ paths: type: string required: - required_deployment_environments - - &577 + - &579 title: required_signatures description: Commits pushed to matching refs must have verified signatures. @@ -15511,7 +15511,7 @@ paths: type: string enum: - required_signatures - - &578 + - &580 title: pull_request description: Require all commits be made to a non-target branch and submitted via a pull request before they can be merged. @@ -15562,7 +15562,7 @@ paths: - require_last_push_approval - required_approving_review_count - required_review_thread_resolution - - &579 + - &581 title: required_status_checks description: Choose which status checks must pass before the ref is updated. When enabled, commits must first be pushed @@ -15609,7 +15609,7 @@ paths: required: - required_status_checks - strict_required_status_checks_policy - - &580 + - &582 title: non_fast_forward description: Prevent users with push access from force pushing to refs. @@ -15621,7 +15621,7 @@ paths: type: string enum: - non_fast_forward - - &581 + - &583 title: commit_message_pattern description: Parameters to be used for the commit_message_pattern rule @@ -15657,7 +15657,7 @@ paths: required: - operator - pattern - - &582 + - &584 title: commit_author_email_pattern description: Parameters to be used for the commit_author_email_pattern rule @@ -15693,7 +15693,7 @@ paths: required: - operator - pattern - - &583 + - &585 title: committer_email_pattern description: Parameters to be used for the committer_email_pattern rule @@ -15729,7 +15729,7 @@ paths: required: - operator - pattern - - &584 + - &586 title: branch_name_pattern description: Parameters to be used for the branch_name_pattern rule @@ -15765,7 +15765,7 @@ paths: required: - operator - pattern - - &585 + - &587 title: tag_name_pattern description: Parameters to be used for the tag_name_pattern rule @@ -15891,7 +15891,7 @@ paths: maximum: 100 required: - max_file_size - - &586 + - &588 title: workflows description: Require all changes made to a targeted branch to pass the specified workflows before they can be merged. @@ -15940,7 +15940,7 @@ paths: - repository_id required: - workflows - - &587 + - &589 title: code_scanning description: Choose which tools must provide code scanning results before the reference is updated. When configured, code scanning @@ -16097,7 +16097,7 @@ paths: conditions: anyOf: - *105 - - &285 + - &287 title: Organization ruleset conditions type: object description: |- @@ -16344,7 +16344,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-enterprise parameters: - *38 - - &289 + - &291 name: state in: query description: Set to `open` or `resolved` to only list secret scanning alerts @@ -16355,7 +16355,7 @@ paths: enum: - open - resolved - - &290 + - &292 name: secret_type in: query description: A comma-separated list of secret types to return. All default @@ -16365,7 +16365,7 @@ paths: required: false schema: type: string - - &291 + - &293 name: resolution in: query description: A comma-separated list of resolutions. Only secret scanning alerts @@ -16374,7 +16374,7 @@ paths: required: false schema: type: string - - &292 + - &294 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. @@ -16390,7 +16390,7 @@ paths: - *17 - *74 - *75 - - &293 + - &295 name: validity in: query description: A comma-separated list of validities that, when present, will @@ -16399,7 +16399,7 @@ paths: required: false schema: type: string - - &294 + - &296 name: is_publicly_leaked in: query description: A boolean value representing whether or not to filter alerts @@ -16408,7 +16408,7 @@ paths: schema: type: boolean default: false - - &295 + - &297 name: is_multi_repo in: query description: A boolean value representing whether or not to filter alerts @@ -16424,7 +16424,7 @@ paths: application/json: schema: type: array - items: &296 + items: &298 type: object properties: number: *88 @@ -16440,14 +16440,14 @@ paths: format: uri description: The REST API URL of the code locations for this alert. - state: &600 + state: &602 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: &601 + resolution: &603 type: - string - 'null' @@ -16546,7 +16546,7 @@ paths: description: Whether the detected secret was found in multiple repositories in the same organization or enterprise. examples: - default: &297 + default: &299 value: - number: 2 created_at: '2020-11-06T18:48:51Z' @@ -16809,7 +16809,7 @@ paths: description: Response content: application/json: - schema: &299 + schema: &301 type: object properties: total_minutes_used: @@ -16879,7 +16879,7 @@ paths: - included_minutes - minutes_used_breakdown examples: - default: &300 + default: &302 value: total_minutes_used: 305 total_paid_minutes_used: 0 @@ -16917,7 +16917,7 @@ paths: description: Success content: application/json: - schema: &301 + schema: &303 type: object properties: total_advanced_security_committers: @@ -16980,7 +16980,7 @@ paths: required: - repositories examples: - default: &302 + default: &304 value: total_advanced_security_committers: 2 total_count: 2 @@ -17219,7 +17219,7 @@ paths: description: Response content: application/json: - schema: &303 + schema: &305 type: object properties: total_gigabytes_bandwidth_used: @@ -17237,7 +17237,7 @@ paths: - total_paid_gigabytes_bandwidth_used - included_gigabytes_bandwidth examples: - default: &304 + default: &306 value: total_gigabytes_bandwidth_used: 50 total_paid_gigabytes_bandwidth_used: 40 @@ -17269,7 +17269,7 @@ paths: description: Response content: application/json: - schema: &305 + schema: &307 type: object properties: days_left_in_billing_cycle: @@ -17287,7 +17287,7 @@ paths: - estimated_paid_storage_for_month - estimated_storage_for_month examples: - default: &306 + default: &308 value: days_left_in_billing_cycle: 20 estimated_paid_storage_for_month: 15 @@ -17913,7 +17913,7 @@ paths: milestone: anyOf: - type: 'null' - - &451 + - &453 title: Milestone description: A collection of related issues and pull requests. @@ -18177,7 +18177,7 @@ paths: - author_association - created_at - updated_at - comment: &510 + comment: &512 title: Issue Comment description: Comments provide a way for people to collaborate on an issue. @@ -18750,7 +18750,7 @@ paths: url: type: string format: uri - user: &657 + user: &659 title: Public User description: Public User type: object @@ -22102,14 +22102,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/events#list-public-events-for-a-network-of-repositories parameters: - - &326 + - &328 name: owner description: The account owner of the repository. The name is not case sensitive. in: path required: true schema: type: string - - &327 + - &329 name: repo description: The name of the repository without the `.git` extension. The name is not case sensitive. @@ -22180,7 +22180,7 @@ paths: '404': *6 '403': *27 '304': *35 - '301': &340 + '301': &342 description: Moved permanently content: application/json: @@ -22202,7 +22202,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#list-notifications-for-the-authenticated-user parameters: - - &539 + - &541 name: all description: If `true`, show notifications marked as read. in: query @@ -22210,7 +22210,7 @@ paths: schema: type: boolean default: false - - &540 + - &542 name: participating description: If `true`, only shows notifications in which the user is directly participating or mentioned. @@ -22220,7 +22220,7 @@ paths: type: boolean default: false - *125 - - &541 + - &543 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: @@ -22591,7 +22591,7 @@ paths: type: boolean examples: - false - security_and_analysis: &282 + security_and_analysis: &284 type: - object - 'null' @@ -22746,7 +22746,7 @@ paths: - url - subscription_url examples: - default: &542 + default: &544 value: - id: '1' repository: @@ -23299,7 +23299,7 @@ paths: type: array items: *50 examples: - default: &674 + default: &676 value: - login: github id: 1 @@ -24308,7 +24308,7 @@ paths: type: integer repository_cache_usages: type: array - items: &345 + items: &347 title: Actions Cache Usage by repository description: GitHub Actions Cache Usage by repository. type: object @@ -24562,7 +24562,7 @@ paths: type: array items: *55 examples: - default: &668 + default: &670 value: total_count: 1 repositories: @@ -25330,7 +25330,7 @@ paths: type: array items: *173 examples: - default: &660 + default: &662 value: total_count: 1 repositories: @@ -26372,7 +26372,7 @@ paths: description: Response content: application/json: - schema: &365 + schema: &367 title: ActionsPublicKey description: The public key used for setting Actions Secrets. type: object @@ -26407,7 +26407,7 @@ paths: - key_id - key examples: - default: &366 + default: &368 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -26818,7 +26818,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-organization-variables parameters: - *157 - - &350 + - &352 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)." @@ -27428,7 +27428,7 @@ paths: bundle_url: type: string examples: - default: &379 + default: &381 value: attestations: - bundle: @@ -27716,13 +27716,13 @@ paths: subcategory: bypass-requests parameters: - *157 - - &286 + - &288 name: repository_name description: The name of the repository to filter on. in: query schema: type: string - - &396 + - &398 name: reviewer description: Filter bypass requests by the handle of the GitHub user who reviewed the bypass request. @@ -27730,7 +27730,7 @@ paths: required: false schema: type: string - - &397 + - &399 name: requester description: Filter bypass requests by the handle of the GitHub user who requested the bypass. @@ -27738,7 +27738,7 @@ paths: required: false schema: type: string - - &287 + - &289 name: time_period description: |- The time period to filter by. @@ -27754,7 +27754,7 @@ paths: - week - month default: day - - &398 + - &400 name: request_status description: The status of the bypass request to filter on. When specified, only requests with this status will be returned. @@ -27779,7 +27779,7 @@ paths: application/json: schema: type: array - items: &399 + items: &401 title: Push rule bypass request description: A bypass request made by a user asking to be exempted from a push rule in this repository. @@ -27940,7 +27940,7 @@ paths: examples: - https://github.com/octo-org/smile/exemptions/1 examples: - default: &400 + default: &402 value: - id: 21 number: 42 @@ -28055,7 +28055,7 @@ paths: be returned. in: query required: false - schema: &410 + schema: &412 type: string description: Severity of a code scanning alert. enum: @@ -29004,7 +29004,7 @@ paths: machine: anyOf: - type: 'null' - - &439 + - &441 type: object title: Codespace machine description: A description of the machine powering a codespace. @@ -29956,7 +29956,7 @@ paths: - updated_at - visibility examples: - default: &440 + default: &442 value: total_count: 2 secrets: @@ -29994,7 +29994,7 @@ paths: description: Response content: application/json: - schema: &441 + schema: &443 title: CodespacesPublicKey description: The public key used for setting Codespaces secrets. type: object @@ -30029,7 +30029,7 @@ paths: - key_id - key examples: - default: &442 + default: &444 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -30061,7 +30061,7 @@ paths: application/json: schema: *206 examples: - default: &444 + default: &446 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -31831,7 +31831,7 @@ paths: description: Response content: application/json: - schema: &467 + schema: &469 title: DependabotPublicKey description: The public key used for setting Dependabot Secrets. type: object @@ -31850,7 +31850,7 @@ paths: - key_id - key examples: - default: &468 + default: &470 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -32432,7 +32432,7 @@ paths: description: Response content: application/json: - schema: &321 + schema: &323 title: ExternalGroup description: Information about an external group's usage and its members type: object @@ -32522,7 +32522,7 @@ paths: member_name: Octo Lisa member_email: octo_lisa@github.com examples: - default: &322 + default: &324 value: group_id: '123' group_name: Octocat admins @@ -32577,7 +32577,7 @@ paths: description: Response content: application/json: - schema: &319 + schema: &321 title: ExternalGroups description: A list of external groups available to be connected to a team @@ -32617,7 +32617,7 @@ paths: group_name: group-azuread-test2 updated_at: 2021-06-03 22:27:15:000 -700 examples: - default: &320 + default: &322 value: groups: - group_id: '123' @@ -32782,7 +32782,7 @@ paths: application/json: schema: type: array - items: &283 + items: &285 title: Repository Fine-Grained Permission description: A fine-grained permission that protects repository resources. @@ -32796,7 +32796,7 @@ paths: - name - description examples: - default: &284 + default: &286 value: - name: add_assignee description: Assign or remove a user @@ -33946,7 +33946,7 @@ paths: application/json: schema: *20 examples: - default: &506 + default: &508 value: id: 1 account: @@ -34174,7 +34174,7 @@ paths: required: true content: application/json: - schema: &507 + schema: &509 title: Interaction Restrictions description: Limit interactions to a specific type of user for a specified duration @@ -34794,7 +34794,7 @@ paths: application/json: schema: *255 examples: - default: &438 + default: &440 value: id: 1 name: monalisa-octocat-hello-world-g4wpq6h95q @@ -36032,7 +36032,7 @@ paths: parameters: - *157 - *261 - - &673 + - &675 name: repo_name description: repo_name parameter in: path @@ -37356,7 +37356,7 @@ paths: - nuget - container - *157 - - &675 + - &677 name: visibility description: |- The selected visibility of the packages. This parameter is optional and only filters an existing result set. @@ -37397,7 +37397,7 @@ paths: default: *267 '403': *27 '401': *23 - '400': &677 + '400': &679 description: The value of `per_page` multiplied by `page` cannot be greater than 10000. x-github: @@ -38538,6 +38538,480 @@ paths: enabledForGitHubApps: true category: orgs subcategory: personal-access-tokens + "/orgs/{org}/private-registries": + get: + summary: List private registries for an organization + description: |- + > [!NOTE] + > This endpoint is in public preview and is subject to change. + + Lists all private registry configurations available at the organization-level without revealing their encrypted + values. + + OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + tags: + - private-registries + 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 + parameters: + - *157 + - *17 + - *18 + responses: + '200': + description: Response + content: + application/json: + schema: + type: object + required: + - total_count + - configurations + properties: + total_count: + type: integer + configurations: + type: array + items: &279 + title: Organization private registry + description: Private registry configuration for an organization + type: object + properties: + name: + description: The name of the private registry configuration. + type: string + examples: + - MAVEN_REPOSITORY_SECRET + registry_type: + description: The registry type. + enum: + - maven_repository + type: string + username: + description: The username to use when authenticating with + the private registry. + type: + - string + - 'null' + examples: + - monalisa + visibility: + description: Which type of organization repositories have + access to the private registry. + enum: + - all + - private + - selected + type: string + created_at: + type: string + format: date-time + updated_at: + type: string + format: date-time + required: + - name + - registry_type + - visibility + - created_at + - updated_at + examples: + default: + value: + total_count: 1 + configurations: + - name: MAVEN_REPOSITORY_SECRET + registry_type: maven_repository + username: monalisa + created_at: '2019-08-10T14:59:22Z' + updated_at: '2020-01-10T14:59:22Z' + visibility: selected + headers: + Link: *37 + '400': *14 + '404': *6 + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: private-registries + subcategory: organization-configurations + post: + summary: Create a private registry for an organization + description: |- + > [!NOTE] + > This endpoint is in public preview and is subject to change. + + Creates 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)." + + OAuth 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 + parameters: + - *157 + requestBody: + required: true + content: + application/json: + schema: + type: object + properties: + registry_type: + description: The registry type. + type: string + enum: + - maven_repository + username: + description: The username to use when authenticating with the private + registry. This field should be omitted if the private registry + does not require a username for authentication. + type: + - string + - 'null' + 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. + type: string + pattern: "^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=|[A-Za-z0-9+/]{4})$" + key_id: + description: The ID of the key you used to encrypt the secret. + type: string + visibility: + description: Which type of organization repositories have access + to the private registry. `selected` means only the repositories + specified by `selected_repository_ids` can access the private + registry. + type: string + enum: + - all + - private + - selected + 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`. + type: array + items: + type: integer + required: + - registry_type + - encrypted_value + - key_id + - visibility + examples: + org-private-registry-with-private-visibility: + summary: Example of a private registry configuration with private + visibility + value: + registry_type: maven_repository + username: monalisa + encrypted_value: c2VjcmV0 + key_id: '012345678912345678' + visibility: private + org-private-registry-with-selected-visibility: + summary: Example of a private registry configuration with selected + visibility + value: + registry_type: maven_repository + username: monalisa + encrypted_value: c2VjcmV0 + key_id: '012345678912345678' + visibility: selected + selected_repository_ids: + - 1296269 + - 1296280 + responses: + '201': + description: The organization private registry configuration + content: + application/json: + schema: + title: Organization private registry + description: Private registry configuration for an organization + type: object + properties: + name: + description: The name of the private registry configuration. + type: string + examples: + - MAVEN_REPOSITORY_SECRET + registry_type: + description: The registry type. + enum: + - maven_repository + type: string + username: + description: The username to use when authenticating with the + private registry. + type: string + examples: + - monalisa + visibility: + description: Which type of organization repositories have access + to the private registry. `selected` means only the repositories + specified by `selected_repository_ids` can access the private + registry. + enum: + - all + - private + - selected + type: string + selected_repository_ids: + type: array + description: An array of repository IDs that can access the organization + private registry when `visibility` is set to `selected`. + items: + type: integer + created_at: + type: string + format: date-time + updated_at: + type: string + format: date-time + required: + - name + - registry_type + - visibility + - created_at + - updated_at + examples: + org-private-registry-with-selected-visibility: &280 + value: + name: MAVEN_REPOSITORY_SECRET + registry_type: maven_repository + username: monalisa + visibility: private + created_at: '2019-08-10T14:59:22Z' + updated_at: '2020-01-10T14:59:22Z' + org-private-registry-with-private-visibility: + value: + name: MAVEN_REPOSITORY_SECRET + registry_type: maven_repository + username: monalisa + visibility: selected + selected_repository_ids: + - 1296269 + - 1296280 + created_at: '2019-08-10T14:59:22Z' + updated_at: '2020-01-10T14:59:22Z' + '404': *6 + '422': *15 + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: private-registries + subcategory: organization-configurations + "/orgs/{org}/private-registries/public-key": + get: + summary: Get private registries public key for an organization + description: |- + > [!NOTE] + > This endpoint is in public preview and is subject to change. + + Gets the org public key, which is needed to encrypt private registry secrets. You need to encrypt a secret before you can create or update secrets. + + OAuth tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + tags: + - private-registries + 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 + parameters: + - *157 + responses: + '200': + description: Response + content: + application/json: + schema: + type: object + required: + - key_id + - key + properties: + key_id: + description: The identifier for the key. + type: string + examples: + - '012345678912345678' + key: + description: The Base64 encoded public key. + type: string + examples: + - 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 + examples: + default: + value: + key_id: '012345678912345678' + key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 + headers: + Link: *37 + '404': *6 + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: private-registries + subcategory: organization-configurations + "/orgs/{org}/private-registries/{secret_name}": + get: + summary: Get a private registry for an organization + description: |- + > [!NOTE] + > This endpoint is in public preview and is subject to change. + + Get the configuration of a single private registry defined for an organization, omitting its encrypted value. + + OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + tags: + - private-registries + 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 + parameters: + - *157 + - *183 + responses: + '200': + description: The specified private registry configuration for the organization + content: + application/json: + schema: *279 + examples: + default: *280 + '404': *6 + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: private-registries + subcategory: organization-configurations + patch: + summary: Update a private registry for an organization + description: |- + > [!NOTE] + > This endpoint is in public preview and is subject to change. + + Updates 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)." + + OAuth 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 + parameters: + - *157 + - *183 + requestBody: + required: true + content: + application/json: + schema: + type: object + properties: + registry_type: + description: The registry type. + type: string + enum: + - maven_repository + username: + description: The username to use when authenticating with the private + registry. This field should be omitted if the private registry + does not require a username for authentication. + type: + - string + - 'null' + 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. + type: string + pattern: "^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=|[A-Za-z0-9+/]{4})$" + key_id: + description: The ID of the key you used to encrypt the secret. + type: string + visibility: + description: Which type of organization repositories have access + to the private registry. `selected` means only the repositories + specified by `selected_repository_ids` can access the private + registry. + type: string + enum: + - all + - private + - selected + 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`. This field should be omitted + if `visibility` is set to `all` or `private`. + type: array + items: + type: integer + examples: + update-username-and-encrypted-value: + value: + username: monalisa + encrypted_value: c2VjcmV0 + key_id: '012345678912345678' + update-with-selected-visibility: + value: + visibility: selected + selected_repository_ids: + - 1296269 + - 1296280 + responses: + '204': + description: Response + '404': *6 + '422': *15 + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: private-registries + subcategory: organization-configurations + delete: + summary: Delete a private registry for an organization + description: |- + > [!NOTE] + > This endpoint is in public preview and is subject to change. + + Delete a private registry configuration at the organization-level. + + OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + tags: + - private-registries + 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 + parameters: + - *157 + - *183 + responses: + '204': + description: Response + '400': *14 + '404': *6 + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: private-registries + subcategory: organization-configurations "/orgs/{org}/projects": get: summary: List organization projects @@ -38573,7 +39047,7 @@ paths: application/json: schema: type: array - items: &279 + items: &281 title: Project description: Projects are a way to organize columns and cards of work. @@ -38752,7 +39226,7 @@ paths: description: Response content: application/json: - schema: *279 + schema: *281 examples: default: value: @@ -38790,7 +39264,7 @@ paths: '401': *23 '403': *27 '404': *6 - '410': &337 + '410': &339 description: Gone content: application/json: @@ -38949,7 +39423,7 @@ paths: required: true content: application/json: - schema: *280 + schema: *282 examples: default: value: @@ -39055,7 +39529,7 @@ paths: - octocat/Hello-World properties: type: array - items: &281 + items: &283 title: Custom Property Value description: Custom property name and associated value type: object @@ -39145,7 +39619,7 @@ paths: type: array description: List of custom property names and associated values to apply to the repositories. - items: *281 + items: *283 required: - repository_names - properties @@ -39542,7 +40016,7 @@ paths: description: Response content: application/json: - schema: &339 + schema: &341 title: Full Repository description: Full Repository type: object @@ -40007,7 +40481,7 @@ paths: description: Whether anonymous git access is allowed. default: true type: boolean - code_of_conduct: &457 + code_of_conduct: &459 title: Code Of Conduct Simple description: Code of Conduct Simple type: object @@ -40037,7 +40511,7 @@ paths: - key - name - html_url - security_and_analysis: *282 + security_and_analysis: *284 custom_properties: type: object description: The custom properties that were defined for the repository. @@ -40121,7 +40595,7 @@ paths: - network_count - subscribers_count examples: - default: &341 + default: &343 value: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -40647,9 +41121,9 @@ paths: application/json: schema: type: array - items: *283 + items: *285 examples: - default: *284 + default: *286 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -40674,7 +41148,7 @@ paths: - *157 - *17 - *18 - - &588 + - &590 name: targets description: | A comma-separated list of rule targets to filter by. @@ -40766,7 +41240,7 @@ paths: type: array description: The actors that can bypass the rules in this ruleset items: *110 - conditions: *285 + conditions: *287 rules: type: array description: An array of rules within the ruleset. @@ -40810,7 +41284,7 @@ paths: application/json: schema: *112 examples: - default: &288 + default: &290 value: id: 21 name: super cool ruleset @@ -40865,7 +41339,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/rule-suites#list-organization-rule-suites parameters: - *157 - - &589 + - &591 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 @@ -40875,16 +41349,16 @@ paths: schema: type: string x-multi-segment: true - - *286 - - *287 - - &590 + - *288 + - *289 + - &592 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 - - &591 + - &593 name: rule_suite_result description: The rule results to filter on. When specified, only suites with this result will be returned. @@ -40904,7 +41378,7 @@ paths: description: Response content: application/json: - schema: &592 + schema: &594 title: Rule Suites description: Response type: array @@ -40960,7 +41434,7 @@ paths: whether rules would pass or fail if all rules in the rule suite were `active`. examples: - default: &593 + default: &595 value: - id: 21 actor_id: 12 @@ -41004,7 +41478,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/rule-suites#get-an-organization-rule-suite parameters: - *157 - - &594 + - &596 name: rule_suite_id description: |- The unique identifier of the rule suite result. @@ -41020,7 +41494,7 @@ paths: description: Response content: application/json: - schema: &595 + schema: &597 title: Rule Suite description: Response type: object @@ -41127,7 +41601,7 @@ paths: description: The detailed failure message for the rule. Null if the rule passed. examples: - default: &596 + default: &598 value: id: 21 actor_id: 12 @@ -41202,7 +41676,7 @@ paths: application/json: schema: *112 examples: - default: *288 + default: *290 '404': *6 '500': *87 put: @@ -41251,7 +41725,7 @@ paths: type: array description: The actors that can bypass the rules in this ruleset items: *110 - conditions: *285 + conditions: *287 rules: description: An array of rules within the ruleset. type: array @@ -41292,7 +41766,7 @@ paths: application/json: schema: *112 examples: - default: *288 + default: *290 '404': *6 '500': *87 delete: @@ -41339,14 +41813,14 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-organization parameters: - *157 - - *289 - - *290 - *291 - *292 + - *293 + - *294 - *76 - *18 - *17 - - &598 + - &600 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 @@ -41356,7 +41830,7 @@ paths: required: false schema: type: string - - &599 + - &601 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 @@ -41366,9 +41840,9 @@ paths: required: false schema: type: string - - *293 - - *294 - *295 + - *296 + - *297 responses: '200': description: Response @@ -41376,9 +41850,9 @@ paths: application/json: schema: type: array - items: *296 + items: *298 examples: - default: *297 + default: *299 headers: Link: *37 '404': *6 @@ -41448,7 +41922,7 @@ paths: application/json: schema: type: array - items: &606 + items: &608 description: A repository security advisory. type: object properties: @@ -41692,7 +42166,7 @@ paths: login: type: string description: The username of the user credited. - type: *298 + type: *300 credits_detailed: type: - array @@ -41703,7 +42177,7 @@ paths: type: object properties: user: *4 - type: *298 + type: *300 state: type: string description: The state of the user's acceptance of the @@ -41767,7 +42241,7 @@ paths: - private_fork additionalProperties: false examples: - default: &607 + default: &609 value: - ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -42241,9 +42715,9 @@ paths: description: Response content: application/json: - schema: *299 + schema: *301 examples: - default: *300 + default: *302 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -42275,9 +42749,9 @@ paths: description: Success content: application/json: - schema: *301 + schema: *303 examples: - default: *302 + default: *304 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -42305,9 +42779,9 @@ paths: description: Response content: application/json: - schema: *303 + schema: *305 examples: - default: *304 + default: *306 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -42335,9 +42809,9 @@ paths: description: Response content: application/json: - schema: *305 + schema: *307 examples: - default: *306 + default: *308 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -42373,7 +42847,7 @@ paths: description: Response content: application/json: - schema: &328 + schema: &330 title: GroupMapping description: External Groups to be mapped to a team for membership type: object @@ -42425,7 +42899,7 @@ paths: group_description: Another group of Developers working on AzureAD SAML SSO examples: - default: &329 + default: &331 value: groups: - group_id: '123' @@ -42706,7 +43180,7 @@ paths: description: Response content: application/json: - schema: &307 + schema: &309 title: Full Team description: Groups of organization members that gives permissions on specified repositories. @@ -43086,7 +43560,7 @@ paths: - repos_count - organization examples: - default: &308 + default: &310 value: id: 1 node_id: MDQ6VGVhbTE= @@ -43163,9 +43637,9 @@ paths: description: Response content: application/json: - schema: *307 + schema: *309 examples: - default: *308 + default: *310 '404': *6 x-github: githubCloudOnly: false @@ -43250,16 +43724,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *307 + schema: *309 examples: - default: *308 + default: *310 '201': description: Response content: application/json: - schema: *307 + schema: *309 examples: - default: *308 + default: *310 '404': *6 '422': *15 '403': *27 @@ -43329,7 +43803,7 @@ paths: application/json: schema: type: array - items: &309 + items: &311 title: Team Discussion description: A team discussion is a persistent record of a free-form conversation within a team. @@ -43440,7 +43914,7 @@ paths: - updated_at - url examples: - default: &647 + default: &649 value: - author: login: octocat @@ -43549,9 +44023,9 @@ paths: description: Response content: application/json: - schema: *309 + schema: *311 examples: - default: &310 + default: &312 value: author: login: octocat @@ -43625,7 +44099,7 @@ paths: parameters: - *157 - *263 - - &311 + - &313 name: discussion_number description: The number that identifies the discussion. in: path @@ -43637,9 +44111,9 @@ paths: description: Response content: application/json: - schema: *309 + schema: *311 examples: - default: *310 + default: *312 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -43663,7 +44137,7 @@ paths: parameters: - *157 - *263 - - *311 + - *313 requestBody: required: false content: @@ -43686,9 +44160,9 @@ paths: description: Response content: application/json: - schema: *309 + schema: *311 examples: - default: &648 + default: &650 value: author: login: octocat @@ -43760,7 +44234,7 @@ paths: parameters: - *157 - *263 - - *311 + - *313 responses: '204': description: Response @@ -43788,7 +44262,7 @@ paths: parameters: - *157 - *263 - - *311 + - *313 - *76 - *17 - *18 @@ -43799,7 +44273,7 @@ paths: application/json: schema: type: array - items: &312 + items: &314 title: Team Discussion Comment description: A reply to a discussion within a team. type: object @@ -43879,7 +44353,7 @@ paths: - updated_at - url examples: - default: &649 + default: &651 value: - author: login: octocat @@ -43949,7 +44423,7 @@ paths: parameters: - *157 - *263 - - *311 + - *313 requestBody: required: true content: @@ -43971,9 +44445,9 @@ paths: description: Response content: application/json: - schema: *312 + schema: *314 examples: - default: &313 + default: &315 value: author: login: octocat @@ -44041,8 +44515,8 @@ paths: parameters: - *157 - *263 - - *311 - - &314 + - *313 + - &316 name: comment_number description: The number that identifies the comment. in: path @@ -44054,9 +44528,9 @@ paths: description: Response content: application/json: - schema: *312 + schema: *314 examples: - default: *313 + default: *315 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -44080,8 +44554,8 @@ paths: parameters: - *157 - *263 - - *311 - - *314 + - *313 + - *316 requestBody: required: true content: @@ -44103,9 +44577,9 @@ paths: description: Response content: application/json: - schema: *312 + schema: *314 examples: - default: &650 + default: &652 value: author: login: octocat @@ -44171,8 +44645,8 @@ paths: parameters: - *157 - *263 - - *311 - - *314 + - *313 + - *316 responses: '204': description: Response @@ -44200,8 +44674,8 @@ paths: parameters: - *157 - *263 - - *311 - - *314 + - *313 + - *316 - 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 team discussion comment. @@ -44227,7 +44701,7 @@ paths: application/json: schema: type: array - items: &315 + items: &317 title: Reaction description: Reactions to conversations provide a way to help people express their feelings more simply and effectively. @@ -44271,7 +44745,7 @@ paths: - content - created_at examples: - default: &317 + default: &319 value: - id: 1 node_id: MDg6UmVhY3Rpb24x @@ -44323,8 +44797,8 @@ paths: parameters: - *157 - *263 - - *311 - - *314 + - *313 + - *316 requestBody: required: true content: @@ -44357,9 +44831,9 @@ paths: team discussion comment content: application/json: - schema: *315 + schema: *317 examples: - default: &316 + default: &318 value: id: 1 node_id: MDg6UmVhY3Rpb24x @@ -44388,9 +44862,9 @@ paths: description: Response content: application/json: - schema: *315 + schema: *317 examples: - default: *316 + default: *318 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -44415,9 +44889,9 @@ paths: parameters: - *157 - *263 - - *311 - - *314 - - &318 + - *313 + - *316 + - &320 name: reaction_id description: The unique identifier of the reaction. in: path @@ -44451,7 +44925,7 @@ paths: parameters: - *157 - *263 - - *311 + - *313 - 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 team discussion. @@ -44477,9 +44951,9 @@ paths: application/json: schema: type: array - items: *315 + items: *317 examples: - default: *317 + default: *319 headers: Link: *37 x-github: @@ -44507,7 +44981,7 @@ paths: parameters: - *157 - *263 - - *311 + - *313 requestBody: required: true content: @@ -44539,16 +45013,16 @@ paths: description: Response content: application/json: - schema: *315 + schema: *317 examples: - default: *316 + default: *318 '201': description: Response content: application/json: - schema: *315 + schema: *317 examples: - default: *316 + default: *318 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -44573,8 +45047,8 @@ paths: parameters: - *157 - *263 - - *311 - - *318 + - *313 + - *320 responses: '204': description: Response @@ -44604,9 +45078,9 @@ paths: description: Response content: application/json: - schema: *319 + schema: *321 examples: - default: *320 + default: *322 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -44650,9 +45124,9 @@ paths: description: Response content: application/json: - schema: *321 + schema: *323 examples: - default: *322 + default: *324 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -44793,7 +45267,7 @@ paths: description: Response content: application/json: - schema: &323 + schema: &325 title: Team Membership description: Team Membership type: object @@ -44821,7 +45295,7 @@ paths: - state - url examples: - response-if-user-is-a-team-maintainer: &651 + response-if-user-is-a-team-maintainer: &653 summary: Response if user is a team maintainer value: url: https://api.github.com/teams/1/memberships/octocat @@ -44884,9 +45358,9 @@ paths: description: Response content: application/json: - schema: *323 + schema: *325 examples: - response-if-users-membership-with-team-is-now-pending: &652 + response-if-users-membership-with-team-is-now-pending: &654 summary: Response if user's membership with team is now pending value: url: https://api.github.com/teams/1/memberships/octocat @@ -44960,7 +45434,7 @@ paths: application/json: schema: type: array - items: &324 + items: &326 title: Team Project description: A team's access to a project. type: object @@ -45029,7 +45503,7 @@ paths: - updated_at - permissions examples: - default: &653 + default: &655 value: - owner_url: https://api.github.com/orgs/octocat url: https://api.github.com/projects/1002605 @@ -45092,7 +45566,7 @@ paths: parameters: - *157 - *263 - - &325 + - &327 name: project_id description: The unique identifier of the project. in: path @@ -45104,9 +45578,9 @@ paths: description: Response content: application/json: - schema: *324 + schema: *326 examples: - default: &654 + default: &656 value: owner_url: https://api.github.com/orgs/octocat url: https://api.github.com/projects/1002605 @@ -45168,7 +45642,7 @@ paths: parameters: - *157 - *263 - - *325 + - *327 requestBody: required: false content: @@ -45235,7 +45709,7 @@ paths: parameters: - *157 - *263 - - *325 + - *327 responses: '204': description: Response @@ -45303,14 +45777,14 @@ paths: parameters: - *157 - *263 - - *326 - - *327 + - *328 + - *329 responses: '200': description: Alternative response with repository permissions content: application/json: - schema: &655 + schema: &657 title: Team Repository description: A team's access to a repository. type: object @@ -45953,8 +46427,8 @@ paths: parameters: - *157 - *263 - - *326 - - *327 + - *328 + - *329 requestBody: required: false content: @@ -46001,8 +46475,8 @@ paths: parameters: - *157 - *263 - - *326 - - *327 + - *328 + - *329 responses: '204': description: Response @@ -46035,9 +46509,9 @@ paths: description: Response content: application/json: - schema: *328 + schema: *330 examples: - default: *329 + default: *331 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -46103,7 +46577,7 @@ paths: description: Response content: application/json: - schema: *328 + schema: *330 examples: default: value: @@ -46148,7 +46622,7 @@ paths: type: array items: *251 examples: - response-if-child-teams-exist: &656 + response-if-child-teams-exist: &658 value: - id: 2 node_id: MDQ6VGVhbTI= @@ -46272,7 +46746,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/cards#get-a-project-card parameters: - - &330 + - &332 name: card_id description: The unique identifier of the card. in: path @@ -46284,7 +46758,7 @@ paths: description: Response content: application/json: - schema: &331 + schema: &333 title: Project Card description: Project cards represent a scope of work. type: object @@ -46359,7 +46833,7 @@ paths: - created_at - updated_at examples: - default: &332 + default: &334 value: url: https://api.github.com/projects/columns/cards/1478 id: 1478 @@ -46409,7 +46883,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/cards#update-an-existing-project-card parameters: - - *330 + - *332 requestBody: required: false content: @@ -46439,9 +46913,9 @@ paths: description: Response content: application/json: - schema: *331 + schema: *333 examples: - default: *332 + default: *334 '304': *35 '403': *27 '401': *23 @@ -46462,7 +46936,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/cards#delete-a-project-card parameters: - - *330 + - *332 responses: '204': description: Response @@ -46500,7 +46974,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/cards#move-a-project-card parameters: - - *330 + - *332 requestBody: required: true content: @@ -46607,7 +47081,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/columns#get-a-project-column parameters: - - &333 + - &335 name: column_id description: The unique identifier of the column. in: path @@ -46619,7 +47093,7 @@ paths: description: Response content: application/json: - schema: &334 + schema: &336 title: Project Column description: Project columns contain cards of work. type: object @@ -46673,7 +47147,7 @@ paths: - created_at - updated_at examples: - default: &335 + default: &337 value: url: https://api.github.com/projects/columns/367 project_url: https://api.github.com/projects/120 @@ -46702,7 +47176,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/columns#update-an-existing-project-column parameters: - - *333 + - *335 requestBody: required: true content: @@ -46727,9 +47201,9 @@ paths: description: Response content: application/json: - schema: *334 + schema: *336 examples: - default: *335 + default: *337 '304': *35 '403': *27 '401': *23 @@ -46748,7 +47222,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/columns#delete-a-project-column parameters: - - *333 + - *335 responses: '204': description: Response @@ -46771,7 +47245,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/cards#list-project-cards parameters: - - *333 + - *335 - name: archived_state description: Filters the project cards that are returned by the card's state. in: query @@ -46792,7 +47266,7 @@ paths: application/json: schema: type: array - items: *331 + items: *333 examples: default: value: @@ -46845,7 +47319,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/cards#create-a-project-card parameters: - - *333 + - *335 requestBody: required: true content: @@ -46889,9 +47363,9 @@ paths: description: Response content: application/json: - schema: *331 + schema: *333 examples: - default: *332 + default: *334 '304': *35 '403': *27 '401': *23 @@ -46941,7 +47415,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/columns#move-a-project-column parameters: - - *333 + - *335 requestBody: required: true content: @@ -46998,15 +47472,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#get-a-project parameters: - - *325 + - *327 responses: '200': description: Response content: application/json: - schema: *279 + schema: *281 examples: - default: &336 + default: &338 value: owner_url: https://api.github.com/repos/api-playground/projects-test url: https://api.github.com/projects/1002604 @@ -47059,7 +47533,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#update-a-project parameters: - - *325 + - *327 requestBody: required: false content: @@ -47108,9 +47582,9 @@ paths: description: Response content: application/json: - schema: *279 + schema: *281 examples: - default: *336 + default: *338 '404': description: Not Found if the authenticated user does not have access to the project @@ -47131,7 +47605,7 @@ paths: items: type: string '401': *23 - '410': *337 + '410': *339 '422': *7 x-github: githubCloudOnly: false @@ -47149,7 +47623,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#delete-a-project parameters: - - *325 + - *327 responses: '204': description: Delete Success @@ -47170,7 +47644,7 @@ paths: items: type: string '401': *23 - '410': *337 + '410': *339 '404': *6 x-github: githubCloudOnly: false @@ -47193,7 +47667,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/collaborators#list-project-collaborators parameters: - - *325 + - *327 - name: affiliation description: Filters the collaborators by their affiliation. `outside` means outside collaborators of a project that are not a member of the project's @@ -47245,7 +47719,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/collaborators#add-project-collaborator parameters: - - *325 + - *327 - *195 requestBody: required: false @@ -47295,7 +47769,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/collaborators#remove-user-as-a-collaborator parameters: - - *325 + - *327 - *195 responses: '204': @@ -47324,7 +47798,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/collaborators#get-project-permission-for-a-user parameters: - - *325 + - *327 - *195 responses: '200': @@ -47389,7 +47863,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/columns#list-project-columns parameters: - - *325 + - *327 - *17 - *18 responses: @@ -47399,7 +47873,7 @@ paths: application/json: schema: type: array - items: *334 + items: *336 examples: default: value: @@ -47431,7 +47905,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/columns#create-a-project-column parameters: - - *325 + - *327 requestBody: required: true content: @@ -47455,7 +47929,7 @@ paths: description: Response content: application/json: - schema: *334 + schema: *336 examples: default: value: @@ -47516,7 +47990,7 @@ paths: resources: type: object properties: - core: &338 + core: &340 title: Rate Limit type: object properties: @@ -47533,20 +48007,20 @@ paths: - remaining - reset - used - graphql: *338 - search: *338 - code_search: *338 - source_import: *338 - integration_manifest: *338 - code_scanning_upload: *338 - actions_runner_registration: *338 - scim: *338 - dependency_snapshots: *338 - code_scanning_autofix: *338 + graphql: *340 + search: *340 + code_search: *340 + source_import: *340 + integration_manifest: *340 + code_scanning_upload: *340 + actions_runner_registration: *340 + scim: *340 + dependency_snapshots: *340 + code_scanning_autofix: *340 required: - core - search - rate: *338 + rate: *340 required: - rate - resources @@ -47650,14 +48124,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#get-a-repository parameters: - - *326 - - *327 + - *328 + - *329 responses: '200': description: Response content: application/json: - schema: *339 + schema: *341 examples: default-response: summary: Default response @@ -48162,7 +48636,7 @@ paths: status: disabled '403': *27 '404': *6 - '301': *340 + '301': *342 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -48180,8 +48654,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#update-a-repository parameters: - - *326 - - *327 + - *328 + - *329 requestBody: required: false content: @@ -48428,10 +48902,10 @@ paths: description: Response content: application/json: - schema: *339 + schema: *341 examples: - default: *341 - '307': &342 + default: *343 + '307': &344 description: Temporary Redirect content: application/json: @@ -48460,8 +48934,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#delete-a-repository parameters: - - *326 - - *327 + - *328 + - *329 responses: '204': description: Response @@ -48483,7 +48957,7 @@ paths: value: message: Organization members cannot delete repositories. documentation_url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#delete-a-repository - '307': *342 + '307': *344 '404': *6 x-github: githubCloudOnly: false @@ -48506,11 +48980,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#list-artifacts-for-a-repository parameters: - - *326 - - *327 + - *328 + - *329 - *17 - *18 - - &357 + - &359 name: name description: The name field of an artifact. When specified, only artifacts with this name will be returned. @@ -48533,7 +49007,7 @@ paths: type: integer artifacts: type: array - items: &343 + items: &345 title: Artifact description: An artifact type: object @@ -48619,7 +49093,7 @@ paths: - expires_at - updated_at examples: - default: &358 + default: &360 value: total_count: 2 artifacts: @@ -48678,9 +49152,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#get-an-artifact parameters: - - *326 - - *327 - - &344 + - *328 + - *329 + - &346 name: artifact_id description: The unique identifier of the artifact. in: path @@ -48692,7 +49166,7 @@ paths: description: Response content: application/json: - schema: *343 + schema: *345 examples: default: value: @@ -48729,9 +49203,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#delete-an-artifact parameters: - - *326 - - *327 - - *344 + - *328 + - *329 + - *346 responses: '204': description: Response @@ -48755,9 +49229,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#download-an-artifact parameters: - - *326 - - *327 - - *344 + - *328 + - *329 + - *346 - name: archive_format in: path required: true @@ -48771,7 +49245,7 @@ paths: 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': *337 + '410': *339 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -48794,14 +49268,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/cache#get-github-actions-cache-usage-for-a-repository parameters: - - *326 - - *327 + - *328 + - *329 responses: '200': description: Response content: application/json: - schema: *345 + schema: *347 examples: default: value: @@ -48827,11 +49301,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/cache#list-github-actions-caches-for-a-repository parameters: - - *326 - - *327 + - *328 + - *329 - *17 - *18 - - &346 + - &348 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 @@ -48865,7 +49339,7 @@ paths: description: Response content: application/json: - schema: &347 + schema: &349 title: Repository actions caches description: Repository actions caches type: object @@ -48915,7 +49389,7 @@ paths: - total_count - actions_caches examples: - default: &348 + default: &350 value: total_count: 1 actions_caches: @@ -48947,23 +49421,23 @@ paths: 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 parameters: - - *326 - - *327 + - *328 + - *329 - name: key description: A key for identifying the cache. in: query required: true schema: type: string - - *346 + - *348 responses: '200': description: Response content: application/json: - schema: *347 + schema: *349 examples: - default: *348 + default: *350 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -48983,8 +49457,8 @@ paths: 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 parameters: - - *326 - - *327 + - *328 + - *329 - name: cache_id description: The unique identifier of the GitHub Actions cache. in: path @@ -49015,9 +49489,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-jobs#get-a-job-for-a-workflow-run parameters: - - *326 - - *327 - - &349 + - *328 + - *329 + - &351 name: job_id description: The unique identifier of the job. in: path @@ -49029,7 +49503,7 @@ paths: description: Response content: application/json: - schema: &361 + schema: &363 title: Job description: Information of a job execution in a workflow run type: object @@ -49376,9 +49850,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-jobs#download-job-logs-for-a-workflow-run parameters: - - *326 - - *327 - - *349 + - *328 + - *329 + - *351 responses: '302': description: Response @@ -49406,9 +49880,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#re-run-a-job-from-a-workflow-run parameters: - - *326 - - *327 - - *349 + - *328 + - *329 + - *351 requestBody: required: false content: @@ -49454,8 +49928,8 @@ paths: 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 parameters: - - *326 - - *327 + - *328 + - *329 responses: '200': description: Status response @@ -49505,8 +49979,8 @@ paths: 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 parameters: - - *326 - - *327 + - *328 + - *329 requestBody: required: true content: @@ -49569,8 +50043,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#list-repository-organization-secrets parameters: - - *326 - - *327 + - *328 + - *329 - *17 - *18 responses: @@ -49588,7 +50062,7 @@ paths: type: integer secrets: type: array - items: &363 + items: &365 title: Actions Secret description: Set secrets for GitHub Actions. type: object @@ -49609,7 +50083,7 @@ paths: - created_at - updated_at examples: - default: &364 + default: &366 value: total_count: 2 secrets: @@ -49642,9 +50116,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-repository-organization-variables parameters: - - *326 - - *327 - - *350 + - *328 + - *329 + - *352 - *18 responses: '200': @@ -49661,7 +50135,7 @@ paths: type: integer variables: type: array - items: &367 + items: &369 title: Actions Variable type: object properties: @@ -49695,7 +50169,7 @@ paths: - created_at - updated_at examples: - default: &368 + default: &370 value: total_count: 2 variables: @@ -49728,8 +50202,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#get-github-actions-permissions-for-a-repository parameters: - - *326 - - *327 + - *328 + - *329 responses: '200': description: Response @@ -49738,7 +50212,7 @@ paths: schema: type: object properties: - enabled: &351 + enabled: &353 type: boolean description: Whether GitHub Actions is enabled on the repository. allowed_actions: *40 @@ -49771,8 +50245,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#set-github-actions-permissions-for-a-repository parameters: - - *326 - - *327 + - *328 + - *329 responses: '204': description: Response @@ -49783,7 +50257,7 @@ paths: schema: type: object properties: - enabled: *351 + enabled: *353 allowed_actions: *40 required: - enabled @@ -49814,14 +50288,14 @@ paths: 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 parameters: - - *326 - - *327 + - *328 + - *329 responses: '200': description: Response content: application/json: - schema: &352 + schema: &354 type: object properties: access_level: @@ -49839,7 +50313,7 @@ paths: required: - access_level examples: - default: &353 + default: &355 value: access_level: organization x-github: @@ -49864,15 +50338,15 @@ paths: 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 parameters: - - *326 - - *327 + - *328 + - *329 requestBody: required: true content: application/json: - schema: *352 + schema: *354 examples: - default: *353 + default: *355 responses: '204': description: Response @@ -49896,8 +50370,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#get-allowed-actions-and-reusable-workflows-for-a-repository parameters: - - *326 - - *327 + - *328 + - *329 responses: '200': description: Response @@ -49928,8 +50402,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#set-allowed-actions-and-reusable-workflows-for-a-repository parameters: - - *326 - - *327 + - *328 + - *329 responses: '204': description: Response @@ -49961,8 +50435,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#get-default-workflow-permissions-for-a-repository parameters: - - *326 - - *327 + - *328 + - *329 responses: '200': description: Response @@ -49991,8 +50465,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#set-default-workflow-permissions-for-a-repository parameters: - - *326 - - *327 + - *328 + - *329 responses: '204': description: Success response @@ -50032,8 +50506,8 @@ paths: in: query schema: type: string - - *326 - - *327 + - *328 + - *329 - *17 - *18 responses: @@ -50077,8 +50551,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#list-runner-applications-for-a-repository parameters: - - *326 - - *327 + - *328 + - *329 responses: '200': description: Response @@ -50110,8 +50584,8 @@ paths: 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 parameters: - - *326 - - *327 + - *328 + - *329 requestBody: required: true content: @@ -50184,8 +50658,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#create-a-registration-token-for-a-repository parameters: - - *326 - - *327 + - *328 + - *329 responses: '201': description: Response @@ -50221,8 +50695,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#create-a-remove-token-for-a-repository parameters: - - *326 - - *327 + - *328 + - *329 responses: '201': description: Response @@ -50252,8 +50726,8 @@ paths: 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 parameters: - - *326 - - *327 + - *328 + - *329 - *52 responses: '200': @@ -50283,8 +50757,8 @@ paths: 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 parameters: - - *326 - - *327 + - *328 + - *329 - *52 responses: '204': @@ -50310,8 +50784,8 @@ paths: 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 parameters: - - *326 - - *327 + - *328 + - *329 - *52 responses: '200': *58 @@ -50336,8 +50810,8 @@ paths: 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 parameters: - - *326 - - *327 + - *328 + - *329 - *52 requestBody: required: true @@ -50386,8 +50860,8 @@ paths: 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 parameters: - - *326 - - *327 + - *328 + - *329 - *52 requestBody: required: true @@ -50437,8 +50911,8 @@ paths: 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 parameters: - - *326 - - *327 + - *328 + - *329 - *52 responses: '200': *180 @@ -50468,8 +50942,8 @@ paths: 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 parameters: - - *326 - - *327 + - *328 + - *329 - *52 - *181 responses: @@ -50499,9 +50973,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#list-workflow-runs-for-a-repository parameters: - - *326 - - *327 - - &371 + - *328 + - *329 + - &373 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. @@ -50509,7 +50983,7 @@ paths: required: false schema: type: string - - &372 + - &374 name: branch description: Returns workflow runs associated with a branch. Use the name of the branch of the `push`. @@ -50517,7 +50991,7 @@ paths: required: false schema: type: string - - &373 + - &375 name: event description: Returns workflow run triggered by the event you specify. For example, `push`, `pull_request` or `issue`. For more information, see "[Events @@ -50526,7 +51000,7 @@ paths: required: false schema: type: string - - &374 + - &376 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 @@ -50553,7 +51027,7 @@ paths: - pending - *17 - *18 - - &375 + - &377 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)." @@ -50562,7 +51036,7 @@ paths: schema: type: string format: date-time - - &354 + - &356 name: exclude_pull_requests description: If `true` pull requests are omitted from the response (empty array). @@ -50571,13 +51045,13 @@ paths: schema: type: boolean default: false - - &376 + - &378 name: check_suite_id description: Returns workflow runs with the `check_suite_id` that you specify. in: query schema: type: integer - - &377 + - &379 name: head_sha description: Only returns workflow runs that are associated with the specified `head_sha`. @@ -50600,7 +51074,7 @@ paths: type: integer workflow_runs: type: array - items: &355 + items: &357 title: Workflow Run description: An invocation of a workflow type: object @@ -50717,7 +51191,7 @@ paths: type: - array - 'null' - items: &401 + items: &403 title: Pull Request Minimal type: object properties: @@ -50844,7 +51318,7 @@ paths: head_commit: anyOf: - type: 'null' - - &405 + - &407 title: Simple Commit description: A commit. type: object @@ -50959,7 +51433,7 @@ paths: - workflow_url - pull_requests examples: - default: &378 + default: &380 value: total_count: 1 workflow_runs: @@ -51195,24 +51669,24 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#get-a-workflow-run parameters: - - *326 - - *327 - - &356 + - *328 + - *329 + - &358 name: run_id description: The unique identifier of the workflow run. in: path required: true schema: type: integer - - *354 + - *356 responses: '200': description: Response content: application/json: - schema: *355 + schema: *357 examples: - default: &359 + default: &361 value: id: 30433642 name: Build @@ -51453,9 +51927,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#delete-a-workflow-run parameters: - - *326 - - *327 - - *356 + - *328 + - *329 + - *358 responses: '204': description: Response @@ -51478,9 +51952,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#get-the-review-history-for-a-workflow-run parameters: - - *326 - - *327 - - *356 + - *328 + - *329 + - *358 responses: '200': description: Response @@ -51608,9 +52082,9 @@ paths: 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 parameters: - - *326 - - *327 - - *356 + - *328 + - *329 + - *358 responses: '201': description: Response @@ -51643,12 +52117,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#list-workflow-run-artifacts parameters: - - *326 - - *327 - - *356 + - *328 + - *329 + - *358 - *17 - *18 - - *357 + - *359 responses: '200': description: Response @@ -51664,9 +52138,9 @@ paths: type: integer artifacts: type: array - items: *343 + items: *345 examples: - default: *358 + default: *360 headers: Link: *37 x-github: @@ -51690,25 +52164,25 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#get-a-workflow-run-attempt parameters: - - *326 - - *327 - - *356 - - &360 + - *328 + - *329 + - *358 + - &362 name: attempt_number description: The attempt number of the workflow run. in: path required: true schema: type: integer - - *354 + - *356 responses: '200': description: Response content: application/json: - schema: *355 + schema: *357 examples: - default: *359 + default: *361 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -51731,10 +52205,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-jobs#list-jobs-for-a-workflow-run-attempt parameters: - - *326 - - *327 - - *356 - - *360 + - *328 + - *329 + - *358 + - *362 - *17 - *18 responses: @@ -51752,9 +52226,9 @@ paths: type: integer jobs: type: array - items: *361 + items: *363 examples: - default: &362 + default: &364 value: total_count: 1 jobs: @@ -51867,10 +52341,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#download-workflow-run-attempt-logs parameters: - - *326 - - *327 - - *356 - - *360 + - *328 + - *329 + - *358 + - *362 responses: '302': description: Response @@ -51898,9 +52372,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#cancel-a-workflow-run parameters: - - *326 - - *327 - - *356 + - *328 + - *329 + - *358 responses: '202': description: Response @@ -51933,9 +52407,9 @@ paths: 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 parameters: - - *326 - - *327 - - *356 + - *328 + - *329 + - *358 requestBody: required: true content: @@ -52002,9 +52476,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#force-cancel-a-workflow-run parameters: - - *326 - - *327 - - *356 + - *328 + - *329 + - *358 responses: '202': description: Response @@ -52037,9 +52511,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-jobs#list-jobs-for-a-workflow-run parameters: - - *326 - - *327 - - *356 + - *328 + - *329 + - *358 - 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 @@ -52069,9 +52543,9 @@ paths: type: integer jobs: type: array - items: *361 + items: *363 examples: - default: *362 + default: *364 headers: Link: *37 x-github: @@ -52096,9 +52570,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#download-workflow-run-logs parameters: - - *326 - - *327 - - *356 + - *328 + - *329 + - *358 responses: '302': description: Response @@ -52125,9 +52599,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#delete-workflow-run-logs parameters: - - *326 - - *327 - - *356 + - *328 + - *329 + - *358 responses: '204': description: Response @@ -52154,9 +52628,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#get-pending-deployments-for-a-workflow-run parameters: - - *326 - - *327 - - *356 + - *328 + - *329 + - *358 responses: '200': description: Response @@ -52225,7 +52699,7 @@ paths: items: type: object properties: - type: &476 + type: &478 type: string description: The type of reviewer. enum: @@ -52311,9 +52785,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#review-pending-deployments-for-a-workflow-run parameters: - - *326 - - *327 - - *356 + - *328 + - *329 + - *358 requestBody: required: true content: @@ -52363,7 +52837,7 @@ paths: application/json: schema: type: array - items: &471 + items: &473 title: Deployment description: A request for a specific ref(branch,sha,tag) to be deployed @@ -52475,7 +52949,7 @@ paths: - created_at - updated_at examples: - default: &472 + default: &474 value: - url: https://api.github.com/repos/octocat/example/deployments/1 id: 1 @@ -52531,9 +53005,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#re-run-a-workflow parameters: - - *326 - - *327 - - *356 + - *328 + - *329 + - *358 requestBody: required: false content: @@ -52578,9 +53052,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#re-run-failed-jobs-from-a-workflow-run parameters: - - *326 - - *327 - - *356 + - *328 + - *329 + - *358 requestBody: required: false content: @@ -52627,9 +53101,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#get-workflow-run-usage parameters: - - *326 - - *327 - - *356 + - *328 + - *329 + - *358 responses: '200': description: Response @@ -52766,8 +53240,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#list-repository-secrets parameters: - - *326 - - *327 + - *328 + - *329 - *17 - *18 responses: @@ -52785,9 +53259,9 @@ paths: type: integer secrets: type: array - items: *363 + items: *365 examples: - default: *364 + default: *366 headers: Link: *37 x-github: @@ -52812,16 +53286,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-a-repository-public-key parameters: - - *326 - - *327 + - *328 + - *329 responses: '200': description: Response content: application/json: - schema: *365 + schema: *367 examples: - default: *366 + default: *368 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -52843,17 +53317,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-a-repository-secret parameters: - - *326 - - *327 + - *328 + - *329 - *183 responses: '200': description: Response content: application/json: - schema: *363 + schema: *365 examples: - default: &489 + default: &491 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -52879,8 +53353,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#create-or-update-a-repository-secret parameters: - - *326 - - *327 + - *328 + - *329 - *183 requestBody: required: true @@ -52935,8 +53409,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#delete-a-repository-secret parameters: - - *326 - - *327 + - *328 + - *329 - *183 responses: '204': @@ -52962,9 +53436,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-repository-variables parameters: - - *326 - - *327 - - *350 + - *328 + - *329 + - *352 - *18 responses: '200': @@ -52981,9 +53455,9 @@ paths: type: integer variables: type: array - items: *367 + items: *369 examples: - default: *368 + default: *370 headers: Link: *37 x-github: @@ -53006,8 +53480,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#create-a-repository-variable parameters: - - *326 - - *327 + - *328 + - *329 requestBody: required: true content: @@ -53059,17 +53533,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#get-a-repository-variable parameters: - - *326 - - *327 + - *328 + - *329 - *186 responses: '200': description: Response content: application/json: - schema: *367 + schema: *369 examples: - default: &490 + default: &492 value: name: USERNAME value: octocat @@ -53095,8 +53569,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#update-a-repository-variable parameters: - - *326 - - *327 + - *328 + - *329 - *186 requestBody: required: true @@ -53139,8 +53613,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#delete-a-repository-variable parameters: - - *326 - - *327 + - *328 + - *329 - *186 responses: '204': @@ -53166,8 +53640,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#list-repository-workflows parameters: - - *326 - - *327 + - *328 + - *329 - *17 - *18 responses: @@ -53185,7 +53659,7 @@ paths: type: integer workflows: type: array - items: &369 + items: &371 title: Workflow description: A GitHub Actions workflow type: object @@ -53303,9 +53777,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#get-a-workflow parameters: - - *326 - - *327 - - &370 + - *328 + - *329 + - &372 name: workflow_id in: path description: The ID of the workflow. You can also pass the workflow file name @@ -53320,7 +53794,7 @@ paths: description: Response content: application/json: - schema: *369 + schema: *371 examples: default: value: @@ -53353,9 +53827,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#disable-a-workflow parameters: - - *326 - - *327 - - *370 + - *328 + - *329 + - *372 responses: '204': description: Response @@ -53380,9 +53854,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#create-a-workflow-dispatch-event parameters: - - *326 - - *327 - - *370 + - *328 + - *329 + - *372 responses: '204': description: Response @@ -53433,9 +53907,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#enable-a-workflow parameters: - - *326 - - *327 - - *370 + - *328 + - *329 + - *372 responses: '204': description: Response @@ -53462,19 +53936,19 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#list-workflow-runs-for-a-workflow parameters: - - *326 - - *327 - - *370 - - *371 + - *328 + - *329 - *372 - *373 - *374 - - *17 - - *18 - *375 - - *354 - *376 + - *17 + - *18 - *377 + - *356 + - *378 + - *379 responses: '200': description: Response @@ -53490,9 +53964,9 @@ paths: type: integer workflow_runs: type: array - items: *355 + items: *357 examples: - default: *378 + default: *380 headers: Link: *37 x-github: @@ -53518,9 +53992,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#get-workflow-usage parameters: - - *326 - - *327 - - *370 + - *328 + - *329 + - *372 responses: '200': description: Response @@ -53581,8 +54055,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-activities parameters: - - *326 - - *327 + - *328 + - *329 - *76 - *17 - *74 @@ -53750,8 +54224,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/assignees#list-assignees parameters: - - *326 - - *327 + - *328 + - *329 - *17 - *18 responses: @@ -53788,8 +54262,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/assignees#check-if-a-user-can-be-assigned parameters: - - *326 - - *327 + - *328 + - *329 - name: assignee in: path required: true @@ -53825,8 +54299,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#create-an-attestation parameters: - - *326 - - *327 + - *328 + - *329 requestBody: required: true content: @@ -53938,8 +54412,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-attestations parameters: - - *326 - - *327 + - *328 + - *329 - *17 - *74 - *75 @@ -53985,7 +54459,7 @@ paths: bundle_url: type: string examples: - default: *379 + default: *381 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -54005,8 +54479,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/autolinks#get-all-autolinks-of-a-repository parameters: - - *326 - - *327 + - *328 + - *329 responses: '200': description: Response @@ -54014,7 +54488,7 @@ paths: application/json: schema: type: array - items: &380 + items: &382 title: Autolink reference description: An autolink reference. type: object @@ -54068,8 +54542,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/autolinks#create-an-autolink-reference-for-a-repository parameters: - - *326 - - *327 + - *328 + - *329 requestBody: required: true content: @@ -54108,9 +54582,9 @@ paths: description: response content: application/json: - schema: *380 + schema: *382 examples: - default: &381 + default: &383 value: id: 1 key_prefix: TICKET- @@ -54141,9 +54615,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/autolinks#get-an-autolink-reference-of-a-repository parameters: - - *326 - - *327 - - &382 + - *328 + - *329 + - &384 name: autolink_id description: The unique identifier of the autolink. in: path @@ -54155,9 +54629,9 @@ paths: description: Response content: application/json: - schema: *380 + schema: *382 examples: - default: *381 + default: *383 '404': *6 x-github: githubCloudOnly: false @@ -54177,9 +54651,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/autolinks#delete-an-autolink-reference-from-a-repository parameters: - - *326 - - *327 - - *382 + - *328 + - *329 + - *384 responses: '204': description: Response @@ -54203,8 +54677,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#check-if-automated-security-fixes-are-enabled-for-a-repository parameters: - - *326 - - *327 + - *328 + - *329 responses: '200': description: Response if Dependabot is enabled @@ -54254,8 +54728,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#enable-automated-security-fixes parameters: - - *326 - - *327 + - *328 + - *329 responses: '204': description: Response @@ -54276,8 +54750,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#disable-automated-security-fixes parameters: - - *326 - - *327 + - *328 + - *329 responses: '204': description: Response @@ -54297,8 +54771,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#list-branches parameters: - - *326 - - *327 + - *328 + - *329 - name: protected description: Setting to `true` returns only branches protected by branch protections or rulesets. When set to `false`, only unprotected branches are returned. @@ -54336,7 +54810,7 @@ paths: - url protected: type: boolean - protection: &384 + protection: &386 title: Branch Protection description: Branch Protection type: object @@ -54379,7 +54853,7 @@ paths: required: - contexts - checks - enforce_admins: &387 + enforce_admins: &389 title: Protected Branch Admin Enforced description: Protected Branch Admin Enforced type: object @@ -54396,7 +54870,7 @@ paths: required: - url - enabled - required_pull_request_reviews: &389 + required_pull_request_reviews: &391 title: Protected Branch Pull Request Review description: Protected Branch Pull Request Review type: object @@ -54480,7 +54954,7 @@ paths: required: - dismiss_stale_reviews - require_code_owner_reviews - restrictions: &386 + restrictions: &388 title: Branch Restriction Policy description: Branch Restriction Policy type: object @@ -54805,9 +55279,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#get-a-branch parameters: - - *326 - - *327 - - &385 + - *328 + - *329 + - &387 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). @@ -54821,14 +55295,14 @@ paths: description: Response content: application/json: - schema: &395 + schema: &397 title: Branch With Protection description: Branch With Protection type: object properties: name: type: string - commit: &447 + commit: &449 title: Commit description: Commit type: object @@ -54867,7 +55341,7 @@ paths: author: anyOf: - type: 'null' - - &383 + - &385 title: Git User description: Metaproperties for Git author/committer information. @@ -54888,7 +55362,7 @@ paths: committer: anyOf: - type: 'null' - - *383 + - *385 message: type: string examples: @@ -54912,7 +55386,7 @@ paths: required: - sha - url - verification: &496 + verification: &498 title: Verification type: object properties: @@ -54991,7 +55465,7 @@ paths: type: integer files: type: array - items: &459 + items: &461 title: Diff Entry description: Diff Entry type: object @@ -55085,7 +55559,7 @@ paths: - self protected: type: boolean - protection: *384 + protection: *386 protection_url: type: string format: uri @@ -55194,7 +55668,7 @@ paths: contexts: [] checks: [] protection_url: https://api.github.com/repos/octocat/Hello-World/branches/main/protection - '301': *340 + '301': *342 '404': *6 x-github: githubCloudOnly: false @@ -55216,15 +55690,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-branch-protection parameters: - - *326 - - *327 - - *385 + - *328 + - *329 + - *387 responses: '200': description: Response content: application/json: - schema: *384 + schema: *386 examples: default: value: @@ -55418,9 +55892,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#update-branch-protection parameters: - - *326 - - *327 - - *385 + - *328 + - *329 + - *387 requestBody: required: true content: @@ -55680,7 +56154,7 @@ paths: url: type: string format: uri - required_status_checks: &392 + required_status_checks: &394 title: Status Check Policy description: Status Check Policy type: object @@ -55839,7 +56313,7 @@ paths: additionalProperties: false required: - enabled - restrictions: *386 + restrictions: *388 required_conversation_resolution: type: object properties: @@ -55951,9 +56425,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-branch-protection parameters: - - *326 - - *327 - - *385 + - *328 + - *329 + - *387 responses: '204': description: Response @@ -55978,17 +56452,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-admin-branch-protection parameters: - - *326 - - *327 - - *385 + - *328 + - *329 + - *387 responses: '200': description: Response content: application/json: - schema: *387 + schema: *389 examples: - default: &388 + default: &390 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/enforce_admins enabled: true @@ -56010,17 +56484,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-admin-branch-protection parameters: - - *326 - - *327 - - *385 + - *328 + - *329 + - *387 responses: '200': description: Response content: application/json: - schema: *387 + schema: *389 examples: - default: *388 + default: *390 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -56039,9 +56513,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-admin-branch-protection parameters: - - *326 - - *327 - - *385 + - *328 + - *329 + - *387 responses: '204': description: Response @@ -56066,17 +56540,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-pull-request-review-protection parameters: - - *326 - - *327 - - *385 + - *328 + - *329 + - *387 responses: '200': description: Response content: application/json: - schema: *389 + schema: *391 examples: - default: &390 + default: &392 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_pull_request_reviews dismissal_restrictions: @@ -56172,9 +56646,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#update-pull-request-review-protection parameters: - - *326 - - *327 - - *385 + - *328 + - *329 + - *387 requestBody: required: false content: @@ -56272,9 +56746,9 @@ paths: description: Response content: application/json: - schema: *389 + schema: *391 examples: - default: *390 + default: *392 '422': *15 x-github: githubCloudOnly: false @@ -56295,9 +56769,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-pull-request-review-protection parameters: - - *326 - - *327 - - *385 + - *328 + - *329 + - *387 responses: '204': description: Response @@ -56324,17 +56798,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-commit-signature-protection parameters: - - *326 - - *327 - - *385 + - *328 + - *329 + - *387 responses: '200': description: Response content: application/json: - schema: *387 + schema: *389 examples: - default: &391 + default: &393 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_signatures enabled: true @@ -56357,17 +56831,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#create-commit-signature-protection parameters: - - *326 - - *327 - - *385 + - *328 + - *329 + - *387 responses: '200': description: Response content: application/json: - schema: *387 + schema: *389 examples: - default: *391 + default: *393 '404': *6 x-github: githubCloudOnly: false @@ -56387,9 +56861,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-commit-signature-protection parameters: - - *326 - - *327 - - *385 + - *328 + - *329 + - *387 responses: '204': description: Response @@ -56414,17 +56888,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-status-checks-protection parameters: - - *326 - - *327 - - *385 + - *328 + - *329 + - *387 responses: '200': description: Response content: application/json: - schema: *392 + schema: *394 examples: - default: &393 + default: &395 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_status_checks strict: true @@ -56450,9 +56924,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#update-status-check-protection parameters: - - *326 - - *327 - - *385 + - *328 + - *329 + - *387 requestBody: required: false content: @@ -56504,9 +56978,9 @@ paths: description: Response content: application/json: - schema: *392 + schema: *394 examples: - default: *393 + default: *395 '404': *6 '422': *15 x-github: @@ -56528,9 +57002,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-status-check-protection parameters: - - *326 - - *327 - - *385 + - *328 + - *329 + - *387 responses: '204': description: Response @@ -56554,9 +57028,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-all-status-check-contexts parameters: - - *326 - - *327 - - *385 + - *328 + - *329 + - *387 responses: '200': description: Response @@ -56590,9 +57064,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#add-status-check-contexts parameters: - - *326 - - *327 - - *385 + - *328 + - *329 + - *387 requestBody: required: false content: @@ -56659,9 +57133,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-status-check-contexts parameters: - - *326 - - *327 - - *385 + - *328 + - *329 + - *387 requestBody: required: false content: @@ -56725,9 +57199,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-status-check-contexts parameters: - - *326 - - *327 - - *385 + - *328 + - *329 + - *387 requestBody: content: application/json: @@ -56793,15 +57267,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-access-restrictions parameters: - - *326 - - *327 - - *385 + - *328 + - *329 + - *387 responses: '200': description: Response content: application/json: - schema: *386 + schema: *388 examples: default: value: @@ -56892,9 +57366,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-access-restrictions parameters: - - *326 - - *327 - - *385 + - *328 + - *329 + - *387 responses: '204': description: Response @@ -56917,9 +57391,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-apps-with-access-to-the-protected-branch parameters: - - *326 - - *327 - - *385 + - *328 + - *329 + - *387 responses: '200': description: Response @@ -56929,7 +57403,7 @@ paths: type: array items: *5 examples: - default: &394 + default: &396 value: - id: 1 slug: octoapp @@ -56986,9 +57460,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#add-app-access-restrictions parameters: - - *326 - - *327 - - *385 + - *328 + - *329 + - *387 requestBody: required: true content: @@ -57022,7 +57496,7 @@ paths: type: array items: *5 examples: - default: *394 + default: *396 '422': *15 x-github: githubCloudOnly: false @@ -57043,9 +57517,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-app-access-restrictions parameters: - - *326 - - *327 - - *385 + - *328 + - *329 + - *387 requestBody: required: true content: @@ -57079,7 +57553,7 @@ paths: type: array items: *5 examples: - default: *394 + default: *396 '422': *15 x-github: githubCloudOnly: false @@ -57100,9 +57574,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-app-access-restrictions parameters: - - *326 - - *327 - - *385 + - *328 + - *329 + - *387 requestBody: required: true content: @@ -57136,7 +57610,7 @@ paths: type: array items: *5 examples: - default: *394 + default: *396 '422': *15 x-github: githubCloudOnly: false @@ -57158,9 +57632,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-teams-with-access-to-the-protected-branch parameters: - - *326 - - *327 - - *385 + - *328 + - *329 + - *387 responses: '200': description: Response @@ -57190,9 +57664,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#add-team-access-restrictions parameters: - - *326 - - *327 - - *385 + - *328 + - *329 + - *387 requestBody: required: false content: @@ -57251,9 +57725,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-team-access-restrictions parameters: - - *326 - - *327 - - *385 + - *328 + - *329 + - *387 requestBody: required: false content: @@ -57312,9 +57786,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-team-access-restrictions parameters: - - *326 - - *327 - - *385 + - *328 + - *329 + - *387 requestBody: content: application/json: @@ -57373,9 +57847,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-users-with-access-to-the-protected-branch parameters: - - *326 - - *327 - - *385 + - *328 + - *329 + - *387 responses: '200': description: Response @@ -57409,9 +57883,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#add-user-access-restrictions parameters: - - *326 - - *327 - - *385 + - *328 + - *329 + - *387 requestBody: required: true content: @@ -57469,9 +57943,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-user-access-restrictions parameters: - - *326 - - *327 - - *385 + - *328 + - *329 + - *387 requestBody: required: true content: @@ -57529,9 +58003,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-user-access-restrictions parameters: - - *326 - - *327 - - *385 + - *328 + - *329 + - *387 requestBody: required: true content: @@ -57591,9 +58065,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#rename-a-branch parameters: - - *326 - - *327 - - *385 + - *328 + - *329 + - *387 requestBody: required: true content: @@ -57615,7 +58089,7 @@ paths: description: Response content: application/json: - schema: *395 + schema: *397 examples: default: value: @@ -57729,12 +58203,12 @@ paths: category: repos subcategory: bypass-requests parameters: - - *326 - - *327 - - *396 - - *397 - - *287 + - *328 + - *329 - *398 + - *399 + - *289 + - *400 - *17 - *18 responses: @@ -57744,9 +58218,9 @@ paths: application/json: schema: type: array - items: *399 + items: *401 examples: - default: *400 + default: *402 '404': *6 '500': *87 "/repos/{owner}/{repo}/bypass-requests/push-rules/{bypass_request_number}": @@ -57766,8 +58240,8 @@ paths: category: repos subcategory: bypass-requests parameters: - - *326 - - *327 + - *328 + - *329 - name: bypass_request_number in: path required: true @@ -57781,7 +58255,7 @@ paths: description: Response content: application/json: - schema: *399 + schema: *401 examples: default: value: @@ -57839,8 +58313,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#create-a-check-run parameters: - - *326 - - *327 + - *328 + - *329 requestBody: required: true content: @@ -58119,7 +58593,7 @@ paths: description: Response content: application/json: - schema: &402 + schema: &404 title: CheckRun description: A check performed on the code of a given code change type: object @@ -58254,8 +58728,8 @@ paths: do not necessarily indicate pull requests that triggered the check. type: array - items: *401 - deployment: &706 + items: *403 + deployment: &708 title: Deployment description: A deployment created as the result of an Actions check run from a workflow that references an environment @@ -58542,9 +59016,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#get-a-check-run parameters: - - *326 - - *327 - - &403 + - *328 + - *329 + - &405 name: check_run_id description: The unique identifier of the check run. in: path @@ -58556,9 +59030,9 @@ paths: description: Response content: application/json: - schema: *402 + schema: *404 examples: - default: &404 + default: &406 value: id: 4 head_sha: ce587453ced02b1526dfb4cb910479d431683101 @@ -58658,9 +59132,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#update-a-check-run parameters: - - *326 - - *327 - - *403 + - *328 + - *329 + - *405 requestBody: required: true content: @@ -58900,9 +59374,9 @@ paths: description: Response content: application/json: - schema: *402 + schema: *404 examples: - default: *404 + default: *406 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -58922,9 +59396,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#list-check-run-annotations parameters: - - *326 - - *327 - - *403 + - *328 + - *329 + - *405 - *17 - *18 responses: @@ -59036,9 +59510,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#rerequest-a-check-run parameters: - - *326 - - *327 - - *403 + - *328 + - *329 + - *405 responses: '201': description: Response @@ -59082,8 +59556,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#create-a-check-suite parameters: - - *326 - - *327 + - *328 + - *329 requestBody: required: true content: @@ -59105,7 +59579,7 @@ paths: description: Response when the suite already exists content: application/json: - schema: &406 + schema: &408 title: CheckSuite description: A suite of checks performed on the code of a given code change @@ -59187,7 +59661,7 @@ paths: type: - array - 'null' - items: *401 + items: *403 app: anyOf: - type: 'null' @@ -59203,7 +59677,7 @@ paths: - string - 'null' format: date-time - head_commit: *405 + head_commit: *407 latest_check_runs_count: type: integer check_runs_url: @@ -59231,7 +59705,7 @@ paths: - check_runs_url - pull_requests examples: - default: &407 + default: &409 value: id: 5 node_id: MDEwOkNoZWNrU3VpdGU1 @@ -59522,9 +59996,9 @@ paths: description: Response when the suite was created content: application/json: - schema: *406 + schema: *408 examples: - default: *407 + default: *409 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -59543,8 +60017,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#update-repository-preferences-for-check-suites parameters: - - *326 - - *327 + - *328 + - *329 requestBody: required: true content: @@ -59853,9 +60327,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#get-a-check-suite parameters: - - *326 - - *327 - - &408 + - *328 + - *329 + - &410 name: check_suite_id description: The unique identifier of the check suite. in: path @@ -59867,9 +60341,9 @@ paths: description: Response content: application/json: - schema: *406 + schema: *408 examples: - default: *407 + default: *409 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -59892,17 +60366,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#list-check-runs-in-a-check-suite parameters: - - *326 - - *327 - - *408 - - &454 + - *328 + - *329 + - *410 + - &456 name: check_name description: Returns check runs with the specified `name`. in: query required: false schema: type: string - - &455 + - &457 name: status description: Returns check runs with the specified `status`. in: query @@ -59941,9 +60415,9 @@ paths: type: integer check_runs: type: array - items: *402 + items: *404 examples: - default: &456 + default: &458 value: total_count: 1 check_runs: @@ -60045,9 +60519,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#rerequest-a-check-suite parameters: - - *326 - - *327 - - *408 + - *328 + - *329 + - *410 responses: '201': description: Response @@ -60080,21 +60554,21 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#list-code-scanning-alerts-for-a-repository parameters: - - *326 - - *327 + - *328 + - *329 - *196 - *197 - *18 - *17 - - &424 + - &426 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: *409 - - &425 + schema: *411 + - &427 name: pr description: The number of the pull request for the results you want to list. in: query @@ -60125,7 +60599,7 @@ paths: be returned. in: query required: false - schema: *410 + schema: *412 responses: '200': description: Response @@ -60141,7 +60615,7 @@ paths: updated_at: *95 url: *92 html_url: *93 - instances_url: *411 + instances_url: *413 state: *79 fixed_at: *97 dismissed_by: @@ -60149,11 +60623,11 @@ paths: - type: 'null' - *4 dismissed_at: *96 - dismissed_reason: *412 - dismissed_comment: *413 - rule: *414 - tool: *415 - most_recent_instance: *416 + dismissed_reason: *414 + dismissed_comment: *415 + rule: *416 + tool: *417 + most_recent_instance: *418 required: - number - created_at @@ -60269,7 +60743,7 @@ paths: classifications: [] instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/3/instances '304': *35 - '403': &417 + '403': &419 description: Response if GitHub Advanced Security is not enabled for this repository content: @@ -60296,9 +60770,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#get-a-code-scanning-alert parameters: - - *326 - - *327 - - &418 + - *328 + - *329 + - &420 name: alert_number in: path description: The number that identifies an alert. You can find this at the @@ -60312,7 +60786,7 @@ paths: description: Response content: application/json: - schema: &419 + schema: &421 type: object properties: number: *88 @@ -60320,7 +60794,7 @@ paths: updated_at: *95 url: *92 html_url: *93 - instances_url: *411 + instances_url: *413 state: *79 fixed_at: *97 dismissed_by: @@ -60328,8 +60802,8 @@ paths: - type: 'null' - *4 dismissed_at: *96 - dismissed_reason: *412 - dismissed_comment: *413 + dismissed_reason: *414 + dismissed_comment: *415 rule: type: object properties: @@ -60391,8 +60865,8 @@ paths: - 'null' description: A link to the documentation for the rule used to detect the alert. - tool: *415 - most_recent_instance: *416 + tool: *417 + most_recent_instance: *418 required: - number - created_at @@ -60481,7 +60955,7 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '304': *35 - '403': *417 + '403': *419 '404': *6 '503': *115 x-github: @@ -60501,9 +60975,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#update-a-code-scanning-alert parameters: - - *326 - - *327 - - *418 + - *328 + - *329 + - *420 requestBody: required: true content: @@ -60518,8 +60992,8 @@ paths: enum: - open - dismissed - dismissed_reason: *412 - dismissed_comment: *413 + dismissed_reason: *414 + dismissed_comment: *415 required: - state examples: @@ -60534,7 +61008,7 @@ paths: description: Response content: application/json: - schema: *419 + schema: *421 examples: default: value: @@ -60609,7 +61083,7 @@ paths: classifications: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances - '403': &423 + '403': &425 description: Response if the repository is archived or if GitHub Advanced Security is not enabled for this repository content: @@ -60636,15 +61110,15 @@ paths: 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 parameters: - - *326 - - *327 - - *418 + - *328 + - *329 + - *420 responses: '200': description: Response content: application/json: - schema: &420 + schema: &422 type: object properties: status: @@ -60671,13 +61145,13 @@ paths: - description - started_at examples: - default: &421 + default: &423 value: status: success description: This fixes an XSS vulnerability by escaping the user input. started_at: '2024-02-14T12:29:18Z' - '400': &422 + '400': &424 description: Bad Request content: application/json: @@ -60688,7 +61162,7 @@ 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': *417 + '403': *419 '404': *6 '503': *115 x-github: @@ -60713,29 +61187,29 @@ paths: 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 parameters: - - *326 - - *327 - - *418 + - *328 + - *329 + - *420 responses: '200': description: OK content: application/json: - schema: *420 + schema: *422 examples: - default: *421 + default: *423 '202': description: Accepted content: application/json: - schema: *420 + schema: *422 examples: default: value: status: pending description: started_at: '2024-02-14T12:29:18Z' - '400': *422 + '400': *424 '403': description: Response if the repository is archived, if GitHub Advanced Security is not enabled for this repository or if rate limit is exceeded @@ -60767,9 +61241,9 @@ paths: 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 parameters: - - *326 - - *327 - - *418 + - *328 + - *329 + - *420 requestBody: required: false content: @@ -60815,8 +61289,8 @@ paths: value: target_ref: refs/heads/main sha: 178f4f6090b3fccad4a65b3e83d076a622d59652 - '400': *422 - '403': *423 + '400': *424 + '403': *425 '404': *6 '422': description: Unprocessable Entity @@ -60840,13 +61314,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#list-instances-of-a-code-scanning-alert parameters: - - *326 - - *327 - - *418 + - *328 + - *329 + - *420 - *18 - *17 - - *424 - - *425 + - *426 + - *427 responses: '200': description: Response @@ -60854,7 +61328,7 @@ paths: application/json: schema: type: array - items: *416 + items: *418 examples: default: value: @@ -60893,7 +61367,7 @@ paths: end_column: 50 classifications: - source - '403': *417 + '403': *419 '404': *6 '503': *115 x-github: @@ -60927,25 +61401,25 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#list-code-scanning-analyses-for-a-repository parameters: - - *326 - - *327 + - *328 + - *329 - *196 - *197 - *18 - *17 - - *425 + - *427 - 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: *409 + schema: *411 - name: sarif_id in: query description: Filter analyses belonging to the same SARIF upload. required: false - schema: &428 + schema: &430 type: string description: An identifier for the upload. examples: @@ -60967,23 +61441,23 @@ paths: application/json: schema: type: array - items: &429 + items: &431 type: object properties: - ref: *409 - commit_sha: &437 + ref: *411 + commit_sha: &439 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: *426 + analysis_key: *428 environment: type: string description: Identifies the variable values associated with the environment in which this analysis was performed. - category: *427 + category: *429 error: type: string examples: @@ -61008,8 +61482,8 @@ paths: description: The REST API URL of the analysis resource. format: uri readOnly: true - sarif_id: *428 - tool: *415 + sarif_id: *430 + tool: *417 deletable: type: boolean warning: @@ -61071,7 +61545,7 @@ paths: version: 1.2.0 deletable: true warning: '' - '403': *417 + '403': *419 '404': *6 '503': *115 x-github: @@ -61107,8 +61581,8 @@ paths: 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 parameters: - - *326 - - *327 + - *328 + - *329 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -61121,7 +61595,7 @@ paths: description: Response content: application/json: - schema: *429 + schema: *431 examples: response: summary: application/json response @@ -61175,7 +61649,7 @@ paths: properties: - github/alertNumber: 2 - github/alertUrl: https://api.github.com/repos/monalisa/monalisa/code-scanning/alerts/2 - '403': *417 + '403': *419 '404': *6 '503': *115 x-github: @@ -61257,8 +61731,8 @@ paths: 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 parameters: - - *326 - - *327 + - *328 + - *329 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -61314,7 +61788,7 @@ 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': *423 + '403': *425 '404': *6 '503': *115 x-github: @@ -61336,8 +61810,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#list-codeql-databases-for-a-repository parameters: - - *326 - - *327 + - *328 + - *329 responses: '200': description: Response @@ -61345,7 +61819,7 @@ paths: application/json: schema: type: array - items: &430 + items: &432 title: CodeQL Database description: A CodeQL database. type: object @@ -61457,7 +61931,7 @@ 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': *417 + '403': *419 '404': *6 '503': *115 x-github: @@ -61486,8 +61960,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#get-a-codeql-database-for-a-repository parameters: - - *326 - - *327 + - *328 + - *329 - name: language in: path description: The language of the CodeQL database. @@ -61499,7 +61973,7 @@ paths: description: Response content: application/json: - schema: *430 + schema: *432 examples: default: value: @@ -61531,9 +62005,9 @@ 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': &461 + '302': &463 description: Found - '403': *417 + '403': *419 '404': *6 '503': *115 x-github: @@ -61555,8 +62029,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#delete-a-codeql-database parameters: - - *326 - - *327 + - *328 + - *329 - name: language in: path description: The language of the CodeQL database. @@ -61566,7 +62040,7 @@ paths: responses: '204': description: Response - '403': *423 + '403': *425 '404': *6 '503': *115 x-github: @@ -61594,8 +62068,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#create-a-codeql-variant-analysis parameters: - - *326 - - *327 + - *328 + - *329 requestBody: required: true content: @@ -61604,7 +62078,7 @@ paths: type: object additionalProperties: false properties: - language: &431 + language: &433 type: string description: The language targeted by the CodeQL query enum: @@ -61682,7 +62156,7 @@ paths: description: Variant analysis submitted for processing content: application/json: - schema: &435 + schema: &437 title: Variant Analysis description: A run of a CodeQL query against one or more repositories. type: object @@ -61692,7 +62166,7 @@ paths: description: The ID of the variant analysis. controller_repo: *86 actor: *4 - query_language: *431 + query_language: *433 query_pack_url: type: string description: The download url for the query pack. @@ -61740,7 +62214,7 @@ paths: items: type: object properties: - repository: &432 + repository: &434 title: Repository Identifier description: Repository Identifier type: object @@ -61782,7 +62256,7 @@ paths: - private - stargazers_count - updated_at - analysis_status: &436 + analysis_status: &438 type: string description: The new status of the CodeQL variant analysis repository task. @@ -61814,7 +62288,7 @@ paths: from processing. This information is only available to the user that initiated the variant analysis. properties: - access_mismatch_repos: &433 + access_mismatch_repos: &435 type: object properties: repository_count: @@ -61829,7 +62303,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: *432 + items: *434 required: - repository_count - repositories @@ -61852,8 +62326,8 @@ paths: required: - repository_count - repository_full_names - no_codeql_db_repos: *433 - over_limit_repos: *433 + no_codeql_db_repos: *435 + over_limit_repos: *435 required: - access_mismatch_repos - not_found_repos @@ -61869,7 +62343,7 @@ paths: examples: repositories_parameter: summary: Response for a successful variant analysis submission - value: &434 + value: &436 summary: Default response value: id: 1 @@ -62021,10 +62495,10 @@ paths: private: false repository_owners: summary: Response for a successful variant analysis submission - value: *434 + value: *436 repository_lists: summary: Response for a successful variant analysis submission - value: *434 + value: *436 '404': *6 '422': description: Unable to process variant analysis submission @@ -62052,8 +62526,8 @@ paths: 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 parameters: - - *326 - - *327 + - *328 + - *329 - name: codeql_variant_analysis_id in: path description: The unique identifier of the variant analysis. @@ -62065,9 +62539,9 @@ paths: description: Response content: application/json: - schema: *435 + schema: *437 examples: - default: *434 + default: *436 '404': *6 '503': *115 x-github: @@ -62090,7 +62564,7 @@ paths: 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 parameters: - - *326 + - *328 - name: repo in: path description: The name of the controller repository. @@ -62125,7 +62599,7 @@ paths: type: object properties: repository: *86 - analysis_status: *436 + analysis_status: *438 artifact_size_in_bytes: type: integer description: The size of the artifact. This is only available @@ -62250,8 +62724,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#get-a-code-scanning-default-setup-configuration parameters: - - *326 - - *327 + - *328 + - *329 responses: '200': description: Response @@ -62316,7 +62790,7 @@ paths: query_suite: default updated_at: '2023-01-19T11:21:34Z' schedule: weekly - '403': *417 + '403': *419 '404': *6 '503': *115 x-github: @@ -62337,8 +62811,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#update-a-code-scanning-default-setup-configuration parameters: - - *326 - - *327 + - *328 + - *329 requestBody: required: true content: @@ -62421,7 +62895,7 @@ paths: value: run_id: 42 run_url: https://api.github.com/repos/octoorg/octocat/actions/runs/42 - '403': *423 + '403': *425 '404': *6 '409': description: Response if there is already a validation run in progress with @@ -62486,8 +62960,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#upload-an-analysis-as-sarif-data parameters: - - *326 - - *327 + - *328 + - *329 requestBody: required: true content: @@ -62495,7 +62969,7 @@ paths: schema: type: object properties: - commit_sha: *437 + commit_sha: *439 ref: type: string description: |- @@ -62555,7 +63029,7 @@ paths: schema: type: object properties: - id: *428 + id: *430 url: type: string description: The REST API URL for checking the status of the upload. @@ -62569,7 +63043,7 @@ 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': *423 + '403': *425 '404': *6 '413': description: Payload Too Large if the sarif field is too large @@ -62592,8 +63066,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#get-information-about-a-sarif-upload parameters: - - *326 - - *327 + - *328 + - *329 - name: sarif_id description: The SARIF ID obtained after uploading. in: path @@ -62641,7 +63115,7 @@ 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': *417 + '403': *419 '404': description: Not Found if the sarif id does not match any upload '503': *115 @@ -62666,8 +63140,8 @@ paths: 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 parameters: - - *326 - - *327 + - *328 + - *329 responses: '200': description: Response @@ -62745,8 +63219,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-codeowners-errors parameters: - - *326 - - *327 + - *328 + - *329 - 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 @@ -62874,8 +63348,8 @@ paths: parameters: - *17 - *18 - - *326 - - *327 + - *328 + - *329 responses: '200': description: Response @@ -63189,8 +63663,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#create-a-codespace-in-a-repository parameters: - - *326 - - *327 + - *328 + - *329 requestBody: required: true content: @@ -63256,7 +63730,7 @@ paths: application/json: schema: *255 examples: - default: *438 + default: *440 '202': description: Response when the codespace creation partially failed but is being retried in the background @@ -63264,7 +63738,7 @@ paths: application/json: schema: *255 examples: - default: *438 + default: *440 '400': *14 '401': *23 '403': *27 @@ -63293,8 +63767,8 @@ paths: parameters: - *17 - *18 - - *326 - - *327 + - *328 + - *329 responses: '200': description: Response @@ -63358,8 +63832,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/machines#list-available-machine-types-for-a-repository parameters: - - *326 - - *327 + - *328 + - *329 - name: location description: The location to check for available machines. Assigned by IP if not provided. @@ -63396,9 +63870,9 @@ paths: type: integer machines: type: array - items: *439 + items: *441 examples: - default: &663 + default: &665 value: total_count: 2 machines: @@ -63438,8 +63912,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#get-default-attributes-for-a-codespace parameters: - - *326 - - *327 + - *328 + - *329 - name: ref description: The branch or commit to check for a default devcontainer path. If not specified, the default branch will be checked. @@ -63526,8 +64000,8 @@ paths: 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 parameters: - - *326 - - *327 + - *328 + - *329 - 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 @@ -63596,8 +64070,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#list-repository-secrets parameters: - - *326 - - *327 + - *328 + - *329 - *17 - *18 responses: @@ -63615,7 +64089,7 @@ paths: type: integer secrets: type: array - items: &443 + items: &445 title: Codespaces Secret description: Set repository secrets for GitHub Codespaces. type: object @@ -63636,7 +64110,7 @@ paths: - created_at - updated_at examples: - default: *440 + default: *442 headers: Link: *37 x-github: @@ -63659,16 +64133,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#get-a-repository-public-key parameters: - - *326 - - *327 + - *328 + - *329 responses: '200': description: Response content: application/json: - schema: *441 + schema: *443 examples: - default: *442 + default: *444 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -63688,17 +64162,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#get-a-repository-secret parameters: - - *326 - - *327 + - *328 + - *329 - *183 responses: '200': description: Response content: application/json: - schema: *443 + schema: *445 examples: - default: *444 + default: *446 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -63718,8 +64192,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#create-or-update-a-repository-secret parameters: - - *326 - - *327 + - *328 + - *329 - *183 requestBody: required: true @@ -63772,8 +64246,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#delete-a-repository-secret parameters: - - *326 - - *327 + - *328 + - *329 - *183 responses: '204': @@ -63802,8 +64276,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#list-repository-collaborators parameters: - - *326 - - *327 + - *328 + - *329 - name: affiliation description: Filter collaborators returned by their affiliation. `outside` means all outside collaborators of an organization-owned repository. `direct` @@ -63841,7 +64315,7 @@ paths: application/json: schema: type: array - items: &445 + items: &447 title: Collaborator description: Collaborator type: object @@ -64034,8 +64508,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#check-if-a-user-is-a-repository-collaborator parameters: - - *326 - - *327 + - *328 + - *329 - *195 responses: '204': @@ -64078,8 +64552,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#add-a-repository-collaborator parameters: - - *326 - - *327 + - *328 + - *329 - *195 requestBody: required: false @@ -64106,7 +64580,7 @@ paths: description: Response when a new invitation is created content: application/json: - schema: &509 + schema: &511 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -64327,8 +64801,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#remove-a-repository-collaborator parameters: - - *326 - - *327 + - *328 + - *329 - *195 responses: '204': @@ -64358,8 +64832,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#get-repository-permissions-for-a-user parameters: - - *326 - - *327 + - *328 + - *329 - *195 responses: '200': @@ -64380,7 +64854,7 @@ paths: user: anyOf: - type: 'null' - - *445 + - *447 required: - permission - role_name @@ -64434,8 +64908,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#list-commit-comments-for-a-repository parameters: - - *326 - - *327 + - *328 + - *329 - *17 - *18 responses: @@ -64445,7 +64919,7 @@ paths: application/json: schema: type: array - items: &446 + items: &448 title: Commit Comment description: Commit Comment type: object @@ -64503,7 +64977,7 @@ paths: - created_at - updated_at examples: - default: &449 + default: &451 value: - html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -64562,17 +65036,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#get-a-commit-comment parameters: - - *326 - - *327 + - *328 + - *329 - *134 responses: '200': description: Response content: application/json: - schema: *446 + schema: *448 examples: - default: &450 + default: &452 value: html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -64629,8 +65103,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#update-a-commit-comment parameters: - - *326 - - *327 + - *328 + - *329 - *134 requestBody: required: true @@ -64653,7 +65127,7 @@ paths: description: Response content: application/json: - schema: *446 + schema: *448 examples: default: value: @@ -64704,8 +65178,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#delete-a-commit-comment parameters: - - *326 - - *327 + - *328 + - *329 - *134 responses: '204': @@ -64727,8 +65201,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-commit-comment parameters: - - *326 - - *327 + - *328 + - *329 - *134 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). @@ -64755,9 +65229,9 @@ paths: application/json: schema: type: array - items: *315 + items: *317 examples: - default: *317 + default: *319 headers: Link: *37 '404': *6 @@ -64778,8 +65252,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-commit-comment parameters: - - *326 - - *327 + - *328 + - *329 - *134 requestBody: required: true @@ -64812,16 +65286,16 @@ paths: description: Reaction exists content: application/json: - schema: *315 + schema: *317 examples: - default: *316 + default: *318 '201': description: Reaction created content: application/json: - schema: *315 + schema: *317 examples: - default: *316 + default: *318 '422': *15 x-github: githubCloudOnly: false @@ -64843,10 +65317,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-a-commit-comment-reaction parameters: - - *326 - - *327 + - *328 + - *329 - *134 - - *318 + - *320 responses: '204': description: Response @@ -64895,8 +65369,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#list-commits parameters: - - *326 - - *327 + - *328 + - *329 - name: sha description: 'SHA or branch to start listing commits from. Default: the repository’s default branch (usually `main`).' @@ -64952,9 +65426,9 @@ paths: application/json: schema: type: array - items: *447 + items: *449 examples: - default: &557 + default: &559 value: - url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -65048,9 +65522,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#list-branches-for-head-commit parameters: - - *326 - - *327 - - &448 + - *328 + - *329 + - &450 name: commit_sha description: The SHA of the commit. in: path @@ -65122,9 +65596,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#list-commit-comments parameters: - - *326 - - *327 - - *448 + - *328 + - *329 + - *450 - *17 - *18 responses: @@ -65134,9 +65608,9 @@ paths: application/json: schema: type: array - items: *446 + items: *448 examples: - default: *449 + default: *451 headers: Link: *37 x-github: @@ -65164,9 +65638,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#create-a-commit-comment parameters: - - *326 - - *327 - - *448 + - *328 + - *329 + - *450 requestBody: required: true content: @@ -65201,9 +65675,9 @@ paths: description: Response content: application/json: - schema: *446 + schema: *448 examples: - default: *450 + default: *452 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -65231,9 +65705,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#list-pull-requests-associated-with-a-commit parameters: - - *326 - - *327 - - *448 + - *328 + - *329 + - *450 - *17 - *18 responses: @@ -65243,7 +65717,7 @@ paths: application/json: schema: type: array - items: &548 + items: &550 title: Pull Request Simple description: Pull Request Simple type: object @@ -65363,7 +65837,7 @@ paths: milestone: anyOf: - type: 'null' - - *451 + - *453 active_lock_reason: type: - string @@ -65462,7 +65936,7 @@ paths: _links: type: object properties: - comments: &452 + comments: &454 title: Link description: Hypermedia Link type: object @@ -65471,13 +65945,13 @@ paths: type: string required: - href - commits: *452 - statuses: *452 - html: *452 - issue: *452 - review_comments: *452 - review_comment: *452 - self: *452 + commits: *454 + statuses: *454 + html: *454 + issue: *454 + review_comments: *454 + review_comment: *454 + self: *454 required: - comments - commits @@ -65488,7 +65962,7 @@ paths: - review_comment - self author_association: *122 - auto_merge: &550 + auto_merge: &552 title: Auto merge description: The status of auto merging a pull request. type: @@ -65553,7 +66027,7 @@ paths: - author_association - auto_merge examples: - default: &549 + default: &551 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -66090,11 +66564,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#get-a-commit parameters: - - *326 - - *327 + - *328 + - *329 - *18 - *17 - - &453 + - &455 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)" @@ -66109,9 +66583,9 @@ paths: description: Response content: application/json: - schema: *447 + schema: *449 examples: - default: &536 + default: &538 value: url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -66224,11 +66698,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#list-check-runs-for-a-git-reference parameters: - - *326 - - *327 - - *453 - - *454 + - *328 + - *329 - *455 + - *456 + - *457 - name: filter description: Filters check runs by their `completed_at` timestamp. `latest` returns the most recent check runs. @@ -66262,9 +66736,9 @@ paths: type: integer check_runs: type: array - items: *402 + items: *404 examples: - default: *456 + default: *458 headers: Link: *37 x-github: @@ -66289,9 +66763,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#list-check-suites-for-a-git-reference parameters: - - *326 - - *327 - - *453 + - *328 + - *329 + - *455 - name: app_id description: Filters check suites by GitHub App `id`. in: query @@ -66299,7 +66773,7 @@ paths: schema: type: integer example: 1 - - *454 + - *456 - *17 - *18 responses: @@ -66317,7 +66791,7 @@ paths: type: integer check_suites: type: array - items: *406 + items: *408 examples: default: value: @@ -66517,9 +66991,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/statuses#get-the-combined-status-for-a-specific-reference parameters: - - *326 - - *327 - - *453 + - *328 + - *329 + - *455 - *17 - *18 responses: @@ -66721,9 +67195,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/statuses#list-commit-statuses-for-a-reference parameters: - - *326 - - *327 - - *453 + - *328 + - *329 + - *455 - *17 - *18 responses: @@ -66733,7 +67207,7 @@ paths: application/json: schema: type: array - items: &611 + items: &613 title: Status description: The status of a commit. type: object @@ -66814,7 +67288,7 @@ paths: site_admin: false headers: Link: *37 - '301': *340 + '301': *342 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -66842,8 +67316,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/community#get-community-profile-metrics parameters: - - *326 - - *327 + - *328 + - *329 responses: '200': description: Response @@ -66876,11 +67350,11 @@ paths: code_of_conduct: anyOf: - type: 'null' - - *457 + - *459 code_of_conduct_file: anyOf: - type: 'null' - - &458 + - &460 title: Community Health File type: object properties: @@ -66900,19 +67374,19 @@ paths: contributing: anyOf: - type: 'null' - - *458 + - *460 readme: anyOf: - type: 'null' - - *458 + - *460 issue_template: anyOf: - type: 'null' - - *458 + - *460 pull_request_template: anyOf: - type: 'null' - - *458 + - *460 required: - code_of_conduct - code_of_conduct_file @@ -67041,8 +67515,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#compare-two-commits parameters: - - *326 - - *327 + - *328 + - *329 - *18 - *17 - name: basehead @@ -67090,8 +67564,8 @@ paths: format: uri examples: - https://github.com/octocat/Hello-World/compare/master...topic.patch - base_commit: *447 - merge_base_commit: *447 + base_commit: *449 + merge_base_commit: *449 status: type: string enum: @@ -67115,10 +67589,10 @@ paths: - 6 commits: type: array - items: *447 + items: *449 files: type: array - items: *459 + items: *461 required: - url - html_url @@ -67404,8 +67878,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#get-repository-content parameters: - - *326 - - *327 + - *328 + - *329 - name: path description: path parameter in: path @@ -67556,7 +68030,7 @@ paths: - type - url examples: - response-if-content-is-a-file: &460 + response-if-content-is-a-file: &462 summary: Response if content is a file value: type: file @@ -67693,7 +68167,7 @@ paths: - size - type - url - - &562 + - &564 title: Content File description: Content File type: object @@ -67911,7 +68385,7 @@ paths: - url - submodule_git_url examples: - response-if-content-is-a-file: *460 + response-if-content-is-a-file: *462 response-if-content-is-a-directory: summary: Response if content is a directory and the application/json media type is requested @@ -67980,7 +68454,7 @@ paths: html: https://github.com/jquery/qunit/tree/6ca3721222109997540bd6d9ccd396902e0ad2f9 '404': *6 '403': *27 - '302': *461 + '302': *463 '304': *35 x-github: githubCloudOnly: false @@ -68003,8 +68477,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#create-or-update-file-contents parameters: - - *326 - - *327 + - *328 + - *329 - name: path description: path parameter in: path @@ -68099,7 +68573,7 @@ paths: description: Response content: application/json: - schema: &462 + schema: &464 title: File Commit description: File Commit type: object @@ -68255,7 +68729,7 @@ paths: description: Response content: application/json: - schema: *462 + schema: *464 examples: example-for-creating-a-file: value: @@ -68309,7 +68783,7 @@ paths: schema: oneOf: - *3 - - &491 + - &493 description: Repository rule violation was detected type: object properties: @@ -68330,7 +68804,7 @@ paths: items: type: object properties: - placeholder_id: &603 + placeholder_id: &605 description: The ID of the push protection bypass placeholder. This value is returned on any push protected routes. @@ -68362,8 +68836,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#delete-a-file parameters: - - *326 - - *327 + - *328 + - *329 - name: path description: path parameter in: path @@ -68424,7 +68898,7 @@ paths: description: Response content: application/json: - schema: *462 + schema: *464 examples: default: value: @@ -68479,8 +68953,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-contributors parameters: - - *326 - - *327 + - *328 + - *329 - name: anon description: Set to `1` or `true` to include anonymous contributors in results. in: query @@ -68604,8 +69078,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#list-dependabot-alerts-for-a-repository parameters: - - *326 - - *327 + - *328 + - *329 - *215 - *216 - *217 @@ -68646,7 +69120,7 @@ paths: application/json: schema: type: array - items: &465 + items: &467 type: object description: A Dependabot alert. properties: @@ -68681,7 +69155,7 @@ paths: - development - runtime - - security_advisory: *463 + security_advisory: *465 security_vulnerability: *91 url: *92 html_url: *93 @@ -68712,7 +69186,7 @@ paths: dismissal. maxLength: 280 fixed_at: *97 - auto_dismissed_at: *464 + auto_dismissed_at: *466 required: - number - state @@ -68939,9 +69413,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#get-a-dependabot-alert parameters: - - *326 - - *327 - - &466 + - *328 + - *329 + - &468 name: alert_number in: path description: |- @@ -68956,7 +69430,7 @@ paths: description: Response content: application/json: - schema: *465 + schema: *467 examples: default: value: @@ -69066,9 +69540,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#update-a-dependabot-alert parameters: - - *326 - - *327 - - *466 + - *328 + - *329 + - *468 requestBody: required: true content: @@ -69113,7 +69587,7 @@ paths: description: Response content: application/json: - schema: *465 + schema: *467 examples: default: value: @@ -69242,8 +69716,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#list-repository-secrets parameters: - - *326 - - *327 + - *328 + - *329 - *17 - *18 responses: @@ -69261,7 +69735,7 @@ paths: type: integer secrets: type: array - items: &469 + items: &471 title: Dependabot Secret description: Set secrets for Dependabot. type: object @@ -69315,16 +69789,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#get-a-repository-public-key parameters: - - *326 - - *327 + - *328 + - *329 responses: '200': description: Response content: application/json: - schema: *467 + schema: *469 examples: - default: *468 + default: *470 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -69344,15 +69818,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#get-a-repository-secret parameters: - - *326 - - *327 + - *328 + - *329 - *183 responses: '200': description: Response content: application/json: - schema: *469 + schema: *471 examples: default: value: @@ -69378,8 +69852,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#create-or-update-a-repository-secret parameters: - - *326 - - *327 + - *328 + - *329 - *183 requestBody: required: true @@ -69432,8 +69906,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#delete-a-repository-secret parameters: - - *326 - - *327 + - *328 + - *329 - *183 responses: '204': @@ -69456,8 +69930,8 @@ paths: 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 parameters: - - *326 - - *327 + - *328 + - *329 - 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 @@ -69631,8 +70105,8 @@ paths: 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 parameters: - - *326 - - *327 + - *328 + - *329 responses: '200': description: Response @@ -69892,8 +70366,8 @@ paths: 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 parameters: - - *326 - - *327 + - *328 + - *329 requestBody: required: true content: @@ -69976,7 +70450,7 @@ paths: - version - url additionalProperties: false - metadata: &470 + metadata: &472 title: metadata description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -70015,7 +70489,7 @@ paths: examples: - "/src/build/package-lock.json" additionalProperties: false - metadata: *470 + metadata: *472 resolved: type: object description: A collection of resolved package dependencies. @@ -70029,7 +70503,7 @@ paths: pattern: "^pkg" examples: - pkg:/npm/%40actions/http-client@1.0.11 - metadata: *470 + metadata: *472 relationship: type: string description: A notation of whether a dependency is requested @@ -70162,8 +70636,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#list-deployments parameters: - - *326 - - *327 + - *328 + - *329 - name: sha description: The SHA recorded at creation time. in: query @@ -70204,9 +70678,9 @@ paths: application/json: schema: type: array - items: *471 + items: *473 examples: - default: *472 + default: *474 headers: Link: *37 x-github: @@ -70272,8 +70746,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#create-a-deployment parameters: - - *326 - - *327 + - *328 + - *329 requestBody: required: true content: @@ -70355,7 +70829,7 @@ paths: description: Response content: application/json: - schema: *471 + schema: *473 examples: simple-example: summary: Simple example @@ -70428,9 +70902,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#get-a-deployment parameters: - - *326 - - *327 - - &473 + - *328 + - *329 + - &475 name: deployment_id description: deployment_id parameter in: path @@ -70442,7 +70916,7 @@ paths: description: Response content: application/json: - schema: *471 + schema: *473 examples: default: value: @@ -70507,9 +70981,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#delete-a-deployment parameters: - - *326 - - *327 - - *473 + - *328 + - *329 + - *475 responses: '204': description: Response @@ -70531,9 +71005,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/statuses#list-deployment-statuses parameters: - - *326 - - *327 - - *473 + - *328 + - *329 + - *475 - *17 - *18 responses: @@ -70543,7 +71017,7 @@ paths: application/json: schema: type: array - items: &474 + items: &476 title: Deployment Status description: The status of a deployment. type: object @@ -70707,9 +71181,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/statuses#create-a-deployment-status parameters: - - *326 - - *327 - - *473 + - *328 + - *329 + - *475 requestBody: required: true content: @@ -70784,9 +71258,9 @@ paths: description: Response content: application/json: - schema: *474 + schema: *476 examples: - default: &475 + default: &477 value: url: https://api.github.com/repos/octocat/example/deployments/42/statuses/1 id: 1 @@ -70842,9 +71316,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/statuses#get-a-deployment-status parameters: - - *326 - - *327 - - *473 + - *328 + - *329 + - *475 - name: status_id in: path required: true @@ -70855,9 +71329,9 @@ paths: description: Response content: application/json: - schema: *474 + schema: *476 examples: - default: *475 + default: *477 '404': *6 x-github: githubCloudOnly: false @@ -70882,8 +71356,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#create-a-repository-dispatch-event parameters: - - *326 - - *327 + - *328 + - *329 requestBody: required: true content: @@ -70940,8 +71414,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments#list-environments parameters: - - *326 - - *327 + - *328 + - *329 - *17 - *18 responses: @@ -70959,7 +71433,7 @@ paths: - 5 environments: type: array - items: &477 + items: &479 title: Environment description: Details of a deployment environment type: object @@ -71021,7 +71495,7 @@ paths: type: string examples: - wait_timer - wait_timer: &479 + wait_timer: &481 type: integer description: The amount of time to delay a job after the job is initially triggered. The time (in minutes) @@ -71063,7 +71537,7 @@ paths: items: type: object properties: - type: *476 + type: *478 reviewer: anyOf: - *4 @@ -71090,7 +71564,7 @@ paths: - id - node_id - type - deployment_branch_policy: &480 + deployment_branch_policy: &482 type: - object - 'null' @@ -71207,9 +71681,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments#get-an-environment parameters: - - *326 - - *327 - - &478 + - *328 + - *329 + - &480 name: environment_name in: path required: true @@ -71222,9 +71696,9 @@ paths: description: Response content: application/json: - schema: *477 + schema: *479 examples: - default: &481 + default: &483 value: id: 161088068 node_id: MDExOkVudmlyb25tZW50MTYxMDg4MDY4 @@ -71308,9 +71782,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments#create-or-update-an-environment parameters: - - *326 - - *327 - - *478 + - *328 + - *329 + - *480 requestBody: required: false content: @@ -71320,7 +71794,7 @@ paths: - object - 'null' properties: - wait_timer: *479 + wait_timer: *481 prevent_self_review: type: boolean description: Whether or not a user who created the job is prevented @@ -71339,14 +71813,14 @@ paths: items: type: object properties: - type: *476 + type: *478 id: type: integer description: The id of the user or team who can review the deployment examples: - 4532992 - deployment_branch_policy: *480 + deployment_branch_policy: *482 additionalProperties: false examples: default: @@ -71366,9 +71840,9 @@ paths: description: Response content: application/json: - schema: *477 + schema: *479 examples: - default: *481 + default: *483 '422': description: Validation error when the environment name is invalid or when `protected_branches` and `custom_branch_policies` in `deployment_branch_policy` @@ -71392,9 +71866,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments#delete-an-environment parameters: - - *326 - - *327 - - *478 + - *328 + - *329 + - *480 responses: '204': description: Default response @@ -71419,9 +71893,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#list-deployment-branch-policies parameters: - - *326 - - *327 - - *478 + - *328 + - *329 + - *480 - *17 - *18 responses: @@ -71440,7 +71914,7 @@ paths: - 2 branch_policies: type: array - items: &482 + items: &484 title: Deployment branch policy description: Details of a deployment branch or tag policy. type: object @@ -71501,9 +71975,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#create-a-deployment-branch-policy parameters: - - *326 - - *327 - - *478 + - *328 + - *329 + - *480 requestBody: required: true content: @@ -71551,9 +72025,9 @@ paths: description: Response content: application/json: - schema: *482 + schema: *484 examples: - example-wildcard: &483 + example-wildcard: &485 value: id: 364662 node_id: MDE2OkdhdGVCcmFuY2hQb2xpY3kzNjQ2NjI= @@ -71595,10 +72069,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#get-a-deployment-branch-policy parameters: - - *326 - - *327 - - *478 - - &484 + - *328 + - *329 + - *480 + - &486 name: branch_policy_id in: path required: true @@ -71610,9 +72084,9 @@ paths: description: Response content: application/json: - schema: *482 + schema: *484 examples: - default: *483 + default: *485 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71631,10 +72105,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#update-a-deployment-branch-policy parameters: - - *326 - - *327 - - *478 - - *484 + - *328 + - *329 + - *480 + - *486 requestBody: required: true content: @@ -71663,9 +72137,9 @@ paths: description: Response content: application/json: - schema: *482 + schema: *484 examples: - default: *483 + default: *485 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71684,10 +72158,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#delete-a-deployment-branch-policy parameters: - - *326 - - *327 - - *478 - - *484 + - *328 + - *329 + - *480 + - *486 responses: '204': description: Response @@ -71712,9 +72186,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/protection-rules#get-all-deployment-protection-rules-for-an-environment parameters: - - *478 - - *327 - - *326 + - *480 + - *329 + - *328 responses: '200': description: List of deployment protection rules @@ -71731,7 +72205,7 @@ paths: - 10 custom_deployment_protection_rules: type: array - items: &485 + items: &487 title: Deployment protection rule description: Deployment protection rule type: object @@ -71753,7 +72227,7 @@ paths: for the environment. examples: - true - app: &486 + app: &488 title: Custom deployment protection rule app description: A GitHub App that is providing a custom deployment protection rule. @@ -71856,9 +72330,9 @@ paths: 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 parameters: - - *478 - - *327 - - *326 + - *480 + - *329 + - *328 requestBody: content: application/json: @@ -71879,9 +72353,9 @@ paths: description: The enabled custom deployment protection rule content: application/json: - schema: *485 + schema: *487 examples: - default: &487 + default: &489 value: id: 3 node_id: IEH37kRlcGxveW1lbnRTdGF0ddiv @@ -71916,9 +72390,9 @@ paths: 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 parameters: - - *478 - - *327 - - *326 + - *480 + - *329 + - *328 - *18 - *17 responses: @@ -71938,7 +72412,7 @@ paths: - 35 available_custom_deployment_protection_rule_integrations: type: array - items: *486 + items: *488 examples: default: value: @@ -71973,10 +72447,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/protection-rules#get-a-custom-deployment-protection-rule parameters: - - *326 - - *327 - - *478 - - &488 + - *328 + - *329 + - *480 + - &490 name: protection_rule_id description: The unique identifier of the protection rule. in: path @@ -71988,9 +72462,9 @@ paths: description: Response content: application/json: - schema: *485 + schema: *487 examples: - default: *487 + default: *489 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72011,10 +72485,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/protection-rules#disable-a-custom-protection-rule-for-an-environment parameters: - - *478 - - *327 - - *326 - - *488 + - *480 + - *329 + - *328 + - *490 responses: '204': description: Response @@ -72040,9 +72514,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#list-environment-secrets parameters: - - *326 - - *327 - - *478 + - *328 + - *329 + - *480 - *17 - *18 responses: @@ -72060,9 +72534,9 @@ paths: type: integer secrets: type: array - items: *363 + items: *365 examples: - default: *364 + default: *366 headers: Link: *37 x-github: @@ -72087,17 +72561,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-an-environment-public-key parameters: - - *326 - - *327 - - *478 + - *328 + - *329 + - *480 responses: '200': description: Response content: application/json: - schema: *365 + schema: *367 examples: - default: *366 + default: *368 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72119,18 +72593,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-an-environment-secret parameters: - - *326 - - *327 - - *478 + - *328 + - *329 + - *480 - *183 responses: '200': description: Response content: application/json: - schema: *363 + schema: *365 examples: - default: *489 + default: *491 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72152,9 +72626,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#create-or-update-an-environment-secret parameters: - - *326 - - *327 - - *478 + - *328 + - *329 + - *480 - *183 requestBody: required: true @@ -72212,9 +72686,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#delete-an-environment-secret parameters: - - *326 - - *327 - - *478 + - *328 + - *329 + - *480 - *183 responses: '204': @@ -72240,10 +72714,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-environment-variables parameters: - - *326 - - *327 - - *478 - - *350 + - *328 + - *329 + - *480 + - *352 - *18 responses: '200': @@ -72260,9 +72734,9 @@ paths: type: integer variables: type: array - items: *367 + items: *369 examples: - default: *368 + default: *370 headers: Link: *37 x-github: @@ -72285,9 +72759,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#create-an-environment-variable parameters: - - *326 - - *327 - - *478 + - *328 + - *329 + - *480 requestBody: required: true content: @@ -72339,18 +72813,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#get-an-environment-variable parameters: - - *326 - - *327 - - *478 + - *328 + - *329 + - *480 - *186 responses: '200': description: Response content: application/json: - schema: *367 + schema: *369 examples: - default: *490 + default: *492 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72371,10 +72845,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#update-an-environment-variable parameters: - - *326 - - *327 + - *328 + - *329 - *186 - - *478 + - *480 requestBody: required: true content: @@ -72416,10 +72890,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#delete-an-environment-variable parameters: - - *326 - - *327 + - *328 + - *329 - *186 - - *478 + - *480 responses: '204': description: Response @@ -72441,8 +72915,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/events#list-repository-events parameters: - - *326 - - *327 + - *328 + - *329 - *17 - *18 responses: @@ -72519,8 +72993,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/forks#list-forks parameters: - - *326 - - *327 + - *328 + - *329 - name: sort description: The sort order. `stargazers` will sort by star count. in: query @@ -72679,8 +73153,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/forks#create-a-fork parameters: - - *326 - - *327 + - *328 + - *329 requestBody: required: false content: @@ -72713,9 +73187,9 @@ paths: description: Response content: application/json: - schema: *339 + schema: *341 examples: - default: *341 + default: *343 '400': *14 '422': *15 '403': *27 @@ -72736,8 +73210,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/blobs#create-a-blob parameters: - - *326 - - *327 + - *328 + - *329 requestBody: required: true content: @@ -72797,7 +73271,7 @@ paths: schema: oneOf: - *160 - - *491 + - *493 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72822,8 +73296,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/blobs#get-a-blob parameters: - - *326 - - *327 + - *328 + - *329 - name: file_sha in: path required: true @@ -72923,8 +73397,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/commits#create-a-commit parameters: - - *326 - - *327 + - *328 + - *329 requestBody: required: true content: @@ -73033,7 +73507,7 @@ paths: description: Response content: application/json: - schema: &492 + schema: &494 title: Git Commit description: Low-level Git commit operations within a repository type: object @@ -73259,15 +73733,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/commits#get-a-commit-object parameters: - - *326 - - *327 - - *448 + - *328 + - *329 + - *450 responses: '200': description: Response content: application/json: - schema: *492 + schema: *494 examples: default: value: @@ -73323,9 +73797,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#list-matching-references parameters: - - *326 - - *327 - - &493 + - *328 + - *329 + - &495 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. @@ -73342,7 +73816,7 @@ paths: application/json: schema: type: array - items: &494 + items: &496 title: Git Reference description: Git references within a repository type: object @@ -73418,17 +73892,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#get-a-reference parameters: - - *326 - - *327 - - *493 + - *328 + - *329 + - *495 responses: '200': description: Response content: application/json: - schema: *494 + schema: *496 examples: - default: &495 + default: &497 value: ref: refs/heads/featureA node_id: MDM6UmVmcmVmcy9oZWFkcy9mZWF0dXJlQQ== @@ -73457,8 +73931,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#create-a-reference parameters: - - *326 - - *327 + - *328 + - *329 requestBody: required: true content: @@ -73487,9 +73961,9 @@ paths: description: Response content: application/json: - schema: *494 + schema: *496 examples: - default: *495 + default: *497 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/git/refs/heads/featureA @@ -73515,9 +73989,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#update-a-reference parameters: - - *326 - - *327 - - *493 + - *328 + - *329 + - *495 requestBody: required: true content: @@ -73546,9 +74020,9 @@ paths: description: Response content: application/json: - schema: *494 + schema: *496 examples: - default: *495 + default: *497 '422': *15 '409': *84 x-github: @@ -73566,9 +74040,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#delete-a-reference parameters: - - *326 - - *327 - - *493 + - *328 + - *329 + - *495 responses: '204': description: Response @@ -73621,8 +74095,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/tags#create-a-tag-object parameters: - - *326 - - *327 + - *328 + - *329 requestBody: required: true content: @@ -73689,7 +74163,7 @@ paths: description: Response content: application/json: - schema: &497 + schema: &499 title: Git Tag description: Metadata for a Git tag type: object @@ -73745,7 +74219,7 @@ paths: - sha - type - url - verification: *496 + verification: *498 required: - sha - url @@ -73755,7 +74229,7 @@ paths: - tag - message examples: - default: &498 + default: &500 value: node_id: MDM6VGFnOTQwYmQzMzYyNDhlZmFlMGY5ZWU1YmM3YjJkNWM5ODU4ODdiMTZhYw== tag: v0.0.1 @@ -73828,8 +74302,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/tags#get-a-tag parameters: - - *326 - - *327 + - *328 + - *329 - name: tag_sha in: path required: true @@ -73840,9 +74314,9 @@ paths: description: Response content: application/json: - schema: *497 + schema: *499 examples: - default: *498 + default: *500 '404': *6 '409': *84 x-github: @@ -73866,8 +74340,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/trees#create-a-tree parameters: - - *326 - - *327 + - *328 + - *329 requestBody: required: true content: @@ -73941,7 +74415,7 @@ paths: description: Response content: application/json: - schema: &499 + schema: &501 title: Git Tree description: The hierarchy between files in a Git repository. type: object @@ -74059,8 +74533,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/trees#get-a-tree parameters: - - *326 - - *327 + - *328 + - *329 - name: tree_sha description: The SHA1 value or ref (branch or tag) name of the tree. in: path @@ -74083,7 +74557,7 @@ paths: description: Response content: application/json: - schema: *499 + schema: *501 examples: default-response: summary: Default response @@ -74142,8 +74616,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#list-repository-webhooks parameters: - - *326 - - *327 + - *328 + - *329 - *17 - *18 responses: @@ -74153,7 +74627,7 @@ paths: application/json: schema: type: array - items: &500 + items: &502 title: Webhook description: Webhooks for repositories. type: object @@ -74216,7 +74690,7 @@ paths: format: uri examples: - https://api.github.com/repos/octocat/Hello-World/hooks/1/deliveries - last_response: &737 + last_response: &739 title: Hook Response type: object properties: @@ -74293,8 +74767,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#create-a-repository-webhook parameters: - - *326 - - *327 + - *328 + - *329 requestBody: required: false content: @@ -74347,9 +74821,9 @@ paths: description: Response content: application/json: - schema: *500 + schema: *502 examples: - default: &501 + default: &503 value: type: Repository id: 12345678 @@ -74397,17 +74871,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#get-a-repository-webhook parameters: - - *326 - - *327 + - *328 + - *329 - *228 responses: '200': description: Response content: application/json: - schema: *500 + schema: *502 examples: - default: *501 + default: *503 '404': *6 x-github: githubCloudOnly: false @@ -74427,8 +74901,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#update-a-repository-webhook parameters: - - *326 - - *327 + - *328 + - *329 - *228 requestBody: required: true @@ -74474,9 +74948,9 @@ paths: description: Response content: application/json: - schema: *500 + schema: *502 examples: - default: *501 + default: *503 '422': *15 '404': *6 x-github: @@ -74497,8 +74971,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#delete-a-repository-webhook parameters: - - *326 - - *327 + - *328 + - *329 - *228 responses: '204': @@ -74523,8 +74997,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#get-a-webhook-configuration-for-a-repository parameters: - - *326 - - *327 + - *328 + - *329 - *228 responses: '200': @@ -74552,8 +75026,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#update-a-webhook-configuration-for-a-repository parameters: - - *326 - - *327 + - *328 + - *329 - *228 requestBody: required: false @@ -74598,8 +75072,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#list-deliveries-for-a-repository-webhook parameters: - - *326 - - *327 + - *328 + - *329 - *228 - *17 - *229 @@ -74631,8 +75105,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#get-a-delivery-for-a-repository-webhook parameters: - - *326 - - *327 + - *328 + - *329 - *228 - *16 responses: @@ -74661,8 +75135,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#redeliver-a-delivery-for-a-repository-webhook parameters: - - *326 - - *327 + - *328 + - *329 - *228 - *16 responses: @@ -74686,8 +75160,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#ping-a-repository-webhook parameters: - - *326 - - *327 + - *328 + - *329 - *228 responses: '204': @@ -74713,8 +75187,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#test-the-push-repository-webhook parameters: - - *326 - - *327 + - *328 + - *329 - *228 responses: '204': @@ -74773,14 +75247,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#get-an-import-status parameters: - - *326 - - *327 + - *328 + - *329 responses: '200': description: Response content: application/json: - schema: &502 + schema: &504 title: Import description: A repository import from an external source. type: object @@ -74887,7 +75361,7 @@ paths: - html_url - authors_url examples: - default: &505 + default: &507 value: vcs: subversion use_lfs: true @@ -74903,7 +75377,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': &503 + '503': &505 description: Unavailable due to service under maintenance. content: application/json: @@ -74932,8 +75406,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#start-an-import parameters: - - *326 - - *327 + - *328 + - *329 requestBody: required: true content: @@ -74981,7 +75455,7 @@ paths: description: Response content: application/json: - schema: *502 + schema: *504 examples: default: value: @@ -75006,7 +75480,7 @@ paths: type: string '422': *15 '404': *6 - '503': *503 + '503': *505 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75034,8 +75508,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#update-an-import parameters: - - *326 - - *327 + - *328 + - *329 requestBody: required: false content: @@ -75087,7 +75561,7 @@ paths: description: Response content: application/json: - schema: *502 + schema: *504 examples: example-1: summary: Example 1 @@ -75135,7 +75609,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': *503 + '503': *505 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75158,12 +75632,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#cancel-an-import parameters: - - *326 - - *327 + - *328 + - *329 responses: '204': description: Response - '503': *503 + '503': *505 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75189,9 +75663,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#get-commit-authors parameters: - - *326 - - *327 - - &686 + - *328 + - *329 + - &688 name: since description: A user ID. Only return users with an ID greater than this ID. in: query @@ -75205,7 +75679,7 @@ paths: application/json: schema: type: array - items: &504 + items: &506 title: Porter Author description: Porter Author type: object @@ -75259,7 +75733,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': *503 + '503': *505 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75284,8 +75758,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#map-a-commit-author parameters: - - *326 - - *327 + - *328 + - *329 - name: author_id in: path required: true @@ -75315,7 +75789,7 @@ paths: description: Response content: application/json: - schema: *504 + schema: *506 examples: default: value: @@ -75328,7 +75802,7 @@ paths: import_url: https://api.github.com/repos/octocat/socm/import '422': *15 '404': *6 - '503': *503 + '503': *505 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75352,8 +75826,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#get-large-files parameters: - - *326 - - *327 + - *328 + - *329 responses: '200': description: Response @@ -75394,7 +75868,7 @@ paths: path: foo/bar/3 oid: c20ad4d76fe97759aa27a0c99bff6710 size: 12582912 - '503': *503 + '503': *505 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75422,8 +75896,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#update-git-lfs-preference parameters: - - *326 - - *327 + - *328 + - *329 requestBody: required: true content: @@ -75450,11 +75924,11 @@ paths: description: Response content: application/json: - schema: *502 + schema: *504 examples: - default: *505 + default: *507 '422': *15 - '503': *503 + '503': *505 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75477,8 +75951,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/apps/apps#get-a-repository-installation-for-the-authenticated-app parameters: - - *326 - - *327 + - *328 + - *329 responses: '200': description: Response @@ -75486,8 +75960,8 @@ paths: application/json: schema: *20 examples: - default: *506 - '301': *340 + default: *508 + '301': *342 '404': *6 x-github: githubCloudOnly: false @@ -75507,8 +75981,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/interactions/repos#get-interaction-restrictions-for-a-repository parameters: - - *326 - - *327 + - *328 + - *329 responses: '200': description: Response @@ -75521,7 +75995,7 @@ paths: properties: {} additionalProperties: false examples: - default: &508 + default: &510 value: limit: collaborators_only origin: repository @@ -75546,13 +76020,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/interactions/repos#set-interaction-restrictions-for-a-repository parameters: - - *326 - - *327 + - *328 + - *329 requestBody: required: true content: application/json: - schema: *507 + schema: *509 examples: default: summary: Example request body @@ -75566,7 +76040,7 @@ paths: application/json: schema: *246 examples: - default: *508 + default: *510 '409': description: Response x-github: @@ -75588,8 +76062,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/interactions/repos#remove-interaction-restrictions-for-a-repository parameters: - - *326 - - *327 + - *328 + - *329 responses: '204': description: Response @@ -75612,8 +76086,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#list-repository-invitations parameters: - - *326 - - *327 + - *328 + - *329 - *17 - *18 responses: @@ -75623,9 +76097,9 @@ paths: application/json: schema: type: array - items: *509 + items: *511 examples: - default: &679 + default: &681 value: - id: 1 repository: @@ -75756,8 +76230,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#update-a-repository-invitation parameters: - - *326 - - *327 + - *328 + - *329 - *250 requestBody: required: false @@ -75787,7 +76261,7 @@ paths: description: Response content: application/json: - schema: *509 + schema: *511 examples: default: value: @@ -75918,8 +76392,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#delete-a-repository-invitation parameters: - - *326 - - *327 + - *328 + - *329 - *250 responses: '204': @@ -75951,8 +76425,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#list-repository-issues parameters: - - *326 - - *327 + - *328 + - *329 - 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 @@ -76017,7 +76491,7 @@ paths: type: array items: *135 examples: - default: &518 + default: &520 value: - id: 1 node_id: MDU6SXNzdWUx @@ -76165,7 +76639,7 @@ paths: state_reason: completed headers: Link: *37 - '301': *340 + '301': *342 '422': *15 '404': *6 x-github: @@ -76194,8 +76668,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#create-an-issue parameters: - - *326 - - *327 + - *328 + - *329 requestBody: required: true content: @@ -76278,7 +76752,7 @@ paths: application/json: schema: *135 examples: - default: &513 + default: &515 value: id: 1 node_id: MDU6SXNzdWUx @@ -76434,7 +76908,7 @@ paths: '422': *15 '503': *115 '404': *6 - '410': *337 + '410': *339 x-github: triggersNotification: true githubCloudOnly: false @@ -76462,8 +76936,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#list-issue-comments-for-a-repository parameters: - - *326 - - *327 + - *328 + - *329 - *144 - name: direction description: Either `asc` or `desc`. Ignored without the `sort` parameter. @@ -76484,9 +76958,9 @@ paths: application/json: schema: type: array - items: *510 + items: *512 examples: - default: &515 + default: &517 value: - id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -76544,17 +77018,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#get-an-issue-comment parameters: - - *326 - - *327 + - *328 + - *329 - *134 responses: '200': description: Response content: application/json: - schema: *510 + schema: *512 examples: - default: &511 + default: &513 value: id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -76608,8 +77082,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#update-an-issue-comment parameters: - - *326 - - *327 + - *328 + - *329 - *134 requestBody: required: true @@ -76632,9 +77106,9 @@ paths: description: Response content: application/json: - schema: *510 + schema: *512 examples: - default: *511 + default: *513 '422': *15 x-github: githubCloudOnly: false @@ -76652,8 +77126,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#delete-an-issue-comment parameters: - - *326 - - *327 + - *328 + - *329 - *134 responses: '204': @@ -76674,8 +77148,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-an-issue-comment parameters: - - *326 - - *327 + - *328 + - *329 - *134 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). @@ -76702,9 +77176,9 @@ paths: application/json: schema: type: array - items: *315 + items: *317 examples: - default: *317 + default: *319 headers: Link: *37 '404': *6 @@ -76725,8 +77199,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-an-issue-comment parameters: - - *326 - - *327 + - *328 + - *329 - *134 requestBody: required: true @@ -76759,16 +77233,16 @@ paths: description: Reaction exists content: application/json: - schema: *315 + schema: *317 examples: - default: *316 + default: *318 '201': description: Reaction created content: application/json: - schema: *315 + schema: *317 examples: - default: *316 + default: *318 '422': *15 x-github: githubCloudOnly: false @@ -76790,10 +77264,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-an-issue-comment-reaction parameters: - - *326 - - *327 + - *328 + - *329 - *134 - - *318 + - *320 responses: '204': description: Response @@ -76813,8 +77287,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/events#list-issue-events-for-a-repository parameters: - - *326 - - *327 + - *328 + - *329 - *17 - *18 responses: @@ -76824,7 +77298,7 @@ paths: application/json: schema: type: array - items: &512 + items: &514 title: Issue Event description: Issue Event type: object @@ -77163,8 +77637,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/events#get-an-issue-event parameters: - - *326 - - *327 + - *328 + - *329 - name: event_id in: path required: true @@ -77175,7 +77649,7 @@ paths: description: Response content: application/json: - schema: *512 + schema: *514 examples: default: value: @@ -77368,7 +77842,7 @@ paths: author_association: COLLABORATOR state_reason: completed '404': *6 - '410': *337 + '410': *339 '403': *27 x-github: githubCloudOnly: false @@ -77402,9 +77876,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue parameters: - - *326 - - *327 - - &514 + - *328 + - *329 + - &516 name: issue_number description: The number that identifies the issue. in: path @@ -77418,10 +77892,10 @@ paths: application/json: schema: *135 examples: - default: *513 - '301': *340 + default: *515 + '301': *342 '404': *6 - '410': *337 + '410': *339 '304': *35 x-github: githubCloudOnly: false @@ -77446,9 +77920,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#update-an-issue parameters: - - *326 - - *327 - - *514 + - *328 + - *329 + - *516 requestBody: required: false content: @@ -77558,13 +78032,13 @@ paths: application/json: schema: *135 examples: - default: *513 + default: *515 '422': *15 '503': *115 '403': *27 - '301': *340 + '301': *342 '404': *6 - '410': *337 + '410': *339 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77582,9 +78056,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/assignees#add-assignees-to-an-issue parameters: - - *326 - - *327 - - *514 + - *328 + - *329 + - *516 requestBody: required: false content: @@ -77612,7 +78086,7 @@ paths: application/json: schema: *135 examples: - default: *513 + default: *515 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77628,9 +78102,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/assignees#remove-assignees-from-an-issue parameters: - - *326 - - *327 - - *514 + - *328 + - *329 + - *516 requestBody: content: application/json: @@ -77657,7 +78131,7 @@ paths: application/json: schema: *135 examples: - default: *513 + default: *515 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77679,9 +78153,9 @@ paths: 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 parameters: - - *326 - - *327 - - *514 + - *328 + - *329 + - *516 - name: assignee in: path required: true @@ -77721,9 +78195,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#list-issue-comments parameters: - - *326 - - *327 - - *514 + - *328 + - *329 + - *516 - *125 - *17 - *18 @@ -77734,13 +78208,13 @@ paths: application/json: schema: type: array - items: *510 + items: *512 examples: - default: *515 + default: *517 headers: Link: *37 '404': *6 - '410': *337 + '410': *339 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77769,9 +78243,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#create-an-issue-comment parameters: - - *326 - - *327 - - *514 + - *328 + - *329 + - *516 requestBody: required: true content: @@ -77793,16 +78267,16 @@ paths: description: Response content: application/json: - schema: *510 + schema: *512 examples: - default: *511 + default: *513 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1 schema: type: string '403': *27 - '410': *337 + '410': *339 '422': *15 '404': *6 x-github: @@ -77822,9 +78296,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/events#list-issue-events parameters: - - *326 - - *327 - - *514 + - *328 + - *329 + - *516 - *17 - *18 responses: @@ -77838,7 +78312,7 @@ paths: title: Issue Event for Issue description: Issue Event for Issue anyOf: - - &519 + - &521 title: Labeled Issue Event description: Labeled Issue Event type: object @@ -77887,7 +78361,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &520 + - &522 title: Unlabeled Issue Event description: Unlabeled Issue Event type: object @@ -78015,7 +78489,7 @@ paths: - performed_via_github_app - assignee - assigner - - &521 + - &523 title: Milestoned Issue Event description: Milestoned Issue Event type: object @@ -78061,7 +78535,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &522 + - &524 title: Demilestoned Issue Event description: Demilestoned Issue Event type: object @@ -78107,7 +78581,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &523 + - &525 title: Renamed Issue Event description: Renamed Issue Event type: object @@ -78156,7 +78630,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &524 + - &526 title: Review Requested Issue Event description: Review Requested Issue Event type: object @@ -78198,7 +78672,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &525 + - &527 title: Review Request Removed Issue Event description: Review Request Removed Issue Event type: object @@ -78240,7 +78714,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &526 + - &528 title: Review Dismissed Issue Event description: Review Dismissed Issue Event type: object @@ -78296,7 +78770,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &527 + - &529 title: Locked Issue Event description: Locked Issue Event type: object @@ -78341,7 +78815,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &528 + - &530 title: Added to Project Issue Event description: Added to Project Issue Event type: object @@ -78402,7 +78876,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &529 + - &531 title: Moved Column in Project Issue Event description: Moved Column in Project Issue Event type: object @@ -78463,7 +78937,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &530 + - &532 title: Removed from Project Issue Event description: Removed from Project Issue Event type: object @@ -78524,7 +78998,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &531 + - &533 title: Converted Note to Issue Issue Event description: Converted Note to Issue Issue Event type: object @@ -78617,7 +79091,7 @@ paths: color: red headers: Link: *37 - '410': *337 + '410': *339 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -78634,9 +79108,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#list-labels-for-an-issue parameters: - - *326 - - *327 - - *514 + - *328 + - *329 + - *516 - *17 - *18 responses: @@ -78646,7 +79120,7 @@ paths: application/json: schema: type: array - items: &516 + items: &518 title: Label description: Color-coded labels help you categorize and filter your issues (just like labels in Gmail). @@ -78701,7 +79175,7 @@ paths: - color - default examples: - default: &517 + default: &519 value: - id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -78719,9 +79193,9 @@ paths: default: false headers: Link: *37 - '301': *340 + '301': *342 '404': *6 - '410': *337 + '410': *339 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -78738,9 +79212,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#add-labels-to-an-issue parameters: - - *326 - - *327 - - *514 + - *328 + - *329 + - *516 requestBody: required: false content: @@ -78799,12 +79273,12 @@ paths: application/json: schema: type: array - items: *516 + items: *518 examples: - default: *517 - '301': *340 + default: *519 + '301': *342 '404': *6 - '410': *337 + '410': *339 '422': *15 x-github: githubCloudOnly: false @@ -78821,9 +79295,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#set-labels-for-an-issue parameters: - - *326 - - *327 - - *514 + - *328 + - *329 + - *516 requestBody: required: false content: @@ -78883,12 +79357,12 @@ paths: application/json: schema: type: array - items: *516 + items: *518 examples: - default: *517 - '301': *340 + default: *519 + '301': *342 '404': *6 - '410': *337 + '410': *339 '422': *15 x-github: githubCloudOnly: false @@ -78905,15 +79379,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#remove-all-labels-from-an-issue parameters: - - *326 - - *327 - - *514 + - *328 + - *329 + - *516 responses: '204': description: Response - '301': *340 + '301': *342 '404': *6 - '410': *337 + '410': *339 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -78932,9 +79406,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#remove-a-label-from-an-issue parameters: - - *326 - - *327 - - *514 + - *328 + - *329 + - *516 - name: name in: path required: true @@ -78947,7 +79421,7 @@ paths: application/json: schema: type: array - items: *516 + items: *518 examples: default: value: @@ -78958,9 +79432,9 @@ paths: description: Something isn't working color: f29513 default: true - '301': *340 + '301': *342 '404': *6 - '410': *337 + '410': *339 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -78980,9 +79454,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#lock-an-issue parameters: - - *326 - - *327 - - *514 + - *328 + - *329 + - *516 requestBody: required: false content: @@ -79011,7 +79485,7 @@ paths: '204': description: Response '403': *27 - '410': *337 + '410': *339 '404': *6 '422': *15 x-github: @@ -79029,9 +79503,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#unlock-an-issue parameters: - - *326 - - *327 - - *514 + - *328 + - *329 + - *516 responses: '204': description: Response @@ -79053,9 +79527,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-an-issue parameters: - - *326 - - *327 - - *514 + - *328 + - *329 + - *516 - 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. @@ -79081,13 +79555,13 @@ paths: application/json: schema: type: array - items: *315 + items: *317 examples: - default: *317 + default: *319 headers: Link: *37 '404': *6 - '410': *337 + '410': *339 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79105,9 +79579,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-an-issue parameters: - - *326 - - *327 - - *514 + - *328 + - *329 + - *516 requestBody: required: true content: @@ -79139,16 +79613,16 @@ paths: description: Response content: application/json: - schema: *315 + schema: *317 examples: - default: *316 + default: *318 '201': description: Response content: application/json: - schema: *315 + schema: *317 examples: - default: *316 + default: *318 '422': *15 x-github: githubCloudOnly: false @@ -79170,10 +79644,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-an-issue-reaction parameters: - - *326 - - *327 - - *514 - - *318 + - *328 + - *329 + - *516 + - *320 responses: '204': description: Response @@ -79202,9 +79676,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#remove-sub-issue parameters: - - *326 - - *327 - - *514 + - *328 + - *329 + - *516 requestBody: required: true content: @@ -79228,7 +79702,7 @@ paths: application/json: schema: *135 examples: - default: *513 + default: *515 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/1/sub-issue @@ -79261,9 +79735,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#list-sub-issues parameters: - - *326 - - *327 - - *514 + - *328 + - *329 + - *516 - *17 - *18 responses: @@ -79275,11 +79749,11 @@ paths: type: array items: *135 examples: - default: *518 + default: *520 headers: Link: *37 '404': *6 - '410': *337 + '410': *339 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79307,9 +79781,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#add-sub-issue parameters: - - *326 - - *327 - - *514 + - *328 + - *329 + - *516 requestBody: required: true content: @@ -79337,14 +79811,14 @@ paths: application/json: schema: *135 examples: - default: *513 + default: *515 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/sub-issues/1 schema: type: string '403': *27 - '410': *337 + '410': *339 '422': *15 '404': *6 x-github: @@ -79364,9 +79838,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#reprioritize-sub-issue parameters: - - *326 - - *327 - - *514 + - *328 + - *329 + - *516 requestBody: required: true content: @@ -79399,7 +79873,7 @@ paths: application/json: schema: *135 examples: - default: *513 + default: *515 '403': *27 '404': *6 '422': *7 @@ -79421,9 +79895,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/timeline#list-timeline-events-for-an-issue parameters: - - *326 - - *327 - - *514 + - *328 + - *329 + - *516 - *17 - *18 responses: @@ -79438,8 +79912,6 @@ paths: description: Timeline Event type: object anyOf: - - *519 - - *520 - *521 - *522 - *523 @@ -79451,6 +79923,8 @@ paths: - *529 - *530 - *531 + - *532 + - *533 - title: Timeline Comment Event description: Timeline Comment Event type: object @@ -79773,7 +80247,7 @@ paths: type: string comments: type: array - items: &551 + items: &553 title: Pull Request Review Comment description: Pull Request Review Comments are comments on a portion of the Pull Request's diff. @@ -80011,7 +80485,7 @@ paths: type: string comments: type: array - items: *446 + items: *448 - title: Timeline Assigned Issue Event description: Timeline Assigned Issue Event type: object @@ -80286,7 +80760,7 @@ paths: headers: Link: *37 '404': *6 - '410': *337 + '410': *339 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -80303,8 +80777,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#list-deploy-keys parameters: - - *326 - - *327 + - *328 + - *329 - *17 - *18 responses: @@ -80314,7 +80788,7 @@ paths: application/json: schema: type: array - items: &532 + items: &534 title: Deploy Key description: An SSH key granting access to a single repository. type: object @@ -80381,8 +80855,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#create-a-deploy-key parameters: - - *326 - - *327 + - *328 + - *329 requestBody: required: true content: @@ -80418,9 +80892,9 @@ paths: description: Response content: application/json: - schema: *532 + schema: *534 examples: - default: &533 + default: &535 value: id: 1 key: ssh-rsa AAA... @@ -80454,9 +80928,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#get-a-deploy-key parameters: - - *326 - - *327 - - &534 + - *328 + - *329 + - &536 name: key_id description: The unique identifier of the key. in: path @@ -80468,9 +80942,9 @@ paths: description: Response content: application/json: - schema: *532 + schema: *534 examples: - default: *533 + default: *535 '404': *6 x-github: githubCloudOnly: false @@ -80488,9 +80962,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#delete-a-deploy-key parameters: - - *326 - - *327 - - *534 + - *328 + - *329 + - *536 responses: '204': description: Response @@ -80510,8 +80984,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#list-labels-for-a-repository parameters: - - *326 - - *327 + - *328 + - *329 - *17 - *18 responses: @@ -80521,9 +80995,9 @@ paths: application/json: schema: type: array - items: *516 + items: *518 examples: - default: *517 + default: *519 headers: Link: *37 '404': *6 @@ -80544,8 +81018,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#create-a-label parameters: - - *326 - - *327 + - *328 + - *329 requestBody: required: true content: @@ -80581,9 +81055,9 @@ paths: description: Response content: application/json: - schema: *516 + schema: *518 examples: - default: &535 + default: &537 value: id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -80615,8 +81089,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#get-a-label parameters: - - *326 - - *327 + - *328 + - *329 - name: name in: path required: true @@ -80627,9 +81101,9 @@ paths: description: Response content: application/json: - schema: *516 + schema: *518 examples: - default: *535 + default: *537 '404': *6 x-github: githubCloudOnly: false @@ -80646,8 +81120,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#update-a-label parameters: - - *326 - - *327 + - *328 + - *329 - name: name in: path required: true @@ -80686,7 +81160,7 @@ paths: description: Response content: application/json: - schema: *516 + schema: *518 examples: default: value: @@ -80712,8 +81186,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#delete-a-label parameters: - - *326 - - *327 + - *328 + - *329 - name: name in: path required: true @@ -80739,8 +81213,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-languages parameters: - - *326 - - *327 + - *328 + - *329 responses: '200': description: Response @@ -80776,8 +81250,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/lfs#enable-git-lfs-for-a-repository parameters: - - *326 - - *327 + - *328 + - *329 responses: '202': *85 '403': @@ -80805,8 +81279,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/lfs#disable-git-lfs-for-a-repository parameters: - - *326 - - *327 + - *328 + - *329 responses: '204': description: Response @@ -80832,9 +81306,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/licenses/licenses#get-the-license-for-a-repository parameters: - - *326 - - *327 - - *424 + - *328 + - *329 + - *426 responses: '200': description: Response @@ -80981,8 +81455,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#sync-a-fork-branch-with-the-upstream-repository parameters: - - *326 - - *327 + - *328 + - *329 requestBody: required: true content: @@ -81047,8 +81521,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#merge-a-branch parameters: - - *326 - - *327 + - *328 + - *329 requestBody: required: true content: @@ -81082,9 +81556,9 @@ paths: description: Successful Response (The resulting merge commit) content: application/json: - schema: *447 + schema: *449 examples: - default: *536 + default: *538 '204': description: Response when already merged '404': @@ -81109,8 +81583,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#list-milestones parameters: - - *326 - - *327 + - *328 + - *329 - name: state description: The state of the milestone. Either `open`, `closed`, or `all`. in: query @@ -81151,7 +81625,7 @@ paths: application/json: schema: type: array - items: *451 + items: *453 examples: default: value: @@ -81207,8 +81681,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#create-a-milestone parameters: - - *326 - - *327 + - *328 + - *329 requestBody: required: true content: @@ -81248,9 +81722,9 @@ paths: description: Response content: application/json: - schema: *451 + schema: *453 examples: - default: &537 + default: &539 value: url: https://api.github.com/repos/octocat/Hello-World/milestones/1 html_url: https://github.com/octocat/Hello-World/milestones/v1.0 @@ -81309,9 +81783,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#get-a-milestone parameters: - - *326 - - *327 - - &538 + - *328 + - *329 + - &540 name: milestone_number description: The number that identifies the milestone. in: path @@ -81323,9 +81797,9 @@ paths: description: Response content: application/json: - schema: *451 + schema: *453 examples: - default: *537 + default: *539 '404': *6 x-github: githubCloudOnly: false @@ -81342,9 +81816,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#update-a-milestone parameters: - - *326 - - *327 - - *538 + - *328 + - *329 + - *540 requestBody: required: false content: @@ -81382,9 +81856,9 @@ paths: description: Response content: application/json: - schema: *451 + schema: *453 examples: - default: *537 + default: *539 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -81400,9 +81874,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#delete-a-milestone parameters: - - *326 - - *327 - - *538 + - *328 + - *329 + - *540 responses: '204': description: Response @@ -81423,9 +81897,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#list-labels-for-issues-in-a-milestone parameters: - - *326 - - *327 - - *538 + - *328 + - *329 + - *540 - *17 - *18 responses: @@ -81435,9 +81909,9 @@ paths: application/json: schema: type: array - items: *516 + items: *518 examples: - default: *517 + default: *519 headers: Link: *37 x-github: @@ -81456,12 +81930,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#list-repository-notifications-for-the-authenticated-user parameters: - - *326 - - *327 - - *539 - - *540 - - *125 + - *328 + - *329 - *541 + - *542 + - *125 + - *543 - *17 - *18 responses: @@ -81473,7 +81947,7 @@ paths: type: array items: *147 examples: - default: *542 + default: *544 headers: Link: *37 x-github: @@ -81497,8 +81971,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#mark-repository-notifications-as-read parameters: - - *326 - - *327 + - *328 + - *329 requestBody: required: false content: @@ -81556,14 +82030,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#get-a-apiname-pages-site parameters: - - *326 - - *327 + - *328 + - *329 responses: '200': description: Response content: application/json: - schema: &543 + schema: &545 title: GitHub Pages description: The configuration for GitHub Pages for a repository. type: object @@ -81707,7 +82181,7 @@ paths: - custom_404 - public examples: - default: &544 + default: &546 value: url: https://api.github.com/repos/github/developer.github.com/pages status: built @@ -81748,8 +82222,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#create-a-apiname-pages-site parameters: - - *326 - - *327 + - *328 + - *329 requestBody: required: true content: @@ -81804,9 +82278,9 @@ paths: description: Response content: application/json: - schema: *543 + schema: *545 examples: - default: *544 + default: *546 '422': *15 '409': *84 x-github: @@ -81829,8 +82303,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#update-information-about-a-apiname-pages-site parameters: - - *326 - - *327 + - *328 + - *329 requestBody: required: true content: @@ -81938,8 +82412,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#delete-a-apiname-pages-site parameters: - - *326 - - *327 + - *328 + - *329 responses: '204': description: Response @@ -81965,8 +82439,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#list-apiname-pages-builds parameters: - - *326 - - *327 + - *328 + - *329 - *17 - *18 responses: @@ -81976,7 +82450,7 @@ paths: application/json: schema: type: array - items: &545 + items: &547 title: Page Build description: Page Build type: object @@ -82068,8 +82542,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#request-a-apiname-pages-build parameters: - - *326 - - *327 + - *328 + - *329 responses: '201': description: Response @@ -82116,16 +82590,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#get-latest-pages-build parameters: - - *326 - - *327 + - *328 + - *329 responses: '200': description: Response content: application/json: - schema: *545 + schema: *547 examples: - default: &546 + default: &548 value: url: https://api.github.com/repos/github/developer.github.com/pages/builds/5472601 status: built @@ -82173,8 +82647,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#get-apiname-pages-build parameters: - - *326 - - *327 + - *328 + - *329 - name: build_id in: path required: true @@ -82185,9 +82659,9 @@ paths: description: Response content: application/json: - schema: *545 + schema: *547 examples: - default: *546 + default: *548 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -82207,8 +82681,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#create-a-github-pages-deployment parameters: - - *326 - - *327 + - *328 + - *329 requestBody: required: true content: @@ -82317,9 +82791,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#get-the-status-of-a-github-pages-deployment parameters: - - *326 - - *327 - - &547 + - *328 + - *329 + - &549 name: pages_deployment_id description: The ID of the Pages deployment. You can also give the commit SHA of the deployment. @@ -82377,9 +82851,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#cancel-a-github-pages-deployment parameters: - - *326 - - *327 - - *547 + - *328 + - *329 + - *549 responses: '204': *102 '404': *6 @@ -82406,8 +82880,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#get-a-dns-health-check-for-github-pages parameters: - - *326 - - *327 + - *328 + - *329 responses: '200': description: Response @@ -82702,8 +83176,8 @@ paths: 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 parameters: - - *326 - - *327 + - *328 + - *329 responses: '200': description: Private vulnerability reporting status @@ -82740,8 +83214,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#enable-private-vulnerability-reporting-for-a-repository parameters: - - *326 - - *327 + - *328 + - *329 responses: '204': *102 '422': *14 @@ -82762,8 +83236,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#disable-private-vulnerability-reporting-for-a-repository parameters: - - *326 - - *327 + - *328 + - *329 responses: '204': *102 '422': *14 @@ -82786,8 +83260,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#list-repository-projects parameters: - - *326 - - *327 + - *328 + - *329 - name: state description: Indicates the state of the projects to return. in: query @@ -82808,7 +83282,7 @@ paths: application/json: schema: type: array - items: *279 + items: *281 examples: default: value: @@ -82848,7 +83322,7 @@ paths: '401': *23 '403': *27 '404': *6 - '410': *337 + '410': *339 '422': *7 x-github: githubCloudOnly: false @@ -82868,8 +83342,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#create-a-repository-project parameters: - - *326 - - *327 + - *328 + - *329 requestBody: required: true content: @@ -82895,13 +83369,13 @@ paths: description: Response content: application/json: - schema: *279 + schema: *281 examples: - default: *336 + default: *338 '401': *23 '403': *27 '404': *6 - '410': *337 + '410': *339 '422': *7 x-github: githubCloudOnly: false @@ -82921,8 +83395,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/custom-properties#get-all-custom-property-values-for-a-repository parameters: - - *326 - - *327 + - *328 + - *329 responses: '200': description: Response @@ -82930,7 +83404,7 @@ paths: application/json: schema: type: array - items: *281 + items: *283 examples: default: value: @@ -82961,8 +83435,8 @@ paths: 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 parameters: - - *326 - - *327 + - *328 + - *329 requestBody: required: true content: @@ -82974,7 +83448,7 @@ paths: type: array description: A list of custom property names and associated values to apply to the repositories. - items: *281 + items: *283 required: - properties examples: @@ -83024,8 +83498,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#list-pull-requests parameters: - - *326 - - *327 + - *328 + - *329 - name: state description: Either `open`, `closed`, or `all` to filter by state. in: query @@ -83085,9 +83559,9 @@ paths: application/json: schema: type: array - items: *548 + items: *550 examples: - default: *549 + default: *551 headers: Link: *37 '304': *35 @@ -83119,8 +83593,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#create-a-pull-request parameters: - - *326 - - *327 + - *328 + - *329 requestBody: required: true content: @@ -83187,7 +83661,7 @@ paths: description: Response content: application/json: - schema: &553 + schema: &555 type: object title: Pull Request description: Pull requests let you tell others about changes you've @@ -83316,7 +83790,7 @@ paths: milestone: anyOf: - type: 'null' - - *451 + - *453 active_lock_reason: type: - string @@ -83409,14 +83883,14 @@ paths: _links: type: object properties: - comments: *452 - commits: *452 - statuses: *452 - html: *452 - issue: *452 - review_comments: *452 - review_comment: *452 - self: *452 + comments: *454 + commits: *454 + statuses: *454 + html: *454 + issue: *454 + review_comments: *454 + review_comment: *454 + self: *454 required: - comments - commits @@ -83427,7 +83901,7 @@ paths: - review_comment - self author_association: *122 - auto_merge: *550 + auto_merge: *552 draft: description: Indicates whether or not the pull request is a draft. type: boolean @@ -83529,7 +84003,7 @@ paths: - merged_by - review_comments examples: - default: &554 + default: &556 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -84056,8 +84530,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments#list-review-comments-in-a-repository parameters: - - *326 - - *327 + - *328 + - *329 - name: sort in: query required: false @@ -84086,9 +84560,9 @@ paths: application/json: schema: type: array - items: *551 + items: *553 examples: - default: &556 + default: &558 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -84165,17 +84639,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments#get-a-review-comment-for-a-pull-request parameters: - - *326 - - *327 + - *328 + - *329 - *134 responses: '200': description: Response content: application/json: - schema: *551 + schema: *553 examples: - default: &552 + default: &554 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -84250,8 +84724,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments#update-a-review-comment-for-a-pull-request parameters: - - *326 - - *327 + - *328 + - *329 - *134 requestBody: required: true @@ -84274,9 +84748,9 @@ paths: description: Response content: application/json: - schema: *551 + schema: *553 examples: - default: *552 + default: *554 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84292,8 +84766,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments#delete-a-review-comment-for-a-pull-request parameters: - - *326 - - *327 + - *328 + - *329 - *134 responses: '204': @@ -84315,8 +84789,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-pull-request-review-comment parameters: - - *326 - - *327 + - *328 + - *329 - *134 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). @@ -84343,9 +84817,9 @@ paths: application/json: schema: type: array - items: *315 + items: *317 examples: - default: *317 + default: *319 headers: Link: *37 '404': *6 @@ -84366,8 +84840,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-pull-request-review-comment parameters: - - *326 - - *327 + - *328 + - *329 - *134 requestBody: required: true @@ -84400,16 +84874,16 @@ paths: description: Reaction exists content: application/json: - schema: *315 + schema: *317 examples: - default: *316 + default: *318 '201': description: Reaction created content: application/json: - schema: *315 + schema: *317 examples: - default: *316 + default: *318 '422': *15 x-github: githubCloudOnly: false @@ -84431,10 +84905,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-a-pull-request-comment-reaction parameters: - - *326 - - *327 + - *328 + - *329 - *134 - - *318 + - *320 responses: '204': description: Response @@ -84477,9 +84951,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#get-a-pull-request parameters: - - *326 - - *327 - - &555 + - *328 + - *329 + - &557 name: pull_number description: The number that identifies the pull request. in: path @@ -84492,9 +84966,9 @@ paths: to fetch diff and patch formats. content: application/json: - schema: *553 + schema: *555 examples: - default: *554 + default: *556 '304': *35 '404': *6 '406': @@ -84529,9 +85003,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#update-a-pull-request parameters: - - *326 - - *327 - - *555 + - *328 + - *329 + - *557 requestBody: required: false content: @@ -84573,9 +85047,9 @@ paths: description: Response content: application/json: - schema: *553 + schema: *555 examples: - default: *554 + default: *556 '422': *15 '403': *27 x-github: @@ -84597,9 +85071,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#create-a-codespace-from-a-pull-request parameters: - - *326 - - *327 - - *555 + - *328 + - *329 + - *557 requestBody: required: true content: @@ -84662,7 +85136,7 @@ paths: application/json: schema: *255 examples: - default: *438 + default: *440 '202': description: Response when the codespace creation partially failed but is being retried in the background @@ -84670,7 +85144,7 @@ paths: application/json: schema: *255 examples: - default: *438 + default: *440 '401': *23 '403': *27 '404': *6 @@ -84700,9 +85174,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments#list-review-comments-on-a-pull-request parameters: - - *326 - - *327 - - *555 + - *328 + - *329 + - *557 - *144 - name: direction description: The direction to sort results. Ignored without `sort` parameter. @@ -84723,9 +85197,9 @@ paths: application/json: schema: type: array - items: *551 + items: *553 examples: - default: *556 + default: *558 headers: Link: *37 x-github: @@ -84758,9 +85232,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments#create-a-review-comment-for-a-pull-request parameters: - - *326 - - *327 - - *555 + - *328 + - *329 + - *557 requestBody: required: true content: @@ -84866,7 +85340,7 @@ paths: description: Response content: application/json: - schema: *551 + schema: *553 examples: example-for-a-multi-line-comment: value: @@ -84954,9 +85428,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments#create-a-reply-for-a-review-comment parameters: - - *326 - - *327 - - *555 + - *328 + - *329 + - *557 - *134 requestBody: required: true @@ -84979,7 +85453,7 @@ paths: description: Response content: application/json: - schema: *551 + schema: *553 examples: default: value: @@ -85065,9 +85539,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#list-commits-on-a-pull-request parameters: - - *326 - - *327 - - *555 + - *328 + - *329 + - *557 - *17 - *18 responses: @@ -85077,9 +85551,9 @@ paths: application/json: schema: type: array - items: *447 + items: *449 examples: - default: *557 + default: *559 headers: Link: *37 x-github: @@ -85109,9 +85583,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#list-pull-requests-files parameters: - - *326 - - *327 - - *555 + - *328 + - *329 + - *557 - *17 - *18 responses: @@ -85121,7 +85595,7 @@ paths: application/json: schema: type: array - items: *459 + items: *461 examples: default: value: @@ -85159,9 +85633,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#check-if-a-pull-request-has-been-merged parameters: - - *326 - - *327 - - *555 + - *328 + - *329 + - *557 responses: '204': description: Response if pull request has been merged @@ -85184,9 +85658,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#merge-a-pull-request parameters: - - *326 - - *327 - - *555 + - *328 + - *329 + - *557 requestBody: required: false content: @@ -85298,9 +85772,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/review-requests#get-all-requested-reviewers-for-a-pull-request parameters: - - *326 - - *327 - - *555 + - *328 + - *329 + - *557 responses: '200': description: Response @@ -85375,9 +85849,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/review-requests#request-reviewers-for-a-pull-request parameters: - - *326 - - *327 - - *555 + - *328 + - *329 + - *557 requestBody: required: false content: @@ -85414,7 +85888,7 @@ paths: description: Response content: application/json: - schema: *548 + schema: *550 examples: default: value: @@ -85950,9 +86424,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/review-requests#remove-requested-reviewers-from-a-pull-request parameters: - - *326 - - *327 - - *555 + - *328 + - *329 + - *557 requestBody: required: true content: @@ -85986,7 +86460,7 @@ paths: description: Response content: application/json: - schema: *548 + schema: *550 examples: default: value: @@ -86491,9 +86965,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/reviews#list-reviews-for-a-pull-request parameters: - - *326 - - *327 - - *555 + - *328 + - *329 + - *557 - *17 - *18 responses: @@ -86503,7 +86977,7 @@ paths: application/json: schema: type: array - items: &558 + items: &560 title: Pull Request Review description: Pull Request Reviews are reviews on pull requests. type: object @@ -86659,9 +87133,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/reviews#create-a-review-for-a-pull-request parameters: - - *326 - - *327 - - *555 + - *328 + - *329 + - *557 requestBody: required: false content: @@ -86751,9 +87225,9 @@ paths: description: Response content: application/json: - schema: *558 + schema: *560 examples: - default: &560 + default: &562 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -86816,10 +87290,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/reviews#get-a-review-for-a-pull-request parameters: - - *326 - - *327 - - *555 - - &559 + - *328 + - *329 + - *557 + - &561 name: review_id description: The unique identifier of the review. in: path @@ -86831,9 +87305,9 @@ paths: description: Response content: application/json: - schema: *558 + schema: *560 examples: - default: &561 + default: &563 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -86892,10 +87366,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/reviews#update-a-review-for-a-pull-request parameters: - - *326 - - *327 - - *555 - - *559 + - *328 + - *329 + - *557 + - *561 requestBody: required: true content: @@ -86918,7 +87392,7 @@ paths: description: Response content: application/json: - schema: *558 + schema: *560 examples: default: value: @@ -86980,18 +87454,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/reviews#delete-a-pending-review-for-a-pull-request parameters: - - *326 - - *327 - - *555 - - *559 + - *328 + - *329 + - *557 + - *561 responses: '200': description: Response content: application/json: - schema: *558 + schema: *560 examples: - default: *560 + default: *562 '422': *7 '404': *6 x-github: @@ -87018,10 +87492,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/reviews#list-comments-for-a-pull-request-review parameters: - - *326 - - *327 - - *555 - - *559 + - *328 + - *329 + - *557 + - *561 - *17 - *18 responses: @@ -87119,9 +87593,9 @@ paths: _links: type: object properties: - self: *452 - html: *452 - pull_request: *452 + self: *454 + html: *454 + pull_request: *454 required: - self - html @@ -87272,10 +87746,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/reviews#dismiss-a-review-for-a-pull-request parameters: - - *326 - - *327 - - *555 - - *559 + - *328 + - *329 + - *557 + - *561 requestBody: required: true content: @@ -87304,7 +87778,7 @@ paths: description: Response content: application/json: - schema: *558 + schema: *560 examples: default: value: @@ -87367,10 +87841,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/reviews#submit-a-review-for-a-pull-request parameters: - - *326 - - *327 - - *555 - - *559 + - *328 + - *329 + - *557 + - *561 requestBody: required: true content: @@ -87405,9 +87879,9 @@ paths: description: Response content: application/json: - schema: *558 + schema: *560 examples: - default: *561 + default: *563 '404': *6 '422': *7 '403': *27 @@ -87429,9 +87903,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#update-a-pull-request-branch parameters: - - *326 - - *327 - - *555 + - *328 + - *329 + - *557 requestBody: required: false content: @@ -87495,8 +87969,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#get-a-repository-readme parameters: - - *326 - - *327 + - *328 + - *329 - name: ref description: 'The name of the commit/branch/tag. Default: the repository’s default branch.' @@ -87509,9 +87983,9 @@ paths: description: Response content: application/json: - schema: *562 + schema: *564 examples: - default: &563 + default: &565 value: type: file encoding: base64 @@ -87553,8 +88027,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#get-a-repository-readme-for-a-directory parameters: - - *326 - - *327 + - *328 + - *329 - name: dir description: The alternate path to look for a README file in: path @@ -87574,9 +88048,9 @@ paths: description: Response content: application/json: - schema: *562 + schema: *564 examples: - default: *563 + default: *565 '404': *6 '422': *15 x-github: @@ -87598,8 +88072,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#list-releases parameters: - - *326 - - *327 + - *328 + - *329 - *17 - *18 responses: @@ -87609,7 +88083,7 @@ paths: application/json: schema: type: array - items: &564 + items: &566 title: Release description: A release. type: object @@ -87681,7 +88155,7 @@ paths: author: *4 assets: type: array - items: &565 + items: &567 title: Release Asset description: Data related to a release. type: object @@ -87861,8 +88335,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#create-a-release parameters: - - *326 - - *327 + - *328 + - *329 requestBody: required: true content: @@ -87938,9 +88412,9 @@ paths: description: Response content: application/json: - schema: *564 + schema: *566 examples: - default: &568 + default: &570 value: url: https://api.github.com/repos/octocat/Hello-World/releases/1 html_url: https://github.com/octocat/Hello-World/releases/v1.0.0 @@ -88043,9 +88517,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/assets#get-a-release-asset parameters: - - *326 - - *327 - - &566 + - *328 + - *329 + - &568 name: asset_id description: The unique identifier of the asset. in: path @@ -88057,9 +88531,9 @@ paths: description: Response content: application/json: - schema: *565 + schema: *567 examples: - default: &567 + default: &569 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 @@ -88093,7 +88567,7 @@ paths: type: User site_admin: false '404': *6 - '302': *461 + '302': *463 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88109,9 +88583,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/assets#update-a-release-asset parameters: - - *326 - - *327 - - *566 + - *328 + - *329 + - *568 requestBody: required: false content: @@ -88140,9 +88614,9 @@ paths: description: Response content: application/json: - schema: *565 + schema: *567 examples: - default: *567 + default: *569 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88158,9 +88632,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/assets#delete-a-release-asset parameters: - - *326 - - *327 - - *566 + - *328 + - *329 + - *568 responses: '204': description: Response @@ -88184,8 +88658,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#generate-release-notes-content-for-a-release parameters: - - *326 - - *327 + - *328 + - *329 requestBody: required: true content: @@ -88271,16 +88745,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#get-the-latest-release parameters: - - *326 - - *327 + - *328 + - *329 responses: '200': description: Response content: application/json: - schema: *564 + schema: *566 examples: - default: *568 + default: *570 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88297,8 +88771,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#get-a-release-by-tag-name parameters: - - *326 - - *327 + - *328 + - *329 - name: tag description: tag parameter in: path @@ -88311,9 +88785,9 @@ paths: description: Response content: application/json: - schema: *564 + schema: *566 examples: - default: *568 + default: *570 '404': *6 x-github: githubCloudOnly: false @@ -88335,9 +88809,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#get-a-release parameters: - - *326 - - *327 - - &569 + - *328 + - *329 + - &571 name: release_id description: The unique identifier of the release. in: path @@ -88351,9 +88825,9 @@ paths: 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: *564 + schema: *566 examples: - default: *568 + default: *570 '401': description: Unauthorized x-github: @@ -88371,9 +88845,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#update-a-release parameters: - - *326 - - *327 - - *569 + - *328 + - *329 + - *571 requestBody: required: false content: @@ -88437,9 +88911,9 @@ paths: description: Response content: application/json: - schema: *564 + schema: *566 examples: - default: *568 + default: *570 '404': description: Not Found if the discussion category name is invalid content: @@ -88460,9 +88934,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#delete-a-release parameters: - - *326 - - *327 - - *569 + - *328 + - *329 + - *571 responses: '204': description: Response @@ -88482,9 +88956,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/assets#list-release-assets parameters: - - *326 - - *327 - - *569 + - *328 + - *329 + - *571 - *17 - *18 responses: @@ -88494,7 +88968,7 @@ paths: application/json: schema: type: array - items: *565 + items: *567 examples: default: value: @@ -88575,9 +89049,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: - - *326 - - *327 - - *569 + - *328 + - *329 + - *571 - name: name in: query required: true @@ -88603,7 +89077,7 @@ paths: description: Response for successful upload content: application/json: - schema: *565 + schema: *567 examples: response-for-successful-upload: value: @@ -88657,9 +89131,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-release parameters: - - *326 - - *327 - - *569 + - *328 + - *329 + - *571 - 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. @@ -88683,9 +89157,9 @@ paths: application/json: schema: type: array - items: *315 + items: *317 examples: - default: *317 + default: *319 headers: Link: *37 '404': *6 @@ -88706,9 +89180,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-release parameters: - - *326 - - *327 - - *569 + - *328 + - *329 + - *571 requestBody: required: true content: @@ -88738,16 +89212,16 @@ paths: description: Reaction exists content: application/json: - schema: *315 + schema: *317 examples: - default: *316 + default: *318 '201': description: Reaction created content: application/json: - schema: *315 + schema: *317 examples: - default: *316 + default: *318 '422': *15 x-github: githubCloudOnly: false @@ -88769,10 +89243,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-a-release-reaction parameters: - - *326 - - *327 - - *569 - - *318 + - *328 + - *329 + - *571 + - *320 responses: '204': description: Response @@ -88796,9 +89270,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rules#get-rules-for-a-branch parameters: - - *326 - - *327 - - *385 + - *328 + - *329 + - *387 - *17 - *18 responses: @@ -88814,8 +89288,8 @@ paths: description: A repository rule with ruleset details. oneOf: - allOf: - - *570 - - &572 + - *572 + - &574 title: repository ruleset data for rule description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -88834,54 +89308,54 @@ paths: ruleset_id: type: integer description: The ID of the ruleset that includes this rule. - - allOf: - - *571 - - *572 - allOf: - *573 - - *572 - - allOf: - *574 - - *572 - allOf: - *575 - - *572 + - *574 - allOf: - *576 - - *572 + - *574 - allOf: - *577 - - *572 + - *574 - allOf: - *578 - - *572 + - *574 - allOf: - *579 - - *572 + - *574 - allOf: - *580 - - *572 + - *574 - allOf: - *581 - - *572 + - *574 - allOf: - *582 - - *572 + - *574 - allOf: - *583 - - *572 + - *574 - allOf: - *584 - - *572 + - *574 - allOf: - *585 - - *572 + - *574 - allOf: - *586 - - *572 + - *574 - allOf: - *587 - - *572 + - *574 + - allOf: + - *588 + - *574 + - allOf: + - *589 + - *574 examples: default: value: @@ -88920,8 +89394,8 @@ paths: category: repos subcategory: rules parameters: - - *326 - - *327 + - *328 + - *329 - *17 - *18 - name: includes_parents @@ -88932,7 +89406,7 @@ paths: schema: type: boolean default: true - - *588 + - *590 responses: '200': description: Response @@ -88987,8 +89461,8 @@ paths: category: repos subcategory: rules parameters: - - *326 - - *327 + - *328 + - *329 requestBody: description: Request body required: true @@ -89050,7 +89524,7 @@ paths: application/json: schema: *112 examples: - default: &597 + default: &599 value: id: 42 name: super cool ruleset @@ -89097,12 +89571,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rule-suites#list-repository-rule-suites parameters: - - *326 - - *327 - - *589 - - *287 - - *590 + - *328 + - *329 - *591 + - *289 + - *592 + - *593 - *17 - *18 responses: @@ -89110,9 +89584,9 @@ paths: description: Response content: application/json: - schema: *592 + schema: *594 examples: - default: *593 + default: *595 '404': *6 '500': *87 x-github: @@ -89133,17 +89607,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rule-suites#get-a-repository-rule-suite parameters: - - *326 - - *327 - - *594 + - *328 + - *329 + - *596 responses: '200': description: Response content: application/json: - schema: *595 + schema: *597 examples: - default: *596 + default: *598 '404': *6 '500': *87 x-github: @@ -89171,8 +89645,8 @@ paths: category: repos subcategory: rules parameters: - - *326 - - *327 + - *328 + - *329 - name: ruleset_id description: The ID of the ruleset. in: path @@ -89194,7 +89668,7 @@ paths: application/json: schema: *112 examples: - default: *597 + default: *599 '404': *6 '500': *87 put: @@ -89212,8 +89686,8 @@ paths: category: repos subcategory: rules parameters: - - *326 - - *327 + - *328 + - *329 - name: ruleset_id description: The ID of the ruleset. in: path @@ -89277,7 +89751,7 @@ paths: application/json: schema: *112 examples: - default: *597 + default: *599 '404': *6 '500': *87 delete: @@ -89295,8 +89769,8 @@ paths: category: repos subcategory: rules parameters: - - *326 - - *327 + - *328 + - *329 - name: ruleset_id description: The ID of the ruleset. in: path @@ -89324,20 +89798,20 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-a-repository parameters: - - *326 - - *327 - - *289 - - *290 + - *328 + - *329 - *291 - *292 + - *293 + - *294 - *76 - *18 - *17 - - *598 - - *599 - - *293 - - *294 + - *600 + - *601 - *295 + - *296 + - *297 responses: '200': description: Response @@ -89345,7 +89819,7 @@ paths: application/json: schema: type: array - items: &602 + items: &604 type: object properties: number: *88 @@ -89361,8 +89835,8 @@ paths: format: uri description: The REST API URL of the code locations for this alert. - state: *600 - resolution: *601 + state: *602 + resolution: *603 resolved_at: type: - string @@ -89575,15 +90049,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/secret-scanning#get-a-secret-scanning-alert parameters: - - *326 - - *327 - - *418 + - *328 + - *329 + - *420 responses: '200': description: Response content: application/json: - schema: *602 + schema: *604 examples: default: value: @@ -89635,9 +90109,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/secret-scanning#update-a-secret-scanning-alert parameters: - - *326 - - *327 - - *418 + - *328 + - *329 + - *420 requestBody: required: true content: @@ -89645,8 +90119,8 @@ paths: schema: type: object properties: - state: *600 - resolution: *601 + state: *602 + resolution: *603 resolution_comment: description: An optional comment when closing an alert. Cannot be updated or deleted. Must be `null` when changing `state` to `open`. @@ -89665,7 +90139,7 @@ paths: description: Response content: application/json: - schema: *602 + schema: *604 examples: default: value: @@ -89740,9 +90214,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/secret-scanning#list-locations-for-a-secret-scanning-alert parameters: - - *326 - - *327 - - *418 + - *328 + - *329 + - *420 - *18 - *17 responses: @@ -89753,7 +90227,7 @@ paths: schema: type: array description: List of locations where the secret was detected - items: &758 + items: &760 type: object properties: type: @@ -90132,8 +90606,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/secret-scanning#create-a-push-protection-bypass parameters: - - *326 - - *327 + - *328 + - *329 requestBody: required: true content: @@ -90141,14 +90615,14 @@ paths: schema: type: object properties: - reason: &604 + reason: &606 description: The reason for bypassing push protection. type: string enum: - false_positive - used_in_tests - will_fix_later - placeholder_id: *603 + placeholder_id: *605 required: - reason - placeholder_id @@ -90165,7 +90639,7 @@ paths: schema: type: object properties: - reason: *604 + reason: *606 expire_at: type: - string @@ -90209,8 +90683,8 @@ paths: 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 parameters: - - *326 - - *327 + - *328 + - *329 responses: '404': description: Repository does not have GitHub Advanced Security or secret @@ -90225,7 +90699,7 @@ paths: properties: incremental_scans: type: array - items: &605 + items: &607 description: Information on a single scan performed by secret scanning on the repository type: object @@ -90253,15 +90727,15 @@ paths: the scan is pending pattern_update_scans: type: array - items: *605 + items: *607 backfill_scans: type: array - items: *605 + items: *607 custom_pattern_backfill_scans: type: array items: allOf: - - *605 + - *607 - type: object properties: pattern_name: @@ -90331,8 +90805,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/security-advisories/repository-advisories#list-repository-security-advisories parameters: - - *326 - - *327 + - *328 + - *329 - *76 - name: sort description: The property to sort the results by. @@ -90376,9 +90850,9 @@ paths: application/json: schema: type: array - items: *606 + items: *608 examples: - default: *607 + default: *609 '400': *14 '404': *6 x-github: @@ -90401,8 +90875,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/security-advisories/repository-advisories#create-a-repository-security-advisory parameters: - - *326 - - *327 + - *328 + - *329 requestBody: required: true content: @@ -90482,7 +90956,7 @@ paths: login: type: string description: The username of the user credited. - type: *298 + type: *300 required: - login - type @@ -90572,9 +91046,9 @@ paths: description: Response content: application/json: - schema: *606 + schema: *608 examples: - default: &609 + default: &611 value: ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -90807,8 +91281,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/security-advisories/repository-advisories#privately-report-a-security-vulnerability parameters: - - *326 - - *327 + - *328 + - *329 requestBody: required: true content: @@ -90921,7 +91395,7 @@ paths: description: Response content: application/json: - schema: *606 + schema: *608 examples: default: value: @@ -91068,17 +91542,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/security-advisories/repository-advisories#get-a-repository-security-advisory parameters: - - *326 - - *327 - - *608 + - *328 + - *329 + - *610 responses: '200': description: Response content: application/json: - schema: *606 + schema: *608 examples: - default: *609 + default: *611 '403': *27 '404': *6 x-github: @@ -91102,9 +91576,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/security-advisories/repository-advisories#update-a-repository-security-advisory parameters: - - *326 - - *327 - - *608 + - *328 + - *329 + - *610 requestBody: required: true content: @@ -91184,7 +91658,7 @@ paths: login: type: string description: The username of the user credited. - type: *298 + type: *300 required: - login - type @@ -91275,10 +91749,10 @@ paths: description: Response content: application/json: - schema: *606 + schema: *608 examples: - default: *609 - add_credit: *609 + default: *611 + add_credit: *611 '403': *27 '404': *6 '422': @@ -91316,9 +91790,9 @@ paths: 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 parameters: - - *326 - - *327 - - *608 + - *328 + - *329 + - *610 responses: '202': *85 '400': *14 @@ -91345,17 +91819,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/security-advisories/repository-advisories#create-a-temporary-private-fork parameters: - - *326 - - *327 - - *608 + - *328 + - *329 + - *610 responses: '202': description: Response content: application/json: - schema: *339 + schema: *341 examples: - default: *341 + default: *343 '400': *14 '422': *15 '403': *27 @@ -91381,8 +91855,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/starring#list-stargazers parameters: - - *326 - - *327 + - *328 + - *329 - *17 - *18 responses: @@ -91478,8 +91952,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/statistics#get-the-weekly-commit-activity parameters: - - *326 - - *327 + - *328 + - *329 responses: '200': description: Returns a weekly aggregate of the number of additions and deletions @@ -91488,7 +91962,7 @@ paths: application/json: schema: type: array - items: &610 + items: &612 title: Code Frequency Stat description: Code Frequency Stat type: array @@ -91521,8 +91995,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/statistics#get-the-last-year-of-commit-activity parameters: - - *326 - - *327 + - *328 + - *329 responses: '200': description: Response @@ -91600,8 +92074,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/statistics#get-all-contributor-commit-activity parameters: - - *326 - - *327 + - *328 + - *329 responses: '200': description: Response @@ -91695,8 +92169,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/statistics#get-the-weekly-commit-count parameters: - - *326 - - *327 + - *328 + - *329 responses: '200': description: The array order is oldest week (index 0) to most recent week. @@ -91850,8 +92324,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/statistics#get-the-hourly-commit-count-for-each-day parameters: - - *326 - - *327 + - *328 + - *329 responses: '200': description: For example, `[2, 14, 25]` indicates that there were 25 total @@ -91861,7 +92335,7 @@ paths: application/json: schema: type: array - items: *610 + items: *612 examples: default: value: @@ -91894,8 +92368,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/statuses#create-a-commit-status parameters: - - *326 - - *327 + - *328 + - *329 - name: sha in: path required: true @@ -91951,7 +92425,7 @@ paths: description: Response content: application/json: - schema: *611 + schema: *613 examples: default: value: @@ -92005,8 +92479,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#list-watchers parameters: - - *326 - - *327 + - *328 + - *329 - *17 - *18 responses: @@ -92038,14 +92512,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#get-a-repository-subscription parameters: - - *326 - - *327 + - *328 + - *329 responses: '200': description: if you subscribe to the repository content: application/json: - schema: &612 + schema: &614 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -92118,8 +92592,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#set-a-repository-subscription parameters: - - *326 - - *327 + - *328 + - *329 requestBody: required: false content: @@ -92145,7 +92619,7 @@ paths: description: Response content: application/json: - schema: *612 + schema: *614 examples: default: value: @@ -92172,8 +92646,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#delete-a-repository-subscription parameters: - - *326 - - *327 + - *328 + - *329 responses: '204': description: Response @@ -92193,8 +92667,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-tags parameters: - - *326 - - *327 + - *328 + - *329 - *17 - *18 responses: @@ -92276,8 +92750,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/tags#closing-down---list-tag-protection-states-for-a-repository parameters: - - *326 - - *327 + - *328 + - *329 responses: '200': description: Response @@ -92285,7 +92759,7 @@ paths: application/json: schema: type: array - items: &613 + items: &615 title: Tag protection description: Tag protection type: object @@ -92342,8 +92816,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/tags#closing-down---create-a-tag-protection-state-for-a-repository parameters: - - *326 - - *327 + - *328 + - *329 requestBody: required: true content: @@ -92366,7 +92840,7 @@ paths: description: Response content: application/json: - schema: *613 + schema: *615 examples: default: value: @@ -92397,8 +92871,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/tags#closing-down---delete-a-tag-protection-state-for-a-repository parameters: - - *326 - - *327 + - *328 + - *329 - name: tag_protection_id description: The unique identifier of the tag protection. in: path @@ -92435,8 +92909,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#download-a-repository-archive-tar operationId: repos/download-tarball-archive parameters: - - *326 - - *327 + - *328 + - *329 - name: ref in: path required: true @@ -92472,8 +92946,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-teams parameters: - - *326 - - *327 + - *328 + - *329 - *17 - *18 responses: @@ -92505,8 +92979,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#get-all-repository-topics parameters: - - *326 - - *327 + - *328 + - *329 - *18 - *17 responses: @@ -92514,7 +92988,7 @@ paths: description: Response content: application/json: - schema: &614 + schema: &616 title: Topic description: A topic aggregates entities that are related to a subject. type: object @@ -92526,7 +93000,7 @@ paths: required: - names examples: - default: &615 + default: &617 value: names: - octocat @@ -92549,8 +93023,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#replace-all-repository-topics parameters: - - *326 - - *327 + - *328 + - *329 requestBody: required: true content: @@ -92581,9 +93055,9 @@ paths: description: Response content: application/json: - schema: *614 + schema: *616 examples: - default: *615 + default: *617 '404': *6 '422': *7 x-github: @@ -92604,9 +93078,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-repository-clones parameters: - - *326 - - *327 - - &616 + - *328 + - *329 + - &618 name: per description: The time frame to display results for. in: query @@ -92637,7 +93111,7 @@ paths: - 128 clones: type: array - items: &617 + items: &619 title: Traffic type: object properties: @@ -92724,8 +93198,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-top-referral-paths parameters: - - *326 - - *327 + - *328 + - *329 responses: '200': description: Response @@ -92819,8 +93293,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-top-referral-sources parameters: - - *326 - - *327 + - *328 + - *329 responses: '200': description: Response @@ -92883,9 +93357,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-page-views parameters: - - *326 - - *327 - - *616 + - *328 + - *329 + - *618 responses: '200': description: Response @@ -92906,7 +93380,7 @@ paths: - 3782 views: type: array - items: *617 + items: *619 required: - uniques - count @@ -92983,8 +93457,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#transfer-a-repository parameters: - - *326 - - *327 + - *328 + - *329 requestBody: required: true content: @@ -93258,8 +93732,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#check-if-vulnerability-alerts-are-enabled-for-a-repository parameters: - - *326 - - *327 + - *328 + - *329 responses: '204': description: Response if repository is enabled with vulnerability alerts @@ -93282,8 +93756,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#enable-vulnerability-alerts parameters: - - *326 - - *327 + - *328 + - *329 responses: '204': description: Response @@ -93305,8 +93779,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#disable-vulnerability-alerts parameters: - - *326 - - *327 + - *328 + - *329 responses: '204': description: Response @@ -93332,8 +93806,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#download-a-repository-archive-zip operationId: repos/download-zipball-archive parameters: - - *326 - - *327 + - *328 + - *329 - name: ref in: path required: true @@ -93425,9 +93899,9 @@ paths: description: Response content: application/json: - schema: *339 + schema: *341 examples: - default: *341 + default: *343 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -93578,7 +94052,7 @@ paths: value: Engineering externalId: value: 8aa1a0c0-c4c3-4bc0-b4a5-2ef676900159 - - &625 + - &627 name: excludedAttributes description: Excludes the specified attribute from being returned in the results. Using this parameter can speed up response time. @@ -93588,7 +94062,7 @@ paths: type: string examples: - members - - &630 + - &632 name: startIndex description: 'Used for pagination: the starting index of the first result to return when paginating through values.' @@ -93600,7 +94074,7 @@ paths: format: int32 examples: - 1 - - &631 + - &633 name: count description: 'Used for pagination: the number of results to return per page.' in: query @@ -93644,7 +94118,7 @@ paths: Resources: type: array description: Information about each provisioned group. - items: &619 + items: &621 allOf: - type: object required: @@ -93726,7 +94200,7 @@ paths: - value: 0db508eb-91e2-46e4-809c-30dcbda0c685 "$+ref": https://api.github.localhost/scim/v2/Users/0db508eb-91e2-46e4-809c-30dcbda0c685 displayName: User 2 - meta: &632 + meta: &634 type: object description: The metadata associated with the creation/updates to the user. @@ -93791,31 +94265,31 @@ paths: location: https://api.github.localhost/scim/v2/Groups/24b28bbb-5fc4-4686-a153-a020debb1155 startIndex: 1 itemsPerPage: 20 - '400': &620 + '400': &622 description: Bad request content: application/json: - schema: *618 + schema: *620 application/scim+json: - schema: *618 - '401': &621 + schema: *620 + '401': &623 description: Authorization failure - '403': &622 + '403': &624 description: Permission denied - '429': &623 + '429': &625 description: Too many requests content: application/json: - schema: *618 + schema: *620 application/scim+json: - schema: *618 - '500': &624 + schema: *620 + '500': &626 description: Internal server error content: application/json: - schema: *618 + schema: *620 application/scim+json: - schema: *618 + schema: *620 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -93839,7 +94313,7 @@ paths: required: true content: application/json: - schema: &628 + schema: &630 type: object required: - schemas @@ -93899,9 +94373,9 @@ paths: description: Group has been created content: application/scim+json: - schema: *619 + schema: *621 examples: - group: &626 + group: &628 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:Group @@ -93920,13 +94394,13 @@ paths: created: '2012-03-27T19:59:26.000Z' lastModified: '2018-03-27T19:59:26.000Z' location: https://api.github.localhost/scim/v2/Groups/24b28bbb-5fc4-4686-a153-a020debb1155 - '400': *620 - '401': *621 - '403': *622 - '409': &629 + '400': *622 + '401': *623 + '403': *624 + '409': &631 description: Duplicate record detected - '429': *623 - '500': *624 + '429': *625 + '500': *626 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -93943,7 +94417,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/scim#get-scim-provisioning-information-for-an-enterprise-group parameters: - - &627 + - &629 name: scim_group_id description: A unique identifier of the SCIM group. in: path @@ -93952,22 +94426,22 @@ paths: type: string examples: - 7fce0092-d52e-4f76-b727-3955bd72c939 - - *625 + - *627 - *38 responses: '200': description: Success, a group was found content: application/scim+json: - schema: *619 + schema: *621 examples: - default: *626 - '400': *620 - '401': *621 - '403': *622 + default: *628 + '400': *622 + '401': *623 + '403': *624 '404': *6 - '429': *623 - '500': *624 + '429': *625 + '500': *626 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -93986,13 +94460,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/scim#set-scim-information-for-a-provisioned-enterprise-group parameters: - - *627 + - *629 - *38 requestBody: required: true content: application/json: - schema: *628 + schema: *630 examples: group: summary: Group @@ -94018,17 +94492,17 @@ paths: description: Group was updated content: application/scim+json: - schema: *619 + schema: *621 examples: - group: *626 - groupWithMembers: *626 - '400': *620 - '401': *621 - '403': *622 + group: *628 + groupWithMembers: *628 + '400': *622 + '401': *623 + '403': *624 '404': *6 - '409': *629 - '429': *623 - '500': *624 + '409': *631 + '429': *625 + '500': *626 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -94052,13 +94526,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/scim#update-an-attribute-for-a-scim-enterprise-group parameters: - - *627 + - *629 - *38 requestBody: required: true content: application/json: - schema: &639 + schema: &641 type: object required: - Operations @@ -94118,17 +94592,17 @@ paths: description: Success, group was updated content: application/scim+json: - schema: *619 + schema: *621 examples: - updateGroup: *626 - addMembers: *626 - '400': *620 - '401': *621 - '403': *622 + updateGroup: *628 + addMembers: *628 + '400': *622 + '401': *623 + '403': *624 '404': *6 - '409': *629 - '429': *623 - '500': *624 + '409': *631 + '429': *625 + '500': *626 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -94144,17 +94618,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/scim#delete-a-scim-group-from-an-enterprise parameters: - - *627 + - *629 - *38 responses: '204': description: Group was deleted, no content - '400': *620 - '401': *621 - '403': *622 + '400': *622 + '401': *623 + '403': *624 '404': *6 - '429': *623 - '500': *624 + '429': *625 + '500': *626 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -94188,8 +94662,8 @@ paths: value: userName eq 'E012345' externalId: value: externalId eq 'E012345' - - *630 - - *631 + - *632 + - *633 - *38 responses: '200': @@ -94223,7 +94697,7 @@ paths: Resources: type: array description: Information about each provisioned account. - items: &634 + items: &636 allOf: - type: object required: @@ -94315,7 +94789,7 @@ paths: address. examples: - true - roles: &633 + roles: &635 type: array description: The roles assigned to the user. items: @@ -94374,7 +94848,7 @@ paths: type: string description: Provisioned SCIM groups that the user is a member of. - meta: *632 + meta: *634 startIndex: type: integer description: A starting index for the returned page @@ -94413,11 +94887,11 @@ paths: primary: false startIndex: 1 itemsPerPage: 20 - '400': *620 - '401': *621 - '403': *622 - '429': *623 - '500': *624 + '400': *622 + '401': *623 + '403': *624 + '429': *625 + '500': *626 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -94441,7 +94915,7 @@ paths: required: true content: application/json: - schema: &637 + schema: &639 type: object required: - schemas @@ -94534,9 +95008,9 @@ paths: description: Whether this email address is the primary address. examples: - true - roles: *633 + roles: *635 examples: - user: &638 + user: &640 summary: User value: schemas: @@ -94583,9 +95057,9 @@ paths: description: User has been created content: application/scim+json: - schema: *634 + schema: *636 examples: - user: &635 + user: &637 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:User @@ -94611,13 +95085,13 @@ paths: created: '2012-03-27T19:59:26.000Z' lastModified: '2018-03-27T19:59:26.000Z' location: https://api.github.localhost/scim/v2/Users/7fce0092-d52e-4f76-b727-3955bd72c939 - enterpriseOwner: *635 - '400': *620 - '401': *621 - '403': *622 - '409': *629 - '429': *623 - '500': *624 + enterpriseOwner: *637 + '400': *622 + '401': *623 + '403': *624 + '409': *631 + '429': *625 + '500': *626 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -94634,7 +95108,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/scim#get-scim-provisioning-information-for-an-enterprise-user parameters: - - &636 + - &638 name: scim_user_id description: The unique identifier of the SCIM user. in: path @@ -94647,15 +95121,15 @@ paths: description: Success, a user was found content: application/scim+json: - schema: *634 + schema: *636 examples: - default: *635 - '400': *620 - '401': *621 - '403': *622 + default: *637 + '400': *622 + '401': *623 + '403': *624 '404': *6 - '429': *623 - '500': *624 + '429': *625 + '500': *626 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -94677,30 +95151,30 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/scim#set-scim-information-for-a-provisioned-enterprise-user parameters: - - *636 + - *638 - *38 requestBody: required: true content: application/json: - schema: *637 + schema: *639 examples: - user: *638 + user: *640 responses: '200': description: User was updated content: application/scim+json: - schema: *634 + schema: *636 examples: - user: *635 - '400': *620 - '401': *621 - '403': *622 + user: *637 + '400': *622 + '401': *623 + '403': *624 '404': *6 - '409': *629 - '429': *623 - '500': *624 + '409': *631 + '429': *625 + '500': *626 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -94735,13 +95209,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/scim#update-an-attribute-for-a-scim-enterprise-user parameters: - - *636 + - *638 - *38 requestBody: required: true content: application/json: - schema: *639 + schema: *641 examples: userMultiValuedProperties: summary: Multi Valued Property @@ -94781,18 +95255,18 @@ paths: description: Success, user was updated content: application/scim+json: - schema: *634 - examples: - userMultiValuedProperties: *635 - userSingleValuedProperties: *635 - disableUser: *635 - '400': *620 - '401': *621 - '403': *622 + schema: *636 + examples: + userMultiValuedProperties: *637 + userSingleValuedProperties: *637 + disableUser: *637 + '400': *622 + '401': *623 + '403': *624 '404': *6 - '409': *629 - '429': *623 - '500': *624 + '409': *631 + '429': *625 + '500': *626 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -94812,17 +95286,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/scim#delete-a-scim-user-from-an-enterprise parameters: - - *636 + - *638 - *38 responses: '204': description: User was deleted, no content - '400': *620 - '401': *621 - '403': *622 + '400': *622 + '401': *623 + '403': *624 '404': *6 - '429': *623 - '500': *624 + '429': *625 + '500': *626 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -94913,7 +95387,7 @@ paths: - 1 Resources: type: array - items: &640 + items: &642 title: SCIM /Users description: SCIM /Users provisioning endpoints type: object @@ -95160,22 +95634,22 @@ paths: lastModified: '2017-03-09T16:11:13-05:00' location: https://api.github.com/scim/v2/organizations/octo-org/Users/77563764-eb6-24-0598234-958243 '304': *35 - '404': &641 + '404': &643 description: Resource not found content: application/json: - schema: *618 + schema: *620 application/scim+json: - schema: *618 - '403': &642 + schema: *620 + '403': &644 description: Forbidden content: application/json: - schema: *618 + schema: *620 application/scim+json: - schema: *618 - '400': *620 - '429': *623 + schema: *620 + '400': *622 + '429': *625 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -95201,9 +95675,9 @@ paths: description: Response content: application/scim+json: - schema: *640 + schema: *642 examples: - default: &643 + default: &645 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:User @@ -95226,17 +95700,17 @@ paths: lastModified: '2017-03-09T16:11:13-05:00' location: https://api.github.com/scim/v2/organizations/octo-org/Users/edefdfedf-050c-11e7-8d32 '304': *35 - '404': *641 - '403': *642 - '500': *624 + '404': *643 + '403': *644 + '500': *626 '409': description: Conflict content: application/json: - schema: *618 + schema: *620 application/scim+json: - schema: *618 - '400': *620 + schema: *620 + '400': *622 requestBody: required: true content: @@ -95331,17 +95805,17 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#get-scim-provisioning-information-for-a-user parameters: - *157 - - *636 + - *638 responses: '200': description: Response content: application/scim+json: - schema: *640 + schema: *642 examples: - default: *643 - '404': *641 - '403': *642 + default: *645 + '404': *643 + '403': *644 '304': *35 x-github: githubCloudOnly: true @@ -95365,18 +95839,18 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#update-a-provisioned-organization-membership parameters: - *157 - - *636 + - *638 responses: '200': description: Response content: application/scim+json: - schema: *640 + schema: *642 examples: - default: *643 + default: *645 '304': *35 - '404': *641 - '403': *642 + '404': *643 + '403': *644 requestBody: required: true content: @@ -95487,19 +95961,19 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#update-an-attribute-for-a-scim-user parameters: - *157 - - *636 + - *638 responses: '200': description: Response content: application/scim+json: - schema: *640 + schema: *642 examples: - default: *643 + default: *645 '304': *35 - '404': *641 - '403': *642 - '400': *620 + '404': *643 + '403': *644 + '400': *622 '429': description: Response content: @@ -95595,12 +96069,12 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#delete-a-scim-user-from-an-organization parameters: - *157 - - *636 + - *638 responses: '204': description: Response - '404': *641 - '403': *642 + '404': *643 + '403': *644 '304': *35 x-github: githubCloudOnly: true @@ -95734,7 +96208,7 @@ paths: examples: - 73..77 - 77..78 - text_matches: &644 + text_matches: &646 title: Search Result Text Matches type: array items: @@ -95898,7 +96372,7 @@ paths: enum: - author-date - committer-date - - &645 + - &647 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 @@ -95967,7 +96441,7 @@ paths: committer: anyOf: - type: 'null' - - *383 + - *385 comment_count: type: integer message: @@ -95986,7 +96460,7 @@ paths: url: type: string format: uri - verification: *496 + verification: *498 required: - author - committer @@ -96001,7 +96475,7 @@ paths: committer: anyOf: - type: 'null' - - *383 + - *385 parents: type: array items: @@ -96018,7 +96492,7 @@ paths: type: number node_id: type: string - text_matches: *644 + text_matches: *646 required: - sha - node_id @@ -96211,7 +96685,7 @@ paths: - interactions - created - updated - - *645 + - *647 - *17 - *18 responses: @@ -96327,7 +96801,7 @@ paths: milestone: anyOf: - type: 'null' - - *451 + - *453 comments: type: integer created_at: @@ -96341,7 +96815,7 @@ paths: - string - 'null' format: date-time - text_matches: *644 + text_matches: *646 pull_request: type: object properties: @@ -96563,7 +97037,7 @@ paths: enum: - created - updated - - *645 + - *647 - *17 - *18 responses: @@ -96608,7 +97082,7 @@ paths: - 'null' score: type: number - text_matches: *644 + text_matches: *646 required: - id - node_id @@ -96694,7 +97168,7 @@ paths: - forks - help-wanted-issues - updated - - *645 + - *647 - *17 - *18 responses: @@ -96931,7 +97405,7 @@ paths: - admin - pull - push - text_matches: *644 + text_matches: *646 temp_clone_token: type: string allow_merge_commit: @@ -97240,7 +97714,7 @@ paths: - string - 'null' format: uri - text_matches: *644 + text_matches: *646 related: type: - array @@ -97435,7 +97909,7 @@ paths: - followers - repositories - joined - - *645 + - *647 - *17 - *18 responses: @@ -97545,7 +98019,7 @@ paths: type: - boolean - 'null' - text_matches: *644 + text_matches: *646 blog: type: - string @@ -97627,7 +98101,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#get-a-team-legacy parameters: - - &646 + - &648 name: team_id description: The unique identifier of the team. in: path @@ -97639,9 +98113,9 @@ paths: description: Response content: application/json: - schema: *307 + schema: *309 examples: - default: *308 + default: *310 '404': *6 x-github: githubCloudOnly: false @@ -97668,7 +98142,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#update-a-team-legacy parameters: - - *646 + - *648 requestBody: required: true content: @@ -97732,16 +98206,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *307 + schema: *309 examples: - default: *308 + default: *310 '201': description: Response content: application/json: - schema: *307 + schema: *309 examples: - default: *308 + default: *310 '404': *6 '422': *15 '403': *27 @@ -97769,7 +98243,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#delete-a-team-legacy parameters: - - *646 + - *648 responses: '204': description: Response @@ -97800,7 +98274,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#list-discussions-legacy parameters: - - *646 + - *648 - *76 - *17 - *18 @@ -97811,9 +98285,9 @@ paths: application/json: schema: type: array - items: *309 + items: *311 examples: - default: *647 + default: *649 headers: Link: *37 x-github: @@ -97842,7 +98316,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#create-a-discussion-legacy parameters: - - *646 + - *648 requestBody: required: true content: @@ -97876,9 +98350,9 @@ paths: description: Response content: application/json: - schema: *309 + schema: *311 examples: - default: *310 + default: *312 x-github: triggersNotification: true githubCloudOnly: false @@ -97905,16 +98379,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#get-a-discussion-legacy parameters: - - *646 - - *311 + - *648 + - *313 responses: '200': description: Response content: application/json: - schema: *309 + schema: *311 examples: - default: *310 + default: *312 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -97939,8 +98413,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#update-a-discussion-legacy parameters: - - *646 - - *311 + - *648 + - *313 requestBody: required: false content: @@ -97963,9 +98437,9 @@ paths: description: Response content: application/json: - schema: *309 + schema: *311 examples: - default: *648 + default: *650 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -97990,8 +98464,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#delete-a-discussion-legacy parameters: - - *646 - - *311 + - *648 + - *313 responses: '204': description: Response @@ -98020,8 +98494,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#list-discussion-comments-legacy parameters: - - *646 - - *311 + - *648 + - *313 - *76 - *17 - *18 @@ -98032,9 +98506,9 @@ paths: application/json: schema: type: array - items: *312 + items: *314 examples: - default: *649 + default: *651 headers: Link: *37 x-github: @@ -98063,8 +98537,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#create-a-discussion-comment-legacy parameters: - - *646 - - *311 + - *648 + - *313 requestBody: required: true content: @@ -98086,9 +98560,9 @@ paths: description: Response content: application/json: - schema: *312 + schema: *314 examples: - default: *313 + default: *315 x-github: triggersNotification: true githubCloudOnly: false @@ -98115,17 +98589,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#get-a-discussion-comment-legacy parameters: - - *646 - - *311 - - *314 + - *648 + - *313 + - *316 responses: '200': description: Response content: application/json: - schema: *312 + schema: *314 examples: - default: *313 + default: *315 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -98150,9 +98624,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#update-a-discussion-comment-legacy parameters: - - *646 - - *311 - - *314 + - *648 + - *313 + - *316 requestBody: required: true content: @@ -98174,9 +98648,9 @@ paths: description: Response content: application/json: - schema: *312 + schema: *314 examples: - default: *650 + default: *652 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -98201,9 +98675,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#delete-a-discussion-comment-legacy parameters: - - *646 - - *311 - - *314 + - *648 + - *313 + - *316 responses: '204': description: Response @@ -98232,9 +98706,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-team-discussion-comment-legacy parameters: - - *646 - - *311 - - *314 + - *648 + - *313 + - *316 - 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 team discussion comment. @@ -98260,9 +98734,9 @@ paths: application/json: schema: type: array - items: *315 + items: *317 examples: - default: *317 + default: *319 headers: Link: *37 x-github: @@ -98291,9 +98765,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-team-discussion-comment-legacy parameters: - - *646 - - *311 - - *314 + - *648 + - *313 + - *316 requestBody: required: true content: @@ -98325,9 +98799,9 @@ paths: description: Response content: application/json: - schema: *315 + schema: *317 examples: - default: *316 + default: *318 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -98353,8 +98827,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-team-discussion-legacy parameters: - - *646 - - *311 + - *648 + - *313 - 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 team discussion. @@ -98380,9 +98854,9 @@ paths: application/json: schema: type: array - items: *315 + items: *317 examples: - default: *317 + default: *319 headers: Link: *37 x-github: @@ -98411,8 +98885,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-team-discussion-legacy parameters: - - *646 - - *311 + - *648 + - *313 requestBody: required: true content: @@ -98444,9 +98918,9 @@ paths: description: Response content: application/json: - schema: *315 + schema: *317 examples: - default: *316 + default: *318 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -98470,7 +98944,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#list-pending-team-invitations-legacy parameters: - - *646 + - *648 - *17 - *18 responses: @@ -98508,7 +98982,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#list-team-members-legacy parameters: - - *646 + - *648 - name: role description: Filters members returned by their role in the team. in: query @@ -98559,7 +99033,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#get-team-member-legacy parameters: - - *646 + - *648 - *195 responses: '204': @@ -98596,7 +99070,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#add-team-member-legacy parameters: - - *646 + - *648 - *195 responses: '204': @@ -98636,7 +99110,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#remove-team-member-legacy parameters: - - *646 + - *648 - *195 responses: '204': @@ -98673,16 +99147,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#get-team-membership-for-a-user-legacy parameters: - - *646 + - *648 - *195 responses: '200': description: Response content: application/json: - schema: *323 + schema: *325 examples: - response-if-user-is-a-team-maintainer: *651 + response-if-user-is-a-team-maintainer: *653 '404': *6 x-github: githubCloudOnly: false @@ -98715,7 +99189,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#add-or-update-team-membership-for-a-user-legacy parameters: - - *646 + - *648 - *195 requestBody: required: false @@ -98741,9 +99215,9 @@ paths: description: Response content: application/json: - schema: *323 + schema: *325 examples: - response-if-users-membership-with-team-is-now-pending: *652 + response-if-users-membership-with-team-is-now-pending: *654 '403': description: Forbidden if team synchronization is set up '422': @@ -98777,7 +99251,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#remove-team-membership-for-a-user-legacy parameters: - - *646 + - *648 - *195 responses: '204': @@ -98807,7 +99281,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-team-projects-legacy parameters: - - *646 + - *648 - *17 - *18 responses: @@ -98817,9 +99291,9 @@ paths: application/json: schema: type: array - items: *324 + items: *326 examples: - default: *653 + default: *655 headers: Link: *37 '404': *6 @@ -98846,16 +99320,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#check-team-permissions-for-a-project-legacy parameters: - - *646 - - *325 + - *648 + - *327 responses: '200': description: Response content: application/json: - schema: *324 + schema: *326 examples: - default: *654 + default: *656 '404': description: Not Found if project is not managed by this team x-github: @@ -98880,8 +99354,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#add-or-update-team-project-permissions-legacy parameters: - - *646 - - *325 + - *648 + - *327 requestBody: required: false content: @@ -98949,8 +99423,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#remove-a-project-from-a-team-legacy parameters: - - *646 - - *325 + - *648 + - *327 responses: '204': description: Response @@ -98977,7 +99451,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-team-repositories-legacy parameters: - - *646 + - *648 - *17 - *18 responses: @@ -99019,15 +99493,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#check-team-permissions-for-a-repository-legacy parameters: - - *646 - - *326 - - *327 + - *648 + - *328 + - *329 responses: '200': description: Alternative response with extra repository information content: application/json: - schema: *655 + schema: *657 examples: alternative-response-with-extra-repository-information: value: @@ -99178,9 +99652,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#add-or-update-team-repository-permissions-legacy parameters: - - *646 - - *326 - - *327 + - *648 + - *328 + - *329 requestBody: required: false content: @@ -99230,9 +99704,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#remove-a-repository-from-a-team-legacy parameters: - - *646 - - *326 - - *327 + - *648 + - *328 + - *329 responses: '204': description: Response @@ -99261,15 +99735,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/team-sync#list-idp-groups-for-a-team-legacy parameters: - - *646 + - *648 responses: '200': description: Response content: application/json: - schema: *328 + schema: *330 examples: - default: *329 + default: *331 '403': *27 '404': *6 x-github: @@ -99296,7 +99770,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/team-sync#create-or-update-idp-group-connections-legacy parameters: - - *646 + - *648 requestBody: required: true content: @@ -99357,7 +99831,7 @@ paths: description: Response content: application/json: - schema: *328 + schema: *330 examples: default: value: @@ -99388,7 +99862,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-child-teams-legacy parameters: - - *646 + - *648 - *17 - *18 responses: @@ -99400,7 +99874,7 @@ paths: type: array items: *251 examples: - response-if-child-teams-exist: *656 + response-if-child-teams-exist: *658 headers: Link: *37 '404': *6 @@ -99433,7 +99907,7 @@ paths: application/json: schema: oneOf: - - &658 + - &660 title: Private User description: Private User type: object @@ -99683,7 +100157,7 @@ paths: - private_gists - total_private_repos - two_factor_authentication - - *657 + - *659 examples: response-with-public-and-private-profile-information: summary: Response with public and private profile information @@ -99843,7 +100317,7 @@ paths: description: Response content: application/json: - schema: *658 + schema: *660 examples: default: value: @@ -100189,7 +100663,7 @@ paths: application/json: schema: *255 examples: - default: *438 + default: *440 '202': description: Response when the codespace creation partially failed but is being retried in the background @@ -100197,7 +100671,7 @@ paths: application/json: schema: *255 examples: - default: *438 + default: *440 '401': *23 '403': *27 '404': *6 @@ -100241,7 +100715,7 @@ paths: type: integer secrets: type: array - items: &659 + items: &661 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -100283,7 +100757,7 @@ paths: - visibility - selected_repositories_url examples: - default: *440 + default: *442 headers: Link: *37 x-github: @@ -100361,7 +100835,7 @@ paths: description: Response content: application/json: - schema: *659 + schema: *661 examples: default: value: @@ -100507,7 +100981,7 @@ paths: type: array items: *173 examples: - default: *660 + default: *662 '401': *23 '403': *27 '404': *6 @@ -100659,7 +101133,7 @@ paths: application/json: schema: *255 examples: - default: *438 + default: *440 '304': *35 '500': *87 '401': *23 @@ -100717,7 +101191,7 @@ paths: application/json: schema: *255 examples: - default: *438 + default: *440 '401': *23 '403': *27 '404': *6 @@ -100774,7 +101248,7 @@ paths: description: Response content: application/json: - schema: &661 + schema: &663 type: object title: Fetches information about an export of a codespace. description: An export of a codespace. Also, latest export details @@ -100827,7 +101301,7 @@ paths: examples: - https://github.com/octocat/hello-world/tree/:branch examples: - default: &662 + default: &664 value: state: succeeded completed_at: '2022-01-01T14:59:22Z' @@ -100872,9 +101346,9 @@ paths: description: Response content: application/json: - schema: *661 + schema: *663 examples: - default: *662 + default: *664 '404': *6 x-github: githubCloudOnly: false @@ -100911,9 +101385,9 @@ paths: type: integer machines: type: array - items: *439 + items: *441 examples: - default: *663 + default: *665 '304': *35 '500': *87 '401': *23 @@ -100998,11 +101472,11 @@ paths: - 26a7c758-7299-4a73-b978-5a92a7ae98a0 owner: *4 billable_owner: *4 - repository: *339 + repository: *341 machine: anyOf: - type: 'null' - - *439 + - *441 devcontainer_path: description: Path to devcontainer.json from repo root used to create Codespace. @@ -101807,7 +102281,7 @@ paths: application/json: schema: *255 examples: - default: *438 + default: *440 '304': *35 '500': *87 '400': *14 @@ -101847,7 +102321,7 @@ paths: application/json: schema: *255 examples: - default: *438 + default: *440 '500': *87 '401': *23 '403': *27 @@ -101879,7 +102353,7 @@ paths: type: array items: *266 examples: - default: &676 + default: &678 value: - id: 197 name: hello_docker @@ -101980,7 +102454,7 @@ paths: application/json: schema: type: array - items: &664 + items: &666 title: Email description: Email type: object @@ -102050,9 +102524,9 @@ paths: application/json: schema: type: array - items: *664 + items: *666 examples: - default: &678 + default: &680 value: - email: octocat@github.com verified: true @@ -102129,7 +102603,7 @@ paths: application/json: schema: type: array - items: *664 + items: *666 examples: default: value: @@ -102387,7 +102861,7 @@ paths: application/json: schema: type: array - items: &665 + items: &667 title: GPG Key description: A unique encryption key type: object @@ -102532,7 +103006,7 @@ paths: - subkeys - revoked examples: - default: &689 + default: &691 value: - id: 3 name: Octocat's GPG Key @@ -102617,9 +103091,9 @@ paths: description: Response content: application/json: - schema: *665 + schema: *667 examples: - default: &666 + default: &668 value: id: 3 name: Octocat's GPG Key @@ -102676,7 +103150,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/gpg-keys#get-a-gpg-key-for-the-authenticated-user parameters: - - &667 + - &669 name: gpg_key_id description: The unique identifier of the GPG key. in: path @@ -102688,9 +103162,9 @@ paths: description: Response content: application/json: - schema: *665 + schema: *667 examples: - default: *666 + default: *668 '404': *6 '304': *35 '403': *27 @@ -102713,7 +103187,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/gpg-keys#delete-a-gpg-key-for-the-authenticated-user parameters: - - *667 + - *669 responses: '204': description: Response @@ -102904,7 +103378,7 @@ paths: type: array items: *55 examples: - default: *668 + default: *670 headers: Link: *37 '404': *6 @@ -103018,7 +103492,7 @@ paths: required: true content: application/json: - schema: *507 + schema: *509 examples: default: value: @@ -103168,7 +103642,7 @@ paths: application/json: schema: type: array - items: &669 + items: &671 title: Key description: Key type: object @@ -103266,9 +103740,9 @@ paths: description: Response content: application/json: - schema: *669 + schema: *671 examples: - default: &670 + default: &672 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -103301,15 +103775,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/keys#get-a-public-ssh-key-for-the-authenticated-user parameters: - - *534 + - *536 responses: '200': description: Response content: application/json: - schema: *669 + schema: *671 examples: - default: *670 + default: *672 '404': *6 '304': *35 '403': *27 @@ -103332,7 +103806,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/keys#delete-a-public-ssh-key-for-the-authenticated-user parameters: - - *534 + - *536 responses: '204': description: Response @@ -103365,7 +103839,7 @@ paths: application/json: schema: type: array - items: &671 + items: &673 title: User Marketplace Purchase description: User Marketplace Purchase type: object @@ -103444,7 +103918,7 @@ paths: - account - plan examples: - default: &672 + default: &674 value: - billing_cycle: monthly next_billing_date: '2017-11-11T00:00:00Z' @@ -103506,9 +103980,9 @@ paths: application/json: schema: type: array - items: *671 + items: *673 examples: - default: *672 + default: *674 headers: Link: *37 '304': *35 @@ -104512,7 +104986,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#unlock-a-user-repository parameters: - *261 - - *673 + - *675 responses: '204': description: Response @@ -104585,7 +105059,7 @@ paths: type: array items: *50 examples: - default: *674 + default: *676 headers: Link: *37 '304': *35 @@ -104627,7 +105101,7 @@ paths: - docker - nuget - container - - *675 + - *677 - *18 - *17 responses: @@ -104639,8 +105113,8 @@ paths: type: array items: *266 examples: - default: *676 - '400': *677 + default: *678 + '400': *679 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -104669,7 +105143,7 @@ paths: application/json: schema: *266 examples: - default: &690 + default: &692 value: id: 40201 name: octo-name @@ -105052,7 +105526,7 @@ paths: description: Response content: application/json: - schema: *279 + schema: *281 examples: default: value: @@ -105121,9 +105595,9 @@ paths: application/json: schema: type: array - items: *664 + items: *666 examples: - default: *678 + default: *680 headers: Link: *37 '304': *35 @@ -105236,7 +105710,7 @@ paths: type: array items: *55 examples: - default: &685 + default: &687 summary: Default response value: - id: 1296269 @@ -105552,9 +106026,9 @@ paths: description: Response content: application/json: - schema: *339 + schema: *341 examples: - default: *341 + default: *343 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -105592,9 +106066,9 @@ paths: application/json: schema: type: array - items: *509 + items: *511 examples: - default: *679 + default: *681 headers: Link: *37 '304': *35 @@ -105673,7 +106147,7 @@ paths: application/json: schema: type: array - items: &680 + items: &682 title: Social account description: Social media account type: object @@ -105690,7 +106164,7 @@ paths: - provider - url examples: - default: &681 + default: &683 value: - provider: twitter url: https://twitter.com/github @@ -105753,9 +106227,9 @@ paths: application/json: schema: type: array - items: *680 + items: *682 examples: - default: *681 + default: *683 '422': *15 '304': *35 '404': *6 @@ -105843,7 +106317,7 @@ paths: application/json: schema: type: array - items: &682 + items: &684 title: SSH Signing Key description: A public SSH key used to sign Git commits type: object @@ -105863,7 +106337,7 @@ paths: - title - created_at examples: - default: &691 + default: &693 value: - key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -105930,9 +106404,9 @@ paths: description: Response content: application/json: - schema: *682 + schema: *684 examples: - default: &683 + default: &685 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -105963,7 +106437,7 @@ paths: 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 parameters: - - &684 + - &686 name: ssh_signing_key_id description: The unique identifier of the SSH signing key. in: path @@ -105975,9 +106449,9 @@ paths: description: Response content: application/json: - schema: *682 + schema: *684 examples: - default: *683 + default: *685 '404': *6 '304': *35 '403': *27 @@ -106000,7 +106474,7 @@ paths: 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 parameters: - - *684 + - *686 responses: '204': description: Response @@ -106029,7 +106503,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/starring#list-repositories-starred-by-the-authenticated-user parameters: - - &692 + - &694 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 @@ -106054,11 +106528,11 @@ paths: type: array items: *55 examples: - default-response: *685 + default-response: *687 application/vnd.github.v3.star+json: schema: type: array - items: &693 + items: &695 title: Starred Repository description: Starred Repository type: object @@ -106214,8 +106688,8 @@ paths: 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 parameters: - - *326 - - *327 + - *328 + - *329 responses: '204': description: Response if this repository is starred by you @@ -106243,8 +106717,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/starring#star-a-repository-for-the-authenticated-user parameters: - - *326 - - *327 + - *328 + - *329 responses: '204': description: Response @@ -106268,8 +106742,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/starring#unstar-a-repository-for-the-authenticated-user parameters: - - *326 - - *327 + - *328 + - *329 responses: '204': description: Response @@ -106341,7 +106815,7 @@ paths: application/json: schema: type: array - items: *307 + items: *309 examples: default: value: @@ -106425,10 +106899,10 @@ paths: application/json: schema: oneOf: - - *658 - - *657 + - *660 + - *659 examples: - default-response: &687 + default-response: &689 summary: Default response value: login: octocat @@ -106463,7 +106937,7 @@ paths: following: 0 created_at: '2008-01-14T04:33:35Z' updated_at: '2008-01-14T04:33:35Z' - response-with-git-hub-plan-information: &688 + response-with-git-hub-plan-information: &690 summary: Response with GitHub plan information value: login: octocat @@ -106523,7 +106997,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/users#list-users parameters: - - *686 + - *688 - *17 responses: '200': @@ -106570,11 +107044,11 @@ paths: application/json: schema: oneOf: - - *658 - - *657 + - *660 + - *659 examples: - default-response: *687 - response-with-git-hub-plan-information: *688 + default-response: *689 + response-with-git-hub-plan-information: *690 '404': *6 x-github: githubCloudOnly: false @@ -106740,7 +107214,7 @@ paths: type: array items: *266 examples: - default: *676 + default: *678 '403': *27 '401': *23 x-github: @@ -107144,9 +107618,9 @@ paths: application/json: schema: type: array - items: *665 + items: *667 examples: - default: *689 + default: *691 headers: Link: *37 x-github: @@ -107250,7 +107724,7 @@ paths: application/json: schema: *20 examples: - default: *506 + default: *508 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -107328,7 +107802,7 @@ paths: type: array items: *50 examples: - default: *674 + default: *676 headers: Link: *37 x-github: @@ -107367,7 +107841,7 @@ paths: - docker - nuget - container - - *675 + - *677 - *195 - *18 - *17 @@ -107380,10 +107854,10 @@ paths: type: array items: *266 examples: - default: *676 + default: *678 '403': *27 '401': *23 - '400': *677 + '400': *679 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -107413,7 +107887,7 @@ paths: application/json: schema: *266 examples: - default: *690 + default: *692 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -107696,7 +108170,7 @@ paths: application/json: schema: type: array - items: *279 + items: *281 examples: default: value: @@ -108006,9 +108480,9 @@ paths: description: Response content: application/json: - schema: *299 + schema: *301 examples: - default: *300 + default: *302 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -108036,9 +108510,9 @@ paths: description: Response content: application/json: - schema: *303 + schema: *305 examples: - default: *304 + default: *306 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -108066,9 +108540,9 @@ paths: description: Response content: application/json: - schema: *305 + schema: *307 examples: - default: *306 + default: *308 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -108096,9 +108570,9 @@ paths: application/json: schema: type: array - items: *680 + items: *682 examples: - default: *681 + default: *683 headers: Link: *37 x-github: @@ -108128,9 +108602,9 @@ paths: application/json: schema: type: array - items: *682 + items: *684 examples: - default: *691 + default: *693 headers: Link: *37 x-github: @@ -108155,7 +108629,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/activity/starring#list-repositories-starred-by-a-user parameters: - *195 - - *692 + - *694 - *76 - *17 - *18 @@ -108167,11 +108641,11 @@ paths: schema: anyOf: - type: array - items: *693 + items: *695 - type: array items: *55 examples: - default-response: *685 + default-response: *687 headers: Link: *37 x-github: @@ -108331,7 +108805,7 @@ webhooks: type: string enum: - disabled - enterprise: &694 + enterprise: &696 title: Enterprise description: |- An enterprise on GitHub. Webhook payloads contain the `enterprise` property when the webhook is configured @@ -108400,7 +108874,7 @@ webhooks: - created_at - updated_at - avatar_url - installation: &695 + installation: &697 title: Simple Installation description: |- The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured @@ -108421,7 +108895,7 @@ webhooks: required: - id - node_id - organization: &696 + organization: &698 title: Organization Simple description: |- A GitHub organization. Webhook payloads contain the `organization` property when the webhook is configured for an @@ -108494,7 +108968,7 @@ webhooks: - public_members_url - avatar_url - description - repository: &697 + repository: &699 title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property @@ -109407,10 +109881,10 @@ webhooks: type: string enum: - enabled - enterprise: *694 - installation: *695 - organization: *696 - repository: *697 + enterprise: *696 + installation: *697 + organization: *698 + repository: *699 sender: *4 required: - action @@ -109486,11 +109960,11 @@ webhooks: type: string enum: - created - enterprise: *694 - installation: *695 - organization: *696 - repository: *697 - rule: &698 + enterprise: *696 + installation: *697 + organization: *698 + repository: *699 + rule: &700 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) @@ -109713,11 +110187,11 @@ webhooks: type: string enum: - deleted - enterprise: *694 - installation: *695 - organization: *696 - repository: *697 - rule: *698 + enterprise: *696 + installation: *697 + organization: *698 + repository: *699 + rule: *700 sender: *4 required: - action @@ -109905,11 +110379,11 @@ webhooks: - everyone required: - from - enterprise: *694 - installation: *695 - organization: *696 - repository: *697 - rule: *698 + enterprise: *696 + installation: *697 + organization: *698 + repository: *699 + rule: *700 sender: *4 required: - action @@ -109982,7 +110456,7 @@ webhooks: required: true content: application/json: - schema: &701 + schema: &703 title: Exemption request cancellation event type: object properties: @@ -109990,11 +110464,11 @@ webhooks: type: string enum: - cancelled - enterprise: *694 - installation: *695 - organization: *696 - repository: *697 - exemption_request: &699 + enterprise: *696 + installation: *697 + organization: *698 + repository: *699 + exemption_request: &701 title: Exemption Request description: A request from a user to be exempted from a set of rules. @@ -110148,7 +110622,7 @@ webhooks: - array - 'null' description: The responses to the exemption request. - items: &700 + items: &702 title: Exemption response description: A response to an exemption request by a delegated bypasser. @@ -110260,7 +110734,7 @@ webhooks: required: true content: application/json: - schema: &702 + schema: &704 title: Exemption request completed event type: object properties: @@ -110268,11 +110742,11 @@ webhooks: type: string enum: - completed - enterprise: *694 - installation: *695 - organization: *696 - repository: *697 - exemption_request: *699 + enterprise: *696 + installation: *697 + organization: *698 + repository: *699 + exemption_request: *701 sender: *4 required: - action @@ -110344,7 +110818,7 @@ webhooks: required: true content: application/json: - schema: &703 + schema: &705 title: Exemption request created event type: object properties: @@ -110352,11 +110826,11 @@ webhooks: type: string enum: - created - enterprise: *694 - installation: *695 - organization: *696 - repository: *697 - exemption_request: *699 + enterprise: *696 + installation: *697 + organization: *698 + repository: *699 + exemption_request: *701 sender: *4 required: - action @@ -110428,7 +110902,7 @@ webhooks: required: true content: application/json: - schema: &704 + schema: &706 title: Exemption response dismissed event type: object properties: @@ -110436,12 +110910,12 @@ webhooks: type: string enum: - response_dismissed - enterprise: *694 - installation: *695 - organization: *696 - repository: *697 - exemption_request: *699 - exemption_response: *700 + enterprise: *696 + installation: *697 + organization: *698 + repository: *699 + exemption_request: *701 + exemption_response: *702 sender: *4 required: - action @@ -110515,7 +110989,7 @@ webhooks: required: true content: application/json: - schema: &705 + schema: &707 title: Exemption response submitted event type: object properties: @@ -110523,12 +110997,12 @@ webhooks: type: string enum: - response_submitted - enterprise: *694 - installation: *695 - organization: *696 - repository: *697 - exemption_request: *699 - exemption_response: *700 + enterprise: *696 + installation: *697 + organization: *698 + repository: *699 + exemption_request: *701 + exemption_response: *702 sender: *4 required: - action @@ -110601,7 +111075,7 @@ webhooks: required: true content: application/json: - schema: *701 + schema: *703 responses: '200': description: Return a 200 status to indicate that the data was received @@ -110668,7 +111142,7 @@ webhooks: required: true content: application/json: - schema: *702 + schema: *704 responses: '200': description: Return a 200 status to indicate that the data was received @@ -110735,7 +111209,7 @@ webhooks: required: true content: application/json: - schema: *703 + schema: *705 responses: '200': description: Return a 200 status to indicate that the data was received @@ -110802,7 +111276,7 @@ webhooks: required: true content: application/json: - schema: *704 + schema: *706 responses: '200': description: Return a 200 status to indicate that the data was received @@ -110870,7 +111344,7 @@ webhooks: required: true content: application/json: - schema: *705 + schema: *707 responses: '200': description: Return a 200 status to indicate that the data was received @@ -110948,7 +111422,7 @@ webhooks: type: string enum: - completed - check_run: &707 + check_run: &709 title: CheckRun description: A check performed on the code of a given code change type: object @@ -111016,7 +111490,7 @@ webhooks: - MDEwOkNoZWNrU3VpdGU1 pull_requests: type: array - items: *401 + items: *403 repository: *173 status: type: string @@ -111061,7 +111535,7 @@ webhooks: - examples: - neutral - deployment: *706 + deployment: *708 details_url: type: string examples: @@ -111121,7 +111595,7 @@ webhooks: - annotations_url pull_requests: type: array - items: *401 + items: *403 started_at: type: string format: date-time @@ -111159,9 +111633,9 @@ webhooks: - output - app - pull_requests - installation: *695 - organization: *696 - repository: *697 + installation: *697 + organization: *698 + repository: *699 sender: *4 required: - check_run @@ -111554,10 +112028,10 @@ webhooks: type: string enum: - created - check_run: *707 - installation: *695 - organization: *696 - repository: *697 + check_run: *709 + installation: *697 + organization: *698 + repository: *699 sender: *4 required: - check_run @@ -111953,10 +112427,10 @@ webhooks: type: string enum: - requested_action - check_run: *707 - installation: *695 - organization: *696 - repository: *697 + check_run: *709 + installation: *697 + organization: *698 + repository: *699 requested_action: description: The action requested by the user. type: object @@ -112361,10 +112835,10 @@ webhooks: type: string enum: - rerequested - check_run: *707 - installation: *695 - organization: *696 - repository: *697 + check_run: *709 + installation: *697 + organization: *698 + repository: *699 sender: *4 required: - check_run @@ -113356,10 +113830,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *694 - installation: *695 - organization: *696 - repository: *697 + enterprise: *696 + installation: *697 + organization: *698 + repository: *699 sender: *4 required: - action @@ -114044,10 +114518,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *694 - installation: *695 - organization: *696 - repository: *697 + enterprise: *696 + installation: *697 + organization: *698 + repository: *699 sender: *4 required: - action @@ -114726,10 +115200,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *694 - installation: *695 - organization: *696 - repository: *697 + enterprise: *696 + installation: *697 + organization: *698 + repository: *699 sender: *4 required: - action @@ -115036,20 +115510,20 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: &708 + commit_oid: &710 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: *694 - installation: *695 - organization: *696 - ref: &709 + enterprise: *696 + installation: *697 + organization: *698 + ref: &711 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: *697 + repository: *699 sender: *4 required: - action @@ -115377,12 +115851,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *708 - enterprise: *694 - installation: *695 - organization: *696 - ref: *709 - repository: *697 + commit_oid: *710 + enterprise: *696 + installation: *697 + organization: *698 + ref: *711 + repository: *699 sender: *4 required: - action @@ -115480,7 +115954,7 @@ webhooks: dismissed_by: type: - 'null' - dismissed_comment: *413 + dismissed_comment: *415 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -115655,12 +116129,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *708 - enterprise: *694 - installation: *695 - organization: *696 - ref: *709 - repository: *697 + commit_oid: *710 + enterprise: *696 + installation: *697 + organization: *698 + ref: *711 + repository: *699 sender: *4 required: - action @@ -115992,12 +116466,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *708 - enterprise: *694 - installation: *695 - organization: *696 - ref: *709 - repository: *697 + commit_oid: *710 + enterprise: *696 + installation: *697 + organization: *698 + ref: *711 + repository: *699 sender: *4 required: - action @@ -116266,9 +116740,9 @@ webhooks: type: - string - 'null' - enterprise: *694 - installation: *695 - organization: *696 + enterprise: *696 + installation: *697 + organization: *698 ref: description: The Git reference of the code scanning alert. When the action is `reopened_by_user` or `closed_by_user`, the event @@ -116276,7 +116750,7 @@ webhooks: type: - string - 'null' - repository: *697 + repository: *699 sender: *4 required: - action @@ -116508,12 +116982,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *708 - enterprise: *694 - installation: *695 - organization: *696 - ref: *709 - repository: *697 + commit_oid: *710 + enterprise: *696 + installation: *697 + organization: *698 + ref: *711 + repository: *699 sender: *4 required: - action @@ -116775,10 +117249,10 @@ webhooks: - updated_at - author_association - body - enterprise: *694 - installation: *695 - organization: *696 - repository: *697 + enterprise: *696 + installation: *697 + organization: *698 + repository: *699 sender: *4 required: - action @@ -116859,18 +117333,18 @@ webhooks: type: - string - 'null' - enterprise: *694 - installation: *695 + enterprise: *696 + installation: *697 master_branch: description: The name of the repository's default branch (usually `main`). type: string - organization: *696 - pusher_type: &710 + organization: *698 + pusher_type: &712 description: The pusher type for the event. Can be either `user` or a deploy key. type: string - ref: &711 + ref: &713 description: The [`git ref`](https://docs.github.com/enterprise-cloud@latest//rest/git/refs#get-a-reference) resource. type: string @@ -116880,7 +117354,7 @@ webhooks: enum: - tag - branch - repository: *697 + repository: *699 sender: *4 required: - ref @@ -116963,9 +117437,9 @@ webhooks: enum: - created definition: *98 - enterprise: *694 - installation: *695 - organization: *696 + enterprise: *696 + installation: *697 + organization: *698 sender: *4 required: - action @@ -117050,9 +117524,9 @@ webhooks: description: The name of the property that was deleted. required: - property_name - enterprise: *694 - installation: *695 - organization: *696 + enterprise: *696 + installation: *697 + organization: *698 sender: *4 required: - action @@ -117130,9 +117604,9 @@ webhooks: enum: - updated definition: *98 - enterprise: *694 - installation: *695 - organization: *696 + enterprise: *696 + installation: *697 + organization: *698 sender: *4 required: - action @@ -117209,19 +117683,19 @@ webhooks: type: string enum: - updated - enterprise: *694 - installation: *695 - repository: *697 - organization: *696 + enterprise: *696 + installation: *697 + repository: *699 + organization: *698 sender: *4 new_property_values: type: array description: The new custom property values for the repository. - items: *281 + items: *283 old_property_values: type: array description: The old custom property values for the repository. - items: *281 + items: *283 required: - action - repository @@ -117297,18 +117771,18 @@ webhooks: title: delete event type: object properties: - enterprise: *694 - installation: *695 - organization: *696 - pusher_type: *710 - ref: *711 + enterprise: *696 + installation: *697 + organization: *698 + pusher_type: *712 + ref: *713 ref_type: description: The type of Git ref object deleted in the repository. type: string enum: - tag - branch - repository: *697 + repository: *699 sender: *4 required: - ref @@ -117392,11 +117866,11 @@ webhooks: type: string enum: - auto_dismissed - alert: *465 - installation: *695 - organization: *696 - enterprise: *694 - repository: *697 + alert: *467 + installation: *697 + organization: *698 + enterprise: *696 + repository: *699 sender: *4 required: - action @@ -117480,11 +117954,11 @@ webhooks: type: string enum: - auto_reopened - alert: *465 - installation: *695 - organization: *696 - enterprise: *694 - repository: *697 + alert: *467 + installation: *697 + organization: *698 + enterprise: *696 + repository: *699 sender: *4 required: - action @@ -117568,11 +118042,11 @@ webhooks: type: string enum: - created - alert: *465 - installation: *695 - organization: *696 - enterprise: *694 - repository: *697 + alert: *467 + installation: *697 + organization: *698 + enterprise: *696 + repository: *699 sender: *4 required: - action @@ -117654,11 +118128,11 @@ webhooks: type: string enum: - dismissed - alert: *465 - installation: *695 - organization: *696 - enterprise: *694 - repository: *697 + alert: *467 + installation: *697 + organization: *698 + enterprise: *696 + repository: *699 sender: *4 required: - action @@ -117740,11 +118214,11 @@ webhooks: type: string enum: - fixed - alert: *465 - installation: *695 - organization: *696 - enterprise: *694 - repository: *697 + alert: *467 + installation: *697 + organization: *698 + enterprise: *696 + repository: *699 sender: *4 required: - action @@ -117827,11 +118301,11 @@ webhooks: type: string enum: - reintroduced - alert: *465 - installation: *695 - organization: *696 - enterprise: *694 - repository: *697 + alert: *467 + installation: *697 + organization: *698 + enterprise: *696 + repository: *699 sender: *4 required: - action @@ -117913,11 +118387,11 @@ webhooks: type: string enum: - reopened - alert: *465 - installation: *695 - organization: *696 - enterprise: *694 - repository: *697 + alert: *467 + installation: *697 + organization: *698 + enterprise: *696 + repository: *699 sender: *4 required: - action @@ -117994,9 +118468,9 @@ webhooks: type: string enum: - created - enterprise: *694 - installation: *695 - key: &712 + enterprise: *696 + installation: *697 + key: &714 description: The [`deploy key`](https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#get-a-deploy-key) resource. type: object @@ -118034,8 +118508,8 @@ webhooks: - verified - created_at - read_only - organization: *696 - repository: *697 + organization: *698 + repository: *699 sender: *4 required: - action @@ -118112,11 +118586,11 @@ webhooks: type: string enum: - deleted - enterprise: *694 - installation: *695 - key: *712 - organization: *696 - repository: *697 + enterprise: *696 + installation: *697 + key: *714 + organization: *698 + repository: *699 sender: *4 required: - action @@ -118688,12 +119162,12 @@ webhooks: - updated_at - statuses_url - repository_url - enterprise: *694 - installation: *695 - organization: *696 - repository: *697 + enterprise: *696 + installation: *697 + organization: *698 + repository: *699 sender: *4 - workflow: &716 + workflow: &718 title: Workflow type: - object @@ -119431,13 +119905,13 @@ webhooks: description: The URL to review the deployment protection rule. type: string format: uri - deployment: *471 + deployment: *473 pull_requests: type: array - items: *553 - repository: *697 - organization: *696 - installation: *695 + items: *555 + repository: *699 + organization: *698 + installation: *697 sender: *4 responses: '200': @@ -119508,7 +119982,7 @@ webhooks: type: string enum: - approved - approver: &713 + approver: &715 type: object properties: avatar_url: @@ -119551,11 +120025,11 @@ webhooks: type: string comment: type: string - enterprise: *694 - installation: *695 - organization: *696 - repository: *697 - reviewers: &714 + enterprise: *696 + installation: *697 + organization: *698 + repository: *699 + reviewers: &716 type: array items: type: object @@ -119636,7 +120110,7 @@ webhooks: sender: *4 since: type: string - workflow_job_run: &715 + workflow_job_run: &717 type: object properties: conclusion: @@ -120382,18 +120856,18 @@ webhooks: type: string enum: - rejected - approver: *713 + approver: *715 comment: type: string - enterprise: *694 - installation: *695 - organization: *696 - repository: *697 - reviewers: *714 + enterprise: *696 + installation: *697 + organization: *698 + repository: *699 + reviewers: *716 sender: *4 since: type: string - workflow_job_run: *715 + workflow_job_run: *717 workflow_job_runs: type: array items: @@ -121110,13 +121584,13 @@ webhooks: type: string enum: - requested - enterprise: *694 + enterprise: *696 environment: type: string - installation: *695 - organization: *696 - repository: *697 - requestor: &721 + installation: *697 + organization: *698 + repository: *699 + requestor: &723 title: User type: - object @@ -123059,12 +123533,12 @@ webhooks: - updated_at - deployment_url - repository_url - enterprise: *694 - installation: *695 - organization: *696 - repository: *697 + enterprise: *696 + installation: *697 + organization: *698 + repository: *699 sender: *4 - workflow: *716 + workflow: *718 workflow_run: title: Deployment Workflow Run type: @@ -123755,7 +124229,7 @@ webhooks: type: string enum: - answered - answer: &719 + answer: &721 type: object properties: author_association: @@ -123915,7 +124389,7 @@ webhooks: - created_at - updated_at - body - discussion: &717 + discussion: &719 title: Discussion description: A Discussion in a repository. type: object @@ -124211,7 +124685,7 @@ webhooks: - id labels: type: array - items: *516 + items: *518 required: - repository_url - category @@ -124233,10 +124707,10 @@ webhooks: - author_association - active_lock_reason - body - enterprise: *694 - installation: *695 - organization: *696 - repository: *697 + enterprise: *696 + installation: *697 + organization: *698 + repository: *699 sender: *4 required: - action @@ -124363,11 +124837,11 @@ webhooks: - from required: - category - discussion: *717 - enterprise: *694 - installation: *695 - organization: *696 - repository: *697 + discussion: *719 + enterprise: *696 + installation: *697 + organization: *698 + repository: *699 sender: *4 required: - action @@ -124450,11 +124924,11 @@ webhooks: type: string enum: - closed - discussion: *717 - enterprise: *694 - installation: *695 - organization: *696 - repository: *697 + discussion: *719 + enterprise: *696 + installation: *697 + organization: *698 + repository: *699 sender: *4 required: - action @@ -124536,7 +125010,7 @@ webhooks: type: string enum: - created - comment: &718 + comment: &720 type: object properties: author_association: @@ -124696,11 +125170,11 @@ webhooks: - updated_at - body - reactions - discussion: *717 - enterprise: *694 - installation: *695 - organization: *696 - repository: *697 + discussion: *719 + enterprise: *696 + installation: *697 + organization: *698 + repository: *699 sender: *4 required: - action @@ -124783,12 +125257,12 @@ webhooks: type: string enum: - deleted - comment: *718 - discussion: *717 - enterprise: *694 - installation: *695 - organization: *696 - repository: *697 + comment: *720 + discussion: *719 + enterprise: *696 + installation: *697 + organization: *698 + repository: *699 sender: *4 required: - action @@ -124883,12 +125357,12 @@ webhooks: - from required: - body - comment: *718 - discussion: *717 - enterprise: *694 - installation: *695 - organization: *696 - repository: *697 + comment: *720 + discussion: *719 + enterprise: *696 + installation: *697 + organization: *698 + repository: *699 sender: *4 required: - action @@ -124972,11 +125446,11 @@ webhooks: type: string enum: - created - discussion: *717 - enterprise: *694 - installation: *695 - organization: *696 - repository: *697 + discussion: *719 + enterprise: *696 + installation: *697 + organization: *698 + repository: *699 sender: *4 required: - action @@ -125058,11 +125532,11 @@ webhooks: type: string enum: - deleted - discussion: *717 - enterprise: *694 - installation: *695 - organization: *696 - repository: *697 + discussion: *719 + enterprise: *696 + installation: *697 + organization: *698 + repository: *699 sender: *4 required: - action @@ -125162,11 +125636,11 @@ webhooks: type: string required: - from - discussion: *717 - enterprise: *694 - installation: *695 - organization: *696 - repository: *697 + discussion: *719 + enterprise: *696 + installation: *697 + organization: *698 + repository: *699 sender: *4 required: - action @@ -125248,10 +125722,10 @@ webhooks: type: string enum: - labeled - discussion: *717 - enterprise: *694 - installation: *695 - label: &720 + discussion: *719 + enterprise: *696 + installation: *697 + label: &722 title: Label type: object properties: @@ -125284,8 +125758,8 @@ webhooks: - color - default - description - organization: *696 - repository: *697 + organization: *698 + repository: *699 sender: *4 required: - action @@ -125368,11 +125842,11 @@ webhooks: type: string enum: - locked - discussion: *717 - enterprise: *694 - installation: *695 - organization: *696 - repository: *697 + discussion: *719 + enterprise: *696 + installation: *697 + organization: *698 + repository: *699 sender: *4 required: - action @@ -125454,11 +125928,11 @@ webhooks: type: string enum: - pinned - discussion: *717 - enterprise: *694 - installation: *695 - organization: *696 - repository: *697 + discussion: *719 + enterprise: *696 + installation: *697 + organization: *698 + repository: *699 sender: *4 required: - action @@ -125540,11 +126014,11 @@ webhooks: type: string enum: - reopened - discussion: *717 - enterprise: *694 - installation: *695 - organization: *696 - repository: *697 + discussion: *719 + enterprise: *696 + installation: *697 + organization: *698 + repository: *699 sender: *4 required: - action @@ -125629,16 +126103,16 @@ webhooks: changes: type: object properties: - new_discussion: *717 - new_repository: *697 + new_discussion: *719 + new_repository: *699 required: - new_discussion - new_repository - discussion: *717 - enterprise: *694 - installation: *695 - organization: *696 - repository: *697 + discussion: *719 + enterprise: *696 + installation: *697 + organization: *698 + repository: *699 sender: *4 required: - action @@ -125721,10 +126195,10 @@ webhooks: type: string enum: - unanswered - discussion: *717 - old_answer: *719 - organization: *696 - repository: *697 + discussion: *719 + old_answer: *721 + organization: *698 + repository: *699 sender: *4 required: - action @@ -125806,12 +126280,12 @@ webhooks: type: string enum: - unlabeled - discussion: *717 - enterprise: *694 - installation: *695 - label: *720 - organization: *696 - repository: *697 + discussion: *719 + enterprise: *696 + installation: *697 + label: *722 + organization: *698 + repository: *699 sender: *4 required: - action @@ -125894,11 +126368,11 @@ webhooks: type: string enum: - unlocked - discussion: *717 - enterprise: *694 - installation: *695 - organization: *696 - repository: *697 + discussion: *719 + enterprise: *696 + installation: *697 + organization: *698 + repository: *699 sender: *4 required: - action @@ -125980,11 +126454,11 @@ webhooks: type: string enum: - unpinned - discussion: *717 - enterprise: *694 - installation: *695 - organization: *696 - repository: *697 + discussion: *719 + enterprise: *696 + installation: *697 + organization: *698 + repository: *699 sender: *4 required: - action @@ -126057,7 +126531,7 @@ webhooks: description: A user forks a repository. type: object properties: - enterprise: *694 + enterprise: *696 forkee: description: The created [`repository`](https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#get-a-repository) resource. @@ -126735,9 +127209,9 @@ webhooks: type: integer watchers_count: type: integer - installation: *695 - organization: *696 - repository: *697 + installation: *697 + organization: *698 + repository: *699 sender: *4 required: - forkee @@ -126883,9 +127357,9 @@ webhooks: title: gollum event type: object properties: - enterprise: *694 - installation: *695 - organization: *696 + enterprise: *696 + installation: *697 + organization: *698 pages: description: The pages that were updated. type: array @@ -126923,7 +127397,7 @@ webhooks: - action - sha - html_url - repository: *697 + repository: *699 sender: *4 required: - pages @@ -126999,10 +127473,10 @@ webhooks: type: string enum: - created - enterprise: *694 + enterprise: *696 installation: *20 - organization: *696 - repositories: &722 + organization: *698 + repositories: &724 description: An array of repository objects that the installation can access. type: array @@ -127028,8 +127502,8 @@ webhooks: - name - full_name - private - repository: *697 - requester: *721 + repository: *699 + requester: *723 sender: *4 required: - action @@ -127104,11 +127578,11 @@ webhooks: type: string enum: - deleted - enterprise: *694 + enterprise: *696 installation: *20 - organization: *696 - repositories: *722 - repository: *697 + organization: *698 + repositories: *724 + repository: *699 requester: type: - 'null' @@ -127185,11 +127659,11 @@ webhooks: type: string enum: - new_permissions_accepted - enterprise: *694 + enterprise: *696 installation: *20 - organization: *696 - repositories: *722 - repository: *697 + organization: *698 + repositories: *724 + repository: *699 requester: type: - 'null' @@ -127266,10 +127740,10 @@ webhooks: type: string enum: - added - enterprise: *694 + enterprise: *696 installation: *20 - organization: *696 - repositories_added: &723 + organization: *698 + repositories_added: &725 description: An array of repository objects, which were added to the installation. type: array @@ -127315,15 +127789,15 @@ webhooks: private: description: Whether the repository is private or public. type: boolean - repository: *697 - repository_selection: &724 + repository: *699 + repository_selection: &726 description: Describe whether all repositories have been selected or there's a selection involved type: string enum: - all - selected - requester: *721 + requester: *723 sender: *4 required: - action @@ -127402,10 +127876,10 @@ webhooks: type: string enum: - removed - enterprise: *694 + enterprise: *696 installation: *20 - organization: *696 - repositories_added: *723 + organization: *698 + repositories_added: *725 repositories_removed: description: An array of repository objects, which were removed from the installation. @@ -127432,9 +127906,9 @@ webhooks: - name - full_name - private - repository: *697 - repository_selection: *724 - requester: *721 + repository: *699 + repository_selection: *726 + requester: *723 sender: *4 required: - action @@ -127513,11 +127987,11 @@ webhooks: type: string enum: - suspend - enterprise: *694 + enterprise: *696 installation: *20 - organization: *696 - repositories: *722 - repository: *697 + organization: *698 + repositories: *724 + repository: *699 requester: type: - 'null' @@ -127700,10 +128174,10 @@ webhooks: type: string required: - from - enterprise: *694 - installation: *695 - organization: *696 - repository: *697 + enterprise: *696 + installation: *697 + organization: *698 + repository: *699 sender: *4 target_type: type: string @@ -127782,11 +128256,11 @@ webhooks: type: string enum: - unsuspend - enterprise: *694 + enterprise: *696 installation: *20 - organization: *696 - repositories: *722 - repository: *697 + organization: *698 + repositories: *724 + repository: *699 requester: type: - 'null' @@ -128034,8 +128508,8 @@ webhooks: - performed_via_github_app - body - reactions - enterprise: *694 - installation: *695 + enterprise: *696 + installation: *697 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) the comment belongs to. @@ -129225,8 +129699,8 @@ webhooks: - state - locked - assignee - organization: *696 - repository: *697 + organization: *698 + repository: *699 sender: *4 required: - action @@ -129306,7 +129780,7 @@ webhooks: type: string enum: - deleted - comment: &725 + comment: &727 title: issue comment description: The [comment](https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#get-an-issue-comment) itself. @@ -129473,8 +129947,8 @@ webhooks: - performed_via_github_app - body - reactions - enterprise: *694 - installation: *695 + enterprise: *696 + installation: *697 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) the comment belongs to. @@ -130662,8 +131136,8 @@ webhooks: - state - locked - assignee - organization: *696 - repository: *697 + organization: *698 + repository: *699 sender: *4 required: - action @@ -130743,7 +131217,7 @@ webhooks: type: string enum: - edited - changes: &750 + changes: &752 description: The changes to the comment. type: object properties: @@ -130755,9 +131229,9 @@ webhooks: type: string required: - from - comment: *725 - enterprise: *694 - installation: *695 + comment: *727 + enterprise: *696 + installation: *697 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) the comment belongs to. @@ -131946,8 +132420,8 @@ webhooks: - state - locked - assignee - organization: *696 - repository: *697 + organization: *698 + repository: *699 sender: *4 required: - action @@ -132029,10 +132503,10 @@ webhooks: type: string enum: - assigned - assignee: *721 - enterprise: *694 - installation: *695 - issue: &728 + assignee: *723 + enterprise: *696 + installation: *697 + issue: &730 title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) itself. @@ -132976,8 +133450,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *696 - repository: *697 + organization: *698 + repository: *699 sender: *4 required: - action @@ -133057,8 +133531,8 @@ webhooks: type: string enum: - closed - enterprise: *694 - installation: *695 + enterprise: *696 + installation: *697 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) itself. @@ -134150,8 +134624,8 @@ webhooks: required: - state - closed_at - organization: *696 - repository: *697 + organization: *698 + repository: *699 sender: *4 required: - action @@ -134230,8 +134704,8 @@ webhooks: type: string enum: - deleted - enterprise: *694 - installation: *695 + enterprise: *696 + installation: *697 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -135168,8 +135642,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *696 - repository: *697 + organization: *698 + repository: *699 sender: *4 required: - action @@ -135248,8 +135722,8 @@ webhooks: type: string enum: - demilestoned - enterprise: *694 - installation: *695 + enterprise: *696 + installation: *697 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -136190,7 +136664,7 @@ webhooks: format: uri user_view_type: type: string - milestone: &726 + milestone: &728 title: Milestone description: A collection of related issues and pull requests. type: object @@ -136333,8 +136807,8 @@ webhooks: - updated_at - due_on - closed_at - organization: *696 - repository: *697 + organization: *698 + repository: *699 sender: *4 required: - action @@ -136433,8 +136907,8 @@ webhooks: type: string required: - from - enterprise: *694 - installation: *695 + enterprise: *696 + installation: *697 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -137378,9 +137852,9 @@ webhooks: - active_lock_reason - body - reactions - label: *720 - organization: *696 - repository: *697 + label: *722 + organization: *698 + repository: *699 sender: *4 required: - action @@ -137460,8 +137934,8 @@ webhooks: type: string enum: - labeled - enterprise: *694 - installation: *695 + enterprise: *696 + installation: *697 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -138404,9 +138878,9 @@ webhooks: - active_lock_reason - body - reactions - label: *720 - organization: *696 - repository: *697 + label: *722 + organization: *698 + repository: *699 sender: *4 required: - action @@ -138486,8 +138960,8 @@ webhooks: type: string enum: - locked - enterprise: *694 - installation: *695 + enterprise: *696 + installation: *697 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -139432,8 +139906,8 @@ webhooks: format: uri user_view_type: type: string - organization: *696 - repository: *697 + organization: *698 + repository: *699 sender: *4 required: - action @@ -139512,8 +139986,8 @@ webhooks: type: string enum: - milestoned - enterprise: *694 - installation: *695 + enterprise: *696 + installation: *697 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -140452,9 +140926,9 @@ webhooks: format: uri user_view_type: type: string - milestone: *726 - organization: *696 - repository: *697 + milestone: *728 + organization: *698 + repository: *699 sender: *4 required: - action @@ -141954,8 +142428,8 @@ webhooks: required: - old_issue - old_repository - enterprise: *694 - installation: *695 + enterprise: *696 + installation: *697 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -142898,8 +143372,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *696 - repository: *697 + organization: *698 + repository: *699 sender: *4 required: - action @@ -142979,9 +143453,9 @@ webhooks: type: string enum: - pinned - enterprise: *694 - installation: *695 - issue: &727 + enterprise: *696 + installation: *697 + issue: &729 title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) itself. @@ -143918,8 +144392,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *696 - repository: *697 + organization: *698 + repository: *699 sender: *4 required: - action @@ -143998,8 +144472,8 @@ webhooks: type: string enum: - reopened - enterprise: *694 - installation: *695 + enterprise: *696 + installation: *697 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -144943,8 +145417,8 @@ webhooks: format: uri user_view_type: type: string - organization: *696 - repository: *697 + organization: *698 + repository: *699 sender: *4 required: - action @@ -146444,11 +146918,11 @@ webhooks: required: - new_issue - new_repository - enterprise: *694 - installation: *695 - issue: *727 - organization: *696 - repository: *697 + enterprise: *696 + installation: *697 + issue: *729 + organization: *698 + repository: *699 sender: *4 required: - action @@ -146529,7 +147003,7 @@ webhooks: type: string enum: - unassigned - assignee: &753 + assignee: &755 title: User type: - object @@ -146601,11 +147075,11 @@ webhooks: required: - login - id - enterprise: *694 - installation: *695 - issue: *728 - organization: *696 - repository: *697 + enterprise: *696 + installation: *697 + issue: *730 + organization: *698 + repository: *699 sender: *4 required: - action @@ -146684,12 +147158,12 @@ webhooks: type: string enum: - unlabeled - enterprise: *694 - installation: *695 - issue: *728 - label: *720 - organization: *696 - repository: *697 + enterprise: *696 + installation: *697 + issue: *730 + label: *722 + organization: *698 + repository: *699 sender: *4 required: - action @@ -146769,8 +147243,8 @@ webhooks: type: string enum: - unlocked - enterprise: *694 - installation: *695 + enterprise: *696 + installation: *697 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -147713,8 +148187,8 @@ webhooks: format: uri user_view_type: type: string - organization: *696 - repository: *697 + organization: *698 + repository: *699 sender: *4 required: - action @@ -147794,11 +148268,11 @@ webhooks: type: string enum: - unpinned - enterprise: *694 - installation: *695 - issue: *727 - organization: *696 - repository: *697 + enterprise: *696 + installation: *697 + issue: *729 + organization: *698 + repository: *699 sender: *4 required: - action @@ -147877,11 +148351,11 @@ webhooks: type: string enum: - created - enterprise: *694 - installation: *695 - label: *720 - organization: *696 - repository: *697 + enterprise: *696 + installation: *697 + label: *722 + organization: *698 + repository: *699 sender: *4 required: - action @@ -147959,11 +148433,11 @@ webhooks: type: string enum: - deleted - enterprise: *694 - installation: *695 - label: *720 - organization: *696 - repository: *697 + enterprise: *696 + installation: *697 + label: *722 + organization: *698 + repository: *699 sender: *4 required: - action @@ -148073,11 +148547,11 @@ webhooks: type: string required: - from - enterprise: *694 - installation: *695 - label: *720 - organization: *696 - repository: *697 + enterprise: *696 + installation: *697 + label: *722 + organization: *698 + repository: *699 sender: *4 required: - action @@ -148159,9 +148633,9 @@ webhooks: - cancelled effective_date: type: string - enterprise: *694 - installation: *695 - marketplace_purchase: &729 + enterprise: *696 + installation: *697 + marketplace_purchase: &731 title: Marketplace Purchase type: object required: @@ -148249,8 +148723,8 @@ webhooks: type: integer unit_count: type: integer - organization: *696 - previous_marketplace_purchase: &730 + organization: *698 + previous_marketplace_purchase: &732 title: Marketplace Purchase type: object properties: @@ -148334,7 +148808,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *697 + repository: *699 sender: *4 required: - action @@ -148414,10 +148888,10 @@ webhooks: - changed effective_date: type: string - enterprise: *694 - installation: *695 - marketplace_purchase: *729 - organization: *696 + enterprise: *696 + installation: *697 + marketplace_purchase: *731 + organization: *698 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -148505,7 +148979,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *697 + repository: *699 sender: *4 required: - action @@ -148587,10 +149061,10 @@ webhooks: - pending_change effective_date: type: string - enterprise: *694 - installation: *695 - marketplace_purchase: *729 - organization: *696 + enterprise: *696 + installation: *697 + marketplace_purchase: *731 + organization: *698 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -148676,7 +149150,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *697 + repository: *699 sender: *4 required: - action @@ -148757,8 +149231,8 @@ webhooks: - pending_change_cancelled effective_date: type: string - enterprise: *694 - installation: *695 + enterprise: *696 + installation: *697 marketplace_purchase: title: Marketplace Purchase type: object @@ -148844,9 +149318,9 @@ webhooks: type: integer unit_count: type: integer - organization: *696 - previous_marketplace_purchase: *730 - repository: *697 + organization: *698 + previous_marketplace_purchase: *732 + repository: *699 sender: *4 required: - action @@ -148926,12 +149400,12 @@ webhooks: - purchased effective_date: type: string - enterprise: *694 - installation: *695 - marketplace_purchase: *729 - organization: *696 - previous_marketplace_purchase: *730 - repository: *697 + enterprise: *696 + installation: *697 + marketplace_purchase: *731 + organization: *698 + previous_marketplace_purchase: *732 + repository: *699 sender: *4 required: - action @@ -149033,11 +149507,11 @@ webhooks: type: string required: - to - enterprise: *694 - installation: *695 - member: *721 - organization: *696 - repository: *697 + enterprise: *696 + installation: *697 + member: *723 + organization: *698 + repository: *699 sender: *4 required: - action @@ -149139,11 +149613,11 @@ webhooks: type: - string - 'null' - enterprise: *694 - installation: *695 - member: *721 - organization: *696 - repository: *697 + enterprise: *696 + installation: *697 + member: *723 + organization: *698 + repository: *699 sender: *4 required: - action @@ -149222,11 +149696,11 @@ webhooks: type: string enum: - removed - enterprise: *694 - installation: *695 - member: *721 - organization: *696 - repository: *697 + enterprise: *696 + installation: *697 + member: *723 + organization: *698 + repository: *699 sender: *4 required: - action @@ -149304,11 +149778,11 @@ webhooks: type: string enum: - added - enterprise: *694 - installation: *695 - member: *721 - organization: *696 - repository: *697 + enterprise: *696 + installation: *697 + member: *723 + organization: *698 + repository: *699 scope: description: The scope of the membership. Currently, can only be `team`. @@ -149386,7 +149860,7 @@ webhooks: required: - login - id - team: &731 + team: &733 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -149579,11 +150053,11 @@ webhooks: type: string enum: - removed - enterprise: *694 - installation: *695 - member: *721 - organization: *696 - repository: *697 + enterprise: *696 + installation: *697 + member: *723 + organization: *698 + repository: *699 scope: description: The scope of the membership. Currently, can only be `team`. @@ -149662,7 +150136,7 @@ webhooks: required: - login - id - team: *731 + team: *733 required: - action - scope @@ -149744,8 +150218,8 @@ webhooks: type: string enum: - checks_requested - installation: *695 - merge_group: &732 + installation: *697 + merge_group: &734 type: object title: Merge Group description: A group of pull requests that the merge queue has grouped @@ -149764,15 +150238,15 @@ webhooks: description: The full ref of the branch the merge group will be merged into. type: string - head_commit: *405 + head_commit: *407 required: - head_sha - head_ref - base_sha - base_ref - head_commit - organization: *696 - repository: *697 + organization: *698 + repository: *699 sender: *4 required: - action @@ -149858,10 +150332,10 @@ webhooks: - merged - invalidated - dequeued - installation: *695 - merge_group: *732 - organization: *696 - repository: *697 + installation: *697 + merge_group: *734 + organization: *698 + repository: *699 sender: *4 required: - action @@ -149934,7 +150408,7 @@ webhooks: type: string enum: - deleted - enterprise: *694 + enterprise: *696 hook: description: 'The modified webhook. This will contain different keys based on the type of webhook it is: repository, organization, @@ -150042,12 +150516,12 @@ webhooks: hook_id: description: The id of the modified webhook. type: integer - installation: *695 - organization: *696 + installation: *697 + organization: *698 repository: anyOf: - type: 'null' - - *697 + - *699 sender: *4 required: - action @@ -150127,11 +150601,11 @@ webhooks: type: string enum: - closed - enterprise: *694 - installation: *695 - milestone: *726 - organization: *696 - repository: *697 + enterprise: *696 + installation: *697 + milestone: *728 + organization: *698 + repository: *699 sender: *4 required: - action @@ -150210,9 +150684,9 @@ webhooks: type: string enum: - created - enterprise: *694 - installation: *695 - milestone: &733 + enterprise: *696 + installation: *697 + milestone: &735 title: Milestone description: A collection of related issues and pull requests. type: object @@ -150354,8 +150828,8 @@ webhooks: - updated_at - due_on - closed_at - organization: *696 - repository: *697 + organization: *698 + repository: *699 sender: *4 required: - action @@ -150434,11 +150908,11 @@ webhooks: type: string enum: - deleted - enterprise: *694 - installation: *695 - milestone: *726 - organization: *696 - repository: *697 + enterprise: *696 + installation: *697 + milestone: *728 + organization: *698 + repository: *699 sender: *4 required: - action @@ -150548,11 +151022,11 @@ webhooks: type: string required: - from - enterprise: *694 - installation: *695 - milestone: *726 - organization: *696 - repository: *697 + enterprise: *696 + installation: *697 + milestone: *728 + organization: *698 + repository: *699 sender: *4 required: - action @@ -150632,11 +151106,11 @@ webhooks: type: string enum: - opened - enterprise: *694 - installation: *695 - milestone: *733 - organization: *696 - repository: *697 + enterprise: *696 + installation: *697 + milestone: *735 + organization: *698 + repository: *699 sender: *4 required: - action @@ -150715,11 +151189,11 @@ webhooks: type: string enum: - blocked - blocked_user: *721 - enterprise: *694 - installation: *695 - organization: *696 - repository: *697 + blocked_user: *723 + enterprise: *696 + installation: *697 + organization: *698 + repository: *699 sender: *4 required: - action @@ -150798,11 +151272,11 @@ webhooks: type: string enum: - unblocked - blocked_user: *721 - enterprise: *694 - installation: *695 - organization: *696 - repository: *697 + blocked_user: *723 + enterprise: *696 + installation: *697 + organization: *698 + repository: *699 sender: *4 required: - action @@ -150881,9 +151355,9 @@ webhooks: type: string enum: - deleted - enterprise: *694 - installation: *695 - membership: &734 + enterprise: *696 + installation: *697 + membership: &736 title: Membership description: The membership between the user and the organization. Not present when the action is `member_invited`. @@ -150977,8 +151451,8 @@ webhooks: - role - organization_url - user - organization: *696 - repository: *697 + organization: *698 + repository: *699 sender: *4 required: - action @@ -151056,11 +151530,11 @@ webhooks: type: string enum: - member_added - enterprise: *694 - installation: *695 - membership: *734 - organization: *696 - repository: *697 + enterprise: *696 + installation: *697 + membership: *736 + organization: *698 + repository: *699 sender: *4 required: - action @@ -151139,8 +151613,8 @@ webhooks: type: string enum: - member_invited - enterprise: *694 - installation: *695 + enterprise: *696 + installation: *697 invitation: description: The invitation for the user or email if the action is `member_invited`. @@ -151262,10 +151736,10 @@ webhooks: - inviter - team_count - invitation_teams_url - organization: *696 - repository: *697 + organization: *698 + repository: *699 sender: *4 - user: *721 + user: *723 required: - action - invitation @@ -151343,11 +151817,11 @@ webhooks: type: string enum: - member_removed - enterprise: *694 - installation: *695 - membership: *734 - organization: *696 - repository: *697 + enterprise: *696 + installation: *697 + membership: *736 + organization: *698 + repository: *699 sender: *4 required: - action @@ -151434,11 +151908,11 @@ webhooks: properties: from: type: string - enterprise: *694 - installation: *695 - membership: *734 - organization: *696 - repository: *697 + enterprise: *696 + installation: *697 + membership: *736 + organization: *698 + repository: *699 sender: *4 required: - action @@ -151514,9 +151988,9 @@ webhooks: type: string enum: - published - enterprise: *694 - installation: *695 - organization: *696 + enterprise: *696 + installation: *697 + organization: *698 package: description: Information about the package. type: object @@ -152039,7 +152513,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: &735 + items: &737 title: Ruby Gems metadata type: object properties: @@ -152136,7 +152610,7 @@ webhooks: - owner - package_version - registry - repository: *697 + repository: *699 sender: *4 required: - action @@ -152212,9 +152686,9 @@ webhooks: type: string enum: - updated - enterprise: *694 - installation: *695 - organization: *696 + enterprise: *696 + installation: *697 + organization: *698 package: description: Information about the package. type: object @@ -152576,7 +153050,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: *735 + items: *737 source_url: type: string format: uri @@ -152647,7 +153121,7 @@ webhooks: - owner - package_version - registry - repository: *697 + repository: *699 sender: *4 required: - action @@ -152828,12 +153302,12 @@ webhooks: - duration - created_at - updated_at - enterprise: *694 + enterprise: *696 id: type: integer - installation: *695 - organization: *696 - repository: *697 + installation: *697 + organization: *698 + repository: *699 sender: *4 required: - id @@ -152913,7 +153387,7 @@ webhooks: type: string enum: - approved - personal_access_token_request: &736 + personal_access_token_request: &738 title: Personal Access Token Request description: Details of a Personal Access Token Request. type: object @@ -153063,10 +153537,10 @@ webhooks: - token_expired - token_expires_at - token_last_used_at - enterprise: *694 - organization: *696 + enterprise: *696 + organization: *698 sender: *4 - installation: *695 + installation: *697 required: - action - personal_access_token_request @@ -153145,11 +153619,11 @@ webhooks: type: string enum: - cancelled - personal_access_token_request: *736 - enterprise: *694 - organization: *696 + personal_access_token_request: *738 + enterprise: *696 + organization: *698 sender: *4 - installation: *695 + installation: *697 required: - action - personal_access_token_request @@ -153227,11 +153701,11 @@ webhooks: type: string enum: - created - personal_access_token_request: *736 - enterprise: *694 - organization: *696 + personal_access_token_request: *738 + enterprise: *696 + organization: *698 sender: *4 - installation: *695 + installation: *697 required: - action - personal_access_token_request @@ -153308,11 +153782,11 @@ webhooks: type: string enum: - denied - personal_access_token_request: *736 - organization: *696 - enterprise: *694 + personal_access_token_request: *738 + organization: *698 + enterprise: *696 sender: *4 - installation: *695 + installation: *697 required: - action - personal_access_token_request @@ -153416,7 +153890,7 @@ webhooks: id: description: Unique identifier of the webhook. type: integer - last_response: *737 + last_response: *739 name: description: The type of webhook. The only valid value is 'web'. type: string @@ -153448,8 +153922,8 @@ webhooks: hook_id: description: The ID of the webhook that triggered the ping. type: integer - organization: *696 - repository: *697 + organization: *698 + repository: *699 sender: *4 zen: description: Random string of GitHub zen. @@ -153694,10 +154168,10 @@ webhooks: - from required: - note - enterprise: *694 - installation: *695 - organization: *696 - project_card: &738 + enterprise: *696 + installation: *697 + organization: *698 + project_card: &740 title: Project Card type: object properties: @@ -153820,7 +154294,7 @@ webhooks: - creator - created_at - updated_at - repository: *697 + repository: *699 sender: *4 required: - action @@ -153901,11 +154375,11 @@ webhooks: type: string enum: - created - enterprise: *694 - installation: *695 - organization: *696 - project_card: *738 - repository: *697 + enterprise: *696 + installation: *697 + organization: *698 + project_card: *740 + repository: *699 sender: *4 required: - action @@ -153985,9 +154459,9 @@ webhooks: type: string enum: - deleted - enterprise: *694 - installation: *695 - organization: *696 + enterprise: *696 + installation: *697 + organization: *698 project_card: title: Project Card type: object @@ -154117,7 +154591,7 @@ webhooks: repository: anyOf: - type: 'null' - - *697 + - *699 sender: *4 required: - action @@ -154211,11 +154685,11 @@ webhooks: - from required: - note - enterprise: *694 - installation: *695 - organization: *696 - project_card: *738 - repository: *697 + enterprise: *696 + installation: *697 + organization: *698 + project_card: *740 + repository: *699 sender: *4 required: - action @@ -154309,9 +154783,9 @@ webhooks: - from required: - column_id - enterprise: *694 - installation: *695 - organization: *696 + enterprise: *696 + installation: *697 + organization: *698 project_card: allOf: - title: Project Card @@ -154508,7 +154982,7 @@ webhooks: type: string required: - after_id - repository: *697 + repository: *699 sender: *4 required: - action @@ -154588,10 +155062,10 @@ webhooks: type: string enum: - closed - enterprise: *694 - installation: *695 - organization: *696 - project: &740 + enterprise: *696 + installation: *697 + organization: *698 + project: &742 title: Project type: object properties: @@ -154718,7 +155192,7 @@ webhooks: - creator - created_at - updated_at - repository: *697 + repository: *699 sender: *4 required: - action @@ -154798,10 +155272,10 @@ webhooks: type: string enum: - created - enterprise: *694 - installation: *695 - organization: *696 - project_column: &739 + enterprise: *696 + installation: *697 + organization: *698 + project_column: &741 title: Project Column type: object properties: @@ -154841,7 +155315,7 @@ webhooks: - name - created_at - updated_at - repository: *697 + repository: *699 sender: *4 required: - action @@ -154920,14 +155394,14 @@ webhooks: type: string enum: - deleted - enterprise: *694 - installation: *695 - organization: *696 - project_column: *739 + enterprise: *696 + installation: *697 + organization: *698 + project_column: *741 repository: anyOf: - type: 'null' - - *697 + - *699 sender: *4 required: - action @@ -155016,11 +155490,11 @@ webhooks: type: string required: - from - enterprise: *694 - installation: *695 - organization: *696 - project_column: *739 - repository: *697 + enterprise: *696 + installation: *697 + organization: *698 + project_column: *741 + repository: *699 sender: *4 required: - action @@ -155100,11 +155574,11 @@ webhooks: type: string enum: - moved - enterprise: *694 - installation: *695 - organization: *696 - project_column: *739 - repository: *697 + enterprise: *696 + installation: *697 + organization: *698 + project_column: *741 + repository: *699 sender: *4 required: - action @@ -155184,11 +155658,11 @@ webhooks: type: string enum: - created - enterprise: *694 - installation: *695 - organization: *696 - project: *740 - repository: *697 + enterprise: *696 + installation: *697 + organization: *698 + project: *742 + repository: *699 sender: *4 required: - action @@ -155268,14 +155742,14 @@ webhooks: type: string enum: - deleted - enterprise: *694 - installation: *695 - organization: *696 - project: *740 + enterprise: *696 + installation: *697 + organization: *698 + project: *742 repository: anyOf: - type: 'null' - - *697 + - *699 sender: *4 required: - action @@ -155376,11 +155850,11 @@ webhooks: type: string required: - from - enterprise: *694 - installation: *695 - organization: *696 - project: *740 - repository: *697 + enterprise: *696 + installation: *697 + organization: *698 + project: *742 + repository: *699 sender: *4 required: - action @@ -155459,11 +155933,11 @@ webhooks: type: string enum: - reopened - enterprise: *694 - installation: *695 - organization: *696 - project: *740 - repository: *697 + enterprise: *696 + installation: *697 + organization: *698 + project: *742 + repository: *699 sender: *4 required: - action @@ -155544,9 +156018,9 @@ webhooks: type: string enum: - closed - installation: *695 - organization: *696 - projects_v2: &741 + installation: *697 + organization: *698 + projects_v2: &743 title: Projects v2 Project description: A projects v2 project type: object @@ -155694,9 +156168,9 @@ webhooks: type: string enum: - created - installation: *695 - organization: *696 - projects_v2: *741 + installation: *697 + organization: *698 + projects_v2: *743 sender: *4 required: - action @@ -155777,9 +156251,9 @@ webhooks: type: string enum: - deleted - installation: *695 - organization: *696 - projects_v2: *741 + installation: *697 + organization: *698 + projects_v2: *743 sender: *4 required: - action @@ -155900,9 +156374,9 @@ webhooks: type: string to: type: string - installation: *695 - organization: *696 - projects_v2: *741 + installation: *697 + organization: *698 + projects_v2: *743 sender: *4 required: - action @@ -155985,7 +156459,7 @@ webhooks: type: string enum: - archived - changes: &745 + changes: &747 type: object properties: archived_at: @@ -156001,9 +156475,9 @@ webhooks: - string - 'null' format: date-time - installation: *695 - organization: *696 - projects_v2_item: &742 + installation: *697 + organization: *698 + projects_v2_item: &744 title: Projects v2 Item description: An item belonging to a project type: object @@ -156142,9 +156616,9 @@ webhooks: - 'null' to: type: string - installation: *695 - organization: *696 - projects_v2_item: *742 + installation: *697 + organization: *698 + projects_v2_item: *744 sender: *4 required: - action @@ -156226,9 +156700,9 @@ webhooks: type: string enum: - created - installation: *695 - organization: *696 - projects_v2_item: *742 + installation: *697 + organization: *698 + projects_v2_item: *744 sender: *4 required: - action @@ -156309,9 +156783,9 @@ webhooks: type: string enum: - deleted - installation: *695 - organization: *696 - projects_v2_item: *742 + installation: *697 + organization: *698 + projects_v2_item: *744 sender: *4 required: - action @@ -156416,7 +156890,7 @@ webhooks: oneOf: - type: string - type: integer - - &743 + - &745 title: Projects v2 Single Select Option description: An option for a single select field type: object @@ -156436,7 +156910,7 @@ webhooks: required: - id - name - - &744 + - &746 title: Projects v2 Iteration Setting description: An iteration setting for an iteration field type: object @@ -156465,8 +156939,8 @@ webhooks: oneOf: - type: string - type: integer - - *743 - - *744 + - *745 + - *746 type: - 'null' - string @@ -156489,9 +156963,9 @@ webhooks: - 'null' required: - body - installation: *695 - organization: *696 - projects_v2_item: *742 + installation: *697 + organization: *698 + projects_v2_item: *744 sender: *4 required: - action @@ -156588,9 +157062,9 @@ webhooks: type: - string - 'null' - installation: *695 - organization: *696 - projects_v2_item: *742 + installation: *697 + organization: *698 + projects_v2_item: *744 sender: *4 required: - action @@ -156673,10 +157147,10 @@ webhooks: type: string enum: - restored - changes: *745 - installation: *695 - organization: *696 - projects_v2_item: *742 + changes: *747 + installation: *697 + organization: *698 + projects_v2_item: *744 sender: *4 required: - action @@ -156758,9 +157232,9 @@ webhooks: type: string enum: - reopened - installation: *695 - organization: *696 - projects_v2: *741 + installation: *697 + organization: *698 + projects_v2: *743 sender: *4 required: - action @@ -156841,9 +157315,9 @@ webhooks: type: string enum: - created - installation: *695 - organization: *696 - projects_v2_status_update: &746 + installation: *697 + organization: *698 + projects_v2_status_update: &748 title: Projects v2 Status Update description: An status update belonging to a project type: object @@ -156978,9 +157452,9 @@ webhooks: type: string enum: - deleted - installation: *695 - organization: *696 - projects_v2_status_update: *746 + installation: *697 + organization: *698 + projects_v2_status_update: *748 sender: *4 required: - action @@ -157126,9 +157600,9 @@ webhooks: - string - 'null' format: date - installation: *695 - organization: *696 - projects_v2_status_update: *746 + installation: *697 + organization: *698 + projects_v2_status_update: *748 sender: *4 required: - action @@ -157199,10 +157673,10 @@ webhooks: title: public event type: object properties: - enterprise: *694 - installation: *695 - organization: *696 - repository: *697 + enterprise: *696 + installation: *697 + organization: *698 + repository: *699 sender: *4 required: - repository @@ -157279,13 +157753,13 @@ webhooks: type: string enum: - assigned - assignee: *721 - enterprise: *694 - installation: *695 - number: &747 + assignee: *723 + enterprise: *696 + installation: *697 + number: &749 description: The pull request number. type: integer - organization: *696 + organization: *698 pull_request: title: Pull Request type: object @@ -159634,7 +160108,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *697 + repository: *699 sender: *4 required: - action @@ -159716,11 +160190,11 @@ webhooks: type: string enum: - auto_merge_disabled - enterprise: *694 - installation: *695 + enterprise: *696 + installation: *697 number: type: integer - organization: *696 + organization: *698 pull_request: title: Pull Request type: object @@ -162062,7 +162536,7 @@ webhooks: - draft reason: type: string - repository: *697 + repository: *699 sender: *4 required: - action @@ -162144,11 +162618,11 @@ webhooks: type: string enum: - auto_merge_enabled - enterprise: *694 - installation: *695 + enterprise: *696 + installation: *697 number: type: integer - organization: *696 + organization: *698 pull_request: title: Pull Request type: object @@ -164490,7 +164964,7 @@ webhooks: - draft reason: type: string - repository: *697 + repository: *699 sender: *4 required: - action @@ -164572,13 +165046,13 @@ webhooks: type: string enum: - closed - enterprise: *694 - installation: *695 - number: *747 - organization: *696 - pull_request: &748 + enterprise: *696 + installation: *697 + number: *749 + organization: *698 + pull_request: &750 allOf: - - *553 + - *555 - type: object properties: allow_auto_merge: @@ -164640,7 +165114,7 @@ webhooks: Please use `squash_merge_commit_title` instead.** type: boolean default: false - repository: *697 + repository: *699 sender: *4 required: - action @@ -164721,12 +165195,12 @@ webhooks: type: string enum: - converted_to_draft - enterprise: *694 - installation: *695 - number: *747 - organization: *696 - pull_request: *748 - repository: *697 + enterprise: *696 + installation: *697 + number: *749 + organization: *698 + pull_request: *750 + repository: *699 sender: *4 required: - action @@ -164806,11 +165280,11 @@ webhooks: type: string enum: - demilestoned - enterprise: *694 - milestone: *451 - number: *747 - organization: *696 - pull_request: &749 + enterprise: *696 + milestone: *453 + number: *749 + organization: *698 + pull_request: &751 title: Pull Request type: object properties: @@ -167137,7 +167611,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *697 + repository: *699 sender: *4 required: - action @@ -167216,11 +167690,11 @@ webhooks: type: string enum: - dequeued - enterprise: *694 - installation: *695 + enterprise: *696 + installation: *697 number: type: integer - organization: *696 + organization: *698 pull_request: title: Pull Request type: object @@ -169566,7 +170040,7 @@ webhooks: - BRANCH_PROTECTIONS - GIT_TREE_INVALID - INVALID_MERGE_COMMIT - repository: *697 + repository: *699 sender: *4 required: - action @@ -169690,12 +170164,12 @@ webhooks: type: string required: - from - enterprise: *694 - installation: *695 - number: *747 - organization: *696 - pull_request: *748 - repository: *697 + enterprise: *696 + installation: *697 + number: *749 + organization: *698 + pull_request: *750 + repository: *699 sender: *4 required: - action @@ -169775,11 +170249,11 @@ webhooks: type: string enum: - enqueued - enterprise: *694 - installation: *695 + enterprise: *696 + installation: *697 number: type: integer - organization: *696 + organization: *698 pull_request: title: Pull Request type: object @@ -172110,7 +172584,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *697 + repository: *699 sender: *4 required: - action @@ -172190,11 +172664,11 @@ webhooks: type: string enum: - labeled - enterprise: *694 - installation: *695 - label: *720 - number: *747 - organization: *696 + enterprise: *696 + installation: *697 + label: *722 + number: *749 + organization: *698 pull_request: title: Pull Request type: object @@ -174542,7 +175016,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *697 + repository: *699 sender: *4 required: - action @@ -174623,10 +175097,10 @@ webhooks: type: string enum: - locked - enterprise: *694 - installation: *695 - number: *747 - organization: *696 + enterprise: *696 + installation: *697 + number: *749 + organization: *698 pull_request: title: Pull Request type: object @@ -176972,7 +177446,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *697 + repository: *699 sender: *4 required: - action @@ -177052,12 +177526,12 @@ webhooks: type: string enum: - milestoned - enterprise: *694 - milestone: *451 - number: *747 - organization: *696 - pull_request: *749 - repository: *697 + enterprise: *696 + milestone: *453 + number: *749 + organization: *698 + pull_request: *751 + repository: *699 sender: *4 required: - action @@ -177136,12 +177610,12 @@ webhooks: type: string enum: - opened - enterprise: *694 - installation: *695 - number: *747 - organization: *696 - pull_request: *748 - repository: *697 + enterprise: *696 + installation: *697 + number: *749 + organization: *698 + pull_request: *750 + repository: *699 sender: *4 required: - action @@ -177222,12 +177696,12 @@ webhooks: type: string enum: - ready_for_review - enterprise: *694 - installation: *695 - number: *747 - organization: *696 - pull_request: *748 - repository: *697 + enterprise: *696 + installation: *697 + number: *749 + organization: *698 + pull_request: *750 + repository: *699 sender: *4 required: - action @@ -177307,12 +177781,12 @@ webhooks: type: string enum: - reopened - enterprise: *694 - installation: *695 - number: *747 - organization: *696 - pull_request: *748 - repository: *697 + enterprise: *696 + installation: *697 + number: *749 + organization: *698 + pull_request: *750 + repository: *699 sender: *4 required: - action @@ -177687,9 +178161,9 @@ webhooks: - start_side - side - reactions - enterprise: *694 - installation: *695 - organization: *696 + enterprise: *696 + installation: *697 + organization: *698 pull_request: type: object properties: @@ -179919,7 +180393,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *697 + repository: *699 sender: *4 required: - action @@ -179999,7 +180473,7 @@ webhooks: type: string enum: - deleted - comment: &751 + comment: &753 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. @@ -180292,9 +180766,9 @@ webhooks: - start_side - side - reactions - enterprise: *694 - installation: *695 - organization: *696 + enterprise: *696 + installation: *697 + organization: *698 pull_request: type: object properties: @@ -182512,7 +182986,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *697 + repository: *699 sender: *4 required: - action @@ -182592,11 +183066,11 @@ webhooks: type: string enum: - edited - changes: *750 - comment: *751 - enterprise: *694 - installation: *695 - organization: *696 + changes: *752 + comment: *753 + enterprise: *696 + installation: *697 + organization: *698 pull_request: type: object properties: @@ -184817,7 +185291,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *697 + repository: *699 sender: *4 required: - action @@ -184898,9 +185372,9 @@ webhooks: type: string enum: - dismissed - enterprise: *694 - installation: *695 - organization: *696 + enterprise: *696 + installation: *697 + organization: *698 pull_request: title: Simple Pull Request type: object @@ -187133,7 +187607,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *697 + repository: *699 review: description: The review that was affected. type: object @@ -187379,9 +187853,9 @@ webhooks: type: string required: - from - enterprise: *694 - installation: *695 - organization: *696 + enterprise: *696 + installation: *697 + organization: *698 pull_request: title: Simple Pull Request type: object @@ -189495,8 +189969,8 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *697 - review: &752 + repository: *699 + review: &754 description: The review that was affected. type: object properties: @@ -189729,12 +190203,12 @@ webhooks: type: string enum: - review_request_removed - enterprise: *694 - installation: *695 + enterprise: *696 + installation: *697 number: description: The pull request number. type: integer - organization: *696 + organization: *698 pull_request: title: Pull Request type: object @@ -192081,7 +192555,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *697 + repository: *699 requested_reviewer: title: User type: @@ -192167,12 +192641,12 @@ webhooks: type: string enum: - review_request_removed - enterprise: *694 - installation: *695 + enterprise: *696 + installation: *697 number: description: The pull request number. type: integer - organization: *696 + organization: *698 pull_request: title: Pull Request type: object @@ -194526,7 +195000,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *697 + repository: *699 requested_team: title: Team description: Groups of organization members that gives permissions @@ -194721,12 +195195,12 @@ webhooks: type: string enum: - review_requested - enterprise: *694 - installation: *695 + enterprise: *696 + installation: *697 number: description: The pull request number. type: integer - organization: *696 + organization: *698 pull_request: title: Pull Request type: object @@ -197075,7 +197549,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *697 + repository: *699 requested_reviewer: title: User type: @@ -197162,12 +197636,12 @@ webhooks: type: string enum: - review_requested - enterprise: *694 - installation: *695 + enterprise: *696 + installation: *697 number: description: The pull request number. type: integer - organization: *696 + organization: *698 pull_request: title: Pull Request type: object @@ -199507,7 +199981,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *697 + repository: *699 requested_team: title: Team description: Groups of organization members that gives permissions @@ -199691,9 +200165,9 @@ webhooks: type: string enum: - submitted - enterprise: *694 - installation: *695 - organization: *696 + enterprise: *696 + installation: *697 + organization: *698 pull_request: title: Simple Pull Request type: object @@ -201929,8 +202403,8 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *697 - review: *752 + repository: *699 + review: *754 sender: *4 required: - action @@ -202010,9 +202484,9 @@ webhooks: type: string enum: - resolved - enterprise: *694 - installation: *695 - organization: *696 + enterprise: *696 + installation: *697 + organization: *698 pull_request: title: Simple Pull Request type: object @@ -204143,7 +204617,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *697 + repository: *699 sender: *4 thread: type: object @@ -204535,9 +205009,9 @@ webhooks: type: string enum: - unresolved - enterprise: *694 - installation: *695 - organization: *696 + enterprise: *696 + installation: *697 + organization: *698 pull_request: title: Simple Pull Request type: object @@ -206651,7 +207125,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *697 + repository: *699 sender: *4 thread: type: object @@ -207045,10 +207519,10 @@ webhooks: type: string before: type: string - enterprise: *694 - installation: *695 - number: *747 - organization: *696 + enterprise: *696 + installation: *697 + number: *749 + organization: *698 pull_request: title: Pull Request type: object @@ -209383,7 +209857,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *697 + repository: *699 sender: *4 required: - action @@ -209465,11 +209939,11 @@ webhooks: type: string enum: - unassigned - assignee: *753 - enterprise: *694 - installation: *695 - number: *747 - organization: *696 + assignee: *755 + enterprise: *696 + installation: *697 + number: *749 + organization: *698 pull_request: title: Pull Request type: object @@ -211819,7 +212293,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *697 + repository: *699 sender: *4 required: - action @@ -211898,11 +212372,11 @@ webhooks: type: string enum: - unlabeled - enterprise: *694 - installation: *695 - label: *720 - number: *747 - organization: *696 + enterprise: *696 + installation: *697 + label: *722 + number: *749 + organization: *698 pull_request: title: Pull Request type: object @@ -214241,7 +214715,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *697 + repository: *699 sender: *4 required: - action @@ -214322,10 +214796,10 @@ webhooks: type: string enum: - unlocked - enterprise: *694 - installation: *695 - number: *747 - organization: *696 + enterprise: *696 + installation: *697 + number: *749 + organization: *698 pull_request: title: Pull Request type: object @@ -216654,7 +217128,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *697 + repository: *699 sender: *4 required: - action @@ -216857,7 +217331,7 @@ webhooks: deleted: description: Whether this push deleted the `ref`. type: boolean - enterprise: *694 + enterprise: *696 forced: description: Whether this push was a force push of the `ref`. type: boolean @@ -216952,8 +217426,8 @@ webhooks: - url - author - committer - installation: *695 - organization: *696 + installation: *697 + organization: *698 pusher: title: Committer description: Metaproperties for Git author/committer information. @@ -217541,9 +218015,9 @@ webhooks: type: string enum: - published - enterprise: *694 - installation: *695 - organization: *696 + enterprise: *696 + installation: *697 + organization: *698 registry_package: type: object properties: @@ -218020,7 +218494,7 @@ webhooks: type: string rubygems_metadata: type: array - items: *735 + items: *737 summary: type: string tag_name: @@ -218076,7 +218550,7 @@ webhooks: - owner - package_version - registry - repository: *697 + repository: *699 sender: *4 required: - action @@ -218154,9 +218628,9 @@ webhooks: type: string enum: - updated - enterprise: *694 - installation: *695 - organization: *696 + enterprise: *696 + installation: *697 + organization: *698 registry_package: type: object properties: @@ -218468,7 +218942,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: *735 + items: *737 summary: type: string tag_name: @@ -218518,7 +218992,7 @@ webhooks: - owner - package_version - registry - repository: *697 + repository: *699 sender: *4 required: - action @@ -218595,10 +219069,10 @@ webhooks: type: string enum: - created - enterprise: *694 - installation: *695 - organization: *696 - release: &754 + enterprise: *696 + installation: *697 + organization: *698 + release: &756 title: Release description: The [release](https://docs.github.com/enterprise-cloud@latest//rest/releases/releases/#get-a-release) object. @@ -218914,7 +219388,7 @@ webhooks: - tarball_url - zipball_url - body - repository: *697 + repository: *699 sender: *4 required: - action @@ -218991,11 +219465,11 @@ webhooks: type: string enum: - deleted - enterprise: *694 - installation: *695 - organization: *696 - release: *754 - repository: *697 + enterprise: *696 + installation: *697 + organization: *698 + release: *756 + repository: *699 sender: *4 required: - action @@ -219103,11 +219577,11 @@ webhooks: type: boolean required: - to - enterprise: *694 - installation: *695 - organization: *696 - release: *754 - repository: *697 + enterprise: *696 + installation: *697 + organization: *698 + release: *756 + repository: *699 sender: *4 required: - action @@ -219185,9 +219659,9 @@ webhooks: type: string enum: - prereleased - enterprise: *694 - installation: *695 - organization: *696 + enterprise: *696 + installation: *697 + organization: *698 release: title: Release description: The [release](https://docs.github.com/enterprise-cloud@latest//rest/releases/releases/#get-a-release) @@ -219508,7 +219982,7 @@ webhooks: - string - 'null' format: uri - repository: *697 + repository: *699 sender: *4 required: - action @@ -219584,10 +220058,10 @@ webhooks: type: string enum: - published - enterprise: *694 - installation: *695 - organization: *696 - release: &755 + enterprise: *696 + installation: *697 + organization: *698 + release: &757 title: Release description: The [release](https://docs.github.com/enterprise-cloud@latest//rest/releases/releases/#get-a-release) object. @@ -219905,7 +220379,7 @@ webhooks: - string - 'null' format: uri - repository: *697 + repository: *699 sender: *4 required: - action @@ -219981,11 +220455,11 @@ webhooks: type: string enum: - released - enterprise: *694 - installation: *695 - organization: *696 - release: *754 - repository: *697 + enterprise: *696 + installation: *697 + organization: *698 + release: *756 + repository: *699 sender: *4 required: - action @@ -220061,11 +220535,11 @@ webhooks: type: string enum: - unpublished - enterprise: *694 - installation: *695 - organization: *696 - release: *755 - repository: *697 + enterprise: *696 + installation: *697 + organization: *698 + release: *757 + repository: *699 sender: *4 required: - action @@ -220141,11 +220615,11 @@ webhooks: type: string enum: - published - enterprise: *694 - installation: *695 - organization: *696 - repository: *697 - repository_advisory: *606 + enterprise: *696 + installation: *697 + organization: *698 + repository: *699 + repository_advisory: *608 sender: *4 required: - action @@ -220221,11 +220695,11 @@ webhooks: type: string enum: - reported - enterprise: *694 - installation: *695 - organization: *696 - repository: *697 - repository_advisory: *606 + enterprise: *696 + installation: *697 + organization: *698 + repository: *699 + repository_advisory: *608 sender: *4 required: - action @@ -220301,10 +220775,10 @@ webhooks: type: string enum: - archived - enterprise: *694 - installation: *695 - organization: *696 - repository: *697 + enterprise: *696 + installation: *697 + organization: *698 + repository: *699 sender: *4 required: - action @@ -220381,10 +220855,10 @@ webhooks: type: string enum: - created - enterprise: *694 - installation: *695 - organization: *696 - repository: *697 + enterprise: *696 + installation: *697 + organization: *698 + repository: *699 sender: *4 required: - action @@ -220462,10 +220936,10 @@ webhooks: type: string enum: - deleted - enterprise: *694 - installation: *695 - organization: *696 - repository: *697 + enterprise: *696 + installation: *697 + organization: *698 + repository: *699 sender: *4 required: - action @@ -220550,10 +221024,10 @@ webhooks: additionalProperties: true description: The `client_payload` that was specified in the `POST /repos/{owner}/{repo}/dispatches` request body. - enterprise: *694 - installation: *695 - organization: *696 - repository: *697 + enterprise: *696 + installation: *697 + organization: *698 + repository: *699 sender: *4 required: - action @@ -220668,10 +221142,10 @@ webhooks: - 'null' items: type: string - enterprise: *694 - installation: *695 - organization: *696 - repository: *697 + enterprise: *696 + installation: *697 + organization: *698 + repository: *699 sender: *4 required: - action @@ -220743,10 +221217,10 @@ webhooks: title: repository_import event type: object properties: - enterprise: *694 - installation: *695 - organization: *696 - repository: *697 + enterprise: *696 + installation: *697 + organization: *698 + repository: *699 sender: *4 status: type: string @@ -220827,10 +221301,10 @@ webhooks: type: string enum: - privatized - enterprise: *694 - installation: *695 - organization: *696 - repository: *697 + enterprise: *696 + installation: *697 + organization: *698 + repository: *699 sender: *4 required: - action @@ -220907,10 +221381,10 @@ webhooks: type: string enum: - publicized - enterprise: *694 - installation: *695 - organization: *696 - repository: *697 + enterprise: *696 + installation: *697 + organization: *698 + repository: *699 sender: *4 required: - action @@ -221004,10 +221478,10 @@ webhooks: - name required: - repository - enterprise: *694 - installation: *695 - organization: *696 - repository: *697 + enterprise: *696 + installation: *697 + organization: *698 + repository: *699 sender: *4 required: - action @@ -221087,10 +221561,10 @@ webhooks: type: string enum: - created - enterprise: *694 - installation: *695 - organization: *696 - repository: *697 + enterprise: *696 + installation: *697 + organization: *698 + repository: *699 repository_ruleset: *112 sender: *4 required: @@ -221169,10 +221643,10 @@ webhooks: type: string enum: - deleted - enterprise: *694 - installation: *695 - organization: *696 - repository: *697 + enterprise: *696 + installation: *697 + organization: *698 + repository: *699 repository_ruleset: *112 sender: *4 required: @@ -221251,10 +221725,10 @@ webhooks: type: string enum: - edited - enterprise: *694 - installation: *695 - organization: *696 - repository: *697 + enterprise: *696 + installation: *697 + organization: *698 + repository: *699 repository_ruleset: *112 changes: type: object @@ -221562,10 +222036,10 @@ webhooks: - from required: - owner - enterprise: *694 - installation: *695 - organization: *696 - repository: *697 + enterprise: *696 + installation: *697 + organization: *698 + repository: *699 sender: *4 required: - action @@ -221643,10 +222117,10 @@ webhooks: type: string enum: - unarchived - enterprise: *694 - installation: *695 - organization: *696 - repository: *697 + enterprise: *696 + installation: *697 + organization: *698 + repository: *699 sender: *4 required: - action @@ -221724,7 +222198,7 @@ webhooks: type: string enum: - create - alert: &756 + alert: &758 title: Repository Vulnerability Alert Alert description: The security alert of the vulnerable dependency. type: object @@ -221848,10 +222322,10 @@ webhooks: type: string enum: - open - enterprise: *694 - installation: *695 - organization: *696 - repository: *697 + enterprise: *696 + installation: *697 + organization: *698 + repository: *699 sender: *4 required: - action @@ -222061,10 +222535,10 @@ webhooks: type: string enum: - dismissed - enterprise: *694 - installation: *695 - organization: *696 - repository: *697 + enterprise: *696 + installation: *697 + organization: *698 + repository: *699 sender: *4 required: - action @@ -222142,11 +222616,11 @@ webhooks: type: string enum: - reopen - alert: *756 - enterprise: *694 - installation: *695 - organization: *696 - repository: *697 + alert: *758 + enterprise: *696 + installation: *697 + organization: *698 + repository: *699 sender: *4 required: - action @@ -222348,10 +222822,10 @@ webhooks: enum: - fixed - open - enterprise: *694 - installation: *695 - organization: *696 - repository: *697 + enterprise: *696 + installation: *697 + organization: *698 + repository: *699 sender: *4 required: - action @@ -222429,7 +222903,7 @@ webhooks: type: string enum: - created - alert: &757 + alert: &759 type: object properties: number: *88 @@ -222539,10 +223013,10 @@ webhooks: - 'null' description: Whether the detected secret was found in multiple repositories in the same organization or business. - enterprise: *694 - installation: *695 - organization: *696 - repository: *697 + enterprise: *696 + installation: *697 + organization: *698 + repository: *699 sender: *4 required: - action @@ -222623,11 +223097,11 @@ webhooks: type: string enum: - created - alert: *757 - installation: *695 - location: *758 - organization: *696 - repository: *697 + alert: *759 + installation: *697 + location: *760 + organization: *698 + repository: *699 sender: *4 required: - location @@ -222865,11 +223339,11 @@ webhooks: type: string enum: - publicly_leaked - alert: *757 - enterprise: *694 - installation: *695 - organization: *696 - repository: *697 + alert: *759 + enterprise: *696 + installation: *697 + organization: *698 + repository: *699 sender: *4 required: - action @@ -222947,11 +223421,11 @@ webhooks: type: string enum: - reopened - alert: *757 - enterprise: *694 - installation: *695 - organization: *696 - repository: *697 + alert: *759 + enterprise: *696 + installation: *697 + organization: *698 + repository: *699 sender: *4 required: - action @@ -223029,11 +223503,11 @@ webhooks: type: string enum: - resolved - alert: *757 - enterprise: *694 - installation: *695 - organization: *696 - repository: *697 + alert: *759 + enterprise: *696 + installation: *697 + organization: *698 + repository: *699 sender: *4 required: - action @@ -223111,11 +223585,11 @@ webhooks: type: string enum: - validated - alert: *757 - enterprise: *694 - installation: *695 - organization: *696 - repository: *697 + alert: *759 + enterprise: *696 + installation: *697 + organization: *698 + repository: *699 sender: *4 required: - action @@ -223245,10 +223719,10 @@ webhooks: - organization - enterprise - - repository: *697 - enterprise: *694 - installation: *695 - organization: *696 + repository: *699 + enterprise: *696 + installation: *697 + organization: *698 sender: *4 required: - action @@ -223326,11 +223800,11 @@ webhooks: type: string enum: - published - enterprise: *694 - installation: *695 - organization: *696 - repository: *697 - security_advisory: &759 + enterprise: *696 + installation: *697 + organization: *698 + repository: *699 + security_advisory: &761 description: The details of the security advisory, including summary, description, and severity. type: object @@ -223516,11 +223990,11 @@ webhooks: type: string enum: - updated - enterprise: *694 - installation: *695 - organization: *696 - repository: *697 - security_advisory: *759 + enterprise: *696 + installation: *697 + organization: *698 + repository: *699 + security_advisory: *761 sender: *4 required: - action @@ -223593,10 +224067,10 @@ webhooks: type: string enum: - withdrawn - enterprise: *694 - installation: *695 - organization: *696 - repository: *697 + enterprise: *696 + installation: *697 + organization: *698 + repository: *699 security_advisory: description: The details of the security advisory, including summary, description, and severity. @@ -223782,11 +224256,11 @@ webhooks: from: type: object properties: - security_and_analysis: *282 - enterprise: *694 - installation: *695 - organization: *696 - repository: *339 + security_and_analysis: *284 + enterprise: *696 + installation: *697 + organization: *698 + repository: *341 sender: *4 required: - changes @@ -223864,12 +224338,12 @@ webhooks: type: string enum: - cancelled - enterprise: *694 - installation: *695 - organization: *696 - repository: *697 + enterprise: *696 + installation: *697 + organization: *698 + repository: *699 sender: *4 - sponsorship: &760 + sponsorship: &762 type: object properties: created_at: @@ -224174,12 +224648,12 @@ webhooks: type: string enum: - created - enterprise: *694 - installation: *695 - organization: *696 - repository: *697 + enterprise: *696 + installation: *697 + organization: *698 + repository: *699 sender: *4 - sponsorship: *760 + sponsorship: *762 required: - action - sponsorship @@ -224267,12 +224741,12 @@ webhooks: type: string required: - from - enterprise: *694 - installation: *695 - organization: *696 - repository: *697 + enterprise: *696 + installation: *697 + organization: *698 + repository: *699 sender: *4 - sponsorship: *760 + sponsorship: *762 required: - action - changes @@ -224349,17 +224823,17 @@ webhooks: type: string enum: - pending_cancellation - effective_date: &761 + effective_date: &763 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: *694 - installation: *695 - organization: *696 - repository: *697 + enterprise: *696 + installation: *697 + organization: *698 + repository: *699 sender: *4 - sponsorship: *760 + sponsorship: *762 required: - action - sponsorship @@ -224433,7 +224907,7 @@ webhooks: type: string enum: - pending_tier_change - changes: &762 + changes: &764 type: object properties: tier: @@ -224477,13 +224951,13 @@ webhooks: - from required: - tier - effective_date: *761 - enterprise: *694 - installation: *695 - organization: *696 - repository: *697 + effective_date: *763 + enterprise: *696 + installation: *697 + organization: *698 + repository: *699 sender: *4 - sponsorship: *760 + sponsorship: *762 required: - action - changes @@ -224560,13 +225034,13 @@ webhooks: type: string enum: - tier_changed - changes: *762 - enterprise: *694 - installation: *695 - organization: *696 - repository: *697 + changes: *764 + enterprise: *696 + installation: *697 + organization: *698 + repository: *699 sender: *4 - sponsorship: *760 + sponsorship: *762 required: - action - changes @@ -224640,10 +225114,10 @@ webhooks: type: string enum: - created - enterprise: *694 - installation: *695 - organization: *696 - repository: *697 + enterprise: *696 + installation: *697 + organization: *698 + repository: *699 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -224727,10 +225201,10 @@ webhooks: type: string enum: - deleted - enterprise: *694 - installation: *695 - organization: *696 - repository: *697 + enterprise: *696 + installation: *697 + organization: *698 + repository: *699 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -225163,15 +225637,15 @@ webhooks: type: - string - 'null' - enterprise: *694 + enterprise: *696 id: description: The unique identifier of the status. type: integer - installation: *695 + installation: *697 name: type: string - organization: *696 - repository: *697 + organization: *698 + repository: *699 sender: *4 sha: description: The Commit SHA. @@ -225287,9 +225761,9 @@ webhooks: description: The ID of the sub-issue. type: number sub_issue: *135 - installation: *695 - organization: *696 - repository: *697 + installation: *697 + organization: *698 + repository: *699 sender: *4 required: - action @@ -225379,9 +225853,9 @@ webhooks: description: The ID of the sub-issue. type: number sub_issue: *135 - installation: *695 - organization: *696 - repository: *697 + installation: *697 + organization: *698 + repository: *699 sender: *4 required: - action @@ -225471,9 +225945,9 @@ webhooks: description: The ID of the parent issue. type: number parent_issue: *135 - installation: *695 - organization: *696 - repository: *697 + installation: *697 + organization: *698 + repository: *699 sender: *4 required: - action @@ -225563,9 +226037,9 @@ webhooks: description: The ID of the parent issue. type: number parent_issue: *135 - installation: *695 - organization: *696 - repository: *697 + installation: *697 + organization: *698 + repository: *699 sender: *4 required: - action @@ -225642,12 +226116,12 @@ webhooks: title: team_add event type: object properties: - enterprise: *694 - installation: *695 - organization: *696 - repository: *697 + enterprise: *696 + installation: *697 + organization: *698 + repository: *699 sender: *4 - team: &763 + team: &765 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -225840,9 +226314,9 @@ webhooks: type: string enum: - added_to_repository - enterprise: *694 - installation: *695 - organization: *696 + enterprise: *696 + installation: *697 + organization: *698 repository: title: Repository description: A git repository @@ -226312,7 +226786,7 @@ webhooks: - topics - visibility sender: *4 - team: *763 + team: *765 required: - action - team @@ -226388,9 +226862,9 @@ webhooks: type: string enum: - created - enterprise: *694 - installation: *695 - organization: *696 + enterprise: *696 + installation: *697 + organization: *698 repository: title: Repository description: A git repository @@ -226860,7 +227334,7 @@ webhooks: - topics - visibility sender: *4 - team: *763 + team: *765 required: - action - team @@ -226937,9 +227411,9 @@ webhooks: type: string enum: - deleted - enterprise: *694 - installation: *695 - organization: *696 + enterprise: *696 + installation: *697 + organization: *698 repository: title: Repository description: A git repository @@ -227409,7 +227883,7 @@ webhooks: - topics - visibility sender: *4 - team: *763 + team: *765 required: - action - team @@ -227553,9 +228027,9 @@ webhooks: - from required: - permissions - enterprise: *694 - installation: *695 - organization: *696 + enterprise: *696 + installation: *697 + organization: *698 repository: title: Repository description: A git repository @@ -228025,7 +228499,7 @@ webhooks: - topics - visibility sender: *4 - team: *763 + team: *765 required: - action - changes @@ -228103,9 +228577,9 @@ webhooks: type: string enum: - removed_from_repository - enterprise: *694 - installation: *695 - organization: *696 + enterprise: *696 + installation: *697 + organization: *698 repository: title: Repository description: A git repository @@ -228575,7 +229049,7 @@ webhooks: - topics - visibility sender: *4 - team: *763 + team: *765 required: - action - team @@ -228651,10 +229125,10 @@ webhooks: type: string enum: - started - enterprise: *694 - installation: *695 - organization: *696 - repository: *697 + enterprise: *696 + installation: *697 + organization: *698 + repository: *699 sender: *4 required: - action @@ -228727,17 +229201,17 @@ webhooks: title: workflow_dispatch event type: object properties: - enterprise: *694 + enterprise: *696 inputs: type: - object - 'null' additionalProperties: true - installation: *695 - organization: *696 + installation: *697 + organization: *698 ref: type: string - repository: *697 + repository: *699 sender: *4 workflow: type: string @@ -228819,10 +229293,10 @@ webhooks: type: string enum: - completed - enterprise: *694 - installation: *695 - organization: *696 - repository: *697 + enterprise: *696 + installation: *697 + organization: *698 + repository: *699 sender: *4 workflow_job: allOf: @@ -229078,7 +229552,7 @@ webhooks: type: string required: - conclusion - deployment: *471 + deployment: *473 required: - action - repository @@ -229157,10 +229631,10 @@ webhooks: type: string enum: - in_progress - enterprise: *694 - installation: *695 - organization: *696 - repository: *697 + enterprise: *696 + installation: *697 + organization: *698 + repository: *699 sender: *4 workflow_job: allOf: @@ -229442,7 +229916,7 @@ webhooks: required: - status - steps - deployment: *471 + deployment: *473 required: - action - repository @@ -229521,10 +229995,10 @@ webhooks: type: string enum: - queued - enterprise: *694 - installation: *695 - organization: *696 - repository: *697 + enterprise: *696 + installation: *697 + organization: *698 + repository: *699 sender: *4 workflow_job: type: object @@ -229670,7 +230144,7 @@ webhooks: - workflow_name - head_branch - created_at - deployment: *471 + deployment: *473 required: - action - repository @@ -229749,10 +230223,10 @@ webhooks: type: string enum: - waiting - enterprise: *694 - installation: *695 - organization: *696 - repository: *697 + enterprise: *696 + installation: *697 + organization: *698 + repository: *699 sender: *4 workflow_job: type: object @@ -229899,7 +230373,7 @@ webhooks: - workflow_name - head_branch - created_at - deployment: *471 + deployment: *473 required: - action - repository @@ -229979,12 +230453,12 @@ webhooks: type: string enum: - completed - enterprise: *694 - installation: *695 - organization: *696 - repository: *697 + enterprise: *696 + installation: *697 + organization: *698 + repository: *699 sender: *4 - workflow: *716 + workflow: *718 workflow_run: title: Workflow Run type: object @@ -231003,12 +231477,12 @@ webhooks: type: string enum: - in_progress - enterprise: *694 - installation: *695 - organization: *696 - repository: *697 + enterprise: *696 + installation: *697 + organization: *698 + repository: *699 sender: *4 - workflow: *716 + workflow: *718 workflow_run: title: Workflow Run type: object @@ -232012,12 +232486,12 @@ webhooks: type: string enum: - requested - enterprise: *694 - installation: *695 - organization: *696 - repository: *697 + enterprise: *696 + installation: *697 + organization: *698 + repository: *699 sender: *4 - workflow: *716 + workflow: *718 workflow_run: title: Workflow Run type: object diff --git a/descriptions-next/ghec/ghec.2022-11-28.json b/descriptions-next/ghec/ghec.2022-11-28.json index f7aa4c2e1..fc8bfa4b2 100644 --- a/descriptions-next/ghec/ghec.2022-11-28.json +++ b/descriptions-next/ghec/ghec.2022-11-28.json @@ -24083,6 +24083,473 @@ } } }, + "/orgs/{org}/private-registries": { + "get": { + "summary": "List private registries for an organization", + "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nLists all private registry configurations available at the organization-level without revealing their encrypted\nvalues.\n\nOAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint.", + "tags": [ + "private-registries" + ], + "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" + }, + "parameters": [ + { + "$ref": "#/components/parameters/org" + }, + { + "$ref": "#/components/parameters/per-page" + }, + { + "$ref": "#/components/parameters/page" + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "total_count", + "configurations" + ], + "properties": { + "total_count": { + "type": "integer" + }, + "configurations": { + "type": "array", + "items": { + "$ref": "#/components/schemas/org-private-registry-configuration" + } + } + } + }, + "examples": { + "default": { + "$ref": "#/components/examples/org-private-registry-configurations-paginated" + } + } + } + }, + "headers": { + "Link": { + "$ref": "#/components/headers/link" + } + } + }, + "400": { + "$ref": "#/components/responses/bad_request" + }, + "404": { + "$ref": "#/components/responses/not_found" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "private-registries", + "subcategory": "organization-configurations" + } + }, + "post": { + "summary": "Create a private registry for an organization", + "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\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).\"\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" + }, + "parameters": [ + { + "$ref": "#/components/parameters/org" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "registry_type": { + "description": "The registry type.", + "type": "string", + "enum": [ + "maven_repository" + ] + }, + "username": { + "description": "The username to use when authenticating with the private registry. This field should be omitted if the private registry does not require a username for authentication.", + "type": [ + "string", + "null" + ] + }, + "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.", + "type": "string", + "pattern": "^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=|[A-Za-z0-9+/]{4})$" + }, + "key_id": { + "description": "The ID of the key you used to encrypt the secret.", + "type": "string" + }, + "visibility": { + "description": "Which type of organization repositories have access to the private registry. `selected` means only the repositories specified by `selected_repository_ids` can access the private registry.", + "type": "string", + "enum": [ + "all", + "private", + "selected" + ] + }, + "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`.", + "type": "array", + "items": { + "type": "integer" + } + } + }, + "required": [ + "registry_type", + "encrypted_value", + "key_id", + "visibility" + ] + }, + "examples": { + "org-private-registry-with-private-visibility": { + "summary": "Example of a private registry configuration with private visibility", + "value": { + "registry_type": "maven_repository", + "username": "monalisa", + "encrypted_value": "c2VjcmV0", + "key_id": "012345678912345678", + "visibility": "private" + } + }, + "org-private-registry-with-selected-visibility": { + "summary": "Example of a private registry configuration with selected visibility", + "value": { + "registry_type": "maven_repository", + "username": "monalisa", + "encrypted_value": "c2VjcmV0", + "key_id": "012345678912345678", + "visibility": "selected", + "selected_repository_ids": [ + 1296269, + 1296280 + ] + } + } + } + } + } + }, + "responses": { + "201": { + "description": "The organization private registry configuration", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/org-private-registry-configuration-with-selected-repositories" + }, + "examples": { + "org-private-registry-with-selected-visibility": { + "$ref": "#/components/examples/org-private-registry-configuration" + }, + "org-private-registry-with-private-visibility": { + "$ref": "#/components/examples/org-private-registry-configuration-with-selected-repositories" + } + } + } + } + }, + "404": { + "$ref": "#/components/responses/not_found" + }, + "422": { + "$ref": "#/components/responses/validation_failed" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "private-registries", + "subcategory": "organization-configurations" + } + } + }, + "/orgs/{org}/private-registries/public-key": { + "get": { + "summary": "Get private registries public key for an organization", + "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nGets the org public key, which is needed to encrypt private registry secrets. You need to encrypt a secret before you can create or update secrets.\n\nOAuth tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint.", + "tags": [ + "private-registries" + ], + "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" + }, + "parameters": [ + { + "$ref": "#/components/parameters/org" + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "key_id", + "key" + ], + "properties": { + "key_id": { + "description": "The identifier for the key.", + "type": "string", + "examples": [ + "012345678912345678" + ] + }, + "key": { + "description": "The Base64 encoded public key.", + "type": "string", + "examples": [ + "2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234" + ] + } + } + }, + "examples": { + "default": { + "$ref": "#/components/examples/private-registries-public-key" + } + } + } + }, + "headers": { + "Link": { + "$ref": "#/components/headers/link" + } + } + }, + "404": { + "$ref": "#/components/responses/not_found" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "private-registries", + "subcategory": "organization-configurations" + } + } + }, + "/orgs/{org}/private-registries/{secret_name}": { + "get": { + "summary": "Get a private registry for an organization", + "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nGet the configuration of a single private registry defined for an organization, omitting its encrypted value.\n\nOAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint.", + "tags": [ + "private-registries" + ], + "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" + }, + "parameters": [ + { + "$ref": "#/components/parameters/org" + }, + { + "$ref": "#/components/parameters/secret-name" + } + ], + "responses": { + "200": { + "description": "The specified private registry configuration for the organization", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/org-private-registry-configuration" + }, + "examples": { + "default": { + "$ref": "#/components/examples/org-private-registry-configuration" + } + } + } + } + }, + "404": { + "$ref": "#/components/responses/not_found" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "private-registries", + "subcategory": "organization-configurations" + } + }, + "patch": { + "summary": "Update a private registry for an organization", + "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\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).\"\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" + }, + "parameters": [ + { + "$ref": "#/components/parameters/org" + }, + { + "$ref": "#/components/parameters/secret-name" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "registry_type": { + "description": "The registry type.", + "type": "string", + "enum": [ + "maven_repository" + ] + }, + "username": { + "description": "The username to use when authenticating with the private registry. This field should be omitted if the private registry does not require a username for authentication.", + "type": [ + "string", + "null" + ] + }, + "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.", + "type": "string", + "pattern": "^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=|[A-Za-z0-9+/]{4})$" + }, + "key_id": { + "description": "The ID of the key you used to encrypt the secret.", + "type": "string" + }, + "visibility": { + "description": "Which type of organization repositories have access to the private registry. `selected` means only the repositories specified by `selected_repository_ids` can access the private registry.", + "type": "string", + "enum": [ + "all", + "private", + "selected" + ] + }, + "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`. This field should be omitted if `visibility` is set to `all` or `private`.", + "type": "array", + "items": { + "type": "integer" + } + } + } + }, + "examples": { + "update-username-and-encrypted-value": { + "value": { + "username": "monalisa", + "encrypted_value": "c2VjcmV0", + "key_id": "012345678912345678" + } + }, + "update-with-selected-visibility": { + "value": { + "visibility": "selected", + "selected_repository_ids": [ + 1296269, + 1296280 + ] + } + } + } + } + } + }, + "responses": { + "204": { + "description": "Response" + }, + "404": { + "$ref": "#/components/responses/not_found" + }, + "422": { + "$ref": "#/components/responses/validation_failed" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "private-registries", + "subcategory": "organization-configurations" + } + }, + "delete": { + "summary": "Delete a private registry for an organization", + "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nDelete a private registry configuration at the organization-level.\n\nOAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint.", + "tags": [ + "private-registries" + ], + "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" + }, + "parameters": [ + { + "$ref": "#/components/parameters/org" + }, + { + "$ref": "#/components/parameters/secret-name" + } + ], + "responses": { + "204": { + "description": "Response" + }, + "400": { + "$ref": "#/components/responses/bad_request" + }, + "404": { + "$ref": "#/components/responses/not_found" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "private-registries", + "subcategory": "organization-configurations" + } + } + }, "/orgs/{org}/projects": { "get": { "summary": "List organization projects", @@ -118069,6 +118536,120 @@ "token_last_used_at" ] }, + "org-private-registry-configuration": { + "title": "Organization private registry", + "description": "Private registry configuration for an organization", + "type": "object", + "properties": { + "name": { + "description": "The name of the private registry configuration.", + "type": "string", + "examples": [ + "MAVEN_REPOSITORY_SECRET" + ] + }, + "registry_type": { + "description": "The registry type.", + "enum": [ + "maven_repository" + ], + "type": "string" + }, + "username": { + "description": "The username to use when authenticating with the private registry.", + "type": [ + "string", + "null" + ], + "examples": [ + "monalisa" + ] + }, + "visibility": { + "description": "Which type of organization repositories have access to the private registry.", + "enum": [ + "all", + "private", + "selected" + ], + "type": "string" + }, + "created_at": { + "type": "string", + "format": "date-time" + }, + "updated_at": { + "type": "string", + "format": "date-time" + } + }, + "required": [ + "name", + "registry_type", + "visibility", + "created_at", + "updated_at" + ] + }, + "org-private-registry-configuration-with-selected-repositories": { + "title": "Organization private registry", + "description": "Private registry configuration for an organization", + "type": "object", + "properties": { + "name": { + "description": "The name of the private registry configuration.", + "type": "string", + "examples": [ + "MAVEN_REPOSITORY_SECRET" + ] + }, + "registry_type": { + "description": "The registry type.", + "enum": [ + "maven_repository" + ], + "type": "string" + }, + "username": { + "description": "The username to use when authenticating with the private registry.", + "type": "string", + "examples": [ + "monalisa" + ] + }, + "visibility": { + "description": "Which type of organization repositories have access to the private registry. `selected` means only the repositories specified by `selected_repository_ids` can access the private registry.", + "enum": [ + "all", + "private", + "selected" + ], + "type": "string" + }, + "selected_repository_ids": { + "type": "array", + "description": "An array of repository IDs that can access the organization private registry when `visibility` is set to `selected`.", + "items": { + "type": "integer" + } + }, + "created_at": { + "type": "string", + "format": "date-time" + }, + "updated_at": { + "type": "string", + "format": "date-time" + } + }, + "required": [ + "name", + "registry_type", + "visibility", + "created_at", + "updated_at" + ] + }, "project": { "title": "Project", "description": "Projects are a way to organize columns and cards of work.", @@ -295918,6 +296499,51 @@ } ] }, + "org-private-registry-configurations-paginated": { + "value": { + "total_count": 1, + "configurations": [ + { + "name": "MAVEN_REPOSITORY_SECRET", + "registry_type": "maven_repository", + "username": "monalisa", + "created_at": "2019-08-10T14:59:22Z", + "updated_at": "2020-01-10T14:59:22Z", + "visibility": "selected" + } + ] + } + }, + "org-private-registry-configuration": { + "value": { + "name": "MAVEN_REPOSITORY_SECRET", + "registry_type": "maven_repository", + "username": "monalisa", + "visibility": "private", + "created_at": "2019-08-10T14:59:22Z", + "updated_at": "2020-01-10T14:59:22Z" + } + }, + "org-private-registry-configuration-with-selected-repositories": { + "value": { + "name": "MAVEN_REPOSITORY_SECRET", + "registry_type": "maven_repository", + "username": "monalisa", + "visibility": "selected", + "selected_repository_ids": [ + 1296269, + 1296280 + ], + "created_at": "2019-08-10T14:59:22Z", + "updated_at": "2020-01-10T14:59:22Z" + } + }, + "private-registries-public-key": { + "value": { + "key_id": "012345678912345678", + "key": "2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234" + } + }, "project-items": { "value": [ { diff --git a/descriptions-next/ghec/ghec.2022-11-28.yaml b/descriptions-next/ghec/ghec.2022-11-28.yaml index 3877146a9..afa1372b2 100644 --- a/descriptions-next/ghec/ghec.2022-11-28.yaml +++ b/descriptions-next/ghec/ghec.2022-11-28.yaml @@ -17484,6 +17484,381 @@ paths: enabledForGitHubApps: true category: orgs subcategory: personal-access-tokens + "/orgs/{org}/private-registries": + get: + summary: List private registries for an organization + description: |- + > [!NOTE] + > This endpoint is in public preview and is subject to change. + + Lists all private registry configurations available at the organization-level without revealing their encrypted + values. + + OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + tags: + - private-registries + 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 + parameters: + - "$ref": "#/components/parameters/org" + - "$ref": "#/components/parameters/per-page" + - "$ref": "#/components/parameters/page" + responses: + '200': + description: Response + content: + application/json: + schema: + type: object + required: + - total_count + - configurations + properties: + total_count: + type: integer + configurations: + type: array + items: + "$ref": "#/components/schemas/org-private-registry-configuration" + examples: + default: + "$ref": "#/components/examples/org-private-registry-configurations-paginated" + headers: + Link: + "$ref": "#/components/headers/link" + '400': + "$ref": "#/components/responses/bad_request" + '404': + "$ref": "#/components/responses/not_found" + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: private-registries + subcategory: organization-configurations + post: + summary: Create a private registry for an organization + description: |- + > [!NOTE] + > This endpoint is in public preview and is subject to change. + + Creates 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)." + + OAuth 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 + parameters: + - "$ref": "#/components/parameters/org" + requestBody: + required: true + content: + application/json: + schema: + type: object + properties: + registry_type: + description: The registry type. + type: string + enum: + - maven_repository + username: + description: The username to use when authenticating with the private + registry. This field should be omitted if the private registry + does not require a username for authentication. + type: + - string + - 'null' + 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. + type: string + pattern: "^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=|[A-Za-z0-9+/]{4})$" + key_id: + description: The ID of the key you used to encrypt the secret. + type: string + visibility: + description: Which type of organization repositories have access + to the private registry. `selected` means only the repositories + specified by `selected_repository_ids` can access the private + registry. + type: string + enum: + - all + - private + - selected + 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`. + type: array + items: + type: integer + required: + - registry_type + - encrypted_value + - key_id + - visibility + examples: + org-private-registry-with-private-visibility: + summary: Example of a private registry configuration with private + visibility + value: + registry_type: maven_repository + username: monalisa + encrypted_value: c2VjcmV0 + key_id: '012345678912345678' + visibility: private + org-private-registry-with-selected-visibility: + summary: Example of a private registry configuration with selected + visibility + value: + registry_type: maven_repository + username: monalisa + encrypted_value: c2VjcmV0 + key_id: '012345678912345678' + visibility: selected + selected_repository_ids: + - 1296269 + - 1296280 + responses: + '201': + description: The organization private registry configuration + content: + application/json: + schema: + "$ref": "#/components/schemas/org-private-registry-configuration-with-selected-repositories" + examples: + org-private-registry-with-selected-visibility: + "$ref": "#/components/examples/org-private-registry-configuration" + org-private-registry-with-private-visibility: + "$ref": "#/components/examples/org-private-registry-configuration-with-selected-repositories" + '404': + "$ref": "#/components/responses/not_found" + '422': + "$ref": "#/components/responses/validation_failed" + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: private-registries + subcategory: organization-configurations + "/orgs/{org}/private-registries/public-key": + get: + summary: Get private registries public key for an organization + description: |- + > [!NOTE] + > This endpoint is in public preview and is subject to change. + + Gets the org public key, which is needed to encrypt private registry secrets. You need to encrypt a secret before you can create or update secrets. + + OAuth tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + tags: + - private-registries + 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 + parameters: + - "$ref": "#/components/parameters/org" + responses: + '200': + description: Response + content: + application/json: + schema: + type: object + required: + - key_id + - key + properties: + key_id: + description: The identifier for the key. + type: string + examples: + - '012345678912345678' + key: + description: The Base64 encoded public key. + type: string + examples: + - 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 + examples: + default: + "$ref": "#/components/examples/private-registries-public-key" + headers: + Link: + "$ref": "#/components/headers/link" + '404': + "$ref": "#/components/responses/not_found" + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: private-registries + subcategory: organization-configurations + "/orgs/{org}/private-registries/{secret_name}": + get: + summary: Get a private registry for an organization + description: |- + > [!NOTE] + > This endpoint is in public preview and is subject to change. + + Get the configuration of a single private registry defined for an organization, omitting its encrypted value. + + OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + tags: + - private-registries + 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 + parameters: + - "$ref": "#/components/parameters/org" + - "$ref": "#/components/parameters/secret-name" + responses: + '200': + description: The specified private registry configuration for the organization + content: + application/json: + schema: + "$ref": "#/components/schemas/org-private-registry-configuration" + examples: + default: + "$ref": "#/components/examples/org-private-registry-configuration" + '404': + "$ref": "#/components/responses/not_found" + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: private-registries + subcategory: organization-configurations + patch: + summary: Update a private registry for an organization + description: |- + > [!NOTE] + > This endpoint is in public preview and is subject to change. + + Updates 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)." + + OAuth 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 + parameters: + - "$ref": "#/components/parameters/org" + - "$ref": "#/components/parameters/secret-name" + requestBody: + required: true + content: + application/json: + schema: + type: object + properties: + registry_type: + description: The registry type. + type: string + enum: + - maven_repository + username: + description: The username to use when authenticating with the private + registry. This field should be omitted if the private registry + does not require a username for authentication. + type: + - string + - 'null' + 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. + type: string + pattern: "^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=|[A-Za-z0-9+/]{4})$" + key_id: + description: The ID of the key you used to encrypt the secret. + type: string + visibility: + description: Which type of organization repositories have access + to the private registry. `selected` means only the repositories + specified by `selected_repository_ids` can access the private + registry. + type: string + enum: + - all + - private + - selected + 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`. This field should be omitted + if `visibility` is set to `all` or `private`. + type: array + items: + type: integer + examples: + update-username-and-encrypted-value: + value: + username: monalisa + encrypted_value: c2VjcmV0 + key_id: '012345678912345678' + update-with-selected-visibility: + value: + visibility: selected + selected_repository_ids: + - 1296269 + - 1296280 + responses: + '204': + description: Response + '404': + "$ref": "#/components/responses/not_found" + '422': + "$ref": "#/components/responses/validation_failed" + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: private-registries + subcategory: organization-configurations + delete: + summary: Delete a private registry for an organization + description: |- + > [!NOTE] + > This endpoint is in public preview and is subject to change. + + Delete a private registry configuration at the organization-level. + + OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + tags: + - private-registries + 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 + parameters: + - "$ref": "#/components/parameters/org" + - "$ref": "#/components/parameters/secret-name" + responses: + '204': + description: Response + '400': + "$ref": "#/components/responses/bad_request" + '404': + "$ref": "#/components/responses/not_found" + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: private-registries + subcategory: organization-configurations "/orgs/{org}/projects": get: summary: List organization projects @@ -85703,6 +86078,95 @@ components: - token_expired - token_expires_at - token_last_used_at + org-private-registry-configuration: + title: Organization private registry + description: Private registry configuration for an organization + type: object + properties: + name: + description: The name of the private registry configuration. + type: string + examples: + - MAVEN_REPOSITORY_SECRET + registry_type: + description: The registry type. + enum: + - maven_repository + type: string + username: + description: The username to use when authenticating with the private registry. + type: + - string + - 'null' + examples: + - monalisa + visibility: + description: Which type of organization repositories have access to the + private registry. + enum: + - all + - private + - selected + type: string + created_at: + type: string + format: date-time + updated_at: + type: string + format: date-time + required: + - name + - registry_type + - visibility + - created_at + - updated_at + org-private-registry-configuration-with-selected-repositories: + title: Organization private registry + description: Private registry configuration for an organization + type: object + properties: + name: + description: The name of the private registry configuration. + type: string + examples: + - MAVEN_REPOSITORY_SECRET + registry_type: + description: The registry type. + enum: + - maven_repository + type: string + username: + description: The username to use when authenticating with the private registry. + type: string + examples: + - monalisa + visibility: + description: Which type of organization repositories have access to the + private registry. `selected` means only the repositories specified by + `selected_repository_ids` can access the private registry. + enum: + - all + - private + - selected + type: string + selected_repository_ids: + type: array + description: An array of repository IDs that can access the organization + private registry when `visibility` is set to `selected`. + items: + type: integer + created_at: + type: string + format: date-time + updated_at: + type: string + format: date-time + required: + - name + - registry_type + - visibility + - created_at + - updated_at project: title: Project description: Projects are a way to organize columns and cards of work. @@ -218642,6 +219106,39 @@ components: token_expired: false token_expires_at: '2023-11-16T08:47:09.000-07:00' token_last_used_at: + org-private-registry-configurations-paginated: + value: + total_count: 1 + configurations: + - name: MAVEN_REPOSITORY_SECRET + registry_type: maven_repository + username: monalisa + created_at: '2019-08-10T14:59:22Z' + updated_at: '2020-01-10T14:59:22Z' + visibility: selected + org-private-registry-configuration: + value: + name: MAVEN_REPOSITORY_SECRET + registry_type: maven_repository + username: monalisa + visibility: private + created_at: '2019-08-10T14:59:22Z' + updated_at: '2020-01-10T14:59:22Z' + org-private-registry-configuration-with-selected-repositories: + value: + name: MAVEN_REPOSITORY_SECRET + registry_type: maven_repository + username: monalisa + visibility: selected + selected_repository_ids: + - 1296269 + - 1296280 + created_at: '2019-08-10T14:59:22Z' + updated_at: '2020-01-10T14:59:22Z' + private-registries-public-key: + value: + key_id: '012345678912345678' + key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 project-items: value: - owner_url: https://api.github.com/orgs/octocat diff --git a/descriptions-next/ghec/ghec.json b/descriptions-next/ghec/ghec.json index f7aa4c2e1..fc8bfa4b2 100644 --- a/descriptions-next/ghec/ghec.json +++ b/descriptions-next/ghec/ghec.json @@ -24083,6 +24083,473 @@ } } }, + "/orgs/{org}/private-registries": { + "get": { + "summary": "List private registries for an organization", + "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nLists all private registry configurations available at the organization-level without revealing their encrypted\nvalues.\n\nOAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint.", + "tags": [ + "private-registries" + ], + "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" + }, + "parameters": [ + { + "$ref": "#/components/parameters/org" + }, + { + "$ref": "#/components/parameters/per-page" + }, + { + "$ref": "#/components/parameters/page" + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "total_count", + "configurations" + ], + "properties": { + "total_count": { + "type": "integer" + }, + "configurations": { + "type": "array", + "items": { + "$ref": "#/components/schemas/org-private-registry-configuration" + } + } + } + }, + "examples": { + "default": { + "$ref": "#/components/examples/org-private-registry-configurations-paginated" + } + } + } + }, + "headers": { + "Link": { + "$ref": "#/components/headers/link" + } + } + }, + "400": { + "$ref": "#/components/responses/bad_request" + }, + "404": { + "$ref": "#/components/responses/not_found" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "private-registries", + "subcategory": "organization-configurations" + } + }, + "post": { + "summary": "Create a private registry for an organization", + "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\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).\"\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" + }, + "parameters": [ + { + "$ref": "#/components/parameters/org" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "registry_type": { + "description": "The registry type.", + "type": "string", + "enum": [ + "maven_repository" + ] + }, + "username": { + "description": "The username to use when authenticating with the private registry. This field should be omitted if the private registry does not require a username for authentication.", + "type": [ + "string", + "null" + ] + }, + "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.", + "type": "string", + "pattern": "^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=|[A-Za-z0-9+/]{4})$" + }, + "key_id": { + "description": "The ID of the key you used to encrypt the secret.", + "type": "string" + }, + "visibility": { + "description": "Which type of organization repositories have access to the private registry. `selected` means only the repositories specified by `selected_repository_ids` can access the private registry.", + "type": "string", + "enum": [ + "all", + "private", + "selected" + ] + }, + "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`.", + "type": "array", + "items": { + "type": "integer" + } + } + }, + "required": [ + "registry_type", + "encrypted_value", + "key_id", + "visibility" + ] + }, + "examples": { + "org-private-registry-with-private-visibility": { + "summary": "Example of a private registry configuration with private visibility", + "value": { + "registry_type": "maven_repository", + "username": "monalisa", + "encrypted_value": "c2VjcmV0", + "key_id": "012345678912345678", + "visibility": "private" + } + }, + "org-private-registry-with-selected-visibility": { + "summary": "Example of a private registry configuration with selected visibility", + "value": { + "registry_type": "maven_repository", + "username": "monalisa", + "encrypted_value": "c2VjcmV0", + "key_id": "012345678912345678", + "visibility": "selected", + "selected_repository_ids": [ + 1296269, + 1296280 + ] + } + } + } + } + } + }, + "responses": { + "201": { + "description": "The organization private registry configuration", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/org-private-registry-configuration-with-selected-repositories" + }, + "examples": { + "org-private-registry-with-selected-visibility": { + "$ref": "#/components/examples/org-private-registry-configuration" + }, + "org-private-registry-with-private-visibility": { + "$ref": "#/components/examples/org-private-registry-configuration-with-selected-repositories" + } + } + } + } + }, + "404": { + "$ref": "#/components/responses/not_found" + }, + "422": { + "$ref": "#/components/responses/validation_failed" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "private-registries", + "subcategory": "organization-configurations" + } + } + }, + "/orgs/{org}/private-registries/public-key": { + "get": { + "summary": "Get private registries public key for an organization", + "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nGets the org public key, which is needed to encrypt private registry secrets. You need to encrypt a secret before you can create or update secrets.\n\nOAuth tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint.", + "tags": [ + "private-registries" + ], + "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" + }, + "parameters": [ + { + "$ref": "#/components/parameters/org" + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "key_id", + "key" + ], + "properties": { + "key_id": { + "description": "The identifier for the key.", + "type": "string", + "examples": [ + "012345678912345678" + ] + }, + "key": { + "description": "The Base64 encoded public key.", + "type": "string", + "examples": [ + "2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234" + ] + } + } + }, + "examples": { + "default": { + "$ref": "#/components/examples/private-registries-public-key" + } + } + } + }, + "headers": { + "Link": { + "$ref": "#/components/headers/link" + } + } + }, + "404": { + "$ref": "#/components/responses/not_found" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "private-registries", + "subcategory": "organization-configurations" + } + } + }, + "/orgs/{org}/private-registries/{secret_name}": { + "get": { + "summary": "Get a private registry for an organization", + "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nGet the configuration of a single private registry defined for an organization, omitting its encrypted value.\n\nOAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint.", + "tags": [ + "private-registries" + ], + "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" + }, + "parameters": [ + { + "$ref": "#/components/parameters/org" + }, + { + "$ref": "#/components/parameters/secret-name" + } + ], + "responses": { + "200": { + "description": "The specified private registry configuration for the organization", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/org-private-registry-configuration" + }, + "examples": { + "default": { + "$ref": "#/components/examples/org-private-registry-configuration" + } + } + } + } + }, + "404": { + "$ref": "#/components/responses/not_found" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "private-registries", + "subcategory": "organization-configurations" + } + }, + "patch": { + "summary": "Update a private registry for an organization", + "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\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).\"\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" + }, + "parameters": [ + { + "$ref": "#/components/parameters/org" + }, + { + "$ref": "#/components/parameters/secret-name" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "registry_type": { + "description": "The registry type.", + "type": "string", + "enum": [ + "maven_repository" + ] + }, + "username": { + "description": "The username to use when authenticating with the private registry. This field should be omitted if the private registry does not require a username for authentication.", + "type": [ + "string", + "null" + ] + }, + "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.", + "type": "string", + "pattern": "^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=|[A-Za-z0-9+/]{4})$" + }, + "key_id": { + "description": "The ID of the key you used to encrypt the secret.", + "type": "string" + }, + "visibility": { + "description": "Which type of organization repositories have access to the private registry. `selected` means only the repositories specified by `selected_repository_ids` can access the private registry.", + "type": "string", + "enum": [ + "all", + "private", + "selected" + ] + }, + "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`. This field should be omitted if `visibility` is set to `all` or `private`.", + "type": "array", + "items": { + "type": "integer" + } + } + } + }, + "examples": { + "update-username-and-encrypted-value": { + "value": { + "username": "monalisa", + "encrypted_value": "c2VjcmV0", + "key_id": "012345678912345678" + } + }, + "update-with-selected-visibility": { + "value": { + "visibility": "selected", + "selected_repository_ids": [ + 1296269, + 1296280 + ] + } + } + } + } + } + }, + "responses": { + "204": { + "description": "Response" + }, + "404": { + "$ref": "#/components/responses/not_found" + }, + "422": { + "$ref": "#/components/responses/validation_failed" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "private-registries", + "subcategory": "organization-configurations" + } + }, + "delete": { + "summary": "Delete a private registry for an organization", + "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nDelete a private registry configuration at the organization-level.\n\nOAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint.", + "tags": [ + "private-registries" + ], + "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" + }, + "parameters": [ + { + "$ref": "#/components/parameters/org" + }, + { + "$ref": "#/components/parameters/secret-name" + } + ], + "responses": { + "204": { + "description": "Response" + }, + "400": { + "$ref": "#/components/responses/bad_request" + }, + "404": { + "$ref": "#/components/responses/not_found" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "private-registries", + "subcategory": "organization-configurations" + } + } + }, "/orgs/{org}/projects": { "get": { "summary": "List organization projects", @@ -118069,6 +118536,120 @@ "token_last_used_at" ] }, + "org-private-registry-configuration": { + "title": "Organization private registry", + "description": "Private registry configuration for an organization", + "type": "object", + "properties": { + "name": { + "description": "The name of the private registry configuration.", + "type": "string", + "examples": [ + "MAVEN_REPOSITORY_SECRET" + ] + }, + "registry_type": { + "description": "The registry type.", + "enum": [ + "maven_repository" + ], + "type": "string" + }, + "username": { + "description": "The username to use when authenticating with the private registry.", + "type": [ + "string", + "null" + ], + "examples": [ + "monalisa" + ] + }, + "visibility": { + "description": "Which type of organization repositories have access to the private registry.", + "enum": [ + "all", + "private", + "selected" + ], + "type": "string" + }, + "created_at": { + "type": "string", + "format": "date-time" + }, + "updated_at": { + "type": "string", + "format": "date-time" + } + }, + "required": [ + "name", + "registry_type", + "visibility", + "created_at", + "updated_at" + ] + }, + "org-private-registry-configuration-with-selected-repositories": { + "title": "Organization private registry", + "description": "Private registry configuration for an organization", + "type": "object", + "properties": { + "name": { + "description": "The name of the private registry configuration.", + "type": "string", + "examples": [ + "MAVEN_REPOSITORY_SECRET" + ] + }, + "registry_type": { + "description": "The registry type.", + "enum": [ + "maven_repository" + ], + "type": "string" + }, + "username": { + "description": "The username to use when authenticating with the private registry.", + "type": "string", + "examples": [ + "monalisa" + ] + }, + "visibility": { + "description": "Which type of organization repositories have access to the private registry. `selected` means only the repositories specified by `selected_repository_ids` can access the private registry.", + "enum": [ + "all", + "private", + "selected" + ], + "type": "string" + }, + "selected_repository_ids": { + "type": "array", + "description": "An array of repository IDs that can access the organization private registry when `visibility` is set to `selected`.", + "items": { + "type": "integer" + } + }, + "created_at": { + "type": "string", + "format": "date-time" + }, + "updated_at": { + "type": "string", + "format": "date-time" + } + }, + "required": [ + "name", + "registry_type", + "visibility", + "created_at", + "updated_at" + ] + }, "project": { "title": "Project", "description": "Projects are a way to organize columns and cards of work.", @@ -295918,6 +296499,51 @@ } ] }, + "org-private-registry-configurations-paginated": { + "value": { + "total_count": 1, + "configurations": [ + { + "name": "MAVEN_REPOSITORY_SECRET", + "registry_type": "maven_repository", + "username": "monalisa", + "created_at": "2019-08-10T14:59:22Z", + "updated_at": "2020-01-10T14:59:22Z", + "visibility": "selected" + } + ] + } + }, + "org-private-registry-configuration": { + "value": { + "name": "MAVEN_REPOSITORY_SECRET", + "registry_type": "maven_repository", + "username": "monalisa", + "visibility": "private", + "created_at": "2019-08-10T14:59:22Z", + "updated_at": "2020-01-10T14:59:22Z" + } + }, + "org-private-registry-configuration-with-selected-repositories": { + "value": { + "name": "MAVEN_REPOSITORY_SECRET", + "registry_type": "maven_repository", + "username": "monalisa", + "visibility": "selected", + "selected_repository_ids": [ + 1296269, + 1296280 + ], + "created_at": "2019-08-10T14:59:22Z", + "updated_at": "2020-01-10T14:59:22Z" + } + }, + "private-registries-public-key": { + "value": { + "key_id": "012345678912345678", + "key": "2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234" + } + }, "project-items": { "value": [ { diff --git a/descriptions-next/ghec/ghec.yaml b/descriptions-next/ghec/ghec.yaml index 3877146a9..afa1372b2 100644 --- a/descriptions-next/ghec/ghec.yaml +++ b/descriptions-next/ghec/ghec.yaml @@ -17484,6 +17484,381 @@ paths: enabledForGitHubApps: true category: orgs subcategory: personal-access-tokens + "/orgs/{org}/private-registries": + get: + summary: List private registries for an organization + description: |- + > [!NOTE] + > This endpoint is in public preview and is subject to change. + + Lists all private registry configurations available at the organization-level without revealing their encrypted + values. + + OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + tags: + - private-registries + 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 + parameters: + - "$ref": "#/components/parameters/org" + - "$ref": "#/components/parameters/per-page" + - "$ref": "#/components/parameters/page" + responses: + '200': + description: Response + content: + application/json: + schema: + type: object + required: + - total_count + - configurations + properties: + total_count: + type: integer + configurations: + type: array + items: + "$ref": "#/components/schemas/org-private-registry-configuration" + examples: + default: + "$ref": "#/components/examples/org-private-registry-configurations-paginated" + headers: + Link: + "$ref": "#/components/headers/link" + '400': + "$ref": "#/components/responses/bad_request" + '404': + "$ref": "#/components/responses/not_found" + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: private-registries + subcategory: organization-configurations + post: + summary: Create a private registry for an organization + description: |- + > [!NOTE] + > This endpoint is in public preview and is subject to change. + + Creates 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)." + + OAuth 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 + parameters: + - "$ref": "#/components/parameters/org" + requestBody: + required: true + content: + application/json: + schema: + type: object + properties: + registry_type: + description: The registry type. + type: string + enum: + - maven_repository + username: + description: The username to use when authenticating with the private + registry. This field should be omitted if the private registry + does not require a username for authentication. + type: + - string + - 'null' + 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. + type: string + pattern: "^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=|[A-Za-z0-9+/]{4})$" + key_id: + description: The ID of the key you used to encrypt the secret. + type: string + visibility: + description: Which type of organization repositories have access + to the private registry. `selected` means only the repositories + specified by `selected_repository_ids` can access the private + registry. + type: string + enum: + - all + - private + - selected + 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`. + type: array + items: + type: integer + required: + - registry_type + - encrypted_value + - key_id + - visibility + examples: + org-private-registry-with-private-visibility: + summary: Example of a private registry configuration with private + visibility + value: + registry_type: maven_repository + username: monalisa + encrypted_value: c2VjcmV0 + key_id: '012345678912345678' + visibility: private + org-private-registry-with-selected-visibility: + summary: Example of a private registry configuration with selected + visibility + value: + registry_type: maven_repository + username: monalisa + encrypted_value: c2VjcmV0 + key_id: '012345678912345678' + visibility: selected + selected_repository_ids: + - 1296269 + - 1296280 + responses: + '201': + description: The organization private registry configuration + content: + application/json: + schema: + "$ref": "#/components/schemas/org-private-registry-configuration-with-selected-repositories" + examples: + org-private-registry-with-selected-visibility: + "$ref": "#/components/examples/org-private-registry-configuration" + org-private-registry-with-private-visibility: + "$ref": "#/components/examples/org-private-registry-configuration-with-selected-repositories" + '404': + "$ref": "#/components/responses/not_found" + '422': + "$ref": "#/components/responses/validation_failed" + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: private-registries + subcategory: organization-configurations + "/orgs/{org}/private-registries/public-key": + get: + summary: Get private registries public key for an organization + description: |- + > [!NOTE] + > This endpoint is in public preview and is subject to change. + + Gets the org public key, which is needed to encrypt private registry secrets. You need to encrypt a secret before you can create or update secrets. + + OAuth tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + tags: + - private-registries + 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 + parameters: + - "$ref": "#/components/parameters/org" + responses: + '200': + description: Response + content: + application/json: + schema: + type: object + required: + - key_id + - key + properties: + key_id: + description: The identifier for the key. + type: string + examples: + - '012345678912345678' + key: + description: The Base64 encoded public key. + type: string + examples: + - 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 + examples: + default: + "$ref": "#/components/examples/private-registries-public-key" + headers: + Link: + "$ref": "#/components/headers/link" + '404': + "$ref": "#/components/responses/not_found" + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: private-registries + subcategory: organization-configurations + "/orgs/{org}/private-registries/{secret_name}": + get: + summary: Get a private registry for an organization + description: |- + > [!NOTE] + > This endpoint is in public preview and is subject to change. + + Get the configuration of a single private registry defined for an organization, omitting its encrypted value. + + OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + tags: + - private-registries + 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 + parameters: + - "$ref": "#/components/parameters/org" + - "$ref": "#/components/parameters/secret-name" + responses: + '200': + description: The specified private registry configuration for the organization + content: + application/json: + schema: + "$ref": "#/components/schemas/org-private-registry-configuration" + examples: + default: + "$ref": "#/components/examples/org-private-registry-configuration" + '404': + "$ref": "#/components/responses/not_found" + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: private-registries + subcategory: organization-configurations + patch: + summary: Update a private registry for an organization + description: |- + > [!NOTE] + > This endpoint is in public preview and is subject to change. + + Updates 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)." + + OAuth 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 + parameters: + - "$ref": "#/components/parameters/org" + - "$ref": "#/components/parameters/secret-name" + requestBody: + required: true + content: + application/json: + schema: + type: object + properties: + registry_type: + description: The registry type. + type: string + enum: + - maven_repository + username: + description: The username to use when authenticating with the private + registry. This field should be omitted if the private registry + does not require a username for authentication. + type: + - string + - 'null' + 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. + type: string + pattern: "^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=|[A-Za-z0-9+/]{4})$" + key_id: + description: The ID of the key you used to encrypt the secret. + type: string + visibility: + description: Which type of organization repositories have access + to the private registry. `selected` means only the repositories + specified by `selected_repository_ids` can access the private + registry. + type: string + enum: + - all + - private + - selected + 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`. This field should be omitted + if `visibility` is set to `all` or `private`. + type: array + items: + type: integer + examples: + update-username-and-encrypted-value: + value: + username: monalisa + encrypted_value: c2VjcmV0 + key_id: '012345678912345678' + update-with-selected-visibility: + value: + visibility: selected + selected_repository_ids: + - 1296269 + - 1296280 + responses: + '204': + description: Response + '404': + "$ref": "#/components/responses/not_found" + '422': + "$ref": "#/components/responses/validation_failed" + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: private-registries + subcategory: organization-configurations + delete: + summary: Delete a private registry for an organization + description: |- + > [!NOTE] + > This endpoint is in public preview and is subject to change. + + Delete a private registry configuration at the organization-level. + + OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + tags: + - private-registries + 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 + parameters: + - "$ref": "#/components/parameters/org" + - "$ref": "#/components/parameters/secret-name" + responses: + '204': + description: Response + '400': + "$ref": "#/components/responses/bad_request" + '404': + "$ref": "#/components/responses/not_found" + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: private-registries + subcategory: organization-configurations "/orgs/{org}/projects": get: summary: List organization projects @@ -85703,6 +86078,95 @@ components: - token_expired - token_expires_at - token_last_used_at + org-private-registry-configuration: + title: Organization private registry + description: Private registry configuration for an organization + type: object + properties: + name: + description: The name of the private registry configuration. + type: string + examples: + - MAVEN_REPOSITORY_SECRET + registry_type: + description: The registry type. + enum: + - maven_repository + type: string + username: + description: The username to use when authenticating with the private registry. + type: + - string + - 'null' + examples: + - monalisa + visibility: + description: Which type of organization repositories have access to the + private registry. + enum: + - all + - private + - selected + type: string + created_at: + type: string + format: date-time + updated_at: + type: string + format: date-time + required: + - name + - registry_type + - visibility + - created_at + - updated_at + org-private-registry-configuration-with-selected-repositories: + title: Organization private registry + description: Private registry configuration for an organization + type: object + properties: + name: + description: The name of the private registry configuration. + type: string + examples: + - MAVEN_REPOSITORY_SECRET + registry_type: + description: The registry type. + enum: + - maven_repository + type: string + username: + description: The username to use when authenticating with the private registry. + type: string + examples: + - monalisa + visibility: + description: Which type of organization repositories have access to the + private registry. `selected` means only the repositories specified by + `selected_repository_ids` can access the private registry. + enum: + - all + - private + - selected + type: string + selected_repository_ids: + type: array + description: An array of repository IDs that can access the organization + private registry when `visibility` is set to `selected`. + items: + type: integer + created_at: + type: string + format: date-time + updated_at: + type: string + format: date-time + required: + - name + - registry_type + - visibility + - created_at + - updated_at project: title: Project description: Projects are a way to organize columns and cards of work. @@ -218642,6 +219106,39 @@ components: token_expired: false token_expires_at: '2023-11-16T08:47:09.000-07:00' token_last_used_at: + org-private-registry-configurations-paginated: + value: + total_count: 1 + configurations: + - name: MAVEN_REPOSITORY_SECRET + registry_type: maven_repository + username: monalisa + created_at: '2019-08-10T14:59:22Z' + updated_at: '2020-01-10T14:59:22Z' + visibility: selected + org-private-registry-configuration: + value: + name: MAVEN_REPOSITORY_SECRET + registry_type: maven_repository + username: monalisa + visibility: private + created_at: '2019-08-10T14:59:22Z' + updated_at: '2020-01-10T14:59:22Z' + org-private-registry-configuration-with-selected-repositories: + value: + name: MAVEN_REPOSITORY_SECRET + registry_type: maven_repository + username: monalisa + visibility: selected + selected_repository_ids: + - 1296269 + - 1296280 + created_at: '2019-08-10T14:59:22Z' + updated_at: '2020-01-10T14:59:22Z' + private-registries-public-key: + value: + key_id: '012345678912345678' + key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 project-items: value: - owner_url: https://api.github.com/orgs/octocat